#development

1 messages · Page 50 of 1

tepid olive
#

skull tissue

tepid olive
#

how do i build for ellekit, i want to know if i did something wrong

rain tree
#

what are these errors caused by

#

this is after setting my proxy to localhost 8181 on my iphone. commands are also run on my iphone.

primal perch
#

connection

#

refused

quiet agate
#

do you mean widevine_cdm_secured_ios ?

faint timber
#

choicy works fine

quiet agate
quiet agate
split basin
#

I have a question. Is there anyway to help a dev update a tweak for rootless iOS 15? I have been in contact with the dev for AlarmVolume and he said he would be willing to look at updating it, but he doesn’t have a device on ios15.

With just basic knowledge into development (like compiling, using Xcode...etc) is there anyway I could possibly help? Or does anyone have any ideas? I have a device on both iOS 15.0 and 16.0

weary heath
faint stag
quiet agate
faint stag
#

oh, by the way, they allow rooted android devices troll

quiet agate
gentle grove
gentle grove
ripe narwhal
#

need help please

faint timber
#

add the tbd to theos lib folder

ripe narwhal
faint timber
#

I don't know what that is that's something you find since its your tweak or you are building it, it should list deps

quiet agate
faint timber
#

i've used swift like one time

quiet agate
#

so do you prefer obj c than swift ?

#

💀 only to do hacking stuff

gentle grove
#

don't tell llsc

quiet agate
#

yeah, swift is more beautiful to create apps and that kind of thing well i think

gentle grove
#

swift is rust but apple

quiet agate
#

😂 well swift since 2018 is growing more than obj c

#

troll that's true

gentle grove
#

Only trans people use swift

faint timber
#

ironically I used swift when it came out back in was it iOS 8? well I forgot it all

quiet agate
#

soooo

gentle grove
faint timber
quiet agate
faint timber
#

pwn is trans /s

quiet agate
faint timber
#

/s

gentle grove
#

bobabreak

#

god no

faint timber
#

I'd really like to same some shit but its my opinion, its not politically correct, and I'd get banned on the spot for it

gentle grove
quiet agate
#

i am pro

#

can i ? ik python

gentle grove
#

hot maik

#

Mail

timid furnace
#

@grave sparrow gm

#

give me zefram windows phone

quiet agate
timid furnace
#

i need to find that test tweak you told me to test

timid furnace
#

found it

#

oh i remember why i stopped working on this

#

i need substitute for c function hooking to continue my project

robust radish
#

professional hooker?

spiral kiln
#

CarBridge

primal perch
#

CarBridge

tepid olive
#

So when using ellekit, without hooking anything it doesnt crash but when i do hook it crashes, but any hook. Do i need to hook later after the app startet or earlier?

#

nvm it also crashes when i dont hook

#

now

tepid olive
#

For ellekit to work, do i need to not include mobile substrate?

#

or is cydia substrate and movile substrate the same thing

#

And does ellekit have any other libraries that i shouldnt include?

tepid olive
#

Bro just give up

tepid olive
vale oxide
#

is there a version of alderis that isn’t broken for rootless

tepid olive
#

there was somewhere but it was conveniently removed from both frcoal.cfd and pinned messages before ppl verified if the chariz build really works properly

robust radish
tepid olive
robust radish
#

lol yeah not even trying to be rude. I think 3 or 4 people now have sent you sample code or custom libraries for your use-case. you've been given all the resources needed to have it working

tepid olive
#

it doesnt work, even when building it my own

robust radish
#

you couldn't get it working != it doesn't work tho

tepid olive
#

i must be doing something wrong

#

which means i just need to figure out wh

#

y

steady nest
#

have you tried turning it off and on again

tepid olive
#

Can someone give me an example tweak that hooks with ellekit substrate please

tepid olive
grizzled narwhal
#

Hello,
I wanted to know if it was possible to make a tweak that can change the color filters in the iPhone shortcut application on IOS 15.4.1 ?

tepid olive
radiant idol
#

Anyone experience this issue? I'm trying to compile the rootful deb of the tweak for iOS 13 arm64e devices but with the OldABI i get this issue.

I followed the instructions to set it up here:
https://theos.dev/docs/arm64e-deployment

restive ether
#

whatever is calling bash is using an invalid flag

#

since it doesn’t exist

radiant idol
#

huh

#

strange

#

it works fine with Xcode 14 though, that's the thing

restive ether
#

there’s -D but i don’t see a -d

radiant idol
#

hmm

restive ether
#

oh i see it now

#

only for one of the builtin’s though

#

weird issue never seen that before

radiant idol
#

very weird

timid furnace
#

look for any kind of sh or bash step after "making all"

#

or wait

#

theos has a verbose flag

#

use that that should print commands run

nimble parcel
#

it’s supposed to be $(SOMETHING_ELSE) -d but that SOMETHING_ELSE ends up blank

radiant idol
#

Hmm

lucid grove
#

I know minimal things about linux OS and some cybersecurity. Where would a person like me start in development of jailbreaks and IOS bug hunting?

limpid star
limpid star
#

wtf

#

its supposed to link to a genius bar thread

hasty ruin
#

boba skill issue troll

#

works for me

coral gazelle
#

How does bypassing Signed System Volume in userland work? The Apple Wiki says one way is to utilize bind mounts.

limpid star
#

bind mounts cant be used in userland

#

or rather created in userland

#

actually i take that back slightly, you can technically do it but it isn't really "bypassing" SSV (dopamine bind mounts over /usr/lib to patch dyld iirc)

gentle grove
faint stag
ripe narwhal
quiet agate
faint stag
coral gazelle
# limpid star actually i take that back slightly, you can technically do it but it isn't reall...

In theory, could you not bypass SSV, but rather modify it to validate the filesystem against a different hash? You could modify the filesystem, generate a hash of it, package it in an IMG4 and replace the root_hash.img4 file in the preboot partition with it. You would probably need to know what method the hash is generated with in the first place. Screw it, the root hash should be APTicket signed, which would prevent this anyway.

limpid star
#

i mean in theory yeah but that would require knowing apple's private key/breaking their cryptography and what not

coral gazelle
faint stag
limpid star
#

if the private key was stored on-device we would have gotten it a loooong time ago

coral gazelle
coral gazelle
limpid star
#

the hash is recomputed on the device but it must match one that is also provided by apple

#

since the System volume will have the exact same hash for every device

coral gazelle
faint stag
limpid star
#

hash on top of a hash trollsmile

