libimobiledevice / libideviceactivation

A library to handle the activation process of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
286 stars 131 forks source link

Failed to activate device with record #7

Closed florindmtr closed 9 years ago

florindmtr commented 9 years ago

Hi, Can anyone help me with this error: Failed to activate device with record Maybe @nasreddine27 you got past this and can give me some advice? Thanks a lot!

florindmtr commented 9 years ago

I have cloned the repos from libimobiledevice folder, so it means I should have the latest versions, but I still get these errors: idevice_activation_request_new_from_lockdownd: Unable to get IMEI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get MEID from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get IMSI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get ICCID from lockdownd

nasreddine27 commented 9 years ago

hi nastratin, sorry for the late reply can you tell me what os you are using and version of libimibiledevice and usbmuxd ,and plz try to tape ideviceinfo take a look here https://github.com/libimobiledevice/libideviceactivation/issues/4

florindmtr commented 9 years ago

Hi @nasreddine27

I have installed libimobiledevice 1.2.0 and usbmuxd 1.1.1 on Ubuntu Gnome 14.04.1 ideviceinfo works and shows me all the info for iPhone 5, but I get those errors when using ideviceactivate: idevice_activation_request_new_from_lockdownd: Unable to get IMEI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get MEID from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get IMSI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get ICCID from lockdownd

Many thanks!

nasreddine27 commented 9 years ago

Hi @nastratin did you put a sim card in the phone?

florindmtr commented 9 years ago

@nasreddine27 Yes, I have tried also with an iPad mini wifi and same result.

florindmtr commented 9 years ago

I have reinstalled Ubuntu and now I get "Could not connect to lockdownd, error code -2" when trying ideviceinfo. Any ideas?

nasreddine27 commented 9 years ago

hi unplug your idevice and tape "sudo usbmuxd -vv -f output" and replug your idevice and try ideviceinfo

florindmtr commented 9 years ago

Now I get these lines (using libimobiledevice 1.2.0 and usbmuxd 1.1.1): idevice_activation_request_new_from_lockdownd: Unable to get IMEI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get MEID from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get IMSI from lockdownd idevice_activation_request_new_from_lockdownd: Unable to get ICCID from lockdownd Failed to activate device with record.

Many thanks!

FunkyM commented 9 years ago

If ideviceinfo works your device is activated. This is not a bug, just warning messages that you can ignore if you device activate. For iPhones, you obviously require a SIM card inserted to activate. Anyways, removed the message in git HEAD as it only causes misunderstandings.

daniel-bluesea commented 7 years ago

hi @FunkyM, sorry to bother you again with this issue, but recently the ideviceactivation stop working so i updated my libimobiledevice & libideviceactivation according to @nikias instruction but the ideviceactivation is still failing to activate with the repeating error: "Failed to activate device with record."

i'm attaching the debug info for this action: activation_debug_info.txt

thanks

daniel-bluesea commented 7 years ago

btw, it seems to stop working recently, no matter ios version. did apple change something in their activation service?