Commit Graph

683 Commits

Author SHA1 Message Date
LukeeGD
b6a70ba8e3 Fix more errors on Tumbleweed 2020-12-14 19:08:35 +08:00
LukeeGD
7f8d619bf1 Support for openSUSE Tumbleweed 2020-12-14 18:55:15 +08:00
LukeeGD
6b9032cb5b Fix partialzip (oops)
fixes #71
2020-12-04 21:58:18 +08:00
LukeeGD
e3be2d4447
For partialzip 2020-12-03 19:05:42 +08:00
LukeeGD
a0d3b7faa6 Fix ipsw tool not running in Fedora 2020-11-23 16:15:16 +08:00
LukeeGD
e97b846571 Update restore.sh 2020-11-17 07:46:16 +08:00
LukeeGD
7fadc9f9c7 Don't use wildcard in finding bbfw 2020-11-16 21:00:19 +08:00
LukeeGD
7349895d2b Baseband again 2020-11-16 11:04:28 +08:00
LukeeGD
9107776d33 Fix a potential issue with iPhone5,1 baseband 2020-11-15 19:15:09 +08:00
LukeeGD
f93bc386f5 For #68 2020-10-30 08:47:49 +08:00
LukeeGD
4d02626e5d For #67 2020-10-30 08:46:33 +08:00
LukeeGD
b488400221 Small changes 2020-10-22 20:28:31 +08:00
LukeeGD
45594ec592 Give user option for iPhone5,1 baseband 2020-10-22 13:16:51 +08:00
LukeeGD
91a90b7edd Do not flash latest baseband on iPhone5,1 2020-10-22 12:13:25 +08:00
LukeeGD
5692544bb2 Run codesign for idevicerestore macOS 2020-10-21 21:14:37 +08:00
LukeeGD
35ab7b3585 Update restore.sh 2020-10-19 12:59:45 +08:00
LukeeGD
2422c005f8 Untested 16.04 support
not recommended to run on 16.04! use 18.04 and newer
2020-10-19 12:17:49 +08:00
LukeeGD
c2c5dc0344 Faster script startup, NVRAM thing 2020-10-19 11:39:30 +08:00
LukeeGD
c0b9ec80ec macOS idevicerestore again
not sure about this, hopefully works nicely now
2020-10-08 16:00:18 +08:00
LukeeGD
810ebb2ea4
Move os-release
should fully fix 18.04 support (#60)
2020-10-06 17:12:16 +08:00
LukeeGD
56fb0ddea2 Fix idevicerestore on 18.04 2020-10-06 10:47:44 +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
71010fce8b macOS imobiledevice-net v1.3.6
and other fixes

also not sure if this will help #56
2020-09-23 12:46:35 +08:00
LukeeGD
be7c48b409 Dont prompt jailbreak option on "Other" 2020-09-19 22:41:16 +08:00
LukeeGD
39b3641989 Small update and add compile script 2020-09-18 10:17:57 +08:00
LukeeGD
3dc34d35fd Fix kDFU part in Linux 2020-09-17 20:51:04 +08:00
LukeeGD
8204a73358 More fixes and remove stuff not needed 2020-09-17 11:04:34 +08:00
LukeeGD
e820c2f497 Fix more things
and add more checks
2020-09-16 22:13:48 +08:00
LukeeGD
a8a77f1fca Fix some things 2020-09-16 20:59:09 +08:00
LukeeGD
5e690a4eab Update restore.sh 2020-09-16 16:46:46 +08:00
LukeeGD
20aba8fee6 Fix unable to detect device 2020-09-16 16:43:31 +08:00
LukeeGD
0709e04a4f Add option to jailbreak iOS 8 downgrades 2020-09-16 14:50:12 +08:00
LukeeGD
c8e6db49b7 Add iOS 6 can be jailbroken
also fix link
2020-09-15 18:31:46 +08:00
LukeeGD
1e209e7a55 Add option to jailbreak iOS 6 downgrades 2020-09-15 18:25:37 +08:00
LukeeGD
3b01915462 Update README for easier reading and usage
Users can now drag restore.sh to terminal window
2020-09-15 11:46:17 +08:00
LukeeGD
8200dc2da3 Disable selecting iPwnder32 for Linux
- also completely fix iBSSb and iBECb errors on 5S
2020-09-15 06:49:27 +08:00
LukeeGD
1150afd245 Fix prefix 2020-09-13 22:36:18 +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
52594bad6e Fix iBSSb and iBECb errors on 5S
This isnt really a crucial fix
2020-09-11 22:38:51 +08:00
LukeeGD
5716a94c03 Fix IPSW name for 5S
#54
2020-09-11 18:54:06 +08:00
LukeeGD
9dc6ca1657 Prevent irecovery timeout completely
Move ideviceinfo2 above irecovery2 and check exit status
2020-09-10 17:37:53 +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
4a2435c007 Use irecovery instead of lsusb/system_profiler
for #54

- Also change 10 seconds to 8 seconds for entering DFU
- Also remove firmware and ipwndfu folders on depends install
2020-09-10 16:28:52 +08:00
LukeeGD
be4fcb5a70 Small update for depends install
- Removed libplist and libusbmuxd (they get installed as dependencies anyway)
- Only symlink libraries for Fedora 32 and below (33 now uses latest so no symlinking)
2020-09-09 08:33:22 +08:00
LukeeGD
8783eda5b8 SaveExternal first before device detection
- Also remove selecting 8.4.1 for iPhone 5C
2020-09-08 16:17:53 +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
de6e5792bf An update
- Recompile futurerestore for Bionic
- Allow ipwndfu for A6 devices in recovery
- Add Ubuntu 20.10 to support (untested and not even released yet but it most likely will work anyway)
2020-09-07 15:55:38 +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
f2456f3b1d Removed nonworking msys support
- to clean up the code a bit, msys support has been removed (that isn't working anyway)
- it's now in the separate win branch again with some fixes
- win branch will only be merged if I ever get a working futurerestore with libipatcher for windows
2020-09-02 13:46:55 +08:00
LukeeGD
479b320bc7 Added color to script output
add "NoColor" argument to disable
2020-09-01 10:25:27 +08:00
LukeeGD
2b51dc6598 SHSH name 2020-08-30 22:12:39 +08:00
LukeeGD
6106695a63 Fix being unable to find SHSH
for #53

- will now always convert ecid hex to dec
- also some changes in clean function
2020-08-30 21:42:24 +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
204deb6a43
Fix #52 2020-08-26 16:27:44 +08:00
LukeeGD
6f2bf6ed0c Update restore.sh 2020-08-25 14:50:27 +08:00
LukeeGD
3e340b5e75 Untested MSYS MinGW64 support 2020-08-25 14:42:57 +08:00
LukeeGD
d823cfcb0d SHSH APNonce 2020-08-24 19:07:44 +08:00
LukeeGD
1d5f7efb83 Move iBEC/iBSS stuff to BasebandDetect
also for #49
2020-08-22 18:50:29 +08:00
LukeeGD
d9c2ca48c7 Put HWModels in script (for #49) 2020-08-22 09:52:58 +08:00
LukeeGD
fd1a851023 Fix libirecovery error and update readme 2020-08-17 20:31:15 +08:00
LukeeGD
631b347842
Forgot tsschecker macos 2020-08-17 14:14:08 +08:00
LukeeGD
e59c7a7edc Replace pzb with partial-zip 2020-08-16 19:25:32 +08:00
LukeeGD
b1485900ee Some changes for Linux stuff
- Don't mess with /usr/lib and /usr/local/lib anymore
- libirecovery will still be compiled and installed
- Also update bionic sha1
2020-08-16 15:09:55 +08:00
LukeeGD
9c95d11330
Advanced options 32-bit 2020-08-16 12:23:07 +08:00
LukeeGD
28644d7722
Update restore.sh 2020-08-15 01:10:52 +08:00
LukeeGD
684a9ef9ae Re-add Bionic support 2020-08-14 16:07:14 +08:00
LukeeGD
bc0c0f650c
Update restore.sh 2020-08-14 13:34:48 +08:00
LukeeGD
a3126703b2
Forgot to add xcode select 2020-08-14 12:43:30 +08:00
LukeeGD
59c8bbc8de
SaveExternal first before detect 2020-08-14 12:27:55 +08:00
LukeeGD
cdc9d7d1e5 Some more changes 2020-08-14 12:05:43 +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
028d6fb283 Some changes 2020-08-13 12:57:31 +08:00
LukeeGD
cd8eca768d Fix syntax error 2020-08-13 10:11:33 +08:00
LukeeGD
54a4d04333 Update restore.sh 2020-08-12 22:08:14 +08:00
LukeeGD
e15aac2ab9 Add more options for 32-bit DFU
not tested, for more advanced users only
2020-08-12 22:05:51 +08:00
LukeeGD
0945dd1a83 Depends 2020-08-11 09:33:00 +08:00
LukeeGD
98423fa73a Dependency install 2020-08-11 08:57:18 +08:00
LukeeGD
6f29f7d04a Update README add more notes 2020-08-10 22:08:15 +08:00
LukeeGD
43abc41ca3 Update patches 2020-08-05 11:07:28 +08:00
LukeeGD
b76e22bb12
Update SaveExternal 2020-08-04 23:49:55 +08:00
LukeeGD
4a0b20351c Find device in pwnREC
(for A7) remove "continuing anyway" as that will just always fail
2020-08-04 17:48:10 +08:00
LukeeGD
7b18f3bdb1 Fix iproxy 2020-08-04 17:21:02 +08:00
LukeeGD
66e64ed1b2 Check for iproxy 2020-08-04 16:24:19 +08:00
LukeeGD
8af72a66bd Give option to continue 2020-08-01 13:31:37 +08:00
LukeeGD
dd8a3449be Re-add some stuff
for iOS 10 activation workaround
2020-07-31 18:04:16 +08:00
LukeeGD
d77c83425a Use USB SSH (iproxy)
iOS 10 now needs Dropbear instead of MTerminal
2020-07-31 09:06:21 +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
7cd6755a42 Fix missing tmp folder 2020-07-29 18:41:01 +08:00
LukeeGD
1e9d4b9171 Update some messages (and other changes) 2020-07-27 21:42:41 +08:00
LukeeGD
ced710e6aa No SelectVersion menu on kDFU only 2020-07-27 20:07:21 +08:00
LukeeGD
e3480568b7 Update restore.sh 2020-07-27 19:27:46 +08:00
LukeeGD
b7bf6660c6 Some changes 2 2020-07-26 14:20:35 +08:00
LukeeGD
651d30529c Some changes
- For igetnonce error in macOS
- Allow other Focal-based distros to go to dependency install
2020-07-26 14:08:00 +08:00
LukeeGD
c768d2fe09 shasum (fix #33) 2020-07-25 13:50:55 +08:00
LukeeGD
e48c992127 Fix more errors 2020-07-25 13:19:19 +08:00
LukeeGD
96e5fb6b14 Fix some errors on 32-bit downgrades 2020-07-25 11:23:31 +08:00
LukeeGD
94bc19244a Save pkgs to "saved" folder
for dependency install
2020-07-24 20:58:09 +08:00
LukeeGD
800ab17d55
Update restore.sh 2020-07-24 11:00:32 +08:00
LukeeGD
594f4d54e7 Update tsschecker_macos
not sure if this will fix it
2020-07-23 23:15:09 +08:00
LukeeGD
8c0153bcc7 Apply suggestions in #32
For the dependency install
Also add universe repo for Ubuntu
2020-07-23 22:35:52 +08:00
LukeeGD
7879f23756 Error when device is not supported
and some other changes
2020-07-23 20:08:16 +08:00
LukeeGD
cb022154d3 Fix Focal dependencies 2020-07-23 10:52:17 +08:00
LukeeGD
8e7f9dbfac Drop Bionic support, fix some stuff
- Put back kDFU mode
- Arguments are now accepted
- When no argument, always go to main menu
- Remove menu options when A7 device detected
2020-07-23 10:08:46 +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
0f014ba31f Add message for "Other" 2020-07-13 21:27:43 +08:00
LukeeGD
e698ca39bd Update restore.sh 2020-07-07 11:50:26 +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
8c2af9e7c8 Update restore.sh 2020-07-06 18:24:00 +08:00
LukeeGD
31fd3f7dff Try something for iPod5,1 2020-07-06 18:16:48 +08:00
LukeeGD
13c934d8b3 Add Fedora support 2020-07-06 16:08:13 +08:00
LukeeGD
d3d3788c0b Remove 16.04 (Xenial) support 2020-06-29 09:31:06 +08:00
LukeeGD
4f530abaab delet 2020-06-14 23:58:09 +08:00
LukeeGD
4c940e6593 Update some things
- Select841, Select613, and SelectOther functions are now within Action
- Add more instructions in entering root password
- Small changes in Arch dependency install
- Other stuff
2020-06-14 13:39:26 +08:00
LukeeGD
861bc2e21a Arch ifuse 2020-06-12 13:46:02 +08:00
LukeeGD
d22277a21d Some changes in verifying baseband and other stuff
Also change some messages, put all dependency installs in 1 function
2020-05-08 09:46:30 +08:00
LukeeGD
55a493743b Delete saved baseband if verifying fails 2020-05-05 15:15:02 +08:00
LukeeGD
53444cfa47 Use 8.4.1 iBSS only, add baseband sha1sum verifying 2020-05-05 15:05:49 +08:00
LukeeGD
c56b61ef07 Update restore.sh 2020-05-04 09:28:14 +08:00
LukeeGD
ef6fd490c3 Replace openssl1.0 with libssl1.0.0 2020-04-27 13:47:58 +08:00
LukeeGD
b20f045cb1 Fix 20.04 libpng12 and add openssl1.0 2020-04-27 13:40:14 +08:00
LukeeGD
a0e07ac63f More fixes for dependency install 2020-04-27 13:23:27 +08:00
LukeeGD
bb3062326d Add Ubuntu 20.04 support for dependency install 2020-04-27 13:16:07 +08:00
LukeeGD
eaa78a7e2b Update restore.sh 2020-04-17 11:18:24 +08:00
LukeeGD
81d8d43b07 Remove logging and some changes
Terminal output is more useful than those logs
2020-04-16 18:29:11 +08:00
LukeeGD
51c34b9b93 Some small changes 2020-04-08 20:01:21 +08:00
LukeeGD
3536ae9478 Exit 2020-04-01 11:17:19 +08:00
LukeeGD
d558eb1997 Logging 2020-04-01 10:49:55 +08:00
LukeeGD
f620b805d6 Code refactoring and fixes 2020-04-01 10:16:29 +08:00
LukeeGD
ce2eb8bd98 Remove macOS warning 2020-03-31 22:53:05 +08:00
LukeeGD
1c82716f52 Clean and exit on SIGINT 2020-03-31 14:19:32 +08:00
LukeeGD
72a649e329 Update restore.sh 2020-03-31 14:13:51 +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
ae45627efc kDFU and local server fixes 2020-03-29 13:05:45 +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
e346e3f658 ota.json is not needed 2020-03-23 14:35:04 +08:00
LukeeGD
0df5acf4fb Update restore.sh
Always download firmware keys
2020-03-22 08:37:31 +08:00
LukeeGD
9e6e807cd6 Add IPSW verifying and stuff 2020-03-19 21:04:06 +08:00
LukeeGD
2522182a1c x86_64 only 2020-03-15 10:43:07 +08:00
LukeeGD
5461e888bb Comment on stuff and some changes 2020-03-13 12:12:49 +08:00
LukeeGD
205b17c765 Fix 18.04 libpng12 2020-03-11 07:33:23 +08:00
LukeeGD
a53d04db73 Add pzb bins, fix retry and stuff 2020-03-10 23:07:11 +08:00
LukeeGD
222323414f Tested other downgrade
- also fix saving shsh blobs getting deleted
2020-03-10 21:19:08 +08:00
LukeeGD
5419adcf27 For #9 2020-03-10 19:32:42 +08:00
LukeeGD
77a4c51a9e Some more updates
- Add [Log], [Input], [Error] to echo outputs
- ifuse is now a dependency to 10.x downgrades only
- kDFUOnly is now within kDFU function
- kDFU first before extracting IPSW
- Code improvements
2020-03-10 10:55:04 +08:00
LukeeGD
c8b4c408fc Some updates
- Do not run kDFU function when device is in DFU mode
- SCP/SSH error detection
- Clean after downgrade
2020-03-09 14:24:45 +08:00
LukeeGD
0d6aee7ad0 Detect device in DFU (for #1 ) 2020-03-09 09:30:19 +08:00
LukeeGD
11ed3c91a5 Fix 18.04 dependency install (fixes #8 ) 2020-03-09 08:24:35 +08:00
LukeeGD
df34f60fac Move firmware keys to branch 2020-03-08 18:59:22 +08:00
LukeeGD
791d4c93b0 Update 2020-03-06 08:14:10 +08:00
LukeeGD
73fff587a6 Attempt to fix macOS dependency install 2020-03-06 07:46:08 +08:00
LukeeGD
d8b65eaa9e Update restore.sh 2020-03-05 19:54:46 +08:00
LukeeGD
b05dc26d87 Menu changes and other stuff
- option to save OTA blobs is back
- add option to downgrade with shsh blobs (depends on pzb)
- do not require ipsw for kdfu only (depends on pzb also)
- change pwndfu to kdfu
- change brew install from ruby to bash
2020-03-05 19:48:41 +08:00
LukeeGD
3f60477e35 Add Internet connection check 2020-03-04 23:19:01 +08:00
LukeeGD
3d6dfb0999 Download IPSW if needed 2020-03-03 09:09:07 +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
c1dd8815bf ProductType fallback 2020-03-02 18:08:15 +08:00
LukeeGD
d37b24a2b9 Fix script 2020-03-02 16:11:52 +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
Morph
209f3b75dd
Change ideviceinfo command to ideviceinfo -s
This resolves the issue
ERROR: Could not connect to lockdownd, error code -2

This issue was encountered when trying to run the script on latest manjaro
2020-03-01 14:47:48 -05:00
LukeeGD
d5a8bcc877 Update restore.sh 2020-02-24 22:52:46 +08:00
LukeeGD
a1232cc788 Some changes
especially in the readme
2020-02-08 23:19:36 +08:00
LukeeGD
7372b0facc Fix dependency install
- with minor changes and add a bit more info in readme
2020-02-04 23:33:45 +08:00
LukeeGD
b69ac6eb25 Update restore.sh
Make downgrading from iOS 10 a bit easier (type less stuff in MTerminal)
2020-01-08 07:28:11 +08:00
LukeeGD
24d0f70215 Some update
- Remove options to just save blobs
- Include tsschecker and futurerestore bins
- Add option to re-install dependencies
2020-01-08 07:17:00 +08:00
LukeeGD
e9733b2d39 Fix dependency stuff
and some other changes
2019-12-15 11:52:10 +08:00
LukeeGD
73548d7121 Fix issues
* Correct IV and Keys
* Also add option to just save blobs
* Added buildmanifestsaver
2019-12-08 17:53:44 +08:00
LukeeGD
9c4e4b8468 Small change 2019-12-07 20:13:47 +08:00
LukeeGD
b035bea1ba Fix issues 2019-12-04 17:07:56 +08:00
LukeeGD
645608eda1 Updated scripts!
* Included BuildManifests, downloading otafirmware no longer required
* Do not delete ota.json when already downloaded
* install.sh and downgrader.sh merged into one!
* Autodetect distro/OS for installing dependencies
* macOS support!
2019-12-04 15:11:24 +08:00
LukeeGD
27e4d77248 Update stuff 2019-11-22 18:48:41 +08:00
LukeeGD
bb7fcd8efc Improvements, install script
Also update readme
2019-11-21 23:48:05 +08:00
LukeeGD
60660bec6d Things are working! 2019-11-20 20:39:56 +08:00
LukeeGD
abf6c0dc16 Almost done? 2019-11-20 08:40:27 +08:00
LukeeGD
07adf2a64d WIP 2019-11-19 23:17:44 +08:00
LukeeGD
c8c814b0a4 Create restore.sh 2019-11-19 19:56:44 +08:00