coral gazelle
faint stag
# limpid star hash on top of a hash <:trollsmile:601745914595639306>

also gotta remember:

Each SSV SHA256 hash is stored in the main file-system metadata tree, which is itself
hashed. And because each node of the tree recursively verifies the integrity of the hashes
of its children—similar to a binary hash (Merkle) tree—the root node’s hash value, called a
seal, therefore encompasses every byte of data in the SSV, which means the cryptographic
signature covers the entire system volume.

https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf

limpid star
#

for that, you would need to break RSA (again)

coral gazelle
#

How does the device validate SHSH signatures if it can't create them itself?

limpid star
#

even so, the GID key is difficult to obtain, for example the A4 GID key took hundred thousand dollar equipment and an already existing bootROM exploit to dump

limpid star
coral gazelle
coral gazelle
limpid star
#

well it validates that the signature came from apple so yes nothing is actually "created" on device, its all requested from TSS

#

that's how blobs work, they're just captured "Yes" responses from apple which are then used in a replay attack

coral gazelle
limpid star
limpid star
faint stag
coral gazelle
limpid star
#

the private key itself does that

faint stag
limpid star
#

the key doesnt say "hey im from apple" but since it is completely unique that means it can only come from apple

#

for all intents and purposes both keys and the ROM have no idea they belong to apple, they just know that their keys match and therefore it can be trusted

coral gazelle
limpid star
vale oxide
faint stag
faint stag
#

so you have both the headers and the library?

vale oxide
#

yup

#

tried in theos/lib and theos/lib/iphone/rootless

faint stag
vale oxide
#

am i dumb

#

same thing tho

#

oh im dumb^2

#

thanks

#

there is nothing in the preferences folder

#

did i install the wrong version of preference loader?

faint timber
#

Preference loader has nothing to do with creating preference files that’s up to the processes and tweaks

twilit jungle
faint timber
#

It's extremely astonishing just how much knowledge you lack that other people have

tranquil cedar
#

I'm playing around with a commcenter patch for iOS 15 since I miss tethering. I got the idea from any elihwyma on their work here: https://github.com/elihwyma/commcenterpatch13
I've used Frida to dump class names from iOS 15 but I'm not sure if I've got all of them. It's sort of a "yeet into commcenter and see what happens" attempt, but just wondering if anyone has any tips or advice.

lime pivot
radiant idol
lime pivot
tepid olive
faint timber
#

this is false

tepid olive
#

?

#

i mean mshook function

faint timber
#

I've used jailed substrate since 2016

#

it's never not worked

tepid olive
#

mshookfuncgion too

#

?

faint timber
#

bruh that's the only thing that works

#

every single tweak uses mshookfunction

#

how did you not know this

tepid olive
#

Yes and thats why they dont work on jailed???

faint timber
#

why wouldn't it work on jailed

tepid olive
#

dont ask me

#

It just doesnt, nothing happends at all

faint timber
#

you clearly did something wrong

#

it would crash if anything

#

since it doesn't work in the first place you didn't actually inject the tweak

#

or the function you hooked is never called

tepid olive
faint timber
#

yah so its not injected

tepid olive
#

and i know that it gets executed, and that the function is used

tepid olive
tepid olive
faint timber
#

doesn't matter I used cydia substrate for jailed

tepid olive
#

your trolling

faint timber
#

I'm not?

robust radish
#

oh have you been talking about cydia substrate this whole time?

faint timber
#

why does that matter

#

its the same thing

tepid olive
#

i thought cydia doesnt work on jailed

#

so he told me it does

robust radish
#

lmao it does of course

faint timber
#

if ellekit doesn't work jailed you should use substrate

#

if vise versa, vise versa

tepid olive
#

thats what i tried very first

faint timber
#

maybe the second time is actually broken and first time you just did it wrong

#

or vise versa

#

its highly unlikely that both are broken

#

one should work

tepid olive
#

Ill try again later

tepid olive
#

Were talking anout this one right void MSHookFunction(void *symbol, void *hook, void **old);

faint timber
#

Bruh you literally should be using logos don’t need to manually write substrate calls

lime pivot
radiant idol
tepid olive
#

@faint timber mshookfunction doesn’t work on jailed because it patches instructions… that can’t work without CS_DEBUGGED

tepid olive
#

i just showed it like this cuz i wanted to make sure i did the logo right

tepid olive
vale oxide
#

i have an unused variable

#

but i use the variable

#

above the assignment

#

how do i fix that

tepid olive
#

Ill ask again as my msg from earlier isnt visible anymore. Can someone please give me an example mobile substrate tweak using Ellekit to do MSHookFunction?

vale oxide
#

i needed a header file

#

figured it out

#

now im getting “bad deb” tho

#

ok nvm ignore that last

#

now its just not working and i know thats not helpful so lemi try to figure why

#

seems like preference loader isn’t working

#

%ctor {
    __block NSUserDefaults *prefs = [[NSUserDefaults alloc] initWithSuiteName:@"com.chis.dopetext"];

    NSString *(^stringForKey)(NSString *, NSString *) = ^(NSString *key, NSString *def) {
        return ([prefs objectForKey:key]) ? [prefs objectForKey:key] : def;
    };
    tweakEnabled = ([prefs objectForKey:@"ena"]) ? [prefs boolForKey:@"ena"] : false;
    NSString *colourString = stringForKey(@"YourCustomColour", @"#ffffff");
    col = [SparkColourPickerUtils colourWithString: colourString withFallback: @"#ffffff"];
    tweakEnabled = true;
    if (tweakEnabled) {
        %init(man);
    }
}
#

everything is falling back to false/#fffff

#

no

#

i dont think?

#

imessages

#

it is themeing it just with the defaults i gave it, not sure if that’s what you meant

#

dopamine

tepid olive
#

can i get example tweak tho. I dont need to use ellekit if id have to ask you to make it signable everytime i update my tweak (often) and if i dont understand what you did its useless to me too

vale oxide
#

there is nothing at that path

#

wai

#

wait

#

what

#

well

tepid olive
#

yes but i want an example tweak to compare it to mine and maybe do it like in the example to see if itll work

ocean raptor
#

Link identity editor trol

tepid olive
#

ok thanks ill upload it now

hasty ruin
#

Make dev channel great again

zenith hatch
#

no thanks

opal hazel
#

cameron.

hasty ruin
zenith hatch
hasty ruin
restive ether
opal hazel
#

cameren.

#

to many camerens/camerons to keep track off nowadays

lime pivot
#

