Commit Graph

704 Commits

Author SHA1 Message Date
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
LukeZGD
5efe48b995 Fix jq here 2023-02-16 16:48:21 +08:00
LukeZGD
dd9500cee0 Add "Save Cydia Blobs" option 2023-02-16 16:34:34 +08:00
LukeZGD
0c7294b7e8 Disable bbupdate iPad2,2 (fix #267) 2023-02-16 07:18:47 +08:00
LukeZGD
ca69e4558d Some fixes
from test branch
2023-02-13 18:49:22 +08:00
LukeZGD
c2c20739dd Run fwkeys server for 32-bit only 2023-02-12 10:06:44 +08:00
LukeZGD
99dd128bd6 Copy iBEC to correct location 2023-02-11 07:37:20 +08:00
LukeZGD
24250c8af1 Fix for onboard blob dumping 2023-02-10 17:17:11 +08:00
LukeZGD
8979541dfe Revert this fr change 2023-02-10 14:38:55 +08:00
LukeZGD
37e8a2a370 Small fix for baseband verify
and some other changes
2023-02-10 14:33:48 +08:00
LukeZGD
67d103d7c8 An update 2023-02-08 11:46:52 +08:00
LukeZGD
7c36321446 Do chmod +x on bins
fixes issues with permissions
2023-02-06 15:27:47 +08:00
LukeZGD
3ea02d7698 Increase timeouts, Update depends
- increase timeouts to fix #254 and similar issues
- update depends and detect missing to fix #255 and other potential errors
2023-02-04 14:43:34 +08:00
LukeZGD
85da325a72 Update iPhone4Down stuff
- Fix Disable/Enable Exploit
- Add iOS 4 patches and bundles for powdersn0w
2023-01-31 15:28:20 +08:00
LukeZGD
d03b923017 Do not show PwnDFU Tool Option on ASi Macs
ASi Macs work with ipwnder only. Avoids issues like #252
2023-01-29 21:50:17 +08:00
LukeZGD
09a6b4f3b2 Add bspatch bins for Linux
fix issues like #246
2023-01-28 10:16:20 +08:00
LukeZGD
ad71e3acae Update restore.sh 2023-01-25 22:32:03 +08:00
LukeZGD
b0fe860e34 Disable/enable exploit on iPhone3,1 only 2023-01-25 22:19:36 +08:00
LukeZGD
2e1b636644 Add gaster for A7 2023-01-25 18:29:55 +08:00
LukeZGD
9e10f6e228 Latest A7/A8 version is now 12.5.7
- Basebands seem to be unchanged
- Also change a bit of the readme
2023-01-24 10:23:17 +08:00
LukeZGD
7d86fb1b79 Changes to distro detect and net check
- distro detection is now done in set_tool_paths, like how macos version check is done there
- do another ping to 8.8.8.8 if pinging opendns fails for checking internet
2023-01-23 23:46:37 +08:00
LukeZGD
9fe225915a Do incomplete ipsws in tmp, fix iOS 4 again 2023-01-23 14:04:37 +08:00
LukeZGD
5321303719 More changes for ipwndfu python2 2023-01-22 14:28:52 +08:00
LukeZGD
75348d8cbd Better error detection for ipwndfu 2023-01-22 13:12:36 +08:00
LukeZGD
8e9995f42a Fix #248 and some other changes
should also fix issues like #247
2023-01-22 10:45:37 +08:00
LukeZGD
74073e4cb4 Fix baseband issues for A7/A8
should finally fix #242
2023-01-21 11:36:29 +08:00
LukeZGD
6fe90a99f9 Fix a small issue with shsh 2023-01-21 09:57:30 +08:00
LukeZGD
8a2df9638f Update restore.sh 2023-01-20 22:01:39 +08:00
LukeZGD
c4f3e60f27 Add Linux arm64 bins and fix some things 2023-01-20 18:43:25 +08:00
LukeZGD
ecfd71c851 Update ipwnder to attempt fix #244 2023-01-18 09:00:32 +08:00
LukeZGD
c74c380d05 Add linux arm bins and other updates 2023-01-17 10:19:51 +08:00
LukeZGD
f1d2f5d5a1 Add Windows onboard blob dump
even though i cant get it to work. anyway...
2023-01-16 22:46:04 +08:00
LukeZGD
74d6c41eb3 Update restore.sh 2023-01-16 20:59:26 +08:00
LukeZGD
d8d2689b5d Attempt fixing device detect 2023-01-16 17:31:31 +08:00
LukeZGD
6dc5159be4 Add "sudoloop" mode
- for linux users having trouble with device detection
- also auto-enabled it on live usb (uid 999)
2023-01-16 15:51:36 +08:00
LukeZGD
40755bb816 fix linux fix 2023-01-16 13:37:50 +08:00
LukeZGD
768400540b update 2023-01-16 09:58:09 +08:00
LukeZGD
e11266b2aa Add "Save Onboard Blobs" option
linux and macos only for now
2023-01-15 22:31:49 +08:00
LukeZGD
e07d0bd478 Fix more typos
this rewrite is due for more testing on iphone 4. unfortunately my home button broke and am waiting for the replacement part to arrive for now.
2023-01-15 17:01:43 +08:00
LukeZGD
ea84b1bfcd Fix #243 2023-01-15 16:41:05 +08:00
LukeZGD
8cce936efc Fix typo for send pwned iBSS 2023-01-15 12:42:31 +08:00
LukeZGD
ae2bfe3bb5 Update restore.sh 2023-01-13 23:02:51 +08:00
LukeZGD
8b1fbf1cba More updates 2023-01-13 19:19:22 +08:00
LukeZGD
0b24a683b8 Fix setting IPSW preferences 2023-01-13 17:30:26 +08:00
LukeZGD
7de635ecbd Some Windows fixes
backslashes are causing problems in sha256 verify
2023-01-13 13:54:02 +08:00
LukeZGD
4b775da046 Big update (script rewrite) 2023-01-13 12:25:27 +08:00
LukeZGD
9ab3fd4968 An update 2023-01-04 16:25:18 +08:00
LukeZGD
3b42a1b2c3 Update SendPwnediBSS and depends for Windows 2023-01-03 09:30:57 +08:00
LukeZGD
76020404db Add 32-bit SHSH downgrades for Linux ARM, Windows 2022-12-27 08:18:55 +08:00
LukeZGD
bb163957c6 Add partial Linux ARM support (armhf) 2022-12-24 12:07:25 +08:00
LukeZGD
584cc0d6f2 Add restore to latest, macOS ver check, fix iOS 4 2022-12-17 13:41:00 +08:00
LukeZGD
211b89112c Remove PwnedDevice arg, add troubleshooting links 2022-12-14 19:01:24 +08:00
LukeZGD
0f23767cf4 Fix #225 again 2022-11-28 08:34:13 +08:00
LukeZGD
760af27d94 Fix #228 and other updates 2022-11-26 21:38:37 +08:00
LukeZGD
f583a594c3 Fix #225 2022-11-07 19:30:43 +08:00
LukeZGD
e8e4cabd7a An update 2022-10-15 18:50:03 +08:00
LukeZGD
6da11b92e9 Fix #220 2022-10-12 06:00:59 +08:00
LukeZGD
f8c2bfcf11 Add version check 2022-10-11 09:26:33 +08:00
LukeZGD
3adcd8bd2d Update some messages 2022-10-08 12:25:24 +08:00
LukeZGD
8a90bf4723 Support for iPhone3,3 on iPhone4Down
- not very tested
- also add restore to 7.1.2 support for all iphone 4 models
2022-09-21 09:54:11 +08:00
LukeZGD
b05d79c3b8 Restore712 for iPhone3,2 and 3,3 2022-09-21 09:54:05 +08:00
LukeZGD
5dd0d78d84 Update and add retry option
- the retry option will only be prompted once
- also do not reset with gaster
2022-09-04 10:08:03 +08:00
LukeZGD
8cd5ce1d35 Use idevicererestore for Windows OTA
Properly flash latest baseband, hopefully fixes activation issues
2022-08-27 23:30:51 +08:00
LukeZGD
ba2af83749 Add "DisableBBUpdate"
Disable baseband update for the device in this variable
2022-08-27 23:26:09 +08:00
LukeZGD
ac8361dae6 iOS 4 options on macOS (not supported)
- for #206
- this is not supported! if you still want to use it anyway, you need to install libpng from homebrew before proceeding
2022-08-20 20:05:20 +08:00
LukeZGD
094a798de5 Fix #205 and other stuff
- add note for #204
- fix versioning for git on macOS
- display full idevicerestore command before running
2022-08-20 12:45:07 +08:00
LukeZGD
cdd1abbefe Better versioning 2022-08-18 13:43:39 +08:00
LukeZGD
8d753981fa Switch to OpenDNS for Internet check
Thanks to @TipzRickyCheung for the suggestion
2022-08-08 13:29:30 +08:00
LukeZGD
88f94dfd47 Update the ramdisk thing
expect and irecovery2 are not needed at all
2022-07-29 16:59:38 +08:00
LukeZGD
1e378c8506 Use shasum on macOS only, use sha1sum on others 2022-07-28 13:41:50 +08:00
LukeZGD
9ef6df9c29 Get version 2022-07-24 20:33:27 +08:00
LukeZGD
a8d019c451 Check for mode Restore712 first
and other condition changes in SelectVersion
2022-07-24 09:15:52 +08:00
LukeZGD
d938115e45 Enable iPhone4Down on Windows
idevicerestore_win updated, it should work now
2022-07-23 11:50:57 +08:00
LukeZGD
c7c542729e Attempt to fix ECID reading in DFU/recovery
- for #197
- also add new arg: "EntryDevice" to enter ProductType and ECID manually
- also handle more than one arg
2022-07-22 17:43:40 +08:00
LukeZGD
804a3e73ae Add ipsw_win3 and other fixes
- fix jailbreak option not showing up on iphone4down
- fix 7.1.2 custom ipsw creation on windows (ipsw_win3)
- do not show memory option on windows
- always skip memory option when custom ipsw detected
- enable 4.3.x ipsw creation on linux only
- use ipwnder32 for iphone4down on macos
- do not show ramdisk option on windows
- disable downgrading using iphone4down on windows for now due to issues with idevicerestore
2022-07-22 15:41:52 +08:00
LukeZGD
5e30eaf1b9 More updates on blob saving and others
most of these are more of edge cases but it's still nice to get them updated anyway
2022-07-21 13:14:03 +08:00
LukeZGD
d92a0351c4 powdersn0w 2022-07-20 18:21:30 +08:00
LukeZGD
aa802cfac6 Update
general fixes
2022-07-18 19:53:45 +08:00
LukeZGD
ca2dd826c5 Update idevicerestore, working iOS 4 iPhone4Down
it turns out that the culprit was idevicerestore all along, haha
anyways next up may be updating to powdersn0w
2022-07-17 10:24:12 +08:00
LukeZGD
8942de72ea Some changes 2022-07-07 14:21:53 +08:00
LukeZGD
1e8bc1b1c6 Update build 2022-07-04 19:58:45 +08:00
LukeZGD
72ef43fbf6 Do not proceed if iPhone 4 is in kDFU mode
kDFU does NOT work for ch3rryflower/iPhone4Down, this change prevents users proceeding with kDFU.
This does not apply for 7.1.2 restores and restoring with SHSH blobs.
2022-07-04 10:45:05 +08:00
LukeZGD
d60400a77f Some changes 2022-07-03 09:51:54 +08:00
LukeZGD
cdff02e852 Update SaveExternal and other stuff
remove git from depends
download ipwndfu only when needed
small update to readme
2022-06-17 00:13:54 +08:00
LukeZGD
91fee9547f Fix perms issue and add iBSS options
for #182 and #183
2022-06-09 00:14:01 +08:00
LukeZGD
cb049d4a01 Update some stuff
- update readme
- remove latest ios version check, just disable bbupdate for ipad2,3
- if jailbreak option is disabled, do not set custom ipsw
- change where iphone3,1 buildmanifest is saved
- remove pwndfu option for iphone4down
- download ipwndfu on linux only
2022-06-08 23:04:56 +08:00
LukeZGD
fc105905f7 Update message
messages after idevicerestore, and message to exit on windows
2022-06-05 09:14:07 +08:00
LukeZGD
0afe0bc7a1 Workaround when latest bb is not signed
should be helpful especially for iPad2,3 users
2022-05-31 15:43:24 +08:00
LukeZGD
0518314aac Fix select iOS version issue A7 (fixes #179) 2022-05-31 08:14:24 +08:00
LukeZGD
c456b386dd Windows again.
- pretty much the same as last time, except it was way easier to add now thanks to the code restructure
- baseband will not be touched and will be intact this time, unlike before when baseband gets downgraded to the 8.4.1/6.1.3 version
- it's still worse than futurerestore though, just use ota downgrader on linux/macos instead please
2022-05-29 22:57:53 +08:00
LukeZGD
690f7e311c iPhone4Down is now a part of iOS-OTA-Downgrader 2022-05-28 18:56:10 +08:00
LukeZGD
e74fe5f03b A bit of code restructure 2022-05-28 18:21:26 +08:00
LukeZGD
9d3ab0fb21 Update depends and tools 2022-04-29 16:16:31 +08:00
LukeZGD
db7af88f5b IPSWFind, IPSWVerify, and other fixes
- IPSWFind and IPSWVerify to be used for the downgrade function and custom IPSW menu option
- depends: ipwndfu="$(which python2) ipwndfu" for macOS 12.3 and newer
- fix futurerestore error detect ($?)
- a bit of cleanup
2022-04-20 10:39:57 +08:00
LukeZGD
0aba782eab Name custom IPSW depending on jailbreak tool
CustomD for daibutsu, CustomE for EtasonJB
2022-04-18 10:41:52 +08:00
LukeZGD
68997fbfae Update some messages
the "enter root password" message is not accurate. sudo doesn't ask for root password, it asks for the current user's password
2022-03-05 19:57:23 +08:00
LukeZGD
3b665b1627 DFU Advanced Menu now requires an argument 2021-11-25 15:24:50 +08:00
LukeZGD
a4eacc24cc Update 2021-11-20 21:56:52 +08:00
LukeZGD
4c3b850772 Add latest version signing check and fix other stuff 2021-11-18 18:33:15 +08:00
LukeZGD
83087e0fdc Some Shellcheck stuff 2021-11-17 14:37:02 +08:00
LukeZGD
5f27ef2db6 Fix "Downgrade command not found"
also fix main menu items
2021-11-09 16:59:56 +08:00
LukeZGD
5b773d3b4a Fix the custom IPSW option from main menu
Creating the custom IPSW from the main menu doesn't actually bundle a jailbreak, oops. This has been fixed here
2021-11-09 09:55:51 +08:00
LukeZGD
89d4e13036 Add NoDevice mode and fix some errors
perform operations without an iOS device connected (create custom IPSW for 32-bit devices, and saving OTA blobs)
2021-11-07 21:29:31 +08:00
LukeZGD
26a3236d61 Some script updates
- Print device version
- Do not run SimpleHTTPServer as root
- Other cleanup stuff
2021-11-06 22:10:04 +08:00
LukeZGD
4be22f7c9c Add option to create custom IPSW from main menu 2021-11-04 09:07:42 +08:00
LukeZGD
c15e3c7984 Support flashing latest baseband with the jailbreak option
- iOS-OTA-Downgrader will now be able to flash the latest baseband even if the jailbreak option is enabled
- idevicerestore is now removed, futurerestore will now always be used
- windows support is now removed (now in the "windows" branch and will no longer be updated or supported)
- custom ipsw option is now removed
- existing custom ipsw's created from previous commits will need to be deleted and re-created to use starting from this commit
- custom ipsw's created in the windows version will NOT be compatible with the latest linux/macos versions of ota downgrader
2021-11-02 16:21:06 +08:00
LukeeGD
f28130e5ec
Update futurerestore to beta (#142)
* Update futurerestore to beta

- both pwndfu 32bit and a7 restores work
- added 10.3.3 keys to firmware for local server
- old futurerestore binaries have been removed
- a7 doesnt need custom ipsw anymore, except on windows
- windows still uses futurerestore 194 and custom ipsw for a7, but this is rarely used anyways so yea
- closes #116
2021-10-21 19:42:50 +08:00
LukeZGD
987902ad90 Move option selections at the start
also add better messages
2021-10-12 15:02:37 +08:00
LukeZGD
74ebb9c63e Added all files from iOS-OTA-Downgrader-Keys 2021-10-07 21:50:26 +08:00
LukeZGD
1f202bc05b Add more info and do not allow to run as root
idk why i didnt add this sooner, running the script as root is a terrible idea and can break permissions

the script will only run tools as root when required, using sudo
2021-10-02 12:46:35 +08:00
LukeZGD
5ad141bd3c Limit DFU menu options on Windows 2021-09-30 13:05:27 +08:00
LukeZGD
cf0c9e472c Update tools on Windows
also allow a7 restores, which is not tested
2021-09-30 11:49:41 +08:00
LukeZGD
bacb2fdf19 Fix tool extracting and color output on Windows 2021-09-29 23:19:18 +08:00
LukeeGD
ec7adc51a9
Add Windows support (#138)
- Tested on Windows 10 64-bit 1809, iTunes 12.10.something (I don't remember the specific version), and the latest MSYS2
- To run iOS-OTA-Downgrader on Windows, MSYS2 and iTunes are needed to be installed
2021-09-29 13:33:34 +08:00
LukeZGD
5bf496195e Some updates and remove unused 2021-09-13 20:02:22 +08:00
LukeeGD
5c014be961
Support for daibutsu jailbreak with daibutsuCFW (#129)
* Get started

* Up

* up

* Now working

* Update README.md

* Update README.md

* Input for ProductType and UniqueChipID if needed

* Update

* Update depends.sh

* Update README.md

* Update restore.sh

* Update README.md
2021-09-06 16:50:29 +08:00
LukeeGD
073615b140
Update and fix various stuff (#107)
* Add FindDevice timeout and choice to continue

* Use libimobiledevice and libirecovery from Homebrew when detected

* Update depends.sh

* Detect ASi homebrew, add attempts for entering pwnREC

* Update depends.sh

* Fix some things
2021-07-12 22:36:51 +08:00
LukeZGD
adcb0a19ef Update first checks 2021-07-10 08:25:21 +08:00
LukeZGD
9c7315e659 Update M1 Mac message 2021-06-22 09:24:42 +08:00
LukeZGD
0a3d69fda3 Add restore tool selection, switch to m1stadev futurerestore, other fixes
- Restore selection is for 32-bit restores without jailbreak option
- In case that futurerestore fails, users can select 2 (idevicerestore) and create custom IPSW without jailbreak
- Switch to m1stadev fork of futurerestore (194), I tested it and works for 10.3.3 A7 restores, hopefully it works fine for others as well
- Other fixes in the scripts
2021-06-20 17:45:53 +08:00
LukeZGD
5e34ef5f94 Some changes 2021-06-19 15:31:20 +08:00
LukeZGD
1ea936d55f Clean and exit 1 on SIGINT and SIGTERM 2021-06-01 09:49:00 +08:00
LukeZGD
b136abe5ec Fix drag and drop to terminal 2021-06-01 09:02:27 +08:00
LukeZGD
6ece48eb0a Update restore.sh 2021-05-30 11:06:48 +08:00
LukeZGD
555c53fbd2 Exit codes and other stuff 2021-05-30 11:03:39 +08:00
LukeeGD
a2923a575e
Code refactoring, split to multiple scripts, general improvements (#96)
Lots of changes from this PR!
2021-05-29 19:26:08 +08:00
LukeZGD
dc694d49cf Update restore.sh 2021-05-17 18:57:04 +08:00
LukeZGD
b4bb865bdb libzip for Ubuntu 21.04 2021-05-15 16:19:20 +08:00
LukeZGD
02cbca4a3a Fix missing 2021-05-03 13:07:16 +08:00
LukeZGD
714a6fa603 More updates
- Thanks to Yaya48 (#91) for some of the changes
- Update iPwnder32 to 3.2.0
- Use preinstalled bspatch macos
- Add some changes from Yaya48
- Let M1 macs proceed with the script but add note that I cannot support it if things break
2021-05-03 11:09:21 +08:00
LukeZGD
e00264f5e5 Do not use "function" 2021-05-01 14:21:29 +08:00
LukeZGD
dd66193a10 Some changes in SSH part 2021-04-30 19:21:07 +08:00
LukeeGD
44174c2d90
Fix codesign 2021-04-30 08:21:25 +08:00
LukeZGD
1515a37cbf Move codesign idevicerestore macOS (for #85) 2021-04-25 21:02:28 +08:00
LukeZGD
d5aa99659f Add more details in readme 2021-04-24 10:51:00 +08:00
LukeZGD
491db76b61 Some pwnDFU fixes
Skip "Booting iBSS" when iPwnder32 is used
2021-04-19 16:04:30 +08:00
LukeZGD
db116131ec Updates 2021-04-14 15:25:04 +08:00
LukeZGD
418cc3c091 More updates
- rename from libimobiledevice_macos to just libimobiledevice
- update saved/pkg to saved/lib
- some message updates
- update baseband saved location
- add 21.04 hirsute in advance
- add message that 16.04 is eol and no longer supported
2021-03-25 10:29:47 +08:00
LukeZGD
ee2c585585 Fix 16.04 support (support will be removed soon)
When 21.04 Hirsute gets released, 16.04 Xenial support will be removed
2021-03-24 13:54:25 +08:00
LukeZGD
b1ede8a2b1 Update depends install, add Debian support 2021-03-22 15:28:12 +08:00
LukeZGD
127f0d88be Fix verifying IPSW 2021-03-12 14:32:06 +08:00
LukeZGD
bb190d3001 Disable EtasonJB bootloop protection
- (#70)
- also add some more notes/info
2021-03-12 11:41:39 +08:00
LukeZGD
d870f5d8ca Add more messages in the SSH and pwnDFU part
- Lets the user know their options/steps for a successful SSH connection
- Also add message regarding pwnDFU
2021-03-05 12:49:07 +08:00
LukeZGD
b4f7bacf92 Continue if saved blobs detected
Allows the script to continue when saved blobs are detected even if the target version is now unsigned
2021-03-05 11:54:19 +08:00
LukeZGD
9040db1fca Small update for install 2021-02-27 11:05:24 +08:00
LukeZGD
c635022632 Some changes in error detection 2021-02-20 16:28:42 +08:00
LukeZGD
7882edf2f1 Full upgrade for Arch 2021-02-19 14:29:07 +08:00
LukeZGD
a0155e44af macOS iPwnder32 v3.1.2 binary 2021-02-13 12:32:33 +08:00
LukeZGD
b0b747f7c0 macOS iPwnder32 v3.1.2 2021-02-11 12:29:40 +08:00
LukeZGD
758c99cc7b Use latest iPwnder32 macOS 2021-02-04 12:10:00 +08:00
LukeZGD
6f0fdbf691 Remove nvram wifiaddr "workaround"
To undo the nvram changes, run "nvram -d wifiaddr" as root
2021-01-24 11:47:51 +08:00
LukeZGD
cef83c9dca An update 2021-01-15 11:35:58 +08:00
LukeeGD
deb6e52631 Update README 2021-01-10 15:27:00 +08:00
lukee
680de2592d Always download latest imobiledevice-net macOS 2020-12-31 17:12:48 +08:00
LukeeGD
2d6c9b5452 Support for openSUSE Leap 15.2 2020-12-22 18:51:05 +08:00
LukeeGD
f985f63871 Try again with Wi-Fi SSH when USB SSH fails 2020-12-15 07:29:32 +08:00
LukeeGD
b6a70ba8e3 Fix more errors on Tumbleweed 2020-12-14 19:08:35 +08:00
LukeeGD
7f8d619bf1 Support for openSUSE Tumbleweed 2020-12-14 18:55:15 +08:00
LukeeGD
6b9032cb5b Fix partialzip (oops)
fixes #71
2020-12-04 21:58:18 +08:00
LukeeGD
e3be2d4447
For partialzip 2020-12-03 19:05:42 +08:00
LukeeGD
a0d3b7faa6 Fix ipsw tool not running in Fedora 2020-11-23 16:15:16 +08:00
LukeeGD
e97b846571 Update restore.sh 2020-11-17 07:46:16 +08:00
LukeeGD
7fadc9f9c7 Don't use wildcard in finding bbfw 2020-11-16 21:00:19 +08:00
LukeeGD
7349895d2b Baseband again 2020-11-16 11:04:28 +08:00
LukeeGD
9107776d33 Fix a potential issue with iPhone5,1 baseband 2020-11-15 19:15:09 +08:00
LukeeGD
f93bc386f5 For #68 2020-10-30 08:47:49 +08:00
LukeeGD
4d02626e5d For #67 2020-10-30 08:46:33 +08:00
LukeeGD
b488400221 Small changes 2020-10-22 20:28:31 +08:00
LukeeGD
45594ec592 Give user option for iPhone5,1 baseband 2020-10-22 13:16:51 +08:00
LukeeGD
91a90b7edd Do not flash latest baseband on iPhone5,1 2020-10-22 12:13:25 +08:00
LukeeGD
5692544bb2 Run codesign for idevicerestore macOS 2020-10-21 21:14:37 +08:00
LukeeGD
35ab7b3585 Update restore.sh 2020-10-19 12:59:45 +08:00
LukeeGD
2422c005f8 Untested 16.04 support
not recommended to run on 16.04! use 18.04 and newer
2020-10-19 12:17:49 +08:00
LukeeGD
c2c5dc0344 Faster script startup, NVRAM thing 2020-10-19 11:39:30 +08:00
LukeeGD
c0b9ec80ec macOS idevicerestore again
not sure about this, hopefully works nicely now
2020-10-08 16:00:18 +08:00
LukeeGD
810ebb2ea4
Move os-release
should fully fix 18.04 support (#60)
2020-10-06 17:12:16 +08:00
LukeeGD
56fb0ddea2 Fix idevicerestore on 18.04 2020-10-06 10:47:44 +08:00
LukeeGD
ad4dd4bb7a Revert "macOS use idevicerestore s0uthwest"
This reverts commit bfe5d98521.
2020-10-03 11:21:15 +08:00
LukeeGD
bfe5d98521 macOS use idevicerestore s0uthwest
use idevicerestore from s0uthwest instead of from odysseusota
2020-09-23 16:40:39 +08:00
LukeeGD
71010fce8b macOS imobiledevice-net v1.3.6
and other fixes

also not sure if this will help #56
2020-09-23 12:46:35 +08:00
LukeeGD
be7c48b409 Dont prompt jailbreak option on "Other" 2020-09-19 22:41:16 +08:00
LukeeGD
39b3641989 Small update and add compile script 2020-09-18 10:17:57 +08:00
LukeeGD
3dc34d35fd Fix kDFU part in Linux 2020-09-17 20:51:04 +08:00
LukeeGD
8204a73358 More fixes and remove stuff not needed 2020-09-17 11:04:34 +08:00
LukeeGD
e820c2f497 Fix more things
and add more checks
2020-09-16 22:13:48 +08:00