Commit Graph

588 Commits

Author SHA1 Message Date
Sheep Sun
b451fc4a7f
Switch to Apple for Internet check (#339) 2023-10-27 21:00:57 +08:00
LukeeGD
b14db3a7f9 Update restore.sh 2023-10-26 13:13:59 +08:00
LukeeGD
a8156f6fa8 Update ipwndfu, disable onboard dump on a4 & older 2023-10-25 15:46:35 +08:00
LukeeGD
b178297312 Small change in pwnDFU, show shsh validate result 2023-10-24 09:39:57 +08:00
LukeeGD
62fbda54bb use ipwndfu for a4 linux
to use shatter instead of limera1n
2023-10-23 10:10:27 +08:00
LukeeGD
5c5a90fe8b Install openssl dev for pyenv linux 2023-10-22 20:41:03 +08:00
LukeeGD
735ff81efa An update 2023-10-22 09:30:02 +08:00
LukeZGD
5341ec5d36 Update g1lbertJB 2023-10-18 21:27:58 +08:00
LukeZGD
f38f54ec0a Add message regarding 7.0.x powder
also change custom ipsw filename for 7.0.x powder (add a 0)
2023-10-14 18:53:26 +08:00
LukeZGD
4c4ab407b6 Update pwnDFU stuff 2 2023-10-13 20:06:39 +08:00
LukeZGD
5a6e3d9f9c Update pwnDFU stuff
fixes #336
2023-10-13 14:11:18 +08:00
LukeZGD
f54c50e2a8 Show "install libusb" message 2023-10-12 19:54:16 +08:00
LukeZGD
84c3a7e6c1 powdersn0w 7.0.x 5c and ipad 4 (untested)
and fix other stuff like dfu ipsw for iphone 5/ipad, and pwndfu stuff
2023-10-12 19:17:10 +08:00
LukeZGD
ff5d01dc69 Update 3GS 3.1.3 patches 2023-10-09 09:58:57 +08:00
LukeZGD
e6f0916818 Fix /var (/mnt2) mount for iOS 9/10 sshrd
for #325
2023-10-06 21:22:43 +08:00
LukeZGD
c4b7666210 Allow 7.x targets for powdersn0w 2023-10-05 15:12:31 +08:00
LukeZGD
865d49e82d Dump /usr/local/standalone only for baseband 2023-10-05 13:43:17 +08:00
LukeZGD
80dd9f5b9d Fix issues with daibutsu sshrd jailbreaking
fixes #333
2023-10-04 14:00:02 +08:00
LukeZGD
450d4348ea version check changes 2023-10-04 11:54:59 +08:00
LukeZGD
5e423856c9 fix untetherhomedepot errors and other stuff
- fully fixes #332
2023-10-04 11:22:29 +08:00
LukeZGD
f68978e324 Disable stash on 9.x IPSWs (for #332) 2023-10-03 21:31:18 +08:00
LukeZGD
8ed81b2c15 link lib for ipwndfu on arm mac to detect libusb 2023-10-03 00:46:29 +08:00
LukeZGD
18c353c5dd Update ipwndfu 2023-10-02 23:41:14 +08:00
LukeZGD
d96dd2ab0f Update ipwndfu for arm mac fix 2023-10-02 23:06:08 +08:00
LukeZGD
b13a96edaf Update daibutsu, fix tetherboot 10.x, other stuff
- update daibutsu untether to 2.0.3, i didnt realize it got updated
- fix tetherboot for 10.x
- also fix edge case for 9A406 4S where ramdisks are decrypted, causing futurerestore to fail. workaround: create a custom ipsw and use idevicererestore instead
2023-10-01 10:05:43 +08:00
LukeZGD
9a885c8ae4 macOS "Finding device in Restore mode" workaround
not a proper fix but whatever
2023-09-29 08:57:49 +08:00
LukeZGD
d5d95f4c28 Update restore.sh 2023-09-27 16:43:58 +08:00
LukeZGD
df0f2eb1eb Update restore.sh 2023-09-27 13:10:57 +08:00
LukeZGD
c573c98b63 Fix strap not getting added (powder 5.x) 2023-09-25 13:48:59 +08:00
LukeZGD
f24fcc0b13 Add g1lbertJB 2023-09-23 19:17:11 +08:00
LukeZGD
1cef6632e2 Another iOS 4 "just boot" fix 2023-09-22 15:42:30 +08:00
LukeZGD
8c68e03c8e "Just boot" for iOS 4 and lower
also edit sshrd's mount.sh
2023-09-21 19:24:16 +08:00
LukeZGD
8e68bb90b9 Fix checkm8-a5 iBSS
fixed by sending unpacked ibss instead of repacked img3
2023-09-17 13:26:13 +08:00
LukeZGD
706c832c3b Replace iPad2,2 iBEC patch 2023-09-17 08:48:17 +08:00
LukeZGD
dd4b495673 Update some things
- Bring back iBEC bsdiff patches for blob dumping
- also, install corona/rocky on a5 only
2023-09-16 21:28:32 +08:00
LukeZGD
a962c6ddda Update messages and other stuff 2023-09-15 10:46:37 +08:00
LukeZGD
9c5b832391 Update restore.sh 2023-09-15 07:02:29 +08:00
LukeZGD
a74ecb2204 Update restore.sh 2023-09-14 16:22:25 +08:00
LukeZGD
1705ecc0d9 Fix and add stuff 2023-09-14 16:10:52 +08:00
LukeZGD
f34f161190 Wait for local server for firmware keys 2023-09-11 00:37:01 +08:00
LukeZGD
8982122dee Some changes 2023-09-10 23:22:08 +08:00
LukeZGD
3857cf3f07 Fix iOS 5 powder needing pwnDFU (kDFU works now) 2023-09-07 10:37:06 +08:00
LukeZGD
04ff046a9f An update 2023-09-04 23:06:58 +08:00
LukeZGD
feb987d33c Set device_mode to DFU 2023-09-03 21:12:34 +08:00
LukeZGD
0adf014d99 Changes to device detection and DFU helper 2023-09-03 20:12:16 +08:00
LukeZGD
6cae84483e Suspend macOS daemons, and other changes 2023-09-02 12:56:49 +08:00
LukeZGD
2dab9e476b Update restore.sh 2023-09-01 22:47:54 +08:00
LukeZGD
096501374f Send WTF.s5l8900xall before iBSS for sshrd
idevicerestore can send WTF.s5l8900xall, so that is used here
2023-09-01 22:42:55 +08:00
LukeZGD
3443a3b5d2 Check for WTF mode in getting device info
forgot to add this
2023-09-01 21:47:15 +08:00
LukeZGD
c14d712851 Add untested 2G/3G/touch 1 support
supports pre-jailbroken/hacktivated ipsw creation/restore for 3.1.3 (also 4.1 and 4.2.1 for 3g), and ssh ramdisk
2023-09-01 21:26:45 +08:00
LukeZGD
ba1de61a4b Update kDFU/pwnDFU stuff 2023-09-01 13:30:40 +08:00
LukeZGD
bcb605e340 Change ecid hex to dec conversion 2023-08-30 21:27:36 +08:00
LukeZGD
dd22438238 Update restore.sh 2023-08-30 12:10:39 +08:00
LukeZGD
19d0c9ee6b Fix no device mode 2023-08-30 10:13:11 +08:00
LukeZGD
7e85ba8ccc Some device entry and old/new br stuff 2023-08-30 10:09:16 +08:00
LukeZGD
97d46fa861 Some changes
- jailbreak option for iphone 4 ios 4 ("other" restores) (4.2.1 not supported)
- dfu ipsw
- just boot (tethered verbose boot)
2023-08-29 22:14:03 +08:00
LukeZGD
a3e535c6da iPhone 4 iOS 4 bundles (thanks Sw1Z for testing)
most patches are from sn0wbreeze
2023-08-26 21:50:43 +08:00
LukeZGD
d0eabcf25b Add bin directory checks and pyenv stuff 2023-08-23 20:37:39 +08:00
LukeZGD
a019e91a67 Update restore.sh
just restart usbmuxd twice instead of doing stuff with ps aux
2023-08-21 14:52:46 +08:00
LukeZGD
0b268288f8 Add device_type fallback if device_model found 2023-08-19 17:15:20 +08:00
LukeZGD
fe86044872 Better handling of trap/usbmuxd and other stuff
also have default option to use pwndfu instead of kdfu for a6 macos
2023-08-19 15:36:15 +08:00
LukeZGD
3fe5bef625 An update 2023-08-17 21:07:52 +08:00
LukeZGD
a363e68a57 Add support for 3GS hacktivation IPSWs 2023-08-15 19:09:04 +08:00
LukeZGD
61142fd14e Update restore.sh 2023-08-13 18:55:30 +08:00
LukeZGD
8a391acd54 Some fixes 2023-08-13 08:29:44 +08:00
LukeZGD
1a0e555215 An update for install depends and other stuff
Also add more 3GS versions (I didnt bother testing tho)
2023-08-10 01:52:12 +08:00
LukeZGD
d3ad28d85e Fix some things 2023-08-07 09:02:50 +08:00
LukeZGD
a736f50a86 Update restore.sh 2023-08-05 23:14:32 +08:00
LukeZGD
5ce9f1ab57 Stuff 2023-08-05 23:00:27 +08:00
LukeZGD
1deba460b3 Update restore.sh 2023-07-28 11:24:11 +08:00
LukeZGD
55a4a468b0 Add "static" jq and usbmuxd for Linux 2023-07-27 13:34:16 +08:00
LukeZGD
df8ab051f6 Update some Linux depends
add ca-certificates to install/update
2023-07-25 10:56:15 +08:00
LukeZGD
b512ef5713 An update 2023-07-24 09:36:28 +08:00
LukeZGD
decf35a4d1 Move these to correct switch case
corona/rocky racoon should be extracted after data partition is mounted, not before
2023-07-22 00:24:02 +08:00
LukeZGD
3577f5c5ee A jailbreak update and some fixes
- install corona/rocky racoon for 5.0.1/5.1.1 jailbreaks
- fix restoring to 4.3.3/5.1.1 for 3gs
- add 3.1.3 jailbreaking thru sshrd
- add back kloader5 to use for ios 5
2023-07-21 15:12:01 +08:00
LukeZGD
c075398587 Update restore.sh 2023-07-19 18:54:39 +08:00
LukeZGD
7b14c75a54 No validate for 64-bit SHSH, pyenv/python2 stuff 2023-07-18 17:45:45 +08:00
LukeZGD
a6e57068c4 Updated daibutsu for 8.x jailbreaking
also other updates/fixes
2023-07-18 11:56:33 +08:00
LukeZGD
865e9a896d An update 2023-07-09 20:47:13 +08:00
LukeZGD
6e85ef3ffd Update 3GS bootrom detection
- uses serial number for bootrom detection in normal mode instead of imei
- print out the manufacturing week/year if serial number is retrieved
- show messages for the errors "could not retrieve device serial number" and "unable to find AppleNANDFTL"
2023-07-06 16:34:00 +08:00
LukeZGD
62b5995465 Fix iPod2,1 3.1.3, and other updates
- fix ipod2,1 3.1.3 getting stuck in recovery after restore
- for a4 and older, the "send pwned ibss" option just puts device in pwndfu, so the option name is changed to "enter pwndfu mode"
- always show pwndfu/pwned ibss option in other utilities
- add sha1sums for some 5.x iphones since some of ipsw.me's hashes are wrong
- add 7.0 11a466 sha1sum and url for 5c
- add dump/stitch activation records
2023-07-03 15:22:35 +08:00
LukeZGD
c734e18eda Fix version update 2023-07-02 16:55:16 +08:00
LukeZGD
02eb3162e8 Fix update check
and follow some shellcheck stuff
2023-07-02 15:51:07 +08:00
LukeZGD
f1247bbf21 Custom IPSW restore option, optional Linux args
- add restore custom ipsw option for 3gs and touch 2. there is also a warning to proceed with caution when doing so since legacy ios kit will never add support for tethered boots, downgrades, and jailbreaks (everything in legacy ios kit has to be untethered)
- add optional arguments `--disable-sudoloop` and `--disable-usbmuxd` for linux. (i dont recommend enabling any of these since default behavior should work fine in most cases, maybe only `--disable-usbmuxd` will be useful in case, idk)
- by default, legacy ios kit stops the usbmuxd service and starts up `sudo usbmuxd -pz`. `--disable-usbmuxd` disables this
 - by default, legacy ios kit runs some tools as root like irecovery and idevicerestore among others. `--disable-sudoloop` disables this
2023-07-01 22:14:19 +08:00
LukeZGD
88402c2847 Update version check 2023-06-30 22:41:38 +08:00
LukeZGD
e1d1af0ae8 Move LaunchDaemons for daibutsu sshrd 2023-06-30 16:36:12 +08:00
LukeZGD
c8af840457 Fix baseband dumping, update daibutsuCFW support
- baseband dumps are actually supposed to be `/usr/standalone` AND `/usr/local/standalone`
- update daibutsuCFW haxx_overwrite. now it should work on all a5/a6 devices
- remove EtasonJB
2023-06-30 14:02:18 +08:00
LukeZGD
923c205506 Some fixes and add more exploits for powdersn0w 2023-06-29 20:52:43 +08:00
LukeZGD
616c299aea Add baseband dumping/stitching
requires `--disable-bbupdate` to be enabled for baseband tar to be added to custom ipsw
2023-06-26 17:35:06 +08:00
LukeZGD
6bbe22b45a 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
2023-06-26 11:01:16 +08:00
LukeZGD
8000ca50c8 Add iPhone3,3 support for powdersn0w
thanks to dora for releasing the exploit: https://github.com/kok3shidoll/untitled
2023-06-26 07:31:39 +08:00
LukeZGD
f80f86e56a Jailbreaking A5 4.3.x is not supported
prevent a5 4.3.x from selecting the jailbreak with sshrd option. it is not supported and will cause bootloops
2023-06-25 01:24:30 +08:00
LukeZGD
9107593c90 Update macos bins, add jailbreaking w/ sshrd
and also other fixes
2023-06-24 18:22:35 +08:00
LukeZGD
778c2974e6 Add an updater
i would advise users to just git clone instead, but whatever
2023-06-21 16:46:53 +08:00
LukeZGD
d53e674247 Fix Ubuntu version detecting (fix #296) 2023-06-21 15:32:17 +08:00
LukeZGD
3134fe5da6 Check new/old bootrom, update armhf bins
i hope im doing the bootrom checking right
also add/update armhf bins
2023-06-20 23:52:23 +08:00
LukeZGD
5296e1fa17 Put back Gentoo stuff (fix #295)
I didn't even realize that it was missing
2023-06-19 16:54:58 +08:00
LukeZGD
4c52b7506d Add 4.1 patches/tars, update macos bins, and other
- fix the conditions for the detection of distro versions
- remove instances of case fall through for bash 3.2 compatibility
- installing bash/limd/irecovery with homebrew/macports is now optional thanks to the limd and irecovery bins
- handling of kdfu/pwndfu for a4 and older devices
2023-06-19 11:47:18 +08:00
LukeZGD
89565e22ab Fix some condition logic 2023-06-17 20:45:18 +08:00
LukeZGD
44dfa02784 Fix some small issues 2023-06-16 21:51:35 +08:00
LukeZGD
c5d4c2192e 4.2.1 jailbreak option for iPod touch 2g 2023-06-16 18:13:53 +08:00
LukeZGD
ea2d7cf4bf Fix sshrd for iPod touch 2g 2023-06-16 12:43:04 +08:00
LukeZGD
c196f5ba66 Update stuff for iPod touch 2g 2023-06-16 11:27:18 +08:00
LukeZGD
6fc6a92a91 Fix verifying IPSW on Windows 2023-06-16 08:05:47 +08:00
LukeZGD
c4d166f4d4 Bring back bsdiff patches 2023-06-15 15:32:45 +08:00
LukeZGD
efbac7a2df Fix fstab_old not being added 2023-06-15 14:54:39 +08:00
LukeZGD
969264ab89 Huge update (3GS/touch 2 downgrades, etc)
I have not done thorough testing yet, hopefully things don't break badly

- Added iOS 5.x and 7.0.x untethers. All of 5.x, 6.x, and 7.x can now be jailbroken with custom IPSW (Jailbreaking using SSH ramdisk is to be added next)
- iPhone 3GS downgrades with 24Kpwn/alloc8
- iPod touch 2 support and downgrades
- Remove 32-bit bsdiff patches for iBSS and iBEC in favor of patching with iBoot32Patcher
- Updated binaries (except for armhf, to follow)
- Add SHSH validation for powdersn0w and "Other" restores
- Add more checks in selecting IPSW menu
- Display some warnings on menu display
- Fix a lot of script stuff, remove the usage of xmlstarlet
2023-06-15 14:21:05 +08:00
LukeZGD
1fb0a9d93d something iphone3,2 2023-06-09 16:20:59 +08:00
LukeZGD
902c3ae61f Fix 4S 5.x powder an add more IPSW verification 2023-06-09 15:37:28 +08:00
LukeZGD
3166cf471a also add option to restore to 4.1 for touch 3 2023-06-09 09:35:07 +08:00
LukeZGD
65885f21f7 Update restore.sh 2023-06-09 08:42:30 +08:00
LukeZGD
493023ee6b Update and fix stuff for older devices
- fix ibss and ibec patching (blob dumping still doesnt seem to work tho for a4 and older)
- enabling jailbreaking latest 6.1.6 and 5.1.1
- add option to restore to 4.1 for the 3gs
2023-06-07 13:24:24 +08:00
LukeZGD
ef7edbe364 Update pwndfu tool options 2023-06-05 15:28:29 +08:00
LukeZGD
fa96d5a6c1 Update restore.sh 2023-05-31 12:20:24 +08:00
LukeZGD
18d25af99c Fix jb not applied on 6.x powdersn0w iPhone3,1 2023-05-27 17:05:59 +08:00
LukeZGD
13642b5f9d Fix more restore stuff for older devices 2023-05-27 16:57:19 +08:00
LukeZGD
492e8ce869 Update that should fix some things
and possibly break other things, idk hopefully not
2023-05-27 14:33:27 +08:00
LukeZGD
ab2ba29be6 Update info 2023-05-19 16:17:38 +08:00
LukeZGD
fbd4ec44bd Detect iPodtouch3/4, iPad1, iPhone3GS (untested)
untested
2023-05-19 10:29:20 +08:00
LukeZGD
0b27bfc474 Update restore.sh 2023-05-08 16:07:18 +08:00
LukeZGD
f68f3d4fae Change iTunes version print 2023-04-27 21:39:11 +08:00
LukeZGD
245370e98d Fix error on bsd sed
gnu tools > bsd tools.
2023-04-19 18:11:06 +08:00
LukeZGD
454b5b027b Fix some things 2023-04-18 18:27:28 +08:00
LukeZGD
a1f5f52e24 An update 2023-04-13 11:37:15 +08:00
LukeZGD
cc0ff26cf0 More updates to menu and others 2023-04-08 19:34:12 +08:00
LukeZGD
accadccd28 Some updates to menu and ramdisk
- get url from ipsw.me api for ramdisk build url as fallback
- add device_get_info in while loop
- show "create ipsw" option without selecting shsh blobs (except for ios 4 dra)
2023-04-07 12:50:58 +08:00
LukeZGD
8a2ac1e935 Update restore.sh 2023-04-05 12:07:20 +08:00
LukeZGD
643bb1b0f2 Fix update check 2023-04-05 12:03:16 +08:00
LukeZGD
dff3dbdf6a Fix ipsw_preference_set 2023-04-04 16:53:54 +08:00
LukeZGD
a021f6f0ce Update version with zero padded commit count 2023-04-02 22:16:32 +08:00
LukeZGD
978a59efd5 Some fixes 2023-04-02 19:24:45 +08:00
LukeZGD
ae33f43c98 Legacy iOS Kit 2023-04-02 18:18:44 +08:00
LukeZGD
90744b3de8 Update kloader use 2023-03-31 21:59:01 +08:00
LukeZGD
678cf355f9 Update kloader 2023-03-31 21:02:54 +08:00
LukeZGD
bc9bd88c15 A usbmuxd change
- also allow ios 4 restores on iphone 4 (untested)
2023-03-23 12:35:32 +08:00
LukeZGD
34d2e069b9 Always enable sudoloop 2023-03-19 23:24:37 +08:00
LukeZGD
d4865b88d9 Fix weird terminal issues caused by usbmuxd 2023-03-19 23:02:12 +08:00
LukeZGD
40d377979c Some usbmuxd stuff on Linux 2023-03-19 16:12:35 +08:00
LukeZGD
9435725c76 Update messages for wiki update 2023-03-18 14:02:35 +08:00
LukeZGD
ade7768df2 Fix #278
- also small changes for exiting script
2023-03-18 10:44:15 +08:00
LukeZGD
0b8c3321e4 Skip pwnDFU on A7 only 2023-03-16 23:34:11 +08:00
LukeZGD
b5a7943397 iTunes version check on Windows 2023-03-16 23:26:12 +08:00
LukeZGD
c3e27ed9ee Use sshpass for scp and ssh
- also rename from arm to armhf
- also other small changes in kdfu
2023-03-04 18:35:14 +08:00
LukeZGD
c73328de9a Skip pwnDFU option if device already pwned
for #274
2023-03-04 07:36:11 +08:00
LukeZGD
d0f19d3724 Fix not matching apnonce for A7 10.3.3
- fixes #273
- fixed by changing tsschecker builds from 423 to 413
- also add apnonce for checking shsh file (ota blobs)
- change `-S` to `--server-url` for older build (cydia blobs)
2023-03-04 00:10:28 +08:00
LukeZGD
0299ff20c4 Add socket for kDFU iOS 10 2023-03-03 12:58:46 +08:00
LukeZGD
e5f9da5c63 Add iPad 2 iOS 4.3.x bundles 2023-02-25 11:37:50 +08:00
LukeZGD
9ef2067910 Slight change on finding device in kDFU 2023-02-19 10:52:45 +08:00
LukeZGD
0961392e48 Detect if running on persistent storage 2023-02-18 11:56:52 +08:00
LukeZGD
4ded17bdc7 Detect if running on live CD/USB and temp storage 2023-02-18 08:01:52 +08:00