LukeZGD / Legacy-iOS-Kit

An all-in-one tool to restore/downgrade, save SHSH blobs, and jailbreak legacy iOS devices
GNU General Public License v3.0
1.28k stars 117 forks source link

Problem with pulling activation records from iPhone 7 Plus on iOS15 #608

Closed nmka55 closed 1 week ago

nmka55 commented 1 week ago

Hey, I need some help, after jaiulbreaking with palera1n I want to save activation records of my sim-locked iphone 7 plus as it's been activated few years ago with ICCID method for sim-unlock.

I get following error:


 *** Legacy iOS Kit ***
 - Script by LukeZGD -

* Version: v24.11.02 (1a24981)
* Platform: macos (15.1 - arm64) 

* Device: iPhone 7 Plus (Global) (iPhone9,2 - d11ap) in Normal mode
* iOS Version: 15.8.3 (19H386)
* ECID:

 > Main Menu > Other Utilities
[Input] Select an option:
1) Enter pwnDFU Mode            6) Power Options
2) Activation Records           7) DFU Mode Helper
3) SSH Ramdisk              8) Enable Flags
4) Attempt Activation           9) (Re-)Install Dependencies
5) Pair Device             10) Go Back
#? 2
[Log] Dumping files for activation: /private/var/containers/Data/System/*/Library/activation_records
* Make sure to have OpenSSH installed on your iOS device.
* Only proceed if you have these requirements installed using Cydia/Zebra/Sileo.
* You will be prompted to enter the root/mobile password of your iOS device.
* The default password is: alpine
[Log] Running iproxy for SSH...
[Log] iproxy PID: 58269
Creating listening port 6414 for device port 22
waiting for connection
[Input] Enter the root password of your iOS device: 
[Log] Creating activation.tar
New connection for 6414->22, fd = 5
waiting for connection
Requesting connection to USB device handle 9 (serial: 41352909b0d290fea95ec7f1a8302e3ebb979cda), port 22
Warning: Permanently added '[127.0.0.1]:6414' (ED25519) to the list of known hosts.
UNIX authentication refused

New connection for 6414->22, fd = 5
waiting for connection
Requesting connection to USB device handle 9 (serial: 41352909b0d290fea95ec7f1a8302e3ebb979cda), port 22
Warning: Permanently added '[127.0.0.1]:6414' (ED25519) to the list of known hosts.
UNIX authentication refused

[Log] Copying activation.tar
New connection for 6414->22, fd = 5
waiting for connection
Requesting connection to USB device handle 9 (serial: 41352909b0d290fea95ec7f1a8302e3ebb979cda), port 22
Warning: Permanently added '[127.0.0.1]:6414' (ED25519) to the list of known hosts.
UNIX authentication refused

mv: rename activation.tar to activation-1698995259445030.tar: No such file or directory
cp: activation-1698995259445030.tar: No such file or directory
[Error] Failed to dump activation from device. Please run the script again

* Save the terminal output now if needed. (macOS: Cmd+S, Linux: Ctrl+Shift+S)
* Legacy iOS Kit v24.11.02 (1a24981)
* Platform: macos (15.1 - arm64) 
* iuiuou@-MacBook-Air Legacy-iOS-Kit_macos_v24.11.02 % 
LukeZGD commented 1 week ago

i can see why this happens: since root user is not allowed on ios 15+, only mobile

but tbh, i dont think i will be fixing this, the dump activation records option in legacy ios kit is not meant to be used in 64-bit devices, only 32-bit devices. it might be dumping insufficient/wrong files and paths for all i know for newer ios, so i think ill just disable this option to 64-bit devices in future updates.

better dump the activation records manually, you can try to refer to this guide for the paths of the activation stuff needed (see the part 2): https://gist.github.com/pixdoet/2b58cce317a3bc7158dfe10c53e3dd32

nmka55 commented 1 week ago

ok got it. Thanks