Commit Graph

335 Commits

Author SHA1 Message Date
LukeZGD
874db8cea4 Better checks for baseband/manifest 2022-11-27 11:27:18 +08:00
LukeZGD
760af27d94 Fix #228 and other updates 2022-11-26 21:38:37 +08:00
LukeZGD
9fb342e62e Fix copy commands 2022-11-02 08:08:29 +08:00
LukeZGD
e8e4cabd7a An update 2022-10-15 18:50:03 +08:00
LukeZGD
32d0987883 Add slashes if directory for cp and mv commands
- also some changes for windows idevicere(re)store
2022-10-11 09:41:07 +08:00
LukeZGD
3adcd8bd2d Update some messages 2022-10-08 12:25:24 +08:00
LukeZGD
5b1fea684f Add Gentoo to readme and some updates 2022-10-03 12:32:40 +08:00
sadddc
6a363aea5e
Added Gentoo(Portage) support (#216)
* added gentoo(portage) support

* corrected syntax
2022-10-03 12:22:41 +08:00
LukeZGD
c95966c917 Remove gaster
- it doesn't work anyway
- on macos, it succeeds, but futurerestore gets stuck unlike with ipwnder
- on linux, it just doesn't work at all for a7
2022-09-30 09:34:32 +08:00
LukeZGD
122a6f466d Set Baseband=0 for DisableBBUpdate
- and other messages
2022-09-26 10:58:09 +08:00
LukeZGD
d5564ddf16 Fix patches for iPhone3,3
- For disable/enable exploit
2022-09-26 09:04:42 +08:00
LukeZGD
73ba57ba52 Update blobs.sh 2022-09-24 21:16:41 +08:00
LukeZGD
2f527f6942 Update depends.sh 2022-09-24 17:01:48 +08:00
LukeZGD
1089a3d0f7 Update device for iPhone3,3 2022-09-24 10:26:08 +08:00
LukeZGD
8126f617e7 Update depends and device
- python2 removal from arch repos
2022-09-24 09:42:57 +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
f4df104b8a An update 2022-09-18 16:16:36 +08:00
LukeZGD
7961f2bfe6 Proper fix for libbz2 error
- compile idevicerestore with static libbz2
2022-09-12 12:46:00 +08:00
LukeZGD
6132f87757 Fix libbz2 not found Fedora
- for idevicerestore
- yet another oversight that a fix is overdue with
2022-09-12 09:51:33 +08:00
LukeZGD
36a9033f08 Fix cherry patch 2022-09-10 20:43:18 +08:00
LukeZGD
ff38a95022 Put irecovery udev rule at /etc
put the udev rule at /etc instead of /usr/lib
2022-09-09 21:34:08 +08:00
LukeZGD
20b98ef828 Adjust timeout of FindDevice 2022-09-05 15:59:11 +08:00
LukeZGD
d36cb213c8 use system partition add instead of size
changes for jailbreak option
2022-09-05 09:55:58 +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
8e4aa9f6d9 Update 2022-09-02 18:10:40 +08:00
LukeZGD
bc342eff4f Add gaster to pwnDFUTool option for A7 2022-09-02 12:19:04 +08:00
LukeZGD
69bcb5e6c4 Fix jailbreak option for iPhone4Down iOS 6.x
fixes #211
what an oversight haha, i actually haven't tested this in a while now
2022-09-01 07:56:43 +08:00
LukeZGD
6049b9899d Memory option patch for cherry
Also check if IPSW exists before applying iOS 4 fix
2022-08-29 09:55:00 +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
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
7a660bd67a Add messages on Windows and jailbreak option 2022-08-07 15:52:20 +08:00
LukeZGD
f83cbe2d6a Find IPSWDL (fixes finding 7.1.2 IPSW) 2022-08-04 09:56:23 +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
bbb11ea01f Changes with some jailbreak stuff and device 2022-07-29 10:58:15 +08:00
LukeZGD
1e378c8506 Use shasum on macOS only, use sha1sum on others 2022-07-28 13:41:50 +08:00
LukeZGD
67ed8563a7 Universe repository for Ubuntu
not sure why i removed it before as this is needed
2022-07-27 20:25:34 +08:00
LukeZGD
279e7a941c An update 2022-07-27 11:22:43 +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
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