Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jah76de
Old
(Last edited by jah76de; 21st September 2011 at 06:33 AM.) Reason: meant to say I can't boot into recovery
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Mar 2011
Default [Q] Problems booting into recovery

I am pretty sure I have followed the directions for installing CWD correctly but I cannot boot into recovery from "Power Off" state. This is a cut-and-paste of my ADB session. Everything looks OK right?

Thanks for any help.

Code:
# dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096
2560+0 records in
2560+0 records out
10485760 bytes transferred in 1.391 secs (7538289 bytes/sec)
# dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
1238+1 records in
1238+1 records out
5070963 bytes transferred in 0.509 secs (9962599 bytes/sec)
# rm /data/recovery.img
rm /data/recovery.img
# reboot
reboot
 
CallMeAria
Old
#2  
CallMeAria's Avatar
Senior Member
Thanks Meter 257
Posts: 1,406
Join Date: Aug 2010
Location: Murrieta, CA

 
DONATE TO ME
You did power+volume down+3D til vibrate then release power and hold volume down+3d til recovery right?

Sent from my LG-P925 using Tapatalk
___________________________________
HTC Aria --CM7-- retired as mp3 player
Samsung Captivate --CM7-- to the wifey
LG Thrill 4G --ThrillSeeker 2.2 -- Retired
Samsung Galaxy SII --CM9-- Current
 
jah76de
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Mar 2011
Quote:
Originally Posted by CallMeAria View Post
You did power+volume down+3D til vibrate then release power and hold volume down+3d til recovery right?

Sent from my LG-P925 using Tapatalk
I did the power+downvolume+3D multiple times. And then it finally worked AFTER I unplugged my phone from my laptop(it was low on battery and I didn't want to have it power off in the middle of flashing).

Thanks for your help!
 
powers.jereme
Old
#4  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Sep 2011
Default Cant flash ClockworkMod Recovery

When i type the dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash over the clockworkmod, into my command promt it says 'cannot open for read: No such file or directory' and i dont know what im doing wrong.

I mean everything else seemed to workout fine. i downloaded the recovery image it said to save it but it was already saved to my computer after i downloaded it so i dont know if this could be the problem.

Then i used the adb push recovery.img/data command to push the recovery image to my phone, i think this might be where i messed up. After i put in the command a long list of text pops up on the command prompt. It starts out showing 'Android Debug Bridge version 1.0.26' then is followed by a long list of adb commands. Idk know if this is what its supposed to show.

Next i did the adb shell, su, dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096 command and that worked fine it said 2560+0 records out, 2560+0 records in 10485760 bites transfered in 0.413 secs and i actually found that file on my sdcard. So i think i did that right.

Next i tried to use the command 'dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096' and like i said earlier it just says 'cannot open for read: No such file or directory'

Lastly i tried the rm /data/recovery.img command and it said rm failed for /data/recovery.img, No such file or directory in the command prompt.

Im sorry i am new at this but i thought i followed the directions perfectly and any help anyone could give me would be greatly appreciated.
 
Rabidaries
Old
#5  
Senior Member
Thanks Meter 11
Posts: 370
Join Date: May 2011
Quote:
Originally Posted by powers.jereme View Post
When i type the dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash over the clockworkmod, into my command promt it says 'cannot open for read: No such file or directory' and i dont know what im doing wrong.

I mean everything else seemed to workout fine. i downloaded the recovery image it said to save it but it was already saved to my computer after i downloaded it so i dont know if this could be the problem.

Then i used the adb push recovery.img/data command to push the recovery image to my phone, i think this might be where i messed up. After i put in the command a long list of text pops up on the command prompt. It starts out showing 'Android Debug Bridge version 1.0.26' then is followed by a long list of adb commands. Idk know if this is what its supposed to show.

Next i did the adb shell, su, dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096 command and that worked fine it said 2560+0 records out, 2560+0 records in 10485760 bites transfered in 0.413 secs and i actually found that file on my sdcard. So i think i did that right.

Next i tried to use the command 'dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096' and like i said earlier it just says 'cannot open for read: No such file or directory'

Lastly i tried the rm /data/recovery.img command and it said rm failed for /data/recovery.img, No such file or directory in the command prompt.

Im sorry i am new at this but i thought i followed the directions perfectly and any help anyone could give me would be greatly appreciated.
I did this the exact same way and got the directory not found or no such directory. I have the recover.img file but when I type in dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash it just doesn't work. What am I doing wrong or where do I need to put the recovery.img after downloading?
 
dcmcc99
Old
#6  
dcmcc99's Avatar
Senior Member
Thanks Meter 22
Posts: 132
Join Date: Dec 2010
Location: Gardnerville, NV
Quote:
Originally Posted by Rabidaries View Post
I did this the exact same way and got the directory not found or no such directory. I have the recover.img file but when I type in dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash it just doesn't work. What am I doing wrong or where do I need to put the recovery.img after downloading?
Recovery.img needs to be in
/sdcard

Sent from my LG-P925 using XDA App
 
Urabewe
Old
#7  
Urabewe's Avatar
Senior Member
Thanks Meter 136
Posts: 568
Join Date: Oct 2010
Quote:
Originally Posted by Rabidaries View Post
I did this the exact same way and got the directory not found or no such directory. I have the recover.img file but when I type in dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash it just doesn't work. What am I doing wrong or where do I need to put the recovery.img after downloading?
http://forum.xda-developers.com/show....php?t=1363132

Go there and follow those directions they are the easiest way to install cwm. Good luck
Slowly working my way back into the scene.
 
bervikje
Old
(Last edited by bervikje; 17th January 2012 at 04:30 AM.)
#8  
Member
Thanks Meter 3
Posts: 44
Join Date: Dec 2011
I'm getting an error message that says cannot open for read: No such file or directory. I've already download the recovery.img and followed the steps from here http://forum.xda-developers.com/show....php?t=1363132

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more