#development
1 messages · Page 456 of 1
it does claim it supports iPhone13,* despite that those devices are actually 3194 not signed
yeahhhhh that's a big oops
so the tss isn't even signing it at all
not just some obscure issue
this isn't even new, looks like it was introduced 1-2 years ago
its signing everything except iPhone13,x
It was
Adam said it had existed for a long time and it was “known”
and we just, somehow literally didn't notice it till now
It’s an enterprise TSS server it seems that people have known about but never used in this way
despite that switching to it is as easy as installing that unsigned profile + mybloxx to trick it into "being" on MDM
or does it not serve restore tickets
I think just OTA?
albert
and even then, tsschecker could surely grab the OTA blobs with whatever extra magic flag it sends to TSS
Albert is what handles any DRM
it's still signing via gs.apple.com/TSS
Yeah
if you've done the OTA, check your OTAUpdate log under settings > privacy > analytics
no
FairPlay is cool af
I don't even know what versions taurine works on
Rn I'm on 13.6.1 because checkra1n and A11
bruh
:^|
Hayden indoors

What happen to outdoors?
a lo tof stuff
lo tof
It’s currently 1:11
And going outdoors would be too dark
true
Duhh
what suite
Oh I rmeember trying to build as2 and it wouldn't work and I Gave up
L
Everything is theoretically ready and untested/uncompiled
Because i have one computer and not enough time 

Not when you think about it; need it for futurerestore
Which was important for me to get up
oh true.
I need to get procursus working on Linux but I am lazy and also work in other thinks instead lmao
With eyes
Like the uhhhhhh generator?
Or the real deal

