#development

1 messages · Page 115 of 1

acoustic imp
#

hows that gona help with frida ?

radiant idol
#

tbf i havent ever even used frida

#

so

acoustic imp
#

k, test me rq on my oop

radiant idol
#

0%

#

u failed

acoustic imp
#

fr ask me a question

radiant idol
#

im too lazy

acoustic imp
#

k

placid kraken
#

@acoustic imp not so much oop related as much as cs related but what does it mean for a function's return value to be idempotent

#

no googling

acoustic imp
#

idempotent, thats a word?

placid kraken
#

very much a word

acoustic imp
#

maybe like removed or moved from an object to another?

placid kraken
#

lol nope

radiant idol
#

the hell

#

ive never heard of that

acoustic imp
#

its probly sm like simaple as answer

placid kraken
#

it is quite simple

acoustic imp
#

like data is writen to a value?

#

wait no

#

its able to have data written to it

#

its a state at wich a value is

#

idk what tho

placid kraken
#

lol its when you can perform an operation multiple times and always get the same result

#

in terms of a function its where you call a function and it always returns the same value

acoustic imp
#

👍

#

is this what i want frda_docs - "Backtracing an Objective-C method call"

torn oriole
#

@lime pivot hi

hollow laurel
#

What

torn oriole
#

ld: framework 'CydiaSubstrate' not found

#

i love theos

hollow laurel
#

Wdym by "icon to trailing of a cell"?

placid kraken
#

icon to the left of the text in a cell

#

cephei allows for setting a systemIcon there when replacing the normal PSListController with a custom HBListController

#

im wondering whether LibGcUniversal cells have the same functionality when rendered with this custom list controller

hollow laurel
#

You mean like those icons?

placid kraken
#

no lol system icons

#

like

#

sf symbols

hollow laurel
#

Yeah but in that place I mean

placid kraken
#

this kind of thing

#

but yes in that position

hollow laurel
#

Yeah no… if Cephei doesn't work natively, you can pass an image your self using the icon property

#

But you'd need to bundle the icon

#

Sfsymbols aren't supported as of now, though I might think about that for the next version

#

Feel free to create an issue on the docs repo, and I'll see what I can do for the next update (no promises on when the next update is gonna be though)

placid kraken
#

its not that big of a deal i would just like to put a small palette on the left of each cell

#

anyway @radiant idol progress

radiant idol
#

ok that is cursed nvm lmfao

#

but good job

placid kraken
#

well it will look better once I customize it lol

cloud yacht
#

BRUH

placid kraken
#

OH

placid kraken
#

and the api for it is really nice

#
<dict>
    <key>cell</key>
    <string>PSLinkCell</string>
    <key>cellClass</key>
    <string>FloraPopoverCell</string>
    <key>default</key>
    <string>Basic</string>
    <key>defaults</key>
    <string>com.rosiepie.flora</string>
    <key>key</key>
    <string>mode</string>
    <key>id</key>
    <string>mode</string>
    <key>options</key>
    <array>
        <dict>
            <key>name</key>
            <string>Basic</string>
            <key>icon</key>
            <string>paintpalette.fill</string>
        </dict>
        <dict>
            <key>name</key>
            <string>Advanced</string>
            <key>icon</key>
            <string>sparkles.rectangle.stack.fill</string>
        </dict>
    </array>
    <key>label</key>
    <string>Capibilities</string>
</dict>
hollow laurel
#

Yeah, you can just export the desired icon for now and bundle it

placid kraken
#

ok what the fuck happened to the formatting

hollow laurel
#

But feel free to make the issue on the repo, that feature isn't a bad idea

placid kraken
#

soon™️

#

it works!

#

idk what to call the cell

#

capibilities doesnt sound right

#

because both are coloring everything

#

you just have more fine grained control with advanced mode

faint stag
#

just call it mode

#

smh

placid kraken
#

true

radiant idol
#

why do I feel like Capabilities is misspelt there

faint stag
#

because it is

radiant idol
#

ok so I'm not insane

placid kraken
#

ive always spelt it like that lmao

#

idk

faint stag
placid kraken
#

(.c so it embeds)

#

actually

#

does .x embed

radiant idol
placid kraken
#

nope

radiant idol
#

what is this

placid kraken
#

LMAO

#

idk what happened there 😭

radiant idol
#

ROSIE

#

WHAT IS THAT

placid kraken
#

better????

faint stag
placid kraken
#

does .m embed

#

no

#

smh

faint stag
#

xm is also logos

#

but c++

#

lol

placid kraken
#

i know but i thought maybe it would embed

#

aaaaa what extension gives the best syntax highlighting

#

actually you can just change the language

#

sometimes i forget this exists

#

ok

placid kraken
#

since when does .objc exist

cloud yacht
#

well whatever its extension is

#

its language does

placid kraken
#

WHAT

#

AKJDBAKWJ

faint stag
#

well yes ofc it knows objc

placid kraken
#

BUT .OBJC DOESNT EVEN EXIST

#

WHOS WRITING FILES THAT END IN .OBJC

faint stag
#

no one
but swift didn't always exist

placid kraken
#

objc apps on the appstore use mm or something 😭

faint stag
worldly sundialBOT
#

Hi D1 Hater, welcome to .fmbot.
To use this bot you first need to add your Last.fm account.

Please use the </login:928593006293037113> command. The bot will then send you a link so you can connect your Last.fm account.

solemn belfry
#

Could someone who knows Muirey maybe ask him to make his tweaks open source since he made them free anyway?

primal perch
#

capt

#

based muirey

#

leave it closed source just to piss people off

#

gm

cloud yacht
#

gm

snow python
snow python
#

Promise?

#

Don’t threaten me with a good time

indigo peak
#

wait hang on

radiant idol
#

change to "Lock Conversation" though

hasty ruin
#

now make it respring randomly

#

so night can be truly proud

indigo peak
radiant idol
#

neat

indigo peak
hasty ruin
#

that is untrue

radiant idol
#

it is very true

indigo peak
#

just gotta fix a couple things

#

and we good

indigo peak
#

the things dotn wanna be fixed

hasty ruin
indigo peak
#

I can get it to say locked

#

but when you unlock

#

I can’t get it to go back to normal

#

😭😭

primal perch
#

darwindarwindarwindarwindarwin

hasty ruin
#

Darwin

primal perch
#

23.2.0

timid furnace
#

you missed version

ashen birch
#

and the convo is locked

indigo peak
#

Like in the notification?

ashen birch
#

yeah

#

like this

hasty ruin
#

zefram is bad

ashen birch
indigo peak
#

Asince I need an incoming message

ashen birch
indigo peak
#

yeah yeah I figured it out

#

serotonin doesn’t work tho

#

lmao

#

can’t jb

ashen birch
#

L

indigo peak
#

I can’t open flex

#

In springboard

#

ok now we good

#

that was on my todo list @ashen birch

#

So rn the todo list is

#
  • pinned contacts message preview blocking
  • fix the compose view
  • notification preview
  • block notifications (like the text in the actual notification (might be hard to block and unblock))
faint timber
#

veqfrqdew qdew qfew œß∑ ewgrth ewfgrq dewrasΩ≈∂ßåå∂ß≈ acdsåß≈ dsxa acdsx qewffdedfv. cdesw≈∂å ç∂∑ acdw dew adesw dfas easa cesz∂Î

#

?

#

ANSWER ME

shrewd smelt
#

word

ashen birch
#

word

slender glade
#

word

hasty ruin
#

powerpoint

faint timber
indigo peak
#

does anyone know how to block marking as read

#

like

#

basicallt manually mark imessage as read

faint timber
#

turn off read receipts?

indigo peak
#

-[IMChatRegistry _chat_sendReadReceiptForAllMessages:]

indigo peak
#

me personally i dont

#

however

#

some might

faint timber
#

nice

faint timber
slender glade
#

Idk what kush is but I stopped smoking cigs lol

#

Assuming kush is weed

faint timber
#

I've never smoked a cig only kush

slender glade
#

Honestly good

shrewd smelt
#

someone mentioned nicotine i am here

indigo peak
#

@faint timber ```objc
%hook IMChatRegistry

-(void)_chat_sendReadReceiptForAllMessages:(IMChat *)arg0 {
if ([getLockedHashes() containsObject:arg0.identityHash]) return;
%orig;
}

%end

#

(i have zero idea if it works)

#

pov that doesnt have the functionality i was looking for 🧌

shrewd smelt
#

Add a 10% chance of deleting /var and sell it under @hasty ruin's Havoc account

kind herald
indigo peak
#

@ashen birch i cant seem to find an instance of CKConversation or IMChat through the view

slender glade
indigo peak
slender glade
#

Does it work on anything but springboard

#

I tried using a rootless version of flex but it only works on sb :( unless there’s a setting I missed?

indigo peak
#

it works in everything now

slender glade
slender glade
#

What’s the best way to check for when the elapsed time of now playing media has changed?

#

With a display link?

slender glade
#

seems this was solved by subscribing to a delegate of MPUNowPlayingController back then, but that class doesnt exist now... so what am i to use?

turbid fjord
slender glade
#

also no that's not it bc MP's is diff

turbid fjord
slender glade
#

do you have any idea why this works on SB only ☹️

faint stag
#

though i'm on 15.8

slender glade
#

doesn't pop up

#

this is so frustrating

slender glade
faint stag
slender glade
#

arm64

faint stag
#

hmm

slender glade
#

and whenever i push to see the AppDelegate tab

visual meadow
slender glade
#

it says SB

slender glade
#

let me try

visual meadow
#

Tap with 3 finger in app

slender glade
#

HOOOOOOOOOLY SHIT

#

IT WORKS....

faint stag
#

lol

granite frigate
#

yes, both show up

#

I didn't realise that the hold sb didn't work in apps

wooden yarrow
#

i thought you guys were talking about that but apparently not

slender glade
#

I can’t believe something so simple is so frustrating….

#

I’ve tried hooking into like 12 classes

faint stag
slender glade
#

I’ll try in a bit

#

Nope doesn’t work

faint stag
#

darn

radiant idol
slender glade
faint stag
slender glade
faint stag
#

wtf did apple switch to since the header is still there

#

lol

slender glade
#

Such a headache

faint stag
#

i believe mediaplayer.framework is the one that gets used for like video content and files

#

so that's prob why it doesn't work

serene hawk
#

hi, i'm trying to build AltList rn but i get the following error: clang: error: SDK settings were ignored as 'SDKSettings.json' could not be parsed [-Werror,-Wdarwin-sdk-settings] make[3]: *** [/Users/jan/theos/makefiles/instance/rules.mk:280: /Users/jan/Downloads/AltList/.theos/obj/arm64/ATLApplicationListMultiSelectionController.m.d7fbbdf7.o] Error 1 i have no clue why that happens, it compiled just fine on my laptop

serene hawk
#

already did, currently using skds from theos and the ios 17 ones from xybp888

faint stag
#

and what version are you targeting

serene hawk
#

well altlist makefile targets 7.0-16.2

faint stag
serene hawk
#

sorry i cant follow rn, how do i check this?

faint stag
serene hawk
#

ahh alright ok i misunderstood this xD

#

oh ok, i think this might explain it then: jan@jans-iMac-Pro AltList % clang --version Apple clang version 14.0.0 (clang-1400.0.29.202)

faint stag
#

well the error seems to be with the json

#

so id check the json for 16.5 (i think)

serene hawk
#

alright uhm the one for 16.2 is indeed empty

#

16.4 also

#

16.5 is not empty

faint stag
#

if a makefile targets 16.2 then it should find the iPhoneOS16.5 sdk

#

unless you have something older there

serene hawk
#

yeah i got those

faint stag
#

keep the 16.5 one and delete the others for 16

serene hawk
#

alright, i'll just clone this and purge all other sdks inb4

#

thank you in advance!

slender glade
#

@faint stag OMGGGG

#

the UI for the media LS player

#

IS SWIDTUI

#

SWIFTUI

faint stag
#

yeah i saw that

#

lol

slender glade
#

that’s why all my hooks into it aren’t working.

#

😭😭😭😭😭

#

Dude what the actual fuck am I supposed to hook omg

faint stag
#

i was like wait
is that a mangled function

#

lmao

slender glade
#

YEAH

#

And the view is a hosting view for swiftui views

#

I’m going to die

#

There’s GOT to be like some kind of NowPlaying media manager that allows u to track this

indigo peak
#

if its mangled

#

just

#

%init

#
%hook SomeShitSwiftUI
%end

%ctor {
  %init(SomeShitSwiftUI = objc_getClass("mangled_name"));
}
slender glade
faint stag
serene hawk
#

alright thank you!

granite frigate
faint stag
#

i wouldn't be surprised if they did

indigo peak
#

zero idea

faint stag
#

let me just go diff some headers

granite frigate
#

can't believe they use swiftui for the media player

#

no wonder it's so glitchy last time

faint stag
#

mangling is supposed to make things unique so if apple decides to just add a bool or change a method then you get a new one

timid furnace
#

how do you trigger FLEXing again

native orbit
#

iirc it just hold status

timid furnace
#

lmao amazing somehow i had provisioning profiles putting me into safe mode

#

anyways it works now ty

quaint wagon
shrewd smelt
#

since when does iOS highlight the not secure text when clicking on a password field

#

that's cool

visual meadow
#

did they finally fix twitter embeds

fiery seal
#

remove the tracking info

shrewd smelt
#

Bros idea:

acoustic imp
slender glade
#

for what class @acoustic imp ? and what iOS version did you test this on

slender glade
#

15.1.1 :(

acoustic imp
#

oh ur on 16?

slender glade
#

yup

acoustic imp
#

ah

#

would me messing with an ios 16 ipad be helpfull

#

like is the media player the same?

slender glade
acoustic imp
#

oh ok

slender glade
acoustic imp
#

k i gota re jb gime a min

slender glade
#

bet

acoustic imp
shrewd smelt
#

put that thing out of its misery

#

even the menu bar is dying

tawny stag
#

Is it theoretically possible to make a re-jailbreak for palera1n based jailbreaks using the kfd/mdc exploit?

slender glade
shrewd smelt
acoustic imp
acoustic imp
#

@slender glade whay does the settframe method not work?

tawny stag
slender glade
acoustic imp
#

ohh

#

damit apple

#

doesnt like widgy have a way of getting the curet music time

#

bc of like widgets?

#

also jus random question, is the ios 16 notifaction thing swift?

slender glade
hasty ruin
#

one of the websites of all time

tepid olive
#

icraze you evil doo doo head

#

what have you done to this poor mans website

acoustic imp
#

anyone have expirence with CSAdjumeant view on the LS media player?

primal perch
wind ravine
#

how do u blur the edges of a cashapelayer path?

indigo peak
lament barn
faint stag
#

lol

timid furnace
#

16.x is supported i think

#

kpf for iOS 16.0 to iOS 16.3

faint stag
#

they didn't update the readme completely

#

ig

#

0.999.8 came out yesterday

timid furnace
#

ye

native orbit
#

odd version number

tawny stag
velvet path
faint stag
native orbit
#

rh ruined the word bootstrap fr

indigo peak
#

fr

#

procursus doesnt exist anymore

faint stag
#

cause what else would it use

#

lol

native orbit
#

could be like xina and use a hacked up ios 13 bootstrap trol

faint stag
#

and it says to install using trollstore

#

so, you'd already have palera1n

velvet path
#
  • TrollInstallerMDC
  • TrollStar
faint stag
#

newer than 16.6.1 i meant

indigo peak
#

i was wondering

#

how

#

he got permission to use rhe table

faint stag
indigo peak
#

"icon made by sourcelocation" trolllaughtrolllaughtrolllaughtrolllaugh

hasty ruin
#

why cant everyone just use ntwerk icon...

velvet path
#

if you hate yourself you could reactivate the Procursus X/Twitter and say that you were misled into giving permission for the Procursus icon

indigo peak
#

fr

#

or like

#

not steal icons

faint stag
#

who knew a table could do so much

velvet path
#

I won’t say anything unless you are fine with me doing so

indigo peak
velvet path
#

name a single average user that checks the mastodon

#

(I’m not the average user, mind you)

#

true

#

can I post something on mine then by chance

faint stag
#

THEOS_PACKAGE_SCHEME=roothide
😭

shrewd smelt
#

the procursus m1 wallpaper did it better

velvet path
#

what would it even entail

faint stag
#

easy enough clueless

wind ravine
#

when i made a 3d rotate + scale animation, if i set the key path value of the scale to 0.0, it doesnt rotate, but if i dont set it to that, it rotates but goes back to scale of 1.0

#

i tried also making a transform 3d scale and concatinating them but same problem

velvet path
#

I mean depending on what that entails sure I don’t mind

indigo peak
#

@marble perch

timid furnace
shrewd smelt
#

subbed its last strate

timid furnace
#

annoying

indigo peak
#

actually

#

that seems like a lot of work

acoustic imp
#

just DL the ones on archive 🤷‍♂️

shrewd smelt
#

archive is slow as fuck so it wouldn't be a dumb idea to rehost

wind ravine
#

how can i stop the backlight from animating the fade when turning off the device?

#

my idea of setting arg2 to 0.0 crashes to safe mode

#

header is:

-(void)_animateBacklightToFactor:(float)arg1 duration:(double)arg2 source:(long long)arg3 silently:(BOOL)arg4 completion:(id)arg5
frail cedar
#

try setting it to 0.01 or 0.1

#

it might not be able to handle 0.0

frail cedar
wind ravine
frail cedar
#

oh

#

hm

wind ravine
#

it does get called with 0.0

frail cedar
#

yeah

wind ravine
#

maybe it was because i was using dispatch queue to delay it?

frail cedar
#

but i doubt the method can if that makes sense

frail cedar
wind ravine
#

it gets called by the system with duration of 0

frail cedar
#

oh nvm then

#

Why were you delaying it? i'm curious

wind ravine
#

this is my code

-(void)_animateBacklightToFactor:(float)arg1 duration:(double)arg2 source:(long long)arg3 silently:(BOOL)arg4 completion:(id)arg5 
{
    // source
    // 3 = manual lock
    // 8 = after timeout
    // f = SpringBoard launch
    if(
        enabled
        && arg2 > 0
        && (!disableInLPM || (![[NSProcessInfo processInfo] isLowPowerModeEnabled]))
        && (arg1 == 0 && [self screenIsOn])
        && !isAnimationInProgress
    ) {
        arg2 = animDuration + 0.1;
        [lockMaster playLockAnimation:arg2 - 0.1];
    }
    %orig(arg1, arg2, arg3, arg4, arg5);
}
wind ravine
frail cedar
#

just ignores you?

wind ravine
#

wdym

frail cedar
#

sorry i'm extremely hungry so my ability to think is limited

#

bus was late to school and i forgot snack

wind ravine
#

if i delay it, it runs without fading but after the animation finishes it then crashes

frail cedar
#

Have you checked the completion handler

timid furnace
frail cedar
#

See if it's doing any funny business

#

Bc that sounds like the completion handler breaking

wind ravine
#

like this

-(void)_animateBacklightToFactor:(float)arg1 duration:(double)arg2 source:(long long)arg3 silently:(BOOL)arg4 completion:(id)arg5 
{
    // source
    // 3 = manual lock
    // 8 = after timeout
    // f = SpringBoard launch
    if(
        enabled
        && arg2 > 0
        && (!disableInLPM || (![[NSProcessInfo processInfo] isLowPowerModeEnabled]))
        && (arg1 == 0 && [self screenIsOn])
        && !isAnimationInProgress
    ) {
        [lockMaster playLockAnimation:arg2];
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (animDuration + 0.1) * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
            %orig(arg1, 0.0, arg3, arg4, arg5);
        });
    } else {
        %orig(arg1, arg2, arg3, arg4, arg5);
    }
}
#

it will play the animation but once it calls %orig it crashes springboard

native orbit
#

real

wind ravine
#

this is my second tweak (first "big" one) so idrk what im doing still

#

not calling %orig doesnt crash but the screen doesnt turn off

placid kraken
#

how do i make the list controller update when i change something in a custom cell

#

do i need to make a delegate

placid kraken
#

@radiant idol hi how can i send an event to my list controller from my popover cell saying that the value has updated so i can update the ui

im currently trying to do it like this

(cell)

@protocol FloraPopoverCellDelegate <NSObject>
- (void)popoverCellValueDidChange:(NSString *)value forSpecifierKey:(NSString *)specifierKey;
@end

@interface PSTableCell (PrivatePopover)
- (UIViewController *)_viewControllerForAncestor;
@end

@interface FloraPopoverCell : PSTableCell
@property (nonatomic, weak) id<FloraPopoverCellDelegate> delegate;
@end
UIAction *action = [UIAction actionWithTitle:[dict objectForKey:@"name"]
                                       image:[UIImage systemImageNamed:[dict objectForKey:@"icon"]]
                                  identifier:nil
                                     handler:^(UIAction *action) {
    [preferences setObject:[dict objectForKey:@"name"] forKey:[self.specifier propertyForKey:@"key"]];
    selected = [preferences objectForKey:self.specifier.properties[@"key"]];
    [self updatePreview];

    NSLog(@"[Flora] Sending %@ with %@", selected, self.specifier.properties[@"key"]);
    
    [self.delegate popoverCellValueDidChange:selected forSpecifierKey:self.specifier.properties[@"key"]];
}];

(list controller)

@interface FloraRootListController : HBListController <FloraPopoverCellDelegate>
@end
- (void)popoverCellValueDidChange:(NSString *)value forSpecifierKey:(NSString *)key {
    NSLog(@"[Flora] Received %@ from %@", value, key);
}

and its not being received in the method so im definitely doing something wrong

visual meadow
#

does anyone here know how to prevent a system daemon from being loaded using launchd hook

#

this fucker seems to like starting
/System/Library/LaunchDaemons/com.apple.PerfPowerServicesExtended.plist

#

even though it shouldnt

#

thats the worst way possible

#

i dont want to run something in a hook that could be done in the hook

#

launchd hook

#

i could just hook the function

#

why

#

i only want it to do it in this jb state

#

cause that spawning doesnt happen stock

#
xpc_object_t hook_xpc_dictionary_get_value(xpc_object_t dict, const char *key) {
    xpc_object_t retval = xpc_dictionary_get_value_orig(dict,key);
    if (strcmp(key, "Paths") == 0) {
        {
            xpc_array_append_value(retval, xpc_string_create("/var/jb/Library/LaunchDaemons"));
            xpc_array_append_value(retval, xpc_string_create("/var/jb/System/Library/LaunchDaemons"));
        }
    }
    return retval;
}
``` i mean this adds the extra paths
#

