Giter Site home page Giter Site logo

ios15_tethered_downgrade_guide's Introduction

Tethered Downgrade Guide By Mineek

discord: Mineek#6323

This tutorial was made in half an hour, its really bad but should get you started on your tethered downgrade adventure!

HUGE THANKS TO galaxy#6181. Without him, I wouldn't have known all this to write a guide!

REQUIREMENTS:

Make sure to use the forks listed above.

Downgrade portion:

  1. Grab yourself your ipsw for iOS 15.1

  2. Extract it and grab kernelcache and restore ramdisk (tip: it's the smallest .dmg in the IPSW!)

  3. Put kernelcache and ramdisk.dmp in new folder

  4. Extract the restore ramdisk with: pyimg4 im4p extract -i restore_ramdisk_name.dmg -o ramdisk.dmg

  5. Mount the restore ramdisk:

    hdiutil attach ramdisk.dmg -mountpoint ramdisk
    
  6. patch ASR:

    asr64_patcher ramdisk/usr/sbin/asr patched_asr
    
  7. Patch restored_external:

    restored_external64_patcher ramdisk/usr/local/bin/restored_external restored_external_patched
    
  8. Patch libimg4:

    libimg4_patcher ramdisk/usr/lib/libimg4.dylib libimg4.patched
    
  9. Extract original entitlements from original binaries.

    ldid -e ramdisk/usr/local/bin/restored_external >> restored_ents.plist
    ldid -e ramdisk/usr/sbin/asr >> asr_ents.plist
    
  10. Remove the old ones:

    rm -f ramdisk/usr/sbin/asr && rm -f ramdisk/usr/local/bin/restored_external && rm -f ramdisk/usr/lib/libimg4.dylib
    
  11. Resign the binaries:

       ldid -Srestored_ents.plist restored_external_patched
       ldid -Sasr_ents.plist patched_asr
       ldid -S libimg4.patched
    
  12. chmod the binaries:

      chmod 777 restored_external_patched
      chmod 777 patched_asr
      chmod 777 libimg4.patched
    
  13. Replace the original binaries with the patched ones:

    cp -a restored_external_patched ramdisk/usr/local/bin/restored_external
    cp -a patched_asr ramdisk/usr/sbin/asr
    cp -a libimg4.patched ramdisk/usr/lib/libimg4.dylib
    
  14. Unmount the ramdisk:

    hdiutil detach ramdisk
    
  15. Repack the ramdisk

    pyimg4 im4p create -i ramdisk.dmg -o ramdisk.im4p -f rdsk
    
  16. Extract the kernel:

    pyimg4 im4p extract -i kernelcache.release.* -o kernelcache.raw --extra kpp.bin 
    

(If your device does not have KPP which is A10 devices and up do not include --extra kpp.bin)

  1. Patch it:

    Kernel64Patcher kernelcache.raw  kernelcache.patched -a
    
  2. Repack the kernel: (If your device does not have KPP which is A10 devices and up do not include --extra kpp.bin)

    pyimg4 im4p create -i kernelcache.patched -o kernelcache.im4p --extra kpp.bin -f rkrn --lzss
    
  3. Restoring the device with futurerestore:

(MAKE SURE YOU ARE IN PWNDFU WITH SIGCHECKS REMOVED!)

futurerestore -t blob.shsh2 --use-pwndfu --skip-blob --rdsk ramdisk.im4p --rkrn kernelcache.im4p --custom-latest-beta --custom-latest-buildid 19H12 --latest-sep --latest-baseband original-ipsw.ipsw

ios15_tethered_downgrade_guide's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.