@lime pivot So, i saw you was talking about the idea of using SF Symbols in prefs on Twitter 😄 Will you be interested of integrate it in Cephei ? No need for a Custom Cell
I could make a PR
Unfortunatly, I end up bootlooping recently cause im a dumbass so I dont have a jailbroken device anymore, but I still have the code I was working on
that would be sweet
I was thinking of doing something for Cephei but didn't want to intrude on anything you might have been working on
We discussed about it with Krit, and came to the conclusion that using a categorie requiert dev to call a specified method in (id)specifiers, while doing it in the loadSpecifierFromPlist would make more sense, and since Cephei is the most used lib for prefs, doing it in HBListController will make it easier for everyone. Ill still release the Categorie in my lib for those who dont use Cephei, but as for now, I would love to see it in it with no doubt 😄
tbh, in Cephei I already hook -specifiers and do some overrides there
hooking that should be fine
Yup krit send me the good line, need to find this message back
https://github.com/hbang/libcephei/blob/master/prefs/HBListController.m#L64 that's what it does right now
Yup
Here would be the right place, in the loop where you itters on _specifiers
yep, definitely
Will try to do it today then, would you like to see my implementation ? I could send the .m, you could maybe improve it or tell me how you want it done to keep consistency with cephei code ? Or you prefer to do it through GitHub PR review ?
either way. if you want me to have a look before you start then feel free to send it through
Some method in my current implementation would be useless since you already do the full iteration over _specifier
yeah. so you would only need to insert lines 17-19 and 23-25
Basically ill just add in the loop
[self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"iconImageSystem"] forKey:@"iconImage"];
[self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"leftImageSystem"] forKey:@"leftImage"];
[self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"rightImageSystem"] forKey:@"rightImage"];
and this somewhere else
- (void)specifier:(PSSpecifier *)specifier setIconImageSystem:(NSDictionary *)iconImageSystem forKey:(NSString *)key {
if (specifier && iconImageSystem && key) [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"] withConfiguration:[UIImageSymbolConfiguration configurationWithPointSize:([[iconImageSystem objectForKey:@"pointSize"] floatValue] ?: 20.0) weight:([[iconImageSystem objectForKey:@"weight"] integerValue] ?: 4) scale:([[iconImageSystem objectForKey:@"scale"] integerValue] ?: 2)]] forKey:key];
}
We agree, perfect
line 24 can definitely be cleaned up, it's a lot of logic, hard to read
just break those out into variables and pass those in
and use subscripting (iconImageSystem[@"name"]) instead of objectForKey:
I write them like this since it not supposed to change, so didnt want to create useless variable to gain a very little optimization, but yeah ill split it up
do you know if you can pass a nil into setProperty:forKey:? like if I typo the name, it should just have a blank icon and not crash
Didnt knew you can until I saw you doing it for cephei lol, thats indeed way simple to read, ill change it in every of my tweak now
👍
I'm slightly also wondering if weight and scale could be strings, that then you map to the enum values
systemName return nil if name dont exist, and setting [specifier setProperty:nil forKey:key]; shouldnt crash, I will verify that
if it works that should be good
maybe we should have it not set the property at all, so you could have a fallback image in your bundle if you want that
doing pretty well on my NewTerm todo list 😛
Thats how the full dict will looks like, each key inside the dict could be ommited and will fallback to the default value in systemName
<key>iconImageSystem</key>
<dict>
<key>name</key>
<string>chevron.left.slash.chevron.right</string>
<key>scale</key>
<integer>1</integer>
<key>weight</key>
<integer>2</integer>
<key>pointSize</key>
<float>25.3</float>
</dict>
You mean a string with value like UIImageSymbolWeightThin for example ?
could simplify it to just thin, but yeah
Hmm thats totally up to you, ill suggest tho to either use the right enum, either the right integer. using just thin would force the dev to go through your doc to learn each value even tho he knows to the regular enum for Symbols
That would be a unnecessary re-mapping of the enum imo, even tho its more concise
could support both. if the string value doesn't match anything we know, just set it to its integerValue
Hmm so Ill check if the string either match 'UIImageSymbolWeightThin' or 'thin', if not, convert it to integer ?
I think don't worry about the full enum name
something like objc id weightValue = iconImageSystem[@"weight"]; UIImageSymbolWeight weight = UISymbolWeightRegular; if ([weightValue isKindOfClass:NSString.class]) { NSString *weightString = (NSString *)weight; if ([weightString isEqualToString:@"thin"]) { weight = UIImageSymbolWeightThin; } else if etc etc } else if ([weightValue isKindOfClass:NSNumber.class]) { weight = [weightValue integerValue]; }
oops I confused my vars there
fixed
so that will just fall back to regular if nothing matches
Hmm could be useful, especially if you are using iOS 13/14 SFSymbols but dont want iOS 13 user to have blank icons among other icons
yep actually a good point
I accidentally used an iOS 14-only symbol in NewTerm hehe
the password manager button is invisible on iOS 13 but it does work
But for that, ive also made a SFSymbolsPort, that successfully port iOS 14 sfsymbols to iOS 13
mess with filesystem tho Need to modify it to do it by hooking instead
it supports iTerm file escapes now, although not the inline flag just yet
so inline image will throw up a file save prompt
gonna find a way to implement that next
Does that mean --iterm2 in neofetch works
didn't know that's a thing
It uses the iTerm image backend
Interesting
Idk what sizes is
Sixel
I remember seeing some st patch or something for it though
weird terminal images format
yeah I saw that patch merge, I don't implement it yet but could do
oh wait it merged?
ok that's cute, janky but cute
Interesting
interesting --sixel in iterm seems to do something, because it just doesn't print a logo at all
in NewTerm it prints the ascii art logo
On Linux I use ueberzug in ranger (terminal file manager) but it's xorg specific
I see why it fails to even do anything with --iterm2 in NewTerm, it's because I've hardcoded it to expect a name flag, which their logic doesn't provide
From a dev used to SFSymbols perspective, using the right enum for string instead of thin would be much more easier, as I already know those but if
<key>weight</key>
<integer>UISymbolWeightThin</integer>
works with your implementation then yeah, perfect
it's still a string there so it has to be <string>…</string> and you need to manually map each string to the enum value
What I meant is with <integer> can I use the enum ?
with this id weightValue = iconImageSystem[@"weight"]; it would works ?
personally I would still use the shortened strings since that could be made to match how enums work in Swift
like this
Hmm we will see that at a later stage then, like I said, if its on Cephei, you have the last word on that
I like the short string too, just wondering if <integer>UISymbolWeightThin</integer> and id weightValue = iconImageSystem[@"weight"] will works ? Like id being an integer correctly settled
can't do that unfortunately
sad, plist will go crazy ?
has to be either an actual integer value like 4, or a string specifically handled by the logic
got it
compiled code doesn't know what the numbers mean, they're just to help developers know what the numbers correspond to
eg UISymbolWeightRegular just becomes 4 after compilation
But id weightValue = iconImageSystem[@"weight"] is called before compilation isn't ?
that'll compile to basically that, yep
And will be equal to int weight = UISymbolWeightRegular that will be compiled to int weight = 4
well there's magic to turn the [@"weight"] into an ObjC method call, but other than that
note it's defined id not int
id just means any ObjC object
with if ([weightValue isKindOfClass:NSNumber.class]) weight = [weightValue integerValue], its the same
yep. that's basically doing exactly what you had before
just adds a check that it actually is a number type first
What i am saying is:
doing <integer>UISymbolWeightThin</integer> will be translated to id weightValue = UISymbolWeightRegular that will be compiled to NSNumber weightValue = 4 before compilation, so I don't see why it wouldn't work
plists aren't compiled, though
Ooh they are loaded after compilation ?
nvm nvm then, i get it now
I thought plist were open and read while compiling, im a dummy
yep what you write is exactly what you get in the built product, basically
only thing is Theos will optimise it to the binary plist format when you make a release build, but the contents stay the same, it's just a slightly smaller file + very slightly faster to read
kk
I have to go to work, 9am here, good luck with NewTerm 😄 Will try to do the PR asap
Do you have a roadmap for Cephei ? Or it will be merged as soon as you have time
I'm a bit overdue to do a release because there's a few bugfixes I did and totally forgot to make a release for, but still happy to work around whenever you're ready
if it's like super super soon I'll wait, otherwise I'll do 1.16.1 with those bug fixes
and we'll do 1.17 for this (major version bump because new feature)
K, you will see depending on how fast ill make the PR haha, thx for your work as always
👍
huh, what the hell…
you can now just get web inspector on literally any app, including daemons I guess??
might be specific to whatever taurine does with entitlements
long time ago there was a tweak inspectorplus for this, hasn't worked since like iOS 10
@upbeat wyvern ty for the toolchain updates
How do apps such as DLGMemorInjected add a UIView / UIButton to each app?
They don't hook the main view, they just add it ontop
probably add a UIWindow
no u probably have to hook
u can add it to the application scene
in SceneDelegate
Okk
Thats not portable
SceneDelegate is a protocol, so no its not portable to find the specific class that implements it for each app.
Use the notification if you are going that route
yeah yeah whatever
cause the app could be using a custom name for that method and it reduces the chances you messing things up since you don't have to worry about calling %orig
just use this file 

FLEXall doesn't create its own window either, you'd have to look at libFLEX. Though that hijacks key window which isn't always needed so keep that in mind.

@gaunt mesa your daily "h" sire

h
h
h
u

What version is it and what happens with it
Insightful


This is really old and this might’ve been a joke but the bounty I was talking abt is a little over 100 now and more people are adding to it again if u wanna consider it
Pls don’t flame me for this lol

it must be brew.... https://paste.bingner.com/paste/2xdzu
wqait
803b4bc92ff17691d9bb22334e3f4968158e3fc8 is NOT 2.1.3
2.1.3 is d4a4dbe847733d55834ebc60f0678c350fa3ebd5
ok their json says it's using d4a4dbe847733d55834ebc60f0678c350fa3ebd5
can anyone link me to the MR malware dylib

pls
i wanna try putting it through hopper because why not
wtf then
but your commit was != 2.1.3
maybe it's that libplist commit?
only real difference for mine was I use system libplist
oh I wasn't running it on a fat file and you were? let me see
ok I let Saurik know he'll probably fix that quickly and get a 2.1.4 tagged
Still need it?
there's a 2.1.4 tag with it fixed now - not sure how you get brew to compile it
lol I almost missed that emoji and hit the 💩 one
thats funny as shit
they do that and I justd on't reply and they don't fix their shit
I'm not goign to fuckign hand-hold you, I'll report it and you can fix it or not IDGAF
@upbeat wyvern Does tetherme rely on the ipheth module?
tetherme doesn't use modules
that sounds like a linux thing, linux uses ipheth to talk to phones tethering
which is what tetherme allowed
please just rm/dev
yo is there a simple way to just keep an app running in the background
I’m going to be using a daemon in the future, so nothing fancy, and the device will always be connected to a charger so no worries there
bakgrunnur tweak?
does it work on iOS 8
iOS 8? Jeez that’s old.. I think I used watchdog there, it worked well
Yep I was not mistaken supports iOS 8, watchdog lite/pro
tf
h
n
a
tbh not surprised they probably reply bomb everyone with the same thing
it's like how radars languish for years until you 🙏 finally get a reply 🙏 aaaand it's just "we've closed this because it's old, if it's still an issue please file again"
I reported many shortcomings + a minor security issue in iOS Twitter integration which were "fixed" by them simply closing out all radars after they removed the feature in iOS 11
pretty sure they were filed back in 2013, yikes
lol
n
they also like to ask "how do you duplicate this on a stock device?" or similar and I'm like.. idk, you're the stock device people
the secret is radar goes to /dev/null, the way you get bugs fixed is to know someone who knows someone who can prioritise it internally
I’m expecting I’ll need to file bugs about UIKit text selection handling bugs in NewTerm, which by pure luck will mysteriously fixed in the next iOS
hello fellow developers
Back runner >
Why does everyone steal my names and or tweaks 
:literalwhy:
If you’re gonna steal the tweak, at least make a unique name for it
tyvm tri :^)
Maybe release the tweak before saying that