I doubt it

#

Some of them arent

#

that code was originally from palera1n so lol

#

hmm

#

I tried making thsi

#

but uh

#

its pretty bad

#

and does not work (launchd hangs)

#
void hook_xpc_dictionary_set_value(xpc_object_t dict, const char *key, xpc_object_t value) {
    if (strcmp(key, "/System/Library/LaunchDaemons/com.apple.PerfPowerServicesExtended.plist")) {
        {
            return;
        } 
    } else {
            xpc_dictionary_set_value_orig(dict, key, value);
    }
    return;
}```
#

what should i do lol

#

i cant

#

also

#

it kinda

#

uh

#

already does that

#

it starts

#

and exits

#

and starts

#

and exits

#

over and over

#

that is why i want it dead

#

it does not do this when in normal

#

it is not there

#

in normal

#

no its only true if a file exists

#

which does not exist

#

but launchd starts it anyways

#

i do not know why

#

how to do this with fishhook

#

?

#

wdym

#

yews

#

yes

#

how to prevent that launch daemon from loading in hook

#

i tried enabling jit in launchd

#

it wouldnt work

#
void hook_xpc_dictionary_set_value(xpc_object_t dictionary, const char *key, xpc_object_t value) {
    if (strcmp(key, "/System/Library/LaunchDaemons/com.apple.PerfPowerServicesExtended.plist")) {
        {
            xpc_dictionary_set_value_orig(dictionary, "", value);
            return;
        }
    } else {
            xpc_dictionary_set_value_orig(dictionary, key, value);
    }
    return;
}```
#

i just tried that

#

still hang

#

when its just xpc_dictionary_set_value_orig and return; it works

#

the daemon not load

#

thats what launchd uses and palera1n uses for daemons

timid furnace
#

wat

visual meadow
#

im trying bro 🙏

timid furnace
#

wait wtf

#

????

visual meadow
#

ykw idk

timid furnace
#

wtf do you mean thats correct

#

set empty key to value???

visual meadow
#

i was trying to like

#

yes

timid furnace
#

what

#

you want xpc_dictionary_set_value_orig(dictionary, key, NULL)

visual meadow
#

let see

timid furnace
#

This parameter may be NULL, in which case the value corresponding to the specified key is deleted if present

timid furnace
#

ok well then maybe properly hook the code that's responsible for the embedded daemon list

#

or

#

yknow

#

stop crashing the daemon

visual meadow
#

i dont know why the daemon even

#

starts in thef irst place

timid furnace
#

the daemon starts because it's supposed to

#

otherwise it wouldn't start

visual meadow
#

this file literally does not exist

timid furnace
#

so what

#

i would much rather fix whatever issue is causing the daemon to crash rather than spend my time debugging why it is starting

visual meadow
#

its not even crashing

#

it just

#

exits

timid furnace
#

which is probably going to end up being "i did not understand launch daemons"

#

well does it exit repeatedly on stock

visual meadow
#

no

timid furnace
#

then something is causing it to exit

visual meadow
#

it does not even start on stock

timid furnace
#

uh

#

are you sure about that

visual meadow
#

i am 100% sure look ill show a screenshot

timid furnace
#

is launchd oss @grave sparrow

visual meadow
visual meadow
#

Source hasnt been updated in years

timid furnace
visual meadow
#

but when i userspace reboot once with custom launchd

#

it comes up

timid furnace
#

rip

visual meadow
#

food

#

idk

timid furnace
#

cook

#

cook for yourself

timid furnace
visual meadow
#

Not running when first reboot

#

But second look

visual meadow
timid furnace
visual meadow
#

but look now

#

after i userspace reboot once with custom launchd

#

any idea

#

bru

placid kraken
#

but once i do this will be a bit fancier

visual meadow
#

Anyone know what arguments xpcproxy runs with?

radiant idol
quaint wagon
faint stag
acoustic imp
#

How can I force this to be bigger

#

alr tried ```objc

  • (void)setFrame: (CGRect)frame{
    frame.size.height = 490;
    %orig;

    }```

quaint wagon
#

@faint stag noted thanks

acoustic imp
#

@slim bramble im FREKING HIM i figured it out

#

i fixed notifcation bug and buttons not wkoring

#

NO ROTATION

#

didn't fix button not wkring tho 🥲

frail cedar
#

@quaint wagon chatbox should be at bottom not top

quaint wagon
#

Yeah i was thinking that with older chats accending

#

Im also having a issue with ajax not allowing me to refresh the chat automatically still have to refresh the screen for new chats sadly

#

Imagine if this had all the repos posted by users i know there are other sites but speificly for this discord that can utilize a discord bot to work with it.

#

I'm a decent with html css javascript and pythhon and node but i'm not a pro but aye takes time ig

acoustic imp
#

also @hasty ruin ^

radiant idol
#

its not centered btw

acoustic imp
#

ik ik

#

still needs polishing, but i fixed the main big problems

misty cradle
lofty raven
#

@hasty ruin rune 2

visual meadow
#

by not renaming the name of launchd????

#

idk but its not happening anymore

brazen timber
#

lmao

granite frigate
#

?

visual meadow
#

No it just doesnt spawn just like normal mode

#

But id change it to launchd anyways

#

Cause i feel like that could fix other issues too that havent been noticed yet

granite frigate
#

yh

#

okat

granite frigate
slender glade
#

I’ll try RE the vc in cc for it ig

#

Seems like MRUNowPlayingController is what it uses, lemme try figure it out

#

Seems promising so far…

visual meadow
#

@granite frigate

#

yeah i think

#

renaming to launchd

#

fixes battery usage

#

lol

#

pretty sure it does

#

idk ig we'll see when my phone charges overnight

unique wedge
placid kraken
#

thats my issue lol

#

i have the code ready for if i could

#
- (void)popoverCellValueDidChange:(NSString *)value forSpecifierKey:(NSString *)key {
    NSLog(@"[Flora] Received %@ from %@", value, key);
    if (![key isEqualToString:@"mode"]) return;
    [self reloadSpecifiers];
}
``` i literally just need to
#

because in the specifiers function im filtering it already

- (NSArray *)specifiers {
    if (!_specifiers) {
        NSUserDefaults *preferences = [[NSUserDefaults alloc] initWithSuiteName:BUNDLE_ID];
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
        NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";

        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
    }

    return _specifiers;
}
#

so all i need to do is to reload with the new value and it would work

#

however i dont actually know how to send the event over to make it reload

slender glade
harsh junco
olive peak
#

is there any way i can install tweaks on my phone directly after compiling on mac

placid kraken
#

you probably can via ssh

lapis vessel
#

I should for Arc definitely because I'm actually proud of the code, but Zenith was something I wrote pretty early on so the code might be a total mess

#

I remember Flow was pretty hacky too lol

olive peak
hasty ruin
#

There is no such thing as standards.

placid kraken
misty cradle
#

Someone else will take over and take that off your shoulder

lapis vessel
#

Yeah I mean the reason I made all my tweaks free is because I don't plan on updating anything

#

I'm not sure I even have a working theos setup anymore haha

#

Busy with Cellebrite stuff and uni atm

placid kraken
#

Bitches

#

Magician

#

Fiona

#

best tweaks ever

#

i have all of them installed actually

#

i still laugh when i see YesBetaPopup

#

😭

hasty ruin
#

Obama tweak is better

#

ntwerk too

fading shell
#

Hey, whenever I try to run make package in my swift tweak (theos/orion), it gets stuck on this line and throws an error like 15 minutes to 2 hours later:
[5/8] Compiling ArgumentParser BashCompletionsGenerator.swift

(I'm on WSL / Ubuntu btw.)
Does anyone know what could've went wrong?

willow lance
#

I’m working on pplrw, but it’s not working on A15/A16.
do you know what is wrong?

wooden yarrow
#

@granite frigate yoo when u got dev

granite frigate
#

💀

wooden yarrow
granite frigate
#

ice

#

🔥

willow lance
radiant idol
#

Who pinged

elder scaffold
#

meow

harsh junco
elder scaffold
harsh junco
graceful gate
#

White mode

#

To be visually correct

placid kraken
#

i didnt know meowing as allowed here

#

surprising

harsh junco
elder scaffold
#

because meowbrek2

harsh junco
elder scaffold
willow lance
#

Yeah on A14 and lower, it worked. But on A15, i got others error

#

I think it’s necessary to write 0x1 to 0x206150020

cloud yacht
willow lance
#

I'm sorry about my bad English
I want to ask why it’s not working and is that caused by the register at 0x206150020

placid kraken
#

I HAD TO WRITE AN OBSERVER TO LISTEN FOR CHANGES TO NSUSERDEFAULTS

#import "FloraPreferenceObserver.h"

@implementation FloraPreferenceObserver {
    NSUserDefaults *defaults;
    void (^_block)(void);
}

- (instancetype)initWithKey:(NSString *)key withChangeHandler:(void (^)(void))block {
    self = [super init];

    if (self) {
        _key = [key copy];
        _block = block;
        defaults = [[NSUserDefaults alloc] initWithSuiteName:BUNDLE_ID];
        [defaults addObserver:self forKeyPath:key options:NSKeyValueObservingOptionNew context:nil];
    }

    return self;
}

- (void)dealloc {
    [defaults removeObserver:self forKeyPath:self.key];
}

- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey,id> *)change context:(void *)context {
    _block();
}

@end
acoustic imp
#

👏👏

tepid olive
#

whats that

placid kraken
#

BECAUSE USING A DELEGATE DIDNT WORK

tepid olive
#

Lol

#

I need

tepid olive
placid kraken
#

lol yea

tepid olive
#

Is it released

placid kraken
#

nope

#

still loads left to do

#

not user ready

tepid olive
#

What is that

#

What does it do

#

The ui looks veryy good

placid kraken
#

it lets you change most of the ios system colors

tepid olive
#

Damn that would be in need

placid kraken
#

lol yep i decided to write it because theres no modern tweak for that for some reason

#

all the tweaks like spectrum and kaleidoscope are all made for older ios

placid kraken
# placid kraken I HAD TO WRITE AN OBSERVER TO LISTEN FOR CHANGES TO NSUSERDEFAULTS ```objc #impo...
- (instancetype)init {
    self = [super init];

    observer = [[FloraPreferenceObserver alloc] initWithKey:@"mode" withChangeHandler:^() {
        [self reloadSpecifiers];
    }];

    return self;
}

- (NSArray *)specifiers {
    if (!_specifiers) {
        NSUserDefaults *preferences = [[NSUserDefaults alloc] initWithSuiteName:BUNDLE_ID];
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
        NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";

        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
    }

    return _specifiers;
}

- (NSMutableArray *)getSpecifiersWithValue:(NSString *)value specifiers:(NSArray *)specifiers {
    NSMutableArray *specifiersToKeep = [NSMutableArray array];
    
    for (PSSpecifier *specifier in specifiers) {
        if (![specifier propertyForKey:@"floraColorType"]) {
            [specifiersToKeep addObject:specifier];
            continue;
        }

        if ([[value lowercaseString] isEqualToString:@"simple"] && [[specifier propertyForKey:@"floraColorType"] isEqualToString:@"simple"]) {
            [specifiersToKeep addObject:specifier];
            continue;
        }

        if ([[value lowercaseString] isEqualToString:@"advanced"] && [[specifier propertyForKey:@"floraColorType"] isEqualToString:@"advanced"]) {
            [specifiersToKeep addObject:specifier];
            continue;
        }
    }

    return specifiersToKeep;
}
``` its this easy in the list controller by the way aha
#

if the specifier has no floraColorType at all then add it to the array

#

if it has simple but the value of the popover is not simple then ignore it

#

and vice versa for advanced

#

then the observer simply updates the specifiers when the value of mode changes

#

as in all of them have something like this on them

#

if it doesnt have one then you can assume it shouldnt change and always add it back to the array

#

i cant really think of a better way

wooden yarrow
placid kraken
#

i tried to do that for the past day and a half

#

im pretty sure it requires a delegate

#

which i cant get working

#

or maybe the PostNotification thingie but ill need to look into that

wooden yarrow
#

that dropdown's the only thing that changes the nsuserdefault right

#

(in normal operation)

placid kraken
#

for example i prompt to respring whenever the enabled key (aka Enable Flora) changes

- (void)setPreferenceValue:(id)value specifier:(PSSpecifier *)specifier {
    [super setPreferenceValue:value specifier:specifier];

    if ([[specifier propertyForKey:@"key"] isEqualToString:@"enabled"]) {
        [self promptToRespring];
    }
}
#

but thats using the default/base cells

#

this is a custom cell

topaz yew
#

why dont you subclass the default cell

placid kraken
#

because i dont know what method the default cell uses to set values

wooden yarrow
placid kraken
#

im already subclassing PSTableCell which should have the method i need

placid kraken
#

theres this

#

and this extends UITableViewCell

#

and i cant find any relevant methods on that

#

because at that point its UIKit and not a private apple framework

topaz yew
#

maybe you could use frida or something to watch the methods getting called

#

has to be some info somewhere though

placid kraken
#

well this whole pref thing is a private framework that apple uses so

#

yeah i probably could tbh

wooden yarrow
#

idk

placid kraken
#

in this case i cant use a delegate because cellClass in the specifier requires the class not an instance of it

#

so i cant alloc, init, and then set the delegate to be used

wooden yarrow
#

does cellClass make a instance of the class internally then?

placid kraken
#

im assuming so yes

#

it calls this initWithStyle eventually:

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier
#

you have access to the specifier, but even that doesnt have a method to call for setting a pref with the key you pass in

wooden yarrow
#

what if you hooked that

#

troll

placid kraken
#

thats wayyy too hacky lmfao

wooden yarrow
#

hm does cellClass never expose the actual instance anywhere

wooden yarrow
placid kraken
wooden yarrow
#

rip

warm cipher
#

Got a question guys, what is the home bar tweak name for the %hooking? because I want to try and make the home bar color change please, I have already got a colorpicker

placid kraken
#

use FLEXing to find it

warm cipher
placid kraken
#

flexing as in the thing to look at springboard views

#

anyway seems like its called CSHomeAffordanceView

warm cipher
#

that's what the home bar is called?

placid kraken
#

i believe so

warm cipher
placid kraken
#

this is what the preview is

#

(i changed my home bar width via lynx)

warm cipher
#

oh so If I can find it on the developer.limneos.net website, I can try and make it be a different color? right? but anyways I am off. I will be back here in 5 minutes

placid kraken
#

you dont need to find it on a website lmao

warm cipher
placid kraken
#
@interface CSHomeAffordanceView : UIView
@end

%hook CSHomeAffordanceView

- (void)viewDidLoad {
    %orig;

    self.backgroundColor = [UIColor redColor];
}

%end
``` or something
#

actually no because thats not the background color

#

i would recommend looking into flexing and viewing the bar yourself

#

i figured it out eventually

#

i made an observer for NSUserDefaults for the key im changing

#

like this

#import "FloraPreferenceObserver.h"

@implementation FloraPreferenceObserver {
    NSUserDefaults *defaults;
    void (^_block)(void);
}

- (instancetype)initWithKey:(NSString *)key withChangeHandler:(void (^)(void))block {
    self = [super init];

    if (self) {
        _key = [key copy];
        _block = block;
        defaults = [[NSUserDefaults alloc] initWithSuiteName:BUNDLE_ID];
        [defaults addObserver:self forKeyPath:key options:NSKeyValueObservingOptionNew context:nil];
    }

    return self;
}

- (void)dealloc {
    [defaults removeObserver:self forKeyPath:self.key];
}

- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey, id> *)change context:(void *)context {
    _block();
}

@end
#

i can then simply just

observer = [[FloraPreferenceObserver alloc] initWithKey:@"mode" withChangeHandler:^() {
    [self reloadSpecifiers];
}];
radiant idol
#

UIView's don't have a viewDidLoad

#

frcoal

placid kraken
#

oh

#

maybe hook init then idk

radiant idol
#

I have no idea what you're doing but I think that should work

placid kraken
#

yeah it works

#

but its like

#

very hacky

#

basically i want to detect when my popover cell updates the current selected field and rerender the list controller accordingly

#

im currently doing it by listening to changes for mode in nsuserdefaults

radiant idol
#

meh

placid kraken
#

there has to be a better way though surely

timid furnace
#

Uh

#

Show ur code

placid kraken
#

oh yeah i also wanted to ask how i can programatically press the button to open the popover

#

i tried doing it like

- (void)openMenu {
    [selectedItemButton sendActionsForControlEvents:UIControlEventTouchUpInside];
}
``` but apparently that crashes settings
#

..with no exception thrown

warm cipher
#

how do I look into flex?

placid kraken
#

you hold on the screen with 3 fingers

tepid olive
#

Hey y'all

placid kraken
#

once flexing is installed

tepid olive
#

does anyone know how to find the pmap_image4_trust_cache offset, I can't find any documentation on how it is found

warm cipher
placid kraken
#

yea

tepid olive
#

Tried asking KpwnZ, but they don't seem to be active on discord atm

warm cipher
tepid olive
#

nvm they responded

placid kraken
#

anywhere

#

as long as you have the flexing tweak installed

warm cipher
#

nope I don't

faint lionBOT
#

You have sent a link to a package, you can use the buttons below to open it directly in your preferred package manager.

warm cipher
#

ah ok

#

yh

placid kraken
#

oh

#

[[flexing]]

#

uhm

#

did they filter the funny new arch for arm64e

timid furnace
#

Yes

placid kraken
#

why

timid furnace
#

License violations

placid kraken
#

oh

visual meadow
#

just use that

placid kraken
#

^^^^

warm cipher
#

got it installed the tweak

visual meadow
#

just made this tweak using it lol

#

Sec

warm cipher
#

what do I look for the home bar? customisatrion?

visual meadow
#

entirely

placid kraken
placid kraken
#

make sure its visible on the screen

warm cipher
placid kraken
warm cipher
tepid olive
placid kraken
warm cipher
#

search for what? sorry

placid kraken
#

well i searched for bar

warm cipher
#

ok

granite frigate
#

looks like some kfd thing

placid kraken
#

Say my passcode

#

JESSE

#

SAY MY PASSCODE

visual meadow
granite frigate
#

HAHAHHAHA

visual meadow
#

cause why use those

granite frigate
#

so real

visual meadow
#

when you can just hook shit now

#

lol

placid kraken
#

so much effort if it panics

#

(it panics every 2 applies)

#
  • my phone gets boiling hot when it does panic
#

so pointless to use any tools like misaka anymore

warm cipher
granite frigate
#

did you make 1 big one or split it into 9

visual meadow
granite frigate
#

oh

visual meadow
#

i just replaced the images with cowabunga

granite frigate
#

yh

visual meadow
#

best one tbh

granite frigate
visual meadow
#
#include <CoreGraphics/CGGeometry.h>

%hook MTLumaDodgePillView
  // Hide home bar in applications
        -(id)initWithFrame:(CGRect)arg1 settings:(id)arg2 graphicsQuality:(long long)arg3 {
    return nil;
}
%end```
#

homebar entirely hidden

warm cipher
#

I am using this, but my color for the home bar is not changing color based on the color picker

placid kraken
visual meadow
granite frigate
#
%hook MTLumaDodgePillSettings

-(void)setMinWidth:(double)arg1  {
    %orig(0);
}
%end
placid kraken
#

what filter does the tweak need to be for that?

granite frigate
#

damn

placid kraken
#

lmfao

visual meadow
#

when you go into apps

#

that like

#

make the homebar

granite frigate
#

that like

visual meadow
#

hidden

granite frigate
#

oh

#

it stays

visual meadow
#

and you try to exit them

#

you're trapped

#

you literally cant exit those apps with that hook

visual meadow
#

geometry dash

#

and try to go out of it

placid kraken
#

what if you simply just make the homebar's color #00000000

granite frigate
#

yeah it works

warm cipher
#

I have already got %hook KTLumaDodgePillSettings but when I go to my tweak in settings and click onto the color picker ot change the color of the home bar it doesn't change

visual meadow
#

my friend had that on 15.4.1

#

went to play

#

clash of clans

#

he got trapped

warm cipher
#

lol

placid kraken
visual meadow
#

he was stuck in clash

granite frigate
#

the worst fate ever

warm cipher
placid kraken
visual meadow
#

(it also happened to me on 14.8 on an xr when playing geometry dash)

warm cipher
#

all of it? or which part?

placid kraken
#

the part with the color picker and the hook

warm cipher
#

ok

placid kraken
#

or if not that force rebooting

warm cipher
#
color picker code
// Fetch color from preferences using libcolorpicker
static UIColor *getColorFromLib() {
    // Use libcolorpicker to get the selected color
    UIColor *color = LCPParseColorString(pillColor, @"#E63B79");
    NSLog(@"getColorFromLib: Color fetched: %@", color);
    return color;
}

visual meadow
#

what i did is locked the phone

#

and quickly swiped up twice

#

that would get me out of the app

visual meadow
#

instead of resizing it it just hides it

placid kraken
warm cipher
placid kraken
#

Console.app or Antoine

warm cipher
#

Console.app doesn't work for me

#

I will try Antonine

placid kraken
#

by the way i would very much recommend that you migrate to libgcuniversal instead of libcolorpicker

warm cipher
#

I guess I will need to use Console.app, since I cannot use Antoine

placid kraken
#

it has much nicer apis for working with colors

warm cipher
#

I have to pay for it

warm cipher
placid kraken
#

uhh no i dont think so

warm cipher
#

oh

#

I don't know how to work Console.app since I have never used it

placid kraken
#

you basically connect your phone via cable, click start recording when it shows up in Console.app, then make sure you put some unique thing in your nslog, i usually put [Flora] at the beginning of mine, then at the top right, search for that unique id. when the NSLog is called, itll appear in the list of things

#

aka my nslogs look like ```objc
NSLog(@"[Flora] %@", someVariable);

warm cipher
#

oh

#

that is how it works thanks will try it now

#

I will let u know what it does

#

like this

static UIColor *getColorFromLib() {
    UIColor *color = LCPParseColorString(pillColor, @"#E63B79");
    NSLog(@"[Testing] getColorFromLib: Color fetched: %@", color);
    return color;
}
placid kraken
#

yea

#

then you put [Testing] in the filter

warm cipher
#

ok

#

do I need to connect my device first?>

#

to be able to see the filter?

placid kraken
#

lol yeah

#

connect via cable

#

it should show under your macbook

#

then you click on the device and click start recording

warm cipher
#

type-c to lightning

placid kraken
#

yea i guess

#

it doesnt matter as long as its a data cable

warm cipher
#

ok

visual meadow
#

lol snowboard theming in carplay does work

warm cipher
radiant idol
visual meadow
#

taken from xcode developer tools or whatever

radiant idol
#

interesting

warm cipher
# visual meadow

you able to help me pelase. trying to figure out. and check where my NSLog is inside of console.app

visual meadow
#

Try searching for it?

radiant idol
#

[testing]

warm cipher
#

ok I will try

#

nothing shows but I did this

static UIColor *getColorFromLib() {
    UIColor *color = LCPParseColorString(pillColor, @"#E63B79");
    NSLog(@"[Testing] getColorFromLib: Color fetched: %@", color);
    return color;
}

radiant idol
#

oh

#

[Testing] then

warm cipher
#

oh lol

#

I selectec the color picker and hit respring nothing shows

radiant idol