#development

1 messages Ā· Page 107 of 1

cloud yacht
#

woofbreak when?

indigo peak
#

the fact this is something that needs to be mentioned just further proves the mental instability of this server

bleak jolt
#

how do i make my preferences not crash in settings with roothide?

elfin quarry
#

šŸ’€

native orbit
wind ravine
#

i updated theos for roothide and now i cant compile anything, it gives a linker error

#

even for rootless

native orbit
#

roothide moment

wind ravine
#

i cant compile for rootless either

visual meadow
#

updation theos

wind ravine
#

i did

#

it says its on the latest version

wind ravine
#

fixed rootless problem but roothide still wont compile

native orbit
#

you have substrate in ~/theos/vendor/lib ?

wind ravine
#

yes

primal perch
#

FREEBSD

unkempt magnet
#

Okay, I've finally implemented working kfd exploit without hardcoded offsets to my kfund project.
It works charm with patchfinder.

hasty ruin
#

W

unkempt magnet
#

No... I forgot to change t1sz_boot for A12-14 devices. 😩

faint stag
primal perch
#

better than meow

topaz yew
#

is there a way to decrypt an app without a task for it, like just the binary

primal perch
#

c0 ruined meow for me

native orbit
#

what happened to naming jailbreaks after north korean rivers sad

primal perch
#

fr

faint stag
timid furnace
#

no its roothide

faint stag
#

oh

wind ravine
#

rootless compiles

#

roothide doesnt

torn oriole
#

Good ending

faint stag
#

yeah i have no clue how roothide works exactly

#

but i know cause i know the environment variable adds $THEOS_LIBRARY_PATH/iphone/rootless $THEOS_VENDOR_LIBRARY_PATH/iphone/rootless
to the search path for frameworks and libraries

#

so

wind ravine
#

also how do i fade a CALayer image into white?

faint stag
wind ravine
#

it doesnt work

next wadi
#

yea true

#

jaidanware when

primal perch
#

respectfully

faint stag
#

it is

#

mfw

wind ravine
#

that did nothing

#

i think ca basic anim is high

#

begin after is causing issues

faint stag
wind ravine
#

it just straight up doesnt work i think

faint stag
#

well what are you trying to do exactly

wind ravine
#

custom turn off animations

#

i am doing this to make a tv effect:

#

but only the width animation plays

#

it immediately cuts to the completed height without playing the animation

faint stag
#

because without it you can really only have one animation on a layer at a time

#

unless you capture the state of the layer, remove the first animation, then run the next animation on it (which makes less sense to do)

lyric heron
#

does anyone know

#

if there's pycurl somewhere

#

to be installed for newterm

visual meadow
#

@opal hazel figured you want to know, theminf isnt working in carplay on 16

#

Also, i still get the crash with snowboatd

#

By applying theme/double tapping on icon

lyric heron
#

or is there a gnu C compiler

sonic totem
#

Imagine not having streaks with @hasty ruin troll

lyric heron
#

Wtf

#

Alfie hi!

#

send help

lyric heron
#

does icraze look old

sonic totem
sonic totem
lyric heron
sonic totem
#

With what

lyric heron
#

is there a gnu C compiler for newterm

sonic totem
#

There’s clang

indigo peak
#

gcc?

lyric heron
#

@cloud karma idk u can explain better

lyric heron
#

so clang does what I want probably?AGC_Ameno

indigo peak
# lyric heron yes

idk install theos-dependencies and everything you need should probably in there (i have zero idea)

lyric heron
#

ok!

sonic totem
#

What did I just see get deleted supershocked

hasty ruin
sonic totem
#

iCraze face reveal and I missed it woeis

indigo peak
sonic totem
#

No it was definitely a person hm

sonic totem
#

Time to delete /var/jb and restrap

lyric heron
#

took me ages to download everything

#

ok it installed

#

just for it to fail nevertheless

wind ravine
#

i am still having issues compiling for roothide

#

haxi0 told me to

acoustic imp
wind ravine
#

yes

opal hazel
visual meadow
#

Alright, ill try again

visual meadow
#

Also

#

Im using my own thing

#

I have carplay tweaks

#

(I know bc carbridge works)

#

And i see snowboard being loaded

opal hazel
#

Should work as far as I know, unless they changed stuff again.
Deffo shouldn't crash on double tap though (1.5.25-beta4-rootless).

visual meadow
#

Im on 16.6.1 btw

#

But yea its crashing on double tap

#

Let me try again

opal hazel
#

I'll update my X to latest 16 when I have time and check, but as far as I know it should be fine.
Maybe see if it throws an exception in syslog.

visual meadow
#

yeah i think i downloaded old one by accident

lyric heron
#

ok uh quick question

#

where does newterm save files to

#

it's not var/mobile right

sonic totem
#

Define ā€œsave filesā€

visual meadow
#

@opal hazel new crash

#

with latest

opal hazel
#

can you get me the exception from syslog

#

this doesn't tell me what selector it's complaining about

visual meadow
#

Ok

indigo peak
#

if you arent sparkdev, where is sparkdev woeis