the tweak has been out for a year

This motherfucker comes
And names it bakgrunnur
Fr I would call him slurs
[[BackRunner]]
i love slurs
True

re Messages? you shoudn't need to right?
basically I made my own mobilesms
but also for anyone wondering:
in your info.plist, add an array called UIBackgroundModes and add two strings inside of it: continuous and unboundedTaskCompletion. Credit: janshai
ooh, I've never heard of unboundedTaskCompletion
https://twitter.com/conradev/status/328583216221020160 thanks, future Apple engineer 😉
TIL that the “continuous” and “unboundedTaskCompletion” UIBackgroundModes exist (albeit private)
https://twitter.com/conradev/status/1376378280081682437?s=21 quite the visionary
hello everyone, is there any chance someone could help me at CSS, im starting at CSS and learning it, I would like to know where did I typed wrong there:
.animate-pop-in {
animation: pop-in .5s ease-out forwards;
}
@keyframes pop-in {
0% {
opacity: 0;
transform: translateY(-4 rem) scale (.20);
}
100% {
opacity: 1;
transform: none
}
}
ping me pls ty
the pop-in animation isn't working
has anyone had issues getting the ECID (UniqueChipID) from libMobileGestalt?
specifically in Swift?
ive seen the examples (in objc) use it as a CFStringRef, but it's returning a NSCFNumber and crashing
let gestalt = dlopen("/usr/lib/libMobileGestalt.dylib", RTLD_GLOBAL | RTLD_LAZY)
typealias MGCopyAnswerFunc = @convention(c) (CFString) -> CFString
let MGCopyAnswer = unsafeBitCast(dlsym(gestalt, "MGCopyAnswer"), to: MGCopyAnswerFunc.self)
return MGCopyAnswer("UniqueChipID" as CFString) as String
that should work?
oh nvm

oh wait yeah
that's what i had
im just having a stroke rn
i am confusion
but
this is why we need rust
@shut stag please add rust to the filter
true
pls filter rust
yes
Please
aaron do it or i will throw you off a cliff
perhaps try it in settings or the wallpaper bundle if it’s separate
it works via xpc and i’d assume they won’t use xpc classes in springboard itself
not sure but you can find it on the respective psspecifer through flex, and it would be in /System/Library/PreferenceBundles
better yet a grep through that folder for “Wallpaper” may work too

I swear to god
there’s another one
oh no
it won’t be on that property but on a PSLinkCell one
since that’s a preferenceloader property isn’t it?
rust
C

░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ This is Bob
▄░▐░░░▄▄░█░▀▀ ░░ Copy And Paste Him In
▀█▌░░░▄░▀█▀░▀ ░░ Every Discord Server,
░░░░░░░▄▄▐▌▄▄░░░ So, He Can Take
░░░░░░░▀███▀█░▄░░ Over Discord
░░░░░░▐▌▀▄▀▄▀▐▄░░ (dont spam him tho)
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░░░░░
░░░░░░█░░░░░░░░█░░░░░░░
░░░░░░█░░░░░░░░█░░░░░░░
why
I made a Docker image for Theos in case anyone is interested https://github.com/kabiroberai/theos-docker
Do ey

is there something to search through images by text using OCR and finding the text in images?
because that would be such an amazing tweak
I think iOS 14 added labels to photos no?
Lmao
use gets
use puts
this is different
i'm talking OCR

google photos does this

Could someone help why is showing "Expected RBRACE at line 8, col 46." transform: translateY(-4 rem) scale (.20);
that's CSS
sorry for the long text but...
why isn't the pop-in animation working?
I've been trying to find a solution for hours .-.
you don't have to do that just put it literally anywhere and google will probably index it anyway
Idea: Use a private GitHub repo for photo backup
lol
Microsoft has all your photos now
just encrypt in a giant tar blob or something
and write key

