#development

1 messages · Page 158 of 1

sacred orbit
#

uhh my method freezes the device for 3 seconds after respring

indigo peak
#

button.buttonAction = @selector(doButtonTap:);

acoustic imp
sacred orbit
#

i will be glad to see how u hook the wallpaper

knotty tusk
sacred orbit
knotty tusk
#

ty

radiant idol
#

ida

#

please

#

can you be faster

sacred orbit
indigo peak
acoustic imp
indigo peak
#

@sacred orbit why not the
@property (retain, nonatomic) SBFWallpaperView *lockscreenWallpaperView; property

#

bc SBFWallpaperView has a property @property (readonly, nonatomic) UIImage *wallpaperImage;

#

so why not

acoustic imp
#

@sacred orbit if what are you trying to do exactly

#

Get the image ?

sacred orbit
indigo peak
#

@interface SBFWallpaperView : NSObject
@property (readonly, nonatomic) UIImage *wallpaperImage;
@end


@interface SBWWallpaperViewController : UIViewController
@property (retain, nonatomic) SBFWallpaperView *lockscreenWallpaperView;
@end


// ...
UIImage *wallpaper = mySBWallpaperViewController.lockScreenWallpaperView.wallpaperImage;
acoustic imp
#

On the view controller

indigo peak
#

is that uiimage the wallpaper tho

#

bc it could be some random shit apple has 💀

acoustic imp
sacred orbit
acoustic imp
#

Just %group and don’t init thoes hooks for iOS 16

sacred orbit
#

oh right

indigo peak
#

so yes

#

unless you just %group and init in the ctor

#

or just

#

do a null check

#

lmao

#

and if youre purely in hooks

#

like

