1296 Commits

Author SHA1 Message Date
LukeeGD
c468e793f3 fix bootstraps
freeze now has patcyh, again. for the 64-bit 7.0-8.2 case (05f7da6 or #797), just rm the patcyh files and modify dpkg available and status as needed

additionally, with this commit 6.1.3 and 8.4.1 bundles are now removed in favor of using powdersn0w's dynamic patchers. this reduces the firmwarebundles to just 4.1 and lower, 4.2.1 for iphone 3g and touch 2, and all of 3gs release versions.
2025-07-26 14:52:07 +08:00
LukeeGD
78bdce14d5 Revert "Revert for now, will fix later"
This reverts commit 64cb8b932a.
2025-07-26 14:11:43 +08:00
LukeeGD
64cb8b932a Revert for now, will fix later
revert
2025-07-26 13:37:52 +08:00
LukeeGD
f8538649c1 forgot to decompress gzip here
since idk if gzip is in the 64-bit sshrd, decompress it
2025-07-26 00:00:38 +08:00
LukeeGD
5d2d651f90 bootstrap update, and some fixes
- remove freeze7, remove patcyh from freeze (renamed from freeze7), separate patcyh tar, gzip bootstraps
- a continuation of 05f7da6 or #797 where patcyh is now removed from the bootstrap tar "freeze, a separate tar is added for targets on 8.3 or newer, where patcyh is required
- freeze tars are now compressed tar.gz (gzip)
- add a custom truststore to bootstraps, for pre-installed certificates
- fix some issues like activation tar getting deleted for some reason
2025-07-25 22:19:51 +08:00
LukeeGD
09fb5132ce Find _record.plist instead of activation_record.plist
some devices (wifi-only) use pod_record.plist
2025-07-25 13:19:02 +08:00
LukeeGD
0e0b4c66cd Add disable-actrec flag
now that activation-records flag is enabled by default on a5(x)/a6(x) devices, there should be an option/flag to disable it, so here it is
2025-07-25 12:07:45 +08:00
LukeeGD
1685fce1a0 Better handling of baseband/activation dumping
also activate activation-records flag by default on all a5(x)/a6(x) devices
2025-07-25 10:51:31 +08:00
LukeeGD
3ffbb7db41 Partial revert "Update restore.sh"
This reverts commit 4154252ba2.

the appdump changes are not ready yet, this should be in a private branch for now
2025-07-24 10:12:28 +08:00
LukeeGD
eda94671d9 Some fixes for recent merge 2025-07-24 10:09:41 +08:00
LukeeGD
82d39a1953 Merge branch 'main' of https://github.com/LukeZGD/Legacy-iOS-Kit 2025-07-24 10:03:39 +08:00
LukeeGD
4154252ba2 Update restore.sh 2025-07-24 10:03:32 +08:00
Ricky Cheung
05f7da6c67 Refinements for installing bootstrap / untethered on 64-bit (#797)
* Refinements for installing bootstrap / untethered on 64-bit

* Instead of sending the tar to the RootFS with limited space,
  send it as stdin via SSH.

* Add note for iOS 8 SSH ramdisk

Signed-off-by: Ricky Cheung <rcheung844@gmail.com>

* Add tar with Patcyh removed

This package has a requirement for firmware >= 8.3, which causes
issues for devices running versions older than this.

Fix by removing them from dpkg's available and status lists,
alongside all installed dependencies.

Signed-off-by: Ricky Cheung <rcheung844@gmail.com>

* Allow Cydia to perform stashing on untethered 7.x

"""
 Upon the iOS device, a space doth wane,
 The root partition, small, doth fill apace.
 When tweaks and apps in multitudes we gain,
 The system groans in such a crowded space.

 Then Cydia, wise, a remedy did grace:
 To stash away in user's land more vast,
 The Applications, Themes, and Library's place,
 With symlinks left, so naught is overpassed.

 But LukeZGD, in prudence, held it fast;
 Disabled by default, the stashing art,
 Lest unforeseen mishaps be then amassed,
 And cautious users play the safer part.

 Now, hark! The program grants a choice to start:
 To stash or not, as users may decree.
 Thus freedom rings, a satisfying chart,
 And each may choose as fits their warranty.
 So lift thy voice and let thy choice be free,
 For stashing's power now lies in thine own hand.
"""

This is the original commit message:
Stashing appears to work fine with this set-up, fixing issues with
not enough storage space when installing tweaks.

Users may use Cydia Eraser if they preferred going back to factory
configurations, so this is absolutely fine.

Signed-off-by: Ricky Cheung <rcheung844@gmail.com>

---------

Signed-off-by: Ricky Cheung <rcheung844@gmail.com>
Co-authored-by: Ricky Cheung <rcheung844@gmail.com>
2025-07-24 10:03:14 +08:00
LukeeGD
8b3b01334b add ecid to ipsws with disable-bbupdate and activation-records 2025-07-17 10:06:41 +08:00
LukeeGD
d9a0841fa8 update ipwnder again 2025-07-13 17:21:14 +08:00
LukeeGD
1a7e20f124 update ipwnder macos
use ipwnder32 libusb instead of ipwnder_lite, seems to work fine and might help on some intel macs too
2025-07-13 15:04:57 +08:00
LukeeGD
9c13b73552 update everpwnage to v1.2, and other fixes
- remove untetherhomedepot
- also most likely fixes #795
2025-07-12 23:38:44 +08:00
LukeeGD
fd400b7be9 update some pwning bins and further fix to 3.2.x ipad 1 non-dra
further fix to 3.2.x ipad 1 non-dra (issues like #793). after restoring with blobs or tethered, user needs to go to disable exploit in order to fix the jailbreak. (existing 3.2.x non-dra custom ipsws made before this commit should be deleted)
2025-07-08 15:18:05 +08:00
LukeeGD
282518f7af Some changes for better el capitan compat
- use bsdtar instead of unzip for most extraction on macos
- also update futurerestore so that it works on el capitan now
2025-07-08 12:14:13 +08:00
LukeeGD
4c33ebda49 an update to zenity macos 2025-07-07 23:22:32 +08:00
LukeeGD
34b1c6aa78 check if device_srtg is empty when detecting a5/a6 dfu 2025-07-07 22:29:21 +08:00
LukeeGD
c6cc79d34c Replace most curl usage with static aria2c
- update intel macos zenity binary to run on el capitan
-add git fallbacks if --filter causes an error (like if git is too old on older macos versions)
- remove homebrew/macports requirements
- hopefully no issues come out of these changes
2025-07-07 21:17:58 +08:00
LukeeGD
c3d9068df5 An update, also fixes #793 2025-07-07 09:52:28 +08:00
LukeeGD
7719fa960b Some changes, also fixes #788 2025-07-04 18:30:12 +08:00
LukeeGD
88a4e8ada1 update fr (use latest sep as restoresep on main) 2025-07-02 21:49:47 +08:00
LukeeGD
5454f05b22 update with rsep and ipx stuff
changes mostly for #784
2025-07-02 20:24:41 +08:00
LukeeGD
0a1aa683f3 more fixes and stuff 2025-07-01 21:44:41 +08:00
LukeeGD
2af48ebbb3 Fix this up
bru
2025-07-01 16:42:38 +08:00
LukeeGD
2b3457e8b6 update img4tool macos arm64 2025-07-01 16:30:22 +08:00
LukeeGD
d27f8f911a Patches for iPhone X restores to 14.3-15.7.2, option to use 14.1 ramdisk for 14.2-14.8 restores
- Patches for iPhone X restores to 14.3-15.7.2. Thanks to mineek and nathan for the method. mineek also made the restored_external patchfinder for this
- For non-iPhone X restores to 14.2-14.8, there's the `--enable-ipx` option. This uses 14.1 ramdisk for all 14.2-14.8 restores to attempt avoiding root seal, 14.x doesnt enforce ssv anyway
2025-07-01 15:42:18 +08:00
LukeeGD
fade3326f6 some changes for dumping onboards 32-bit 2025-06-30 08:00:17 +08:00
LukeeGD
96a621efad Add batch dumping apps to ipa as "Dump All Apps as IPA" 2025-06-29 11:38:58 +08:00
LukeeGD
910ec048fa An update 2025-06-29 08:54:21 +08:00
LukeeGD
461abb078e another fix
thanks gnu tar for breaking, lol
2025-06-25 15:39:16 +08:00
LukeeGD
b00ee46a44 Fix some things 2025-06-25 09:42:03 +08:00
LukeeGD
cff0c08340 Some changes
- dont use --no-rsep for i 16.x restores
- dont do alloc8 install if restore fails/errors out
- update ipwndfu. do not usb reset on execute on intel macs

some changes for #773
2025-06-25 01:10:31 +08:00
LukeeGD
a6db8e6c3b update ipwndfu and fr dev and fixes
- revert ipwndfu pyusb while keeping libusb1 fixes (hopefully helps #773)
- update futurerestore dev to latest (hopefully helps #772)
- change (( device_det >= 10 )) to [[ $device_det == 10 ]]; the mitigations and use cases that have this condition are only applicable to ios 10
2025-06-24 11:21:56 +08:00
Ricky Cheung
fe18095175 Add support for dumping apps (#770)
* Initial support for dumping apps

Use Clutch to achieve app dumping, the general procedure is as follows:
* Send Clutch binary to the device
* Execute Clutch binary for app dumping
* Retrieve from device
* Cleanup IPA on device

Currently, three versions of Clutch will be needed.
* resources/clutch/clutch -> iOS 8+
* resources/clutch/clutch204 -> iOS 6 - 7
* resources/clutch/clutch13 -> iOS 5

* Ask for confirmation before deleting on-device dumped IPAs

* Add selection menu listing all user apps for dumping

Also, include it all inside a while true loop, so the user can dump
more than one app at once.

* Add note on time required for app dumps

* Enable usage for Clutch on 12.0.x only

iOS 12.1 introduced new code signature things that this version of
Clutch will not support.

* Update Clutch 2.0.4 (for iOS 6 - 7)

Repo: https://github.com/rcky844/Clutch.git (branch: ios6)

Updated binary contains backported changes to a version compatible
with Xcode 7.2 so we get iOS 6 support. This also causes it to exit
properly if it got stuck.

* Add ipainstaller for dumping apps

ipainstaller repo: https://github.com/rcky844/ipainstaller.git

Retain Clutch as an option for supported iOS versions, while expand
the supported versions to iOS 4.0+ with ipainstaller.

Update the dumping system to always copy dumped IPAs from /tmp.

* Apply entitlements to app dump binaries

* Change name of output IPA

Format: [CFBundleDisplayName/CFBundleExecutable] [CFBundleShortVersionString].ipa

---------

Co-authored-by: Ricky Cheung <rcheung844@gmail.com>
2025-06-24 09:57:12 +08:00
LukeeGD
229f85da7a Add warning for cases like #772 2025-06-24 09:47:47 +08:00
LukeeGD
688129cc9a Fix #771 2025-06-22 19:47:41 +08:00
Ricky Cheung
efc93520ec Unify $device_det variables (#769)
We can ask `cut` to provide us with the value before a delimiter
so we can obtain the current major version.

The original implemention will become a bad idea as Apple starts
shifting to using years as major versions, confusing the tool
into thinking it might be running very legacy iOS versions.

This also fixes issues with saving onboard SHSH for 64-bit devices
on versions before 10.x.

Co-authored-by: Ricky Cheung <rcheung844@gmail.com>
2025-06-21 16:27:38 +08:00
LukeeGD
1eb1ca0a48 Fix device_latest_vers/build issue
in hindsight i shouldve seen this
2025-06-19 18:07:53 +08:00
LukeeGD
464f76ffa9 Some updates for restoring to latest ios for 64-bit devices (linux only) 2025-06-19 12:39:37 +08:00
LukeeGD
943a2bcc22 Revert PlistBuddy update
This (partially) reverts commit 1e407522c7.
2025-06-18 12:23:46 +08:00
LukeeGD
e8eb4d6f0c Fix ipwnder32 libusb usage for a6 linux 2025-06-18 09:01:42 +08:00
LukeeGD
955f22c46a Update ipwndfu again to use latest pyusb, and other changes
- ipwndfu pyusb update doesnt really change much, but the bug fixes are good ig
- launching on macos lower than 10.11 is now an error again. 10.11 is the lowest, and support will never go any lower bc of libressl
- remove build-essential from apt install
- update primepwn to return 1 when send data for unpacked ibss fails (macos x86_64 bin is not updated yet since i dont have my intel mac with me rn)
2025-06-17 20:30:17 +08:00
LukeeGD
b864704fa2 Update ipwndfu to fix libusb error on linux 2025-06-17 07:26:15 +08:00
LukeeGD
75e4ba2215 apply appledb url fix on getting sha1 too
and other fixes
2025-06-16 22:42:18 +08:00
LukeeGD
1d622911ed Save cryptex apticket and seed when dumping blobs for iOS 16+
also add to name list macos taho
2025-06-16 15:07:29 +08:00
LukeeGD
d2bf546622 move a6 send unpacked ibss within pwnd check 2025-06-14 18:42:30 +08:00