#development

1 messages · Page 39 of 1

indigo peak
#

using the method WDBRemoveThreeAppLimit uses

#

no

#

im trying to overwrite the binary

#

but saying that outloud

#

makes me realize

#

no

#

since it would fuck with code signature

#

right

#

i mean, all it does is find the symbol for the method and point it to a func that always returns true

#

so how could i figure out the ASLR slide

#

its defined in the app

#

not in a lib

#

main

timid furnace
#

@indigo peak you're trying to force an objc method to return true?

indigo peak
#

yes

timid furnace
#

mf they have no way to inject code

#

it's trolley time

#

ok uh

#

this is with MDC right

indigo peak
#

correct

timid furnace
#

ok
high level overview

#
  • iterate over objc classes, find the metaclass or the class that you're looking for
  • get its method list
  • figure out whether it's absolute or relative (probably relative)
  • copy method list to empty space in a r/w segment
  • replace imp on the method you want to hijack with the address of the return true function (this is where absolute/relative comes into play)
  • change the objc class/metaclass's method list pointer to point to your new method list
  • profit
indigo peak
#

i mean, shouldnt it just be the same as the installd shit

#

bc its iterating objc functions

#

and copying that shit and whatever

timid furnace
#

sure

#

but zhuowei's installd code makes certain assumptions

#

for example that objc_classname or whatever the fuck the segment is called is the first instance of the name of whatever class you are looking for

#

also i think it assumes relative

tepid olive
#

use sideloadly to inject the tweak into the ipa

indigo peak
#

like it finds an offset

timid furnace
#

no, his code is finding the first instance of the class name, then looking for where the offset of that is used

indigo peak
#

o

timid furnace
#

if the first instance of class "XYZ" is not in __objc_classname or whatever, it's going to look for the wrong offset

#

i'm writing my own patcher that doesn't make these assumptions but like

#

holy shit

#

it is annoying

indigo peak
#

i can imagine

#

i was thinking ab doing that

#

like when/if i get this working

#

but the class im looking for IS in __objc_classname

#

but thats only the first segment tho

#

right

#

instance*

timid furnace
#

how the fuck would i know you've been mum about this app

indigo peak
#

what if i do a check to check the segment, and if its not the right segment skip and continue

#

yk what i mean

#

its for piracy reasons fr

timid furnace
#

L

indigo peak
#

how would i determine the segment an offset is in

#

is that even possible

timid furnace
#

parse the load commands

indigo peak
#

true

tepid olive
#

bruh androidskull skill issue

timid furnace
#

what were you trying to do

indigo peak
#

why does this not work

void print_segment_names(const char* _Nonnull binary_path) {
    FILE* fp = fopen(binary_path, "r");
    if (!fp) {
        printf("Error: Failed to open file\n");
        return;
    }
    
    struct mach_header_64 mh;
    fread(&mh, sizeof(struct mach_header_64), 1, fp);
    
    uint32_t ncmds = mh.ncmds;
    struct load_command lc;
    
    for (uint32_t i = 0; i < ncmds; i++) {
        fread(&lc, sizeof(struct load_command), 1, fp);
        // NSLog(@"[test] %d", lc.cmd);
        if (lc.cmd == LC_SEGMENT_64) {
            struct segment_command_64 seg_cmd;
            fread(&seg_cmd, sizeof(struct segment_command_64), 1, fp);
            NSLog(@"[test] Segment Name: %s\n", seg_cmd.segname);
        }
        // else {
        fseek(fp, lc.cmdsize - sizeof(struct load_command), SEEK_CUR);
        // }
    }
    
    fclose(fp);
}
#

only log: Segment Name: RO

timid furnace
#

don't load commands have variable size

#

does fread move the pointer

indigo peak
#

yes

#

i think

timid furnace
#

ok well you need to move it back before you read the segment command

indigo peak
#

nvm

#

i got it

#

dubs

#

@timid furnace so, idk if im thinking of this right
would i compare the class offset into seg_cmd->fileoff

#

and like if the offset is greater than the fileoff

#

its not in that seg

timid furnace
#

that's segments now do sections

indigo peak
#

or would i do

#

seg->vmaddr to seg->vmaddr + seg->vmsize

timid furnace
#

well you need to be looking at sections

#

file -> segments -> sections

indigo peak
#

like

if (offset >= seg->fileoff && offset < seg->fileoff + seg->filesize} {
  // proceed w narrowing down to sections
}
primal perch
#

unsafe

#

rust needed

timid furnace
#

again

#

well

#

i see what you mean

#

but use fileoff and filesize

indigo peak
#

so the edit i just made

timid furnace
#

sure

indigo peak
#
void print_segment_names(const char* _Nonnull binary_path) {
    uint64_t offset = 0xBB79B0;
    int fd = open(binary_path, O_RDONLY | O_CLOEXEC);
    if (fd == -1) {
        NSLog(@"[test] Error opening file: %s", strerror(errno));
        return;
    }

    off_t len = lseek(fd, 0, SEEK_END);
    lseek(fd, 0, SEEK_SET);
    void* map = mmap(nil, len, PROT_READ, MAP_SHARED, fd, 0);

    struct mach_header_64* header = map;
    struct load_command* load_command = map + sizeof(struct mach_header_64);
    for (int i = 0; i < header->ncmds; i++) {
        switch (load_command->cmd) {
            case LC_SEGMENT_64: {
                struct segment_command_64* segment = (struct segment_command_64*)load_command;
                if (strcmp(segment->segname, "__DATA_CONST") == 0) {
                    if (offset >= segment->fileoff && offset < segment->fileoff + segment->filesize) {
                        uint32_t nsects = segment->nsects;
                        struct section_64 sect;
                        for (uint32_t j = 0; j < nsects; j++) {
                            // fread(&sect, sizeof(struct section_64), 1, f);
                            memcpy(&sect, ((void *)segment) + sizeof(struct segment_command_64) + j * sizeof(struct section_64), sizeof(struct section_64));
                            // check if offset is in this section
                            if (offset >= sect.offset && offset < sect.offset + sect.size) {
                                NSLog(@"[test] Found section: %s", sect.sectname);
                                break;
                            }
                        }
                    }
                }
                // break;
            }
            load_command = ((void *)load_command) + load_command->cmdsize;
        }
    }
}
#

bro

#

what did i write

#

i have 0 idea if/how this works LOL

#

idek if that offset is right

gentle grove
#

C

gentle grove
indigo peak
#

@timid furnace so if my function is working: its says it finds the offset in the section __cfstring

timid furnace
#

then you fucked up because the class name has to be in objc_classname or whatever it is

#

i wrote down the exact section name somewhere

#

In __TEXT,__objc_classname

indigo peak
#

im finding it in
__DATA_CONST,__cfstring

#

wtf

next wadi
#

luz fire

indigo peak
timid furnace
#

scroll up and read what i said

shell sphinx
#

hi, im trying to learn objc. im following the learn objective c in 24 days guide but the example hello world code from the first lesson doesn't work. am i doing something wrong or is the guide just outdated?

#

chatgpt came up with ```int main(int argc, const char * argv[]) {
@autoreleasepool {
// your code here
NSLog(@"Hello, World!");
}
return 0;
}

timid furnace
#

yea use autoreleasepool

shell sphinx
#

real

cosmic lantern
#

uhhh is there a reason why runtimebrowser might not start? like it seems to open for a tiny bit. doesn't load and crashes to home screen
also happens with classdump-dyld, that one just gets killed

#

nvm, autosign helped

steep granite
elfin moth
#

привет

hasty ruin
#

hello

nocturne fjord
next wadi
hasty ruin
#

finally

next wadi
#

bru

primal perch
#

@here

next wadi
#

STFU

#

true

steady nest
#

chatgpt

primal perch
hasty ruin
upbeat wyvern
#

Nah I already have too many messaging apps

lime pivot
#

haven't seen you around in a bit, hope you've been well

upbeat wyvern
#

Been a bit busy but yeah not doing bad

#

You?

#

I’ve been trying to track down a dumb heisenbug in usbfluxd the last couple days

#

Just checked, that was only 4 days… I just restarted a service that hung from running for over 3 years and must have been leaking a filehandle per month or something… 4 days doesn’t seem long :p

pearl sail
#

It might be a personal best trol

lime pivot
faint timber
#

Ventura killed x86 substitute

tepid olive
#

don’t use substitute then

graceful gate
native dune
#

begula

tender vapor
#

anyone knows if there is a version of lldb for ios that supports python scripting?

coral gazelle
#

Does anyone know if it's possible to manually make a TSS request for an OTA blob for an iOS version that is only signed through delayed OTA (ex. 16.1.1)?

round forum
#

who good at leetcode here

sonic sail
#

I recently installed kernbypass ~0.5 and A-bypass, one of whose /Library/LaunchDaemon's now cause iOS to panic and bootloop only upon jailbreaking. Since I can't get a USB shell to uninstall them, I want to recompile checkra1n to unlink() the files from the APFS filesystem before launchd starts the offending launch daemon. The example checkra1n module doesn't look like it's executing at a stage where I'll have access to the filesystem available. Ideas (besides restoring)? Also tried disabling substrate (via vol. up at boot), but as this is a global launch daemon, no such luck.

#

Since I have an iPhone 7, I suppose one option is to literally boot linux and then mount the filesystem from there, but that sounds like a pain.

coral gazelle
#

Wait, you can run Linux on the iPhone 7?!

sonic sail
#

yeah

coral gazelle
#

What's the SEC?

sonic sail
#

secure enclave

coral gazelle
#

That's what I thought

timid furnace
sonic sail
#

I'm on ~14.8 with checkra1n, so not an option afaik

coral gazelle
#

Does anyone know how iOS's over-the-air update process works (i.e. what actions it performs when booted into the update ramdisk and in what order)?

#

I assume it's similar to the standard restore process

sonic sail
#

Won't that wipe out all tweaks, not just root fs changes?

timid furnace
#

tweaks are installed on the rootfs

sonic sail
#

I'm especially trying to avoid losing my installed tweaks, it's a hassle to find everything all over again.

#

Otherwise I'd just restore to iOS 15 and switch to palera1n.

timid furnace
#

where did you get kernbypass from

gentle grove
#

how tf does anti aliasing work, is it some filter I can apply with a 1-bit bitmap or do I need more info somehow to do it

#

when I google it, all of it is how to do it in games in c#

timid furnace
#

you can't antialias without colors

gentle grove
#

with windows libs

gentle grove
#

Im making a 1-bit bitmap drawing and want to antialias it

timid furnace
#

grayscale or pure black and white?

vivid dew
#

you can just apply a 0.5px blur

gentle grove
#

the shape I'm making right now is black and white but I can draw to grayscale or coloe

sonic sail
gentle grove
#

that sounds good

vivid dew
gentle grove
#

it literally though

#

I will actually try that

timid furnace
#

ok well neither kernbypass nor a-bypass have LaunchDaemons

#

so boot with safe mode ticked in checkra1n and see if you can get out

sonic sail
timid furnace
#

otherwise, it is probably going to take less time to reinstall your tweaks than deal with custom ramdisk and all that fun stuff

sonic sail
#

what's CR safe mode do

timid furnace
#

which reminds me

timid furnace
#

or substrate safe mode

sonic sail
#

specifically no-substrate? tried that via vol. up. or safe mode?

timid furnace
#

try safe mode anyway, i don't know what exactly checkra1n does for sure

#

and if that doesn't work i guess you can use an ssh ramdisk

sonic sail
sonic sail
#

—safe-mode success! No tweaks loaded but able to run Cydia. Thanks a bunch.

#

Crane is the daemon I had seen.

sonic sail
#

FWIW FreshWall from SparkDev was causing the crashes.

faint stag
#

wait i replied far too late nvm

next wadi
#

@grave sparrow gm

#

does this look good to you

#
meta:
  archs:
  - arm64
  - arm64e
  cc: /usr/bin/gcc
  swift: /usr/bin/swift
  compression: zstd
  platform: iphoneos
  rootless: true
  version: 14

control:
  architecture: iphoneos-arm64
  author: Jaidan
  description: LuzBuild demo
  id: com.jaidan.demo
  name: LuzBuildDemo
  section: Tweaks
  version: 1.0.0

scripts:
  postinst:
  - echo 'Thank you for trying out Luz!'
  - killall SpringBoard
  postrm: echo 'Thank you for trying out Luz!'

modules:
  Tweak:
    files:
    - Tweak.xm

submodules:
- Preferences```
#

