Commit Graph

347 Commits

Author SHA1 Message Date
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