visual meadow
# opal hazel this doesn't tell me what selector it's complaining about
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SBIconController floatingDockController]: unrecognized selector sent to instance 0x101130400'
*** First throw call stack:
(0x1b507ccb4 0x1ae1103d0 0x1b51f1ab8 0x1b7e4c1f4 0x1b50930e8 0x1b50f9900 0x103a05dfc 0x1b71db01c 0x1b71da614 0x1b71d98c4 0x1f77f6d98 0x1b71d7bb0 0x1b7220888 0x1b7e93b58 0x1b772fd94 0x1b7d94894 0x1b7d93df0 0x1b5146128 0x1b51527b4 0x1b50d7648 0x1b50ed0d4 0x1b50f23ec 0x1f060835c 0x1b747ef58 0x1b747ebbc 0x1f77ceafc 0x1d4624dec)```
lyric heron
#

and its supposed to be in /var/mobile

#

i think

indigo peak
opal hazel
#

Yeah, but I thought I fixed this

indigo peak
opal hazel
#

no

#

maybe they yeeted it in a later iOS 16 update

visual meadow
indigo peak
#

oh is this snowboard?

#

(i didnt read crashlog)

opal hazel
#

weird becauase i fixed a double tap crash on 16 (my device is on 16.4.1) assumed it was the same issue

#

I'll push a fix in a sec

indigo peak
#

im on roothide 16.5 if you would like me to test

lyric heron
#

same

#

but btw!

#

anyone know how to fix

cloud karma
#

(the latter link isnt important as it seems to be an issue with the cryptography module)

lyric heron
#

Yeah smol is smart!

opal hazel
#

@visual meadow can you test a deb for me?

visual meadow
#

Sure

opal hazel
primal perch
#

no way spark is on

faint stag
# lyric heron anyone know how to fix

a lot of python stuff may not even work right on ios because you can't build every module (and their deps) on ios
not sure how you ended up with a macOS version of cryptography tho

lyric heron
#

😦

faint stag
lyric heron
#

through utm you mean?

faint stag
#

no

#

iSH was the example

#

it's alpine linux

lyric heron
#

is there a guide to that

#

how to set it up

#

im not used to Ios stuffThisIsFine

faint stag
#

not much of a guide needed
it's going to be functionally identical to a shell on linux

cloud yacht
#

(its on the app store)

faint stag
#

anyone who can read should know that clueless

#

cause this is a link to the wiki fr

lyric heron
#

ok cool ty

hasty ruin
lyric heron
#

they aren't here unfortunately!

hasty ruin
#

Always the nintendo Mfs I swear

lyric heron
#

and bash at them!!!

#

Advertise rune there

#

show supremacy

#

if you add landscape mode to rune

#

i'll advertise it

hasty ruin
opal hazel
primal perch
primal perch
#

it’d help if actual jit or hypervisors were allowed but apple so

faint stag
#

the end of the readme is crazy

primal perch
#

given the constraints of the app store its awesome as hell

faint stag
#

cursed bit???

wind ravine
#

can u not hook onto the springboard with seratonin?

#

my tweak works on dopamine but everyone on seratonin said it doesnt work

granite frigate
wind ravine
#

why isnt it working then

granite frigate
#

is it loaded in cocoatop

wind ravine
#

idk i dont have a device to test

#

i only have a dopamine device and it works on that

wind ravine
#

i ended up writing my animation extension in swift instead of objc because i didnt know how to do it in objc but now i kinda wish i didnt

primal perch
hasty ruin
inner yoke
#

Can someone make Serotonin work in ios 15? because there are quite a few people stuck in 15.5-.15.7.1

uneven pulsar
#

but a full jb is close (hopefully)

granite frigate
#

serotonin rn is really hacked up because

  1. it only injects into SB
  2. it relies on roothide
#

also 3. version support but hopefully mineek’s pf will get better

granite frigate
granite frigate
#

yeah yeah i know 😭😭😭

native orbit
#

need rootshow now fr

visual meadow
#

Userspace reboot and everything works

#

I do have this issue tho

granite frigate
#

it’s p interesting

#

peep the tweaklist

visual meadow
#

Do i need extra ents or

#

Hm

granite frigate
#

idk

#

idk what’s wrong lmao

visual meadow
#

Its not pref loader

#

Its not even measuring it

granite frigate
#

whatever is might be dying

oak flax
granite frigate
#

wait could the cause for battery drain be just random shit dying in the background

visual meadow
#

I also fixed the random reboot for me

granite frigate
#

ooo how so

visual meadow
#

Moved jb folder to preboot

granite frigate
#

ah

visual meadow
granite frigate
#

nathand šŸ”›šŸ”

granite frigate
#

@visual meadow have you noticed high CPU usage in SpringBoard

#

im talking 80% kinds of usage

visual meadow
#

No lol

granite frigate
#

you have to quickly switch over

visual meadow
#

Well thats normal afaik

#

Cause its doing stuff lol

#

But when i switch over its like 30

granite frigate
#

OK so there's something def wrong in roothide or my hook

granite frigate
#

I have no clue why either

visual meadow
#

Let me check what it does in stock

granite frigate
#

i suspect this is what's causing battery drain as well

visual meadow
#

Its not able to tell me cpu usage

granite frigate
#

yeah i mean just enter safe mode

visual meadow
#

Does anyone know how to hook the watch ping.caf sound path in a tweak

slender glade
#

Use something to watch for open calls to it's paths and check who the process is

ashen birch
#

can’t lsof do that

#

there’s prob some programmatic way to do it tho

slender glade
slender glade
faint stag
ashen birch
#

isnt snowboard opensource

#

could just look at that then

indigo peak
ashen birch
#

onvm

indigo peak
#

(Last I checked I don’t think it is)

ocean raptor
#

Winterboard is opensource iirc

#

So is anemone

acoustic imp
#

@radiant idol what did you do to learn objc & Oop ?

#

Like did u read guids, watch things, look at other ppls code?

sonic totem
torn cloud
sonic totem
#

That’s not the issue

#

You can’t ā€œdecryptā€ a hash

torn cloud
#

oh

#

lol

brazen timber
hasty ruin
#

lmao

#

16.3.1?

brazen timber
#

it's sha1 šŸ’€

torn cloud
#

most normal redditor on r/jailbreak

faint stag
brazen timber
#

yeah at least pre image attacks exist for md5 and you can bruteforce it reasonably even without it

torn cloud
radiant idol
real nova
torn cloud
#

don't

primal perch
#

sigh

native dune
#

sigh

slender glade
native dune
#

.

slender glade
hasty ruin
#

oh?

fossil geyser
#

Anyone have a guide for making tweaks?
I wanted to recreate Tranzlo and get it working TrollStore/Rootless iOS 15-17

cloud yacht
#

theres a bunch of links regarding tweak dev in the pinned messages

fossil geyser
#

Thanks taking a look

slender glade
torn cloud
#

yes

#

i don't know much arabic

slender glade
#

.

#

nvm

torn cloud
#

that's arabic right

slender glade
#

yes

torn cloud
#

yeah i don't know much

#

i know some urdu

#

kuta

#

teri ma

#

teri bab

#

pudi ka

#

paanchot

#

gar ja

#

kana pakaa

#

sala kuta

velvet path
#

<@&355174844205367317> scam

azure sail
#

where

velvet path
#

oh and it’s gone

#

sorry

azure sail
#

it ok it was in general chat too

velvet path
sterile gazelle
#

yes

#

sorry for the unseriousness on the website though :(

kind herald
#

oh!

vale oxide
#

Beat his ass

visual meadow
sterile gazelle
#

OH

#

WHat is that?

hasty ruin
#

hydrate quick check logs, captinc linked a piracy repo

visual meadow
#

Nah

#

I made the log function in launchd

young meteor
#

capt thanks for sending me a fire piracy repo

visual meadow
#

mov w0, #0
ret

young meteor
#

gonna pirate so much

visual meadow
#

šŸ’€šŸ’€šŸ’€

#

Fast iphone speed difference real

#

Chat im fucked

kind herald
visual meadow
#

Doesnt have cheats for that

kind herald
#

no proof

torn oriole
#

Frcoal

sterile gazelle
#

I’m gonna remove them now, I’m sorry

torn oriole
#

@grave sparrow dm me ss I don't have postbox pocket installed troll

kind herald
#

there is no link

torn oriole
#

Oh browsing is on

#

Skulley

kind herald
torn oriole
#

Until it's fixed trol

#

Bro spoke like he's the mod trol

native dune
#

Fr

#

Moderator of development

kind herald
#

fix it (I'm in your walls)

torn oriole
#

Moderator of the official Zefram discord server (1 Member)

native orbit
visual meadow
#

lol

#

just did it to mac

indigo peak
sterile gazelle
#

done

indigo peak
#

Make a cheat

sterile gazelle
visual meadow
#

too lazy rn but ill try later

sterile gazelle
#

Uploading changes to hit

#

git

indigo peak
sterile gazelle
indigo peak
#

yeah

#

and?

#

it’s on my repo

#

and even if it wasn’t on mine, I don’t remember giving you permission to host it on yours

sterile gazelle
#

Alright

radiant idol
# sterile gazelle

FYI you should take a look at the licenses first before rehosting tweaks

lime pivot
# sterile gazelle

it’s considered pretty rude to rehost other people’s work without permission. you really shouldn’t do that

#

even if it’s free and even if the license says you can do that

timid furnace
#

Generally when the developers are active you should ask first

radiant idol
#

I don't mind if Bolders Reborn is redistributed since the license allows it, but just know that that's not the case for all tweaks

#

So take a look first

indigo peak
#

Don’t even make sense to put nolstext on there since it’s already a arm64e package 😭😭

lime pivot
#

only reason I don’t like it being done to my packages is because it has my name and trademarks on it, but I can’t guarantee what’s inside the package

radiant idol
# sterile gazelle

Also FYI part 2: rehosting pirated versions of tweaks is also not a great look :P

#

(referencing Dynamic Peninsula)

sterile gazelle
#

Deleted that

lime pivot
#

how about addressing the rest of the concerns being raised?

young meteor
#

isn't that required to be british

sterile gazelle
radiant idol
#

The patcher already does everything for you

#

It takes maximum 15 seconds and then you can install you tweak

native dune
indigo peak
visual meadow
#

I dont have to convert for roothide

#

L

native dune
#

Cool but ratio I think

faint stag
sterile gazelle
#

I will later, I have some work to do but I will

native dune
timid furnace
#

p sure we are exempt

faint stag
native dune
#

I know I’m joking

radiant idol
#

are we?

#

i dont think so

native dune
#

Satella

radiant idol
#

oh

#

ĀÆ_(惄)_/ĀÆ

timid furnace
#

man wtf

native dune
#

There’s a separate piracy filter

timid furnace
#

filter bypass!!!

native dune
#

If dev in development don’t filter piracy

timid furnace
#

cant believe you hacked gir to bypass it

native dune
#

Gir hack bypass 2025 leaked

kind herald
#

!

#

Filter bypass

#

stop being above the rules

faint stag
#

weeb devs naming tweaks after anime characters

#

pain

tepid olive
#

I said [REDACTED] here’s how

native dune
kind herald
#

free nexus?

frail spade
#

create a piracy tweak called "the" so its filtered and no one can say "the" anymore

faint stag
young meteor
#

create a piracy repo named GIR so GIR will self destruct

kind herald
#

make a piracy tweak that goes by every letter of the alphabet so nobody can talk anymore

radiant idol
#

create a piracy tweak called Sileo

tepid olive
kind herald
#

why not gold cydia

young meteor
#

make a piracy tweak called icraze

faint stag
kind herald
#

cydia 2

frail cedar
#

alcatraz releases when checkra1n open sources šŸ™

native dune
#

wtf is alcatraz

faint stag
#

procursus install script i made still works Clueless

native dune
#

Why wouldn’t it

faint stag
#

i don't know

native dune
#

Cool tho I didn’t know there was a script

frail cedar
faint stag
torn oriole
#

writing to /etc/paths.d doesnt work ? trol

torn oriole
#

So real

torn oriole
#

Nahtrol

sterile gazelle
#

idk

#

alright

#

I’m gonna take it down for now

#

but something will come s0n

#

(not me tho)

harsh junco
#

Man I love reading licenses

sterile gazelle
#

deleted it

left lantern
#

me when

#

rehosting

cursive rampart
slender glade
#

what's the size for preference bundle icons supposed to be?

native orbit
#

87x87 iirc?

slender glade
#

87x87 seems to be the @3x ver

native orbit
slender glade
hasty ruin
#

29, 58, 87

native orbit
slender glade
#

goat

native orbit
#

i did it again 😭

slender glade
#

thanks

fringe rain
hasty ruin
#

shut up whitename

fringe rain
#

gimme sum roles

faint stag
fringe rain
#

no

ashen birch
#

Shut up Travis Scott

harsh junco
#

Shut up Travis Scott

hasty ruin
#

Shut up Travis Scott

fringe rain
#

mod abuse

#

developer abuse

faint stag
hasty ruin
#

nightwind reference

harsh junco
harsh junco
inner yoke
#

@granite frigate can you add support for Serotonin to ios 15, we have a lot of devices stuck there 😦

slender glade
#

@grave sparrow yo do u recognize what the fuck instructions these r

#

it's from a game lol

#

any idea of the instr set

#

i swear these dont exist in anything ive written in wtf is a txs

#

ofc i am 😭

#

BRUH!

native orbit
#

looks like 6502

slender glade
#

this cannot b c64

slender glade
#

damn that bitch old

#

im railing your mom

native orbit
slender glade
#

capt why dont u go be a farmer or smth

hasty ruin
#

at least you’d have a job…

hasty ruin
#

Yeah true

faint stag
#

says the zefram developer

slender glade
#

does Corellium provide support for versions older than iOS 11? and can it run 32bit apps?

primal perch
#

my favorite 70s ISA

native dune
fringe rain
#

swift is the best language known to man kind

young meteor
#

I haven’t seen that one but I’ve seen a similar one but for Richard Stallman

cloud yacht
#

I should make a anyone but capt license

#

and then licnese like a one line tweak under it

native orbit
#

captless_license.md

young meteor
cloud yacht
#

Fem boy calculator is just name an image under the calculator right?

wheat grotto
#

Why does it work on desktop but not on mobile

#

1st pic on mobile

#

ik, probably shit ui dev

visual meadow
#
    //    if (!self.customFormatTimer) {
    //        self.customFormatTimer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(getTimeInNewFormat) userInfo:nil repeats:YES];
    //    }```
#

this part

#

if its uncommented

#

basically

#

the status bar gets stuck even on lock screen, and doesn't update every 1 second

#

trying to get seconds in status bar working correctly

#

How

#

Did it work on 16

#

16 is like different

steady nest
steep pulsar
#

looking for dev with xcode, appium, and JB experience. need some help finishing an app automation. 1k+ budget

native orbit
#

you ever just assemble in assembly hm

radiant idol
#

capt you don’t count

native orbit
radiant idol
#

ā¬†ļø nerd

brazen timber
native orbit
brazen timber
#

nah wtf why do u have the jetbrains theme on

native orbit
#

idk what it be just downloaded one that looked nice from some site šŸ’€

brazen timber
#

lmfao šŸ’€

radiant idol
#

i should be ashamed

brazen timber
#

I agree

#

you should

native orbit
#

you dont use lightmode at least

radiant idol
#

oh yes I would never do that

visual meadow
#

I separated the apps

#

Settings was kinda fucked with modified shut

#

Shit

ashen birch
wicked summit
#

gm

slender glade
#

@lime pivot another q but is there a way to tell theos to please compile the swift files first

#

in the makefile

#

cause otherwise it tries to compile the .x tweak file and it's like "use of undeclared identifier" well yeah bc u didnt compile the swift files first

lime pivot
slender glade
lime pivot
#

huh ok interesting

#

you could try adding to the bottom makefile Tweak.x: $(THEOS_OBJ_DIR)/MyThing-Swift.h

#

just in case it doesn't get that's a dependency

#

I think that's where it ends up, I'm probably wrong though

slender glade
#

@objc(NotificationServices)
class NotificationServices: NSObject {

#

is there something wrong here

lime pivot
#

hm that should work

slender glade
#

OH

#

I NEEDED TO MAKE IT PUBLIC

lime pivot
#

I wonder if it's a dependency order issue specific to logos files

slender glade
#

im

#

omg

lime pivot
#

oh oh true true

slender glade
#

😭

lime pivot
#

that might also solve the ordering issue

proud ravine
#

how does libkfd get its device info?

#

ios ver etc

#

some guy modified systemversion.plist

sonic totem
#

utsname I believe

proud ravine
#

ty

torn cloud
#

smh

#

Nathan you bricked my phone

slender glade
#

Oh my god brah when will this circlejerk stop

#

no one gaf 😭 it’s the language I take the least time to write shit in now shut up

#

Yeah even when I’d write stuff in Xcode usually I never needed to mark smth as public to use in objc

ashen birch
#

need ur opinion rq capt

#

swift or python

proud ravine
#

anyone know how to hardcode 14.8 offsets into taurine for ip12 with spoofed 16.3? (i didn't do it)

ashen birch
exotic spire
#

The amount of libraries available can't be compared

ashen birch
#

So Real .

lime pivot
#

what’s this?

lime pivot
#

ik you mean unique useful packages

#

js community has a lot of people doing the 5000th take on the same thing rather just getting stuff done

exotic spire
#

Also Python and Swift are 2 different platforms altogether

#

I supposed it won't be an iOS app because haven’t seen any Python to iOS frameworks anywhere

#

If it's a hybrid platform/cloud service then def python would win

#

Rn Swift outside of the iOS scope is just not competitive

slender glade
lime pivot
visual meadow
#

It’s code from Waqt, I’m trying to just get seconds correctly working

random field
#

can someone explain to me, why using -(void)frontDisplayDidChange:(id)arg1 ; from SpringBoard increases the backboardd Daemon extremly high in CPU % usage? (+ 40%)

#

it really seems to get called only if a application is about to open...

#

i cant use it in my tweaks... it will drain the battery -.-

sly knoll
#

Someone knows how to fix SSH&Terminal apps stop working suddenly on rootless?

#

NewTerm returns session ended and SSH gives me password auth failed

#

Have to delete JB environment to fix

hasty ruin
#

Any day

placid kraken
#

does anyone know how i can get like

#

syntax highlighting for methods in objc in vsc

#

like i wanna be able to do ```objc
[UIColor s

#

or can you not do that

hexed knot
#

I don’t think so

placid kraken
#

ok anyway

#

i kinda have no idea what im doing

#
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIKit.h>

UIColor* colorFromHexString(NSString *hexString) {
    unsigned rgbValue = 0;
    NSScanner *scanner = [NSScanner scannerWithString:hexString];
    [scanner setScanLocation: 1];
    [scanner scanHexInt: &rgbValue];

    return [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0];
}

%hook UIColor

+ (UIColor *)systemBlueColor {
    return colorFromHexString(@"#ff94d8");
}

+ (UIColor *)systemRedColor {
    return colorFromHexString(@"#ff94d8");
}

%end
``` this doesnt theme anything in ios
hexed knot
#

What are you trying to do

placid kraken
#

you can probably guess from the snippet

#

ive only worked with app tweaks before

#

never sb like this

#

in theory it should replace the system blue with pink

indigo peak
#

like are you trying to change it in just settings?

#

all of iOS?

faint stag
#

which means uikit

indigo peak
#

yeah

#

well

#

cant assume they properly set the bundle to be uikit

placid kraken
#

oh fuck okay what do i set for uikit

#

its just springboard

#

lmao

indigo peak
placid kraken
#

ok ill try tyyy

radiant idol
indigo peak
#

closest you can get it github copilot trolldisappointed

radiant idol
#

clangd:

#

oh you mean for logos files

#

nvm

faint stag
#

lol

placid kraken
#

i meant just that kind of dx

#

i was thinking "wait thats autocompletion" as i was typing it out lol

#

anyway it worked

indigo peak
placid kraken
#

now time to make it all nice and extensible

placid kraken
#

horror

#

color it with objc

indigo peak
faint stag
hasty ruin
indigo peak
#

i wrote a whole tweak that doesnt use %hook

#

and only uses MSHookMessageEx

placid kraken
#

yea well %hook is so heavily abstracted

#

if you want to do anything even remotely complex you need to use mshookmsgex

indigo peak
#

well its impossible for me to use %hook on what i was trying to do

#

troll

radiant idol
placid kraken
#

lol yea i can think so

indigo peak
radiant idol
#

yes yes

hexed knot
#

When using objc i switch the syntax highlighting to C in vscode

indigo peak
#

oh wait

#

youve seen the code

radiant idol
#

but some people write without using logos for some odd reason even though they dont have to

#

yes i have

placid kraken
#

i dont think you can even put %hook in a loop

#

so

indigo peak
#

yeah i prefer %hook when i can

placid kraken
#

yea its probably really common

indigo peak
#

@placid kraken i used MSHookMessageEx in a for loop

placid kraken
#

yea me too

indigo peak
#

bc i had to

#

@radiant idol can vouch

placid kraken
#

enmity's theming code does it like this

void SwizzleFromDict(NSString *kind, Class class) {   
    NSDictionary *dict = getThemeMap(kind);

    for (NSString *colorName in dict) {
        NSString *originalMethodName = colorName;
        SEL originalSelector = NSSelectorFromString(originalMethodName);
        IMP originalImplementation = method_getImplementation(class_getClassMethod(class, originalSelector));

        // cast the IMP to return an id
        id (*getOriginalColor)(Class, SEL) = (id (*)(Class, SEL))originalImplementation;

        MSHookMessageEx(class, originalSelector, (IMP)imp_implementationWithBlock(^UIColor *(id self) {
            id color = getColor(colorName, kind);

            if (color) {
                return color;
            }

            return getOriginalColor(class, originalSelector);
        }), NULL);
    }
}

%ctor {
    SwizzleFromDict(@"semantic", object_getClass(NSClassFromString(@"DCDThemeColor")));
    SwizzleFromDict(@"raw", object_getClass(NSClassFromString(@"UIColor")));
}
``` lol
indigo peak
#

there was legit zero way to bypass that

placid kraken
#

i spent HOURS

#

trying to get %hook to work in a for loop

#

using xi to make macros and shit

hexed knot
#

What if u put %hook in %group and then do %init in a loop

placid kraken
#

until eternal told me "just use MSHookMessageEx dumbass"

indigo peak
radiant idol
#

very

#

cursed

indigo peak
#

hey

#

if it works it works

#

:D

placid kraken
indigo peak
#

good

#

shoulda stayed out

placid kraken
#

kinda hard to stay out when all the news and stuff are sent here first before anywhere else usually

indigo peak
#

just go in the subreddit

#

everything opa says is instantly posted there anyways

placid kraken
#

im sure the subreddit is more cursed than the server tbh

indigo peak
#

[news] opa took a shit

placid kraken
#

can i build for roothide for the time being so that i dont need to convert my tweak every time after airdropping

indigo peak
#

are you asking for permission:??????

#

wtf

placid kraken
#

no like

#

how do i

#

what do i change

indigo peak
#

oh you need to reinstall theos fr

placid kraken
#

nvm then

#

too much pain

indigo peak
#

nah its pretty easy

#

are you on macos?

placid kraken
#

yea

visual meadow
#

ok so

indigo peak
#

k

visual meadow
#

anyone know how to hook this:

#

/System/Library/PrivateFrameworks/NanoLeash.framework/ping.caf

placid kraken
#

btw whats the difference between atomic and non atomic aka + and - is it just objc's way of static and dynamic???

visual meadow
#

to a different path

indigo peak
#
  1. rm -rf $THEOS
  2. bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"
  3. add THEOS_PACKAGE_FORMAT=roothide to your makefile
#

@placid kraken

#

you can also install over ssh with roothide

#

to cut out airdrop

#

i use iproxy 2222 22 plug my phone in and THEOS_DEVICE_IP=localhost THEOS_DEVICE_PORT=2222

visual meadow
#

ok chat

#

how to hook

placid kraken
# visual meadow ok chat

cant you just

@interface NFMPlayCommands
@end

%hook NFMPlayCommands

- (int)playFindLocallySound(int arg0) {

}

%end
#

or am i stupid

indigo peak
#

idfk

#

wait

#

wrong thing

#

whoops

#

scratch hat

visual meadow
#

b

indigo peak
placid kraken
#

oh

indigo peak
#

@visual meadow

%hook NSBundle

+ (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext {
    if ([name isEqualToString:@"ping"] && [ext isEqualToString:@"caf"]) {
        return @"/path/to/new/ping.caf";
    }

    return %orig;
}

%end
visual meadow
#

what about full path tho

#

so it doesnt confuse another one and play a car horn sound

#

/System/Library/PrivateFrameworks/NanoLeash.framework

indigo peak
#

dude idk youre smart figure it out

visual meadow
#

lo

#

ok

placid kraken
#

wait fiore how can i swizzle all of the methods of a class

#

like can i get all the keys of UIColor

#

and then loop through it with MSHookMessageEx

#

sorry my brain is still very TS oriented

#

omg that bug was finally fixed

#

yay

indigo peak
placid kraken
#

ok so can i filter by systemXyzColor then?

visual meadow
#

send what

#

its in that tweak.xm code i sent before

#

its a 3 liner

#

ok mr zefram boy

placid kraken
timid furnace
#

there's probably a better way to do things

#

than hooking all the system colors

placid kraken
#

well the whole point of the tweak is to allow changing the system colors

#

if youre not hooking the system colors then how are you gonna change them

indigo peak
#

@placid kraken something along those lines

%ctor {
    unsigned methodCount = 0;
    Method *methods = class_copyMethodList([UIColor class], &methodCount);

    for (unsigned int i = 0; i < methodCount; i++) {
        Method method = methods[i];

        SEL selector = method_getName(method);
        NSString *name = NSStringFromSelector(selector);

        if ([name hasPrefix:@"system"] && [name hasSuffix:@"Color"]) {
            __block UIColor *(*originalColorWithCGColor)(id self, SEL _cmd);
            MSHookMessageEx(
                [UIColor class],
                selector,
                imp_implementationWithBlock(^(id self) {
                    return /* new color */;
                }),
                (IMP *)&originalColorWithCGColor
            )
        }
    }

    free(methods);
}
#

you really shouldnt do that though

#

its better to just

#

specifiy which ones you want to hook

placid kraken
#

ive hated doing that it always feels so wasteful

all of that is defined twice now when it doesnt need to be

#

oh im not

placid kraken
#

i have access to the name of the color

timid furnace
#

i thought you were trying to modify what an app uses or something

placid kraken
#

im gonna pull from a dict of prefs probably

#

NSUserDefaults or whatever its called

#

im not gonna manually populate the dict tho

visual meadow
#

anyone know how to hook the badge color on ios 16 home screen

faint stag
indigo peak
#

2 years ago today

hasty ruin
#

fr bruh

faint stag
visual meadow
#

they arent on 16

#

Miserably failing rn

faint stag
#

wild

#

though i heard flexing still works
pray that sb doesn't crash

visual meadow
#

@indigo peak how would i hook this?

#
int +[SBIconBadgeView badgeBackgroundColor]() {
    r31 = r31 - 0x60;
    var_30 = r24;
    stack[-56] = r23;
    var_20 = r22;
    stack[-40] = r21;
    var_10 = r20;
    stack[-24] = r19;
    saved_fp = r29;
    stack[-8] = r30;
    var_38 = **0x1dad194c8;
    [*0x1de6ee4d8 traitCollectionWithUserInterfaceStyle:0x1];
    loc_1c9079cdc();
    [*0x1de6ee4d8 traitCollectionWithAccessibilityContrast:0x0];
    loc_1c9079cdc();
    [*0x1de6ee468 arrayWithObjects:&var_48 count:0x2];
    [*0x1de6ee4d8 traitCollectionWithTraitsFromCollections:loc_1c9079cdc()];
    loc_1c9079cdc();
    loc_1c9079de4();
    loc_1c9079dd8();
    loc_1c9079dcc();
    [*0x1de6ee450 systemRedColor];
    [loc_1c9079cdc() resolvedColorWithTraitCollection:r23];
    r19 = loc_1c9079cdc();
    loc_1c9079dcc();
    loc_1c9079df0();
    if (**0x1dad194c8 == var_38) {
            r0 = loc_1c9079cd0(r19);
    }
    else {
            r0 = loc_1c9079ac0();
    }
    return r0;
}
#

i wan hex color 64C466

radiant idol
#
%hook SBIconBadgeView

+ (UIColor *)badgeBackgroundColor {
    return /*...*/;
}

%end
visual meadow
#

what do i return.........

#

lol

radiant idol
#

ur new color

#

idk

visual meadow
#

bru

radiant idol
#

turn the hex into rgb

#

and then just use

#

return [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:1];

crisp frost
#

Nathan tweak dev??

placid kraken
#

i have my fancy function to turn hex into rgb

UIColor* colorFromHexString(NSString *hexString) {
    unsigned rgbValue = 0;
    NSScanner *scanner = [NSScanner scannerWithString:hexString];
    [scanner setScanLocation: 1];
    [scanner scanHexInt: &rgbValue];

    return [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0];
}
visual meadow
#

lol

placid kraken
#

stolen straight from enmity tweak

visual meadow
radiant idol
#

yay now you can have that ugly grreen!

placid kraken
radiant idol
#

not really

#

the bitshifting is from C

placid kraken
#

also whats the difference between ```objc
[scanner setScanLocation:1];

```objc
scanner.setScanLocation(1);
#

like why is there 2 ways to write the same thing

radiant idol
#

second one isnt valid objc

placid kraken
#

oh so can you only use dot notation for property accessors then

visual meadow
#

@grave sparrow can i have ur update time code

#

dm pls

placid kraken
#

i remember doing self.subviews.count and [self.subviews count] and it gave the same thing

placid kraken
#

okok

#

how would i debug a tweak

#

do i just connect via usb and NSLog to console.app

#

like ive always been doing

radiant idol
#

yes

placid kraken
#

or is there a better way

#

ok cool

radiant idol
#

i think you can use lldb if you really try but i have no clue how

placid kraken
#

lmao fair

#

i was trying to use antoine but it clears all the logs after a respring iirc

#

not ideal

#

lmao apparently class_copyMethodList doesnt give the system color names

#

mf_luminance...

#

oh thats why

#

i think these should be themable aswell

#

ok well it worked

#

everything is purple now

#

lmao

placid kraken
#

wait a minute

#

this is a plist

#

how am i gonna dynamically populate this with all the uicolors

#

can you even do that

timid furnace
#

wat

placid kraken
#

can you dynamically populate a preference page

#

actually

#

probably right?

#

i can render uikit

timid furnace
#

you can dynamically create specifiers

placid kraken
placid kraken
#

xcode is still downloading btw

#

its been stuck at this for the past 10 mins

#

ok ive opted to just installing via brew

visual meadow
#

unxip

placid kraken
#

not the first time i installed it like 5 times before

#

my poor 256gb ssd cant handle xcode installed most of the time

#

and xcode dies completely if you install it on an external ssd

turbid fjord
placid kraken
#

yea i used the xcodes tap

turbid fjord
#

Oh

#

Skill issue then troll

placid kraken
#

ok lets see if theos can install at least

turbid fjord
#

F

placid kraken
#

it cant

#

istg

turbid fjord
#

@lime pivot make Theos better

#

/s

turbid fjord
placid kraken
#

13.1 lmao

lime pivot
turbid fjord
#

Theos should work no?

#

Easily

turbid fjord
#

MTGA

placid kraken
#

yea but i cant install it without having xcode installed

turbid fjord
#

Oh

placid kraken
#

like it literally does not let me

turbid fjord
#

Use xcode 14 I guess

placid kraken
#

yea

turbid fjord
#

Someone has an Xcode compatibility version list somewhere

placid kraken
#

i need 14.1

#

fuck wait xcode 14 is way bigger in filesize

#

😭

faint stag
#

wait there's a brew tap for xcode? man

native dune
#

Oh what I just use xcodes

#

200% faster than App Store

placid kraken
#

ok i figured out why it didnt let me with xcode 15

#

theos only installs if xcode is called Xcode.app

#

i had to rename my xcode to Xcode.app instead of Xcode-15.1.0.app

#

or in this case 14.1.0

#

im building for roothide and it still doesnt accept it 😭

#

i have THEOS_PACKAGE_FORMAT=roothide in my makefile(s) 😭 😭

visual meadow
#
#include <Foundation/Foundation.h>
#include <UIKit/UIKit.h>

@interface SBSystemApertureContainerView : UIView

@end

%hook SBSystemApertureContainerView
- (instancetype)initIncludingSensorRegion:(BOOL)arg2 {
    return self;
}
%end```
#

what am i doign wrong

#

@indigo peak help

#

maybe @radiant idol too

#

(i want to make that method do nothing but that just crashes springboard)

radiant idol
#

return nil

visual meadow
#

this ended up nuking the island:

#
#include <Foundation/Foundation.h>
#include <UIKit/UIKit.h>

%hook SBSystemApertureViewController
- (instancetype)initWithWindowScene:(int)arg0 {
    return nil;
}
%end```
#

ITS NOT ENOUGH!!

#

i think i need to nuke stuff in backboardd too

radiant idol
#

oh are you trying to get rid of the dynamic island

visual meadow
#

yea

#

its gone from sb

#

i think backboardd is rendering it

#

someone needs to figure out what renders the pill

#

i think springboard stillr edners it?

hasty ruin
radiant idol
#

is the dynamic island oop

visual meadow
#

idk

radiant idol
#

that was a joke

steady nest
#

could avoid the code duplication tbh but point stands

#

This should still break taurine since taurine isn't actually spawning and injecting into the real launchd, but into the fake one thonk

native dune
#

have original apple signed ldid at /sbin/laureal or something then do s|/sbin/launchd|/sbin/laureal|g on jbd

#

then sign jbd with the cert in taurine

steady nest
#

yeah

#

also, landa works on 14

native dune
#

nice

radiant idol
visual meadow
#

Idk where it is

radiant idol
#

@hasty ruin icrraaaaaaaaaaze

naive kraken
#

it's written in swift

radiant idol
#

oh what

hasty ruin
#

No wonder it’s buggy

radiant idol
#

the backboard part of it is written in swift?

visual meadow
radiant idol
#

wha

naive kraken
#

im dumb

#

disregard

visual meadow
#

Bruh

radiant idol
#

lol

radiant idol
#

icraze has a 14 pro or whatever

#

you should test

#

trolle

hasty ruin
#

Ok gimme a jb

radiant idol
#

cant you do that with serotonin tho

hasty ruin
#

patch finder doesn’t work

visual meadow
#

I just use my custom thing lol

#

No sileo or anything

#

All manyal

#

Manual

radiant idol
#

@granite frigate help icraze

visual meadow
hasty ruin
#

I tried littleroot but it has the same pf

radiant idol
#

dont use it

#

you're just our test guinea pig

hasty ruin
granite frigate
hasty ruin
#

16.2

granite frigate
#

ok

#

i’ll fix it soon

hasty ruin
#

I tried haxi0’s fork a couple days ago and it worked

granite frigate
#

well not me

hasty ruin
#

but had mad battery drain

granite frigate
#

uh someone made a pr that fixes it

hasty ruin
#

Oh real

granite frigate
#

yeah

cloud yacht
#

How do these not quite jailbreaks even work?

#

Like is it just trollstore or is there other stuff in the chain?

visual meadow
#

overwrite namecache launchd path to coretrust bug signed one

#

use hook in launchd to relocate springboard path

indigo peak
#

please don’t actually use this in release

#

please don’t actually use this in release

#

I beg

cloud yacht
visual meadow
#

Yes

tidal jungle
cloud yacht
#

Ok makes sense

granite frigate
#

i got it working

#

returns a uicolor

#
@interface SBIconBadgeView : UIView
+(id)badgeBackgroundColor;
@end
%hook SBIconBadgeView
    + (id)badgeBackgroundColor {
        return [UIColor colorWithRed:243.0/255.0 green:139.0/255.0 blue:168.0/255.0 alpha:1.0]; // any color
    }
%end

@visual meadow

#

on the other hand what the fuck were you doing to change text color

#

need

#

the badge