#development
1 messages · Page 137 of 1
Yes, Comet
swiftui syntax is weird
rosie how do i get the images next to the linkcells? like leftImage or sm?
than is it a SFsymbol ?
or can i have custom bc i have idea
yeah that looks better
this is how i do it
- (NSArray *)specifiers {
if (!_specifiers) {
NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";
for (PSSpecifier *specifier in baseSpecifiers) {
NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];
if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;
[specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
}
_specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
}
return _specifiers;
}
but it can be any UIImage
specifically line 11 is what you need
real
whats wrong with the app
i have a mac VM that runs at 5fps
thx
get a mac fr
Someone pin this
ive had my mac since 2 years ago
for tweak dev a mac makes life easier though
other than the battery completely frying itself a few months ago the experience has been great
my python slave (chat gpt) makes it easy to
@hasty ruin pin
do you have gpt 4
i might get it soon
no 🥲
imo waste, use bard or sm
i dont really use gpt much anymore
how is bard better
my problems usually are too complicated for ai to have enough context to solve
it's trying its best
but when your width isnt being scaled down because the inner component has an underlying scrollview with horizontal scrolling which breaks flex properties, ai cant really do much to fix it
idk, it its faster
have you heard of https://poe.com
Poe lets you ask questions, get instant answers, and have back-and-forth conversations with AI. Gives access to GPT-4, gpt-3.5-turbo, Claude from Anthropic, and a variety of other bots.
faster than https://chat.openai.com
still gpt3.5 tho
looks cool
its a quora service
@placid kraken mind if u use ur thing to set icon image stuff, il give credt in my contrebutions tab ofc
its*
you dont need to credit me, go ahead
ok thank you 🙏
quora is strange
people put literal porn on there and they don't care
sry for my dumbness but like idk exactly how this should work
NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";
^
sixteenplayerprefsRootListController.m:13:40: error: use of undeclared identifier 'baseSpecifiers'; did you mean '_specifiers'?
for (PSSpecifier *specifier in baseSpecifiers) {
^~~~~~~~~~~~~~
_specifiers
/Users/tesla3092/theos/vendor/include/Preferences/PSListController.h:7:18: note: '_specifiers' declared here
NSMutableArray *_specifiers;
^
sixteenplayerprefsRootListController.m:21:29: error: no visible @interface for 'sixteenplayerprefsRootListController' declares the selector 'getSpecifiersWithValue:specifiers:'
_specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sixteenplayerprefsRootListController.m:21:69: error: use of undeclared identifier 'baseSpecifiers'
_specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
^
4 errors generated.
wait
im dumb
ok only thing i need now is
NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";
^
sixteenplayerprefsRootListController.m:22:29: error: no visible @interface for 'sixteenplayerprefsRootListController' declares the selector 'getSpecifiersWithValue:specifiers:'
_specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
il jus make a custom class
@hasty ruin pin
you dont need that stuff
@hasty ruin pls pin
just do
- (NSArray *)specifiers {
if (!_specifiers) {
NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
for (PSSpecifier *specifier in baseSpecifiers) {
NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];
if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;
[specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
}
_specifiers = baseSpecifiers
}
return _specifiers;
}
those parts are for the popover cell
I can jus do it in plist to I think
thanks
you can but not for system icons
whats the plist look like for this? did this but it deosnt seem to work, im really bad at this 😭
nvm looked at flora
thanks again
idk but its jst not showing anything
this works tho ```objc
@implementation sixteenLinkCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)identifier specifier:(PSSpecifier *)specifier {
self = [super initWithStyle:style reuseIdentifier:identifier specifier:specifier];
if(self){
[specifier setProperty:[UIImage systemImageNamed:@"iphone"] forKey:@"iconImage"];
}
return self;
}
@end```
You can do this easier
Or at least in a non hard coded way
you put it in a dict
what does the code look like
means it failed to parse the makefile basically
make sure you indented the lines properly
looks fine to me
u haven't mentioned the error though
see the thing is not all even have releases
and you're expected to extract the lib from the release deb and copy it sometimes too
????????
Code ?
need to see the source file lol
you are not getting that from mudsplasher
Huh ????
Debs count as release... Unless you plan on statically linking the lib, you shouldn't have to recompile it.
LOL
I have never seen something like this
yeah i know
libpddokdo is a bit old and has no releases i mean
Hooks have to be in .xm
I just have tweak.x
or .x
Throw them inside
'Tweak.x.m'
Also
If there is no release, how does user of your product get it?
Hooking uiviewcontroller 
You should not hook UIViewController
#import <UIKit/UIKit.h>
@interface _UIStatusBarForegroundView : UIView
@end
%hook _UIStatusBarForegroundView
- (void)didMoveToWindow {
%orig;
self.hidden = YES;
}
%end
%hook UIViewController
- (void)viewDidAppear:(BOOL)animated {
%orig(NO);
}
%end
idk what the hell this code is but heres the fixed version
there's no matching brace } for the one on line 2
and you need to @end interfaces
👍
With a lower artwork
Ig, but idk, I could add as an option
should I use OpenSSL or gnutls as ssl lib
I just set springboard root scene to 0.5 wtf
If you move it out the way, you’ll see the respring icon

I know lol
What is it then
If only that respring icon never existed 
what
im saying I thought it was gnu software given the name
Does anyone use it
because like everyone uses openssl
everyone uses openssl because they are forced to
no one willingly likes openssl
hate that api
hate the docs
use neverssl
who's the dev of GIR
apple
@restive ether I might've found a vulnerability in GIR, (it's a denial of service vuln), mind if I test it rq
preferably not here because if it dies i’m not sure that anyone who can reboot the server is online
ah, I'll wait until someone who can reboot it is online
@shrewd smelt el gayo
k
the denial of service vuln is to send messages really fast bro
or that
its good now
at least the raid detection works so i dont think youd even get enough alts in here at once to do it by urself
yeah the raid detection has almost always worked as intended
someone rewrote gir in a different discord library
apparently it’s better or something idk
is it even gir then if its a full rewrite in a new lang
ship of thesis
is it even GIR if never works?
oh is it the colorfulstorm rewrite
wtf is nextcord
they are still using the synchronous mongo library lol
that's the main bottleneck
it was discord.py?
i think slim fixed most of the main ones
would not have expected that
idk i wouldnt move off of dpy
my concern is long term maintenance and support
the quickvids guy was having issues with the library i used to use in keto
it's gonna bite me in the ass when discord bumps api
anyway that gir is 3 months old
i just talked to them today about it so
they’re in jb rn maybe they didn’t see my ping
@naive kraken im having an issue with dopa 2, when i JB without tweaks and with, if i try to open an app after the device jailbreaks and is on the HS, it freezes. and if i ssh into to killall springboard, it just respring hangs
i have like 1gb of free storage
that is a terribly low amount of storage to have
you’re risking a low storage bootloop
been like this or less for like 1 year now
iv gotten close
but there nothing i can do
remove apps?
system data just eats all my storage up
remove videos or photos?
i bought 200gb icloud bc if i didn't my phone would bootloop
this is most likely just the icon cache being shit
oh great
can i do anything about it?
rebuild icon cacnhe with TS ?
🤷♂️
@velvet path i aslo just deleted a GB of logs so sys data is usally at 29-29.8
it lets me respring fine in jailed mode tho
I have icons via troll tools
@naive kraken rebuilding icon cache with troll store seems to have fixed it, USrebooted with tweaks and no issues. thanks for the uicache tip 👍
@acoustic imp maybe you're not the only one who is bad at spelling
(MediaPlayer framework from iOS 17)
i cna selpl oto!!!
Rosie I’m back now; il send code ok a sec
lol im about to sleep
I have never in my life seen you use a semicolon
its 00:10
is he evolving
Noooooooo, ok
I didnt know it was 100 minutes past 12 AM
It was an accident
next hes gonna start using oxymorons
Don’t kid yourself
Jumbo shrimp
syndetic listing
trauma
media-res
DO NOT MENTION THE IAMBIC PENTAMETER
LMAO
What’s that
TRICHAIC TETRAMETER
@implementation sixteenplayerprefsRootListController
- (NSArray *)specifiers {
_specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
if (!_specifiers) {
NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
for (PSSpecifier *specifier in baseSpecifiers) {
NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];
if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;
[specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
}
_specifiers = baseSpecifiers;
}
return _specifiers;
}
@end```
oh god, ab to do this in school
😭
bane of everyone's existence
it doesnt work because of your _specifiers = before the if check
you dont need it at all
you see how _specifiers is set to base specifiers later on
no
baseSpecifiers is an intermediate variable so you can make operations to the specifiers
the _specifiers = baseSpecifiers; thing
line 15
yea i see that
that's where the specifiers are set
you dont need _specifiers = anywhere else in the method
so i dont need to chnage anything?
not really lol
but it doesnt work 😭
your thing before the if check essentially completely negates the if check altogether
because its not nil anymore so itll never run
just put this i guess
it should just work
so long as your plist follows the correct format
you can probably tint the uiimage in the code
Tint 😭
or you can provide a color in the plist and access it from the code and apply it to the uiimage
fair
it removes the BG
and gimp doesnt load the layers
krita?
il try it
wh-
<string>#FF0000</string>```
thats like
exactly what i told them to do
but why are you extending UIColor
just make it a static method that returns a UIColor pointer lol
true i guess
i mean does this work with whatever color picker lib they want to use or
they just want to change the color of
oh then nvm
no color picker just trying to set color of SFsybols
is UIColor hex?
nope
what ab CGColor ?
UIColor is a class representing a color on ios
k
thats something else too
oh ok😭
ik ik, i forgot
ik js, somwhat
you dont sound too confident lol
well ik how to eddit styles and use syntax/methods chat gpt gave me
ah
made this bad site a few months ago http://f.mthhelp.top/
kinda stoped working on it
ok well 20 mins already went past its now half midnight
i really need to get to sleep—
!GN
wait yeah that's not what static means mb
i sent the entire code for it to work 😭
i'm confusing static with void
lol
i think staic is it can return sm and void is it doesn return anythying
😭
no, static means it doesnt require a class instance to be called
ohhh
dynamic is the opposite
yeah ik
static is about scope
void means it doesn't return anything
a dynamic method can only be called in instances of a class
ok now im REALLY going to sleep
bye byes !!!
ok turn on dnd
treu,,
@indigo peak if i dont put a color in the plist will it be unhappy and throw a fit?
yeah probably
ok, il add an if
do you want it to be the default color?
actully i wount bc i forgot, isnt it like if @selector or sm
good idea
UIColor *targetColor = hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"]) : hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"]) ? UIColor.blueColor;
[icon setTintColor:targetColor];
oh that was smart
[icon setTintColor:hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"])];
}else{
[icon setTintColor:[UIColor whiteColor]];
}``` would this work to ?
Yeah
yea doesnt that go on UIImageView ?
yeah
jus tell me what to replace it with
THANK YOU
@indigo peak ig it has to be like its superview the has the tint
does cephei work for jailed tweaks
i just want a settings menu for an app tweak i plan on writing :p
idk cephie but like what it do?
after you properly patch it yes
can you clarify
UIImageView does not work
you can create settings menus via that and psspecifier
@acoustic imp try this
just copy paste the code 😭
and it has helpful tweak creation functions
so extra
i.e. respringing
too long to send in one message
well as sideloadly does already (for example), it patches frameworks to load files from the app's bundle if needed
and it has to patch the app binary to load substrate (and the framework)
cephei should just work when patched (i think)
i might be thinking of alderis having issues nvm
is there a tutorial on creating prefrences.framework cells without cephei
cephi killed my wife
i made calculatorhistory prefs without cephei
@tepid olive ^
Made this jumpscare without cephie and Rosie’s and fiores help
And nightinwds code
Modified *
player config should be playpause
the sf symbol?
yeah
im gona make cstom one i think anyway
no the label should be from "Player Config" to "playpause"
like using my icon
extremely useful reference
once i get gushi to send icon stuff
json
inb4 you wanna change the color of the switch 
i do kinda want to, also the sliders colors
but future telsa_man problem
@indigo peak howd you knwo that like cell.imageView exsited?
like how do i find the like "imageView" things
@interface SixteenPlayerPrefsSwitchCell : PSSwitchTableCell
@end
@implementation SixteenPlayerPrefsSwitchCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(id)identifier specifier:(id)specifier {
self = [super initWithStyle:style reuseIdentifier:identifier specifier:specifier];
if (self) {
if ([specifier propertyForKey:@"switchColor"]) {
[((UISwitch *)[self control]) setOnTintColor:hexStringToUIColor([specifier propertyForKey:@"switchColor"])];
}
}
return self;
}
@end
button color
just add
ok
<key>cellClass</key>
<string>SixteenPlayerPrefsSwitchCell</string>
<key>switchColor</key>
<string>#FF0000</string>
did you have to write a fucked plist/objc cell creation wrapper
kinda
ik cell class 🎉🎉
or it is possible to do everything in objc?
uhhh because i knew that PSSpecifer's, like the actual cell in settings inherits from UITableViewCell, which i just knew has an image property
Man why is it so hard to detect when the AirPods noise cancellation mode changes
I got it working for when the CC changes it
But not Siri
yeah i made a makeSwitchCell wrapper function
hook NSNotificationCenter and see if you can detect the notification name
look at CCnoisecontroll tweak
hm true
[[ccnoisecontrol]]
Control Center Module to switch NoiseCancellation/Transparency
That’s stock though??
Idk
Failing this, I could pull out the 90gb dyld cache decompilation 
using stem
Hmm
BluetoothAccessorySettingsChanged notification apparently
ty Tesla man

PSSpecifier *makeSwitchCell(NSString *label, NSString *key, id target) {
PSSpecifier *switchCell = [PSSpecifier preferenceSpecifierNamed:label target:target set:@selector(setPreferenceValue:specifier:) get:@selector(readPreferenceValue:) detail:nil cell:PSSwitchCell edit:nil];
[switchCell setProperty:key forKey:@"key"];
[switchCell setProperty:@NO forKey:@"default"];
return switchCell;
}
and then in like forexample
0 google results nfr
np
never thought I'd see you say this
nor did i
I also don't use cephi
But I'm not a smarty pants
My prefs are basic
Does anyone know if commcenter has a container or not
what is reTgUuwBPjWsVMfaxh3Dv9cGASJF5Kbtykq
oh my bad
replace that
with
readPreferenceValue
- (NSObject *)readPreferenceValue:(PSSpecifier *)specifier
many questions
#import <UIKit/UIKit.h>
@interface MTMaterialView : UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface NCNotificationShortLookView : UIView
@end
%hook MTMaterialView
-(void)layoutSubviews {
%orig;
// only remove blur if MTMaterialView is a subview of PLPlatterView, and not NCNotificationShortLookView
if (([self.superview class] == objc_getClass("PLPlatterView")) && (![self isDescendantOfView:NCNotificationShortLookView])) {
self.hidden = YES;
}
}
%end```
am i missing something dumb?
you need to be able to get an instance of NCNotificationShortLookView
bc NCNotificationShortLookView is a class, and - (BOOL)isDescendantOfView:(UIView *)view takes in a UIView
uhhhh is this okay
looks like you uninstalled brew?
is there a good ios 16 ccsupport example
i don't think control center has changed since it was introduced in ios 11
@lean ermine https://github.com/opa334/CCSupportExamples
ty
no
do you have /opt/homebrew
reinstall brew
I did
It still shows the error
is /opt/homebrew back
let me see
No
then you didnt fucking reinstall it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
wtf
i didnt
Anyone gotten FLEXing to work in apps on Dopamine 2.0.5? It works on SpringBoard but not inside any apps. I’ve got 1.5.0+rootless from Misty’s repo.
how are you invoking it?
SmileyModule.m:3:9: note: did not find header 'ControlCenterUI-Structs.h' in framework 'ControlCenterUI' (loaded from '/Users/blurp/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks')```
i'm using patched sdk, what am i doing wrong
try just importing ControlCenterUI.h
reject reject ???????
Holding on the status bar
that's why
invoke it by holding down on the screen with three fingers
still not found
Yep that did it. Thanks
rip
well
look and see if you can find th eheaders there
just ls /Users/blurp/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks
🤔
patched framework from theos github
:I
none of my frameworks have it
tryna slide me some controlcenterui headers
Is there an yother why to go to dfu mode?
look on github
should be there
it doesnt seem to be in any patched sdks on github
im confused lol
#import <ControlCenterUI/CCUIModuleSettings.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SmileyModule.m:3:9: note: did not find header 'CCUIModuleSettings.h' in framework 'ControlCenterUI' (loaded from '/Users/bddagdfgager/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks')``` i found what header it actually needs but for some reason it thinks it doesnt exist
am i stupid
Needs to be higher quality but that easy. @radiant idol
yeah cool
🎉
¯_(ツ)_/¯
crying cat gif
*
@placid kraken @indigo peak
im just trying to make a control center module to toggle ding's mute mode 😦
cos the stock mute module is forced also by the forced state in ding
I prefer the sfsymbols
or no background
K
just my opinion
Also can I give a higher quality image but like make the image view smaller ?
@indigo peak
uhh probably
y'all
would anyone here know how to detect the Dynamic Island being enabled programatically?
is there a way i can be like self.(sm view).(a class) and any of the instances of (a class) in (am view) will get the chnages i make ?
what
are you saying you want to sync a property across all the instances
/opt/homebrew is the install dir for apple silicon macs
so uhh
also the terminal output clearly says /usr/local/bin/brew as the executable path

there's no option for it
I just want to be able to programatically detect if a device has the Dynamic Island enabled, but can't seem to find how
maybe I'm explaining badly
yeah
ugh
it seems to do something weird to UIApplication.sharedApplication.statusBarOrientation
and it breaks the gestures in my tweak
it just makes it so that it's always zero
bruh
@radiant idol maybe looking at the one tweak to modify the Y and hide the island when not in use tweak
no its not that
oh ok
the DI doesnt interfere with it
it just breaks the thing I'm using to check if the device is in portrait or landscape
no
because it bugs out sometimes if you try to open the cc when an app is in mid opening
ok, i mean if you want to, its a little hacky tho
you could hook the setframe method of one of the views the same size as the screen and see weather the height or width it bigger than the other and figure out the orientation that way
i mean it would work, idk how/when it wouldnt
just because something works doesnt mean its the best solution
(16Player doesnt do this for the record)
what the actual hell is this
APPLE???
not as cursed as my shit earlier
😭
LMAO
@indigo peak do you know what the like cell.labelView is ?
airpods thing?
ok so
noise cancellation has 3 modes
normal, transparency, cancellation
in some methods theyre in the order 0 1 2
well and adaptive for new pods
in some its 2 1 3
and sometimes apple randomly sets the mode to the maximum 64 bit int
💀
what 😭
why....
do they all get called at the same time?
or like some at somtime and others at other times?
it should be UILabel *titleLabel
though it might be *textLabel if that doesn't work
dunno if i read the file correctly
can u chnage the height of a UIImage ?
like with auto layout or settings the frame ?
bc i cant for some reason
google it

