#development
1 messages Ā· Page 107 of 1
the fact this is something that needs to be mentioned just further proves the mental instability of this server
how do i make my preferences not crash in settings with roothide?
preferences work in the tweak settings app with this tweak https://www.reddit.com/r/jailbreak/comments/niolbr/free_release_tweak_settings_tweak_settings_is_an/
š
i updated theos for roothide and now i cant compile anything, it gives a linker error
even for rootless
roothide moment
updation theos
fixed rootless problem but roothide still wont compile
you have substrate in ~/theos/vendor/lib ?
yes
Okay, I've finally implemented working kfd exploit without hardcoded offsets to my kfund project.
It works charm with patchfinder.
W
No... I forgot to change t1sz_boot for A12-14 devices. š©
so true
better than meow
is there a way to decrypt an app without a task for it, like just the binary
c0 ruined meow for me
what happened to naming jailbreaks after north korean rivers 
fr
but this is THEOS_PACKAGE_SCHEME=rootless isn't it
does theos still search there if rootless
no its roothide
oh
yeah i have no clue how roothide works exactly
but i know cause i know the environment variable adds $THEOS_LIBRARY_PATH/iphone/rootless $THEOS_VENDOR_LIBRARY_PATH/iphone/rootless
to the search path for frameworks and libraries
so
also how do i fade a CALayer image into white?
use CAKeyframeAnimation
it doesnt work
with how old calayer is im going to wager its a skill issue
respectfully
it is
mfw
what kind of issues
it just straight up doesnt work i think
well what are you trying to do exactly
custom turn off animations
i am doing this to make a tv effect:
but only the width animation plays
it immediately cuts to the completed height without playing the animation
you should be using CAAnimationGroup to animate one after the other with whatever delay tbh
because without it you can really only have one animation on a layer at a time
unless you capture the state of the layer, remove the first animation, then run the next animation on it (which makes less sense to do)
@opal hazel figured you want to know, theminf isnt working in carplay on 16
Also, i still get the crash with snowboatd
By applying theme/double tapping on icon
or is there a gnu C compiler
Imagine not having streaks with @hasty ruin 
So true
does icraze look old
šš
Idk he just sent a photo of his keyboard 
can you help me pretty please
With what
is there a gnu C compiler for newterm
Thereās clang
gcc?
@cloud karma idk u can explain better
idk install theos-dependencies and everything you need should probably in there (i have zero idea)
ok!
What did I just see get deleted 

iCraze face reveal and I missed it 
you saw a turtle with his mouth open
No it was definitely a person 
Time to delete /var/jb and restrap
wtf pls no!
took me ages to download everything
ok it installed
just for it to fail nevertheless

