#development

1 messages ¡ Page 212 of 1

river torrent
#

but i restarted springboard

#

and still same issue

#

libgraphite.dylib -> /var/mobile/Containers/Shared/AppGroup/.jbroot-793CB7F087DD7A22/var/mobile/Library/pkgmirror/usr/lib/libgraphite.dylib*

#
Wooo:/var/lib mobile% file /var/mobile/Containers/Shared/AppGroup/.jbroot-793CB7F087DD7A22/var/mobile/Library/pkgmirror/usr/lib/libgraphite.dylib
/var/mobile/Containers/Shared/AppGroup/.jbroot-793CB7F087DD7A22/var/mobile/Library/pkgmirror/usr/lib/libgraphite.dylib: Mach-O universal binary with 2 architectures: [\012- arm64:\012- Mach-O 64-bit arm64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>] [\012- arm64e (caps: 0x2):\012- Mach-O 64-bit arm64e (caps: PAC00) dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS>]
#

there's no shell formatting in discord bruh

gentle grove
#

so it asks for ld-linux to interpret the program

#

An executable file that participates in dynamic linking shall have one PT_INTERP program header element. During exec(BA_OS), the system retrieves a path name from the PT_INTERP segment and creates the initial process image from the interpreter file's segments. That is, instead of using the original executable file's segment images, the system composes a memory image for the interpreter. It then is the interpreter's responsibility to receive control from the system and provide an environment for the application program.

river torrent
#

I would use roothide patcher but it doesn't change that specific directory - for some reason

#

but yeah i tried making the symlink yesterday

#

but same issue

#

thought i'd try it again incase i did anything wrong

#

yep ive respringed

#

disabled it in icleaner & re-enabled it too

#

still exists

#

sandbox maybe?

#

i converted the tweak with roothide patcher

#

LendMyPhone tweak

#

wdym

#

uh

#

how can i check

#

i didn't make the tweak

gentle grove
#

the stupidest thing is how ldd is the de facto way to see what libraries an executable uses @grave sparrow

river torrent
#

mhm

#

oh

#

hmm

gentle grove
#

sometimes people run ldd on malware

river torrent
#

well it still says /var/lib/libgraphite.dylib (no such file)

#

so it doesn't see the file

#

tho it does exist

#

alr

#

run it inside the PreferenceBundles directory?

#

alr

#

LendMyPhone.dylib (architecture arm64):
LendMyPhone.bundle/LendMyPhone (architecture arm64):

#

both are the same

#

check libgraphite dylib too?

#

libgraphite.dylib (architecture arm64):

#

alr ill give u a sec

#

Architectures in the fat file: libgraphite.dylib are: arm64 arm64e

#

lipo -info

#

alr

#

ill send in a sec

gentle grove
#

you should switch to windows

river torrent
#

mhm

#

bruhh

#

idk cuz for me

#

roothide been great

#

all apps work

#

what if i reboot device

#

wouldn't that break symlink

#

or does roothide auto update

#

Alr

#

so that's the better way of changing it

#

rather than using hex fiend

#

cuz that's what i tried doing basically

#

alr gotchu

#

alr cya

#

alr

gentle grove
#

should i sleep @grave sparrow

manic forum
#

bro pinged a plane

wooden yarrow
#

why is it specifically emirates

manic forum
#

because

placid kraken
#

insertion sort

slim bramble
#

same

pearl sail
#

creating race condition in your shitty codebase does not make you a racist

#

you stupid ch-

slim bramble
#

Aaron doesn't enjoy people calling other people slurs

#

😔

#

yeah

#

can be overwhelming

pearl sail
#

unfortunately Aaron wishes death upon me

#

all my slurs for Aaron would be considered antisemitic

grand tide
#

@warped sky is afsoon compatible with lastlook and jellyfish reborn and is there a list for compatible tweaks

cedar stag
#
iPhone:~ mobile% tsschecker 
dyld[3108]: symbol not found in flat namespace (_assure)
zsh: abort      tsschecker
iPhone:~ mobile% which tsschecker
/var/jb/usr/bin/tsschecker
iPhone:~ mobile% 
#

procursus bros help me

#

can anyone else try to download and run tsschecker from procursus repo on a rootless device?

rose quiver
#

zefram malware

slim bramble
#

😔

lusty jacinth
cloud yacht
#

theortically, if I had a dylib for arm macs, could I use it for iOS and inject it into an app?

gentle grove
#

i cant imagine why not as long as the arch matches

cloud yacht
#