private func libMobileGestaltNumberFromKey(_ key : String) -> String? {
let gestalt = dlopen("/usr/lib/libMobileGestalt.dylib", RTLD_GLOBAL | RTLD_LAZY)
typealias MGCopyAnswerFunc = @convention(c) (CFTypeRef) -> CFNumber
let MGCopyAnswer = unsafeBitCast(dlsym(gestalt, "MGCopyAnswer"), to: MGCopyAnswerFunc.self)
var ecid = UInt64.init()
CFNumberGetValue((MGCopyAnswer(key as! CFNumber)), .sInt64Type, &ecid)
return String(format:"%016llX", ecid)
}```
im stroking out
wtf is this
they have size limits
What’s the limit
like 2gb?
Managed to push .Theos in initial commit and hence forth the whole repo was fucked
i used to use github to backup shit
We recommend repositories remain small, ideally less than 1 GB, and less than 5 GB is strongly recommended.
probably 5gb
they don't admit to the limit but if you try to upload more than that it just hangs up on you
idk, they must've changed it recently then
but yeah they say that
but try uploading a 10gb repo 😛
it might have to do with it being new or something but I tried uploading what it'd take then waiting and pushing more commits and that didn't seem to work
yeah maybe if I am more careful about how much I push at once
like push one month at a time lol
Ye
i think they have a push limit
of 5gb
you can for the most part treat a string and number similarly since they implement many of the same methods. I don't think this really works for numbers as of iOS 14 though, due to some internal optimisations done to that class
yeah, but the problem is the ECID on A12 devices
what server was this meant for 💀

…or at least, casting from CFNumberRef and treating it as an NSString may be problematic now
im stroking out from this
i was adding it to my collage
ive been trying to figure it out all day
just a note that in Swift it's simply CFNumber now
but that's all i've got
just use the iokit way /s
oh god no
yeah, the ECID
one sec
oh, if you’re in Swift then you definitely can’t treat a number as a string
yeah lol
must be the correct type
@inland fog if you don't cast the response, then do NSLog("%@", String(describing: ecid)) what do you get?
not sure how String(describing:) handles CF types exactly, it could just return a pointer
casting as in as String?
that used to be OK?
you should probably have more error checking than that, but for just the command-line tool crashign if it can't get it isn't so bad
sure. if you pass a non-string objc object most things will just read its -description instead
they both also implement -integerValue, -floatValue, -stringValue, etc etc
I mean for NSLog(@"%@") sure but otherwise that's horrible IMO
even if it worked lol
yeah I still agree it’s not something you should rely on
the iOS 14 internal ABI changes are a great example of why
yeah
though it works with a compatibility mode based on linkage
if you depend on undefined behavior, you're gonna get screwed
I’m sure simply swapping out the system libobjc with one that changes how tagged pointers work quickly broke countless apps, so they had to do the compat mode
yeah
yep, don’t do that, just leave it as let ecid = MGCopyAnswer("UniqueChipID" as CFString)
in a tweak or app not under debugger it’s just easier
i think i'm getting somewhere
well, not really
that’s the format argument, you never pass a dynamic value there
dangerous
hi
hi
wtf are we looking at
u are looking at my computer trying to be an artist
on a12+ the ecid is the second part of the UDID, correct?
then i think i got it working
@inland fog did you not see what I pasted for you above?
no i did, and i think i got it working with that
assuming im converting it correctly
String(format: isA12orHigher() ? "%016llX" : "%llu", (MGCopyAnswer(key as CFString) as NSNumber).uint64Value)
yeah... if this was in objc i wouldn't have had so many issues lol
hex good
hex 
I think libimobiledevice was updated to display that stuff in hex always too
shut up propr
or is water just non-spicy alcohol
what the fuck do you people find good in alcohol
Well lets see... theres a lot of things but the biggest thing that comes to mind is the chance to test the concept of destiny and being able to end it all without having to live through it.
_ _
_ _
_ _
hAHa drINKY
tbf I don't see how that's really any different from the objc equivalent code, you're just putting the casts on the right with as thing instead of (thing)
and I was never writing code (intentionally at least) that relied on hopes and dreams of type correctness on an id value, I always cast to the specific type
it's an acquired taste
wine
WINE
i dont think its supposed to be for the taste
yeah, it's just... swift 😛
I always used isKindOfClass: or something if I was saying random id stuff
yep that's the way to do it really
but objc still lets you get away with way too much under the guise of simplicity
it's simple as long as you don't write bugs
conversely though swift has often showed me how little some people care to handle edge cases, because they do just enough to make the compiler happy, but still don't handle the failure case at all
or just always unwrap! whenever they see an optional

use c
@upbeat wyvern ping with a bug report for ldid 🙂
as of 2.1.4, signing a library with entitlements (I know, useless, but happens) seems to cause a SIGBUS
Interesting
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
</dict>
</plist>
``` specifically these entitlements, didn't test any others.
thin arm64 macho
Those ents aren’t broken are they? Like it’s obv not been tun thru plutik
yes. they're fine if signing a binary as well
it's specifically the library that seems to be the issue
Happens with any library
I think you need to go to a different library in another country then, lol (Please don’t destroy me).