probably theos-jailed

zenith hatch
#

idk

hasty ruin
#

make one then

lime pivot
#

didn't you just say one exists

opal hazel
#

Just parse the macho and do it yourself :>

hasty ruin
#

public

lime pivot
#

man

#

yeah I wish it were better

#

you'd think a well-known binary format that occasionally needs manipulation would have a bunch of tools available

zenith hatch
#

true

lime pivot
#

closest it gets is that Apple added vtool at one point

vale oxide
#

there is

#

yeah trying now

timid furnace
#
  1. @tepid olive is this just upstream ellekit? no special building or anything?
  2. single dylib which contains ellekit and all stub functions (substrate, lh)
hasty ruin
#

you missed library

vale oxide
#

it has but its still not working, oh do i have to add /var/jb

#

well its not working

opal hazel
#

I read from there in SnowBoard UI in messages

#

Just fyi

timid furnace
#

wait

#

are you on dopamine

#

@vale oxide

#

just use normal

opal hazel
#

Nah I just read the plist directly, because I'm a naughty boy

timid furnace
#

cfprefsd hook my beloved

opal hazel
#

fuck NSUserDefaults

timid furnace
#

how tf is other stuff getting redirected then

#

what's the tweak running in

#

oh

#

is there anything in /var/jb/var/mobile/Library/Preferences/

hasty ruin
#

Inb4 1 character typo

opal hazel
#

okay no it's not

#

a lie

primal perch
#

not spark dev

#

where is he wtf

opal hazel
#

Gone

#

to pursue a life of solitude

#

Wasn't lying after all, continue with normal programming.

lime pivot
#

sparkn't

opal hazel
#

sadge

vale oxide
#

yes

primal perch
vale oxide
timid furnace
#

and this is from settings?

vale oxide
#

yes

#

libsparkcolorpicker #1

timid furnace
#

ok so you're probably getting pinched by sandbox

#

but just to double check

#

go to console, enable info and debug msgs, and search for dopetext while opening messages

vale oxide
#

????

timid furnace
#

wtf do you mean ???

primal perch
#

dopetext

timid furnace
vale oxide
#

problem

#

im using a linux server that im accessing from my ipad to develop

primal perch
#

no mac?

vale oxide
#

so

primal perch
vale oxide
#

yeahhhh

timid furnace
#

ok i guess you are using antoine

#

[[antoine]]

faint lionBOT
#
Antoine

An Application to view System Logs, commonly known as syslog or OSLog, in real time

Author

Serena

Version

1.2

Price

Free

Repo
Bundle ID

com.serena.antoine

opal hazel
#

Just don't use libraries by that horrible SparkDev guy, then you won't have any issues.

vale oxide
#

@timid furnace

timid furnace
vale oxide
#

wat

timid furnace
#

info and debug messages

vale oxide
#

wher

#

in antoine?

#

or do i have to bake it in to the tweak

#

with theos

timid furnace
#

check the settings icon

#

it should be in there i think

#

been a while since i used antoine

vale oxide
tepid olive
vale oxide
timid furnace
#

so it is already enabled

timid furnace
# vale oxide

is this from after reopening messages, or did you open anything that your tweak injects into in between

vale oxide
#

thats colors

#

no

#

it only goes to messages

timid furnace
#

dafuq

vale oxide
#

not springboard

#

noting

timid furnace
#

why is there /var/empty then

vale oxide
#

?

timid furnace
#

the bottom looks fine, idk about the top

vale oxide
#

did captinc mess it up?

#

/var/mobile/Library/Prefrences/.plist

#

thats what is in the code

#

soooo

#

maybe its opa’s fault

#

there is no private folder or empty folder

primal perch
vale oxide
#

no i think its opa’s fault

#

buttt

#

MORE TESTS ARE IN ORDER

#

this is painful

#

its not going to the path i tell it to

#

why

#

why

#

why

#

@grave sparrow

hasty ruin
#

nice quotes

vale oxide
#

%ctor {
    __block NSUserDefaults *prefs = [[NSUserDefaults alloc] initWithSuiteName:@"com.chis.dopetext.plist"];
    NSString *(^stringForKey)(NSString *, NSString *) = ^(NSString *key, NSString *def) {
        return ([prefs objectForKey:key]) ? [prefs objectForKey:key] : def;
    };
    tweakEnabled = ([prefs objectForKey:@"ena"]) ? [prefs boolForKey:@"ena"] : false;
    NSString *colourString = stringForKey(@"YourCustomColour", @"#ffffff");
    col = [SparkColourPickerUtils colourWithString: colourString withFallback: @"#ffffff"];
    tweakEnabled = true;
    if (tweakEnabled) {
        %init(man);
    }
}
#

ask sparkdev if his library is confusing

timid furnace
#

it apparently works for other people so uh

primal perch
#

colour

#

💀

#

you live in joe biden ville

#

democrat central

#

12$ small coffee

#

worst traffic known to man

vale oxide
#

