Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get ActivationSessionInfo from mobileactivation #42

Open
i-leik-kats opened this issue Dec 22, 2019 · 5 comments
Open

Failed to get ActivationSessionInfo from mobileactivation #42

i-leik-kats opened this issue Dec 22, 2019 · 5 comments

Comments

@i-leik-kats
Copy link

i-leik-kats commented Dec 22, 2019

Trying to activate my iphone X, but it is throwing this error : Failed to get ActivationSessionInfo from mobileactivation.

Here is debug output : https://pastebin.com/MCmkXaDh
And here is the output from ideviceinfo:

ActivationState: Unactivated
BasebandActivationTicketVersion: V2
BasebandCertId: 2315222105
BasebandChipID: 241889
BasebandKeyHashInformation:
AKeyStatus: 2
SKeyHash: u+/tcCwvaQ+1Y9t40I4yegCEmB28mALlaROhaIVGBWo=
SKeyStatus: 0
BasebandMasterKeyHash: 8CB15EE4C8002199070D9500BB8FB183B02713A5CA2A6B92DB5E75CE15536182
BasebandRegionSKU: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
BasebandSerialNumber: 4EevMA==
BasebandStatus: BBInfoAvailable
BasebandVersion: 5.30.01
BluetoothAddress: 1c:36:bb:e2:ad:64
BoardId: 6
BrickState: true
BuildVersion: 17C54
CPUArchitecture: arm64
CarrierBundleInfoArray[1]:
0:
CFBundleIdentifier: com.apple.Vodafone_nz
CFBundleVersion: 40.0
GID1: ff
GID2: ff
IntegratedCircuitCardIdentity: 8964011511035076860
InternationalMobileSubscriberIdentity: 530011107507686
MCC: 530
MNC: 01
MobileEquipmentIdentifier: 35305309411903
SIMGID1: /w==
SIMGID2: /w==
Slot: kOne
kCTPostponementInfoAvailable: DefaultCarrierInfo
CertID: 2315222105
ChipID: 32789
ChipSerialNo: 4EevMA==
DeviceClass: iPhone
DeviceColor: 1
DeviceName: iPhone
DieID: 3436425211559982
EthernetAddress: 1c:36:bb:e2:ad:65
FirmwareVersion: iBoot-5540.60.11
FusingStatus: 3
GID1: ff
GID2: ff
HardwareModel: D22AP
HardwarePlatform: t8015
HasSiDP: true
HostAttached: true
IntegratedCircuitCardIdentity: 8964011511035076860
InternationalMobileEquipmentIdentity: 353053094119031
InternationalMobileSubscriberIdentity: 530011107507686
InternationalMobileSubscriberIdentityOverride: false
MLBSerialNumber: F3Y74730BPTJ3QLA
MobileEquipmentIdentifier: 35305309411903
MobileSubscriberCountryCode: 530
MobileSubscriberNetworkCode: 01
ModelNumber: MQA52
NonVolatileRAM:
auto-boot: dHJ1ZQ==
backlight-level: NzQw
boot-args:
bootdelay: MA==
com.apple.System.tz0-size: MHhCRTAwMDAw
oblit-begins: T2JsaXRUeXBlOiBPYmxpdGVyYXRlRGF0YVBhcnRpdGlvbi4gUmVhc29uOiB1bmtub3du
obliteration: aGFuZGxlX21lc3NhZ2U6IE9ibGl0ZXJhdGlvbiBDb21wbGV0ZQo=
usbcfwflasherResult: Tm8gZXJyb3Jz
PRIVersion_Major: 0
PRIVersion_Minor: 1
PRIVersion_ReleaseNo: 162
PartitionType: GUID_partition_scheme
PasswordProtected: false
PkHash: if98WU1oTt+jcaZlvUC9AOG/rlbJxZpIN+cg7Rv1bCY=
ProductName: iPhone OS
ProductType: iPhone10,3
ProductVersion: 13.3
ProductionSOC: true
ProtocolVersion: 2
ProximitySensorCalibration: f3oABTIAHgCPMZZBu7blQQAAyEInkWZBlfLMQQAAFkMnkWZBlfLMQQAAFkPErhhDdu+BwdZ70EQyeNBEtvbQRKXu0ES9H1FBymlPQelWbUEioIVBAAAgQs5BQENS67dBAABIQtcOI0SBhiJEO8geRvGzo0NApOkfASAYEliqwEU8keVDaF5aRQIAAAAAAABH
RegionInfo: X/A
SIMGID1: /w==
SIMGID2: /w==
SIMStatus: kCTSIMSupportSIMStatusReady
SIMTrayStatus: kCTSIMSupportSIMTrayInsertedWithSIM
SerialNumber: F2LVW7X1JCLF
SoftwareBehavior: AQAAAAAAAAAAAAAAAAAAAA==
SoftwareBundleVersion:
SupportedDeviceFamilies[1]:
0: 1
TelephonyCapability: true
TimeIntervalSince1970: 1576978945.772028
TimeZone: Pacific/Auckland
TimeZoneOffsetFromUTC: 46800.000000
TrustedHostAttached: true
UniqueChipID: 3436425211559982
UniqueDeviceID: 7bb2091d4c6c1b365a18442e5014269a7bc021ee
UntrustedHostBUID: 3D6EAC27-DB02-446A-8866-26B884BA31B2
UseRaptorCerts: true
Uses24HourClock: false
WiFiAddress: 1c:36:bb:e2:ad:63
WirelessBoardSerialNumber: F00DB861EA
kCTPostponementInfoPRIVersion: 0.1.162
kCTPostponementInfoPRLName: 0
kCTPostponementInfoServiceProvisioningState: false
kCTPostponementStatus: kCTPostponementStatusReady