#
// ...
%end```
#

it wont mess w anything

#

bc itll still hook, but it wont do anything bc the class isnt found

#

not good practice, but you could if youre too lazy for the ctor bs

acoustic imp
#

It’s not hard

#

Jus look art ArtFull ctor

#

And I can find the iOS check I fg

#

Night sent a good one

radiant idol
#

@ nightwind

indigo peak
#

uhhh is there a way to install apps on the simulator 💀

acoustic imp
indigo peak
#

like

#

stock apps

#

can i install the music app on my xcode sim

acoustic imp
#

Do u have m1 ?

indigo peak
#

m2

acoustic imp
#

I mean it’s arm so

#

Probly

indigo peak
#

mf just said probably

#

:how:

acoustic imp
#

Use like ipa ranger and use the cy… repacker or sm

radiant idol
acoustic imp
indigo peak
#

💀

acoustic imp
#

Google ?

indigo peak
#

i tried

#

got a stackoverflow article from 2009

radiant idol
indigo peak
#

wine

acoustic imp
#

?

indigo peak
#

im a couple versions newer than that

#

Version 14.3.1

acoustic imp
#

Maybe it still work ?

#

(Idk Xcode never used)

sacred orbit
#

@acoustic imp how do you do it?

acoustic imp
#

Well my team didn’t get the image but the code could be sm like

indigo peak
#

woeis

indigo peak
#

rip

acoustic imp
#

“ UIImage image* = [self generateImage] “

acoustic imp
indigo peak
#

where am i gon get an older version of music.app from 💀

acoustic imp
#

Or I could send the one I got on my phone

#

15.1.1

indigo peak
#

pirac

#

!

sacred orbit
acoustic imp
acoustic imp
#

Oh wait

#

I’m acoustic

#

God I hate mobile

#

Ok

#

So

#

In your SBWWallpaperViewController hook

#

In what ever method

#

U do

#

“ UIImage image* = [self._wallpaperContainerView generateImage] “

#

I think

#

But u need the interface thing

#

In the SBWWallpaperViewController interface add the property UIView *_wallpaperContainerView

#

(U need the like @property… I’m to lazy to type out on mobile)

radiant idol
#

are u sure its a property and not an ivar

acoustic imp
#

One sec

#

It’s an ivar oops

#

So no interface thing actually

sacred orbit
acoustic imp
#

Do “ UIView viewName* = [self valueForKey:@“_wallpaperContainerView” ] “

#

And image is your wallpaper image

radiant idol
#

no self in the second one

acoustic imp
#

Frick

radiant idol
#

and your pointer placements are so broken

#

hold on

#
UIView *wallpaperContainerView = [self valueForKey:@"_wallpaperContainerView"];
UIImage *image = [wallpaperContainerView generateImage];
acoustic imp
#

I’m on mobile I can’t do this

#

Hook ing SBWWallpaperViewController

#

Wait

#

Nope ur right

sacred orbit
#

what is that

radiant idol
#

idk i just fixed the code he was writing

acoustic imp
#

The view with the get wallpaper method

radiant idol
#

im not paying attention to yalls convo

sacred orbit
acoustic imp
#

No

#

One sec

lyric heron
#

boo

#

i scare you

tepid olive
#

opinions on my code?

#
int getIDOfCurrentWeather() {
    NSArray *forecast = getForecast();
    if(forecast == nil) {
        NSLog(@"I appear to have encountered an error getting the forecast for today... Returning!");
        return 0;
    }
    time_t curTime = time(NULL);
    struct tm *curGMTime = gmtime(&curTime);
    for(NSDictionary *hour in forecast) {
        NSNumber *NSdt = hour[@"dt"];
        time_t dt = (time_t)[NSdt longValue];
        struct tm *dgmt = gmtime(&dt);
        if(dgmt->tm_hour != curGMTime->tm_hour) {
            free(dgmt);
            continue;
        }
        return [((NSNumber *)(hour[@"weather"][0][@"id"])) intValue];
    }
}
radiant idol
#

cursery

#

also

tepid olive
#

well that's kind of how it is working with libC functions lmao

radiant idol
#

int getIDOfCurrentWeather(void)

tepid olive
#

what's wrong with it

radiant idol
#

you should have the void there

tepid olive
#

it's defined in the header

#

so it isn't required

#

I'd show you getForecast

radiant idol
tepid olive
#

but I don't think it'd fit here

#

NSArray *getForecast(void)

#

here's the definition for that

#

idk why I put void there but not in the other function lol

acoustic imp
#

@sacred orbit so like the view in flex is not exactly the view controller. But in the view controller there is a reference to the view, and the view has the method to get the wallpaper image. @radiant idol can I explain it, the thing I circled

tepid olive
#

because that non objc object won't be freed automatically

#

right

radiant idol
#

yes

tepid olive
#

k cool

tepid olive
#

how do I add permissions to SpringBoard

radiant idol
#

¯_(ツ)_/¯

tepid olive
#

oh ok

acoustic imp
tepid olive
#

nono

acoustic imp
#

Maybe u could use libsandy

tepid olive
#

permissions

acoustic imp
#

Oh

#

That’s like what

indigo peak
acoustic imp
#

Location services ?

tepid olive
indigo peak
#

@acoustic imp how do you detect a user pulling down the lockscreen

acoustic imp
#

Idk if it’s the same but I think there’s sm method

indigo peak
#

any os

acoustic imp
#

Look at eneko code I’m pretty sure they have sm

indigo peak
#

and it works

#

ty

lyric heron
#

@indigo peak do u have an ipad

#

thats jbable

indigo peak
#

simulator

lyric heron
#

@tepid olive does simulator work

indigo peak
#

🧌

lyric heron
#

i have also one

tepid olive
lyric heron
#

on that version

#

Ugh who has an ipad i cant remember

indigo peak
lyric heron
#

tweak

#

troubleshooting

indigo peak
#

i can jb the sim

#

just cant use preferences

tepid olive
#

is springboard

#

included

indigo peak
#

💀

#

yes

tepid olive
#

hm

#

well

#

wait

#

you can test tweaks in simulator??

indigo peak
#

if springboard wasnt included i think i wouldnt have a sim

indigo peak
tepid olive
#

welllll

indigo peak
tepid olive
#

how did I not know that exists tysm

indigo peak
#

but like i said, preferences dont work

#

so you have to statically define your prefs

tepid olive
#

idc lol

#

there aren't any prefs yet lol

indigo peak
#

so like for example

enabled = [preferences boolForKey:@"kEnabled"];

just do

lyric heron
#

i ran out of soja sauce

#

😭

slim bramble
#

Huh

lyric heron
#

now i have nothing left to eat my sushi with

#

ok even if i disable all tweaks with choicy it doesnt work

sacred orbit
#

@acoustic imp i got it to work, but after a respring theres still a freeze. is it because maybe of my coloranalyzer thingy which gets the average color?

#
    typealias Group = iOS15Hooks
    static let targetName = "SBFStaticWallpaperView"

    func didMoveToWindow() {
        wallpaperImage = Ivars(target)._displayedImage
    }
}
acoustic imp
#

It could also be ur hooking objc and writing swift but Idk,

sacred orbit
lyric heron
#

so

#

anyone got a cinject link?

#

the one on iphonewiki leads to nothing

tepid olive
#

@fiery seal how do I actually compile for the simulator lol

tepid olive
#

@indigo peak

#

meant to ping you ;-;

fiery seal
#

i dont use simulator

tepid olive
#

didn't mean to ping you lol

acoustic imp
#

(Iv never gotten this working btw)

tepid olive
#

no

acoustic imp
#

U Gota compile for x86

tepid olive
#

that's what I'm doing

acoustic imp
#

On GitHub just search for like

#

Simulator

#

And filter for objc or sm

indigo peak
tepid olive
indigo peak
#

in simject

#

There’s an example tweak

#

the repo

tepid olive
#

ohh

indigo peak
#

on there

#

Check the exmaple makefile

#

check the target

tepid olive
#

it compiles

#

but then says

#

oh I fixed it

lyric heron
placid kraken
acoustic imp
#

127.0.0.1

faint stag
# tepid olive permissions

i mean you usually don't do that
sometimes you just use libs or hook other processes to get your info
(like how cephei routes prefs calls to springboard, but that was a thing before libsandy)

acoustic imp
#

@sacred orbit for lunar did u test if user has a different walp for LS and HS ?

#

for ios 15

acoustic imp
faint stag
#

cool

acoustic imp
#

@radiant idol

#

wad i do

radiant idol
#

hold on idk what happened

acoustic imp
#

800, i mean i barely sent 8000 msages i think

kind herald
young meteor
#

each typo is one warn point

radiant idol
acoustic imp
#

like r they bc i like filter bypassed of sm

radiant idol
#

one of the admins warned you for piracy

acoustic imp
#

where

#

ohhhhhhh

#

oopsies

#

(i dont have it anymore btw)

radiant idol
#

g00d

tepid olive
#

I could swear I just pinged fiore

#

wtf

#

I pinged them in the wrong server lmao

#

how do I use libSandy to inject entitlements

#

there's an entitlement I can use apparently

#

com.apple.locationd.preauthorized

#

idk if it still exists tho lol

acoustic imp
#

see what apps have

#

ldid -e (path to weather app exec)

#

i think

tepid olive
#

I mean

#

it's not that hard to just

#

request permission

#

but like

acoustic imp
#

i think SB alr has location perms

tepid olive
#

it must not though

#

because latitude and longitude give me 0

acoustic imp
#

it does sb has like everything

#

oh

#

y not jus use waether kit or sm

#

or sm weather lib

tepid olive
#

needs apple developer account

acoustic imp
#

oh

tepid olive
#

lmao

acoustic imp
#

use that like litten weather lib

tepid olive
#

no

#

I make my own stuff

acoustic imp
#

or jus borrow sm code yk

#

oh

tepid olive
#

ye

slender glade
tepid olive
#

n o

#

lol

#

not quite what I meant

acoustic imp
#

can u make websites with oop ?

ashen birch
#

how to cgrect oop ?

acoustic imp
#
UIView *view = (some view object);
CGRect *viewFrame = view.frame;```
viewFrame is your CGRect
tepid olive
#

