libimobiledevice / idevicerestore

Restore/upgrade firmware of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v3.0
1.33k stars 394 forks source link

Unable to connect to device in restore mode #31

Closed alagbari88 closed 7 years ago

alagbari88 commented 9 years ago

plz help me i have this error how can i fix it ? iphone 5c idevicerestore -d -e iPhone5,3_8.1.3_12B466_Restore.ipsw

ERROR: Unable to connect to device in restore mode ERROR: Unable to open device in restore mode ERROR: Unable to restore device

alagbari88 commented 9 years ago

hi there mcjoeng , plz Can you communicate with me via e-mail: alagbari88@gmail.com to help some will give you a solution , thanks

Jookyseacap commented 9 years ago

I'm having the same issue. I can trigger the device restore using the idevicerestore command, but when the unit reboots into recovery mode it can no longer communicate with the device and eventually times out to this error

ERROR: Unable to connect to device in recovery mode ERROR: Unable to enter recovery mode ERROR: Unable to place device into recovery mode from Normal mode

alagbari88 commented 9 years ago

the problem is from usbmuxd just type the usbmuxd on terminal,

2015-03-25 19:52 GMT+03:00 Jookyseacap notifications@github.com:

I'm having the same issue. I can trigger the device restore using the idevicerestore command, but when the unit reboots into recovery mode it can no longer communicate with the device and eventually times out to this error

ERROR: Unable to connect to device in recovery mode ERROR: Unable to enter recovery mode ERROR: Unable to place device into recovery mode from Normal mode

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-86119417 .

cusmire commented 9 years ago

Hello guys! I'm using libimobile on Windows. My main problem is that anytimes the iphone is in recovery or dfu mode libimobile can't find the iphone anymore. however iTunes or other utility like pangu still recognize the iPhone. Please help me out!

alagbari88 commented 9 years ago

on windows i don't use it , i use it in linux ,

2015-08-13 20:56 GMT+03:00 cusmire notifications@github.com:

Hello guys! I'm using libimobile on Windows. My main problem is that anytimes the iphone is in recovery or dfu mode libimobile can't find the iphone anymore. however iTunes or other utility like pangu still recognize the iPhone. Please help me out!

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-130780423 .

Dante130283 commented 9 years ago

used sudo usbmuxd but result is still the same: ERROR: Unable to find component node for RestoreKernelCache ERROR: Unable to get path for component 'RestoreKernelCache' ERROR: Unable to send RestoreKernelCache to device. ERROR: Unable to send KernelCache ERROR: Unable to place device into restore mode

Frustrating...

alagbari88 commented 9 years ago

can you tell me what is your version linux ? and how install it the tools ?

2015-08-18 13:22 GMT-04:00 Dante130283 notifications@github.com:

used sudo usbmuxd but result is still the same: ERROR: Unable to find component node for RestoreKernelCache ERROR: Unable to get path for component 'RestoreKernelCache' ERROR: Unable to send RestoreKernelCache to device. ERROR: Unable to send KernelCache ERROR: Unable to place device into restore mode

Frustrating...

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-132286403 .

Dante130283 commented 9 years ago

ubuntu 15.04 everything is installed correctly the problem now is that it stops while it transfers the firmware to the iphone.

by the way, i suggest that you use the following command: idevicerestore -d -e -l

alagbari88 commented 9 years ago

your command is wrong

2015-08-19 19:43 GMT+03:00 Dante130283 notifications@github.com:

ubuntu 15.04 everything is installed correctly the problem now is that it stops while it transfers the firmware to the iphone.

by the way, i suggest that you use the following command: idevicerestore -d -e -l

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-132690108 .

Dante130283 commented 9 years ago

why do you say it is wrong?

alagbari88 commented 9 years ago

this " idevicerestore -d -e -l" command is wrong . read the command help of every one what they do and send to me -d -e -l . and i will tell you .

2015-08-22 0:23 GMT+03:00 Dante130283 notifications@github.com:

why do you say it is wrong?

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-133566637 .

Dante130283 commented 9 years ago