Only if you’re an oculator
That is elucubratus ldid 2.1.4?
It's direct from saurik's git
That's why I assumed you'd want to pass along to saurik
Does yours have a bug fix?
Doubtful just figuring out what the scenario was
Yeah it's the case with 2.1.4 from saurik compiled for x86_64 and iOS
If you have libplist on your system I can send you the ldid bin in question
would anyone like this? i implemented logging methods in flex. useful for mac users because of handoff, and you can easily log methods if you need.
it does not log arguments, that is something you have to do yourself unfortunately.
what bugs me is it's totally safe to call respondsToSelector: without checking myDelegate != nil, because sending a message to a nil object gives you nil
so they made it look worse than it has to
still don't miss having to do all that by hand of course 🤷♀️
@hardy glen really cool
thanks
not officially
i mean if it existed but wasn’t in Foundation what other library would it be in
so it’s not a surprise it links fine
not really since they 99% use it internally for system components
and then they’d have to make an exception to get addresses for it somehow instead of using dyld
not worth
true
i think they are writing to a file or something, that is why it is blocking the main thread
if you attach an NSPipe to stdout/stderr of the NSTask, you could probably still get the output of the command without calling waitUntilExit
you could read from said pipe on a seperate thread
you could also check for EOF on the nspipe to find out if the process had terminated
both would work
there's the NSFileHandleDataAvailableNotification approach but its a bit crust
when 17179869184 gibibytes isnt enough
doubt it
since the requirements for bits does not scale linearly and at the rate we're increasing in data requirements idk if humanity will even make it that long
ZFS is 128 bit
i take comfort in knowing i can store more data than atoms on the planet

Isn't the new ARM V9 architecture 128bit?

It was announced in late march i believe
ye i just found out
why do i doubt that severely
morello tech 
I don't think this means 128bit execution but still interesting nonetheless
It still advertises support for AArch32 and AArch64

call me when 131072 bit
Intel on that 512bit from 1990.


someone give me the world that this makes sense in
snap sends beta features to stable users
but the beta feature isn’t for testflight users

C
heh?
C
ok
ill just ask here
so why do pointers when subtracted return the blocks and not the bytes

