Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CatsLover2006 opened this issue Aug 4, 2022 · 5 comments
Open

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

CatsLover2006 opened this issue Aug 4, 2022 · 5 comments

Comments

@CatsLover2006
Copy link

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
Copy link
Member

spv420 commented Aug 5, 2022

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
Copy link

aulkiller commented Jan 5, 2023

@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
Copy link
Author

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
Copy link

aulkiller commented Jan 6, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants