Commit Graph

318 Commits

Author SHA1 Message Date
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
LukeZGD
768db094ec Update EtasonJB untether 2021-04-05 09:56:48 +08:00
LukeZGD
bb190d3001 Disable EtasonJB bootloop protection
- (#70)
- also add some more notes/info
2021-03-12 11:41:39 +08:00
LukeZGD
c848832e4d Update futurerestore.sh 2021-03-05 11:27:37 +08:00
LukeZGD
a0155e44af macOS iPwnder32 v3.1.2 binary 2021-02-13 12:32:33 +08:00
LukeZGD
758c99cc7b Use latest iPwnder32 macOS 2021-02-04 12:10:00 +08:00
LukeeGD
bc14150352 Update futurerestore.sh 2020-11-23 14:40:44 +08:00
LukeeGD
c0b9ec80ec macOS idevicerestore again
not sure about this, hopefully works nicely now
2020-10-08 16:00:18 +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
39b3641989 Small update and add compile script 2020-09-18 10:17:57 +08:00
LukeeGD
a8a77f1fca Fix some things 2020-09-16 20:59:09 +08:00
LukeeGD
0709e04a4f Add option to jailbreak iOS 8 downgrades 2020-09-16 14:50:12 +08:00
LukeeGD
1e209e7a55 Add option to jailbreak iOS 6 downgrades 2020-09-15 18:25:37 +08:00
LukeeGD
02003f032b Compile irecovery in resources instead of /usr/local 2020-09-13 22:26:49 +08:00
LukeeGD
3294372ea1 Add iPwnder32 as option for pwnDFU 2020-09-13 20:51:26 +08:00
LukeeGD
b52c9d3c7f Fix some issues
- Fix irecovery long timeout (still has timeout but shorter)
- Removed precompiled irecovery, just compile on install like before
- Change some things at Main to prevent errors on first run
2020-09-10 17:20:46 +08:00
LukeeGD
9c3b68e194 Change some things in creating custom 10.3.3 IPSW
- Patch both ipad4 and ipad4b for iPads
- Change IPSWCustom name
- Same IPSW can now be reused on different ProductType A7 iPhones/iPads
- Also remove unused
2020-09-08 13:50:27 +08:00
LukeeGD
ce1d47c88a More updates for Linux tools and depends
- Recompile futurerestore and tsschecker again with static irecovery libs
- Add compiled irecovery, libirecovery no longer needed to be compiled
- Remove igetnonce
- Remove unneeded depends
2020-09-06 15:57:01 +08:00
LukeeGD
2d8d9482c1 Recompile futurerestore and tsschecker linux
- Do not distribute dynamic libs anymore
2020-09-02 22:14:36 +08:00
LukeeGD
4a8af9f302 Update some things
- Update Dropbear deb link
- Remove irecovery macOS (now comes from imobiledevice-net)
- Changes in some error messages
2020-08-27 18:50:47 +08:00
LukeeGD
e59c7a7edc Replace pzb with partial-zip 2020-08-16 19:25:32 +08:00
LukeeGD
684a9ef9ae Re-add Bionic support 2020-08-14 16:07:14 +08:00
LukeeGD
d55072aaa8 Changes for dependencies (especially macOS)
- python3 no longer required
- Homebrew no longer required
- macOS libimobiledevice is from imobiledevice-net
2020-08-14 11:57:20 +08:00
LukeeGD
43abc41ca3 Update patches 2020-08-05 11:07:28 +08:00
LukeeGD
e9613200d9 Update 2020-07-30 23:09:34 +08:00
LukeeGD
64e143db0e Update SaveExternal 2020-07-30 19:31:55 +08:00
LukeeGD
972093c836 futurerestore152_macos 2020-07-30 13:23:30 +08:00
LukeeGD
594f4d54e7 Update tsschecker_macos
not sure if this will fix it
2020-07-23 23:15:09 +08:00
LukeeGD
f78fab2b91
A7 10.3.3 support (#31)
- Lots of changes for A7 stuff and others with updated dependency install
- 32bit-OTA is now iOS-OTA-Downgrader
2020-07-23 08:47:36 +08:00
LukeeGD
46a8910300 Some more changes
- iPad3,1 will use 7.1.2 iBSS for kDFU
2020-07-06 20:19:35 +08:00
LukeeGD
31fd3f7dff Try something for iPod5,1 2020-07-06 18:16:48 +08:00
LukeeGD
f620b805d6 Code refactoring and fixes 2020-04-01 10:16:29 +08:00
LukeeGD
dc947f9114 Fix some stuff 2020-03-31 14:05:29 +08:00
LukeeGD
9f1411aa5d Update 2020-03-31 13:46:59 +08:00
LukeeGD
7e090ff1d0 Update buildmanifestsaver.sh 2020-03-30 13:02:46 +08:00
LukeeGD
ad37d6511f Some changes (baseband)
- 8.4.1 and 6.1.3 IPSW URL keys are now provided in firmware branch
- Baseband will now be downloaded before running futurerestore
- Actually kill python3 local server
- Save shsh and baseband in "saved" folder
2020-03-29 11:53:53 +08:00
LukeeGD
aee3225d30 Add sha1sum in firmware 2020-03-27 16:00:04 +08:00
LukeeGD
a53d04db73 Add pzb bins, fix retry and stuff 2020-03-10 23:07:11 +08:00
LukeeGD
df34f60fac Move firmware keys to branch 2020-03-08 18:59:22 +08:00
LukeeGD
b7c711a170 Update readme and stuff
- rename manifests
- remove manifest check from script
2020-03-03 08:16:32 +08:00
LukeeGD
71013168e6 Fix errors
- also remove unneeded html files (they should work fine anyway)
2020-03-02 18:40:42 +08:00
LukeeGD
96954b416d Fix KBAG keys
for iPad2,4, iPad2,6, iPad2,7, iPod5,1
2020-03-02 17:45:48 +08:00
LukeeGD
b2e953acc6 Folder structure change, add firmware keys
-firmware keys are for futurerestore (will be used later)
-folder structure now more similar to vieux
- ctrl+c no longer needed in pwndfu
2020-03-02 15:20:47 +08:00