[DopeText] prefs.dictionaryRepresentation: {
    AKLastEmailListRequestDateKey = "2023-05-19 03:28:55 +0000";
    AKLastIDMSEnvironment = 0;
    AddingEmojiKeybordHandled = 1;
    AppleITunesStoreItemKinds =     (
        "itunes-u",
        movie,
        album,
        ringtone,
        "software-update",
        booklet,
        tone,
        "music-video",
        "tv-episode",
        "tv-season",
        song,
        podcast,
        software,
        audiobook,
        "podcast-episode",
        wemix,
        eBook,
        mix,
        artist,
        document
    );
    AppleKeyboards =     (
        "en_US@sw=QWERTY;hw=Automatic",
        "emoji@sw=Emoji",
        "es_ES@sw=QWERTY-Spanish;hw=Automatic",
        "com.grammarly.keyboard.extension"
    );
    AppleKeyboardsExpanded = 1;
    AppleLanguages =     (
        "en-US",
        "es-US"
    );
    AppleLanguagesDidMigrate = 19B74;
    AppleLanguagesSchemaVersion = 2000;
    AppleLocale = "en_US";
    ApplePasscodeKeyboards =     (
        "en_US@sw=QWERTY;hw=Automatic",
#

[DopeText] col: UIExtendedSRGBColorSpace 1 1 1 1

#
[DopeText] prefs: <NSUserDefaults: 0x28172dc40> ena: (null) YourCustomColour: (null)
#

my thoughts exactly

#

private doesnt exist

#

i didnt go to private

#

just look at the file

vale oxide
#

it renamed it

#

wat

timid furnace
#

no????

#

you need to encode as base64

vale oxide
#

i have enmity

timid furnace
#

and then encrypt

#

and then print out each letter, and mail it via us mail

#

ok priority mail

vale oxide
#
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>YourCustomColour</key>
    <string>#00FFE9:1.00</string>
    <key>ena</key>
    <true/>
</dict>
</plist>

#

I DONT KNWO

#

THIS IS DUMB

timid furnace
#

add nslog before NSUserDefaults

#

then look at log

#

see what it's redirecting

vale oxide
#

its /var/jb/var/mobile/Library/Prefrences

#

NSUserDefaults *prefs = [[NSUserDefaults alloc] initWithSuiteName:@"com.chis.dopetext"];

#

thats what you said to put

#

2nd

#

yea

#

nothing in /var/prefrences

#

its what i put

wanton cedar
#

Last time i checked i only link it in preferences so this is pretty odd

#

I do not have any dopamine devices so cannot test/verify

naive kraken
#

otherwise no

wanton cedar
#

Yeah thats my thought as well Thinking

vale oxide
#

/John cena question

naive kraken
#

oh wait

#

what process are you trying to read the value from?

vale oxide
#

Like with preference loader

timid furnace
hasty ruin
#

actually the process is MobileSMS

twilit jungle
vale oxide
#

this is very helpful thank you guys

twilit jungle
#

No problem, always happy to help

naive kraken
#

yeah you need to put in absolute path (without /var/jb) as the suite name and if you want to access it from a sandboxed process you need to use libSandy

primal perch
vale oxide
#

and its not going from path

vale oxide
gentle grove
gentle grove
primal perch
#

it is fr

vale oxide
#

fr

vale oxide
#

Wer

#

Where

vale oxide
#
chis@seedbox:~/dopetext/libSandy$ ./install*
==> Cleaning…
> Making clean in sandyd…
==> Cleaning…
> Making all for library libsandy…
==> Compiling libSandy.m (arm64)…
libSandy.m:3:9: fatal error: 'xpc/xpc.h' file not found
#import <xpc/xpc.h>
        ^~~~~~~~~~~
1 error generated.
make[3]: *** [/home/chis/theos/makefiles/instance/rules.mk:211: /home/chis/dopetext/libSandy/.theos/obj/arm64/libSandy.m.63673a61.o] Error 1
make[2]: *** [/home/chis/theos/makefiles/instance/library.mk:52: /home/chis/dopetext/libSandy/.theos/obj/arm64/libsandy.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....
==> Compiling libSandy.m (arm64e)…
libSandy.m:3:9: fatal error: 'xpc/xpc.h' file not found
#import <xpc/xpc.h>
        ^~~~~~~~~~~
1 error generated.
make[3]: *** [/home/chis/theos/makefiles/instance/rules.mk:211: /home/chis/dopetext/libSandy/.theos/obj/arm64e/libSandy.m.f35cfbdd.o] Error 1
make[2]: *** [/home/chis/theos/makefiles/instance/library.mk:52: /home/chis/dopetext/libSandy/.theos/obj/arm64e/libsandy.dylib] Error 2
==> Compiling libSandy.m (armv7)…
libSandy.m:3:9: fatal error: 'xpc/xpc.h' file not found
#import <xpc/xpc.h>
        ^~~~~~~~~~~
1 error generated.
make[3]: *** [/home/chis/theos/makefiles/instance/rules.mk:211: /home/chis/dopetext/libSandy/.theos/obj/armv7/libSandy.m.c0053659.o] Error 1
make[2]: *** [/home/chis/theos/makefiles/instance/library.mk:52: /home/chis/dopetext/libSandy/.theos/obj/armv7/libsandy.dylib] Error 2
make[1]: *** [/home/chis/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/home/chis/theos/makefiles/master/rules.mk:119: libsandy.all.library.variables] Error 2
#

@naive kraken

tepid olive
tepid olive
#

hi, how do i create a file at a specifc location in my tweak in c++

tepid olive
#

ok i dont need i found better way

tepid olive
# vale oxide how do i use libsandy profiles?

you put something like this in layout/Library/libSandy/TweakName.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AllowedProcesses</key>
    <array>
        <string>*</string>
    </array>
    <key>Extensions</key>
    <array>
        <dict>
            <key>type</key>
            <string>file</string>
            <key>extension_class</key>
            <string>com.apple.app-sandbox.read-write</string>
            <key>path</key>
            <string>/var/mobile/Library/Preferences/com.example.tweakname.plist</string>
        </dict>
        <dict>
            <key>type</key>
            <string>file</string>
            <key>extension_class</key>
            <string>com.apple.app-sandbox.read-write</string>
            <key>path</key>
            <string>/var/jb/var/mobile/Library/Preferences/com.example.tweakname.plist</string>
        </dict>
    </array>
</dict>
</plist>

and in your tweak, #import <libSandy.h> and libSandy_applyProfile("TweakName")

#

read-only may be enough instead of read-write depending on your needs, in my case i needed read-write

vale oxide
#

It’s just preference loader?

#

So it will just be read right?

#

Oh god English sucks

tepid olive
#

@tepid olive Does the dylib you sent me support hardware breakpoints? iOS

#

this one

waxen grove
#

Aight let’s see, any ideas for a more than just ur regular hello world?

waxen grove
#

Hm?

tepid olive
waxen grove
#

D:

#

What will it obfuscate

tepid olive
waxen grove
#

Brüh

#

High Kring factor

cold basin
#

help me add the content please

stray zenith
#

accidentally said -arm64e version

#

was thinking of
-arm64 = rootful
-arm64e = rootless

#

but accidentally messed up

#

meant to say

#

-arm = rootful
-arm64 = rootless

#

sorry

cold basin
#

and what to do

cold basin
stray zenith
#

lol

stray zenith
cold basin
#

поч файлы русские

waxen grove
#

imagine russian
this post was made by german gang

waxen grove
#

can i do ble shit with this theos thing?

#

need to write an app for using my watch ig

vivid dew
#

wtf russians on discord

#

i thought they were embargoed

raven yoke
#

Does anyone know any tweaks that are updated for rootless that rely on Alderis?

faint timber
#

Jellyfish but not updated

timid furnace
raven yoke
#

thanks, I just tested it, it works

vale oxide
#

how do install libsandy?

#

i think im doing something wrong

#

fatal error: 'xpc/xpc.h' file not found

indigo peak
vale oxide
#

nothing

indigo peak
#

ok so make a xpc folder in $THEOS/include

#
.
└── $THEOS/
    └── include/
        └── xpc/
            ├── XPC.apinotes
            ├── activity.h
            ├── availability.h
            ├── base.h
            ├── connection.h
            ├── debug.h
            ├── endpoint.h
            ├── module.modulemap
            └── xpc.h
#

it should look like this when youre done

vale oxide
#

should i have

project
  libSandy git repo
indigo peak
#

dont think that matters

vale oxide
#
==> Cleaning…
> Making clean in sandyd…
==> Cleaning…
> Making all for library libsandy…
==> Compiling libSandy.m (armv7)…
==> Compiling libSandy.m (arm64e)…
==> Compiling libSandy.m (arm64)…
==> Linking library libsandy (armv7)…
==> Generating debug symbols for libsandy…
==> Stripping libsandy (armv7)…
==> Linking library libsandy (arm64)…
==> Generating debug symbols for libsandy…
==> Stripping libsandy (arm64)…
==> Linking library libsandy (arm64e)…
ld: warning: object file /home/chis/dopetext/libSandy/.theos/obj/arm64e/libSandy.m.f35cfbdd.o was built with an incompatible arm64e ABI compiler
==> Generating debug symbols for libsandy…
==> Stripping libsandy (arm64e)…
==> Merging library libsandy…
==> Signing libsandy…
> Making all in sandyd…
> Making all for tool sandyd…
==> Compiling sandbox_compat.m (arm64e)…
==> Compiling main.m (arm64)…
==> Compiling main.m (armv7)…
==> Compiling main.m (arm64e)…
==> Compiling sandbox_compat.m (arm64)…
==> Compiling sandbox_compat.m (armv7)…
==> Linking tool sandyd (arm64e)…
ld: warning: object file /home/chis/dopetext/libSandy/.theos/obj/arm64e/main.m.ed200450.o was built with an incompatible arm64e ABI compiler
ld: warning: object file /home/chis/dopetext/libSandy/.theos/obj/arm64e/sandbox_compat.m.ed200450.o was built with an incompatible arm64e ABI compiler
Undefined symbols for architecture arm64e:
  "___isOSVersionAtLeast", referenced from:
      _getProcessExtensions in main.m.ed200450.o
ld: symbol(s) not found for architecture arm64e
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/arm64e/sandyd] Error 1
make[3]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/arm64e/sandyd] Error 2
make[3]: *** Waiting for unfinished jobs....
==> Linking tool sandyd (arm64)…
Undefined symbols for architecture arm64:
  "___isOSVersionAtLeast", referenced from:
      _getProcessExtensions in main.m.67826137.o
ld: symbol(s) not found for architecture arm64
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/arm64/sandyd] Error 1
make[3]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/arm64/sandyd] Error 2
==> Linking tool sandyd (armv7)…
Undefined symbols for architecture armv7:
  "___isOSVersionAtLeast", referenced from:
      _getProcessExtensions in main.m.6d0706c4.o