what’s a block
like an elemnt block
here hold on
Assume I have this declaration in effect:
**int a[5], p = &a[1], q = &a[4];
if i run q-p
i get 3
and not 12 bytes
Q and P are technically adresses
do you mean q= &a[4] and p=&a[1] because that declaration isn’t assigning q and p to addresses
yes, sorry i forgot the address operator ther
well it’s simply because c has pointer arithmetic built in
if you cast them both to char *
and then subtract
you’ll get 12
i ran it
Address of p is 0x7ffee5b20804 and address of q is 0x7ffee5b20810
and i got this
dont mean to be annoying, but why do we need to cast char*
because otherwise it’s giving you the difference in terms of sizeof int
which is 3 int
because each int is 4 bytes
yes, so it is dividing the differnece by the sizeof(datatype)?
ye
haha
true
when i saw it i was banging my head
i couldnt understand the interchangability of the indirection operator
int diff = char *(q-p);
why does it give me an error
how do i print out the difference in bytes?
!t tweakdev
HOW TO GET INTO TWEAK DEVELOPMENT
This has been asked countless times so it's time that there is a long message that explains this.
One of the first things you want to do is reach a "baseline" before you can even think about getting started.
What this means is that you need to be familiar with Object Oriented Programming and how to use Objective C.
uroboro was kind enough to create a guide that you can find here: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/
Additionally, you should also learn a little bit about how iOS works, learn some basic frameworks/stuff you will need to work with.
Stuff like how to use UIKit, Foundation, etc. Once you have a pretty good understanding of these, then you can proceed.
The next step is to actually start making tweaks. Install a tool called Theos for your appropriate device.
The installation wiki can be found here: https://github.com/theos/theos/wiki, please make sure to follow the appropriate platform instructions.
After that, you are ready to start making tweaks, please follow a tweak development guide. (Here's one if you're lazy: https://kodeycodesstuff.tech/guide)
@muted lily ^^
oh shit i really appreciate that, thanks man!
Np
i gtg but ill be back
int diff = (char *)q - (char *)p;
ur syntax is wrong so look up casting syntax
ah ok
lemme see
whoa
its worked
thanks
gm
meth
Any cordova gurus around here ?
lmao
trying to get neofetch to run when i open my terminal on phone. is there a .zshrc file i edit?
/var/mobile/.zshrc
sick, you dah man!

cause i'm a bad bitch
lol for real though, i just like it
i use it to check my uptime for shits and giggles
for me it'd a lot of clutter everytime you open the terminal on your phone
but you do you
pfetch tho

owothonk
still a lot of info to show every time you open a terminal, but true better than neofetch
i like it tbh. a small amount of info that i might like to see
plus a cute little ascii apple. not too big like neofetch
perhaps i should check out pfetch
or just don't have any of that
which repo, from procursus?
ye
best terminal is black background
white cursor
and the ability to type in commands
if there was a way to cut down on a few fields it'd be perfect
like pkgs and host
i thought u could do a config file
pfetch is supposed to be minimal
i like host but not kernel tbh
so i would think it doesn't have one
i need to patch that
now is a bad time tbh unless u wanna do it all on your phone lol
or install procursus mac 


nfr
@tepid olive not duplicating that: iX144:~ root# ldid -SCydia.xml temp.dylib iX144:~ root# file temp.dylib temp.dylib: Mach-O universal binary with 1 architecture: [arm64:Mach-O 64-bit arm64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>] iX144:~ root# ldid -SCydia.xml temp.dylib iX144:~ root#
anyone know if its currently possible to build SwiftUI shit on linux
Fid you try running a program that links the test dylib?
You said ldid crashed not the dylib
It didn’t break the mach header, just caused a SIGBUS
No, I meant it causes a bus error in a program linking the library
Ok
Sorry for any miscommunication
SIGBUSSIN
dat sig bussin 
F
we tried
imagine you want to go compile linux
now it takes 3x longer
@tepid olive do you have the newer swift toolchains
according to tr1 the one on theos wiki old
and im just trying to use the system libswift because it's been in ios since 12.2
you need to use Cameron Katri’s toolchain afaik
crkatri toolchain
true
@primal perch

The Trial by Pink Floyd
precursor: it's not your usual rock song
true
the wall is very interesting to me because if you relate to it at all then i think you should seek mental help
and its one of the only great albums i feel that about lol

mother took his balls
@tepid olive ```
iX144:~ root# otool -L which curl
/usr/bin/curl:
/usr/lib/libcurl.4.dylib (compatibility version 10.0.0, current version 10.0.0)
/usr/lib/libnghttp2.14.dylib (compatibility version 32.0.0, current version 32.3.0)
/usr/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
iX144:~ root# mv /usr/lib/libcurl.4.dylib .
iX144:~ root# ldid -Sent.xml libcurl.4.dylib
iX144:~ root# cp libcurl.4.dylib /usr/lib
iX144:~ root# curl
curl: try 'curl --help' or 'curl --manual' for more information
iX144:~ root# ldid -e /usr/lib/libcurl.4.dylib
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
</dict>
</plist>
iX144:~ root#
Maybe something fucky when i compiled it. I will have another check...
Thank you anyways for looking
Odysseyra1n is a modification for checkra1n which replaces the bootstrap with Procursus, the package manager with Sileo and the tweak injector with libhooker. This has benefits such as speed, battery life and security.
Tutorials:
macOS/Linux
Windows
A11 Devices:
If you are on iOS 14 and using Windows you must flash Odysseyn1x 2.8 or you will get an error. macOS and Linux users should install checkra1n 0.12.1.
where is helium
i hope this isnt breaking any rules, but im kinda interested in the coding aspect of jailbreaking and I was wondering what goes into a jailbroken software
that's kind of vague
@next wadi k so
using const to import instead
Uncaught TypeError: Cannot set property 'loadIntoMemory' of undefined
what the fuck
.
carbon
like uhhh do you all find a bug or something and exploit it
is that how the software is developed
the whole thing or just parts? idk if that made sense
cc: @lethal kayak
try catching the error


if you catch every error your programs can't crash

I am being sarcastic
good
smd
my frankenstein monster
const fuck = require("./starboardLaunch.js")
module.export.loadIntoMemory = async function() {
what is wrong here




stfu
lol i like how they say "apple's decision to not support boot camp on m1"
meanwhile microsoft only licenses windows arm for preinstall
troll
just because apple doesn't license it doesn't necessarily mean they couldn't have the infrastructure to support it, if they did - microsoft might start licensing it
is it possible to get your tweak version inside of the tweak?
couldn’t find anything on google
hacky solution: read /var/lib/dpkg/status
I’d say your best bet is to pass it as a define at build time
something like foo_CFLAGS += -DPACKAGE_VERSION=$(_THEOS_INTERNAL_PACKAGE_VERSION)
an (ex-?)engineer said 3rd party OSes are a supported use case, but no docs and forwards compatibility not guaranteed
which isn't a very good deal… but at least we have it at all I guess
at least they got as far as realising pros > cons on allowing you to boot a 3rd party kernel at all
if that’s in the makefile can I read that inside of the tweak? Does it work like #define?
Tysm
Anyone know where the volume too loud sound could be
I can’t find it in ui sounds
Also would it be possible to make an empty app that shows an icon on the home screen but doesn’t actually do anything?
How would I go about doing it?
I’ve never made an app before tbh
Ik
Can u use Linux or do u need macOS / windows
Yah. Basically what I am tryna do is get blank icons on my Home Screen there is I empty but ur icons stop working after a while
Would it be possible to make a fully transparent icon?
it's possible to make icons like that with configuration profiles / web clips on iOS 14.0-14.4.x (not 14.5+ unless you either use MDM or manually install the web clips with a jailbreak in /Library/WebClips)
basically just set TargetApplicationBundleIdentifier to a nonexistent bundle ID, and the icon would be the appropriate part of the wallpaper
or you meant some JB tweak that dynamically adjusts to the wallpaper?
not sure if you could refresh webclips automatically
I got stumped by a weird behavior that I haven't faced before
So I wanna scale a UIView and all of its subviews by a certain factor. That can be easily done with CGAffineTransformScale(). However, the problem arises when I try to add the UIView to a UIStackView
See, scaling with that function only changes the view's frame, but not its bounds. This messed up the stack view's spacing
I guess I could do it manually and loop over all the subviews, but that sounds like a dirty workaround for me
Any ideas? 
good thing they don't actually want to write an app 😉
Need to install modified IPA created using IPApatch, but IPAPatch does not sign PlugIns folder and just wipes it instead. Filza fails to install with "Failed". Ideas appreciated
@icy kayak Theos Jailed supports plugins iirc, try that instead
I'll check it out. Without PlugIns folder my target app is just crashing when it is opened, which I assume is due to missing plugins folder but I am not sure
there could be a million other reasons; check the console and look for crash logs too
Or perhaps you're aware of a better mechanism of defeating anti-debugging via ptrace/PT_DENY_ATTACH detection like IPAPatch does out of the box
This is the only reason I'm even tinkering with IPAPatch
i was literally discussing PT_DENY_ATTACH with sbingner a few days ago lmao
tried, some vague nondescript errors and a private empty stacktrace
are you on a jailed device?
nevermind you mentioned Filza
in that case ipapatch/theos-jailed are likely overkill
create a regular substrate tweak to hook ptrace or something
MSHookFunction should help you get the job done
Ohh wait, today it is more interesting! Why is Frida complaining of signature issues from just launching the app from springboard.. https://ghostbin.co/paste/2u2oqq
this happens if you try to launch by bundle ID afaik, try using the process name or PID instead
@twilit jungle nerd

go 
iPhone 8 3D Touch gone after batter replacement. Hardware issue or?
omg that makes me want to crawl through the screen and run clang-format or something
thanks. I hate it.
probably
didn’t replace cable
wtf its shlorp

ok
i am disrespectful towards women
in the name of trans rights
ok now dont cancel me
please
Have you considered going outside
Perhaps, touching grass?
wtf
anything not swift works if it's compiled using clang11
should be
if clang11 tweaks work with ios 12- then it shouldn't be any different when supporting ios 14
sus development
Sus cameren



@tepid olive I am submitted a new commit to my pacman PR
It is less cursed
I believe so I won't know until there is a repo that add shit to it
Aite I will test it out and let you know
Is there a way to get the app name using its bundle id?
loev it
probably with LSApplicationProxy or sm
Never heard of it, I’ll look it up
that's how preferenceloader gets it
Doesn’t this say that this header exists only up to iOS 11?
I’ll check this out thanks
what class do i hook into if i wanna add a button to the alarm app
;/
like a ui class or sum?
sudo pacman -Sy ─╯
:: Synchronizing package databases...
error: failed retrieving file 'propr pacman repo.db' from proprdev.github.io : The requested URL returned error: 400
error: failed to update propr pacman repo (failed to retrieve some files)
error: failed to synchronize all databases```
makes sense let me correct
╰─ sudo pacman -S com.propr.joe ─╯
warning: config file /opt/procursus/etc/pacman.conf, line 79: directive 'Siglevel' in section 'propr' not recognized.
resolving dependencies...
looking for conflicting packages...
Packages (1) com.propr.joe-0.3.2-1
Total Download Size: 0.08 MiB
Total Installed Size: 0.43 MiB
:: Proceed with installation? [Y/n]```
@tepid olive It works
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
com.propr.joe-0.3.2-1-any 76.9 KiB 3.26 MiB/s 00:00 [########################################################################################] 100%
(1/1) checking keys in keyring [########################################################################################] 100%
(1/1) checking package integrity [########################################################################################] 100%
(1/1) loading package files [########################################################################################] 100%
(1/1) checking for file conflicts [########################################################################################] 100%
(1/1) checking available disk space [########################################################################################] 100%
:: Processing package changes...
(1/1) installing com.propr.joe [########################################################################################] 100%```
@tepid olive No
Oh shit lol
this is on macOS
let me make a deb for iOS
sure hold
@tepid olive here you go
Me when pacman on iOS
I can't test the repo on my end right now cause I gotta make dinner for some guest but if it works for macOS it work on iOS
is pacman on procursus
pacman 6.0 alpha