guys

#

I have a problem.

#

so I'm writing a large dictionary to a file

#

but what happens

#

is my hook gets called while it's writing

#

it sees the plist exists

#

and attempts to read it

#

and it crashes lol

hasty ruin
#

Wouldn’t writing the file atomically solve this?

tepid olive
#

that's what I'm doing

#

[toWrite writeToFile:path atomically:YES];

hasty ruin
#

Just have a lock on the function then ig trol

tepid olive
#

but that's cursed lol

hasty ruin
#

less cursed than a crash

tepid olive
#

true

#

I mean I could also just hook a better function lol

primal perch
#

the true solution

#

if you need a mutex to prevent your tweak from crashing like this there’s a decent chance you’re doing it wrong

acoustic imp
#

Rune’s “inspiration”

primal perch
#

@hasty ruin copy

tepid olive
#

on a scale of 1 to 10

#
__attribute__((constructor)) static void init() {
    MSHookMessageEx(NSClassFromString(@"SBHomeScreenViewController"), @selector(viewDidLoad), (IMP)&viewDidLoadHook, (IMP *)&ogviewdidload);
    char *HomeScreenViewEncoding = @encode(HomeScreenView);
    NSUInteger homeScreenViewSize,HomeScreenViewAlign;
    NSGetSizeAndAlignment(HomeScreenViewEncoding, &homeScreenViewSize, &HomeScreenViewAlign);
    class_addIvar(NSClassFromString(@"SBHomeScreenViewController"), "_referenceView",homeScreenViewSize, HomeScreenViewAlign, HomeScreenViewEncoding);
    objc_property_attribute_t type = {"T","@\"HomeScreenView\""};
    objc_property_attribute_t ownership = {"C",""};
    objc_property_attribute_t backingivar = {"V","_referenceView"};
    objc_property_attribute_t attrs[] = {type,ownership,backingivar};
    class_addProperty(NSClassFromString(@"SBHomeScreenViewController"), "referenceView", attrs, 3);
}
#

how would you rate your pain

primal perch
#

9

acoustic imp
tepid olive
#

lmao

acoustic imp
#

10.9999999

tepid olive
#

I highly doubt this will even work

acoustic imp
#

~~eneko type code ~~

acoustic imp
tepid olive
#

I don't even need the property lmao

acoustic imp
hasty ruin
radiant idol
#

class_addIvar??

#

that exists??

tepid olive
tepid olive
#

I mean I assume logos uses it

faint timber
tepid olive
#

Da fuck

faint timber
#

Ellekit broken as shit

faint stag
#

ok just use log stream and log show

cloud yacht
pearl sail
#

Based on bootlooping

slender glade
warped sparrow
#

I've seen it but I didn't know what it did 💀

#

Nor did i care

torn cloud
#

Silly currymuncher

hasty ruin
torn cloud
placid kraken
#

you can also use the new component apis in the dom

slim bramble
#

Ofc you can

lyric heron
slim bramble
#

NO

granite frigate
granite frigate
slender glade
slim bramble
#

I tried to resign the binary from macOS's dev image and did all those steps however, when SB crashes, nothing is stopped and SB naturally restarts

knotty tusk
#

It doesn't persist CommCenter restarts yet as I haven't been able to make a hook to disable it from reverting the changes to the Carrier Bundle, but this works just fine for my use case since CommCenter doesn't seem to restart much.

ashen birch
#

i just know of it

acoustic imp
#

It’s in pins I think

harsh junco
#

how to oop a cgrect

tepid olive
#

Because it’s a standard C struct

#

C isn’t OOP

#

y'all

#

does performSelector afterDelay halt execution until delay, or is it asynchronous?

harsh junco
tepid olive
#

how do I

#

elevate

#

my permissions

#

Failed to write forecast plist: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Forecast.plist” in the folder “WeatherWhirl”." UserInfo={NSFilePath=/var/jb/Library/Application Support/WeatherWhirl/Forecast.plist, NSUserStringVariant=Folder, NSUnderlyingError=0x28180cd80 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

restive ether
knotty tusk
#

i didnt

#

this just edits the carrierbundle plist and restarts commcenter

#

it gets reverted back but it only reloads the plist when commcenter restarts again

tepid olive
#

oh I figured out how to fix it

#

yayyy

#

I got it to work

restive ether
faint stag
#

mobile is in the wheel group but 5 means read+exec

unreal orbit
#

Any recommended way to have preferences handled in sandboxed processes? I have a tweak for Messages, but toggling switches in a pref bundle isn't writing back the values in memory using Cephei. Should I just use NSUserDefaults?

faint stag
unreal orbit
slim bramble
faint timber
slim bramble
faint timber
#

Debug backboardd

slim bramble
faint stag
#

(literally what dart can do)

faint stag
cloud yacht
slim bramble
slim bramble
#

same result

#

These are the ents btw

naive kraken
slim bramble
naive kraken
slim bramble
#

Thanks I'll do this rn

naive kraken
#

ldid -S<debugserver.entitlements> -M <debugserver>

slim bramble
#

I'll try

slim bramble
#

😭

naive kraken
slim bramble
slim bramble
naive kraken
#

you need to make xcode copy the symbols and then waste as little time as possible

#

attach and immediately continue

slim bramble
slim bramble
slim bramble
#

lol

#

thanks !

#

It did not work for SpringBoard tho 😭

faint timber
#

I’ve been able to debug every app I’ve tried springboard is no different

slim bramble
#

My tweak crashes SB and not backboardd so what can I do ?

faint timber
#

Make a tweak that loads before the culprit, loop infinity

#

Skip over the loop when you attach debugger

slim bramble
#

How will that change shit ?

faint timber
#

The bad tweak won’t be loaded yet?

slim bramble
sonic totem
#

🔥

faint timber
#

This isn’t difficult stuff

#

This is really quite easy

slim bramble
#

yeah it is

slim bramble
#

initproc exited

#

smh

sonic totem
#

launchd hook?

slim bramble
sonic totem
#

Yes

#

Dopamine has a launchd hook

slim bramble
sonic totem
#

lol

#

All jailbreaks will have one

slim bramble
#

of

#

c

granite frigate
slim bramble
#

alfie just said it

sonic totem
#

To hook posix_spawn

acoustic imp
#

how do i reload prefs, like if i chnange a cells property how do reflect the chnages ?

slim bramble
#

if you want to reload prefs

#

just call updatePrefs();

acoustic imp
#

no like it settings app

#

how do i refresh the cells

#

Nvm

#

I’m stupid

steady nest
sonic totem
#

How so 🤨

steady nest
sonic totem
#

I knew that was a trap

#

Correction: all modern jailbreaks have a launchd hook

steady nest
#

since 11 they require it yes

#

why TrollFront ?

sonic totem
#

Since iOS 11??

#

Idek

#

KTRR?

steady nest
#

yep

#

you can't patch the Kernel anymore

sonic totem
#

Yea

#

But on iOS 10 you only had KPP

#

So you could just race

steady nest
#

