#development
1 messages · Page 118 of 1
same as right now JB_ROOT_PATH("/var/mobile/Library")
@naive kraken @unique wedge
have a rootfs() api; does nothing on /var/jb rootless (same path),
converts rootfs based paths to jbroot based paths on roothide
packages can only use one of them
yeah I guess that would work hm
by the looks it seems the api roothide currently has to tweaks is more or less what rootless v2 would need
ok so by default tweaks run in rootfs land, but have an api they can call to access jbroot land?
yeah but roothide api is not standardized
I mean / is /
time to... standardize it
and jbroot(/) is jbroot
in rootless v2
ok
yeah that's what the idea of rootless v2 is
inb4 rootless v3
How does this work for non-bootstrap cli tools, shell scripts and the such?
soon we’ll have rootless v42
exactly the same
hm yeah scripts idk
and I still hope that opa will not statically compile apple's private code for interacting with lanchd into every tweak of rootless v2. once apple changes this private code in the future, all v2 tweaks will be broken 😭
it will be in a library
roothide has jbroot and rootfs command line tools, so just copy those over also?
apple's private code
???
and packages will load it dlopen("@rpath/library.dylib", RTLD_NOW)
honestly, it would make more sence to be to have any non-library/tweak code, run with jbroot as / by default, but have some kind of link to real rootfs. Twekas and librarys should just inherit from what they are loaded into. but, tbh idk all the details.
private api
sup nerds
they leaked or just linking against them ?
I would verify if so first
^
by staring into a disassembler for 20 hours
I'm fairly sure someone had to PR a change into Dopamine to make those dlopen calls work
because it's hook was breaking it in early versions
oh 
also whats to stop some random app from trying to link to the rootless library?
might just be me but I would make sure stuff actually works and is possible
at least for loader_path
well in what I have for Dopamine 2.0 atm, I also added trustcaching support for those calls
but yeah maybe I should make sure they work lmao
because with RootHide you're still jb'ed
no need to reboot
just use whatever apps you want
so true..
with all due respect some of what you’re saying is based on assumptions that are probably correct but haven’t been verified
you can't bully access
if you hook an app this is going to get detected
and patching the kernel doesn't work
bruh
those apps give zero fucks about what's in the DSC
they do an inline svc
how does everybody who hears about RootHide always try to do this same thing
I’m sorry it amuses me
wdym
yea wdym
^
no wdym
not just "access", there are hundreds of path-related APIs that can be used to detect /var/jb github.com/roothide/libroothide/blob/main/vroot.h
thats a path
they always either:
- try to come up with other ideas on how to hide jailbreak without RH’s patches and special stuff
- try to figure out some way that RH is completely flawed
appears to work
first one never works
second one is true to an extent and for periods of time, but has yet to hold true forever
Also I didn't get a response to this?
first one can work, you "just" need bootrom hax (or bypass the ktrr)
ok sure
the whole basis of rh is to avoid injecting /hooks/patches into apps that detect jailbreaks, because it will become a cat and mouse game
late but nice
Snapchat doesn’t care if you’re jailbroken anymore
they care about tampering with the app

Which is based
Fair enough
POV : the 20k snapchat tweaks
My bank app detects jailbreaks and only shows a popup once and never again, just to let me know
honestly it's debatable whether the never ending stream of hardcoded path strings in bootstrap packages or vroot is worse
also who remove the developer role because im 100% sure i had that role
it was always getting re added
They have the role in the rh server
bot moment maybe
GIR broken™️
truely a gir moment
RH server and this server are completely different entities
RH?
roothide
oh
speaking of RH server - @marble perch do you want to join the RH server (since it’s part of Procursus now)
I know, just saying maybe they figured it was removed because they mistaken their roles here for there
yeah no im not going to mistaken that
this can be implemented on jailbreaks, but why need it?
FINALLY <3

Ik
I just have to comment 2 lines inside of $THEOS/bin/dm.pl
and boom
I need my exfat drive
bruh
thats... not how you fix errors
Do you know that exfat don't have permissions
so obviously, you can't chmod
Thats why this occurs
mk
um you really shouldn't make something in a fs that doesn't support the permissions
Why not ?
icraze stop mewing in my dms
random things start breaking
and i have also had stuff break because im trying to compile stuff on case insensitive apfs
tweaks won't really do much to my os
I don't really have choice
I want to use that drive system wide
is this dude ok
no
fake
you are fake
1984
1984 !!!!!
Delete this if you’re a furry femboy that likes icrazes cock
This isn't going to get deleted
Delete this if you’re a furry femboy that likes icrazes cock

