mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Add remaining 4.0.x and 4.1 tars
legacy ios kit can now jailbreak all of 4.x (except for ipad 2 4.3.x) also add disable bbupdate indicator
This commit is contained in:
parent
8000ca50c8
commit
6bbe22b45a
@ -17,7 +17,7 @@
|
||||
- Option to **jailbreak** all of the above devices
|
||||
- Including latest iOS versions for some devices (4.2.1, 5.1.1, 6.1.6, 7.1.2)
|
||||
- There are two methods of jailbreaking: Custom IPSW and SSH Ramdisk
|
||||
- Available on target versions iOS 4.1, 4.2.x, 4.3.x, 5.x, 6.x, 7.x, and 8.4.1
|
||||
- Available on target versions 3.2.2, 4.0.x, 4.1, 4.2.x, 4.3.x, 5.x, 6.x, 7.x, and 8.4.1
|
||||
- Jailbreaking iPad 2 on 4.3.x is not supported (only 5.x and newer will work)
|
||||
- Restore to iOS 10.3.3 on supported A7 devices **(OTA signed)**
|
||||
- Restore A7/A8 devices to lower iOS versions **with SHSH blobs**
|
||||
|
BIN
resources/jailbreak/greenpois0n/iPad1,1_7B500.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPad1,1_7B500.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A293.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A293.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A306.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A306.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A400.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone2,1_8A400.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A293.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A293.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A306.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A306.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A400.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone3,1_8A400.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPhone4,1_8B117.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPhone4,1_8B117.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod2,1_8A293.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod2,1_8A293.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod2,1_8A400.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod2,1_8A400.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod3,1_8A293.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod3,1_8A293.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod3,1_8A400.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod3,1_8A400.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod4,1_8B117.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod4,1_8B117.tar
Normal file
Binary file not shown.
BIN
resources/jailbreak/greenpois0n/iPod4,1_8B118.tar
Normal file
BIN
resources/jailbreak/greenpois0n/iPod4,1_8B118.tar
Normal file
Binary file not shown.
30
restore.sh
30
restore.sh
@ -2696,7 +2696,7 @@ device_ramdisk() {
|
||||
|
||||
mv iBSS iBEC AppleLogo.dec DeviceTree.dec Kernelcache.dec Ramdisk.dmg ../saved/$device_type/ramdisk 2>/dev/null
|
||||
|
||||
if [[ $device_proc == 4 ]]; then
|
||||
if [[ $device_proc == 4 || $1 == "jailbreak" ]]; then
|
||||
device_enter_mode pwnDFU
|
||||
else
|
||||
device_enter_mode kDFU
|
||||
@ -2762,7 +2762,7 @@ device_ramdisk() {
|
||||
6.1.[3456] ) untether="p0sixspwn.tar";;
|
||||
6* ) untether="evasi0n6-untether.tar";;
|
||||
5* ) untether="pris0nbarake/tar-${device_model}_$build.tar";;
|
||||
4.2.1 | 4.1 ) untether="greenpois0n/${device_type}_${build}.tar";;
|
||||
4.2.1 | 4.1 | 4.0* | 3.2.2 ) untether="greenpois0n/${device_type}_${build}.tar";;
|
||||
4.3* | 4.2* ) untether="unthredeh4il.tar";;
|
||||
'' )
|
||||
warn "Something wrong happened. Failed to get iOS version."
|
||||
@ -2780,11 +2780,13 @@ device_ramdisk() {
|
||||
log "Nice, iOS $vers is compatible."
|
||||
log "Sending $untether"
|
||||
$scp -P 2222 $jelbrek/$untether root@127.0.0.1:/mnt1
|
||||
if [[ $vers == "4.1" ]]; then
|
||||
case $vers in
|
||||
4.1 | 4.0* | 3.2.2 )
|
||||
untether="${device_type}_${build}.tar"
|
||||
log "Extracting $untether"
|
||||
$ssh -p 2222 root@127.0.0.1 "tar -xvf /mnt1/$untether -C /mnt1; rm /mnt1/$untether"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
log "Mounting filesystems"
|
||||
$ssh -p 2222 root@127.0.0.1 "mount.sh pv"
|
||||
case $vers in
|
||||
@ -2795,7 +2797,7 @@ device_ramdisk() {
|
||||
4.2.1 ) $ssh -p 2222 root@127.0.0.1 "[[ ! -e /mnt1/sbin/punchd ]] && mv /mnt1/sbin/launchd /mnt1/sbin/punchd";;
|
||||
esac
|
||||
case $vers in
|
||||
4.2.1 | 4.1 )
|
||||
4.2.1 | 4.1 | 4.0* | 3.2.2 )
|
||||
untether="${device_type}_${build}.tar"
|
||||
if [[ $device_type == "iPod2,1" ]]; then
|
||||
$scp -P 2222 $jelbrek/fstab_old root@127.0.0.1:/mnt1/private/etc/fstab
|
||||
@ -2805,13 +2807,16 @@ device_ramdisk() {
|
||||
$ssh -p 2222 root@127.0.0.1 "rm /mnt1/private/var/mobile/Library/Caches/com.apple.mobile.installation.plist"
|
||||
;;
|
||||
esac
|
||||
if [[ $vers != "4.1" ]]; then
|
||||
case $vers in
|
||||
4.1 | 4.0* | 3.2.2 ) :;;
|
||||
* )
|
||||
log "Extracting $untether"
|
||||
$ssh -p 2222 root@127.0.0.1 "tar -xvf /mnt1/$untether -C /mnt1; rm /mnt1/$untether"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
case $vers in
|
||||
8* | 7* | 6* ) device_ramdisktar freeze.tar;;
|
||||
5* | 4* ) device_ramdisktar freeze_old.tar;;
|
||||
5* | 4* | 3* ) device_ramdisktar freeze_old.tar;;
|
||||
esac
|
||||
log "Rebooting"
|
||||
$ssh -p 2222 root@127.0.0.1 "reboot_bak"
|
||||
@ -2941,6 +2946,9 @@ menu_print_info() {
|
||||
elif [[ $device_type == "iPhone2,1" || $device_type == "iPod2,1" ]]; then
|
||||
print "* This $device_type is an old bootrom model"
|
||||
fi
|
||||
if [[ $de_bbupdate == 1 ]]; then
|
||||
warn "Disable bbupdate flag detected, baseband update is disabled."
|
||||
fi
|
||||
print "* iOS Version: $device_vers"
|
||||
print "* ECID: $device_ecid"
|
||||
echo
|
||||
@ -2963,7 +2971,7 @@ menu_main() {
|
||||
elif (( device_proc < 7 )); then
|
||||
if [[ $device_mode == "Normal" ]]; then
|
||||
case $device_vers in
|
||||
8.4.1 | 7* | 6* | 5* | 4.3* | 4.2* | 4.1 ) menu_items+=("Jailbreak Device");;
|
||||
8.4.1 | 7* | 6* | 5* | 4* | 3.2.2 ) menu_items+=("Jailbreak Device");;
|
||||
esac
|
||||
elif [[ $device_mode != "none" ]]; then
|
||||
menu_items+=("Jailbreak Device")
|
||||
@ -3542,7 +3550,7 @@ device_jailbreakrd() {
|
||||
return
|
||||
fi
|
||||
case $device_vers in
|
||||
8.4.1 | 7* | 6* | 5* | 4.3* | 4.2* | 4.1 ) :;;
|
||||
8.4.1 | 7* | 6* | 5* | 4* | 3.2.2 ) :;;
|
||||
* ) warn "This version is not supported for jailbreaking with SSHRD."; return;;
|
||||
esac
|
||||
fi
|
||||
@ -3641,7 +3649,7 @@ for i in "$@"; do
|
||||
"--ipsw-verbose" ) ipsw_verbose=1;;
|
||||
"--jailbreak" ) ipsw_jailbreak=1;;
|
||||
"--memory" ) ipsw_memory=1;;
|
||||
"--disable-bbupdate" ) device_disable_bbupdate=1;;
|
||||
"--disable-bbupdate" ) de_bbupdate=1; device_disable_bbupdate=1;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user