ld: symbol(s) not found for architecture armv7
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/armv7/sandyd] Error 1
make[3]: *** [/home/chis/theos/makefiles/instance/tool.mk:20: /home/chis/dopetext/libSandy/.theos/obj/armv7/sandyd] Error 2
make[2]: *** [/home/chis/theos/makefiles/instance/tool.mk:11: internal-tool-all_] Error 2
make[1]: *** [/home/chis/theos/makefiles/master/rules.mk:119: sandyd.all.tool.variables] Error 2
make: *** [/home/chis/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2
indigo peak
#

@vale oxide

vale oxide
indigo peak
#

thats how to fix

Undefined symbols for architecture arm64e:
  "___isOSVersionAtLeast", referenced from:
      _getProcessExtensions in main.m.ed200450.o```
vale oxide
#

_getprocess

indigo peak
#

what

vale oxide
#

in main.m

indigo peak
#

first of all, its showing the symbol name, so you remove the _

#

so you search for getProcessExtensions

#

and second of all, its in ./libSandy/sandyd/main.m

vale oxide
#

That’s where i was looking but the _ fucked it up

cloud yacht
vale oxide
#

Of the function

primal perch
rugged jay
#

hello , does anyone know why i get this error ?

ld: warning: invalid -install_name (/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate) in dependent dylib (/Users/sopppra/theos/vendor/lib/libsubstrate.tbd). Dylibs/frameworks which might go in dyld shared cache cannot link with dylibs that won't be in the shared cache

makefile :
xxx_LIBRARIES = substrate

i cheked with otool

@rpath/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)

faint timber
#

you really shouldn't add that to makefile

ocean raptor
ripe narwhal
#

Hello all👋

I'm start learning obj-c you can say noob

I'm trying to compile luki20 source code:

https://github.com/Mighel881/NetflixToggle.git

it's compiled without errors, and it's worked perfect on ios 14. and when I compiling it for rootles iOS 15 dopamine. after installing toggle appear in control center setting but not showing in control center

need to know why and how to fix

thanks in advance

GitHub

Quick tweak to show how you can create a simple CC toggle - GitHub - Mighel881/NetflixToggle: Quick tweak to show how you can create a simple CC toggle

radiant idol
vale oxide
#
make[2]: *** Waiting for unfinished jobs....
==> Compiling Tweak.x (arm64)…
Tweak.x:7:27: error: expected parameter declarator
int libSandy_applyProfile("profile");
                          ^
Tweak.x:7:27: error: expected ')'
Tweak.x:7:26: note: to match this '('
int libSandy_applyProfile("profile");
#

wat

#
#import <libSandy.h>
int libSandy_applyProfile("profile");
#

@radiant idol

#

you have any idea?

radiant idol
#

not sure

#

ive never used libsandy

timid furnace
#

uh

#

are you declaring the method or calling it

vale oxide
#

calling

#

i think?

timid furnace
#

then why is int in front of it

vale oxide
#
==> Compiling Tweak.x (arm64)…
Tweak.x:7:23: error: expected parameter declarator
libSandy_applyProfile("profile");
                      ^
Tweak.x:7:23: error: expected ')'
Tweak.x:7:22: note: to match this '('
libSandy_applyProfile("profile");
                     ^
Tweak.x:7:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
libSandy_applyProfile("profile");
#

when no int

#

soooooooooooooooo

vivid dew
#

you probably just put it outside of a function

vale oxide
#

?

#

it needs to be in a function

indigo peak
#
libSandy_applyProfile("profile");

opposed to

int function() {
  libSandy_applyProfile("profile");

}
vale oxide
#

thats what im doing

vivid dew
#

yes like that

vale oxide
#

libSandy_applyProfile("profile");

#

is my code

vivid dew
#

post the code

vale oxide
#
#import <libSandy.h>
libSandy_applyProfile("profile");
indigo peak
vivid dew
vale oxide
#

wat

vivid dew
#

you gotta hit the books man

#

learn some C

indigo peak
#
#import <libSandy.h>
%ctor {
  libSandy_applyProfile("profile");
}
vale oxide
#

why doe

indigo peak
vale oxide
#

this is dumb

#

actually

#

no

#

that makes sence

vivid dew
#

no common sense here trol

vale oxide
#

python is getting to me

indigo peak
gentle grove
#

@vale oxide you need a main function, you can't just write lines of imperative code at top level lmao

gentle grove
#

otherwise you're declaring external functions

#

And wtf is #import

#

is this c or something else

indigo peak
#

objc

gentle grove
#

oh OK that makes more sense

indigo peak
#

#import handles for duplicate includes i think

gentle grove
#

aka too lazy to do a #ifndef guard

vivid dew
#

what other languages would we be using in here

indigo peak
#

basically

gentle grove
#

idk you said c so I thought c

vale oxide
gentle grove
#

do you even know what that is

vale oxide
#

im lazy

#

yeah

indigo peak
vivid dew
#

stop that

#

allow him room to learn

vale oxide
vivid dew
#

we're trolling here, not bullying (except capt)

vale oxide
#

well lets see if it works

next wadi
#

@indigo peak

#

gm

gentle grove
#

jaidan

next wadi
#

hi

gentle grove
#

develo

vale oxide
#

not working

#

shit

next wadi
vale oxide
#

not even injecting anything

gentle grove
#

pavement

indigo peak
vale oxide
#

libSandy_applyProfile("profile");

#

wrog

#

{ Filter = { Bundles = ( "com.apple.MobileSMS" ); }; }

#

theer

#

not showing up in anemone

#

wat

#

shit

#

i have no idea

indigo peak
#
@import Foundation;

%ctor {
  NSLog(@"[DEBUG] test");
}
tepid olive
tepid olive
#

how do i log an array

tepid olive
#

i need to make every int to char

indigo peak
#

bro what

vivid dew
#

tr

waxen grove
#

aight so i want to write an app that can connect and work with a bluetooth le device i own, is there some sort of example i can borrow stuff from?(also do i need to be jailbroken to do that?)

#

https://www.instructables.com/IOS-App-for-Adafruit-Feather-NRF52832/ i found this but i currently have nothing to run xcode on(too lazy to hackintosh again) and idk if that applies to this theos thing

Instructables

IOS App for Adafruit Feather NRF52832: The Adafruit Feather nRF52832 has a BLE (Bluetooth Low Energy) functionality that has a lot of potential to be used in many different projects. In this Instructable, I will be stepping through a project where I created an iOS application that would …

acoustic imp
#

@unkempt raft does this mean like i could just move it manually or did i do somthing wrong (trying to compile cardculator)

unkempt raft
#

can you verify the framework has been compiled and outputted to that path?

acoustic imp
#

uhh, idk but in the folder isnt in the folder that i git cloned

#

byt but theres this

#

@unkempt raft

unkempt raft
#

also, what command are you runnning for compiling Comet?

acoustic imp
acoustic imp
#

where its trying to move it

#

like this ?

unkempt raft
#

$THEOS is probably /Users/tesla3092/theos

#

(in your case)

#

so move it to /Users/tesla3092/theos/lib/iphone/rootless/

acoustic imp
#

yea ik

acoustic imp
#

right

acoustic imp
#

k

unkempt raft
#

obviously copy the entire folder

#

not just executable

#

fyi

acoustic imp
#

yea

#

but still getting this, should i move the file/folder to the path its complaining about ? @unkempt raft

unkempt raft
#

run ls $THEOS/lib/iphone/rootless/

#

what's the output

acoustic imp
#

do i need to restrat term?

#

im on a VM SSH'ed into it btw

unkempt raft
#

hm

#

how are you compiling the tweak?

acoustic imp
#

make do THEOS_PACKAGE_SCHEME=rootless

unkempt raft
#

yeah should be right

#

hm

acoustic imp
#

nothing ever works for me smh, im on mac os monteray is that the prob?

unkempt raft
#

shouldn't be an issue

acoustic imp
#

any other logs or sm i could check?

unkempt raft
#

i'm thinking

acoustic imp
#

cardculator isnt in the "developer" folder u said to clone it into on your site, but that shoouldn't be a problem right?

unkempt raft
#

obviously not

#

it's something else

#

idk

acoustic imp
#

do i need somthing elts installed?

unkempt raft
#

try also copying the framework to just $theos/lib

#

not moving

acoustic imp
#

whats your ls $THEOS/lib/iphone/rootless/
look like?

unkempt raft
#

but copying

#

so it's in both places

acoustic imp
#

k

#

and try recompiling

#

or make spm first?

acoustic imp
#

should i try rebooting my VM?

#

or like restrating theos some how

unkempt raft
#

if latter, try reinstalling

acoustic imp
acoustic imp
unkempt raft
#

wait

#

i think i know what can be the issue

#

did you switch to orion branch?

#

cd $THEOS && git fetch && git checkout orion && git submodule update --init

acoustic imp
#

yea

#

i ran that comand before ding anything

#

@unkempt raft

unkempt raft
#

hmm

#

try reinstalling theos i guess

unkempt raft
#

you can't for some reason compile Comet correctly

acoustic imp
#

i have procurse bootsrtap installed is that the problem?

#

i think

radiant idol
#

@silver rampart Is headers.cynder.me down? just tried to access it and it says its down

hexed knot
#

@lime pivot @primal perch how do you make native windows gui programs with c in 2023

#

what do u use

#

or c++

lime pivot
#

you'd want to use C++

hexed knot
#

which lib

lime pivot
#

well, probably better off starting with C# really

hexed knot
#

nah im good

lime pivot
#

the "modern" way is WinUI which supports C++ and C#

hexed knot
#

alr

lime pivot
#

that supports Windows 10/11

#

if you need a "full" desktop app though you can use WinRT which is sort of an improvement of the old school Win32

hexed knot
#

ok i know some win32 until i stopped learning bc it pissed me off

lime pivot
#

yeah RT should solve a bunch of those headaches, not all but most at least

hexed knot
#

damn i really need a new ssd im running out of space

hexed knot
#

no

radiant idol
#

alright

vale oxide
#

tweak is not even getting to %ctor anymore

#

dont know how that could be possible

#

how would i even debug this

vale oxide
#

I didn’t have libsandy installed fr

cloud yacht
#

Might want to put that in your depends

grim sparrow
vale oxide
#

So

#

Yeah fixed that

vale oxide
#

its always returning light blue

#

but thats not in any of my deafaults

vale oxide
#
NSUserDefaults* prefs = [[NSUserDefaults alloc] initWithSuiteName:@"/var/mobile/Library/Preferences/com.chis.dopetext.plist"]; 
    NSLog(@"[DopeText] prefs: %@ ena: %@ YourCustomColour: %@", prefs, [prefs objectForKey:@"ena"], [prefs objectForKey:@"YourCustomColour"]);
    
#

returning

#

light blue even though i deletdall the plist files except my main one and re jailbroke

coral gazelle
#

I'm wondering how it could be possible to jailbreak a device like the HomePod that has no visible connection to a computer or ability to install apps (at least I think you can't install apps). I was thinking maybe you could make use of a vulnerability where processing a malformed plist file would lead to arbitrary code execution. You would connect the HomePod to a DNS server that redirects the HomePod to a custom server containing the malformed plist when it tries to check for updates using the software update XML on Apple's servers (https://mesu.apple.com/assets/audio/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml). This would be initiated by going into the Home app and checking for HomePod software updates. However, I'm not entirely sure whether it's the HomePod itself that checks the software update XML or whether it's the device you initiate the check from. If it's the latter, this technique would be useless.

cloud yacht
#

iirc, checkra1n can work on the homepod, but I don't think there is much it can do

#

Yeah v0.21.1 advertises:

Partial support for the original HomePod (CLI only, tested to work with audioOS 13 and 14)

#

other than that I'm not sure how one would go about it

timid furnace
#

Home pods have dfu

lime pivot
lime pivot
#

it’s still cached in memory otherwise

celest quiver
gaunt helm
celest star
#

What the best way to determine rootless or rootful env? Does anyone know it?

coral gazelle
lime pivot
#

hopefully they don't die after 2 years

vale oxide
lime pivot
vale oxide
#

im not cause that wasn’t working

#

lemi get my code

#

    libSandy_applyProfile("profile");
    NSUserDefaults* prefs = [[NSUserDefaults alloc] initWithSuiteName:@"/var/mobile/Library/Preferences/com.chis.dopetext.plist"]; 
#

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AllowedProcesses</key>
    <array>
        <string>*</string>
    </array>
    <key>Extensions</key>
    <array>
        <dict>
            <key>type</key>
            <string>file</string>
            <key>extension_class</key>
            <string>com.apple.app-sandbox.read-write</string>
            <key>path</key>
            <string>/var/mobile/Library/Preferences/com.chis.dopetext.plist</string>
        </dict>
        <dict>
            <key>type</key>
            <string>file</string>
            <key>extension_class</key>
            <string>com.apple.app-sandbox.read-write</string>
            <key>path</key>
            <string>/var/jb/var/mobile/Library/Preferences/com.chis.dopetext.plist</string>
        </dict>
    </array>
</dict>
</plist>
vale oxide
#

killall -HUP cfprefsd

#

i had to completely restart my ipad for changes to take effect

#

i mean i understand why this is happening, i know what a cache is

#

but how fix ya know

#

if i reboot user space it works

#

but thats not really user friendly

lime pivot
vale oxide
lime pivot
#

erm, don't

#

if you need to do that then you're doing something very wrong

vale oxide
#

yeah thats what i thought

lime pivot
#

if you're in a sandboxed process you may need Cephei (not yet ready for iOS 15/16 tho)

vale oxide
#

OPAAAAA

#

this worked on xina

#

😦

#

i already have 3 dependencies

restive ether
#

because xina is hacky 😟

vale oxide
#

true

#

but im lazy and this is way harder

vale oxide
lime pivot
#

wdym normal preferences

vale oxide
#

like the NSUserDefaults

#

or will that not change anything

#

what should i do now? just wait for cephi support and use this hacky method? @lime pivot

dreamy mason
#

hey guys

#

i gotta upload a jar file to gist but how do i do that?

vale oxide
#

wat

#

use github

dreamy mason
#

wdym wut

#

no it must be gist

#

Look someone has a jar file in their gist

#

but when i try to upload a jar file

vale oxide
#

why are you using gist

#

btw

dreamy mason
#

I need it for something

#

I tried to google it but can't find someone uploading a jar to gist

vale oxide
#

first google result

dreamy mason
#

he creates a file

#

I need to upload a file

vale oxide
#

keeps looking and look up how to upload a file to a github gist

lime pivot
#

create a gist, like make a readme.md or txt file or whatever

#

grab the repo url and clone it on your machine

#

add whatever files and push

lime pivot
dreamy mason
#

git clone <url>?

lime pivot
#

there's a box with a copy button after you create it, just copy paste that

dreamy mason
#

how to add files and push it?

dreamy mason
vale oxide
#

com.apple.MobileSMS

lime pivot
#

you did commit, of course?

#

did it make a new entry in the revisions tab?

lime pivot
vale oxide
#

and that works

#

but i need to run the command on every change

#

how can i run a command with sudo from obj-c

lime pivot
#

I really recommend you don't go down that path, it's very likely going to cause more problems trying to kill cfprefsd for every value change

vale oxide
primal perch
hasty ruin
#

Issue closed, behaviour is intended TE_GIGACHAD2

vale oxide
#

how would i use it

#

hypothetically of course Troll

tepid olive
#

there is only an unofficial build so far

tepid olive
#

so it still goes through cfprefsd

#

or if you're gonna skip cfprefsd then just modify your preference bundle to also read/write the plist directly instead of using cfprefsd

vale oxide
#

what should i do with @interface HBPreferences : NSObject in my .h file

robust radish
#

what do you mean?

#

it didn’t when Harbor was made 💀

vale oxide
#

@grave sparrow

#

oh i got confused when i saw this

#

#import <Cephei/HBPreferences.h>

#

is what i have

#

oh wait thats right

#

hmmmm

vale oxide
#

How do i fix that

cold basin
#

help add rutles support

coral gazelle
lime pivot
coral gazelle
torn oriole
#

unless its some kind of swd port then idk trolley

coral gazelle
lime pivot
#

I have a feeling the ipsws aren't public

tepid olive
#

they are for homepod mini only

harsh junco
#

I’m trying to compile Ve for rootless on 15.4.1, I’m doing something wrong?

cold basin
#

I need to do rootless tooSadge

coral gazelle
lime pivot
wheat grotto
#

Actually true

#

its complaining about clang missing

tepid olive
#

Is there something like hooking on mac

restive ether
#

ellekit

timid furnace
#

or substitute if you need c hooking on x86_64

tepid olive
#

libhooker also works ig

timid furnace
#

ig

#

@robust radish are your changes public

#

or do i just use coolstar/libhooker

robust radish
#

there are a few branches on my fork of the repo with some optimizations and a bunch of additional unit tests, but most of my changes are not public yet. I'm working on preparing it for a tvOS 15/16 jb, afterwards everything will be opened sourced. The OSS basebins that are currently public are outdated and may cause you problems on newer iOS/tvOS versions

vale oxide
#

nothing is showing up in preference loader after i re jailbroke

#

with dopamine

#

i clicked remove jb and it seemed like nothing actually got removed

timid furnace
#

i'm injecting through kernelspace

#

so i just need the core hooking lib

vale oxide
#

should i try to remove again?

steady nest
#

ios 8 strap 🙏

wise perch
#

So uhhh who wants to update Zenith (formerly apex) for dopemine use?

cloud yacht
#

Seeing as its a paid tweak, thats not open source, that would require rewriting from scratch, so uhh no thanks

#

and the original author hasn't update for iOS 14 jailbreaks so good luck getting that done

wise perch
cloud yacht
#

Nope

hasty ruin
harsh junco
wheat grotto
#

r u sure

#

maybe its not where its supposed to be

robust radish
#

already done

harsh junco
primal perch
#

/var/sus

lost nebula
#

how actually possible is it to get arm64e afc3 coretrust on ios 15

vivid dew
lost nebula
#

what

twilit jungle
lime pivot
wise perch
#

I am quite fine without the tweak

#

Id learn what I’d need and do it myself before shelling out $3k for a jailbreak tweak that I’d sell for, what, $1.99?

lime pivot
#

we'd always be happy to help you learn if that's where you want to go, just wanted to make sure you understand a few dollars isn't enough to justify the work needed

wise perch
#

I’ve never gotten into tweak dev but I’ve been around since iOS 2 so I know the “industry” and history, so to speak.
Not easy stuff. Kudos.

lime pivot
#

ah, a jb veteran 🙃

#

glad you've stuck around!

wise perch
#

Indeed. Took a break between iOS 12 and now but I still have a couple of untethered laying around

#

8.4 and 9.3.4

#

Broke my OG iPhone and 3GS…

robust radish
#

shortcut is to tweak the tweak, to fix whatever issues it has. that should be easier and a lot faster than reimplementing the entire thing

lime pivot
#

could ask @lapis vessel to hand off the code to someone he trusts

wise perch
#

The real question is… and like I said, I’ve been away for a while so this could sound ignorant/out of the loop but… activator? Is petrich out? I recently learned about saurik’s big moves…

lime pivot
#

I haven't seen much from him lately. seems he's moved on and is busy with his job and life and all

wise perch
#

Life… who needs it

#

Kidding. Gotta do what you gotta do.

harsh junco
tepid olive
#

Is cydia substrate a trampoline hook? If not what is a trampoline hook

silver rampart
tepid olive
#

what does stp do

silver rampart
#

so what we do is make a 'trampoline' instead, which runs those first two important things, then jumps to our added (evil!) code

#

is the basic concept

tepid olive
#

so it jumps from original to own with setting up params or what that is and then goes to the actual own functions

silver rampart
#

yeah

tepid olive
#

and its called trampoline because it does 2 jumps?

silver rampart
#

presumably

tepid olive
#

thanks

harsh junco
#

Ellekit is cool

tepid olive
#

Is runtime byte patching possible on jailed?

celest star
#

The tweak can't be pasted from clipboard in Dopamine, anyone know why?

robust radish
coral gazelle
#

Is there an entitlement that can be granted to an application via the CoreTrust Root Certificate Validation Vulnerability to make it automatically run on boot? I'd assume such a thing doesn't exist.

tepid olive
#

but that’s annoying

timid furnace
#

what is GUARD_TYPE_MACH_PORT

primal perch
#

@grave sparrow @grim sparrow

#

@hasty ruin

grim sparrow
primal perch
tepid olive
#

some crashes like that are just bc of null mach ports

timid furnace
#

Time to check

#

"exception" : {"port":4813,"signal":"SIGKILL","guardId":0,"codes":"0x00000000000012cd, 0x0000000000000000","violations":["INVALID_OPTIONS"],"message":"mach_msg_trap() called with msgh_id 4813. The trap is not allowed on this platform.","subtype":"GUARD_TYPE_MACH_PORT","type":"EXC_GUARD","rawCodes":[4813,0]},

#

well then

#

i replaced it with mach_vm_remap

#

it works now

#

maybe something changed in ventura to break substitute's manual_mach_vm_remap thing

tepid olive
#

probably

#

the syscall changed i guess

#

@timid furnace you won't be able to hook mach_vm_remap then though...

timid furnace
#

idc about mach_vm_remap

tepid olive
#

and also many syscalls

faint stag
#

well it tells you the error there
you got permission denied (EPERM) for whatever is trying to do a spawn syscall
quite sure you can't just spawn a child process in normal sandboxed ios app or in a sandboxed location (which is where the files exist)
if you want to do that, it's probably better to see if you can do that in ISH because that's an alpine linux container and not whatever code app does

timid furnace
#

now substitute's symbol finder is broken

tepid olive
#

skill issue

#

use ellekit's symbol finder

#

it'll take u a while to fix it

timid furnace
#

works prayge

tepid olive
#

how did u fix it

timid furnace
#

man

#

this code funny

#

use ellekit to find symbols and substitute to hook 💀

tepid olive
#

lol

timid furnace
#

do u really have no plans to add x86 c hooking

faint stag
tepid olive
#
ElleKit:(ellekit) 0.6.3
Choicy:(com.opa334.choicy) 1.4.9
Cylinder Reborn:(com.ryannair05.cylinder) 1.1.1
AltList:(com.opa334.altlist) 1.0.10
CCSupport:(com.opa334.ccsupport) 1.3.10-2
#

These are the only things that break ellekit 1.0