p0larisdev / untether

wip untether for p0laris
66 stars 8 forks source link

./build_native.sh doesn't run? #3

Open CatsLover2006 opened 2 years ago

CatsLover2006 commented 2 years ago

When I attempt to run ./build_native.sh (directly on my iPad 2 for the sake of aiding development, I am willing to sacrifice the small 16gb of storage I have on it to aid in development), I get the following error log (this is already under superuser, so file writes should not be an issue) FullSizeRender I'm pretty sure this has to do with the fact that, after looking at the filesystem, exp.js is exactly 0 bytes large. Also, both the /tools/bin and regular /bin folders don't exist (in this particular example, I created /tools/bin to the exact same result). Any ideas as to how I can at least get this compiling? I hope this is not an inconvenience.

spv420 commented 2 years ago

Warning before you continue. This software is not production-grade, it's hardly alpha-grade. It's more "this-might-fuck-your-device"-grade. You could lose data, have to restore your device, or just generally fuck shit up. If you're OK with that, or have another device which you're willing to risk the data on, have fun.

The iPad2,4 is not officially supported, and either the racoon ROP gadget offsets, the shared cache offsets, or kernel offsets may not be correct. It could work, but I don't have a 2,4 to verify it.

Install GNU Coreutils first of all, it's why whoami isn't found. For jsmin, and other tools (like fuck_aslr), run tools/build_native.sh.

Make sure your toolchain is correct too. I use the toolchain from here.

Also, move the untether source tree to /var/root, exploit.conf and old_exp.conf expect it to be there.

Otherwise, if you need anything else, feel free to let me know. Cheers!

~ spv

aulkiller commented 1 year ago

@CatsLover2006 sorry for tagging you, may i ask where did you get the objcopy command/syntax? also Core Utilities from Cydia/Telesphoreo should solve your whoami. For rests you need to create bin folder manually in untether and shc folder. Don't forget to run build as mentioned too in tools folder

Mine running but idk how to measure the untethered successful? Rebooted and it gone lmao. Probably due to all of objcopy commands not running

Ipad 3(A5) here

CatsLover2006 commented 1 year ago

I’m not 100% sure where I got the commands. I just booted up my iPad 2 today and tried updating the source and it worked. Also, I have an iPad 2,4 and imported the iPad2,5 offsets someone else got (conveniently the same as the iPod5,1 offsets, coincidence?) and got nada.

aulkiller commented 1 year ago

Mind sharing your sources or installed apt? I only use @spv420 (sorry for tagging) Toolchain and Cydia.Radare to update my apt ... tried hours finding for binutils containing objcopy...

CatsLover2006 commented 1 year ago

https://osandamalith.com/2015/07/12/installing-gcc-on-ios-8/ Did that if I remember correctly.