-d debug -e erase -l install latest firmware

alagbari88 commented 9 years ago

can you waiting a few days to complete download kali, and re-install the tools again

2015-08-23 2:50 GMT+03:00 Dante130283 notifications@github.com:

-d debug -e erase -l install latest firmware

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-133766105 .

Dante130283 commented 9 years ago

Sure i will wait

alagbari88 commented 9 years ago

i completed install new kali and libimobiledevice, i have some question for you: are you root ? how install it libimobiledevice ? the real problem is with usbmuxd it is not default to connect between iphone and linux and some lib installed from other .

before get this error : ERROR: Unable to find component node for RestoreKernelCache ERROR: Unable to get path for component 'RestoreKernelCache' ERROR: Unable to send RestoreKernelCache to device. ERROR: Unable to send KernelCache ERROR: Unable to place device into restore mode

type in new termnal usbmax . and Make sure you are root . for restore command if you need to download the last ipws : idevicerestore -d -l

2015-08-26 13:19 GMT+03:00 Dante130283 notifications@github.com:

Sure i will wait

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-134935152 .

alagbari88 commented 9 years ago

usbmuxd -vv -f output

2015-08-30 8:48 GMT-04:00 Hossain Alagbari alagbari88@gmail.com:

i completed install new kali and libimobiledevice, i have some question for you: are you root ? how install it libimobiledevice ? the real problem is with usbmuxd it is not default to connect between iphone and linux and some lib installed from other .

before get this error : ERROR: Unable to find component node for RestoreKernelCache ERROR: Unable to get path for component 'RestoreKernelCache' ERROR: Unable to send RestoreKernelCache to device. ERROR: Unable to send KernelCache ERROR: Unable to place device into restore mode

type in new termnal usbmax . and Make sure you are root . for restore command if you need to download the last ipws : idevicerestore -d -l

2015-08-26 13:19 GMT+03:00 Dante130283 notifications@github.com:

Sure i will wait

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-134935152 .

alagbari88 commented 9 years ago

how install the tools from the beginning ؟

2015-09-11 4:04 GMT+03:00 arvin15 notifications@github.com:

Hello, I installed usbmxd v 1.1 but still stuck on waiting for device part... Any new development ?

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-139422408 .

DarkUD commented 9 years ago

Any luck with that issue ? I installed usbmuxd 1.1 but still no luck. I m still blocked at waiting for device

alagbari88 commented 9 years ago

i install it 50 times , to fix all error , and learn how install it step by step if you add other lib that get error

2015-09-12 3:57 GMT+03:00 DarkUD notifications@github.com:

Any luck with that issue ? I installed usbmuxd 1.1 but still no luck. I m still blocked at waiting for device

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-139693950 .

DarkUD commented 9 years ago

Then it worked for you ? o_o ?

alagbari88 commented 9 years ago

tools works fine but not baybass iclud

2015-09-12 12:21 GMT-07:00 DarkUD notifications@github.com:

Then it worked for you ? o_o ?

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-139811021 .

DarkUD commented 9 years ago

Hmmm I m still stuck to the waiting device phase tho... maybe I should reinstall everything again ... In which order did you install the tools ?

alagbari88 commented 9 years ago

latest tools from here https://github.com/libimobiledevice

2015-09-14 11:15 GMT-07:00 DarkUD notifications@github.com:

Hmmm I m still stuck to the waiting device phase tho... maybe I should reinstall everything again ... In which order did you install the tools ?

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-140164446 .

DarkUD commented 9 years ago

Okay . Will try to install from the git.I used the tar.gz provided here : http://www.libimobiledevice.org/.

EDIT : I reinstalled it with the git repository but still nothing

DarkUD commented 9 years ago

I m getting really really tired ...Tell me, which command did you use in the end for restore ? and which firmware, maybe the key of the problem is there ...

alagbari88 commented 9 years ago

no the key of problem is usbmux , and other lib use it from others source . tell step pay step how install it ?

2015-09-21 12:16 GMT+03:00 DarkUD notifications@github.com:

I m getting really really tired ...Tell me, which command did you use in the end for restore ? and which firmware, maybe the key of the problem is there ...

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-141921269 .

FunkyM commented 9 years ago

This is already way too off-topic. Please guys use some chatroom/IRC, not this issue system for communication. @alagbari88 Which OS do you use exactly? The usbmuxd daemon should be started automatically in the background. Are you able to run ideviceinfo in all situations? I think your problem is that you are not using "sudo" to start idevicerestore.

alagbari88 commented 9 years ago

for me i use kali default i am root , i don't need to use sudo , and usbmuxd not Always started automatically in the background.

2015-09-24 13:40 GMT-07:00 Martin Szulecki notifications@github.com:

This is already way too off-topic. Please guys use some chatroom/IRC, not this issue system for communication. @alagbari88 https://github.com/alagbari88 Which OS do you use exactly? The usbmuxd daemon should be started automatically in the background. Are you able to run ideviceinfo in all situations? I think your problem is that you are not using "sudo" to start idevicerestore.

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-143044679 .

toni90 commented 9 years ago

@alagbari88 hello how to compile opennssl with ssl support ??

alagbari88 commented 9 years ago

you are missing the lib

2015-10-27 11:25 GMT-04:00 toni90 notifications@github.com:

@alagbari88 https://github.com/alagbari88 hello how to compile opennssl with ssl support ??

— Reply to this email directly or view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-151539787 .

iCreamFX commented 8 years ago

I NEED HELP! I'm using the libmobiledevice on my windows 8.1 and sudo isn't a command in the terminal. 'nor is usbmuxd. I am stuck on this error and there are no solutions. I need my iPhone to have no setup.app so I can access it. Why? because no sim cards work on it. My brother tried fixing it and he is really good at technology but still no luck. Can someone please help?

Dante130283 commented 8 years ago

If you're using Windows 8.1 use Itunes

Tiago Silva

Por favor, antes de imprimir esta mensagem lembre-se que todos somos responsáveis pela preservação do Ambiente. Remember that everyone is responsible for the preservation of the environment so, please think before you print this message.

2016-07-28 3:03 GMT+00:00 iCreamFX notifications@github.com:

I NEED HELP! I'm using the libmobiledevice on my windows 8.1 and sudo isn't a command in the terminal. 'nor is usbmuxd. I am stuck on this error and there are no solutions. I need my iPhone to have no setup.app so I can access it. Why? because no sim cards work on it. My brother tried fixing it and he is really good at technology but still no luck. Can someone please help?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-235788006, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNrXjNLEiaGePdJRHGcRYd4WYGoLZafks5qaBvngaJpZM4DrLuX .

iCreamFX commented 8 years ago

@Dante130283 Why do I have to think before I "print" this message. I did absolutely nothing wrong. All I said I need help on this error as well.

Dante130283 commented 8 years ago

@iCreamFX

That is because i replied directly through my email. Who said you did something wrong?

alagbari88 commented 8 years ago

ok thanks i will watch the video

2016-08-09 7:02 GMT+03:00 Sum1n notifications@github.com:

you can use this video to fix this problem restore idevice on kali linux using libmobiledevice https://www.youtube.com/watch?v=qRin2ggBGjw

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/libimobiledevice/idevicerestore/issues/31#issuecomment-238447625, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDTOpp8EBV5V3OGFzVfcTG63_5gdyUqks5qd_vngaJpZM4DrLuX .

yogendra123456 commented 4 years ago

Hi All,

i use libmobile device library to restore the device using idevicerestore but i got the error here... device is not entering normal mode to recovery mode.... i don't getting the solution , while iTunes update the deivce firmwhere.


debug("DEBUG: Waiting for device to connect in recovery mode...\n"); cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 60000); cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 60000);//add by yogendra 18-5-2020 if (client->mode != &idevicerestore_modes[MODE_RECOVERY] || (client->flags & FLAG_QUIT)) { mutex_unlock(&client->device_event_mutex); error("ERROR: Failed to enter recovery mode\n"); return -1; }


Thanks in advanced..