#development

1 messages · Page 182 of 1

sonic totem
#

Oh

tepid olive
#

15.8.2

sonic totem
#

I was just guessing because that’s usually the issue

wooden yarrow
#

yeah thought so too

#

but checked the site

#

so

tepid olive
#

can i even get an iOS 15 sdk anymore? lol

i'm not a huge xcode guy

#

but lemme install that sdk

#

if i can get all this shit working and my end goal works ima buy a handful of iPhone 7's for a cluster

cloud yacht
#

I love when removing and readding a console log fixes a problem

wooden yarrow
tepid olive
#

i think im getting a lil closer

#

cat@archimedes tbdump % xcrun tapi stubify -o APFS.tbd /tmp/APFS
error: cannot read file '/private/tmp/APFS': truncated or malformed object (load command 2 fileoff field plus filesize field in LC_SEGMENT_64 extends past the end of the file)
cat@archimedes tbdump %

#

ok i got my .tbd 😄

placid kraken
#

i’ve never been this annoyed at zed in my life

#

it themes the selected line color with transparency only sometimes

#

other times it’s solid and it really annoys me

#

even though i provide a transparency in the hex color

#

it does whatever the heck it wants anyway

tepid olive
#

ok cool sweet i got it 😄

long valve
#

hey guys how do phones detect 3d depth, would it be possible to inject a video and the phone thinks its a live camera and can detect the depth or is that not possible from a tech perspective?

#

kinda like Face ID but I dont wanna bypass Face ID lol

acoustic imp
#

turn off passcode?

fading shell
#

Are you german perhaps?

#

I know a good video about that

reef trail
gentle grove
long valve
slim bramble
fading shell
#

but that wasn't the point

reef trail
fading shell
#

they asked specifically how faceid worked

#

oh

#

nvm

slim bramble
fading shell
#

i'm dumb

slim bramble
#

it's apple bro

reef trail
slim bramble
#

yes

fading shell
#

they do

slim bramble
#

Ky

fading shell
#

you can use it at night

#

and it works

slim bramble
#

That's the point of lasers

#

and infrared

fading shell
#

just saying it's not some trick like samsung's moon zoom

slim bramble
#

Lidar is not a camera btw

fading shell
#

yea

torn oriole
slim bramble
placid kraken
#

whats with it

#

oh

#

i see i think

placid kraken
#

hey guys is this nice

reef trail
placid kraken
reef trail
#

good

#

but not great

orchid fulcrum
#

It would be nice if it was vscode

#

Aka best ide

placid kraken
#

vscode literally kills my ram

reef trail
placid kraken
#

using zed has been a blessing for performance

fading shell
orchid fulcrum
#

Text editor ?

reef trail
#

editor is the term i use

orchid fulcrum
#

Its more than that if you ask me

reef trail
#

vscode sucks ass

#

don’t fall for the microsoft developer monopoly

orchid fulcrum
#

Wrong

placid kraken
#

i’ve used vscode for years and it was fine at best

#

at worst it took several seconds to switch to a different place in a 200 line file

#

like, i click, and several seconds later, the cursor FINALLY is placed there

orchid fulcrum
# fading shell Not an ide

Is the difference just integrated compiler and debugger ? Because you can configure that with extensions

orchid fulcrum
reef trail
#

i have

#

on good specs too

placid kraken
#

if i need a newER pc to run vscode wtf is wrong with vscode

#

i’m running a text editor not a triple a game

reef trail
#

i was literally about to say the exact same thing

orchid fulcrum
#

Nah i see

fading shell
reef trail
#

good, use your own config and workflow, not someone else’s

fading shell
reef trail
#

my same neovim config can be used on a high end pc, a shitty laptop, raspberry pi, random vps whatever. And will still run at extremely fast performance while being able to do anything an ide can do but efficiently and in a way which suits how i like to work

placid kraken
torn oriole
elder scaffold
placid kraken
torn oriole
torn oriole
#

No that’s nebula

kind herald
#

com.icraze.nexus_1.2_iphoneos-arm.deb.flac on soulseek

hasty ruin
#

mods ban

torn oriole
torn oriole
#

It wasn’t working for me when I last tried it

torn oriole
#

how do you use soulseek woe

hasty ruin
kind herald
hasty ruin
#

but it doesnt work for me either anymore

exotic spire
#

Supporting british slander

kind herald
hasty ruin
#

@kind herald i think you need to fix your ports fr

torn oriole
#

it isnt searching woeis

torn oriole
#

am i even soulseeking correctly

hasty ruin
#

yes

kind herald
torn oriole
#

that probably doesnt help

hasty ruin
torn oriole
kind herald
#

Possibly

torn oriole
#

i believe i made an account or smth

kind herald
#

never had this issue so I don't know

#

try nicotine+

placid kraken
kind herald
#

kitty

#

:3

placid kraken
restive ether
#

burger queen

tepid olive
gentle grove
gentle grove
#

Oh wait it's just another ide

#

I thought that was vim

acoustic imp
#