like info-wise

cloud yacht
#

submodules is not very descirptive but (as I'm assuming this is for the docs or some kind of example) but if you got some text explaining it, it should be fine. Also modules doesn't tell me what else it can be other than a teak

next wadi
#

the tweak version

#

thats defined in the docs

#

i mean im talking about how like

cloud yacht
#

In meta or control?

next wadi
#

last time i had minvers 13 for rootless

#

that sort of thing

#

it is

#

oh

#

SHIT

#

lmfao

cloud yacht
#

theres one in meta

next wadi
#

thats supposed to be minVers

#

good eye

#

this is why i asked

cloud yacht
#

what esle can platform be?

next wadi
#

ok

cloud yacht
#

also why is there plartform and architecture

next wadi
#

archs in meta or architecture in control

cloud yacht
#

the one in control

next wadi
#

platform is the platform to build for using clang / swift

cloud yacht
#

actually shouldnt the one in controk be built depedant on what arch its built for or are tweaks stupid?

next wadi
#

architecture is the architecture to put in the deb so dpkg knows what it can install in

cloud yacht
#

Sure but you could auto fill that cause you have to build it

#

Oh wait I forgot iOS tweaks are stupid regarding arch

next wadi
#

thats supported too

cloud yacht
# next wadi

What if I wantto be bale to build the same thing for multuple?

next wadi
#

you can have all the package metadata (control, scripts) in layout/DEBIAN

next wadi
#

ok

#

yes

#

useArc is True by default

#

there is one

#

meta.sdk

#

well by default Luz looks for one using xcrun

#

but in the docs i have it specified

#

look at sdk

#

ok

cloud yacht
next wadi
#
meta:
  archs:
  - arm64
  - arm64e
  cc: /usr/bin/gcc
  swift: /usr/bin/swift
  compression: zstd
  platform: iphoneos
  sdk: ~/.luz/sdks/iPhoneOS14.5.sdk
  rootless: true
  minVers: 15

control:
  architecture: iphoneos-arm64
  author: Jaidan
  depends: firmware (>= 15.0), mobilesubstrate
  description: LuzBuild demo
  id: com.jaidan.demo
  name: LuzBuildDemo
  section: Tweaks
  version: 1.0.0

scripts:
  postinst:
  - echo 'Thank you for trying out Luz!'
  - killall SpringBoard
  postrm: echo 'Thank you for trying out Luz!'

modules:
  Tweak:
    files:
    - Tweak.xm

submodules:
- Preferences```
#

ok

cloud yacht
#

yeah whart if I install lux in a non-standard location

cloud yacht
#

Or on windows 🤮

next wadi
#

Luz always keeps its headers in ~/.luz/vendor

#

which i should actually change

#

thats a good point

next wadi
#

use WSL

cloud yacht
#

ok fair

next wadi
#

it has installDir but not install_name

#

i'll add that

#

thats easy tho

#

it does

#

but im saying

#

i'll add an option for it

#

each tweak module can have a filter list

#

but i'm gonna add a plist in the dir too

#

ok

#

thats cuz by default its bundle: com.apple.SpringBoard

#

then what should it be

cloud yacht
#

arguably I should be able to set an ENV varivle to where to look for SDK's (and really anything ekse your looking for) that would be like path and you'd look in

next wadi
#

it is now

next wadi
#

that shouldnt be very hard

cloud yacht
#

Oh also it should automaitcally determijn what to kill for the postinst (doesn't theos do something that the package managers just understnad)

next wadi
#

its just gonna kill springboard by default

#

thats what theos does

cloud yacht
#

Oh really?

#

I thought it killed your target

next wadi
#

well it does

#

but what if that target doesnt start again or something

#

it could cause a domino effect

cloud yacht
#

Oh I see

#

Ok than

#

How do package managers determine when to respring or not?

next wadi
#

yeah i know

#

capt this may be a stupid question but

#

whats the difference between debug and release building

#

i know

#

dont do that please just explain it

cloud yacht
#

They somewhat do. If I install an app it doesn't respring but if I install a tweak it does. Do they just look if it has a hook and respring sit what?

next wadi
#

oh

#

is that really it

#

okay cool

#

thats easy

#

ok

#

gimme like

#

5 minutes

#

im gonna add some shit

cloud yacht
next wadi
#

oh

#

what flags would those be

next wadi
#

the package manager doesnt run the postinst until you press the button

#

oh

#

LMFAO

#

capt i may be stupid.

#

i may or may not

cloud yacht
next wadi
#

have been

#

calling strip every time

#

😭

next wadi
#

99% sure

#

ask capt idk

cloud yacht
#

Yeah that's what I was thinking

next wadi
#

oh

#

it turns out that Theos doesnt add a postinst at all unless you specify one

#

so i'll just remove the defaults

#

yes

#

i told you it does silly billy

#

my tar library calls the same compression cmds

#

nope frcoal

cloud yacht
#

if you support postinst and postrm do you also supprot prerm

next wadi
#

yes

#

i dont bro

#

batteryassembly already builds

#

its one of my unit tests actually

#

ok

#

uh

#

yes

#

it did

#

why

cloud yacht
#

I can't wait to write some code so horrendous that it errors

#

Well you just write code thats impressive

#

I write code thats wrong but compiles

next wadi
#

WTF how

cloud yacht
#

It doesn't tell me what to do in this situation

next wadi
#

that probably speeds the compiler up though doesnt it?

#

that means that luz could be faster

#

yeah true

#

@grave sparrow debug and release are implemented

#

bro

#

its fine the way it is i think

#

cuz it would be confusing to have

#

wait ok so first of all

#

tell me what your idea is.

cloud yacht
#

Can luz ask clang for the language, then cache it and inform clang later (maybe some kind of watch mode)?

next wadi
#

no

#

thats not how they work

#

submodules point Luz to another directory with a LuzBuild in it

#

and Luz reads the modules from that target and adds them along with their meta so you can have Preferences in a different directory than a tweak and so on

#

the point is to not clutter up one file too much

#

while saving speed and efficiency

cloud yacht
#

I don't really like the word submodules tbh

next wadi
#

well

cloud yacht
#

but it is what they are

next wadi
#

im already calling targets modules

#

so what else do i call them

cloud yacht
#

dependancies

#

additons

#

extras

next wadi
#

extras

cloud yacht
#

Also I don't like how the installer is just like I'm installing deps please give me sudo without telling me what exactly its going to install (or maybe some kind of dry run would be nice)

next wadi
#

thats what theos does

#

🚎

cloud yacht
#

fair

#

but I;m not criticing theos am i

#

It doesn't tell me what the missing deps are

#

side note, it doesn't appear to even check if its missing any deps

#

so it would probably always error with that

next wadi
#

i'll see about fixing it

cloud yacht
#

also your script will try to put .luz in / if theres no $HOME set

#

Or maybe NULL/ or the likes depednng on how pythong works

primal perch
#

L U Z

#

rip battery

cloud yacht
#

argument: userspace reboots are slower, expecially on old devices

#

can I even userspace reboot on older iOS's

#

thats sudo ldrestart right?

primal perch
#

ldrestart dn

cloud yacht
#

oh I tried it on my iPhone 4 and it doesn't have sudo

#

lol

#

unkown subcommand "reboot"

#

definitley not in iOS 7

steady nest
#

no.

primal perch
#

real
thishowitis
i said it was unpopular
thishowitis

cloud yacht
#

@next wadi continuing on the luz installer, installing the toolchain will not delete the toolchain from the PWD if it fails to do any of the following:

  • make the tmp directory
  • untar the directoy
  • make the swift and linux/iphone direcotry
  • mv the toolchain to the linux/iphone directory
  • ln the toolchain to the swift directory
    Also you don't explicilty ensure mktemp is installed
#

Other than that looks fine

restive ether
#

you don’t need sudo virgin

#

why wouldn’t it work? none of the older ones have a jailbreakd type function? the untethered jailbreaks should work at least

#

idk what version of ios reboot(3) started with though

#

that’s when xnu added reboot3?

#

what jailbreak is this

#

it doesn’t do that on ios

#

blame the jailbreakers man

cloud yacht
#

tbh its not hard to get root on any jailbreakers ios device

ocean raptor
#

I am entitled to do it

#

Idiot

next wadi
#

@grave sparrow @cloud yacht @timid furnace just pushed some commits to Luz

  1. install script fixes including listing dependencies and removing tars upon errors
  2. adding Debug and Release settings
  3. building debs to debug paths
cloud yacht
next wadi
#

i'll switch to checkoutput

#

staging and stuff is done in .luz/_

#

debs are outputted to packages/

#

no

#

🚎

cloud yacht
#

Oh uhhhhhh (note this is the old installer)

next wadi
#

just added debug building

#

so

#
com.jaidan.trolleytools_1.0.0-1+debug_all.deb  com.jaidan.trolleytools_1.0.0-2+debug_all.deb```
cloud yacht
#

Honestly I like having the old ones but it is kinda a space waster

next wadi
#

thats what it did before

#

i cant please everyone

next wadi
cloud yacht
#

make a per-user config thing

next wadi
#

it should be working now @cloud yacht

cloud yacht
#

Luz is already installed

#

can't reinstall it

next wadi
ocean raptor
next wadi
#

yea this is planned soon

#

so like what, latest.deb?

cloud yacht
#
[INSTALLER] Installing dependencies (clang). Please enter your password if prompted.
[INSTALLER] Failed to install dependencies: [Errno 2] No such file or directory: 'sudo dnf check-update && sudo dnf group install -y "C Development Tools and Libraries" && sudo dnf install -y lzma libbsd curl perl git'
next wadi
next wadi
#

ohhh

#

it needs a full path

#

FUCK

ocean raptor
#

STFU

next wadi
#

i'll fix it

#

uhh again

ocean raptor
#

Frank ocean on da dynamic island

#

@restive ether can we ban this mfer

next wadi
#

@cloud yacht OK

#

if its not fixed now i'll just kill myself probably

cloud yacht
#

its not

next wadi
cloud yacht
#
[INSTALLER] Installing dependencies (clang). Please enter your password if prompted.
[INSTALLER] Failed to install dependencies: [Errno 2] No such file or directory: 'sudo dnf check-update && sudo dnf group install -y "C Development Tools and Libraries" && sudo dnf install -y lzma libbsd curl perl git'
next wadi
#

bro how

ocean raptor
#

You probably listen to harry styles and stuff

ocean raptor
#

Bro thinks harry styles is peak

next wadi
#

im going to bomb you

ocean raptor
#

Have you ever listened to frank ocean

next wadi
#

i was just listening to him before

#

GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD

#

wack ass top 3 @ocean raptor @grave sparrow

#

fr

#

yea

#

on Bro

ocean raptor
#

Umm

next wadi
#

Umm

#
  • cameron before a hot ass take
ocean raptor
#

Listen to good country

next wadi
#

BRO

#

there IS no good country

#

😭😭😭

ocean raptor
#

Modern pop country sucks

next wadi
#

this guy also likes flo rida

#

im the only musically correct person here

#

no

#

he doesnt

ocean raptor
#

Chet Atkins

#

Not a song, a guitar player

next wadi
#

you're both wrong

#

ok

#

thats valid

#

coldplay is aight

#

i prefer old coldplay

#

i did

#

stfu

#

i just roasted her too

#

so...

ocean raptor
#

Sweet home Alabama

hasty marsh
#

ask her out rn

azure sail
#

don't lump me with your family

#

we are not the same

ocean raptor
#

Bro follows a 12yo on BeReal 🤨

next wadi
#

YOU TAKE THAT BACK.

#

RIGHT NOW.

ocean raptor
next wadi
#

i'm going to bomb you

ocean raptor
#

Country rock is country

next wadi
#

its not country rock copeextreme

#

it aint like that big dawg

ocean raptor
next wadi
#

im not

next wadi
#

and i'll admit when i like country

#

but

#

skynyrd is not country

#

i dont

#

lmfao

#

says who

#

how would you know

#

whats my mom's name

#

oh

ocean raptor
#

That's in Florida

next wadi
#

they're not country

ocean raptor
#

Anyways, listen to man of mystery by Chet Atkins

next wadi
ocean raptor
#

It's a ton of fun

next wadi
#

wtf

#

u play guitar?

ocean raptor
next wadi
primal perch
#

ya never heard of him

#

hes probably mid

ocean raptor
#

Strawberry wings (frank ocean cover)

next wadi
primal perch
next wadi
#

owned by facts and logic

#

@primal perch is lynyrd skynyrd country

primal perch
#

no

next wadi
#

W

#

W
W
W
W

W
W

#

W SHEP

#

W

primal perch
#

they do not sound like country at all

next wadi
#

W

#

W
W

#

W AFTER W

primal perch
#

fr

next wadi
#

W

primal perch
#

shep W

#

(very common)

next wadi
#

true

primal perch
ocean raptor
next wadi
#

that to me is like saying Boston is country

next wadi
#

sorry buddy......

primal perch
#

cameron listens to pf so hes still based

next wadi
#

true

#

dogs

#

i love Dogs

ocean raptor
#

Music is subjective until you refuse to admit that a band has songs of a genre because you arbitrarily decide to hate the genre

next wadi
#

i guess i shouldnt say i hate country

#

i should say

#

i dont like most country songs

#

they're like all super similar imo

ocean raptor
#

Literally not

next wadi
#

ig thats why i like skynyrd

#

cuz they're not similar

ocean raptor
next wadi
#

well of what i've heard a lot of it has been super similar sounding

ocean raptor
primal perch
#

🤓

ocean raptor
#

Literally start in pan handle and as you go up country music's sound completely changes

cloud yacht
# next wadi i think it might be caching it

it was. Also the options for dnf don;t install clang by default.
(Also my internet is so slow that the toolchain takes like 13.5 minutes please don't make me do that again)
(also untaring is kinda noisey, might not be nessicary to output that)

#

also not in my path but cause I can see pip's output, I can see it warning me that its not in my path (and where it was put)

#

running luz would make sence to show a little help

next wadi
#

idk why i was tar -xvf ing

#

i'll remove the v troll

cloud yacht
#

Oh also where can I specify the default bundle ID prefix?

next wadi
#

you kinda Cant smil

#

i'm gonna add a bunch of options like that soon

#

DO NOT FRET .

#

~/.luz/cfg.yml

cloud yacht
#

oh also the tweak name in the bundle id should be lowercased by default

next wadi
#

i'll fix it

cloud yacht
#

great job discord

#

Also an option for the default author field

#

also a deafult for the tweak name (default to the project name)

#

also don't just exit if I provide an invalid value

#

Oh neat ```
[!] An error occured: Specified archive /home/shorty/.local/lib/python3.11/site-packages/luz/luzgen/templates/tweak/logos.tar.gz does not exist.

next wadi
next wadi
cloud yacht
#

the tweak directory is just straight up non-existant

next wadi
#

how

#

what the frick

cloud yacht
next wadi
#

bru

#

wtf

#

i mustve nuked it by accident oh my god

cloud yacht
#

Oh also you should probably document upgrading and uninstalling somewhere

next wadi
cloud yacht
#

Oh also some options on the gen prompts are not very helpful. E.G.

  • source type
  • dependancies (okay-ish cause default and if you've made tweaks before, makes sence)
  • arch (above)
  • project folder (is this just where is being written to?)
#

also why is the default depends for tool mobilesubstrate

#

what kind of tool needs substrate

#

and also how would i even blank that out in the prompt stage

#

is this a clang thing?

cloud yacht
#

ok no installing clang didn't fix

next wadi
#

which i realize now you have to specify manually when you build

cloud yacht
#

which I assume is a bug

#

Also you set Relase/Debug in the LuzBuild file which means you have to modify the file when you want to build a release build

gentle grove
#

LuzBuild being version controlled?

#

that sounds like a bad design

cloud yacht
cloud yacht
gentle grove
#

that should be specific to the build dir

cloud yacht
#

thats why I was pointing it out

gentle grove
#

yeah

#

bad design

cloud yacht
#

sed -i s/debug/release/ LuzBuild && luz build ; sed -i s/release/debug/ LuzBuild troll

subtle scaffold
#

Can anyone elaborate about waiting for theos to be updated for rootless? And is there any progress?

blazing shuttle
#

hello, I'm trying to run one of the checkra1n scripts, but I get this error:

$ scripts % python3 fetch_stdout.py > n61.adt 
Traceback (most recent call last):
  File "/Users/marwan/PongoOS/scripts/fetch_stdout.py", line 26, in <module>
    import usb.core
ModuleNotFoundError: No module named 'usb'
$ scripts %
hasty ruin
blazing shuttle
# faint stag did you install pyusb <:fr:712506651520925698>

installed it, but now I get this error:

Traceback (most recent call last):
  File "/Users/marwan/pongoOS/scripts/issue_cmd.py", line 26, in <module>
    dev = usb.core.find(idVendor=0x05ac, idProduct=0x4141)
  File "/Users/marwan/Library/Python/3.9/lib/python/site-packages/usb/core.py", line 1309, in find
    raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
#

(connected to Apple TV HD on pongoOS)

cloud yacht
#

What OS are you running this on?

blazing shuttle
#

macOS

dense mauve
#

Hey does anyone know if Frida works (or a way to make it work) on a non jailbroken phone? (iOS 15.4.1, 12 pro max if that helps)
Been trying abt everything and shit just broke lol
Seems to just crash upon opening

cloud yacht
#

can't frida work jailed with a developer image or smth

faint stag
spring turret
#

can someone make a ipa and make it called “the worlds smallest violen” and basically just make it a very small violen with a black background and when you click the violen it plays

#

here i’ll even provide a violen

cloud yacht
next wadi
#

@cloud yacht @gentle grove CLI assignment of Meta variables

#

you can change any meta option via the command line

#

i.e. luz build -c -m rootless=true && luz build -c -m rootless=false

gentle grove
#

What's meta option

next wadi
cloud yacht
#

Nice

#

Did you end up fixing that bug with build I got?

next wadi
#

what bug was it again

cloud yacht
next wadi
#

oh

#

that should be doable i think

ocean raptor
#

CAPT NOT SUCKING APPLE'S DICK?!?!?! @primal perch!!!

primal perch
#

rare

#

very rare

ocean raptor
#

I DIDNT KNOW THIS WAS POSSIBLE

next wadi
#

ok @cloud yacht that should do it

#

so uh

cloud yacht
#

pip install https://github.com/LuzProject/luz/archive/refs/heads/main.zip yeah yeah

next wadi
#

pip uninstall -y luz && python -c "$(curl -fsSL https://raw.githubusercontent.com/LuzProject/luz/main/install.py)"

#

or that

#

that works

#

yea

#

🧌

#

but uninstall it first

primal perch
#

use vs code

cloud yacht
#

for what?

next wadi
#

oh btw @cloud yacht i updated pydeb too

#

so you should prolly update that as well

cloud yacht
#

ok waiting for toolchain moment

next wadi
#

wtf

#

did you rm -rf ~/.luz

cloud yacht
#

no just uninstall and reinstall

next wadi
#

with the script?

cloud yacht
#

yeah copy and paste what you did

#

wait the dir are still there

next wadi
#

ugh

#

i broke a bunch of shit i think

#

hold on

cloud yacht
#

ctrl + c stopped the download of the toolchain but continued on with what it was doing

next wadi
#

@cloud yacht when its done could you run

#

ls -la ~/.luz/toolchain for me

cloud yacht
next wadi
#

github

cloud yacht
next wadi
#

what kind of crack was i smoking

#

ok

#

give me a few

cloud yacht
# next wadi what kind of crack was i smoking

I'm assumign hte kind that causes this ```
shorty@Shorty-Laptop:~/projects/luz-tool> luz build
Traceback (most recent call last):
File "/home/shorty/.local/lib/python3.11/site-packages/luz/main.py", line 57, in main
LuzBuild(args).build_and_pack()
^^^^^^^^^^^^^^
File "/home/shorty/.local/lib/python3.11/site-packages/luz/compiler/luzbuild.py", line 155, in init
luz_prefix = resolve_path(f'{self.storage}/toolchain/linux/iphone/usr/bin')
^^^^^^^^^^^^
AttributeError: 'LuzBuild' object has no attribute 'storage'

[!] An error occured: 'LuzBuild' object has no attribute 'storage'

next wadi
#

yea

#

ok @cloud yacht ur gonna have to rm -rf ~/.luz and reinstall with the script

#

you can pass -ns if you dont wanna download sdks

cloud yacht
#

yeah but I need sdk's to build, right?

next wadi
#

yeah

#

i didnt know if you had them already or whatever

#

or you could even just move them to a different dir and copy them over once the script finishes

cloud yacht
#

oh and for future refrence, this installs without cache python -c "$(curl -fsSL -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/LuzProject/luz/main/install.py)"

next wadi
#

ty

#

i'll save that somewhere

#

capt

#

did you see what i sent before

#

its not that hard

restive ether
#

xcrun

next wadi
#

no but its an easy format i think

cloud yacht
#

Whats pbxproj stand for?
Pretty Bad XCode Project?

#

Name your parser cpfo

lime pivot
cloud yacht
#

Makes sense thumbsUp

lime pivot
#

Xcode was the continuation of NeXT's Project Builder

#

that makes everything built with xcode bad 🙃

#

Theos supremacy

cloud yacht
#

sounds about right

lime pivot
#

Project Builder was an integrated development environment (IDE) originally developed by NeXT for version 3 of the NeXTSTEP operating system by separating out the code editing parts of Interface Builder into its own application.After Apple Computer purchased NeXT and turned NeXTSTEP into the Mac OS X operating system, the NeXTSTEP version of Proj...

next wadi
#

thats literally it

#

i dont even know why i hate them

#

i just do

cloud yacht
#

honestly they are okay when other people are writing them for you

#

define good

next wadi
#

blud did NOT just say that

lime pivot
next wadi
#

zefram for windows

primal perch
#

probably 700 at least

#

new

#

used you could do 200-300

#

with some tweaks

cloud yacht
#

just use your existing computer

#
  • vm
next wadi
primal perch
#

i have a i5-7200u based laptop with 16g ram that was like +30 and if it were quad core it wouuld be pretty solid

#

but its 2c/4t so it kinda mid af

lime pivot
#

I like to see people tinkering with these things

cloud yacht
#

A little bit of competion never hurt anyone

next wadi
#

luz v2 will be meson

next wadi
# lime pivot never had any concerns about that, don't worry man

thank you, i really appreciate it

to be honest, i wouldnt be a developer right now if it werent for theos lmfao
my first rodeo ever developing was tweak development and obviously that wouldnt have been possible if it werent for theos so i have huge respect for it

hasty ruin
lime pivot
#

writing bad tweaks isn't a competition fr

hasty ruin
#

not competition

#

competion

next wadi
#

mavalry doesnt count

#

reachoptions intjthumbsup

hasty ruin
next wadi
#

wha

cloud yacht
#

I mean my first tweak just replaced strings of everything with "hello world" (and didn't even do that good of a job at that)

primal perch
#

furry porn

next wadi
cloud yacht
hasty ruin
ocean raptor
hasty ruin
hasty ruin
#

This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

cloud yacht
#

I've written worse code, surprsingly

hasty ruin
primal perch
hasty ruin
#

.

cloud yacht
#

I do have some of it public but I'm not sharing with the class

primal perch
#

i swear ive seen you here for months

hasty ruin
#

been here since 2019

#

and hasnt been banned yet

primal perch
#

Level 13

hasty ruin
primal perch
#

me: level 84

#

🤓

hasty ruin
#

mem plus is 15 right

primal perch
#

yea

cloud yacht
#

I used to use the #bot-commands as a place to upload files cause of the bigger upload limit

lime pivot
#

lmao

primal perch
#

gigachad

hasty ruin
#

who the fuck puts the constructor there

primal perch
#

i often do the same

#

aes256(file) -> put it in general named gorn

#

google drive without the google

cloud yacht
primal perch
cloud yacht
#

the tweak with simple prefrences

hasty ruin
primal perch
#

JOE BYRON

hasty ruin
hasty ruin
primal perch
#

you committed that change tho

#

its JOEver

cloud yacht
#

Yeah thats my code

#

can't blame anyone else

hasty ruin
#

damn @cloud yacht i didnt know you used rust

cloud yacht
#

uhhh when

hasty ruin
#

my opinion of you has changed for the worst

cloud yacht
#

i don't remeber

hasty ruin
cloud yacht
#

Oh yeah

#

Honestly the language seems cool but the learning curve from my main language of js is a bit

#

learning c++ in school so it shouldn't be that bad from there

cloud yacht
hasty ruin
#

68

cloud yacht
#

I was going to say 75%

#

I had not clue what I was doing

#

thats why I only made it to day 3

cloud yacht
#

I'm now also done my math after like all day

hasty ruin
#

do more

primal perch
#

fr

#

sqrt(sqrt(sqrt(69))

#

)

hasty ruin
primal perch
#

based because math

#

unbased because mac

hasty ruin
primal perch
#

based

#

python chad pilled

hasty ruin
hasty ruin
primal perch
#

also get 3.11.2 4head

next wadi
#

@cloud yacht

#

@cloud yacht when you get a minute you should try this

#

python -c "$(curl -fsSL -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/LuzProject/luz/main/install.py)" --update

#

its pretty neat

next wadi
#

thats what wilson said idk

#

i was just reusing their command from earlier

timid furnace
#

yea afaik there's no way to bypass the cache

#

at least that's what everyone says online

next wadi
#

wait i lied lmfao i didnt have the commit pushed

#

☠️

#

hold up

#

yea no

#

doesnt work

timid furnace
#

yea :/

#

uh

#

try this though

#

add -H "Accept-Encoding: deflate"

#

i don't think it's a proper solution and rather just routes to a different server but might as well try ¯_(ツ)_/¯

next wadi
#

woah

#

that did it

zenith hatch
#

gm

next wadi
#

gm

zenith hatch
#

gm

next wadi
#

why are you awake

zenith hatch
#

we watch movie in vc

next wadi
#

oh true

#

i accidentally joined for like a second earlier

zenith hatch
#

lol

gentle grove
#

A fast, open source

blazing vault
#

not fast to compile though holy fucking shit

#

spent 4 hours compiling only to realize it was for the wrong arch

#

fuck webkit

gentle grove
#

hours?!

blazing vault
#

oh hours.

#

that's what u are talking to

#

about

gentle grove
#

what

next wadi
blazing vault
#

yeah it was more than 4 hours

gentle grove
#

that's a long time

blazing vault
#

i dont know why i had the patience to wait that long tbh

gentle grove
#

maybe I'll try building it

blazing vault
#

what mac do u have

#

i think i heard its faster to build on linux

gentle grove
#

linux

blazing vault
#

but FUCK LINUX

#

oh ok

gentle grove
#

why

blazing vault
#

what cpu do u have

gentle grove
#

i7-13700K

blazing vault
#

yeah holy shit lol it hopefully should compile for u a lot quicker

gentle grove
#

it took like 7 mins for Firefox

#

but Firefox is a lot faster to build I think

primal perch
#

7950x>>

gentle grove
gentle grove
#

midi

primal perch
gentle grove
primal perch
#

KILL FURRIES

gentle grove
#

furries uhh

blazing vault
primal perch
blazing vault
primal perch
#

that was my alt i think

gentle grove
#

math

hasty marsh
#

shep

#

im going to cum

#

wtf this isn't general

subtle scaffold
subtle scaffold
subtle scaffold
topaz yew
#

anyone know how to get macOS to stop killing my program when i signed it with private entitlements

#

ellekit did it somehow i think with its loader binary on macOS

cloud yacht
cloud yacht
#

You also don't install clang on fedora in the installer

heady pecan
#

U manual install

#

Sudo dnf install clang

cloud yacht
#

Yes but his thing checks if I have it installed, installs other stuff and doesn't install clang

heady pecan
#

Go to their github

restive ether
#

open source xcrun. 🦅🦅

ocean raptor
#

What if I stock step on your balls

hasty ruin
#

??

onyx ember
next wadi
#

cool bug facts: all of these issues would be fixed if i had an easily accessible Linux test device

#

cuz i use a mac

#

i'm gonna see about getting one

ocean raptor
#

Docker

next wadi
#

M1

#

docker isnt a bad choice

ocean raptor
#

You have so many options

next wadi
#

i'll look into that

ocean raptor
#

🦾

faint timber
next wadi
#

ok sorry @marble perch @ocean raptor i may be stupid

#

i'll do it when i get home

#

omw

#

i need more storage

#

ext ssd 🔜

primal perch
#

third times the charm

#

after the 3rd time you said it jaidan was like "oh fr"

next wadi
#

im a smooth brain thats why i apologized

primal perch
#

troll

#

nothin to apologize for it was jut kinda funny

primal perch
#

150$ total trol

ocean raptor
next wadi
primal perch
#

yh

next wadi
#

but i didnt know it wouldnt work

primal perch
#

apple ssd pricing is a scam

#

genuine robbery

ocean raptor
#

Idiot

primal perch
#

nand is so cheap

ocean raptor
#

I was clearly making a joke about m2 vs m.2

primal perch
#

yeah that was apparent

#

chad valve

#

so based dude

#

chad framework

#

2tb in 2230 is still cheaper than 256gb->1tb

#

compared to apple

#

if/when i need 2tb internal i presume itll be cheaper

#

i havent maxed out my 256g internal yet

#

let alone my 512g microsd

#

browsed on it havent ever bought smth from it

#

cameren uses it a ton

#

i assume yes but the price is believable

hasty ruin
#

just use capt's card and try it out

primal perch
#

fr

#

wait

#

he’s broke

restive ether
#

i would absolutely never buy computer parts on ali

#

that’s either a used WD, not a WD or is a WD but they’re lying about which one it is

dreamy mason
#

Oh and about the lying. We never lie were a safe company you can trust us

primal perch
#

engrish was too good

turbid fjord
#

Go ahead, make captcode

gentle grove
#

@grave sparrow make CaptCode

ocean raptor
#

Yes

#

Clang is the default compiler

#

It does not have Xcode

gentle grove
#

just set your default compiler to clang on linux

next wadi
#

ok @cloud yacht so we have a few problems

#

most notably the fact that the toolchain im installing appears to kinda not work

#

at least