Commit Graph

208 Commits

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