#development

1 messages · Page 31 of 1

indigo peak
#

in a script

#

lmao

faint stag
#

i decided to be lazy and just use the .app folder name because they're usually the same fr

faint stag
#

output is consistent so i just trimmed by 24 characters (.app/Contents/Info.plist) at an index of 14 which is everything after /Applications/
i made another variable for the trim length, just not in this screenshot

vivid dew
primal perch
gentle grove
#

Shadow

#

It must be real

naive kraken
#

it would be fine though as long as both don't die at the same time

#

This is exactly what I was using on 15.1.1 but it's patched in 15.2 I think

#

Idk about open source jailbreakds, I wrote my own one that can just do krw via XPC and handoff full stable krw to any process that wants it

naive kraken
steady nest
naive kraken
steady nest
naive kraken
#

nothing is handed to iDownload afaik it directly tells oobPCI what to do

steady nest
#

oof

indigo peak
#

is it possible to programmatically install an AppStore app w a jb

warped thicket
#

yes

#

not going to be easy though

#

Essentially all you have to do is get the IPA downloaded in tmp directory then call out to installd

#

As long as the account you're downloading from is the same as the logged in one on the phone

wheat grotto
#

Has anyone here messed with ESP8266s and round LCDs that use the GC9A01 driver chip ? Having some issues connecting one up to a WEMOS D1 Mini clone

warped thicket
blazing vault
#

I need to find out why Get My Shortcuts > Choose from List > Get Object of Type WFWorkflowRecord crashes Shortcuts on 13.5.1

I know the cause of the crash (WFContentCollection addItem: is called when nil, I know since attached code below fixes the crash) so now to figure out why tf it's called when nil

%hook WFContentCollection
-(void)addItem:(id)arg0 {
 if (arg0) { //if not null
  %orig(arg0);
 }
}
%end
#

WFGetClassAction (from ActionKit) seems to use [WFContentCollection addObject: named:] (from ContentKit) which I'm pretty confused by since addObject:named: only calls addItem: once, not in a loop, and after debugging seems like a ton of addItem: calls were made without recalling it, and I don't think [[WFContentItem itemWithObject: named:] calls the addItem: method either

// WFContentCollection
-(void)addObject:(id)arg0 named:(id)arg1 {
    [self addItem:[WFContentItem itemWithObject:arg0 named:arg1]];
}
restive ether
#

do the rest of the commands nerd

#

which one

#

sad for still using lzma

hasty ruin
#

society if frida ios worked on more than 12 devices globally

hasty ruin
next wadi
#

untrue

#

you all missed me so bad

pearl sail
#

nope

hasty ruin
faint stag
#

where does frida not work?

hasty ruin
#

seems to only be reliable on old u0 🗿

hasty ruin
faint stag
#

wyd

tepid olive
#

debug it then

faint stag
#

pls tell me that icraze actually knows how to use frida

tepid olive
hasty ruin
#

most common is just connection closed

tepid olive
#

cs jbs are bad i guess

hasty ruin
#

sometimes get failed to attach and a list of registers

pearl sail
faint stag
#

i mean, i had odysseyra1n but idk if that counts

#

it's really only libhooker there but everything kernel is checkra1n shrug_boyo

tepid olive
#

the libhooker stack there is completely different

pearl sail
#

I imagine it is LH issue more than anything related to those jailbreaks but I can be wrong

tepid olive
#

true

#

it is a libhooker issue

#

frida might try to get tfp0

#

and that only works on old u0 + checkm8 jailbreaks

faint stag
faint stag
#

why?
well

<?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>com.apple.springboard.debugapplications</key>
    <true/>
    <key>com.apple.backboardd.launchapplications</key>
    <true/>
    <key>com.apple.backboardd.debugapplications</key>
    <true/>
    <key>com.apple.frontboard.launchapplications</key>
    <true/>
    <key>com.apple.frontboard.debugapplications</key>
    <true/>
    <key>seatbelt-profiles</key>
    <array>
        <string>debugserver</string>
    </array>
    <key>com.apple.private.logging.diagnostic</key>
    <true/>
    <key>com.apple.security.network.server</key>
    <true/>
    <key>com.apple.security.network.client</key>
    <true/>
    <key>com.apple.private.memorystatus</key>
    <true/>
    <key>com.apple.private.cs.debugger</key>
    <true/>
</dict>
</plist>

the developer dmg should container a debugserver exec that has these entitlements

wind ravine
#

why is file importer saying invalid file when i try to get the data yet it shows a valid url?

hasty ruin
#

it just never works for me

faint stag
#

fr

faint stag
hasty ruin
#

just realised it now fails to install

#

(libzstd1 is installed)

#

elu

#

fresh c1 install

#

can i have your strap

ocean raptor
#

What is fakecursus

indigo peak
#

how do i use hookf to hook this function i found in ida

#

if the function header is __int64 __fastcall EMDetectorJailbreakStatus(int *a1)

grim sparrow
ocean raptor
#

Ew

indigo peak
ocean raptor
#

Oh is that Amy's proxy thing

indigo peak
#

that?

grim sparrow
#

No

#

Hookf has been around for yonks

#

It’s for nerds who don’t know to use mshookfunction

grim sparrow
indigo peak
grim sparrow
#

The docs are wrong then!

indigo peak
#

!

indigo peak
grim sparrow
#

No

#

The search image is the path to the dylib ur searching

tepid olive
#

@indigo peak for the MSFindSymbol argument, use _dyld_get_image_header(0)

#

MSImageRef = image header pointer

#

image 0 = the app you’re injected into

#

this won’t work on ellekit injector but yea

#

@grim sparrow this is correct right?

indigo peak
#
%hookf (int, EMDetectorJailbreakStatus) {
    NSLog(@"EMDetectorJailbreakStatus called");
    return %orig;
}

%ctor {
    %init(EMDetectorJailbreakStatus = MSFindSymbol((MSImageRef)_dyld_get_image_header(0), "_EMJailbreakDetector"));
}

@tepid olive this is correct right?

tepid olive
#

yes

indigo peak
#

doesnt work

tepid olive
#

Lmao

indigo peak
#

wait

tepid olive
#

just dlsym it

indigo peak
#

question

tepid olive
#

you don’t need msfindsymbol

indigo peak
#

so the function isnt in the main apps binary

#

its in a framework

grim sparrow
#

Oh you fool!

indigo peak
#

thank you!

#

i forgot about that!

grim sparrow
#

That was not specified!!!

tepid olive
#

dude

#

so

indigo peak
#

i know!!!!

tepid olive
#

iterate over every index of dyld_get_image_count

#

try to msfindsymbol with every index

grim sparrow
#

Alternatively just NSBundle frameworkTitled:

tepid olive
#

eventually you’ll get it. print the _dyld_get_image_name()

grim sparrow
#

and get the path that way

tepid olive
#

he doesn’t know the framework name

indigo peak
#

i do

tepid olive
#

okay then dlopen that

#

or use this code, which is faster and better

#

dlsym(dlopen(nil, RTLD_LAZY), symbolname)

#

make sure to remove the first underscore in the symbol name for dlsym

indigo peak
#

and symbol name is the binary name in the framework

tepid olive
#

it’s the function name

indigo peak
#

oh shit

tepid olive
#

remove the first underscore

#

make sure

indigo peak
#

dlsym(dlopen(nil, RTLD_LAZY), EMDetectorJailbreakStatus)

#

ok

#

so

tepid olive
#

yeah that will work

indigo peak
#

so i set the var in the ctor to that?

tepid olive
#

yes

indigo peak
#
%hookf (int, EMDetectorJailbreakStatus) {
    NSLog(@"EMDetectorJailbreakStatus called");
    return %orig;
}

%ctor {
    %init(EMDetectorJailbreakStatus = dlsym(dlopen(nil, RTLD_LAZY), EMDetectorJailbreakStatus));
}
tepid olive
#

that function name has to be a string

#

why isn’t it in quotes

#

otherwise ur good

indigo peak
tepid olive
#

lmao

tepid olive
#

At least it doesn’t inject in every process

#

Wait no this breaks on most jailbreaks

ocean raptor
#

Which is funny

ocean raptor
#

@grave sparrow your patch introduced a regression

#

test this please

diff --git a/ldid.cpp b/ldid.cpp
index d031709..8067e70 100644
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -116,7 +116,7 @@
 
 bool flag_w(false);
 bool flag_U(false);
-std::string password;
+std::string password = "";
 std::vector<std::string> cleanup;
 bool flag_H(false);
 
@@ -1826,7 +1826,7 @@ class Stuff {
             exit(1);
         }
 
-        if (!flag_U) {
+        if (PKCS12_verify_mac(value_, "", 0) == 0 && !flag_U) {
             char passbuf[2048];
             UI_UTIL_read_pw_string(passbuf, 2048, "Enter password: ", 0);
             password = passbuf;
#

no

#

it should not prompt for a password if the password is blank

#

that is how ldid has always worked

#

prompting for passwords is something that we added in procursus ldid

#

@grave sparrow did it work, yes or no?

#

I don't have a p12 with a password to test it

#

wait

#

what was wrong with how it was

#

why did you change it

#

LDFLAGS=-rpath /opt/procursus/lib

#

DYLD_FALLBACK_LIBRARY_PATH=/opt/procursus/lib ./ldid

#

don't tell me what to do

#

last time I did that you introduced a regression

#

I am a minor 🧍‍♂️

#

from testing it obviously

#

did you seriously think I was going to tag a new release without testing

#

ok, I didn't see any other issues...

indigo peak
#

@grave sparrow i don’t think flexdeceypt works on iOS 15

primal perch
#

@grave sparrow captinc

#

fr

nimble tide
#

Will it be reasonable to install Linux on iphone?

faint stag
primal perch
#

@grave sparrow

#

ft

#

fr

tall shale
#

.

mellow zephyr
#

Please i need help about getting alert when user touches the statusbar please (ios 15)

#

I have even asked chat gpt :D

#

But I can't still do this

#

Obj-C or Swift doesn't matter

#

Really i need help <@&355177530061357057>

#

If you can help me you will be real geniuses™️

chrome iris
#

our role does not cover development assistance but im sure theres someone that would be happy to help

exotic spire
hasty ruin
#

well, get developing!

exotic spire
#

But someone in here will probably help you, just wait it out

exotic spire
mellow zephyr
#

Ok

mellow zephyr
#

Ok really thx

#

Still don’t know how to do that

hasty ruin
#

then learn the basics first

mellow zephyr
#

Ok i have learned the basics

#

But I tried like 20 ways and ask the AI, but still don’t work

hasty ruin
mellow zephyr
#

Ok then what is learning

#

Just send me some guides or something

#

I have 4 year experiemce with programming, but yeah i’m new to obj-c

warped thicket
#

Do you know how to write code

hasty ruin
#

Pinned message in this channel

mellow zephyr
#

I have created few easy tweaks

#

I have openssh theos setup

#

@hasty ruin

mellow zephyr
#

Looks good thx

hasty ruin
hasty ruin
#

what you see

faint stag
#

I'm on android skull

hasty ruin
#

bruh

#

not even canary has it

#

@warped berry-user

#

oops

faint stag
#

I forgot i had aliucord

#

I haven't seen a message link in ages

hasty ruin
#

wait

#

genius used modded client

faint stag
hasty ruin
#

what is your token?

faint stag
hasty ruin
#

Thanks 👍

faint stag
#

skull

tepid olive
faint stag
tepid olive
#

another zefram code leak

#

how do you even get that speed

#

It’s not slow

#

How fast is iterating every symbol

#

Try it

#

CoreFoundation is an early image

#

The last images will take very long to get to

#

That is the problem

naive kraken
#

then go from there

#

I highly doubt going over all symbols in the dsc is neccessary

#

not a thing, all symbol finders can find the objc_direct methods

tepid olive
naive kraken
#

like objc_direct is supposed to completely remove all mentions of the method, make it act like an unexported C function, but apple then faced the issue that they want proper logs and unexported C functions aren't exactly easy to decipher, so they put in fake objc method names as symbols in the DSC so that crash logs are still symbolicated

#

all objc_direct methods in the DSC have symbols

#

and an example would be -[CFPrefsDaemon handleSourceMessage:replyHandler:] in CoreFoundation

#

(this is the symbol name)

naive kraken
tepid olive
#

i’ll do that

naive kraken
#

the code is really cryptic and has a bunch of unneeded things I think

#

but idk for sure

#

ah I think you can probably get the location to search at from the library loaded at runtime

cloud yacht
wind ravine
#

how can i get push notifications on my app without a dev account?

#

like how altstore and the clipboard app do

faint stag
wind ravine
#

its not for an app store app

#

but i cant enable the compatibility even

#

i dont have a developer account

faint stag
#

you don't need a paid dev account for notifs, you just gave examples of apps that have it

ocean raptor
wind ravine
#

how

#

i have the code to send the notification but it doesnt work

wind ravine
#

oh

ocean raptor
#

people in #development when they have to read docs instead of people writing code for them

wind ravine
#

im still confused

#

unless im missing something

#

i did register for notifications when the app is open but it doesnt end up asking the user to enable them

#

i do this on open but nothing happens: UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { (success, error) in }

ocean raptor
#

skill issue

wind ravine
#

h

#

is there some capability i need to enable that im missing

tepid olive
#

hey, @upper hull can you look in dms? i have a question about trollsotre on the tv

#

trollstore

ocean raptor
#

@wind ravine here is how you do it correctly

#
system("uinotify -b \"wow a notification\" \"notification title\"");
#

rate my code

#

1-10

misty cradle
#

🥰

#

i wonder what intern wrote this

primal perch
#

its good

faint stag
#

Smh

misty cradle
#

yeah

#

i think

#

yeah xamarin

zenith hatch
#

oh wait i think you may need dev acc for that

#

idk

primal perch
#

hi

wind ravine
#

i found the issue

zenith hatch
#

what was it

wind ravine
#

i did a big stupid

zenith hatch
#

i can tell

wind ravine
#

i wasnt calling the app delegate

#

so the command to ask for notif permissions never even showed up in the first place fr

zenith hatch
#

rf

hasty ruin
primal perch
indigo peak
#

bro i was reading your picture @wind ravine

#

and then it just went

#

bam

primal perch
#

apple should drop swift and use rust

wind ravine
#

my bad

primal perch
#

unironically

indigo peak
#

idk

#

you can delete

tepid olive
primal perch
#

100%

tepid olive
#

@grave sparrow ok yeah the performance issues r gone

#

Why

#

Just use dlsym

#

The shared cache header doesn't change

#

Why would you parse in a remote process

primal perch
tepid olive
#

Why would you need to update your fork dude

#

This is about the shared cache

blazing vault
tepid olive
#

I don’t get it

tepid olive
primal perch
tepid olive
#

Seek help

#

Therapy

#

the extra slowness

primal perch
#

i did it wasnt worth the effort

tepid olive
#

i agree

primal perch
#

nor cost

tepid olive
#
typealias FileHandleC = UnsafeMutablePointer<FILE>
extension FileHandleC {
    @inline(__always)
    func readData(ofLength count: Int) -> UnsafeMutableRawPointer {
        let alloc = malloc(count)
        fread(alloc, 1, count, self)
        return alloc!
    }
    
    @discardableResult @inline(__always)
    func seek(toFileOffset offset: UInt64) -> UnsafeMutablePointer<FILE> {
        var pos: fpos_t = .init(offset)
        fsetpos(self, &pos)
        return self
    }
    
    @inline(__always)
    var offsetInFile: UInt64 {
        var pos: fpos_t = 0
        fgetpos(self, &pos)
        return .init(pos)
    }
    
    @inline(__always)
    func close() {
        fclose(self)
    }
}
#

force inline

#

trol

primal perch
wind ravine
#

now i need help getting an mp3 file to convert to an m4a file on the fly

#

ive searched for solutions and haven't really found anything other than something for swift 4 (doesn't work anymore) and AudioKit which doesn't allow me to convert to m4a

faint stag
#

just looking at github

#

and that's AVFoundation btw

wind ravine
#

no idea where to go from there

faint stag
#

there was an attempt at a swift ffmpeg implementation but that was 7 years ago, so uhh

indigo peak
wind ravine
#

NO WAY IT WORKED FIRST TRY

indigo peak
#
void mp3ToM4A(NSURL *mp3, NSURL *output) {
  AVURLAsset *asset = [AVURLAsset assetWithURL:mp3];
  AVAssetExportSession *outputSession = [[AVAssetExportSession alloc] initWithAsset:asset presetName:AVAssetExportPresetAppleM4A];
  outputSession.outputFileType = AVFileTypeAppleM4A;
  outputSession.outputURL = output;
  [outputSession exportAsynchronouslyWithCompletionHandler:^(void) {
    switch(outputSession.status) {
      case AVAssetExportSessionStatusCompleted:
        NSLog(@"Successfully converted mp3 to m4a");
      case AVAssetExportSessionStatusFailed:
        NSLog(@"Failed to convert to mp3 to m4a: %@", outputSession.error);
      default:
        break;
    }
  }
}
#

that would prob work on objc

#

no clue

wind ravine
#

o i did mine in swift

indigo peak
#

idk swift

wind ravine
#

me neither

gentle grove
faint stag
#

(he doesn't perform)

pearl sail
#

ED at your age is sad get that shit checked out by urologist bro

primal perch
#

PIED

#

(porn induced ED)

hasty ruin
#

duality of #dev

tepid olive
#

L

hasty ruin
tepid olive
#

Censorship >>

hasty ruin
#

mf

tepid olive
hasty ruin
primal perch
#

fr

wheat grotto
#

how fix

#

im using phpmyadmin and tryna connect locally

hasty ruin
#

Sir this is McDonald’s

wind ravine
#

will corrupting the mobilegestalt plist cause it to regenerate?

delicate hatch
#

?

#

like idk that's my first tweak

#

so

#

i just want some heklp 😭

#

yeah

#

ah!

#

it works fine

#

lol

hasty ruin
#

You can have emoji domains

delicate hatch
#

yh

#

there's one country which allows emojis in domains

#

for 2k i think

delicate hatch
#

d'you know why it's doing that ?

hasty ruin
hasty ruin
delicate hatch
#

imma just leave it like that then

hasty ruin
#

i like women

tidal jungle
#

that’s crazy

hasty ruin
autumn stone
#

Does anyone know anything about SecCodeSignerCreate from Apple? Is there any reason developers use ldid over that, since that's native to iOS and directly from Apple?

mellow zephyr
#

@hasty ruin

#

I have read the guide that you sent me and it's the same that the guide I have read in the past, so is there any more in-depth or harder guide?

autumn stone
#

I had a colleague send it to me, and it seemed interesting, just thought i'd ask around

mellow zephyr
#

Because this is too easy, and I want to be better at this before I'll go into real tweak development

ocean raptor
#

Go ahead, port Security.framework to Linux

autumn stone
#

That makes way more sense, actually

ocean raptor
#

What happens when apple adds new codesigning requirements that older Security.frameworks don't support?

#

Are you going to backport Security.framework?

autumn stone
#

We've been working on SideStore for a while, and everything's being done on-device with iOS, I just wasn't sure if it was viable compared to just sticking with ldid/AltSign. Thank you guys for the insight! Care

faint stag
#

i know trivial stuff, unlike you guys lol

ocean raptor
#

Write captsign than

autumn stone
#

Riley did it, why can't you? hehe

ocean raptor
#

Kabir with supersign is the real goat

#

Doesn't require a computer at all

#

No it doesn't

#

It doesn't use ldid either

faint stag
#

oh yeah, speaking of codesign, apple does tend to mess with that a lot over the years troll

ocean raptor
#

Objc is not portable

restive ether
#

how does his even work when his ldid fork is all messed up

autumn stone
#

Riley's?

restive ether
#

and yeah they've changed codesigning requirements like 5 times in the last 3 years

ocean raptor
restive ether
ocean raptor
restive ether
#

oh

ocean raptor
#

Not altstore

autumn stone
#

Is ldid that bad? I'm very confused

faint stag
restive ether
#

what's not to love about some agpl saurik code

restive ether
ocean raptor
#

Not to brag or anything

#

@grave sparrow use ipsw macho sign

restive ether
#

yeah that

#

L bozo

autumn stone
#

I haven't looked too much into signing, most of the AltStore code functions fine, it's just been reimplementing AltServer code on-device that's been suck

#

But redoing AltSign would be nice for the future

ocean raptor
#

I can't believe you would say that about @amber bone's baby

#

You probably don't even have it starred on GitHub

#

Yeah, cause capt code is so much better than saurik code trol

restive ether
#

lets see type century source then

ocean raptor
#

I'm not so sure

faint stag
#

capt when he adds a flag but no documentation

restive ether
#

baby saurik

#

...

faint stag
#

and when he doesn't, it's usually readable

#

you're bad at both

ocean raptor
#

Remind me in like 8 hours

ocean raptor
amber bone
#

I just got the weirdest feeling of déjà vu.

faint stag
amber bone
#

Nah it’s VERY therapeutic

faint stag
#

coming from someone that works with arm64 asm

primal perch
#

or just make a naked function, use asm inside it and have the compiler do the heavy lifting

#

it is but if youre pre assembling already then its easy and you dont need to do i/o args

#

asm("br x8")

#

fly emirates

naive kraken
autumn stone
#

The person I heard it from said it was on iOS

naive kraken
#

That's weird, I always assumed it only existed on macOS

autumn stone
#

It’s all on their open source site, so presumably it could be ported over to iOS, no?

#

Idk any reqs, on mobile rn, but..

naive kraken
#

that source code is terribly out of date afaik

autumn stone
#

It could only be on macOS, idk. Ofc no real documentation anywhere, so who really knows besides Apple abyss

#

Since we’ve been looking into redoing the signing for SideStore, it’d all be done from iOS anyway, so we’re not too worried about crossplatform support, but that does make sense from everyone else here saying similar.

naive kraken
#

well for what it's worth stuff signed with codesign does not work for me because of the ios 15 signing changes

#

only ldid works

naive kraken
#

and always have been

ocean raptor
#

??

naive kraken
#

also latest xcode

autumn stone
ocean raptor
#

Codesign is part of macOS, not Xcode for some reason too

naive kraken
#

but whatever I do, every time I use codesign, no matter what arguments I use / don't use, I always get posix_spawn error 85

ocean raptor
#

Like the wireguard app?

#

Why do you need that?

autumn stone
#

At least it’s an App Store app

#

To trick lockdown into talking to us on device

ocean raptor
#

Why don't you just create your own vpn profile

autumn stone
#

lockdown doesn’t accept loopback, but it accepts it through VPN if it comes from 10.7.0.1, lmao

indigo peak
#

bro just use sideloadly to install ipsws

#

sign it yourself

autumn stone
indigo peak
#

no

autumn stone
#

We wanna support free users, so we use a specific WireGuard config. Paid accounts could prob have it directly in SideStore, but we haven’t touched that at all

ocean raptor
indigo peak
#

for what

autumn stone
#

I think we’re using WireGuard’s protocols to do the trickery, so we’d need it in some capacity for everything functions. Though I’ve never looked into iOS profiles for VPNs

indigo peak
#

mobile or macOS

ocean raptor
#

Use IKEv2/IPSEC/whatever so that you don't need an app

indigo peak
#

what does it look like now

#

what should the UI have

ocean raptor
#

@grave sparrow finish procursus 3

#

For probreak

pearl sail
ocean raptor
pearl sail
#

Cause of sep

faint stag
ocean raptor
#

Procursus 3

#

That's the official name

#

Not to be confused with procursus or procursus 2

faint stag
ocean raptor
#

?? No, it's swiftUI

zenith hatch
#

whar

pearl sail
faint stag
#

trolling

faint stag
# pearl sail Really? Interesting

i don't know what i'm talking about skull

the ppl and pac stuff are just extensions of oobpci really
ofc you need kernel r/w for those but that's what oobpci is for

in reality you'd just have to drop the other bypasses out of the chain and fuck with offsets, these aren't logic bugs like fugu14

tepid olive
#

Wouldn’t the pac bypass just do nothing

faint stag
#

so probably not nothing troll

indigo peak
#

true

#

@grave sparrow hook a C function for me thats in a framework that i know the name of

#

in logos

#

not zefram

#

bc i know youd do that

#
void updateJailbreakDeviceFlag()
{
  jailbreakDevice = 1;
}```
#

yes

#

_updateJailbreakDeviceFlag __text 00000000000BC378 00000010 R . . . . . T .

#

do i put void updateJailbreakDeviceFlag() at the top of the file

tepid olive
#

don’t do %orig lmao

ocean raptor
indigo peak
#

you have to?

#

i think

#

theos complains

#

error: use of undeclared identifier 'updateJailbreakDeviceFlag'

#
Undefined symbols for architecture arm64e:
  "_updateJailbreakDeviceFlag"
#

if i add void updateJailbreakDeviceFlag();

#
void *updateJailbreakDeviceFlag = NULL;
%hookf(void, updateJailbreakDeviceFlag) {
    NSLog(@"fat cock");
    %orig;
}

compiles but doesnt work

#

@grave sparrow does hookf work if the function is in a framework and not in the main binary

ocean raptor
#

Have you considered the possibility that this is a skill issue

indigo peak
#

i have an idea

#

no i have an idea

tepid olive
#

just use MSFindSymbol

indigo peak
#

yeah

#
void *updateJailbreakDeviceFlag = NULL;
%hookf(void, updateJailbreakDeviceFlag) {
    NSLog(@"[Tweak] fat cock");
    %orig;
}


%ctor {
    MSImageRef image = MSGetImageByName("@rpath/CoreComponent.framework/CoreComponent");
    if (!image) {
        NSLog(@"[Tweak] Failed to find CoreComponent");
        return;
    }

    updateJailbreakDeviceFlag = MSFindSymbol(image, "_updateJailbreakDeviceFlag");
    if (!updateJailbreakDeviceFlag) {
        NSLog(@"[Tweak] Failed to find updateJailbreakDeviceFlag");
        return;
    }
    NSLog(@"[Tweak] Found updateJailbreakDeviceFlag at %p", updateJailbreakDeviceFlag);

    %init;
}
#

Found updateJailbreakDeviceFlag at %p runs

#

but fat cock doesn't

ocean raptor
#

Simple

#

Logos is deprecated

ocean raptor
indigo peak
#

what ab mshookfunction

tepid olive
#

Logos is deprecated

pearl sail
#

fr

timid furnace
#

yea you can it's literally the example on theos.dev

indigo peak
#

figuring it out

pearl sail
#

anyone wanna buy me some meth

naive kraken
#

which is slow af

#

I'm dumb

#

When doing it like in the screenshot you can obviously pass in whatever image you want

#

But there was another syntax where you could put the string into the hookf and it would call MSFindSymbol(NULL, string)

pearl sail
#

aite sending you my paypal info

naive kraken
#

like %hookf(BOOL, "_MGGetBoolAnswer", CFStringRef string) <= that's the one you want to avoid at all costs

timid furnace
# indigo peak ```objc void *updateJailbreakDeviceFlag = NULL; %hookf(void, updateJailbreakDevi...
void updateJailbreakDeviceFlag();
%hookf(void, updateJailbreakDeviceFlag) {
    NSLog(@"[Tweak] fat cock");
    %orig;
}

%ctor {
    MSImageRef image = MSGetImageByName("@rpath/CoreComponent.framework/CoreComponent");
    if (!image) {
        NSLog(@"[Tweak] Failed to find CoreComponent");
        return;
    }

    void* updateJailbreakDeviceFlagPtr = MSFindSymbol(image, "_updateJailbreakDeviceFlag");
    if (!updateJailbreakDeviceFlag) {
        NSLog(@"[Tweak] Failed to find updateJailbreakDeviceFlag");
        return;
    }
    NSLog(@"[Tweak] Found updateJailbreakDeviceFlag at %p", updateJailbreakDeviceFlag);

    %init(updateJailbreakDeviceFlag = updateJailbreakDeviceFlagPtr);
}
#

this should work, it's basically what i do

#

except i just put MSFindSymbol directly in init

indigo peak
#

nope

timid furnace
#

what app is this

#

and are you sure the function is even being called

indigo peak
#

no its not compiling

#

not not working

indigo peak
#
address of function 'updateJailbreakDeviceFlag' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    if (!updateJailbreakDeviceFlag) {
#

but if i fix that error

#
  "_updateJailbreakDeviceFlag", referenced from:```
timid furnace
#

the fuck

grim sparrow
#

Go on

timid furnace
#

i'll try compiling here

#

because i fixed the typos on my end and it compiles for me

grim sparrow
#

Haha

#

Bear with

#

backgroundColor and secondaryBackgroundColor are your friend

#

secondaryBackgroundColor is ur view background and backgroundColor is your cell background

#

If you use a dynamic provider it automatically updates when user switches light mode/dark mode

#

So you don’t need to worry about listening for that change

#

What?

#

I forgot you had access

#

I don’t care lmao

#

It’s the most simple file in the project

indigo peak
#

😄

timid furnace
#

brb pirating Aemulo ThemeManager.swift trol

indigo peak
grim sparrow
#

No

#

TintColor is the tint colour

#

Like the UISwitch colour

#

secondaryBackground is vc background

#

background is cell background

#

It is on newer versions

#

On older versions you had to fiddle with it manually

#

Tbh I should be converting theme manager to an enum

grim sparrow
#

Just make a UITableViewCell

#

Bear with

#

AemuloApp/Aemulo/UI/Base Views/BaseTableViewController.swift

#

let cell = self.reusableCell(withStyle: .default, reuseIdentifier: "Aemulo.DefaultCell")
cell.accessoryType = .disclosureIndicator
switch indexPath.row {
case 0:
cell.textLabel?.text = String(localizationKey: .HARDWARE_INFO)
default: fatalError("Literally Impossible")
}
return cell

restive ether
#

dear liberal

grim sparrow
#

Hello Cameren!

restive ether
#

hello gaymy

grim sparrow
#

It’s not an exact match

#

It’s dumb

#

Plus not backwards compat

#

That aemulo class was originally built for iOS 11

#

Everything ur trying to do is actually documented

timid briar
#

@naive kraken Hi, regarding the Twitter mention about how autofill isn't working w/ Bitwarden installed via TrollStore, I saw this in the syslog:
In a pastebin b/c a lot of output: https://pastebin.com/2qB9kbzW

Is this an indication that the plugin just won't work?
It does mention that the "Requestor lacks required entitlement" so idk if this is some entitlement issue, or just that the plugin can't work

(Also I think someone misspelled acquire as "aquire" lol)

indigo peak
#

sick

ocean raptor
#

It's on the App Store

#

And open source

#

Just open a PR

timid briar
#

Cause Fugu15 broke my AppStore lol

ocean raptor
#

Why do people use fugu15?? It doesn't even give tweaks androidskull

#

Or just install Bitwarden before jailbreaking????????

timid briar
#

Just for fun idk
I obviously know not to go around rm -rf’ing things
It just broke outta nowhere

#

No it’s broken even in stock

faint stag
timid briar
#

Idk if that’ll work I can’t even use like sideloadly

#

Errors out

faint stag
#

wtf

#

use normal install with sideloadly

#

since the app is signed

timid briar
#

Sec I have a screenshot

#

Same in the syslog

#

I think it’s less of an App Store being broken thing and more of installing apps itself

faint stag
#

so that happens with any app?

timid briar
#

Really? Thought this would be indicative of an error

faint stag
#

well my idea was to try an app store signed app

#

and see if it would install

#

since trollstore has to call installd too

timid briar
#

Is ipatool macOS only or cross platform?

faint stag
#

macOS only atm

timid briar
#

Ah ok, I’m on windows

faint stag
timid briar
#

ideviceinstaller?

faint stag
timid briar
#

So theoretically that would work?

#

Oh downloader

#

Nvm

faint stag
timid briar
#

Do you have a link to blue shields? All I can find are blue cross blue shield links lmao

faint stag
#

lol

timid briar
#

Oh ok

#

Do you know of any that would be accepted to talk about here lol

#

Well anytrans

#

I’ll see if I can get it to work

native dune
#

it makes an app container then just uicaches it

#

could be wrong

faint stag
tepid olive
#

The fuck

#

Someone needs to teach them inlining

#

why can’t they inline that

primal perch
#

that would be slower anyway

tepid olive
#

what

#

How

primal perch
#

for one i thought you were talking about outlining so mb

#

two it can be

#

because of code size bloat

#

and L1 cache misses

tepid olive
#

Bro

#

To call the function you need an instruction

#

The function is one instruction

#

Also the function call will not be cached

#

So what does it matter

primal perch
#

Fly Emirates

#

arm is an abstract ISA

#

there are arm chips that are dogshit
see: qualcomm

#

ok valid

faint stag
primal perch
faint stag
#

mediatek and samsung exynos you should look at

primal perch
#

if you value freedom more than raw performance android still has a market but nobody would willingly choose the worse chip all else equal

indigo peak
#

@primal perchal

primal perch
#

nfr

#

he is 15

indigo peak
#

too old for you?

primal perch
faint stag
primal perch
#

gay furry thing

faint stag
primal perch
#

fr

#

:3

faint stag
#

:3

primal perch
#

im 18

#

wtf you stole years from jaidan or sum

indigo peak
primal perch
#

yall used to be the same age i swear

#

"i should go write a modern implementation of substrate"

faint stag
#

substrate and modern cannot be in the same sentence bro

primal perch
#

i will only be supporting x86-64

#

intel iphone 🙏

faint stag
primal perch
#

i tried and got like basic add and movs implemented then realized this sucks

elder scaffold
#

young people chat

primal perch
#

the x86 encoding is not designed for human understanding lets just say that

#

density above all else

faint stag
#

me and shep wen

primal perch
#

@primal perch@grave sparrow

#

refly emirates

faint stag
primal perch
faint stag
primal perch
#

dwayne the cock johnson

#

:3

grim sparrow
#

Set the tableview type to inset grouped

#

That’s the default height, you don’t need to override that

#

If you use inset grouped as the type

#

And then this method

#

Wait

#

Where in settings is it centred

#

Might have to look into private methods

faint stag
#

(it's not a good one)

grim sparrow
#

Ok that’s not too bad actually

faint stag
#

radio? don't those views exist already with the check marks and stuff

naive kraken
grim sparrow
#

Disclosure indicator and didSelectRow

primal perch
#

@grave sparrow intjcapt

#

do swiftui then its the same

warped thicket
#

Anyone know how to pull an icon from LSApplicationProxy

#

I called iconDataForVariant and converted the NSData to base64

#

but that didn't do it

ocean raptor
#

Wait, maybe not

#

I know how to get it from a bundle Id

warped thicket
#

I just saw _applicationIconImageForBundleIdentifier

#

Going to try now

ocean raptor
#

No

#

On UIImage

tepid olive
#

anyone can develop me a tweak taking btc live price?

#

@tepid olive yeah sure. i’ll do it for 1 btc

primal perch
#

ill do it for half of one

tepid olive
#

i’ll do it for a fourth

#

Why would we do it for free?

high citrus
#

Would it be possible to cause a softbrick when unjailbroken, or enable password when unjailbroken. Could be useful to for checkrain on iPhone X, combined with simulating a fake lockscreen when jailbroken.

#

hmm not really an option lol

#

But theoretically causing a softbrick shouldn’t be that difficult right? The hard part is to deactivate it when jailbroken.

cloud yacht
#

I mean if your doing something like a tehtered downgrade, this is basically how it functions anyways

tepid olive
#

does anyone know why tf this happens despite the setter method supposedly being added?

#

screenshot of code is what logos.pl spits out

#

this issue only happens on xina

#

every other property seems to be fine

#

and i cannot reproduce this issue at all, so im at a loss

primal perch
#

xina

#

oh

pearl sail
#

The mistake was developing for something that is half assed troll

tepid olive
#

it’s so annoying 💀

grim sparrow
#

I know theres a programmatic way to invoke the swipe handler

#

like

#

to make all the actions show

#

the easiest way is probably just make the handler for the swipe action call a function

#

and then just call that function from the uimenu

#

yeah

#

make it a separate method that both things call

#

you shouldnt rely on your swipe action handler to do your uimenu stuff

#

bad design

#

yep

#

make a view model

tepid olive
#

real

tepid olive
#

had the tweak fully disabled

#

and it was still crashing

#

even though it just returns from the constructors if it's disabled

#

so no hooks were even being loaded

#

and nothing was going on besides checking preferences

#

combined with the fact its impossible to debug anything on xina

indigo peak
#

sick

#

nfr

tepid olive
#

hire ios_euphoria to make it

#

unfortunate

indigo peak
#

can i see @grave sparrow ?

low ginkgo
#

;;p

primal perch
#

swiftui: cant do it wrong if you can barely do anything to begin with

indigo peak
#

@grave sparrow what "lang" are you doing it in

#

objc, swift, swiftui

#

xamarin

#

such a slay 💅 💯 👑

tepid olive
#

the best.

vivid dew
#

swift

primal perch
tepid olive
#

rare triangle L

primal perch
#

capt when he uses non standard #import in C and gets marked down

#

if you have a single .c file in zefram with #import ur fired

#

oh god

#

thats just as bad as GNU c

#

#import is great

#

but its not C

#

i would be happy to see it in C2x

#

but until then i am using #include and include guards

indigo peak
#

someone find a way to wipe a folder using dirtycow

pearl sail
#

someone find a way to get @grave sparrow's mother to stop sucking my dick with a dirty mouth

faint stag
ocean raptor
#

Bro thinks gcc is irrelevant

#

Capt is too far up apple's ass to be saved

#

He probably thinks Xcode is the best ide ever too

faint stag
#

capt needs his xcodebuild and xcrun

ocean raptor
#

Balls

primal perch
neon jungle
#

How could I get my tweak to add a new element such as a gif?

restive ether
ocean raptor
#

Wen eta llvm-go

#

We already have gccgo

restive ether
#

don't tell blacktop

ocean raptor
#

What we really need is gcc-rs

#

Cause the current llvm based rust doesn't support a bunch of architectures

#

Because llvm doesn't support them

#

But of course gcc supports them all

#

Fun fact

restive ether
#

fact fun

ocean raptor
#

OpenBSD has llvm, gcc 4, and gcc 3

#

Write your own crypto library troll

restive ether
#

wolfssl

ocean raptor
#

Balls

#

Use mbedtls

restive ether
#

doesn't macos have another SSL lib

ocean raptor
#

But it's very stripped

restive ether
#

I thought it was boringssl

ocean raptor
#

I don't remember...

#

Probably

restive ether
#

yeah openssl

#

big boy

#

openssl3 in fact

#

no

#

it has liberalssl

#

how many liberals does it take to screw in a lightbulb

#

it's actually 1 dumbass

#

couldn't tell you since Joe Brandon is chillin

wind ravine
#

has anyone's app tried to implement ian beer's dirtycow code?

ocean raptor
#

@grave sparrow write an abstraction so that you can easy swap out any ssl library

#

Like how curl does

wind ravine
#

ive been looking into it to try to implement it into my app but im not exactly sure what to do with the page thing

#

i dont know c so idk what is really going on

#

it doesn't seem like it would work for what i want to do without some major modifications

primal perch
#

FR

tepid olive
#

@grave sparrow Did you ever test tweaks on iOS with Zefram

#

Lol

#

???

#

checkm8

#

nerd

#

No

#

SwiftUI

#

Why are you making a Mac UI

#

Lol

primal perch
#

dont do it in swift ui

#

see: ventura

tepid olive
#

This is crazy

#

Don’t make macOS ui

primal perch
tepid olive
#

Or ask evelyn to do it

indigo peak
hasty ruin
#

for uh

#

$0.10/h

#

how's that sound glad

primal perch
#

not right

hasty ruin
#

0.08?

primal perch
#

im not a haitian seamstress bro

#

i need more than that

hasty ruin
#

hmm

#

20c

#

per h

primal perch
hasty ruin
#

how tf do you get a cent symbol

#

do you even use it

#

or just say c

primal perch
#

2 cents per second a

hasty ruin
primal perch
#

72$/hr for gorn is pretty bad anyway

#

the butt pain would not be worth it

hasty ruin
#

shep is considering

primal perch
#

GORN ORN

#

whats taters precious

#

just missing the heroin needles

#

its joever

hasty ruin
naive kraken
#

Fugu15: Am I a joke to you?

#

that's what I would say too

#

but the truth is I just don't want to deal with swift

#

??

primal perch
naive kraken
#

yes

primal perch
#

capt int

naive kraken
#

everything except for oobPCI

#

is Swift

#

and that's only C because DriverKit does not support Swift

primal perch
#

based

#

based bc capt is mad

pearl sail
#

White people going extinct is not bad trolllaugh

primal perch
#

what kind

#

idiots?

faint stag
grim sparrow
#

bozo

#

whats up

turbid fjord
#

That’s illegal.

grim sparrow
#

what are you trying to do

#

like

#

have you called addSubview?

#

because you're trying to create a constraint between views that can't see each other

#

they need to be in the same hierarchy

#

evidently

hasty ruin
#

port it you wont

#

port it again you wont

blazing vault
#

i had to make a basic app in two hours and I thought it was a good idea for the first hour to try and use the objc runtime to use it only without knowing it that much

primal perch
#

its the same thing

#

nfr

#

slightly different wrapper around coregraphics

hasty ruin
#

nah appkit is aids

#

it's just unnecessarily bad trol

vivid dew
#

i feel like you're trying to pin something in the tab pane to the tab view itself

#

don't do that, that's illegal

#

the alternative is to remove all your auto layout code and just use interface builder

#

wtf

timid briar
faint stag
#

oof

timid briar
#

yea idk

#

ahh signing out and in of my apple account now requires redownloading of all my pictures

#

oh that was fast

wind ravine
#

i cant figure out why it keeps erroring here

#

ian's poc

#

it works when i hide the home bar but crashes when i hide the dock

#

even tho im doing the exact same thing

primal perch
#

triangle posted something taht wasnt a meme again

primal perch
#

it has to be

wind ravine
primal perch
#

comic sans nfr

wind ravine
#

i dont understand why it works for some stuff but not others

#

yes because its easier to read