kpp would be entirely bypassed on 10, no races

#

the iPhone 7 had KTRR

sonic totem
#

how was it entirely bypassed

steady nest
#
sonic totem
#

That's what I meant

#

Badly phrased

#

Just swap out while check happens

faint timber
#

this is how I bypassed snap frstache

sonic totem
#

🔥

indigo peak
primal perch
#

😂

acoustic imp
#

dopa doesnt support A8 right ? palera1n pissin me off

velvet path
acoustic imp
#

it works but i always safemode and ssh stuff never works/loads

faint timber
indigo peak
faint timber
#

You really don’t know what’s happening do you

ashen birch
#

we interrupt this dumb argument to announce: use eyepatch!

acoustic imp
ashen birch
summer thistle
#

So just print the hooked print function then troll

ashen birch
#

with python it’s just

  • python
  • other overly nerdy shit that isn’t adopted enough to be used
primal perch
#

install python

#

works

#

🔥

ashen birch
#

🔥🔥🔥

faint timber
ashen birch
hexed knot
ashen birch
#

anyways i’ve lost all interest in coding so i’ll need to wait until my brain decides to hyperfixate on all of my projects again

#

i’d say give it a few months max

velvet path
faint timber
ashen birch
#

yeah i was half joking with that

#

it def can be improved

placid kraken
faint timber
#

I love how I fixed my own problem, reported a bug, explain why it happened, still got criticized

#

do the fuck better rjb

#

show ssh command and show iproxy command

faint timber
hexed knot
#

Whats the rangeofstring thing

faint timber
#

bruh

primal perch
#

cry

hexed knot
faint timber
#
  1. right side is computer
  2. space not colon
acoustic imp
#

try mobile instead of root

faint timber
#

I legit replied to you stfu

acoustic imp
#

open ssh is installed correct?

hexed knot
faint timber
#

do us all a favor please

acoustic imp
#

wasnt for u @faint timber

faint timber
#

I TOLD YOU THE PROBLEM

#

NOW

#

USE

#

EYEBALLS

#

TO

#

READ

acoustic imp
#

crazy

hexed knot
#

Also dont u specify port in ssh with -p

acoustic imp
#

iproxy command: sudo iproxy 44 2222
ssh command: ssh root@localhost -p 2222

#

like this i think

acoustic imp
#

fixed

#

i didnt use my eyeballs mb cryptic

faint timber
frail cedar
#

stil no

#

iproxy 2222 22

faint timber
#

RIGHT SIDE IS COMPUTER

frail cedar
#

i have no idea what you mean. i use iproxy 2222 22 and it works

hexed knot
#

@frail cedar why do u have pronouns on a schedule

frail cedar
hexed knot
#

And how are they different

frail cedar
#

please file all complaints to my fuckass brain

frail cedar
#

idk

faint timber
hexed knot
#

If it was stupid wouldnt u not care abt pronouns

frail cedar
#

what jb are you on

acoustic imp
#

#jus ssh over local network

frail cedar
#

are you in an ssh ramdisk or something

#

you uh

acoustic imp
#

its a white name

frail cedar
#

do not get ssh

#

until you jailbreak.

hexed knot
#

Cryptic abt to go insane

slim bramble
#

NO FUCK OFF NOT AGAIN

frail cedar
#

or have booted an ssh ramdisk

acoustic imp
#

@split plinth i asked u if u had open ssh

#

buddy ur not JB

frail cedar
#

if you aren't jailbroken it's not installed....

acoustic imp
#

no JB = no ssh

faint timber
hexed knot
#

Oooh its the dude who wants to install bakerain

frail cedar
#

you're jailbroken...

indigo peak
acoustic imp
#

@split plinth r u using a ramdisk ?

frail cedar
#

give up

#

on bakera1n then

slim bramble
#

@restive ether bro did not understand the lesson

frail cedar
#

if you arent even sure tbh

acoustic imp
frail cedar
#

Why

faint timber
#

we shall end it here
this is not a fucking support channel
get lost

indigo peak
#

I was waiting for a message like that

lyric heron
#

im giving you one last chance

kind escarp
#

Is bakera1n even maintained

lyric heron
#

before i ping cameren

#

and you get banned

slim bramble
lyric heron
#

be warned

hexed knot
#

Bro wtf

acoustic imp
hexed knot
#

Deadass chill

faint timber
lyric heron
hexed knot
#

Acting like hes gonna end the world

slim bramble
# hexed knot Bro wtf

It’s the 5th time he is warned for asking how to use bakera1n while we told him too many times to use palera1n instead

indigo peak
kind escarp
#

Gimme a good reason

indigo peak
#

he’s causing Y2K

hexed knot
#

Yall really against a dude jbing

indigo peak
#

bc he’s baked rn thinking it a good jb

kind escarp
#

Also this channel isn’t for begging for a step by step guide on a jailbreak that probably isn’t even maintained anymore

indigo peak
#

he wants his jb like himself

indigo peak
lyric heron
#

bro wont be able to rejoin trol

indigo peak
#

this ur second time saying this, are you or are you not

lyric heron
#

because that ban is juicy fr

#

@sonic totem bakera1n juicy fr

slim bramble
#

W

hexed knot
#

Nah swift is chill

#

Swiftui is fucking dogshit though

slim bramble
acoustic imp
#

CGRect >

indigo peak
faint timber
#

ImportError: dlopen(/Users/cryptic/Library/Application Support/Binary Ninja/python310/site-packages/lief/_lief.so, 0x0002): symbol not found in flat namespace '_PyObject_Vectorcall'

slim bramble
frail cedar
indigo peak
#

do you guys say oh oh pee or oop

frail cedar
#

i dont

acoustic imp
#

oh oh pee

indigo peak
#

my reaction this information

#

real

frail cedar
#

i have had to say OOP out loud once and i just said "object oriented programming"

indigo peak
#

I would’ve said a programming language based around structs such as CGRect

primal perch
slim bramble
#

@lyric heron Cam online hm

slim bramble
restive ether
#

whoops

#

i’m not editing that

#

too much drank

faint timber
#

we downing that jack 2nite

primal perch
#

glizzy

placid kraken
torn cloud
#

cg erect

gilded laurel
#

whos cg?

#

@brisk valley

sonic totem
primal perch
#

COREGRAPHICS

sonic totem
#

Alfie CoreGraphics

#

Name leak

acoustic imp
#

can i make a func in like somth.m then in my tweak.xm file call the funct ?

daring grail
#

Swift 🔥

tepid olive
#

Arc4random ain’t random enough

#

I think the main problem

#

is that they're in a rectangle

#

so like

#

I can't precisely do it

#

eh it's good enough

visual meadow
#

Minor trolling

acoustic imp
#

Well arm64 said no and arm64e said yes

#

But y

hexed knot
#

Maybe bc u did it wrong

indigo peak
#

@faint timber have you tried hooking __NFCString or whatever it is with fishhook

