Skip to content

Software used by Qemu-iOS to generate a NOR image

Notifications You must be signed in to change notification settings

zoe-vb/qemu-ios-nor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If you want a shell with serial please view the Single User Mode branch.

Usage

gcc generate_nor.c aes.c -o generate_nor -I/usr/local/Cellar/openssl@1.1/1.1.1l/include -L/usr/local/Cellar/openssl@1.1/1.1.1l/lib -lssl -lcrypto

Create a directory named data and copy the following files from iPod1,1_1.1_3A101a_Restore/Firmware/all_flash/all_flash.n45ap.production/

DeviceTree.n45ap.img2
applelogo.img2
batterylow0.img2
batterylow1.img2
needservice.img2
batterycharging.img2
recoverymode.img2

paste the files into the data directory

run git submodule update --init

cd into the decryptor directory

run make

then use decryptor in the decryptor directory to go through each item and decrypt it.

Syntax: decryptor [file in] [file out] (the file out name is just the original name minus the .img2 file ending

all decrypted files need to be put in the data directory

the data directory should now look like:
DeviceTree.n45ap.img2
applelogo.img2
batterylow0.img2
batterylow1.img2
needservice.img2
batterycharging.img2
recoverymode.img2
DeviceTree.n45ap
applelogo
batterylow0
batterylow1
needservice
batterycharging
recoverymode

run rm -rf *.img2 which removes the uneeded files, you can now run ./generate_nor and get a nor.bin file

About

Software used by Qemu-iOS to generate a NOR image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%