Is ur theos up to date ?
yes
Sounds like something didnāt update properly. Double tapping icon is 100% fixed. CarPlay theming is probably down to the jailbreak (and needs to be enabled in snowboard settings).
I think this is a different crash?
Also
Im using my own thing
I have carplay tweaks
(I know bc carbridge works)
And i see snowboard being loaded
Should work as far as I know, unless they changed stuff again.
Deffo shouldn't crash on double tap though (1.5.25-beta4-rootless).
Did u see the log tho? I think its different
Im on 16.6.1 btw
But yea its crashing on double tap
Let me try again
I'll update my X to latest 16 when I have time and check, but as far as I know it should be fine.
Maybe see if it throws an exception in syslog.
yeah i think i downloaded old one by accident
Define āsave filesā
can you get me the exception from syslog
this doesn't tell me what selector it's complaining about
Ok
if you arent sparkdev, where is sparkdev 
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SBIconController floatingDockController]: unrecognized selector sent to instance 0x101130400'
*** First throw call stack:
(0x1b507ccb4 0x1ae1103d0 0x1b51f1ab8 0x1b7e4c1f4 0x1b50930e8 0x1b50f9900 0x103a05dfc 0x1b71db01c 0x1b71da614 0x1b71d98c4 0x1f77f6d98 0x1b71d7bb0 0x1b7220888 0x1b7e93b58 0x1b772fd94 0x1b7d94894 0x1b7d93df0 0x1b5146128 0x1b51527b4 0x1b50d7648 0x1b50ed0d4 0x1b50f23ec 0x1f060835c 0x1b747ef58 0x1b747ebbc 0x1f77ceafc 0x1d4624dec)```
i want to save an error log
and its supposed to be in /var/mobile
i think
the floatingDockController property doesnt exist in iOS 16 it seems
Yeah, but I thought I fixed this
what tweaks is this? is it open source?
that one snowboard fix deb re adds it so they did
weird becauase i fixed a double tap crash on 16 (my device is on 16.4.1) assumed it was the same issue
I'll push a fix in a sec
im on roothide 16.5 if you would like me to test
same
but btw!
anyone know how to fix
(the latter link isnt important as it seems to be an issue with the cryptography module)
Yeah smol is smart!
@visual meadow can you test a deb for me?
Sure
Sent friend request
a lot of python stuff may not even work right on ios because you can't build every module (and their deps) on ios
not sure how you ended up with a macOS version of cryptography tho
š¦
if you really have to run on ios, the best solution is gonna be another os in a container
(looking at iSH here)
through utm you mean?
not much of a guide needed
it's going to be functionally identical to a shell on linux
(its on the app store)
ok cool ty
That pfp š
Always the nintendo Mfs I swear
Join their server
and bash at them!!!
Advertise rune there
show supremacy
if you add landscape mode to rune
i'll advertise it

who dat
true tbh
itād help if actual jit or hypervisors were allowed but apple so
the end of the readme is crazy
given the constraints of the app store its awesome as hell
cursed bit???
can u not hook onto the springboard with seratonin?
my tweak works on dopamine but everyone on seratonin said it doesnt work
you can
why isnt it working then
is it loaded in cocoatop
i ended up writing my animation extension in swift instead of objc because i didnt know how to do it in objc but now i kinda wish i didnt


Can someone make Serotonin work in ios 15? because there are quite a few people stuck in 15.5-.15.7.1
i donāt think it works on ios 15
but a full jb is close (hopefully)
serotonin rn is really hacked up because
- it only injects into SB
- it relies on roothide
also 3. version support but hopefully mineekās pf will get better
i intend to fix both, but iām really busy w school now because the end of year stuff is coming
RH š
yeah yeah i know ššš
need rootshow now fr
I have my own like env
Userspace reboot and everything works
I do have this issue tho
this happens to me as well
itās p interesting
peep the tweaklist
whatever is might be dying
hi sparkdev
wait could the cause for battery drain be just random shit dying in the background
sometimes
Nothing is crashing in bg so far
I also fixed the random reboot for me
ooo how so
Moved jb folder to preboot
ah
nathand šš
@visual meadow have you noticed high CPU usage in SpringBoard
im talking 80% kinds of usage
you have to quickly switch over
Well thats normal afaik
Cause its doing stuff lol
But when i switch over its like 30
OK so there's something def wrong in roothide or my hook
what's not normal is like it being 75-80%
I have no clue why either
Let me check what it does in stock
i suspect this is what's causing battery drain as well
Its not able to tell me cpu usage
yeah i mean just enter safe mode
Does anyone know how to hook the watch ping.caf sound path in a tweak
hook it's clients
Use something to watch for open calls to it's paths and check who the process is
Yup
and also yes
(not) spark would know how to do this probably
snowboard sounds extension can do any system sound 
no
onvm
(Last I checked I donāt think it is)
@radiant idol what did you do to learn objc & Oop ?
Like did u read guids, watch things, look at other ppls code?
why can't he do it himself lmfao
this isn't even md5
it's sha1 š
most normal redditor on r/jailbreak
oh that makes it even worse
yeah at least pre image attacks exist for md5 and you can bruteforce it reasonably even without it
itunes moment
Trial and error
update 
sigh
sigh
when she giving u that crazy head and u suddenly feel CGRect *rect = [[CGRect alloc] init];
.
CGErect
me looking at yo mama's boner
oh?
Anyone have a guide for making tweaks?
I wanted to recreate Tranzlo and get it working TrollStore/Rootless iOS 15-17
theres a bunch of links regarding tweak dev in the pinned messages
Thanks taking a look
oh
astagfirullah
Rayyan
that's arabic right
yes
yeah i don't know much
i know some urdu
kuta
teri ma
teri bab
pudi ka
paanchot

gar ja
kana pakaa
sala kuta
<@&355174844205367317> scam
where
it ok it was in general chat too
message got deleted right as a pinged
oh!
Beat his ass
lol
hydrate quick check logs, captinc linked a piracy repo
capt thanks for sending me a fire piracy repo
mov w0, #0
ret
gonna pirate so much
Doesnt have cheats for that
no proof
Frcoal
Iām gonna remove them now, Iām sorry
@grave sparrow dm me ss I don't have postbox pocket installed 
there is no link

fix it (I'm in your walls)
Moderator of the official Zefram discord server (1 Member)
the member is just gir

Make one
done
Make a cheat
too lazy rn but ill try later
why is my tweak on that repo
itās to remove the confidential text
yeah
and?
itās on my repo
and even if it wasnāt on mine, I donāt remember giving you permission to host it on yours
Alright
FYI you should take a look at the licenses first before rehosting tweaks
itās considered pretty rude to rehost other peopleās work without permission. you really shouldnāt do that
even if itās free and even if the license says you can do that
Generally when the developers are active you should ask first
I don't mind if Bolders Reborn is redistributed since the license allows it, but just know that that's not the case for all tweaks
So take a look first
Donāt even make sense to put nolstext on there since itās already a arm64e package šš
only reason I donāt like it being done to my packages is because it has my name and trademarks on it, but I canāt guarantee whatās inside the package
Also FYI part 2: rehosting pirated versions of tweaks is also not a great look :P
(referencing Dynamic Peninsula)
Deleted that
how about addressing the rest of the concerns being raised?
isn't that required to be british
theyāre all just converted for RootHide, I just wanna make it like easier
The patcher already does everything for you
It takes maximum 15 seconds and then you can install you tweak
You canāt do that without permission or without the license permitting it
But what was the point of nolstext if it was already roothide šš
Cool but ratio I think
get rid of satella
i can see that too 
I will later, I have some work to do but I will
Filter bypass :/
p sure we are exempt
green role
Satella
man wtf
Thereās a separate piracy filter
filter bypass!!!
cant believe you hacked gir to bypass it
Yeah true
Gir hack bypass 2025 leaked
I said [REDACTED] hereās how
Im gonna make a piracy tweak and call it Aaron
free nexus?
create a piracy tweak called "the" so its filtered and no one can say "the" anymore
should've just called it galaxy
create a piracy repo named GIR so GIR will self destruct
make a piracy tweak that goes by every letter of the alphabet so nobody can talk anymore
create a piracy tweak called Sileo
Oh my goodness
why not gold cydia
make a piracy tweak called icraze
i mean cydia kinda ded now
cydia 2
alcatraz releases when checkra1n open sources š
wtf is alcatraz
procursus install script i made still works 
Why wouldnāt it
i don't know
Cool tho I didnāt know there was a script
4.3-8.4.1 package manager because i hate cydia
yeah i posted it months ago and was looking for it cause i couldn't be bothered to boot my old mac to get it
better than capts (path method literally doesnt work
)
writing to /etc/paths.d doesnt work ? 
Nah
idk
alright
Iām gonna take it down for now
but something will come s0n
(not me tho)
Man I love reading licenses
deleted it
mac mini?
what's the size for preference bundle icons supposed to be?
87x87 iirc?
normal right? not @2x or @3x
87x87 seems to be the @3x ver
is 29@3x, so just 87x87 png named icon@3.png
bet
wait is it 27 or 29
29, 58, 87
29x29 i got and 7 and 9 mixed up lmao
goat
i did it again š
thanks

how very disrespectful
shut up whitename
gimme sum roles
earn them
no
Shut up Travis Scott
Shut up Travis Scott
Shut up Travis Scott
don't mess with devs
they will install malware on your phone 
nightwind reference
Reported
Nightwind religion
don't mess with geniuses
they will forcefully help you to install malware on your phone
@granite frigate can you add support for Serotonin to ios 15, we have a lot of devices stuck there š¦
@grave sparrow yo do u recognize what the fuck instructions these r
it's from a game lol
any idea of the instr set
i swear these dont exist in anything ive written in wtf is a txs
ofc i am š
BRUH!
looks like 6502
this cannot b c64
yeah this is what i suspected
damn that bitch old
im railing your mom
yeah looks like it be 6502 http://www.6502.org/tutorials/6502opcodes.html
capt why dont u go be a farmer or smth
fire
at least youād have a jobā¦
Yeah true
says the zefram developer
does Corellium provide support for versions older than iOS 11? and can it run 32bit apps?
it has 10.3
Iām pretty sure you can upload an ipsw
swift is the best language known to man kind
vouch
ever seen this license https://github.com/ThiezModz/nalu935-1/blob/master/Anyone But LICENSE.md
I havenāt seen that one but Iāve seen a similar one but for Richard Stallman
I should make a anyone but capt license
and then licnese like a one line tweak under it
captless_license.md
make femboy calculator and license it with that
Fem boy calculator is just name an image under the calculator right?
Why does it work on desktop but not on mobile
1st pic on mobile
ik, probably shit ui dev
anyone know how to fix
// if (!self.customFormatTimer) {
// self.customFormatTimer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(getTimeInNewFormat) userInfo:nil repeats:YES];
// }```
this part
if its uncommented
basically
the status bar gets stuck even on lock screen, and doesn't update every 1 second
trying to get seconds in status bar working correctly
How
Did it work on 16
16 is like different
writing the license took longer than the whole project
looking for dev with xcode, appium, and JB experience. need some help finishing an app automation. 1k+ budget
capt you donāt count
cuz fuck it we ball
ā¬ļø nerd
common clion W 
vscode bruh
nah wtf why do u have the jetbrains theme on
idk what it be just downloaded one that looked nice from some site š
lmfao š
me who has an Xc*de theme on
i should be ashamed
you dont use lightmode at least
oh yes I would never do that
heard you like assembly so i put an assembler in your assembly dawg
gm
@lime pivot another q but is there a way to tell theos to please compile the swift files first
in the makefile
cause otherwise it tries to compile the .x tweak file and it's like "use of undeclared identifier" well yeah bc u didnt compile the swift files first
this is with #import "MyThing-Swift.h"?
Yea
huh ok interesting
you could try adding to the bottom makefile Tweak.x: $(THEOS_OBJ_DIR)/MyThing-Swift.h
just in case it doesn't get that's a dependency
I think that's where it ends up, I'm probably wrong though
hm
it does compile the swift before the .x file now, but it still says use of undeclared identifier wtf
@objc(NotificationServices)
class NotificationServices: NSObject {
is there something wrong here
hm that should work
I wonder if it's a dependency order issue specific to logos files
oh oh true true
š
that might also solve the ordering issue
how does libkfd get its device info?
ios ver etc
some guy modified systemversion.plist
utsname I believe
ty
mf just wait for dopamine 2
smh
Nathan you bricked my phone

Oh my god brah when will this circlejerk stop
no one gaf š itās the language I take the least time to write shit in now shut up
Yeah even when Iād write stuff in Xcode usually I never needed to mark smth as public to use in objc
anyone know how to hardcode 14.8 offsets into taurine for ip12 with spoofed 16.3? (i didn't do it)
@grave sparrow
Python all day
The amount of libraries available can't be compared
So Real .
whatās this?
node has more quantity if thatās a measure you want to go by š
ik you mean unique useful packages
js community has a lot of people doing the 5000th take on the same thing rather just getting stuff done
Definitely, but they gave 2 choices
Also Python and Swift are 2 different platforms altogether
I supposed it won't be an iOS app because havenāt seen any Python to iOS frameworks anywhere
If it's a hybrid platform/cloud service then def python would win
Rn Swift outside of the iOS scope is just not competitive
Also Foundation for swift/objc covers like at least 1k+ python libreries
I wouldn't even call it competitive on Apple platforms, more like just the only realistic option
Itās code from Waqt, Iām trying to just get seconds correctly working
can someone explain to me, why using -(void)frontDisplayDidChange:(id)arg1 ; from SpringBoard increases the backboardd Daemon extremly high in CPU % usage? (+ 40%)
it really seems to get called only if a application is about to open...
i cant use it in my tweaks... it will drain the battery -.-
kivy
Someone knows how to fix SSH&Terminal apps stop working suddenly on rootless?
NewTerm returns session ended and SSH gives me password auth failed
Have to delete JB environment to fix
Any day
does anyone know how i can get like
syntax highlighting for methods in objc in vsc
like i wanna be able to do ```objc
[UIColor s
or can you not do that
I donāt think so
ok anyway
i kinda have no idea what im doing
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIKit.h>
UIColor* colorFromHexString(NSString *hexString) {
unsigned rgbValue = 0;
NSScanner *scanner = [NSScanner scannerWithString:hexString];
[scanner setScanLocation: 1];
[scanner scanHexInt: &rgbValue];
return [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0];
}
%hook UIColor
+ (UIColor *)systemBlueColor {
return colorFromHexString(@"#ff94d8");
}
+ (UIColor *)systemRedColor {
return colorFromHexString(@"#ff94d8");
}
%end
``` this doesnt theme anything in ios
What are you trying to do
you can probably guess from the snippet
ive only worked with app tweaks before
never sb like this
in theory it should replace the system blue with pink
idk
whats your tweaks .plist target
like are you trying to change it in just settings?
all of iOS?
they're going for something similar to kaleidoscope so
systemwide
which means uikit
{ Filter = { Bundles = ( "com.apple.UIKit" ); }; }
ok ill try tyyy
you can't
except for actual objc files, which include: .m, .mm
closest you can get it github copilot 
also syntax highlighting is when it colorizes based on syntax
you're thinking of intellisense
lol
i meant just that kind of dx
i was thinking "wait thats autocompletion" as i was typing it out lol
anyway it worked
hooray
now time to make it all nice and extensible
wait you guys get colours????
average sublime text user
sometimes i be editing in micro instead of vsc
normally use vsc š
š„±
i wrote a whole tweak that doesnt use %hook
and only uses MSHookMessageEx
yea well %hook is so heavily abstracted
if you want to do anything even remotely complex you need to use mshookmsgex
this is actually more common than you think
lol yea i can think so
i unfortunately had no option to
yes yes
When using objc i switch the syntax highlighting to C in vscode
but some people write without using logos for some odd reason even though they dont have to
yes i have
yeah i prefer %hook when i can
yea its probably really common
@placid kraken i used MSHookMessageEx in a for loop
yea me too
enmity's theming code does it like this
void SwizzleFromDict(NSString *kind, Class class) {
NSDictionary *dict = getThemeMap(kind);
for (NSString *colorName in dict) {
NSString *originalMethodName = colorName;
SEL originalSelector = NSSelectorFromString(originalMethodName);
IMP originalImplementation = method_getImplementation(class_getClassMethod(class, originalSelector));
// cast the IMP to return an id
id (*getOriginalColor)(Class, SEL) = (id (*)(Class, SEL))originalImplementation;
MSHookMessageEx(class, originalSelector, (IMP)imp_implementationWithBlock(^UIColor *(id self) {
id color = getColor(colorName, kind);
if (color) {
return color;
}
return getOriginalColor(class, originalSelector);
}), NULL);
}
}
%ctor {
SwizzleFromDict(@"semantic", object_getClass(NSClassFromString(@"DCDThemeColor")));
SwizzleFromDict(@"raw", object_getClass(NSClassFromString(@"UIColor")));
}
``` lol
there was legit zero way to bypass that
i spent HOURS
trying to get %hook to work in a for loop
using xi to make macros and shit
What if u put %hook in %group and then do %init in a loop
i asked a question here and got 1 stackoverflow link and my shit worked in 5 minutes 
yea well at that point i still wasnt in r/jb
kinda hard to stay out when all the news and stuff are sent here first before anywhere else usually
im sure the subreddit is more cursed than the server tbh
[news] opa took a shit
can i build for roothide for the time being so that i dont need to convert my tweak every time after airdropping
oh you need to reinstall theos 
yea
ok so
k
anyone know how to hook this:
/System/Library/PrivateFrameworks/NanoLeash.framework/ping.caf
btw whats the difference between atomic and non atomic aka + and - is it just objc's way of static and dynamic???
to a different path
rm -rf $THEOSbash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"- add
THEOS_PACKAGE_FORMAT=roothideto your makefile
@placid kraken
you can also install over ssh with roothide
to cut out airdrop
i use iproxy 2222 22 plug my phone in and THEOS_DEVICE_IP=localhost THEOS_DEVICE_PORT=2222
cant you just
@interface NFMPlayCommands
@end
%hook NFMPlayCommands
- (int)playFindLocallySound(int arg0) {
}
%end
or am i stupid
b
wrong, he wants to change the ping.caf sound
oh
@visual meadow
%hook NSBundle
+ (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext {
if ([name isEqualToString:@"ping"] && [ext isEqualToString:@"caf"]) {
return @"/path/to/new/ping.caf";
}
return %orig;
}
%end
what about full path tho
so it doesnt confuse another one and play a car horn sound
/System/Library/PrivateFrameworks/NanoLeash.framework
dude idk youre smart figure it out
wait fiore how can i swizzle all of the methods of a class
like can i get all the keys of UIColor
and then loop through it with MSHookMessageEx
sorry my brain is still very TS oriented
omg that bug was finally fixed
yay
well problem with that is that UIColor has a lot more methods than just colors
ok so can i filter by systemXyzColor then?
send what
its in that tweak.xm code i sent before
its a 3 liner
ok mr zefram boy
yea look all of these i dont wanna write these all out by hand lmao
sure but like
there's probably a better way to do things
than hooking all the system colors
well the whole point of the tweak is to allow changing the system colors
if youre not hooking the system colors then how are you gonna change them
@placid kraken something along those lines
%ctor {
unsigned methodCount = 0;
Method *methods = class_copyMethodList([UIColor class], &methodCount);
for (unsigned int i = 0; i < methodCount; i++) {
Method method = methods[i];
SEL selector = method_getName(method);
NSString *name = NSStringFromSelector(selector);
if ([name hasPrefix:@"system"] && [name hasSuffix:@"Color"]) {
__block UIColor *(*originalColorWithCGColor)(id self, SEL _cmd);
MSHookMessageEx(
[UIColor class],
selector,
imp_implementationWithBlock(^(id self) {
return /* new color */;
}),
(IMP *)&originalColorWithCGColor
)
}
}
free(methods);
}
you really shouldnt do that though
its better to just
specifiy which ones you want to hook
oh ok great thats exactly what i was looking for lmao
ive hated doing that it always feels so wasteful
all of that is defined twice now when it doesnt need to be
oh im not
oh
i have access to the name of the color
i thought you were trying to modify what an app uses or something
im gonna pull from a dict of prefs probably
NSUserDefaults or whatever its called
im not gonna manually populate the dict tho
anyone know how to hook the badge color on ios 16 home screen
pretty sure it's still SBIconBadgeView
2 years ago today
fr bruh
badges are bitmaps so iirc you'd tint with uimage and return the new image
i don't posess a device on 16 to be messing with this stuff tho
@indigo peak how would i hook this?
int +[SBIconBadgeView badgeBackgroundColor]() {
r31 = r31 - 0x60;
var_30 = r24;
stack[-56] = r23;
var_20 = r22;
stack[-40] = r21;
var_10 = r20;
stack[-24] = r19;
saved_fp = r29;
stack[-8] = r30;
var_38 = **0x1dad194c8;
[*0x1de6ee4d8 traitCollectionWithUserInterfaceStyle:0x1];
loc_1c9079cdc();
[*0x1de6ee4d8 traitCollectionWithAccessibilityContrast:0x0];
loc_1c9079cdc();
[*0x1de6ee468 arrayWithObjects:&var_48 count:0x2];
[*0x1de6ee4d8 traitCollectionWithTraitsFromCollections:loc_1c9079cdc()];
loc_1c9079cdc();
loc_1c9079de4();
loc_1c9079dd8();
loc_1c9079dcc();
[*0x1de6ee450 systemRedColor];
[loc_1c9079cdc() resolvedColorWithTraitCollection:r23];
r19 = loc_1c9079cdc();
loc_1c9079dcc();
loc_1c9079df0();
if (**0x1dad194c8 == var_38) {
r0 = loc_1c9079cd0(r19);
}
else {
r0 = loc_1c9079ac0();
}
return r0;
}
i wan hex color 64C466
%hook SBIconBadgeView
+ (UIColor *)badgeBackgroundColor {
return /*...*/;
}
%end
bru
turn the hex into rgb
and then just use
return [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:1];
Nathan tweak dev??
i have my fancy function to turn hex into rgb
UIColor* colorFromHexString(NSString *hexString) {
unsigned rgbValue = 0;
NSScanner *scanner = [NSScanner scannerWithString:hexString];
[scanner setScanLocation: 1];
[scanner scanHexInt: &rgbValue];
return [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0];
}
stolen straight from enmity tweak
this is very cursed
yay now you can have that ugly grreen!
objc is a cursed language
also whats the difference between ```objc
[scanner setScanLocation:1];
```objc
scanner.setScanLocation(1);
like why is there 2 ways to write the same thing
second one isnt valid objc
oh so can you only use dot notation for property accessors then
i remember doing self.subviews.count and [self.subviews count] and it gave the same thing
okok
how would i debug a tweak
do i just connect via usb and NSLog to console.app
like ive always been doing
yes
i think you can use lldb if you really try but i have no clue how
lmao fair
i was trying to use antoine but it clears all the logs after a respring iirc
not ideal
lmao apparently class_copyMethodList doesnt give the system color names
mf_luminance...
oh thats why
i think these should be themable aswell
ok well it worked
everything is purple now
lmao
wait a minute
this is a plist
how am i gonna dynamically populate this with all the uicolors
can you even do that
wat
can you dynamically populate a preference page
actually
probably right?
i can render uikit
yes
you can dynamically create specifiers
what.
Xcode, not just the Command Line Tools, is required for Theos to function properly. Please install Xcode before continuing with the installation.
xcode is still downloading btw
its been stuck at this for the past 10 mins
ok ive opted to just installing via brew
unxip
not the first time i installed it like 5 times before
my poor 256gb ssd cant handle xcode installed most of the time
and xcode dies completely if you install it on an external ssd
Use Xcodes in future and enable unxip mode
Download Xcode easily with a mouse click or a Command Line Interface
yea i used the xcodes tap
F
Bro what macOS version you running
13.1 lmao
man
yea but i cant install it without having xcode installed
Oh
like it literally does not let me
Use xcode 14 I guess
yea
Someone has an Xcode compatibility version list somewhere
i hate the xip so i've always just use mas lol
wait there's a brew tap for xcode? man
ok i figured out why it didnt let me with xcode 15
theos only installs if xcode is called Xcode.app
i had to rename my xcode to Xcode.app instead of Xcode-15.1.0.app
or in this case 14.1.0
im building for roothide and it still doesnt accept it š
i have THEOS_PACKAGE_FORMAT=roothide in my makefile(s) š š
#include <Foundation/Foundation.h>
#include <UIKit/UIKit.h>
@interface SBSystemApertureContainerView : UIView
@end
%hook SBSystemApertureContainerView
- (instancetype)initIncludingSensorRegion:(BOOL)arg2 {
return self;
}
%end```
what am i doign wrong
@indigo peak help
maybe @radiant idol too
(i want to make that method do nothing but that just crashes springboard)
return nil
this ended up nuking the island:
#include <Foundation/Foundation.h>
#include <UIKit/UIKit.h>
%hook SBSystemApertureViewController
- (instancetype)initWithWindowScene:(int)arg0 {
return nil;
}
%end```
ITS NOT ENOUGH!!
i think i need to nuke stuff in backboardd too
oh are you trying to get rid of the dynamic island
yea
its gone from sb
i think backboardd is rendering it
someone needs to figure out what renders the pill
i think springboard stillr edners it?
speaking like tesla_man
is the dynamic island oop
idk
that was a joke
@native dune @sonic totem https://github.com/TheRealClarity/haxx/blob/93f145daba08ad8f2fd180a49e989a03dea85278/launchd.c#L41 i meant this the other day
could avoid the code duplication tbh but point stands
This should still break taurine since taurine isn't actually spawning and injecting into the real launchd, but into the fake one 
have original apple signed ldid at /sbin/laureal or something then do s|/sbin/launchd|/sbin/laureal|g on jbd
then sign jbd with the cert in taurine
nice
y dont u do it
Idk where it is
@hasty ruin icrraaaaaaaaaaze
it's written in swift
oh what
No wonder itās buggy
the backboard part of it is written in swift?
The thing that actually renders the pill or the overlay above the pill
wha
Bruh
lol

Ok gimme a jb
cant you do that with serotonin tho
@granite frigate help icraze
Not interested in using roothide anyway 
I tried littleroot but it has the same pf

version
16.2
I tried haxi0ās fork a couple days ago and it worked
well not me
but had mad battery drain
uh someone made a pr that fixes it
Oh real
yeah
How do these not quite jailbreaks even work?
Like is it just trollstore or is there other stuff in the chain?
overwrite namecache launchd path to coretrust bug signed one
use hook in launchd to relocate springboard path
please donāt actually use this in release
please donāt actually use this in release
please donāt actually use this in release
I beg
And I'm assuming this needs another exploit?
Yes
š
Ok makes sense
hook badgeBackgroundColor
i got it working
returns a uicolor
@interface SBIconBadgeView : UIView
+(id)badgeBackgroundColor;
@end
%hook SBIconBadgeView
+ (id)badgeBackgroundColor {
return [UIColor colorWithRed:243.0/255.0 green:139.0/255.0 blue:168.0/255.0 alpha:1.0]; // any color
}
%end
@visual meadow
on the other hand what the fuck were you doing to change text color
need
the badge