indigo peak
acoustic imp
#
1   16Player.dylib   funct() + 716
2   16Player.dylib                           0x1020cc38c invocation function for block in _logos_method$group$SBHomeScreenViewController$doTheThing(SBHomeScreenViewController*, objc_selector*) + 24```
#

All it gave

#

But the same thing works on arm64e but not arm64

#

The “do the thing” method is what has funct() call in it

acoustic imp
acoustic imp
visual meadow
#

hold on

visual meadow
#

You might have to add no-container and platform-application to the entitlements

acoustic imp
#

@faint stag could just nuking watch dog fix my watchdog timeout issues with debug server?

acoustic imp
#

@slim bramble

visual meadow
#

you know the kernel disable one works if you dont panic after 90 seconds after unloading watchdogd

acoustic imp
#

Oh it will probably panic tho

visual meadow
acoustic imp
#

Well no there always watchdog timeouts

#

Il try it 👍

visual meadow
#

this will completely nuke watchdog

acoustic imp
#

W

visual meadow
#

not permanently ofc

acoustic imp
#

Should I do on main device hm

visual meadow
#

hasn't broken anything on my main lol

#

14 pro max on 16.6.1

slim bramble
#

Why is watchdog even a thing 😭

visual meadow
#

@acoustic imp tell me if it works

acoustic imp
#

k, il try it in a few

visual meadow
#

the kernel watchdog disabler works if it prints nothing when running btw

acoustic imp
#

Idk wha that mean but ok

visual meadow
#

it will print nothing in the terminal when running the binary

radiant idol
#

why would you disable watchdogd

visual meadow
#

if it works

visual meadow
acoustic imp
visual meadow
#

for me i just did it for shits and giggles

radiant idol
visual meadow
#

@acoustic imp
run that binary as root, if nothing is outputted when running, then do:
launchctl unload /System/Library/LaunchDaemons/com.apple.watchdogd.plist as root

slim bramble
#

I can finally debug my drm

#

🙏

visual meadow
radiant idol
#

🤓 ☝️

visual meadow
#

lol

slim bramble
visual meadow
radiant idol
#

not u

slim bramble
visual meadow
radiant idol
#

i meant the other guy

acoustic imp
#

The other guy

slim bramble
acoustic imp
slim bramble
visual meadow
#

something tells me it panicked and they either:

#

did not compile/run the program

#

did not add the entitlements to said program

acoustic imp
#

Panicked

#

I jus ran the command tho

visual meadow
#

did it say killed: 9

acoustic imp
#

Said nothing

visual meadow
#

what was the panic

acoustic imp
#

Probly a spinlock one sec

#

Not a spinlock

visual meadow
#

Run that bin and show the output

acoustic imp
#

I don’t have krashkop vexedtomato

visual meadow
#

I made a tipa of it

acoustic imp
acoustic imp
faint stag
acoustic imp
#

oh

visual meadow
#

lol

#

my fault

visual meadow
#

bro

#

he added all 3

#

all he needs is the top one

faint stag
#

foxfort moment

acoustic imp
#

bruh

timid furnace
visual meadow
#

probably more to it

acoustic imp
visual meadow
#

probably built for ios 16 minos like a dipshit

acoustic imp
#

💀💀

visual meadow
#

guess its just broken on 15

#

send the crash log

acoustic imp
#

No krashkop woeis

visual meadow
#

weird

#

wait

#

waiit

#

oh my god he's so stupid

acoustic imp
#

Thanks, works now

visual meadow
#

@shut stag you should notify foxfort that krashtop trollstore is literally broken on 15

#

com.apple.private.skip-library-validation entitlement crashes the app on 15

acoustic imp
visual meadow
#

No i just took the trollstore version

#

i did remove those extra ents tho

#

and left no-sandbox in

acoustic imp
#

does iproxy do VNC ?

faint stag
acoustic imp
#

oh, yummy

visual meadow
faint stag
visual meadow
#

well

#

below

#

well

#

:

faint stag
#

still doesn't seem right to build with a newer major version sdk yet have minver be 15.0

#

at least for an app and not a full tweak where you can just init based on version

acoustic imp
#

@faint stag btw debug server didnt work, did the same thing it always did minus the panic

primal perch
#

apple ios

acoustic imp
#

fedora linux

visual meadow
#

i use arch on my pc and fedora on my steam deck lol

acoustic imp
#

Nice

#

Was a spinlock

sonic totem
#

And sign the libraries

primal perch
#

say gex

#

@hasty ruin

hasty ruin
#

@primal perch gex

primal perch
#

true

slender glade
visual meadow
#

I'm talking about foxfort

#

He needs to fix that

#

Either way you guys should make an update that strips that entitlement on 15 in trollstore

tepid olive
#

hi! how do i select a view that disappears on clicking with flexing? I try to select the siri answers but only thing that happens is siri closing. Weird is that I can select the orb without a problem

slim bramble
#

@visual meadow

#

Do you have an idea

visual meadow
#

Quickly run it or you'll panic tho

slim bramble
#

Smh

visual meadow
#

Nah I messed that part up. Lol

slim bramble
#

Lol

visual meadow
#

Lmk if work

slim bramble
#

Prob I’ll try later

#

I should probably make an ipa out of this

#

Or just add a system

#

To the c

acoustic imp
#

Jus make a bash script

#

Or sm, chat gpt will do it no problem

slim bramble
visual meadow
slim bramble
#

POV I’m eating

#

I'll try now

granite frigate
visual meadow
#

zhuowei made

slim bramble
#

idk

#

have not panicked yet

granite frigate
visual meadow
#

It even works stock with ct bug

granite frigate
#

but

#

why would you want to unload watchdog

visual meadow
#

Idk

#

Shits and giggle

#

For them its to debug springboard

slim bramble
#

@visual meadow It worked 🔥

visual meadow
#

Nice

placid kraken
#

how can i get access to specific instances of UIColor?

#

for example this instance has musicTintColor, and nothing else does

hexed knot
#

hook the specific class then

placid kraken
#

yeah but its just called "UIColor"

placid kraken
#

so its probably an extension

#

ok nvm it was swizzled after all

#

it just seems like apple doesnt use that color for the actual elements in the ui

indigo peak
timid furnace
placid kraken
#

ah i see

#

its a UIDynamicProviderColor

radiant idol
placid kraken
#

also i meant that when i call musicTintColor after hooking it in UIColor it does return my custom color

#

its just that the actual elements in Music.app dont

acoustic imp
acoustic imp
#

oh

placid kraken
#

its an initWithProvider

#

yeah ok

acoustic imp
indigo peak
#

ok what’s the code

acoustic imp
#

the drm one sec

placid kraken
#

wait so if i want to overwrite the accent color of Music.app altogether (the red color) should i be looking for the root view controller and hooking that

#

because i essentially want to overwrite that music red color throughout the whole app

#

perhaps MusicApplication.NavigationController

acoustic imp
placid kraken
#

im already hooking that apparently

acoustic imp
#

@placid kraken

placid kraken
#

seemingly not

#

unless i did something wrong

acoustic imp
#

U could hook UILayoutContainerView and hook the setTintcolor method and ur good right ?

#

(thats the thing i chnagd)

placid kraken
#

afaik UILayoutContainerView isnt unique to Music.app

#

but i can probably do it from a vc

#

yeah from TabBarController lol

#

how can i hook specifically MusicApplication.TabBarController?

frail cedar
#

it's a shitty solution prob

#

but it would work

placid kraken
#

ok so how would i go about doing that

#

do i make a Music.x file, hook it there, and then have a Music.plist and filter it there?

#

no wait the plist is for tweak-wide

#

i can do this?

BOOL isMusic = [[[NSBundle mainBundle] bundleIdentifier] isEqual:@"com.apple.Music"];

if (isMusic) {
    %init(Music)
}
#

maybe???

acoustic imp
#

look at artfull

#

they have a app/proces check

#
%ctor {
    if (![NSProcessInfo processInfo]) return;
    NSString *processName = [NSProcessInfo processInfo].processName;
    if ([processName isEqualToString:@"Music"]) {
        %init(Podcasts);
        return;
    }
}```
#

@placid kraken

placid kraken
#

hmmm ok but wouldnt this then init for any app no matter the bundle id as long as the name is "Music"

#

it would be better to check by bundle id

acoustic imp
#

oh ok

placid kraken
#

its just that artfull filters by these only

acoustic imp
#

do wat u want

placid kraken
#

so they dont need to

acoustic imp
#

ohh right

#

flora does everything

#

mb

placid kraken
#

yep

acoustic imp
#

you probly also want to verify with dif ppl on major IOS version that this works

#

if u havt already

placid kraken
#

lol yep obviously

timid furnace
#

isEqualToString but yes

placid kraken
#

isequal is a thing

#

ok well it works but it only applies after i call setInteractionTintColor manually

radiant idol
acoustic imp
#

is there a thing to make theos stfu ab unused vars ?

#

is it like goEasyOnMe or sm

placid kraken
#

doesnt goEasyOnMe disable all warnings

placid kraken
# placid kraken ok well it works but it only applies after i call setInteractionTintColor manual...

there's definitely a better way to do this lol

%hook UILayoutContainerView

- (void)layoutSubviews {
    %orig;

    if (!preferences) {
        init_preferences();
    }

    if ([preferences boolForKey:@"enabled"]) {
        // It doesn't matter what color this is because it'll be overriden in the hook anyway
        [self setInteractionTintColor:[UIColor clearColor]];
    }
}

- (void)setInteractionTintColor:(UIColor *)color {
    if (!preferences) {
        init_preferences();
    }

    if ([preferences boolForKey:@"enabled"]) {
        NSString *originalColorHex = [Utilities hexStringFromColor:[self interactionTintColor]];
        NSString *colorFromDefaults = [preferences objectForKey:@"musicTintColor"] ?: originalColorHex;

        %orig([GcColorPickerUtils colorWithHex:colorFromDefaults]);
        return;
    }

    %orig;
}

%end
#

with

@interface UILayoutContainerView
@property (nonatomic, strong, readwrite) UIColor *interactionTintColor;
@end
twilit jungle
#

Classic

faint stag
acoustic imp
#

jus hook setTintColor

acoustic imp
summer thistle
#

Generally speaking, if it complains about something like that, u just add “no” after the “-W” and before the name of whatever it’s complaining about, so -Wunused-variable would become -Wno-unused-variable for instance

faint stag
#

yeah i don't have a list of default cflags theos uses
but this is correct

summer thistle
#

Same, that’s why I didn’t have any other specific examples, I just now that it something that you can do as a general rule of thumb

faint stag
#

but it seems like -Wno-unused-command-line-argument -Qunused-arguments are them (other than the required ones)
at least from the common makefile

#

oh wait it also passes -Wall

#

so you get basically all warnings except two types

placid kraken
#

-wall

acoustic imp
#

how do i get a devices eccid ?

kind herald
#

Apple Configurator

acoustic imp
#

no like for a tweak

kind herald
#

oh

slim bramble
#

in terminal

summer thistle
#

I believe tesla is asking for a way to programmatically get it from a tweak tho

restive ether
acoustic imp
#

why is it that with the animation doesn't always play ?

                [UIView transitionWithView:self.artworkWallpaperImage duration:0.5 options:UIViewAnimationOptionTransitionCrossDissolve animations:^{
                    self.artworkWallpaperImage.image = artworkImage;
                } completion:nil];```
radiant idol
#

@bitter osprey

kind herald
#

dleovl gone

acoustic imp
acoustic imp
acoustic imp
slim bramble
acoustic imp
desert jackal
acoustic imp
#

nice

hexed knot
primal perch
#

hop on terraria babe

gentle grove
primal perch
#

💀

sonic totem
gentle grove
slim bramble
slim bramble
serene hawk
#

does someone here know if it’s possible to have a default value for specific apps in ATLApplicationListMultiSelectionController (AltList)?

tepid olive