Although nexus doesn’t cause bootloops it does cause random resprings i guse

kind herald
#

false it could be CoreGraphics

tepid olive
#

can y'all pardon my dumbassery here

#

what is the whole deal with entitlements? if i clang compile a simple .c file doing some very privileged things

#

is there a possibility I need to deal with these entitlements?

torn oriole
tepid olive
#

APFS.framework

torn oriole
#

Hm

placid kraken
torn oriole
#

Not too sure of the realm of apfs entitlements

gentle grove
tepid olive
#

i can make a call to APFSContainerGetBootDevice and get disk0s1 back properly

#

APFSContainerGetMinimalSize, APFSContainerResize are failing and i'm starting to suspect entitlements

#

is there another existing tool out there already i can use to shrink a container?

torn oriole
#

Disk utility, I think?

tepid olive
#

my google fu shown nothing in that regard tho

tepid olive
torn oriole
#

Oh

tepid olive
#

😛

torn oriole
#

Well that’s slightly more convoluted

tepid olive
#

[sudo] password for mobile:
Boot Container: disk0s1
Error: Failed to get minimal size for disk0s1 -536870174

#

whatever the F error -536870174 is

#

living off the land on an iDevice sucks and i'm hesitant to even call it *nix

timid furnace
tepid olive
#

that sounds like entitlements

#