hooking c++ is sort of a pain in the ass
UIImageView, yes. UIImage, not really
you forgot to link to your chain of message links
smh
do better
Great, time to make my own icon 🙄
[NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
[dingprefs setValue:@"0" forKey:@"mode"];```
whats wrong here
objective c sucks balls and ass
i got it to build and run
but it isnt changing the plist
@radiant idol at some point tmro can you test out 16Player prefs with one settings, I don’t have that tweak
hook with dobby 
It has barely any effect
You should be fine
why did apple have to make windowserver in c++ 
why? because it's not zefram?
zefram malware
ok, i'm waiting for the 10 page essay
third times the charm
[NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
[dingprefs setValue:@"0" forKey:@"mode"];
[dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];```
am i missing something
Prepends /var/jb around ur str
how do i put it there
i am like helen keller if she was trying to make objective c code..
ROOT_PATH_NS() is a macro that prefixes nsstrings with /var/jb if your using THEOS_PACKAGE_SCHEME=rootless
also #import <rootless.h> before you can use it
ty
well
the prefs file isnt in rootless strap
it's in normal /var/mobile/library/preferences
yeah then you can leave it ig
even though people should move to using /var/jb
but i guess if you really need prefs to persist
hey its not my tweak
lolol
also it still isnt overwriting it tho
is there anything wrong with it
isnt there the cfprefsd hook
god damn i wish ccvpn had source
though i mean this is fine but you have to sync with cprefsd later
cause what's in the file isn't going to match whatever's in memory if you don't
{
NSMutableDictionary *dingprefs = [NSMutableDictionary dictionaryWithContentsOfFile:
[NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]]; //accessing the .plist
[dingprefs setValue:@"1" forKey:@"mode"];
[dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];
return _selected;
}```
;c
try doing this in the -(void)setSelected:(BOOL)isSelected method
what is the difference
is it not one is used when the module is unselected
and vice versa
the one you're overwriting right now is just the getter
ding
the setSelected one will get called whenever someone presses the control center module
alright thank u
{
NSMutableDictionary *dingprefs = [NSMutableDictionary dictionaryWithContentsOfFile:
[NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
[dingprefs setValue:@"1" forKey:@"mode"];
[dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];
_selected = selected;
[super refreshState];
}``` how do i make it run again when unselected
same thing
i mean since this is in /var/mobile/library then nsuserdefaults is also an option, right?
perhaps, i'm not sure
wym lol
this method will get called when someone selects and unselects it
oh ok
but you are always setting the "mode" to 1
ok cool
it's not changing the mode at all yet
you know what you're doing then
sure but it isnt actually changing it :9
it isn't changing the file still
extern NSMutableDictionary *dingprefs;
this is what i have in the header
is that alright
no you dont need that
o
not a global variable
ok that may hav ben problem
i try now
omg
it is changing the file
pog
it seems not
Yea…
lol
its fine baby steps
ah im changing the wrong file
maybe nebula did put the prefs in the right spot lol
where are prefs suppposed to be
for rootless
nvm found it
yeah it was the wrong file
see when it changes in the pref bundle it immediately changes
but the pref file does not immediately change it
hmmmmhmhmhmh
even after a respring changing the prefs file doesnt have any effect
even though changing it in the ding settings immediately changes the tweak and the pref file
- (void)_updateRingerState:(int)arg1 withVisuals:(BOOL)arg2 updatePreferenceRegister:(BOOL)arg3 {
if (!(switchAction == 1) && hapticFeedback) {
UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:(UIImpactFeedbackStyleMedium)];
[feedback prepare];
[feedback impactOccurred];``` how do i do this from my control center module lol
Idk
lol
i mean it's not supposed to
prefs bundle is supposed to load the current prefs anyway
and that's what sets them lol
Also where’s ur %end
Well you could use notifications
One good example is lower
thats not my code thats the small section of ding.m that i believe updates the mute state as soon as u change it in the bundle
the hook continues for a bunch of lines but thats the only part i care about
i guess you could call a function in the module
if it's in the header you'd import that
cause that method is an instance one
yeah i could say i knew that
what is iOS doing
9223372036854775807
You chose a bad tweak
lol
I don’t think what ur trying to do is gona work
it would with a lot of effort probably
ding is a really good tweak but its just dumb that the way its coded theres no way to change ringer status with the mute module
so u either have to permanently give up your mute ability or make it so ur mute switch turns on mute AND another function
im a hater tho
Just make a CC modula to change ringer status
the actual ringer status changes the same thing that the mute module changes
so with ding enabled even changing mute status from control center will activate whatever ding is set to
and if u have ding set to force mute so that you can have a dedicated action set to mute switch then the mute module can't change from what it is set to in ding prefs
hence trying to make a module that changes the preference
ive figured that much out
lol
whats the control center ringer controller
ding hooks sbringercontrol
maybe the cc mute module tweak i've been using hooks that instead of the control center one and they are supposed to be different
but i think not
I love how it does nothing
see what i mean lol
its definitely possible to make a cc module to fix it
ill maybe try and do more tomorrow
or someone smarter than me could do it
Dang didn't know copilot now looked at discord history too
Yeah
Who made zebra
Kirb
@lime pivot happy birthday big man
@vivid dew happy birthday big man
@vivid dew happy birthday big man
Hello
So I have been trying to compile the dependencies of futurerestore dev build, and all dependencies I finally compiled but only liboffsetfinder64 is giving errors when trying make it
The errors are related to c and hpp maybe and with libinsn also
And I couldn’t figure it out how I can fix it
Cryptix can help me compiling that
Hi, what was the name of the iPhone’s internal memory manager that is a pain in the ass for tweak developers? I cannot remember its name
It used to spam the hell out of Cr4shed
jetsam @fathom snow
@tidal atlas hi, FUGap no longer works for me on iOS 16, was wondering if you'd be able to update it? if not could you oss it so I can figure out how to fix it 😭
@2x @3x like your tweak pref icon
shep not shitposting 
Jiggle mode
this but mediawidget @devout summit
lmao this fucking gif is killing me dog
officially made by discord 😭
like someone had to animate that for their job
Yes
@tawdry storm @granite frigate yo i did not know the p5 velvet room attendents fw the jailbreak community
a blatant WHWAT
😳
what jailbreak do lavenza be using?
look at this bro it's in every one of their games...
real as hell
Wtf auto layout 😡
leadingAnchor, please
[cellIcon.leadingAnchor constraintGreaterThanOrEqualToAnchor:self.leadingAnchor],
``` iv tried less than aswell
constraintGreaterThanOrEqualToAnchor
heres the trailing nayway ```objc
[cellIcon.trailingAnchor constraintLessThanOrEqualToAnchor:self.titleLabel.leadingAnchor],
on the icons leading anchor ?
yes
but idk what width of the cells start to the labelviews leading?
what would the constant be?
you have to figure out the constant by fucking around and fucking out
ok, but like wount the conatst need to be different on different device sizses?
You got your laptop back ? @acoustic imp
yea il push ina sec once i firgure out this auto layout shi
for small stuff like this usually no, if you're unsure, you can use a layoutMarginsGuide
equalTo: cell.contentView.layoutMarginsGuide.leadingAnchor
@slender glade thank you it works great and looks great I think
Fiore high quality icons, ✅
why not do, cellIcons centerY anchor to the cells contentView centerY, and then align the leading anchor with the leading anchor with a constant of 16
Where’d you get 16?
I just didn’t know what the constant would be
just going off that
Would that be the same on iPad ?
@acoustic imp I have an idea for this
is that with my constraints
Yea, used the layout Margin
@placid kraken @ nightwinddev
Whole pic @warped sparrow @desert jackal
Surprisd that worked LOL
looks good!
do you guys know why atria likes to crash springboard sometimes
on arm64e
ios16 + *
yea me too, i might have to use the 16 constant tho bc idk if it will work on ios 14
usually it fixes itself when i disable bluetooth
which is a super fucking weird workaround imo
Odd
This ^ or this…
Or this maybe
imo make the vertical and horizontal margins of the icons the same
they currently have way more horizontal margin than vertical
and it looks weird
Ok
So like this ?
no lol
Ohh of the icons
Uhh il try
I mean that’s just how settings is
dude it's a UITableViewCell
it's not the main view
this is fine
ik but like, thats how ios is?
i guess
it's ok imo
natural eye doesnt really catch that
but u really need to change those icons lol
maybe remove the bg
whats so bad about them?
they all look the same from a distance
^
try
https://x.com/sub_arale/status/1759622218190082191?s=46 @willow lance is this true or just a theory?
if cs_flag were protected by PAC again on iOS 17, PAC bypass and PPL bypass were required to jailbreak
The real question is why are you manually adding an image view instead of using the existing one that table view cells already provide (which also handles positioning for you)?
u got promoted to rjb genuis! a la damn
bro is green now
🔥
nice
What is cs_flag
🙏
true what is cs_flag
The flags for a process that indicate whether it’s signed correctly
Like CS_VALID, CS_PLATFORMIZED
oh that's what they're called
They also offer information about how it’s signed (e.g. whether it’s platformized as shown above)

is the xnu code for assigning cs_flag available in the oss version?
Think there’s a flag for get task allow too
oh cf. your blog post
I was looking at XNU code today while in class and I think I saw that
I don’t think cs_flags are in my blog post
bro looks at xnu github while bored
oh man looking at xnu code while in class... LOL i used to do that in 10th grade
yup
i didnt even know it was called csflags
im trying to find the function where they're assigned
dw this stuff is unfortunately not really documented much so when one of us dies this info is prob going to the grave too
adding my own bc the normal looks bad, quailty wise
I was looking at some TrollStore install method idea
thats what i have concluded
yes and no
Because why not
huuuh
there is some stuff for it, but AMFI also manipulates CS flags based on code signatures and other stuff
where is the yes part
oh I see
eta wen CT oss 🙏
Side note: it failed
Well my idea failed
(I think?)
bsd/kern/kern_cs.c
oh i amm blind
oh did u guys see
the chinese gov had a 0day leaked or smth today
whats your idea?
i didnt bother to read over the actual docs but that's cool
that is NOT cool 😭
its scarry
Secret haxx
Well my haxx failed
Haxx 
What was the idea
Even though they shouldn’t because it’s used elsewhere in the OS and it works fine 
That thing we discussed the other day that would need a PAC bypass
i see
What is it ?
I genuinely don’t understand how it doesn’t work man
dude i swear i have goldfish memory
I don’t wanna say it publicly lol because it’s a semi-private technique
what is it ?
question if you were on a laptop with one screen how many desktops are you using?
8
1
only one
But you have multiple windows open
And
Are you a alt + tab kinda person ?



