TomLube

Project Sandcastle (Android Build) Instructions

Mar 4th, 2020
8,007
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. Project Sandcastle - Android build
  2. Projectsandcastle.org
  3.  
  4. Android instructions :
  5. Caution - This will create a new volume on APFS. This should not hurt your ability to boot iOS. But if you are not willing to restore your device. Do not try this as it's still beta.
  6.  
  7. MAC:
  8. You must have checkra1n installed in Applications to run this. Use checkra1n to boot your device into iOS. Run ./setup.sh (setup_mac.sh, on your computer via Terminal) - This is a one time setup and doesn’t need to be repeated for the same device. Once setup is complete you can put your device into DFU mode and run ./start.sh (start_mac.sh, on your computer via Terminal) to boot Android.
  9.  
  10.  
  11. Linux:
  12. Checkra1n boot your device and login to it via SSH. Scp isetup file to /tmp on your iPhone and run chmod 755 /tmp/setup.sh && /tmp/setup.sh
  13. Once setup is complete grab the latest loadlinux.c source code from our github https://github.com/corellium/projectsandcastle/ and compile it and run ./loadlinux Android.lzma dtbpack
  14.  
  15.  
  16. Removing it:
  17. If you wish to remove the Android NAND image and reclaim the space you can login via SSH to your checkra1ned device and mount the final volume and remove the nand file. To do this run ls /dev/disk0s1s* and find the last volume. You can verify its the right volume by running /System/Library/Filesystems/apfs.fs/apfs.util -p VOLUME_HERE and if it says Android, that's the correct one. Once you have the volume path you can then run
  18. mkdir -p /tmp/mnt
  19. mount -t apfs VOLUME_HERE /tmp/mnt
  20. rm -rf /tmp/mnt/nand
  21. umount /tmp/mnt
  22. sync
  23.  
  24. And that will reclaim the space for you.
Add Comment
Please, Sign In to add comment