(i was about ready to port this code to macos to get strerror access

#

what is the quickest way to get entitlements bypassed/this compiled with entitlements?

#

(i assume i need to go hunt down some com.apple.private..... value which i can do myself but entitlements are weird to me coming from linux/bsd/solaris/hp-ux/aix/etc)

#

(maybe com.apple.private.security.disk-device-access ?)

#

i think i did it successfully wtih ldid

tepid olive
granite frigate
#

how'd you make it look so cool

gentle grove
#

I love this

#

perfect ñame for the software

gentle grove
#

what

gentle grove
#

then who mf

sly knoll
#

how can I make the app closed when cmd+q pressed on objective-c app?

placid kraken
#

then the colors took a bit of tweaking lol

wooden yarrow
sly knoll
wooden yarrow
#

did you hold it or press it

sly knoll
#

Pressed

long valve
#

hey fellas, its Otz here, how can I bypass vcam detection?

young valve
#

how can i compile my tweak from my macbook and add it to my iphone

young valve
#

where is the compile button its a jailbreak tweak

#

also do i need to use SSH for it?

placid kraken
#

death.

young valve
#

make clean package?

placid kraken
#

gmake >>>

young valve
#

is their any tutorial / guide i can follow?

young valve
#

hiw do i make the tweak ARM64 compatible rn its iphoneos

#

so rootfull i think

serene hawk
#

you probably mean rootless?

#

just compile with make clean package THEOS_PACKAGE_SCHEME=rootless

tepid olive
#

so i think my weekend goal is to get the linux-apple patches isolated from their git and grafted onto linux 6.9

#

i'm pretty sure it needs some modifications but they may just be kind of minor from what I understand about apple silicon - but there is a new PowerVR rogue driver that might be useful for A10's GPU

young valve
orchid fulcrum
#

From your package manager (sileo cydia zebra etc)

#

Or with dpgk

young valve
#

i have code but idk if it works

#

i want it to be after i type "/shrug" it says "shruuug"

#

yes btw this is my friends code

#

im just making it because i have the jailbroken phone

#

it looks so chatgpt generated

warped sparrow
orchid fulcrum
#

It shoud just be orig%(@"shruggg");

warped sparrow
orchid fulcrum
#

I think

warped sparrow
#

Something must be wrong there

young valve
#

i tested the tweak on my phone but it didnt work

warped sparrow
#

i wish i knew more about code 😭

#

idk whats wrong at all

slim bramble
#

for what ?

young valve
#

after i type "/shrug" i want it to put the work shrug after it on anything im typing on

slim bramble
young valve
#

oh

#

thats a much better idea

#

im telling my friend that hes over rn

young valve
# slim bramble Why not use text replacement ?

- (void)insertText:(NSString *)text {
    if ([text isEqualToString:@"/shrug"]) {
        %orig(text);
        NSRange range = NSMakeRange(self.text.length - [text length], [text length]);
        self.text = [self.text stringByReplacingCharactersInRange:range withString:@"¯\\_(ツ)_/¯"];
    } else {
        %orig(text);
    }
}

%end
#

will that work?

slim bramble
#

but if you really want to use that

#

hook -(void)setText:(NSString*)text;

young valve
#

ok thanks

young valve
slim bramble
#

of your hook

granite frigate
#

hooking every ui text field 🔥

#

oh my

slim bramble
#

Yeah

#

That's dumb

#

But for a small hook it shouldn't matter

young valve
slim bramble
#

No fr

#
%hook UITextField
-(void)setText:(NSString*)text {
    if ([text containsString:@"/shrug"]) text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\\_(ツ)_/¯"];
    %orig(text);
}
%end```
young valve
#

it was a joke lol

slim bramble
#

smh

serene hawk
#

why would you want to do self.text = ...

#

just run %orig(text) with your modified string?

slim bramble
#

I'll re-implement your logic

#

Cuz rn it's chatgpt'd

serene hawk
#
%hook UITextField
-(void)setText:(NSString*)text {
    if ([text isEqualToString:@"/shrug"]) {
        text = @"¯\\_(ツ)_/¯";
    }
    %orig(text);
}
%end```
#

isnt that what op wanted?

young valve
#

ye

young valve
#

alr did

#

it errored

slim bramble
#

What's the error fr

young valve
# slim bramble What's the error <:fr:712506651520925698>
    if ([text containsString:@"/shrug"]) text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\\_(ツ)_/¯"];
         ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/include/objc/NSObject.h:13:8: note: forward declaration of class here
@class NSString, NSMethodSignature, NSInvocation;
       ^
Tweak.x:3:50: error: receiver type 'NSString' for instance message is a forward declaration
    if ([text containsString:@"/shrug"]) text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\\_(ツ)_/¯"];
                                                 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/include/objc/NSObject.h:13:8: note: forward declaration of class here
@class NSString, NSMethodSignature, NSInvocation;
       ^
3 errors generated.
make[3]: *** [/Users/noah/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.416566bd.o] Error 1
rm /Users/noah/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.m
make[2]: *** [/Users/noah/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/discordcommands.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [discordcommands.all.tweak.variables] Error 2```
slim bramble
#

Odd

young valve
#

what the error about?

radiant idol
#

#import <Foundation/Foundation.h> at the top

slim bramble
young valve
slim bramble
young valve
#

so #import <UIKit/UIKit.h>?

orchid fulcrum
young valve
#

wdym foundation?

#

like com.xxx.xxxxxxx

orchid fulcrum
#

#import <Foundation/Foundation.h>

#

Its the name of the module/framework

young valve
#

#import <UIKit/UIKit.h>

orchid fulcrum
#

Foundation is the name

young valve
#

ohhhhh

young valve
orchid fulcrum
#

It says the error

young valve
orchid fulcrum
#

No there is a framework called "Foundation". This is irrevelant from the error. It can't find the file discordcommands.h

young valve
#

i dont have a discordcommands.h

#

i have a .plist tho

young valve
#

ok so for text replacement would it look like this, and how can i make this work?


@interface UITextField (Private)
- (id)delegate;
@end

%hook UITextField

- (BOOL)delegate:(id)delegate shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
    NSString *currentText = self.text ? self.text : @"";
    NSString *newText = [currentText stringByReplacingCharactersInRange:range withString:string];
    
    if ([newText containsString:@"/shrug"]) {
        newText = [newText stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\\_(ツ)_/¯"];
        self.text = newText;
        
        UITextPosition *endPosition = [self endOfDocument];
        self.selectedTextRange = [self textRangeFromPosition:endPosition toPosition:endPosition];
        
        return NO;
    }
    
    return %orig(delegate, range, string);
}

%end
young valve
#

^

thorn hound
#

bro aint making a tweak any time soon 🙏 😭

young valve
young valve
thorn hound
young valve
hasty ruin
young valve
#

@interface UITextField (Private)
- (id)delegate;
@end

%hook UITextField

- (BOOL)delegate:(id)delegate shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
    NSString *currentText = self.text ? self.text : @"";
    NSString *newText = [currentText stringByReplacingCharactersInRange:range withString:string];
    
    if ([newText containsString:@"/shrug"]) {
        newText = [newText stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\\_(ツ)_/¯"];
        self.text = newText;
        
        UITextPosition *endPosition = [self endOfDocument];
        self.selectedTextRange = [self textRangeFromPosition:endPosition toPosition:endPosition];
        
        return NO;
    }
    
    return %orig(delegate, range, string);
}

%end```
#

😭😭😭

radiant idol
young valve
#

yep

#

i was bored

radiant idol
#

alright

#

good night

young valve
#

LOL

#

gn

acoustic imp
#

Average white name

queen ruin
#

Me personally

sly knoll
#

seems Ive removed Application Scene before, Im using storyboard, I copied it from new template but it doesnt work correctly(most options are disabled)

#

how can I make it back?

soft ether
#

Not sure where to put it but i feel like this'll help a ton with preserving apps using apple's OnDemandResources system

#

if you boot the application running an app using it (you can confirm this if the app has an OnDemandResources.plist file), then you can find a list of urls to all the assetpacks in /var/containers/Data/System/something.appstored/Documents/Persistence

#

you'll find a sqlite database called storeSystem.db (or odr.db on older ios versions)

#

to help people find this in the future imma just list some keywords
odr.itunes.g.aaplimg.com
OnDemandResources
ODR
NSBundleResourceRequest
app thinning
AssetPackManifest.plist
OnDemandResources.plist
.assetpack

placid kraken
#

there was one earlier about picking an animal that may lay eggs at some point in their life

#

and it had a bunch of elephants and armadillos

orchid fulcrum
placid kraken
#

it is

#

but what happened to the captchas that just ask you to pick like

#

cars

brave zealot
soft ether
#

UGH I HATE APPLE SO MUCH

young valve
#

In this code when i type /shrug it doesnt replace it with "¯_(ツ)_/¯" whats wrong with the code it looks fine?


%hook UITextField
-(void)setText:(NSString*)text {
    if ([text containsString:@"/shrug"]) text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\_(ツ)_/¯"];
    %orig(text);
}
%end
hasty ruin
#

Is that method being called

placid kraken
#

you guys know this thing right

#

do you know if theres a way to remap the multi touch that you get when holding opt

#

so like this is the full app width

#

and i wanna remap it so that the far edge of the trackpad reaches the far edge of this

#

obviously im assuming theres no "intended" way to do this

#

but im wondering more if theres like something you can inject or some workaround to mess with the bounds that apple detects the app in or something idk

cloud yacht
weary heath
placid kraken
#

yeah i know

#

its amazing

#

you can even force it to always be on with sticky keys

#

think of it like a graphics tablet

#

but instead of a stylus you use your fingers

#

as in you eventually just learn where things are on the screen proportional to your trackpad

#

yeah

#

i wanna make the bounds smaller because im not used to it lol

#

that was the whole point of the thing i said earlier

#

for the record it only works on ios-compatibility apps

acoustic imp
#

Turn safari into an ipa thishowitis

#

An install it

hasty ruin
#

there’s some method in snapchat that has like 350

sonic totem
#

I forget what’s the asm calling convention for that

hasty ruin
#

well the method exists trol

sonic totem
#

Snapchat use a custom compiler thishowitis

#

Ah Ofc

sonic totem
#

@grave sparrow what function even requires 32 arguments

primal perch
#

nah ur just a nerd for everything else

hasty ruin
#

👍

vivid dew
#

why can't you just make it take one big argument

native orbit
#

tf u passing with 32 args

hasty ruin
#

racial slurs

primal perch
#

based

soft ether
#

a game i'm reverse engineering uses this system to download files as they're needed cos otherwise it'll be 9GB lol

weary heath
#

Ahh I see, thanks for sharing

soft ether
#

i hope it'll help people

#

i spent dozens of hours reverse engineering ios stuff to figure it out 😭

#

it was worth it though

weary heath
#

At least it wasn’t some obvious path lol

tepid olive
#

if anyone was wondering what all that APFS shrinkage was for...

hasty ruin
tepid olive
#

"setup assistant' will reduce your APFS to bare minimum and create an ext4 partition on your nvme, then either extract alpine or debootstrap debian

#

iOS seems to have a fucked up GPT w/ protected MBR - the GPT is fucked up compared to mac or PC - and i have to use a patched gptfdisk to do the modifications

visual meadow
#

last time i used linux-apple i had to use my pc as the storage

tepid olive
#

i got it working with sandcastle's kernel

#

i haven't gotten it far enough in linux-apple yet but if sandcastle can i don't see why this can't

proud geyser
#

can you transfer udidreg license ?

#

to another device

harsh junco
tepid olive
#

also prolly fairly easy to bootstrap from pacman

torn oriole
harsh junco
proud geyser
tepid olive
torn oriole
#

With some slight customisation

proud geyser
torn oriole
#

Tl;dr I didn’t pick a font

#

Hold up

#

Busting out the Xcode project

proud geyser
#

if it’s custom

torn oriole
#

lmfao okay

#

what did i do

placid kraken
#

thats one of the system fonts lmao

#

its sf pro rounded i think?

#

if i were to guess semibold

#

so sf pro rounded semibold

torn oriole
#

so

#

a lot KEKW

placid kraken
#

oh idk then

slim bramble
#

🔥

#

🔥

torn oriole
# placid kraken oh idk then
            scrollEdgeAppearance.largeTitleTextAttributes = [.font : UIFont(descriptor: largeTitleDescriptor, size: 0), .foregroundColor : gradientColor]
        }```
#

clues

placid kraken
#

yeah .rounded

torn oriole
#

mix of bold and rounded it seems

placid kraken
#

UIFont.systemFont withDesign(rounded)

#

with bold

#

sooooo that means

#

sf pro rounded bold

torn oriole
#

@proud geyser question answered

placid kraken
#

looks like the same to me

torn oriole
#

i love SF Pro

#

🔥

#

such a good font

slim bramble
placid kraken
#

true

slim bramble
#

DETAIL

proud geyser
torn oriole
slim bramble
#

NO

#

LEAVE IT

#

EASTER EGG

#

🙏

torn oriole
#

(its becoming a settings menu item)

placid kraken
#

Sf-Pro-Rounded-Bold.otf

#

wait why is it so small

torn oriole
#

It’s so joever

torn oriole
placid kraken
#

no

torn oriole
#

bitches and how’s

placid kraken
torn oriole
#

Oh

#

Wtf

#

NO

#

Did they remove the big ass font

#

HOES

slim bramble
#

Ahem

#

I saw that

#

Message logger

torn oriole
#

It’s fucking tiny now

slim bramble
#

🤨

torn oriole
#

Discord you fucks

torn oriole
placid kraken
#

what

#

wait its smaller than normal font lmfao

slim bramble
#

Idk I saw some logging

placid kraken
#

or

#

idk

faint lionBOT
#
Floppa deleted a message

meow meow meow meow meow meow meow meow meow meow meow meow meow

kind herald
#

wasn't me

torn oriole
#

ok its only small on mobile

placid kraken
#

it was me sorry

torn oriole
#

pc lives

#

detail

slim bramble
#

DETAIL

torn oriole
#

no wait that is smaller

#

tf

slim bramble
placid kraken
#

EXACTLY

kind herald
#

DETAIL

placid kraken
#

this is messing with my head

slim bramble
#

Only for detail

placid kraken
#

ROOTFS

#

DETAIL

#

DENTAL

kind herald
#

dental

tepid olive
#

DENTAL PLAN

#

Lisa needs braces

torn oriole
#

Detail

placid kraken
#

DETAIL

(Detail)

torn oriole
#

I love how the navigationtitle appears

placid kraken
#

its like shouting at you lmfao

slim bramble
kind herald
#

𝓓𝓮𝓽𝓪𝓲𝓵

hasty ruin
torn oriole
#

(UIKit wouldn’t have this issue)

hasty ruin
torn oriole
slim bramble
#

:/

torn oriole
slim bramble
acoustic imp
#

what happened to cxdxn1

cloud yacht
#

zefram mentioned

quaint rain
#

Would it be possible to make a tweak that just installs a .mobileconfig?

#

or webclip?

frail cedar
#

install it via settings

granite frigate
torn oriole
#

Shame I only know swiftui troll

sly knoll
#

thanks

placid kraken
#

:>

kind herald
placid kraken
#

<33

drifting heron
#

🥲

#

but looks good

#

it would be hard to see that anyways

placid kraken
wooden yarrow
#

(yes i do know that discord has to loop the gif)

gentle grove
wooden yarrow
#

looks like multiple waves

#

a ocean of apps

faint timber
#

wake up babe tihmware upstream merged into fr fr

drifting heron
#

you can have it play only once

drifting heron
wooden yarrow
placid kraken
#

oh i see what u meant

torn cloud
#

why am i getting seputil not found when i've literately added libexec to PATH.

#

this happened before since i added the actual executable seputil to PATH (which is wrong) but this time i've just added libexec and this is happening

#

i've restarted newterm and i've rejailbroken with checkra1n - no luck

torn cloud
#

weirdly everytime i restart Newterm i have to run source ./zshrc for it to work again though

slim bramble
torn cloud
#

sudo: command not found

#

what the fuck

torn cloud
#

some french guy that works at apple?

slim bramble
#

Yeah

#

that worked

torn cloud
#

wow

sonic totem
steady nest
hasty ruin
#

is it actually zsh

slim bramble
native orbit
#

plot twist x2, it's dash

sonic totem
#

fish

shrewd moth
#

someone did this for you? I want it as well

acoustic imp
slim bramble
hasty ruin
slender glade
#

procursus lol

#

last 3 commits were in like, in april jan and december

#

so it finally died huh

wooden yarrow
#

bro is gone

#

ig still barely active on the proc mastodon

#

but

slender glade
#

hayden too

#

idk maybe they got lives

placid kraken
#

cameron is a real enmity enthusiast now

wooden yarrow
#

fr?

#

is he active there

placid kraken
#

if you mean cameren then yea

hasty ruin
#

different dude

placid kraken
#

arent we all

hasty ruin
#

nah just capt

placid kraken
#

oh ok

marble perch
#

If you use the testing component, theres a shitton of updates

#

Nick Chan is in charge

slender glade
#

happy to see it's still alive after like 4 years now

marble perch
#

And i use the masto every day 😛

marble perch
#

Always able to handoff to trusted individuals

restive ether
torn oriole
#

That’s actually cool

placid kraken
#

lmao yeah

#

you should watch this guy's other videos

#

his reverse engineering content is amazing

#

he showcases it so cleanly

orchid fulcrum
#

Cattok is my favourite

placid kraken
#

yeah

torn oriole
placid kraken
#

same

sonic totem
#

I have the demo installed on my phone

torn oriole
slim bramble
#

The thumbnail

#

haven't watched it yet

fading shell
#

It’s amazing

#

All his content, actually

placid kraken
#

yeah totally ^^^^^^^^

#

i love this guy's videos

quaint rain
torn oriole
placid kraken
#

icraze spotted in the wild

torn oriole
#

icraze spotted in the wild

hollow oar
#

iCraze YT leak

slim bramble
#

icraze spotted in the wild

radiant idol
hasty ruin
#

animated icons guy

#

one of his videos

tepid olive
#

icraze 0day

young meteor
#

icraze -1day

tepid olive
#

icraze -4day

torn oriole
#

icraze -8day

acoustic imp
#

icraze -16day

tepid olive
#

icraze -32day

native dune
#

icraze -64day

kind herald
#

icraze -128day

hollow oar
#

icraze -256day

queen ruin
torn oriole
#

Yeah but it’s not SwiftUI it barely gets a pass

queen ruin
#

Let's gooooooo

torn oriole
#

Oh also private api’s are based so

native dune
#

Swift is fine as long as your code is good

#

SwiftUI :/

torn oriole
#

And only one of them is related to Text troll

#

Guess which one is the simplest one

#

Extensions are Color, Image, Text and UINavigationController

queen ruin
#

or you could just use .foregroundStyle (iOS 15+)

torn oriole
#

This doesn’t work for navigation title text

queen ruin
#

Oh of course not

#

Nothing works for navigation titles

#

😩

torn oriole
#

Except for four different and convoluted extensions troll

#

All this for my list cells to not highlight when selected

queen ruin
#

yeah and doing a lot of things in swiftui involves modifying the underlying UIKit, at which point like what's even the point of SwiftUI

torn oriole
#

Precisely

tepid olive
faint timber
#

iOS 18

kind herald
#

trolley

torn oriole
faint timber
#

anyone by their mac? need a quick thing

kind herald
#

me

faint timber
#

send output of otool -l on and extracted iPhone X kernel

#

if you have none just get 16.7.8

torn oriole
faint timber
#

yes

torn oriole
#

I gotchu

kind herald
#

hydrate do you just have an extracted iPhone X kernel on your mac

torn oriole
#

Yes

faint timber
#

90% chance ^

kind herald
#

what a random thing to have

#

well

faint timber
#

not really

kind herald
#

I can't talk I have a lot of random things

#

troll

faint timber
torn oriole
faint timber
#

yes

faint timber
#

but is the first 8 bytes zero?

#

or is it lined up

torn oriole
#

that and then some

faint timber
#

ok so I'm not crazy

torn oriole
#

highlighted byte is your offset if you were curious

faint timber
#

why is it off by 28

#

you would think it would start at FEEDFACF00000000?

torn oriole
faint timber
#

wym

torn oriole
#

its not precisely at your offset

#

tro

#

my highlighted byte

faint timber
#

point stands

torn oriole
faint timber
#

why is feedfacf 28 bytes off

#

weird

torn oriole
#

i would think the code would start where its not completely blank

faint timber
#

ok I figured it out

faint timber
torn oriole
#

approximately ten minutes ago

#

had an extracted ipsw lying around

#

just hit the img4tool -e -o

faint timber
torn oriole
#

so its a 16.7.8 specific weirdness?

faint timber
#

or

#

so two different people have the same bug on a different computer, at the same time(related to bvx2 extract)

#

or

#

apple force pushed the ipsw

torn oriole
#

is there something wrong with the ipsw thonk

#

bit slow on the context/implications here

faint timber
#

the macho file offsets are wrong

#

which raised a red flag

#

there being a random header thats exactly that size off?

#

the code I was using yesterday parsed it fine

torn oriole
#

hm

faint timber
#

wait

#

I have and older copy in my trash

#

it has the legit header!

torn oriole
#

what the fuck

faint timber
torn oriole
tepid olive
#

rm -rf / time

torn oriole
#

cause thats a slight difference trol

faint timber
#

0x1C 28 byte different

#

ok

#

its the ipsw thing has huge implications

#

luckily its not that

torn oriole
#

so whar tf is it then

faint timber
#

somehow the bvx2 lib has a bug

#

I just extracted on my phone which uses an older procursus ipsw bin

torn oriole
faint timber
#

ok ok ok

#

got it

#

img4tool and ipsw img4 extract and pyimg4 extract for bvx2 is now all broken

but... ipsw has a different extractor for bvx2... that one works.... wtf

torn oriole
#

@faint timber theres something wrong with the 10,3 kcache

#

img4tool is having none of it

#

10,6 is fine

#

oh my dumbass script extracted it and didnt rename it properly nfr

wooden yarrow
#

the one siguza claims is the most correct

faint timber
#

the issue is with bvx2

wooden yarrow
#

pretty sure img4lib also deals with bvx2?

faint timber
#

headass

#

hahahaa

wooden yarrow
#

0xCAFEBABE isn't a valid mach-o magic right

#

just checking

faint timber
#

we know its because the fileoff from the segment 64 is exactly 28 bytes off and that so happens to be that cafebabe 28 bytes

#

and yah feedfacf is also a header

#

ah wait

#

I didn't think about FAT

wooden yarrow
#

huh, cafebabe is actually normal magic for a Mach-O FAT binaries

#

and that header has number of arches as 1

faint timber
#

so the problem is apple is dumb why the hell did they ship a fat single arch

wooden yarrow
#

@faint timber the only reason ipsw "works" is because it handles the FAT already

#

lol

faint timber
#

but look

wooden yarrow
faint timber
#

so why does otool not tell me its fat @wooden yarrow

wooden yarrow
#

it should

#

probably

faint timber
#

nope

wooden yarrow
#

or maybe it just ignores it because it only has 1 arch?

#

i.e. special casing

faint timber
#

anyways

#

false alarm

#

the only issue here is consistency with ipsw code

#

I told blacktop about it

#

wasn't apple this time luckily

#

I just patched tihmware to support fat patching gg

wooden yarrow
faint timber
#

I'd say xpf if you are going best of all worlds

kind herald
wooden yarrow
#

i mean they are also the ones who do this horror

#

so

slender glade
#

@frail cedar @wooden yarrow @grim sparrow

grim sparrow
#

Despicable

slender glade
grim sparrow
#

Yeah

slender glade
# wooden yarrow so real

i've been having this same thought since like 4th grade but Pi is such a magical number it's crazy that it even exists

wooden yarrow
#

who knew circles could apply to so many things

slender glade
slender glade
slender glade
serene hawk
slender glade
slim bramble
slender glade
#

It’s a private CALayer API

slim bramble
#

Seems cool

wooden yarrow
slender glade
#

blocks out the view from appearing in screenshots & screen recordings, but still appears on the user's screen @wooden yarrow

wooden yarrow
#

oo

#

wait that's like the secure no screenshot thing

#

that like whatsapp uses

#

cool

#

wait @slender glade does that mean whatsapp is using priv api

#

💀

slender glade
#

Yeah

#

telegram does too

wooden yarrow
#

wtf

slender glade
#

every major app does

#

it's a big open secret

wooden yarrow
#

why dont they just make it public

#

trol

slender glade
#

but this api is really one that needs to be public

#

for one it doesn't really have any negative consquences

#

and it has a lot of positive ones

wooden yarrow
#

if it wasnt stable rn i think those apps would die

slender glade
weary heath
slender glade
#

@wooden yarrow I'm hesistating even harder rn cause

#

his video is like super high quality explanations and stuff

#

and mine is gonna look like a fork with nutella on it

wooden yarrow
#

do you always need to try and beat everything that's good

slender glade
wooden yarrow
#

😭

slender glade
#

but like a made in china level copy

wooden yarrow
#

if you're not trying to intentionally make it bad

#

it's going to be fine

#

lol

#

you need to start somewhere with anything anyways

#

make the vid🙏🙏

slender glade
weary heath
#

i'd also be interested in watching your video

serene hawk
#

+1

slender glade
#

🥹 🫡

wooden yarrow
#

i would love to see more shit

#

frfr

slender glade
young valve
#

if i compile a .deb with make clean package THEOS_PACKAGE_SCHEME=rootless and send it to my phone and use sileo to install it, will that work?

weary heath
#

it should

young valve
#

ok thanks

young valve
weary heath
#

you can send it here along with the error you get

young valve
#

ok

young valve
#

im not getting an error but when i install the .deb and goto imessage and type /shrug it doesnt replace it

weary heath
#

chances are that function isn't being called with /shrug as an argument

young valve
#

ohh

weary heath
#

you should add an NSLog before the if statement to see what's being passed to it

young valve
#

im new to this so could you explain a little more what an NSLog is

torn oriole
#

You might think of it as a print statement

young valve
#

oh

torn oriole
#

Except functionally not the same

weary heath
#
#import <Foundation/Foundation.h>

%hook UITextField
-(void)setText:(NSString*)text {
    NSLog(@"[MyTweak] Called -[UITextField setText:%@]", text);
    if ([text containsString:@"/shrug"])
        text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\_(ツ)_/¯"];
    %orig(text);
}
%end
#

Try that

young valve
#

ok thanks :)

weary heath
#

but yeah nslog is basically a print statement, you'll need to use console app to view them from your device (idk what the windows equivalent would be)

torn oriole
#

idevicesyslog

#

I think it has some primitive arguments

young valve
#

i have newterm3

#

oh ok

#

this wont fix it its just gonna make it print the error right?

slender glade
#

maybe u can but

torn oriole
#

Check your bundle filter btw

weary heath
young valve
young valve
torn oriole
#

Make sure you’re not injecting into like springboard accidentally

#

Since that’s the default

weary heath
torn oriole
slender glade
#

no idea tbh

young valve
slender glade
#

better to just make a new string and call orig with it

torn oriole
young valve
#

so i should delete that?

torn oriole
#

com.apple.mobilesms I believe is iMessage’s bundle id

#

Change it to that

young valve
#

ok

torn oriole
#

Actually hypothetically

#

Wait nvm that’s not springboard

#

Woe

#

Disregard

young valve
#
make[3]: *** [/Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.416566bd.o] Error 1
rm /Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.m
make[2]: *** [/Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/discordcommands.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [discordcommands.all.tweak.variables] Error 2```
young valve
torn oriole
young valve
#

ok lol

young valve
weary heath
#

is that the full error? it doesn't say much

young valve
#

thats everything

torn oriole
#

Little bit more

#

Might need to scroll up

young valve
#
    if ([text containsString:@"/shrug"]) text = [text stringByReplacingOccurrencesOfString:@"/shrug" withString:@"¯\_(ツ)_/¯"];
                                                                                                                   ^~
1 error generated.
make[3]: *** [/Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.416566bd.o] Error 1
rm /Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/Tweak.x.m
make[2]: *** [/Users/noahlefebvre/Documents/tweaks/discordcommands/discordcommands/.theos/obj/debug/arm64/discordcommands.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [discordcommands.all.tweak.variables] Error 2```
young valve
weary heath
#

replace ¯\_(ツ)_/¯ with ¯\\_(ツ)_/¯

young valve
#

why lol

weary heath
#

idk why it'd give that error tho

weary heath
# young valve why lol

An escape sequence is a combination of characters in a string, typically starting with a backslash ("\"). It represents a special character or command that may not be directly printable. Common examples include \n for a newline, \t for a tab, and " to represent a double quote within a string.

torn oriole
weary heath
#

see here, when i edit my text i had to do 2 to tell discord i just want a backslash

young valve
#

it worked lol

weary heath
#

cool

young valve
#

😭

weary heath
#

are you developing just on your phone?

#

btw, the only change i made was add a print statement

young valve
#

im on my macbook

torn oriole
#

He definitely is

#

Oh

#

Guess the terminal got him fucked up

weary heath
#

open the console app and plug your phone in

young valve
#

why?

torn oriole
#

Swore I smelled iPhone development disease from the lack of scrolling up in the terminal KEKW

weary heath
#

lol

torn oriole
weary heath
#

^

young valve
torn oriole
#

The one uh

#

In macOS

weary heath
torn oriole
#

Named console

#

Because it’s the only one that connects to phones

slender glade
#

the functionality u want to implement is in iOS btw

#

as a stock feature

weary heath
#

apple stealing our ideas again

torn oriole
#

iOS taking mad L’s when Apple can no longer steal tweak ideas

torn oriole
young valve
#

ok i got console appened lol

weary heath
#

find your phone in the left column and start logging, then in the search bar enter [MyTweak] and hit enter, then try test your tweak again

wooden yarrow
#

tr

torn oriole
#

Made the tweak 🔥

#

(It’s not a tweak)

weary heath
#

$2.99 on havoc

#

almost said packix

torn oriole
#

Just make a tweak that adds shit to the text replacement db troll

slender glade
#

ptsd

weary heath
#

fr lol

young valve
#

ok

young valve
weary heath
#

i guess other processes are also calling that function

#

did you filter for [MyTweak]

young valve
#

yep

#

nothing

weary heath
#

when you type do logs appear related to what you typed?

young valve
#

ye

weary heath
#

do they help show why your tweak isn't working?

young valve
#

no

weary heath
#

send a screenshot of the logs

young valve
#

i gtg

#

i just disabled the tweak

#

ill be back later tho

weary heath
#

np

young valve
#

bye

#

:)

weary heath
#

bye

young valve
#

thanks for all the help

weary heath
#

np, feel free to ping when you're back

slate isle
#

@worn thunder when you get a chance hit me up in dms i have a few questions about locsim

slender glade
frail cedar
slender glade
frail cedar
#

idk i just woke up

#

that's probably something

placid kraken
#

looks like swift

fading shell
sonic totem
#

#define isEven(x) !isOdd(x)

wooden yarrow
#

tr

crisp frost
#

func isOdd(_ number: Int) -> Bool {
  return !isEven(number)
}

func isEven(_ number: Int) -> Bool {
  return !isOdd(number)
}
sonic totem
#

Recursion

placid kraken
#

#define perfection “stack overflow”

fading shell
#

#define achieve "cause"

wooden yarrow
slim bramble
#

@timid furnace do you know where is the ping / the commands to fix app not installing ?

#

Cc @empty violet

timid furnace
#

should be in jailbreak pins

slim bramble
tepid olive
#

i am almost done doing the copy-pasta of palera1n into my project 😮

#

i'm pretty much back in linux land now back to my comfort zone i'm only using libusb for pongo fuck iokit

#

then i gotta deal with libssh joy

tepid olive
#

yeah but i'm lazy

faint stag
#

and like, technically you can still use libusb on macOS

tepid olive
#

exactly why i'm going that route 😄

timid furnace
#

what are you even doing

tepid olive
timid furnace
#

for ios?

tepid olive
#

for iPhones yeah

timid furnace
#

cool

tepid olive
#

i also wanna get the linux-apple patches isolated and grafted onto 6.9

#

because i want to start fucking with that new PowerVR driver

#

according to asahi lina the asahi gpu driver is useless for A10 because of substantial arch differences which makes it sound like the A10 GPU is still very heavy rooted in PowerVR and I think mostly the differences are a loss in floating point precision

#

and if that's the only real substantial change apple made then, adopting the new PVR rogue driver should be faiiirly easy enough?

#

if that's the case I could probably get a GPU backed postmarketOS on my NVME and "functional"

#

so ngl

#

i wanna start an editor war with kim jong cracks in the about box

slim bramble