1984™️
Uh
BRO DELETED ???
Uuuuhhhhh
ntwerkdrm leak
file.txt
file.txt
file.txt
its iOS's source code
valid but I personally would not smash flamoreon
Lies??
??
hi alfie
No way iCraze is 17
what am I then
go away alfie
:(
alfie #1 i mean
I thought like 20 lol

alfie #3 can stay
you are nexus developer
you’ve seen me
.
you mean 43
iCraze better wish me a happy birthday
Explain your logic for why I’m 20 😭
You sent me snaps
You look 20
Therefore, you are 20

Knew I was right
@radiant idol breaking news: Alfie #1 is speechless after being presented with bulletproof evidence
oh yes
indeed
Alfie #1 sucks
Alfie #3 ftw
Who’s Alfie #2 
nerdz
maybe this is why kixird had so many issue w the build u gave him lol
@sonic totem happy b day
Thanks!
happy birthday alfie #3
no
Let’s goooo!
sent
Can I be Alfie #1 if I drop an untethered BootROM exploit @radiant idol
Okay bet
Alfie #0
thast what they all say
why not
alfiecg wrote ChOma, alfie "#1" wrote overcomplicated DRM
DRM was written in Swift I have the source code
i personally saw it
alfiecg im a bit dissapointed ngl
0 released projects too
<@&558709886397972481> threats
Didn’t have to ping Aaron man
I love pinging Aaron
and Aaron loves being pinged
you should all give it a go

pinging Aaron is their second favorite activity
what’s my first
@radiant idol is OOP the CGRectMake stuff? bc i can set one the lables to hidden but its not chnaging the postiotns. OR is this a thing with the OOP and i didnt set the proporty stuff right so IOS deosnt chnage it (cant chnage it)?
developing Nexus and Rune
But Aaron took down my Reddit post :(
icraze is OOP the CGRectMake stuff?
Nexus Pro for $10 wen
no
bc i can set one the lables to hidden but its not chnaging the postiotns.
Friday
OR is this a thing with the OOP and i didnt set the proporty stuff right so IOS deosnt chnage it (cant chnage it)?
Who wants to see how @radiant idol does localisation?
I heard Cydia 2 is releasing then too
DID*
The best birthday gift I could ask for
What about the bundle ids
all good now tho :)
No it’s just about permissions
Happy bday @sonic totem
?????
You what

Is that even possible
NSSelectorFromString
performSelector
well uh
smd
@hasty ruin do you want me to tell them how you adapt your tweaks for rootless
how i adapted tweaks for rootless environments before a rootless standard was finalised*
and never fixed it**
my theos is up to date pal
ok buddy
ok pal
hbd @sonic totem
fun fact I once told sn0w that you were 60 because I mispronounced 16
happy birthday alfie
happy birthday @sonic totem!!
I got 1984’d ?
?
oh shit, happy birthday @sonic totem
@radiant idol jade is pasted
Happy Birthday @sonic totem
Bappy hirthday @sonic totem
happy birthday @sonic totem
Should install fake cydia on it
holy shit he found the ellekit files
omg
Fossil
fr
fr
😭😭
Thank you everyone!
happy birthday @sonic totem
Thanks!
wait WHAT you're not 18?
i thought you were like 25 
who are you?
happy birthday @sonic totem
happy birthday @sonic totem
happy birthday @sonic totem (:
Thanks guys :D
happy birthday @sonic totem
happy birthday @sonic totem !!!!!!!!
Happy birthday @sonic totem
Happy birthday @vivid dew
@sonic totem HAPPY BIRTHDAY 🎉🎉🎉
🔥🔥
@sonic totem HAPPY BIRTHDAY 🎉🎉🎉
@sonic totem BIRTHDAY HAPPY 🎉
🗣️🗣️
Wished it twice 
Best birthday gift so far: arrived at school and my MacBook is on 8%
And I don't have a charger 
Get some lemon 
Also finding a usb c cable is easy lol
Nope I’ve tried
lol
Happy birthday Alfie
@sonic totem happy bday!!
hbd
@sonic totem happy birthday!
Thanks everyone :D
happy birthday!
@sonic totem happy cake and candles
🙏❤️
Is the error attributed to the package's build process, or is it related to the device on which the installation is attempted?
a resource fork (special file on macOS) was left in the build directory for the deb file
so dpkg tries to copy it and it fails because it's rootless
either way you don't want them to exist there
I can’t find it tough.
There it is
once you're in the build directory
rm **/.DS_Store will remove any in the current and all directories (at least in zsh)
bash probably requires you to enable extended globbing but still
but honestly, i'd just wrap dpkg-deb to just delete every time it's run lol
Thank you very much
adding this to your shell's config should be helpful
dpkgdebpath=$(command -v dpkg-deb)
dpkg-deb() {
if ! [[ "$(ps -p $$)" == *"zsh"* ]]; then
shopt -s extglob
fi
if [[ "${1}" == "-b" || "${1}" == "--build" ]]; then
if [[ -n ${2} && -d "${2}" && -d "${2}/DEBIAN" ]]; then
rm ${2}/**/.DS_Store
fi
fi
${dpkgdebpath} ${*}
}
@slim bramble here DynamicPatches is open source now too
only took me like 12 edits to get this right 
its working for me 🙂
coolstar
oi
whats the name of the protection used to bless/sign the system partition?
SV something?
SSV
ah that makes more sense, assuming signed system verification or something
nah u just gotta alias all commands to also run find / -name ‘.DS_Store’ -delete
imagine
world would be a better place
i wonder if there’s a flag you can set with defaults to stop them from generating
can you not just disable the making of .DS_Store entirely
i don't believe you can
time to install total commander
wait what's the macos one i forgor the name
i guess pathfinder would be one or commander one
see I usually sort alphabetically or date modified
so I don't care about random order
I also don't use a mac
i don’t get why that has to be in a separate file in each folder
I just store globally and swap when needed
is keeping the sort option what it was already set really that important
What's the class for the power button?
powerbuttonClass
Oh Hi welcome :)
hi
anticapt hosing solutions
I ddosed them sorry
be mad at microsoft lol
Is it just me or has xcode gotten even slower lately?
it always ran like crap but it's just reached a point where it is barely usable
Get better internet with your broke ass
Bruh flex is fr speedrun first to go from a view to another using only properties and ivars
hardcoding™️
bro
? 
wtf
It's the easiest way of doing it 🤷♂️
easiest wya to do it is pay someoine else to do it for you
easiest doesn't mean it's the best smh
doesn't mean your code should be
that doesn't tell me anything execpt the amount of lines you have
Usually more lines = shittier code quality
comments, indentation and more also exist
but i doubt you used them
💀 💀
Bro objc c is not my first language
far from first
Eta wen I remember to actually have a jailbroken device
I thought I had my iPad but I left it at home
I guess I could do a bit with my phone still
Smh
how do i add a list of files from a file location in my preference file?

Probably programmatically
use [[NSFileManager defaultManager] contentsOfDirectoryAtPath]
then just loop through the files and load a cell for each
if you want only certain filetypes just use a condititonal that checks the extension
ik how to do that, idk how to do the load cell part
decent example
@lime pivot with less pain than HBPrefs i think
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
if ([self.view respondsToSelector:@selector(setTintColor:)]) {
UIWindow *keyWindow = [[[UIApplication sharedApplication] windows] firstObject];
[keyWindow setTintColor:[UIColor systemRedColor]];
}
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
if ([self.view respondsToSelector:@selector(setTintColor:)]) {
UIWindow *keyWindow = [[[UIApplication sharedApplication] windows] firstObject];
[keyWindow setTintColor:nil];
}
}
how to do that with picker list cell
could be useful to the 2 people still manually making debs
unpin if not idk
I made my own repo might as well make my own debs
191.33GB of 256GB
furry porn included ? 80gb/128gb
How can I hook a method of a certain UIImageView without like hooking every single UIImageView in spring board ?
like there is absolutely no way to do this
yea im do that already, but iOS likes to override my changes, so i wanted to hook the setter method for the property i am changing
don't listen to capt, this is possible
object_setClass
just overwrite it with your own UIImageView subclass
idk how to do that exactly but i get the methodoligy, which is smart, thanks 👍
you implement a UIImageView subclass where you overwrite the method(s) you want to hook and then at runtime you call object_setClass on the one object you want to be hooked and set it to that subclass
yea i got that part, just in practice idk how to type that out, but i will figure it out. i kind of jumped into tweak dev with no prior knowledge of objc/oop so im learning as i go.
also one quesition
the UIImageView in question has a lot of instance methods (its the artwork UIImageView for the player on the lockscreen), i don't think (with my current knowledge of objc/oop inheritance) that those methods would get passed on to the new subclass. how would i like make sure those are still like on the UIImageView after i set it to my new class?
in a subclass, all methods you don't overwrite will fall through to the superclass automatically
ah ok, that makes sense. Just so i can learn, like with the object setclass, are you like layering a new class on top of the preexisting one or are you completely replacing the preexisting class? (im assuming i'd know this if fully understood oop, but it's been little hard to grasp over the past months)
you're replacing the class of that specific instance
But if you replace it with a subclass of the original class, you will get the result you want
understood, thanks for the help 👍
TIL
why does that exist
ah it's class_setSuperclass()
and how does that even work what
understandably deprecated because it's cursed
I like how it's just so integral it's also in visionOS
@slim bramble this will hopefully fix thoes stupid border radius glitching bugs, and ALSO let me set the elapsed/remaining time labels to the side of the player like ios16+
a lot more uses than I expected https://github.com/search?q=class_setsuperclass+-path%3A*.h+language%3Aobjective-c&type=code
lmao, most of them for Logos are my old code, awesome
that's where I used it then
The light mode
Woeisfade
visionOS 1.0-1.0 Deprecated
so good
ok good you better not make it mandatory to be automatic instead of setting it to dark all the time
why is my specifier not updating?
that seems like it should work
it doesnt
i did nslog and it gets to that part as expected
it just doesnt show up in settings
use grep.app
so good
yeah i use it all the time
yeah it is, but i like the filters available to grep.app
ok the contrast in the UI is pretty poor but otherwise this looks a bit nicer
missing a lot of GitHub's query syntax though
that it searches so quickly with regex is surprising
amusingly if I search for regex ., it shows me Tensorflow, Linux, .NET runtime, and Godot
idek where i found out about grep.app
but its like
a daily site for me
@lime pivot
i entered the world of
preferences
without cephei
god bless you for making cephei

everything there was made completely stock by yours truley (so its complete shit)
can I be annoying, use 1 / window.screen.scale for the vertical divider line
otherwise honestly it looks great
you should
make a github cell
and have a little github icon
like you have for mastodon
kirb just complained ab that
wonder how
SearchDots is respringless
basically when you change a setting, you call a notification in NSNotificationCenter
Then you make the thing you want to change have an observer for that notification
And boom
@radiant idol @lime pivot
fuck it
im writting a prefs thing
:o
ok nvm
too much work
tru, I should really add a bunch of social icons
lmao
looks nice now

thats really useful
too much work
Not really actually
So why did the app install onto the phone perfectly well, but Apple Watch has issues with it?
just 'ctrl + V' then 'ctrl + V' from search dots
nvm
not the asm
mfs here fr
ret
This guy saw the tiktok too
yo cake and candles brotha
is that basic c?
yes add more padding / shrink the text
method meth
This is better but imo the “subtitle” text should always be smaller than the “title” text
Ok I probly do that
Shorter text*
Also maybe making the text semi transparent but that’s prob too far idk
The bottom one looks to be
Yeah
Yea that does looo better
Looks clean
what the fuck 😭
WARNER CHAPPELL
Is it possible to convert arm64e tweak to arm64
???
You mène roothide tweaks to rootless ?
This is gushi’s screen shot, I don’t own an iOS 16 phone 😭
I wan on iso 16
oh yea
i meant from roothide to a real jb
uh..................................................
is there even any tweak that has a roothide build but not rootless?
no roothide is inherently rootless because the jb for rh is stored in /var/...
can you update existing ps specifiers?
bc it doesnt seem to work
this
it doesnt do anything
i did nslog, it seems to add it fine
this is the specifier in my Root.plist that im editing:
<dict>
<key>PostNotification</key>
<string>com.leemin.lockmaster.prefschanged</string>
<key>cell</key>
<string>PSLinkListCell</string>
<key>label</key>
<string>Lock Sound</string>
<key>id</key>
<string>customLockSound</string>
<key>key</key>
<string>customLockSound</string>
<key>detail</key>
<string>PSListItemsController</string>
<key>validTitles</key>
<array>
<string>Default</string>
</array>
<key>validValues</key>
<array>
<string>Default</string>
</array>
<key>default</key>
<string>Default</string>
<key>defaults</key>
<string>com.leemin.lockmasterprefs</string>
</dict>```
what
oh yeah, thats an old screenshot
thats not the issue
this is what it is rn
does specifiers need to be an nsmutablearray?
bc rn its an nsarray
how controller
but will that be added to the bottom?
idk how to get the correct position in the array
doesnt work
this is the error
because you call [specifier propertyForKey:@"key"]
you cant directly access things on the specifier
i copied the website
when i access that, it doesnt show up in settings
can i not just update an existing specifier?
actually
i dont directly access it
i assign it to a temp array because its being filtered and rerendered whenever the user changes a thing
i would recommend making a temp array, making your changes, then simply assigning _specifiers to that temp array
no mutable copy
simply set it
it won't care that youre trying to set an NSMutableArray * to an NSArray * itll automatically do the conversion
still didnt work
hmmm
maybe im confused but.
oh interesting
THIS WORKS
odd way of saying thanks, ofc it works
17.4 beta 1 allows non webkit browser engines 👀
- in the eu

they may be able to enforce sideloading for eu only but hella not that
uh, yes they can
you need an entitlement (or something else) to do it iirc and one of the stipulations is that the app can only be offered in the EU
Ok so we need a ios 17.4 jailbreak then problem solved
Too bad thats not happening
ok but imahine if the eu says they have to make it open and then jailbreaks.app can just work using these
where Da ios 17 trollstore install methods at devs
wtf are we (not) paying u for
Bums .
fr
i wanted to get eneko working on carplay
after examining the code
i want die
why cant they use %hookf or %hook like normal user
litten
Look at header file?
i looked i just gave up bc eneko is like badly organized
identifier?
(idk everything about binaries but what would that be)
think of app bundle identifier but embedded in binary
ldid uses the binary name if that isnt specified
i just want it to use the existing one if possible
oh so this?
No hold on
why not just
ldid -I$(ldid -h /path/to/binary | grep -m 1 -e "^Identifier=" | sed 's|Identifier=||') /path/to/binary
Shit that might work hold on then
added -m 1 to grep there because ldid outputs for each slice
but should work
could also be funny and make a function in your shell for this if you plan to do that often
no its for an auto patcher
find $TEMPDIR_OLD -type f -exec file {} \; | sed -n '/Mach-O/ s/:.*//p' | grep -v -e "shared library" | while read -r file; do ldid -e "$file" > /var/jb/tmp/dirtypatch_ent.plist && defaults write /var/jb/tmp/dirtypatch_ent.plist get-task-allow -bool true && ldid -S/var/jb/tmp/dirtypatch_ent.plist "$file" -I$(ldid -h "$file" | grep -m 1 -e "^Identifier=" | sed 's|Identifier=||') && rm /var/jb/tmp/dirtypatch_ent.plist; done```
oh then it's in a script, easy enough then
this is based off of dirtypatch
but instead of patching rootful tweaks it ct signs tweaks/stuff
if you need team identifiers as well then ldid outputs that too
find $TEMPDIR_OLD -type f -exec file {} \; | sed -n '/Mach-O/ s/:.*//p' | while read -r file; do /var/jb/usr/local/bin/fastPathSign "$file" | true; done```
[[autosign]]
GIR's broken
you can probably just change that
and i'm depressed what else is new
the day gir functions is the day we achieve world peace
oh
testing now
lol
oh its targetting shared libraries
cool
figured it out
lets see if it works now?
nope some slipped through still idk
find $TEMPDIR_OLD -type f -exec file {} \; | grep -v -e "shared library" | sed -n '/Mach-O/ s/:.*//p' | while read -r file; do ldid -e "$file" > /var/jb/tmp/dirtypatch_ent.plist && defaults write /var/jb/tmp/dirtypatch_ent.plist get-task-allow -bool true && ldid -S/var/jb/tmp/dirtypatch_ent.plist "$file" -I$(ldid -h "$file" | grep -m 1 -e "^Identifier=" | sed 's|Identifier=||') && rm /var/jb/tmp/dirtypatch_ent.plist; done```
any idea why this still targets some shared libraries
well i'd have to test it on a binary using those
can't test that on my mac either because file output differs i think
what packages does it seem to be happening with
there's your reason
exclude bundle and check the extension and you should be good
or really just grep mach-o and executable
the your who the
didn't do anything wrong bro
they mean the find command used in pro makefiles
Workifn
never the mind
fucking
thats crazy
its not signing
ykw im using the procursus one let me try that one
i mean shouldn't you be able to just print lines here
lol
what's wrong with clang
Im pretty sure gcc has been built
no 32bit support was dropped a long time ago
looks pretty straightforward
good lmao, I was concerned
Always use aarch64-apple-darwin
That’s the correct target
You choose macOS or iOS with the SDK and -miphoneos-version-min/-mmacosx-version-min
whats the corner radius for a tweak pref?
the icon?
version is dumb
It’s not an oom
looks a little off
thx
iirc codesigning
codesign -f -s "Apple Development: <insert dev name>" --entitlements ents.xml if on macOS
ldid -e /bin/ls > ent.xml
ldid -Sent.xml -Cwhatever
Now we need a void user…
Soon, the only way to reach Richard will be by bird
LMAO
If he only knew about xmpp…
slap the png to figma and add the radius w corner smoothing = 60%
I was thinking about rms 
off the grid 🔥
Like what
Procursus the table exists
… ?
I don’t really understand the gentoo prefix thing
is rootful bundle stored in /Library/PreferenceBundles/?
Yoo that’s cool
GenCursus
😭 it was oom
Wayland on ios
what a guy he is
lmfao what
how
He’s who tried gcc for iOS!
I forgot about him
@real scaffold can you help this guy out with GCC? @frail crater
Am going to test my repo see you when its finshed!
is there a such thing as a statically linked tar binary
does havoc require a banner?
not required
yup found it
i mean yeah I'm pretty sure a few jailbreaks use one
yeah I just yeeted it from DNAJB
remember, we have xquartz
nothing preventing wayquartz from being a thing
wayquartz
too lazy to think of a good name
I tried lmao
didn't go so well
another problem with that
is it doesn't maintain permissions
i mean does apple's tar link it
(besides tar uses libarchive under the hood)
yeah it's bsdtar
bsdtar is made using libarchive
no it isn't
one of the selling points of tar is preservation of POSIX permissions
well at least it was when it was developed lmao
pretty much every format has that now
read manual pls
``` -p, --insecure, --preserve-permissions
(x mode only) Preserve file permissions. Attempt to restore
the full permissions, including file modes, file attributes or
file flags, extended file attributes and ACLs, if available,
for each item extracted from the archive. This is the reverse
of --no-same-permissions and the default if tar is being run as
root. It can be partially overridden by also specifying
--no-acls, --no-fflags, --no-mac-metadata or --no-xattrs.```
yes I use that
const char *tarbin = [[[[NSBundle mainBundle]bundlePath] stringByAppendingString:@"/tar"] cStringUsingEncoding:NSUTF8StringEncoding];
NSLog(@"Untarring to %s",target);
AppendLog(@"Untarring to %s",target);
if(CENSORED) {
util_runCommand(tarbin,"CENSORED","--preserve-permissions","-xf",tarpath,"-C",target,NULL);
} else {
util_runCommand(tarbin,"--preserve-permissions","-xf",tarpath,"-C",target,NULL);
}
NSLog(@"Untarred!");
AppendLog(@"Untarred %s",tarpath);
}
dw about the CENSOREDs
:(
no it works
it preserves permissions in the [[Hyperlink Blocked]] path
untar.c always works 
I tried various libraries, none of them preserved permissions lol
or just use some random dylib

or use 200 lines of c code
the tar bin is fine for my use case ¯_(ツ)_/¯
Am going to test my repo with my jailbroken iphone before it goes public
what's the repo
MudSplashers Repo
ah
a tweak that splashes mud on homescreen
Great idea!
is it bad practice in tweak dev to put views outside their super views?
@grave sparrow how to get your macho base again
any cpp knowers? im confused
Alright so, how would i hide the fill in of the battery and the background of the battery here?
cant you just disbale the new battery mode and snowboard will do the rest?
I want it colored tho so
im gonna color the text
^
k, im curious now show me when ur done
gm chat
yeah im looking rn
also, is the text always gona be white?
or will it change as if it had a BG in like regular operation
it looks off the like vertical center tho
i’m gonna blame icraze
Bro
ah
Sometimes it off centers
oh, ios 16 issue?
idk
ok yeah idk how to fix this issue
%hook _UIBatteryView
- (void)setShowsPercentage:(int)arg2 {
%orig(YES);
}
- (instancetype)_fillLayerFrame:(int)arg2 cornerRadius:(int)arg3 {
return nil;
}
- (instancetype)setBodyLayer:(int)arg2 {
return nil;
}
- (instancetype)setPinLayer:(int)arg2 {
return nil;
}
%end```
this is what i have so far
hmmm maybe
jus set the layer's alpha to 0?
huh?
@radiant idolwhat does this mean?
build as debug
Generate with debug symbols first
ah thx
@radiant idol what is the right way to do this
this occurs
your types are all kinds of messed up lmao
Bottom two should be void not instancetype
Top one’s arg type should be BOOL
but that wont fix the issues im having
Yeah but at least make the code actually understandable
And idk I haven’t worked with the iOS 16 battery view
also i dont think its a void
why not
Set pin layer is not an instancetype
FLEX >>
@radiant idol
%hook _UIBatteryView
- (void)setShowsPercentage:(int)arg2 {
%orig(YES);
}
- (instancetype)_fillLayerFrame:(int)arg2 cornerRadius:(int)arg3 {
return nil;
}
- (void)setBodyLayer:(int)arg2 {
return;
}
- (void)setPinLayer:(int)arg2 {
return;
}
%end``` back to this now
like
i meant
I also doubt layers are integers
Skill issue idk
I haven’t touched the iOS 16 battery
Yah theyre CALayer*s
idk what to do now
What are u tryna do
when my battery fades out of existence
No it’s not swift
oh
make it fade back
Well this is what i want
set the alphas to 0
i need to see lfex
but like just hook viewDidLoad mmethod and find the proporties of the view you want to not show then self.theviews.alpha=0
u can do it in flex to test
the hell
what are the like subviews
ok
Just look through the various getters/setters and see what’s different about them when your phone is charging and when it isn’t @visual meadow
is there an alpha property there?
no
nvm then
those arent UIViews they’re just layers
Watchdogd panic

int spacing = 10;
int numtosubspaceonsupview = 0;
CGRect selftemprect = self.frame;
numtosubspaceonsupview = spacing*2 + self.remainingTimeLabel.frame.size.width + self.elapsedTimeLabel.frame.size.width;
selftemprect.size.height = selftemprect.size.height - numtosubspaceonsupview;
selftemprect.origin.x = numtosubspaceonsupview/2;
self.frame = selftemprect;
CGRect eltempframe = self.elapsedTimeLabel.frame;
eltempframe.origin.y = (elapsedTrackOrigFrame.size.height+issmallsbnum - self.elapsedTimeLabel.frame.size.height)/2 + elapsedTrackOrigFrame.origin.y;//(self.frame.size.height - self.elapsedTimeLabel.frame.size.height)/2;
eltempframe.origin.x = spacing/2;
self.elapsedTimeLabel.frame = eltempframe;
CGRect remtempframe = self.remainingTimeLabel.frame;
remtempframe.origin.y = (remainingTrackOrigFrame.size.height+issmallsbnum - self.remainingTimeLabel.frame.size.height)/2 + remainingTrackOrigFrame.origin.y;
//remtempframe.origin.x = ((numtosubspaceonsupview - self.elapsedTimeLabel.frame.size.width)-spacing) + spacing/2;
self.remainingTimeLabel.frame = remtempframe;
why
Aka a thread was hanging for a while
@radiant idol
thers probly method u can call
look thru them
probly like setOpacity or sm
(void)setOpcatiy
idk
whats the super view of it
y’all are tweaking bruh
im not looking through what the fuck changes during unplug and plug in
K then suffer lol
where do i check thhat
Idk
idk what to look for is hte thing
well that’s why you’re looking for changes lol
honeslty idk, in flex when you like go out and see the view hierarchy is the like this(CAShapeLayer) ^ highlighted