Any help will be greatly appreciated. Thanks in advance!

@lorrod
Copy link

lorrod commented Oct 14, 2020

Have the same problem, did you solve that?

@jonathandata1
Copy link

git clone https://github.com/openssl/openssl.git && cd openssl && ./config && make && sudo make install

@Danito360
Copy link

Any way to solve it?

@nikias
Copy link
Member

nikias commented Nov 30, 2023

Only way to find out what's going on on the device side is starting idevicesyslog (or idevicesyslog > log.txt to write it to a file called log.txt), and see why the CreateTunnel1SessionInfoRequest doesn't succeed. Upload the output of idevicesyslog here or elsewhere.

@Kreyren
Copy link

Kreyren commented May 11, 2024

Only way to find out what's going on on the device side is starting idevicesyslog (or idevicesyslog > log.txt to write it to a file called log.txt), and see why the CreateTunnel1SessionInfoRequest doesn't succeed. Upload the output of idevicesyslog here or elsewhere. -- @nikias (#42 (comment))

image

Trying to activate iPhone 12 Mini

Relevant: https://git.dotya.ml/kreyren/kreyren/issues/80 (Tracking to get Linux on the device)
Relevant: NixOS/nixpkgs#310787 (Packaging request for libimobileactivation in NixOS)

Compiled manually using

nix-shell -p libtool automake autoconf libimobiledevice libplist curl libxml2 pkg-config openssl --run "{./autogen.sh && make ;} | tee -a build.log"

build log: https://gist.githubusercontent.com/Kreyren/42a0a834aa6e9382d7d68930b808ef31/raw/1a275b9272eeb200bbf83040cbe9fc9308b4a4ec/gistfile1.txt

Syslog https://gist.githubusercontent.com/Kreyren/f29319c626f8fb0d269538dcb425f65b/raw/a83eb9b211e08e2b27811a2394af8c3c80bed322/gistfile1.txt captured via:

$ idevicesyslog > log.txt & ./tools/ideviceactivation activate --debug && sleep 3; pkill idevicesyslog
[2] 127400
Failed to get ActivationSessionInfo from mobileactivation

Exiting...

5 sec pre-after syslog (https://gist.githubusercontent.com/Kreyren/b0fcbda15efa4a10bf56066baa6d21da/raw/f825436dee0e98672eb03f06537b70c15e8669d3/gistfile1.txt captured via:

idevicesyslog > log.txt & sleep 5 && ./tools/ideviceactivation activate --debug && sleep 5; pkill idevicesyslog
[1] 133059
Failed to get ActivationSessionInfo from mobileactivation

Exiting...

For reproducibility:

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.7-xanmod2, NixOS, 23.11 (Tapir), 23.11.20240502.383ffe0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - channels(raptor): `"home-manager-23.05.tar.gz, nixpkgs-23.05, nixpkgs-unstable-23.05"`
 - nixpkgs: `/home/kreyren/.nix-defexpr/channels/nixpkgs`

Via Kreyren/nixos-config@4d8309e +

image

Reproductive environment should be achievable through:

$ nix shell 'github:Kreyren/nixos-config/4d8309ebb1eacfab3c55947c34182f73ae008fd1#devShells.x86_64-linux.default'

and following the build steps above.

Using commit 6925d58 of the package

Additional info:

$ ideviceinfo
ActivationState: Unactivated
BasebandKeyHashInformation: AKeyStatus: 2
 SKeyStatus: 2
BasebandRegionSKU: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
BasebandStatus: BBNotReady
BasebandVersion:
BluetoothAddress: a8:81:7e:61:48:3e
BoardId: 10
BootSessionID: REDACTED
BrickState: true
BuildVersion: 21E219
CPUArchitecture: arm64e
CarrierBundleInfoArray[0]:
ChipID: REDACTED
DeviceClass: iPhone
DeviceColor: 1
DeviceName: iPhone
DieID: REDACTED
EthernetAddress: a8:81:7e:5c:01:02
FirmwareVersion: iBoot-10151.102.2
HardwareModel: D52gAP
HardwarePlatform: t8101
HasSiDP: true
HostAttached: true
HumanReadableProductVersionString: 17.4
MLBSerialNumber: REDACTED
MobileSubscriberCountryCode:
MobileSubscriberNetworkCode:
ModelNumber: MGDX3
NonVolatileRAM: StartupMute: MQ==
 auto-boot: dHJ1ZQ==
 backlight-level: NTk4
 backlight-nits: MHgwMDUwMDAwMA==
 boot-args:
 bootdelay: MA==
 fm-spstatus: WUVT
 ota-controllerVersion: U1VTLTIuMA==
 usbcfwflasherResult: Tm8gZXJyb3Jz
PairRecordProtectionClass: 4
PartitionType: GUID_partition_scheme
PasswordProtected: false
ProductName: iPhone OS
ProductType: iPhone13,1
ProductVersion: 17.4
ProductionSOC: true
ProtocolVersion: 2
ProximitySensorCalibration: f3oABTIAHgCCW2xBdk5YQgAAyEK2DTJBekN0QgAAFkO2DTJBekN0QgAAFkNJWZJCJmkrv6ip2EQ/idhEx6jYRPlX2ESBQONBL/7fQdsL20GfXuNBAAAgQsAZQ0NtaxpCAABIQklZB0Qx+wZEyPQJRiY9lUPwAblfASMYEoqdoUUCUMpDKvhhRQIAAAAAAAB7
RegionInfo: KH/A
SIMStatus: kCTSIMSupportSIMStatusNotReady
SIMTrayStatus: kCTSIMSupportSIMTrayStatusUnknown
SerialNumber: REDACTED
SoftwareBehavior: HQIAAAAAAAAAAAAAAAAAAA==
SoftwareBundleVersion:
SupportedDeviceFamilies[1]:
 0: 1
TelephonyCapability: true
TimeIntervalSince1970: 1710928664.REDACTED
TimeZone: Europe/Prague
TimeZoneOffsetFromUTC: 3600
TrustedHostAttached: true
UniqueChipID: REDACTED
UniqueDeviceID: REDACTED
UseRaptorCerts: true
Uses24HourClock: false
WiFiAddress: a8:81:7e:67:REDACTED:REDACTED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants