Commit Graph

293 Commits

Author SHA1 Message Date
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
9933d6e0f5 Forgot to set SHSH var here 2022-07-21 07:45:13 +08:00
LukeZGD
40adf6d8ca Fix creating custom 7.1.2 ipsw
previous 2 commits broke 7.1.2 stuff, this should fix it
2022-07-20 22:51:26 +08:00
LukeZGD
d92a0351c4 powdersn0w 2022-07-20 18:21:30 +08:00
LukeZGD
5e29a770c6 Remove unused 2022-07-20 17:26:22 +08:00
LukeZGD
8b85e7f139 More corrections
what's with the wrong checksums from ipsw.me? haha
2022-07-19 10:08:32 +08:00
LukeZGD
aa802cfac6 Update
general fixes
2022-07-18 19:53:45 +08:00
LukeZGD
eaf36a0bbd Fix prompt for Memory Option 2022-07-17 10:41:33 +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
76acc9bdf3 Update depends.sh 2022-07-14 23:01:40 +08:00
LukeZGD
e3d88e3be9 Add "complete" script and release 2022-07-14 16:49:13 +08:00
LukeZGD
0e2daa0182 Update downgrade.sh 2022-07-10 16:48:53 +08:00
LukeZGD
a3961e7e6b Fix extracting BuildVer for macOS
for "Other" restores
2022-07-10 16:38:52 +08:00
LukeZGD
ba253917ad Warning instead of error for firmware keys
futurerestore can still attempt to get keys from ipsw.me later
2022-07-09 16:01:44 +08:00
LukeZGD
8942de72ea Some changes 2022-07-07 14:21:53 +08:00
LukeZGD
d151d71aac Update ipsw.sh
fix ios4fix script even though it doesn't really work anyway
2022-07-06 10:44:43 +08:00
LukeZGD
9248c9002c Update some depends 2022-07-05 18:56:08 +08:00
LukeZGD
1e8bc1b1c6 Update build 2022-07-04 19:58:45 +08:00
LukeZGD
1b3602b61a Update depends.sh 2022-07-04 18:24:13 +08:00
LukeZGD
626ffb5c49 Update idevicerestore
(again) it's finally static compiled, mostly
2022-07-04 15:13:53 +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
TipzRickyCheung
69cea0c47b
Update SHA hash for iPhone3,1 5.0 (#191)
For some reason, ipsw.me's SHA hash is incorrect.
2022-07-03 00:37:14 +08:00
LukeZGD
a84413c207 Update downgrade.sh 2022-07-02 20:19:33 +08:00
LukeZGD
ffc3926b50 Custom IPSW option for A7 2022-07-02 12:54:18 +08:00
LukeZGD
28467a16bf Apply linux_fix 2022-07-02 11:48:25 +08:00
LukeZGD
f0870cd9ce Update depends.sh 2022-07-01 19:22:10 +08:00
LukeZGD
5f3ccb2fe6 Update idevicerestore 2022-07-01 15:06:07 +08:00
LukeZGD
e9fdf2bf49 Update depends and tools 2022-06-29 13:00:32 +08:00
LukeZGD
c7690f4279 Update depends 2022-06-29 10:48:17 +08:00
LukeZGD
2ee6f283e5 Update ipsw.sh 2022-06-22 22:04:28 +08:00
LukeZGD
104cfb623f Update JailbreakFiles
verify existing file and stuff, also put in a function
2022-06-18 20:22:46 +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
8100305b14 Add openSUSE Leap 15.4 2022-06-10 01:09:09 +08:00
LukeZGD
a89cba00bb Verbose boot option for iPhone4Down 2022-06-09 21:58:42 +08:00
LukeZGD
b85020a91f Fix iBoot patching for iPhone4Down
for #184 and #185
this should actually fix things this time
2022-06-09 21:12:04 +08:00
LukeZGD
98380efbc6 Update device.sh
update ibss option messages
2022-06-09 10:37:29 +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
5a1461b3df More fixes
should be the last of them bugs? hopefully.
2022-05-31 12:35:00 +08:00
LukeZGD
3c6a500ad7 An update (fix some stuff) 2022-05-30 22:17:56 +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
5640c783d7 Remove duplicate jailbreak option 2022-05-29 10:15:48 +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
d703ab0157 Update ipsw 2022-05-13 16:24:41 +08:00
LukeZGD
baedf5657e Better Debian detection
Fixes Debian-based distros that show unsupported (tested on SparkyLinux, Neptune, LMDE)
2022-05-12 15:57:33 +08:00
LukeZGD
7ee96c6d67 Update some baseband info
- 5c models share the same baseband with 5s
- (i realized this a bit late but ig better late than never)
2022-05-07 14:44:39 +08:00
LukeZGD
7ab1b79baa Use LatestVer BuildManifest on tsschecker
fixes the firmware.json issue
2022-05-01 11:59:01 +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
b6d450a323 Add Jailbreak Tool Option
- selection between daibutsu and EtasonJB
- for iPhone4,1 and iPhone5,2 only
2022-04-16 10:02:19 +08:00
LukeZGD
0d1baac430 Update device.sh 2022-03-22 09:46:03 +08:00
LukeZGD
bee690b64e Update downgrade.sh 2022-03-16 12:07:12 +08:00
LukeZGD
1688f66507 Print full restore command, show message on error 2022-03-16 11:59:01 +08:00
LukeZGD
a170ec5376 Workaround python2 removal in macOS 12.3
not tested
2022-03-16 11:42:58 +08:00
LukeZGD
0bd069df62 Wait for iproxy
Add sleep 2 after running iproxy to ensure ssh connection
2022-03-12 16:00:10 +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
ea5df0c045 Add ipwnder_lite for pwnDFU option
not tested, so not sure if it works
2022-02-14 16:08:57 +08:00
cram
c7a6dc3d55
Update ssh_config (#157)
Best to change UserKnownHostsFile to /dev/null rather than a persistent file.
    AddKeysToAgent yes
    IdentitiesOnly yes
Both required for successful connection under Catalina/OpenSSH_8.1p1, LibreSSL 2.7.3
2022-01-03 00:24:07 +08:00
LukeZGD
d6770b7a2e Update ipsw.sh 2021-12-06 08:17:26 +08:00
LukeZGD
f50d42e487 Update jailbreak stuff
- iPhone5,2 will now also use daibutsuCFW
- Update EtasonJB untether, hopefully it fixes issues
2021-11-28 22:56:38 +08:00
LukeZGD
b1fac869dc Latest baseband will now always be flashed
removed latest baseband option
2021-11-28 14:04:07 +08:00
LukeZGD
ea4f0814d4 Update depends.sh
not update the whole arch system
2021-11-28 01:36:57 +08:00
LukeZGD
3b665b1627 DFU Advanced Menu now requires an argument 2021-11-25 15:24:50 +08:00
LukeZGD
da42562436 Fix BasebandManifest error A7 2021-11-24 07:39:51 +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
93277df442 Print options when enabled/disabled 2021-11-08 09:48:18 +08:00
LukeZGD
ccd68034f8 Latest baseband thing 2021-11-07 22:57:20 +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
3d9f12b146 Fix permissions, remove unused 2021-11-05 10:27:41 +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
LukeZGD
c8ce4a5c95 Add zenity macos 2021-11-01 13:34:41 +08:00
LukeZGD
da9d926553 Get firmware keys for "Other" restores 2021-10-31 09:59:23 +08:00
LukeZGD
e9481a2662 Latest baseband option 2021-10-26 11:41:09 +08:00
LukeZGD
73a61ac37d Disable jailbreak option on iPad mini 1 2021-10-26 11:33:18 +08:00
LukeZGD
e27fa016bf Update futurerestore 2021-10-26 11:32:59 +08:00
LukeZGD
fe3e6f0f00 Custom IPSW option 2021-10-25 14:57:24 +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
3ebb64cda2 Link to troubleshooting Windows 2021-10-05 11:24:24 +08:00
LukeZGD
094e2dfcab Move to GitHub wiki 2021-10-05 11:10:32 +08:00
LukeZGD
74a5776e33 Add how to use and troubleshooting 2021-10-03 23:26:19 +08:00
LukeZGD
c8e4822fdb Update ssh_config 2021-10-02 21:00:23 +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
f84a5f28bf Add message about restore errors on Windows 2021-09-30 23:05:25 +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
LukeZGD
51b4f16ca9 Update Windows depends 2021-09-29 17:26:04 +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
b3990bcfe5 Update ipsw and message about memory option
for those that are running with not enough ram or storage space
2021-09-18 20:02:08 +08:00
LukeZGD
4b9a11d387 Update ipsw 2021-09-15 23:25:09 +08:00
LukeZGD
7101870adc Update some stuff 2021-09-15 22:12:45 +08:00
LukeZGD
5bf496195e Some updates and remove unused 2021-09-13 20:02:22 +08:00
LukeZGD
73fff2b207 Fix "could not load IPSW" error
oops
2021-09-10 07:54:15 +08:00
LukeZGD
26f7375f88 Also detect limd and irecovery from MacPorts 2021-09-09 10:20:19 +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
LukeZGD
cc4c38ca40 Update pwnD again 2021-09-03 12:09:33 +08:00
LukeZGD
f5e41a1da2 Update fix 2021-09-02 13:33:04 +08:00
LukeZGD
6e73fb2c48 Update device.sh 2021-09-01 21:53:05 +08:00
LukeZGD
1eaaab59f0 Fix "Other" downgrades 2021-09-01 08:11:07 +08:00
LukeZGD
c053bb5569 Use zenity file selection for "Other" downgrades (Linux only) 2021-09-01 07:57:25 +08:00
LukeZGD
8f7603c602 Fix possible issue
Fix possible issue cause by 777bc7c
2021-09-01 01:12:39 +08:00
LukeZGD
777bc7cac4 This should fix #119 2021-08-30 22:50:46 +08:00
LukeZGD
1ca2d0a0f4 Remove "fallback" tsschecker 2021-08-26 19:45:53 +08:00
LukeZGD
3b98d48c00 Artix Linux support
Apparently Artix doesn't have ID_LIKE=arch in its os-release
Closes #118
2021-08-26 19:41:52 +08:00
LukeZGD
b6252ba4db Output log SHA1sum on verifying IPSW 2021-08-21 16:53:54 +08:00
LukeZGD
091f866270 Update (for #113 and #114) 2021-08-20 09:58:17 +08:00
LukeZGD
394f3edc59 Fix #112 2021-08-01 10:06:25 +08:00
LukeZGD
b6fa9f2f95 do not dl libimobiledevice if installed from brew 2021-07-31 16:58:19 +08:00
LukeZGD
a4166d51f4 Support Debian 11 Bullseye 2021-07-26 17:23:57 +08:00
LukeZGD
a82d78451a more specific lsusb 2021-07-21 09:54:37 +08:00
LukeZGD
9a189b377d Update device.sh 2021-07-20 13:30:19 +08:00
LukeZGD
3c1fc9fce9 Update device.sh 2021-07-20 12:49:03 +08:00
CoocooFroggy
49a564ccdd
Support irecovery 1.0.1 (#109)
* irecovery 1.0.1

* Better solution
2021-07-20 11:30:15 +08:00
LukeZGD
395c155201 Fix sending iBSS 32-bit (fixes #108) 2021-07-20 09:13:10 +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
d3d27a0c4f Add fallback tsschecker (for #81) 2021-07-12 13:39:48 +08:00
LukeZGD
c641698877 Change "hard reset" to "force restart"
Use official wording by Apple in their help/support page to avoid confusion
2021-07-09 17:39:28 +08:00
LukeZGD
492147eebc Small change in pwnDFU check 2021-07-06 11:35:19 +08:00
LukeZGD
e5633173e2 Update device.sh 2021-06-27 16:20:23 +08:00
LukeZGD
ff77614c51 Update some pwndfu stuff 2021-06-27 16:13:51 +08:00
LukeZGD
f18988cef5 Add quotes 2021-06-25 22:05:31 +08:00
LukeZGD
e102281af4 Some fixes 2021-06-21 19:53:02 +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
eb21e6b25a Fix a problem with jailbreak option 2021-06-16 12:29:02 +08:00
LukeZGD
1931281d2f Update blobs.sh and readme 2021-06-13 20:07:18 +08:00
LukeZGD
a3f9f72d3b Fix jailbreak option issue (A5 Rev A)
mentioned in #98
2021-06-13 19:48:06 +08:00
LukeZGD
559d8d1563 Update
fix potential error for iPhone5,1 baseband
2021-06-08 11:04:40 +08:00
LukeZGD
00978b4120 Update depends and supported distros
now works on leap 15.3, and also all ubuntu versions 20.04 and newer
2021-06-07 13:49:58 +08:00
LukeZGD
02b14d2e8b Fix Tumbleweed support 2021-06-06 22:40:06 +08:00
LukeZGD
ce0a56c77a Fix baseband copy mistake
for #97
2021-06-06 20:32:29 +08:00
LukeZGD
8d8f65d53a Update ipsw
again haha

for lower glibc on ubuntu 20.04
2021-06-06 16:37:42 +08:00
LukeZGD
e3f76f9701 Update ipsw tool, and other changes 2021-06-05 19:53:56 +08:00
LukeZGD
c89d784fa4 Update depends.sh 2021-06-01 15:21:37 +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
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