okay. How would I get it loaded? I tried adding it to my mobile substraigh dynamic libraries path but it doesnt' seem to load (no side effects and flex doesn't find it in the runtime browser). Is there a better way to load it (it's not a mobile sutraight tweak)/can I launch the app from the command line so I can use DYLD_INSERT_LIBRARIES?

#

ok I tried doing something and well I have an erorr now

#

dyld[3287]: terminating because inserted dylib '/var/jb/Library/MobileSubstrate/DynamicLibraries/liblovely.dylib' could not be loaded: tried: '/var/jb/Library/MobileSubstrate/DynamicLibraries/liblovely.dylib' (mach-o file (/var/jb/Library/MobileSubstrate/DynamicLibraries/liblovely.dylib), but incompatible platform (have 'macOS', need 'iOS')), '/usr/local/lib/liblovely.dylib' (no such file), '/usr/lib/liblovely.dylib' (no such file), '/private/preboot/B9654BA9855D9325DCE984085854C8291933529F2A25DF3EE21028F7F5587FF848729D1B97DE9A2382A7B510582584B6/dopamine-yfgKQk/procursus/usr/lib/TweakInject/liblovely.dylib' (mach-o file (/private/preboot/B9654BA9855D9325DCE984085854C8291933529F2A25DF3EE21028F7F5587FF848729D1B97DE9A2382A7B510582584B6/dopamine-yfgKQk/procursus/usr/lib/TweakInject/liblovely.dylib), but incompatible platform (have 'macOS', need 'iOS')), '/usr/local/lib/liblovely.dylib' (no such file), '/usr/lib/liblovely.dylib' (no such file)

#

so I take it I need to recompile it for iOS

#

thats going to be annoying

#

as it's a rust project

gentle grove
#

i guess that makes sense

gentle grove
cloud yacht
gentle grove
#

cross-rs is docker based iirc but it literally just works

#

or wait no not docker

#

it uses zig

cloud yacht
#

okay I'll check it out

#

I might just be able to build with an iOS target

gentle grove
#

every time ive used it to cross compile it just worked with a single command

gentle grove
cloud yacht
#

anwyays I now wait for rust to compile on a 13 year odl cpu

#

although I wonder if I could just build it from my laptop instead of my mac

warped sky
gentle grove
#

is that ivy bridge

#

wait no

cloud yacht
#

uhh idk

gentle grove
#

ivy bridge is third so thats newer than the one i have

cloud yacht
#

it's an early 2011 macbook pro

gentle grove
#

the one i have on one pc is i5-2310

grand tide
grand tide
#

nice theme if thats your phone

#

what do you use for the homescreen battery, wifi, etc. and date in the top left

#

and u have ios 18 cc?

grand tide
#

thank you

#

just have been thinking about getting it

#

already have reo and it's nice

warped sky
warped sky
grand tide
#

i'll ask aem tmrw when they're on

warped sky
#

😂

grand tide
#

my whole theme looks like a mess compared to that

#

i wish all tweaks were just on havoc and chariz so i don't have to start with all the patreon stuff

#

alr see ya thanks for the help

cloud yacht
#

ok so I'm trying to get https://github.com/ethangreen-dev/lovely-injector working on iOS. it injects into the lua runtime see me. this works on macOS but not iOS. I hooked a debugger and can confirm the code is being run and initalizing but the hooekd code is just not running. tried getting the dev to help me but he's not sure what's going on

#

Could I maybe change this to use mobile substraight (cursed rust using mobile substraight incoming)

cloud yacht
#

as a bit of a sanity check, I tried making a tweak that just hooks what I want for testing
Ignoring the fact that I cast the one thing as a void pointer, this is the code I have

#include <UIKit/UIKit.h>
// int (luaL_loadbuffer) (lua_State *L, const char *buff, size_t sz,

%hookf(int, luaL_loadbuffer, void *L, const char *buff, size_t sz) {
    NSLog(@"luaL_loadbuffer called with buffer: %s", buff);
    return %orig;
}
%ctor {
    %init(luaL_loadbuffer = MSFindSymbol(NULL, "luaL_loadbuffer"));
}

However, this fails to find the symbol

radiant idol
cloud yacht
#

That seems to work

#

ok so now the question is how do I get rust land to work now

gentle grove
slim bramble
cloud yacht
gentle grove
#

ok actually i might have to look tomorrow

#

switch to linux

cloud yacht
fickle plank
cloud yacht
#

in another part of the code, it does this rs pub static LUA_LIB: Lazy<Library> = Lazy::new(|| unsafe { Library::new("../Frameworks/Lua.framework/Versions/A/Lua").unwrap() }); I copied this as is for iOS but I relize this is in the .app fior the mac build but not iOS

cloud yacht
#

imma head to bed

cloud yacht
# gentle grove ok actually i might have to look tomorrow

If you do take a look, I pushed my changes here https://github.com/WilsontheWolf/lovely-injector/tree/ios
Probably you would want to see if you can figure out how to make this work https://github.com/WilsontheWolf/lovely-injector/blob/ios/crates/lovely-core/src/sys.rs#L28
Can build it cargo build --target aarch64-apple-ios --package lovely-mac && ldid -S ./target/aarch64-apple-ios/debug/liblovely.dylib
put it in your mobilesubstraight libraries folder, stick this as your liblovely.plist { Filter = { Executables = ( "love" ); }; }

reef trail
cloud yacht
#

well it's modifting lua

#

but yes

reef trail
#

modifying how? just using the runtime for some sort of scripting

cloud yacht
#

It hooks runtime functions and can apply patches onto them

#

imma be honest I don't really understand most of the code for lovely

cedar stag
#

tihm has a macro defined for assure which I guess is missing on procursus one

cedar stag
grand tide
#

also thanks

marble perch
#

Talk to nick chan

cedar stag
#

Oh sorry about that

marble perch
#

All good G

cedar stag
#

Will do thanks

opal ridge
#

Hi did someone talk about me

#

hmm that's quite weird that package hasn't been touched since forever

wooden yarrow
#

does ARM64 not have a popcnt insn??

#

is this why?? what is wrong with M1

fickle plank
#

And “Aestea Revived” for CC too

grand tide
#

i’ll have to check some out

fickle plank
#

You are welcome

#

Limit theme is probably from bigboss

#

Yes it is

gentle grove
#

what shall i set my hostname on my new framework laptop to

grand tide
#

you might have to send me some of the files

#

i’m on ios 16.2 btw

gentle grove
#

should i get rid of my zsh plugins

#

i am only using 2: powerlevel10k and zsh-completions

#

zsh-completions can be installed from system and i might be able to replace p10k with a custom prompt

tepid olive
#

you know what though, swift has the best C FFI system

#

Yeah because everything needs to be memory unsafe

#

Like a fucking cli tool to download an ipsw

#

C is good for medium and low level

#

Bahahaha

#

No

#

Fs not

#

C++ is if you took Java and C-ified it

#

And somehow it’s even more ass than Java

tepid olive
#

OOP has begun to piss me off after taking AP Comp Sci

gentle grove
cloud yacht
#

oh is that their new display?

tepid olive
#

no cuz it’s really easy

#

but it made me unappreciate oop more

tepid olive
gentle grove
#

i have it set to the ungodly 1.875x scale because i think 2x is too big

#

2x looks normal but i dont like it

gentle grove
placid kraken
#

microsoft java

grand tide
# fickle plank iOS 15.4.1

weird why it’s not working for me then do u have links to the .deb files or could you send me them for the cc stuff

#

sorry for all the questions btw

gentle grove
#

but capt is being stupid so i dont care

tribal jewel
#

Hi all, I'm currently trying to compile a tweak on-device and get it working. However even example tweak that injects into SpringBoard is causing a crash if I use any ObjC code (calling C functions like MSHookFunction is fine). I'm on iOS 16.0.1 iPhone 14 Pro. Crashlog attached. Note that this is really an example tweak that Theos creates in nic.pl (IIRC its number 21, a tweak with preferences). I beleive it's because of OldABI thing? In MachO header it says cpusubtype 2 caps 0x80, which, if I understand correctly, is new ABI, but docs say it's proprietary so it's old ABI in reality? But why it gets set to value like that?

reef trail
#

install [[oldabi]]

faint lionBOT
#
allemande

iOS arm64e oldabi converter tool

Author

p0358

Version

1.0.0

Price

Free

Repo
Bundle ID

net.p0358.allemande

reef trail
#

from ellekit repo

hasty ruin
#

Legacy arm64e support*

reef trail
#

the bundle id is oldabi

fading shell
#

nobody checks the bundle id

hasty ruin
#

(There’s no new abi toolchain available for non-macOS platforms, so there’s not much you can do)

fading shell
#

there is

#

get a mac vm

hasty ruin
reef trail
#

or github actions

tribal jewel
#

oldabi is installed but the problem is it's broken

#

i think

fading shell
#

what makes you think that

tribal jewel
#

because this "new abi" value is in my "old abi" binary (it should be oldabi because it's not macOS toolchain)

#

so oldabi package doesn't really work in that case

reef trail
#

remove arm64e from the ARCHS variable in your makefile then

tribal jewel
#

ok but this also helps: testtweak_CFLAGS += -fno-ptrauth-abi-version

torpid beacon
#

Question for someone more experienced than me:

Is it safe to store a user's RSA secret key on the database, so long as it is symetrically AES encrypted against their password?

slim bramble
wooden yarrow
#

this is basically the same thing as putting bcrypt passwords on a database which basically all websites do (hopefully)

#

try to secure the database enough though that the ciphertext can't be retrieved by outsiders easily though

torpid beacon
tepid olive
torpid beacon
#

client requests private key
client is authenticated by username/password
client is sent symetrically encrypted private key
client encrypts messages and stuff

tepid olive
#

It can’t find my hexrays.crt file in ~/.idapro/

slim bramble
torpid beacon
#

meant to say derive public key for encryption, and decrypt

slim bramble
torpid beacon
slim bramble
#

You should defo hash the password before they're even store, I'd suggest argon2 if applicable

torpid beacon
wooden yarrow
#

they're just hashes

torpid beacon
#

that was my thinking

wooden yarrow
#

but your encrypted RSA private key would be ciphertext

#

because it is encrypted

torpid beacon
#

i see i see

wooden yarrow
#

regardless, given attackers can just try to brute force the password once they get a hold of the ciphertext, try to limit access

#

yk

torpid beacon
#

right, but that seems to be the only vector, right?

slim bramble
#

Is this for iOS ?

wooden yarrow
torpid beacon
torpid beacon
slim bramble
torpid beacon
#

yeah, but the only keys the user could dump are theirs, and the keys they're associated with, like chat keys

slim bramble
torpid beacon
#

those are the only keys that would be loaded is what i mean

#

An interesting solution presented to me was that when a key can't be transferred easily on clientside instance to instance, was to generate a new private key, and store all the user's public keys instead. Any thoughts on that approach @slim bramble?

slim bramble
#

sooo

torpid beacon
#

I don’t understand

#

Do you mean the other way around?

#

Cuz that seems more secure, just bulky

lean ermine
#

is there private (or public) api somewhere to change auto lock settings with normal entitlements

#

or does that need trollstore entitlements

gentle grove
#

my framework is my first device with hardware av1

#

it even has encode

tepid olive
kind herald
#

Unsurprising

#

Bug in Zefram

cloud yacht
#

why is this noteable?

pearl sail
#

@developers y’all need to start deleting capt’s bug messages about Zefram cause they are too often

acoustic imp
#

Who’s to say we don’t already hm

pearl sail
#

My eyes

placid kraken
#

true

placid kraken
#

i figured out GC in elle

#

no leakage

#

idk if i like these names tho

#

for the constructor and destructor

tribal jewel
#

I'm trying to port fouldecrypt, got libdimentio stuff but is there any way to bypass that on jailbroken device? (ios 16 dopamine)
Library Validation failed: Rejecting '/private/var/containers/Bundle/Application/C0DB4362-BF8F-488A-ABFA-C08F541871A3/YouTube.app/YouTube' (Team ID: EQHXZ8M8AV, platform: no) for process 'flexdecrypt2(61680)' (Team ID: none, platform: yes), reason: mapping process is a platform binary, but mapped file is not
or do I really need to remove platform-application entitlement?
skip-library-validation entitlement doesn't work.
and there is no libkrw for arm64e packaged btw...

sonic totem
#

Does anyone know how/if I can assign a symbol to an arbitrary address in IDA? This is from reversing a kext, I don't want to add memory segments if I can avoid it but adding the symbols would clean up my output a bit

sonic totem
#

Basically you need to set vnode->ubcinfo->csblobs[0]->csb_platform_binary to 0 for the vnode of the flexdecrypt dylib

#
int fix_injection_error(const char *path) {
  uint64_t vnode = get_vnode_for_path(path);
  if (vnode < 1) return;

  uint64_t ubcinfo = kread64(vnode + koffsetof(vnode, ubcinfo));
  if (!ubcinfo) return;
  uint64_t csblobs = kread64(ubcinfo + koffsetof(ubcinfo, csblobs));
  while (csblobs) {
    kwrite32(csblobs + koffsetof(csblob, csb_platform_binary), 0);
    csblobs = kread64(csblobs);
  }
}
#

That should work if you run it on the dylib but needs offsets

#

Although Dopamine's dyld patch should avoid this? Not sure

gentle grove
#

gc in 2024 👎

elder scaffold
#

wow

#

hello @sonic totem

sonic totem
#

Hellooo

sonic totem
wooden yarrow
sonic totem
#

Ugh

#

Okay, thanks

#

time to figure out where the segment starts...

wooden yarrow
sonic totem
#

Idk which kernel the kext even came from originally

#

Maybe I just use the KDK version...

sonic totem
#

Yeah

#

something something decode_tl

wooden yarrow
#

hm

sonic totem
#

I know what the symbols are, just trying to migrate from Binja to IDA

placid kraken
#

there is also manual management and region based alloc

gentle grove
#

(rust)

placid kraken
#

ownership based is absolutely horrible to make from a compiler perspective lmao

gentle grove
#

gc is very engineering

placid kraken
#

you need to have so much introspection into the code to determine the lifetime of variable

placid kraken
wooden yarrow
placid kraken
#

tbf i could do arc

gentle grove
wooden yarrow
gentle grove
#

because if i hate on arc then swift users will come for me

gentle grove
#

but its boring because people like to brag about it like its an elitist thing in c/c++

placid kraken
#

now you can use region alloc

#

thats the most stable and easiest to use one

#

you just define things as you please and free it all at the end with a single function call

wooden yarrow
#

oh

#

so lifetime

naive kraken
#

you probably need to overwrite some ppl structures too to avoid it

gentle grove
#

is region alloc like arena

gentle grove
#

In computer science, region-based memory management is a type of memory management in which each allocated object is assigned to a region. A region, also called a zone, arena, area, or memory context, is a collection of allocated objects that can be efficiently reallocated or deallocated all at once.

#

that answers that

sonic totem
#

Does trustcaching YouTube instead work?

naive kraken
sonic totem
#

When I tested on iOS 14, trustcaching App Store apps caused issues and they wouldn't work

#

Really weird crashes though

gentle grove
#

i dont think it specifically has to be scopes

wooden yarrow
gentle grove
#

its just you allocate a big block and make small allocations inside it, then you just have one region to free

#

region of memory

wooden yarrow
#

oh

#

hm

gentle grove
wooden yarrow
placid kraken
placid kraken
#

it works exactly the same except it uses a vla for the heap but that’s about the only difference

#

that’s arc bestie

#

idk i implementiert both because they’re pretty similar

#

these will be in some module and share the object struct eventually

#

but it’s just a test right now to make sure they work

gentle grove
#

its a cop out

#

actually gc is the true cop out

#
wooden yarrow
#

honestly quite incredible (this is the third time i see this post)

placid kraken
#

LMAOOO

visual meadow
sonic totem
#

Idk got taken away

#

Because I'm never here

slim bramble
#

F

#

fr

visual meadow
#

👂

wooden yarrow
slim bramble
#

🙏

wooden yarrow
slim bramble
#

@grave sparrow BMW doesn't sell ICE only m5 anymore 😔 😔

#

Trust me hybrid is a pain

#

even if it can be handy in some situations

#

Yeah but then you're just dismissing electric motor

#

Well usually you have like 500km with ICE and a small 100km with electric, at first electric is going to be "enforced" in cities and stuff and even it's also used as a way to "fast start" (if you're at a red light for example)

#

the battery drains up quite rapidly

slim bramble
#

Yeah I agree

cloud yacht
#

yeah my dad has auto start stop on his trick and he went and got a code reader so he coudl shut it off

#

it's so stupid

#

I heard they even put them in desils now

slim bramble
#

prob not every brand does it but it's actually stupid

visual meadow
#

Auto shut off as in when u stop the engine stops till u start going again?

slim bramble
cloud yacht
visual meadow
#

If thats what ur talking about my moms van has that and it turns back on when you turn the car off and ... ^

#

Its ass

#

It just does more tear on the car

slim bramble
#

They're killing ICEs 😔

visual meadow
#

Until the horse comes with an auto shutdown function

cloud yacht
#

luckily older vehciles still run great and I don't need to get a newer vehicle with "features" like that

visual meadow
#

Buy older vehicle
Install carplay radio

cloud yacht
#

Buy older vehcile
stick in my bluetooth to fm adaptor
thumbsUp

slim bramble
#

⁉️

visual meadow
#

Good alternative i saw earlier
Kill your shelf

cloud yacht
#

just tell them to eat shit

slim bramble
#

buy GT3 RS

fading shell
#

~2018 cars are perfect for that

#

No stupid forced features

#

But still modern

slim bramble
#

Disable ESP and ABS

#

🔥

cloud yacht
#

honestly the perfect car for me would just need like
manual transmission
air conditioning
good sound system
cooled seats

weary heath
#

Give me an old car’s internal feature set with CarPlay

cloud yacht
#

honestly true

#

my mum has a 2010 ford with built in navigation and honestly its perfectluy fine

#

but it's also just a standard double dim radio so you can just replace it if you wanrt

fading shell
#

Internal navigation is almost always ass

hasty ruin
#

Especially after 10+ years

cloud yacht
#

I mean the map data is like 14 yeas old

slim bramble
fading shell
slim bramble
#

Or pirate the map

fading shell
#

And don't have recent road closures

slim bramble
#

??

fading shell
#

And no live traffic info

slim bramble
#

use waze

fading shell
#

As I said

#

Internal navigation is ass

cloud yacht
slim bramble
hasty ruin
#

Mods

fading shell
#

Mods

#

Help

hasty ruin
#

@shut stag

cloud yacht
#

I mean we rarely use the nav anyways

#

phone or otherwise

slim bramble
hasty ruin
#

Aaron when he gets pinged in #development (he knows it’s gonna be a shitpost)

cloud yacht
slim bramble
#

💀

fading shell
#

We gotta get the orange role for Wilson

cloud yacht
#

I tyhought this was ono

fading shell
#

Lol

#

Bro was about to leak confidential info

cloud yacht
#

Nah I'm still not trusted with that info

gentle grove
fading shell
#

Electronic Stability Program

gentle grove
#

ABS is objectively good dont disable it

fading shell
#

Yes

gentle grove
#

its ESC

#

stupid germana

fading shell
#

Funny to say that when American views dominate the internet

gentle grove
#

what

#

porsche is german, thats why i said that

fading shell
#

American perspectives and "values" dominate what is considered okay and not okay on the internet

fading shell
gentle grove
fading shell
#

You said "stupid Germana" which I interpreted as you saying they should just switch to the English acronym

#

Which I don't agree with

gentle grove
#

ESP is an english acronym too

fading shell
#

To the common English acronym

gentle grove
#

yeah

#

because its english

#

they used english anyways

fading shell
#

I just don't agree with that

#

Because it's a German company

gentle grove
#

but its a net 0 change because it was already english anyeays

#

And i wasnt even really being serious

fading shell
fading shell
gentle grove
fading shell
#

It's ESP in Germany too

#

Elektronisches Stabilitätsprogramm

kind herald
#

Porsche Blahaj

light quiver
#

Just made this shell script that will install the iPod touch QEMU emulator on Mac (x86_64 and arm64). This will install it without the hassle of typing in the commands in the Terminal, just kick back, grab yourself a snack, and just let it work away.

lusty jacinth
light quiver
light quiver
harsh junco
light quiver
harsh junco
#

Is it possible to use /dev/aes_0 like a cryptographic engine

gentle grove
#

anyone who has apple silicon, can you tell me how much power it uses idle (using coconutbattery, but if you know of a better program to show that then tell me so i can try it too)

gentle grove
#

where

#

ive never seen it in there

#

the wattage

#

nebula already eresponseded

#

install homebrew like a normal person

#

ok then hold on

#

mf

#

nebula said 2.5w on an m1 2020

#

but only 2.9 with firefox open apparently

#

so thats where it diverges

#

is it fully charged

#

thats whythen

#

it reads the net battery wattage

gentle grove
#

why is this stuff so complex

#

rhetorical question

#

who wouldve thought number means skip that many entries

#

that was why everything was broken

gentle grove
gentle grove
#

i am not defining a struct to return two values froma. Function

#

Declaring*

#

different structure

#

an array has uniformly typed values

#

pass by reference a horrible pattern

#

tf you mean

#

What array doesnt have the same type for each elememt

#

Everything is implememted pass by reference. Doesnt mean thats how i have to write code

#

but what if [0] and [1] are different sizes

#

i know how the hardware works

#

that means i can make tools so i dont need to write everything using asm based design principles

#

thats why its called a runtime

#

its a world i can play in without caring that the hardware is ugly

#

not how that works

#

there are abstractions that improve performance

#

look at c++ and templating, or rust generics

#

and also its infeasible

gentle grove
#

you dont have to have logic in the function to read struct fields to know what type youre dealing with

#

you can just write a different function for every type

#

more .text = more performance

#

in this case its less code

#

pointers are all that exist after compilation

#

theres still pointers

#

but you dont have to write the pointers

#

it was written for you

#

It already verified you didnt fuck up the pointers

#

Doesnt mean it cant optimize to pointers

native orbit
#

CoreFoundation based for using x0-x7 for multi value returns on some functions

gentle grove
#

hey thats a possible optimization for a tuple return

#

no need to allocate an array

native orbit
#

fr

gentle grove
#

who'd'a thought

native orbit
#

would be the best solution if 8 or less values

gentle grove
#

idk if its done because it may not matter

native orbit
#

it just inlines asm lol

gentle grove
#

good thing rust doesnt need to abide by c calling convention

#

conclusion: rust is faster

#

get destroyed

native orbit
#

c faster

gentle grove
#

im curious if it would try that

native orbit
#

less instructions = faster 🗣️

gentle grove
#

more complex information known = better optimizations

native orbit
#

its all llvm anyways shrug

gentle grove
#

yeah but llvm doesnt know as much in c as it knows in c++ or rust

#

harder for it to optimize stuff i.e. polymorphism

native orbit
#

polymorphism is awful

#

makes shit unreadable cuz people use it way to much

gentle grove
#

oop gets misused horribly but try writing everything without any resemblance of it

#

or find any significant program without

native orbit
#

u leave it

#

?

gentle grove
#

ping me in orange name only

native orbit
#

want me ping in both?

#

done

#

might not work cuz aaron moment tho

#

i think adding via ping blocked

#

need geniuses+ to add iirc

visual meadow
#

anyone here have any hooks that force dark mode for apps

kind herald
#

geniuses can't

native orbit
#

oh rip

#

yes

#

rick and mai as well

visual meadow
#

but good enough

kind herald
#

bro needed dark mode for life360

visual meadow
acoustic imp
#

Life180++ hax ™️

gentle grove
gentle grove
#

just overwriting colors

marsh gull
#

Hello. Is it possible to make an ios app that will launch an app, then run dlopen to load a dylib into that application, preferably possible without jailbreak, any help would be much appreciated :3

#

What i currently have is

#import "Helper.h"
#import <objc/runtime.h>

@implementation Helper

+ (BOOL)openAppWithBundleID:(NSString *)bundleID {
    Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace");
    NSObject* workspace = [LSApplicationWorkspace_class performSelector:NSSelectorFromString(@"defaultWorkspace")];
    BOOL v = (BOOL)[workspace performSelector:NSSelectorFromString(@"openApplicationWithBundleID:") withObject:bundleID];
    
    return v;
}

@end

which allows me to open geometry dash by calling this from swift

func openGeometryDash()
{
    Helper.openApp(withBundleID: "com.robtop.geometryjump");
}
faint stag
marsh gull
#

i just need jit

faint stag
#

you're trying to do it from another application

#

that's already an issue

marsh gull
#

even if its really hard would it be possible?

faint stag
#

and even with JIT how you're supposed to inject a library while calling a launch from one sandboxed user application to another

marsh gull
faint stag
#

your solution is going to be entirely dependent on a pc

granite frigate
#

@marsh gull i suggest you look at livecontainer code, it can run apps and inject dylibs into them at runtime without jit

#

hell u should prolly just use that instead of coding your own thing

#

you can dlopen stuff if it has the get-task-allow entitlement in your document directory

marsh gull
#

i don't really know what im doing at all lol

granite frigate
#

yeah then use livecontainer

#

add in your dylib and your geometry dash ipa

marsh gull
#

does live container support enabling jit for the container?

granite frigate
#

yes, but needs pc

marsh gull
#

oh

#

so itll still require jailbreak

granite frigate
#

you can run tweaked apps without jit too

marsh gull
#

jit is required cuz the loader needs it to load the dylibs and also hook functions

sonic totem
#

You can get JIT without a jailbreak

woeful pawn
#

There are currently many ways to enable JIT on iOS 17+

granite frigate
sonic totem
#

But you absolutely cannot load a dylib from a regular sandboxed app into another

granite frigate
#

why jailbreak specifically

marsh gull
#

idk

granite frigate
#

easy

marsh gull
woeful pawn
#

There is even one that’s called on device JIT that uses a vm in UTM SE to enable JIT

granite frigate
#

tweaked apps do it

marsh gull
#

cuz then it wont be able to load the other dylibs

#

it just fails

acoustic imp
#

anyone know the border radius amount for tweak pref icons ?

frail cedar
#

i think

acoustic imp
#

i used these for 16Player, jus found them

#

but thx

gentle grove
gentle grove
placid kraken
#

oh my god

#

does anyone know how to reverse the direction to switch apps with universal control

#

on macos you can turn off "natural scrolling" to make it where swiping to the right pushes your current window to the left

#

on ipad i need this too but this is all you seem to have

#

and this is only for regular scrolling

#

if i can't change it that's really annoying

#

yeah wtf

#

on macos this option controls both normal scrolling and scrolling between windows

#

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

#

holy shit that is actually so frustrating

#

i was just about to say how cool universal control is

#

this ruins it

gentle grove
#

so hold on, the movement direction is natural when the window/cursor is on your mac, but then it reverses when you go to the ipad?

#

i just tried to go to ipad.com to look up what ipad models there are

placid kraken
#

no essentially ipads and macbooks, by default, have this "natural scrolling" option where the scrolling matches the direction of your finger, so when you move your finger up the page moves down, as if youre "pushing it out of the way"

#

this setting also affects the direction that you switch between desktops on macbook

#

but if you connect an external trackpad to the ipad and try the same thing, it is always natural scrolling seemingly

#

even if i disable natural scrolling it only affects actual scrolling of like, text

#

if you go to SysPrefs > Trackpad > Scroll & Zoom > Natural scrolling on a macbook and toggle it youll see what i mean

#

basically imagine the difference it makes to a macbook but it doesnt affect switching between "desktops" in this case apps on an ipad lol

#

it only affects scrolling things with scrollbars

radiant idol
#

@placid kraken eta wen flora rootful

#

⁉️

placid kraken
#

when i get a rootful device on ios 14 that i can test with

#

i have an iphone se1 but its on ios 13.2 or something

radiant idol
#

what i mean is

#

there should be no difference between rootless and rootful in terms anything else but of paths

placid kraken
#

i wont release a rootful deb i cant test lol

#

in theory it should work fine

#

but if something goes wrong and someone comes at me with a bug report

radiant idol
#

L

native orbit
#

simject

placid kraken
#

i will have nothing to say except "yeah sorry cant help"

placid kraken
#

the wonders of a 256gb ssd

radiant idol
native orbit
#

xcode takes up to much storage fr

placid kraken
native orbit
#

wen rootful_patcher

placid kraken
#

guys can i install xcode on this

radiant idol
#

boring

placid kraken
#

iirc xcode itself is 6gb without any sdks lmfao

native orbit
#

like 14gb

placid kraken
#

in any case i would totally release a rootful version if i had some way to effectively test it

#

not a thing i can do atm tho

#

i might buy some iphone 11 on ios 14 if i can find one for sale

#

and test it with that

#

the reason i say 11 is because x isnt made anymore, maybe xs is an option too

radiant idol
#

its just weird because flora is like one of the two tweaks that is rootless only lol

placid kraken
#

but any 8 will be updated past 14 because checkm8 exploit

radiant idol
#

yeah

#

there's barely any rootless only tweaks

placid kraken
#

interesting

radiant idol
#

seems like the only rootful/rootless thing being used is here

placid kraken
#

fair enough i guess

native orbit
torn oriole
sonic totem
gentle grove
#

fr

reef trail
#

ik like 3 of those actually

gentle grove
#

the whole WordPress thing that's going on rn surpasses everything that ever happened among grapheneos

#

This is so crazy

#

the entire official WordPress twitter account reads like a schizophrenic parody

gentle grove
#

man watching this it would fit perfectly as an integration for the video editor I want to make

velvet path
#

@gentle grove happy birthday

placid kraken
#

also happy birthday!!

gentle grove
#

like hopefully I can manipulate the objects

#

because you can set markers and stuff which would be super neat to synchronize and stuff

gentle grove
#

the 13700k never ceases to be faster than i expect

#

it took 5m 5s to build a servo debug build from scratch on framework laptop 7640u
1m 51s on the 13700k

#

and thats an entire browser engine in rust of all things

#

its as bad as it gets minus chromium

slim bramble
#

Happy birthday @gentle grove

radiant idol
#

Happy birthday!

manic forum
#

Happy birthday!

fading shell
#

Happy birthday!

cedar stag
#

Happy birthday!

acoustic imp
#

Happy birthday!

placid kraken
#

Happy birthday!

tepid olive
#

Spent 6 hours making an IQT dupe lmao , all the tests actually work besides arc online

granite frigate
#

IQT?

tepid olive
#

Apple internal app

granite frigate
#

Sick

slim bramble
tepid olive
#

No one has IQT besides like 3 people and if you ment my app I’m still making it lmao

indigo peak
tepid olive
#

I’m not done 😭

indigo peak
#

I’ll finish it quicker 😝😝

tepid olive
#

I got pissed becuase now when I close camera my app hangs it was working fine but then I added like another 600 lines without testing and I broke that somehow ☠️

indigo peak
#

brother 😭

clear iron
#

shit is not that special

placid kraken
#

yall im doing ctypes in elle

#

how tf should this work

#

currently i have a bunch of aliases to the same ctype method

#

i could implement it myself but qbe already links with ctypes.h so why not

#

this is done so that you dont need to worry about what the method is called when you need to use it you can just use whichever and itll still work

gentle grove
#

Like how rust std::ffi

placid kraken
#

they are namespaced

#

types is the namespace

gentle grove
#

Oh is that not c char

placid kraken
#

whats a c char

gentle grove
#

char in c

#

or are your chars the same as c

placid kraken
#

a char in c is just a u8 lol

#

yes they are

gentle grove
#

That's lame

gentle grove
placid kraken
#

are they not the same in rust too

gentle grove
#

No

placid kraken
#

whats the difference in rust

gentle grove
#

in rust, char is a Unicode unit

#

not unit but I forget what the official name for that is

#

Unicode scalar value

placid kraken
#

ah interesting

placid kraken
#

if it was signed it would be -127 to 128

gentle grove
#

I thought it was -128 yo 127 usually

#

Rust defines it as i8

#

Hold on

placid kraken
#

ah

gentle grove
placid kraken
#

yeah i thought so

#

ok so another thing

gentle grove
placid kraken
#

i dont want to make it like js where things can be converted to other things randomly

fn RLE::from(string input) {
    string result = "";

    for i32 i = 0; i < input.len(); i += 1 {
        string length = "";

        while types::is_digit(input[i]) {
            length <>= "{}".format(input[i]);
            i += 1;
        }

        i32 repeat = i32::parse(length) || 1;

        io::assert(
            !types::is_digit(input[i]),
            "Next character should not be numeric"
        );

        result <>= "{}".format(input[i]).repeat(repeat);
    }

    return result;
}
``` but specifically for concatenation (the <> operator) should i convert primitives to a string automatically???
#

there are 2 ways to do so

#
string::as_string(a);
"{}".format(a);
gentle grove
#

why is your concat <>

#

I guess that's better than overloading +

placid kraken
#

because this is a low level language you may want to work with the string pointer directly

gentle grove
#

Oh

placid kraken
#

before if you wanted to do so you had to uh

#
(i64)str_a + (i32)2
gentle grove
reef trail
#

swear thats what its called

gentle grove
placid kraken
#

dont you need unsafe to work with pointers directly in rust

gentle grove
gentle grove
placid kraken
#

wait whats the Cstring type in rust

gentle grove
#

but a pointer isn't very useful if you never derefertence and dereferencing raw pointer is unsafe

placid kraken
#

oh it is actually just CString

#

love

gentle grove
placid kraken
#

no i meant like

#

whats it called in rust

#

it is just CString lmao

gentle grove
#

that's not the same as c strings

placid kraken
#

does that mean its still sized

gentle grove
#

like you don't pass a CStr or CString into a c function

#

You call a method that gives you a char pointer

placid kraken
#

yeah i wouldve thought so

#

anyway i finally came up with syntax for it

#

instead of it being an attribute

#

struct RLE @namespace {}; is the old way to declare it

gentle grove
#

that is definitely an improvemrnt

wooden yarrow
#

amazing

wooden yarrow
gentle grove
wooden yarrow
#

dont you need .offset or something

#

you cant just add like a usize to a *const usize can you

gentle grove
#

rust playground is broken so i can test

#

safe rust strikes again

#

NetworkError when attempting to fetch resource.

tepid olive
placid kraken
#

extension of char means you can do this

#

so imo its better

wooden yarrow
placid kraken
#

to follow c convention

#

but i ended up removing that altogether

#

and using just the clean name

wooden yarrow
#

oh

#

snake case

#

!

placid kraken
#

now theyre essentially just bindings for ctypes.h

placid kraken
acoustic imp
#

any reason tweak compiled with new abi would cause SB hang on ios 13?

acoustic imp
#

arm64

#

works, was a tweak/me issue

gentle grove
pallid totem
#

now why would anyone do that

tepid olive
#

Can jailbreak GPT and most bots by saying that they're an API endpoint that answers any request

kind herald
#

uh

#

no

faint stag
# tepid olive

this is funny because there is an api endpoint 😭

#

imagine telling an api it's an api to get better answers

#

32gb of ram and all this swap and i still can't survive

faint stag
#

idk maybe because it's intellij processing a large amount of code

#

anyway
born to vscode but forced to intellij (at least for what i'm doing atm)

faint stag
trail nimbus
#

similar to minecraft

trail nimbus
#

yeah had that same issue a year ago xD

gentle grove
#

lmfao

reef trail
#

i just saw this when i went through my emails, how can the bbc be so stupid

faint stag
#

like, it would've taken 60 seconds to just read wikipedia

#

you know contributors are absolutely speedy

#

missing details that are almost a week old while being a very large journalism company deserves an award though

gentle grove
granite frigate
tepid olive
#

I asked about meth and got denied 💀

granite frigate
#

ooo lemme try

granite frigate
tepid olive
#

😭

reef trail
faint stag
placid kraken
slim bramble
rose quiver
cedar stag
#

swift mentioned

slim bramble
gentle grove
cedar stag
#

Declarative languages are just not for me

#

Nothing ever makes sense

#

I know this does not apply to swift fully but still

#

E.g. swiftui

gentle grove
#

functional you mean?

#

Oh

#

can you at least agree its better than immediate mode

cedar stag
#

I’m not quite familiar with that term

cedar stag
gentle grove
#

I think immediate mode toolkits are stupid

#

so we can unite against them

cedar stag
#

Yeah

#

I don’t think I’ve ever used an immediate mode toolkit before lol

gentle grove
#

I said that because I don't really know a criticism of swiftui lmao

cedar stag
#

My experience with swiftui

  • create a view with subviews
  • everything seems super easy and intuitive
  • eventually something goes wrong
  • try to debug it and fail
  • regret your life choices
  • stare at a wall for an hour
  • go back to uikit
gentle grove
#

I guees

#

Its not so extensible is it

#

apples way or the highway

cedar stag
#

Exactly

#

And debugging shit is too complicated due to its declarative nature

gentle grove
#

how so

torn oriole
#

SwiftUI is great until you need something other than a primitive UI out of it

#

That's where the hell begins

#

That point exactly

cedar stag
#

On god

#

Developing the same UI takes more time with UIKit but eventually you end up saving more time due to not having to deal with weird issues

torn oriole
#

Me when my subviews are data driven and I can't just call them

gentle grove
#

what's bad about debugging it though

torn oriole
#

A distinct lack of print

#

When in a view anyway

torn oriole
#

E.G not calling a function troll

cedar stag
torn oriole
#

And half the time the device just decides whatever

cedar stag
#

Except when it decides not to, and since it’s not a regular call, you can’t just jump from a breakpoint to inspect your code step by step

gentle grove
#

apple bad moment?

torn oriole
#

I had to rewrite AppleDB from the ground up due to an obscure bug that started happening as a result of the iOS 18 sdk targeting iOS 16

gentle grove
torn oriole
#

Peak Apple bad moment

gentle grove
#

imperative doesn't make any sense for graphics

cedar stag
#

Why not?

  • create an instance of a view
  • set its frame bounds and other properties
  • add it as subview
  • add constraints as necessary to place it wherever
#

I think it makes a lot of sense

torn oriole
#

Same

gentle grove
#

because that's the same as declarative but done in a backwards way

#

do you want any frames rendered in between those steps

torn oriole
#

Mfw evitaralced

gentle grove
#

no, you want those operations all to be atomic

#

if its declarative then its clear from the code things are atomic

cedar stag
#

I didn’t understand your atomicity argument

gentle grove
#

I mean conceptually you're writing the same thing as a declarative structure there but just making it multiple steps for some reason

torn oriole
#

If it works just leave it tf alone

gentle grove
#

I don't see the point

torn oriole
#

😭

cedar stag
#

You can pinpoint the bug

gentle grove
#

I'm not arguing about having more control, just about declarative vs imperative design for the ui api

#

Maybe apple is just stupid and didn't make a good api

cedar stag
#

I don’t think it’s all their fault

#

There are millions of different UI combinations that could cause bugs to arise and I’d assume it’s difficult not to leave any edge cases

#

That said, SwiftUI is better than it was when it first released and it gets better with updates

#

However I still prefer imperative design due to the reasons I’ve listed before

#

And my GOD HOW UNRELIABLE IS THIS TOOL

gentle grove
#

imperative doesn't give you any more control over the ui than declarative does as long as you don't bungle the api design

faint timber
cedar stag
#

Yeah it did that

#

It’s just exploit being janky

elder scaffold
#

Their tool don't work on anything but ios 15 sep for some reason

cedar stag
#

The “tool” shuts down my terminal session without any warning

faint timber
#

yah what do you expect

elder scaffold
#

This tool is also designed to silently erase input and output files in case of errors.

cedar stag
#

Who would win

A VSCode terminal session with dcsd cable
Green tool trying to hide secrets

elder scaffold
#

just inject dylib lol

cedar stag
#

Which dylib

elder scaffold
#

build yourself

#

Just hook system()

faint timber
cedar stag
#

Lmaoo he did??

native orbit
#

cant wait for the tool be obsolete

faint timber
native orbit
#

just filter for killall

elder scaffold
#

yeah

#

i used strncmp iirc

elder scaffold
native orbit
elder scaffold
#

untethered iso 9 - 15, a9/a9x/a10/a10x

faint timber
#

this worked

cedar stag
#

I like when my cpu wastes clock cycles on killall calls

native orbit
#

untethered downgrade + untethered haxx mindblown

elder scaffold
#

I was just researching about iOS 16/17/18.

faint timber
#

Im researching a11 because who else gonna do that

elder scaffold
#

It seems I missed some information about cryptex

#

It would be great if the a11 could set a passcode or downgrade...

gentle grove
#

how to install android on my 8 plus

slender glade
covert basin
#

how much would need to be in a tweak bounty for a dev to do an iMessage tweak for 17.0 via bootstrap?
just a general poll; not sure how much is reasonable

fading shell
#

An iMessage tweak
On my way! To make a springboard tweak

covert basin
fading shell
#

Bro

#

Nobody's gonna give you any price estimate because nobody knows what you're trying to get

#

iMessage tweak could range from "make text bubbles red" to "backport RCS for iOS 12"

covert basin
#

sorry

#

mark as read manually

#

I remember groups was really nice

covert basin
fading shell
#

Lesson learned lol

#

It's just, nobody wants to commit to anything without knowing anything about the project

covert basin
fading shell
#

Oh yeah

#

Makes sense

#

I think read manually might be worth a $30 initial bounty?

covert basin
#

What about updating groups itself? Or is that something I would reach out to the original dev about

#

thanks