Hey, I'm in recovery mode right now and is it normal to have the error:
E: Can't open /cache/recovery/command?
Should I Wipe cache partition?
crax0r said:
Hey, I'm in recovery mode right now and is it normal to have the error:
E: Can't open /cache/recovery/command?
Should I Wipe cache partition?
Click to expand...
Click to collapse
If you are manually starting one of the HTC recovery boots with a keyboard sequence, that is a normal error message.
Have you rooted yet?
[Edit] wait - if you can wipe, you are rooted. Hmmmm.
bftb0 said:
If you are manually starting one of the HTC recovery boots with a keyboard sequence, that is a normal error message.
Have you rooted yet?
[Edit] wait - if you can wipe, you are rooted. Hmmmm.
Click to expand...
Click to collapse
Recovery gives me an option to wipe my cache and I'm certainly not rooted.
lifyre said:
Recovery gives me an option to wipe my cache and I'm certainly not rooted.
Click to expand...
Click to collapse
Whoops, you are right. That makes more sense, too - I recall seeing that error message (E: Can't open /cache/recovery/command) only on the stock HTC recovery boot - not in Amon_RA. (Amon_RA does use that file, BTW, but it's "recovery" executable is different from what is in the HTC recovery boot).
bftb0
Related
How to use fastboot:
Setting up fastboot for Windows -XDA wiki
Installing a recovery - XDA wiki
Click to expand...
Click to collapse
Requirements:
Ability to enter fastboot mode
Basic understanding of the command line
Click to expand...
Click to collapse
Install instructions:
Download Clockwork mod recovery.img
Turn device off
Move ringer to UP position
Hold down Power and Volume Down
Flash the recovery with "fastboot flash recovery <path to recovery.img>"
Click to expand...
Click to collapse
What works:
Nandroid
Factory resetting
Clearing caches
Update zip flashing
USB mounting
Click to expand...
Click to collapse
Notice:
What to do if your nandroid freezes at /cache, /data, /datadata:
Flash update-CWMfixer-1.zip as an update zip and try again.
OR: Factory reset and manually restore data (Not recommended)
Notes about sd-ext:
If you get the error message while nandroid: "sd-ext.img not found. Skipping restore of /sd-ext." This is normal, as sd-ext is an optional partition.
If you get the error message while formatting: "E: format_volume: make_ext4fs failed on /dev/block/mmcblk0p2", same as above
Click to expand...
Click to collapse
Controls:
Vol Up: Scroll up
Vol Down: Scroll down
Camera: Select item
Back: Go back
Click to expand...
Click to collapse
Changelog:
Sep 09 2012: Updated to 6.0.1.2
Aug 21 2012: Added workaround for nandroid issues
Aug 07 2012: Updated to 6.0.1.1
Jul 21 2012: Updated to 6.0.1.0 - Updated instructions
Jul 20 2012: Updated to 6.0.0.9
Jul 18 2012: Updated to 6.0.0.6
Jul 17 2012: Updated to 6.0.0.1
Jan 1 2012: Initial release
Click to expand...
Click to collapse
2char
thanx a ton....its a big step towards venue android development
some question i have...
is mounting of data, cache working and wiping data cache etc and the advance feature like partion sd card etc working ?
how to boot into cwm? i flashed it through fastboot but cant boot in this cwm...
whats the procedure? i tried mute+vol up+vol dwn+power and mute+vol dwn
edit: got it
kakagi said:
how to boot into cwm? i flashed it through fastboot but cant boot in this cwm...
whats the procedure? i tried mute+vol up+vol dwn+power and mute+vol dwn
edit: got it
Click to expand...
Click to collapse
How did you do it?
You switch mute to OFF hold both volume buttons down and power on. You will see a menu with 3 options, choose the one to upgrage SW package and choose with the camera button.
streak4m3 said:
You switch mute to OFF hold both volume buttons down and power on. You will see a menu with 3 options, choose the one to upgrage SW package and choose with the camera button.
Click to expand...
Click to collapse
That did the trick, thanks! I was expecting the stock menu to be replaced, not for CWM to become a submenu.
Cool. Glad to help
For those on ROMs that do not have the stock recovery available - will we be able to extract the recovery somehow now that we have CWM if we need/want to go back to stock?
Edit: I see that the zip file for my BB (307) from this thread contains the recovery.img. Can that recovery.img be flashed with fastboot to revert to the stock recovery?
Yes, I am pretty sure stock recovery image file will revert you to stock (with the appropriate .pkg file if available).
streak4m3 said:
Yes, I am pretty sure stock recovery image file will revert you to stock (with the appropriate .pkg file).
Click to expand...
Click to collapse
My question is will that recovery.img, extracted from the zip, work with fastboot? This would be used if there is a problem with the Venue (mine is still under warranty).
There is no .pkg file for the 307 ROM that I am aware of.
marvin02 said:
My question is will that recovery.img, extracted from the zip, work with fastboot? This would be used if there is a problem with the Venue (mine is still under warranty).
There is no .pkg file for the 307 ROM that I am aware of.
Click to expand...
Click to collapse
I see, sorry I misunderstood the question. I have flashed the .img files for 307 from the zip file via fastboot before and it worked fine.
The recs in the stock image thread are the actual recoveries for that rom.
Those were all dumped manually, this is the first of any custom recovery that i've made available, publicly or privately
I have installed this and am playing with it.
I can say that not even a battery pull will stop the factory reset from the first screen if you choose it by accident and there is no prompt to continue. You can probably figure out how I know this.
I did get this error:
E: unknown volume for path [/sd-ext]
When selecting to wipe dalvik cache.
And when viewing the log I got a bunch of lines that said:
failed to open /sys/class/android_usb/android0/state: No such file or directory
I did a wipe data/factory reset from the first CWM screen. My Venue booted fine afterwards. The output is attached below.
Tested with no apparent ill effects:
first CWM screen:
wipe data/factory reset
wipe cache partition
advanced screen:
wipe Dalvik cache (see error note above)
wipe battery stats
Key Test
Show Log
Fix permissions (takes a bit, be patient)
Reboot recovery just does a normal reboot unless you hold both volume buttons.
Doing a factory reset from the first screen did not remove CWM and did not remove root.
Problem: Backup and restore sat on "Backing up data..." for quite a while. The first time I did a battery pull after a few minutes and tried again. The second time I let it sit for about 12 minutes and it never moved off of "Backing up data...". What should happen when it completes a nandroid? Does it take longer than this?
marvin02 said:
I did get this error:
E: unknown volume for path [/sd-ext]
When selecting to wipe dalvik cache.
Problem: Backup and restore sat on "Backing up data..." for quite a while. The first time I did a battery pull after a few minutes and tried again. The second time I let it sit for about 12 minutes and it never moved off of "Backing up data...". What should happen when it completes a nandroid? Does it take longer than this?
Click to expand...
Click to collapse
I get the same results across the board (except factory wipe - wasn't going there). I also get the same dalvik wipe error on my Viewsonic GTab, nothing to worry about.
marvin02 said:
I did get this error:
E: unknown volume for path [/sd-ext]
Click to expand...
Click to collapse
That's a known (non)issue, sd-ext is what data2ext uses as it's partition, it's also known as perfmod on the s5. As the venue has no data2ext/perfmod it's not relevent
marvin02 said:
And when viewing the log I got a bunch of lines that said:
failed to open /sys/class/android_usb/android0/state: No such file or directory
Click to expand...
Click to collapse
that files does not exist in the venue's kernel, /dev /proc and /sys are generated at bootup by the kernel, the contents are determined by what's turned on/off in the kernel. /sys/class/android_usb simply does not exist in the kernel (I used the 408 recovery kernal btw)
The most I can do is try and surpress it, but that's only debug lines in the log, usb mounting works for me so it's not critical
marvin02 said:
Doing a factory reset from the first screen did not remove CWM and did not remove root.
Click to expand...
Click to collapse
Root always copies over /system/(x)bin/su and that cant be removed by a fac reset.
Fac reset only wipes /cache and /data
Unlike streakmod on the s5 though, you should be able to trust the fac reset in CWM5.5
marvin02 said:
Problem: Backup and restore sat on "Backing up data..." for quite a while. The first time I did a battery pull after a few minutes and tried again. The second time I let it sit for about 12 minutes and it never moved off of "Backing up data...". What should happen when it completes a nandroid? Does it take longer than this?
Click to expand...
Click to collapse
It's always safe to pull the batt during nandroid READS but never writes. What is the exact step it stops at? I've had some issue with nandroids in the unreleased 5.0.2.7 but I thought it was fixed in 5.5.0.x.
If there are any nandroid issues it's likely in CWM itself as I havnt modified CWM at all while compiling any of the CWMs
The nandroids are not perfect yet regardless, I'd recommend rooting and using titanium backup (or whatever you prefer) on top of nandroids till there's more reports of success/issues
TheManii said:
. . .What is the exact step it stops at? I've had some issue with nandroids in the unreleased 5.0.2.7 but I thought it was fixed in 5.5.0.x. . . .
Click to expand...
Click to collapse
See the attached image. It gets to "Backing up data..." and then just sits there and never completes.
Edit: the image is from the first attempt. It stopped at the same spot on two other attempts.
Does it start backing up at all or immediately stops right as it hits data?
if it's the 'lost+found' bug it should stop after hitting it hits the 'lost+found' folder and have some of the contents of data
TheManii said:
Does it start backing up at all or immediately stops right as it hits data?
if it's the 'lost+found' bug it should stop after hitting it hits the 'lost+found' folder and have some of the contents of data
Click to expand...
Click to collapse
We probably cross posted, I added an image of exactly where it stuck.
It might an issue in CWM 5.5 then
S5:
cannot back up userdata partition (/firstboot)
can back up innerSD data partition (/data)
v:
cannot back up userdata partition (/data)
They're both the partitions on the nand itself, the s5 one just happens to be smaller.
For the same reason I'm not yet releasing CWM 5.5 for the s5, a fac reset might fix it so you can make nandroids afterwards (if you restore with TB afterwards it may still continue working). It SEEMS to work for me but that would mostly defeat the purpose of nandroids.
TheManii said:
. . . a fac reset might fix it so you can make nandroids afterwards (if you restore with TB afterwards it may still continue working). . . .
Click to expand...
Click to collapse
Those first tests were immediately after a factory reset. I am sure you are aware of the work on StreakMod Recovery and might want to see what was done to fix nandroids on that. That is the one feature of CWM I would like to see as solid.
I did everything I was supposed to do, first succesfully rooted the phone. Then I put the zip file with the rom into the sd card and then went into recovery mode, installed file from zip and it said success in install so I chose to reobot and now it hangs there... Any one can help me out? I'm scared...
badaboom423 said:
I did everything I was supposed to do, first succesfully rooted the phone. Then I put the zip file with the rom into the sd card and then went into recovery mode, installed file from zip and it said success in install so I chose to reobot and now it hangs there... Any one can help me out? I'm scared...
Click to expand...
Click to collapse
A bit more details. What phone model? What were you trying to flash? Where does it hang, on the Samsung boot animation, or in the recovery?
Sent from my GT-I9100 using Tapatalk 2
Galaxy s2 international (gt 19100). It hangs on the boot logo, which now is a yin yang with ics on it, I guess this is a NEAT thing. I can go into recovery mode, it just hangs if I try to boot normally.
badaboom423 said:
Galaxy s2 international (gt 19100). It hangs on the boot logo, which now is a yin yang with ics on it, I guess this is a NEAT thing. I can go into recovery mode, it just hangs if I try to boot normally.
Click to expand...
Click to collapse
The yin yang boot logo is actually the kernel. (Siyah)
You should probably try a factory reset/wipe data from recovery. This will alleviate 90% of boot loops and stuck on boot issues.
How do I do that?
badaboom423 said:
How do I do that?
Click to expand...
Click to collapse
You just said above you can boot to recovery... Once you are in recovery mode, can you not follow the recovery menu system to find the wipe data/factory reset option? It should be pretty straightforward.
I'm not running Siyah, so I don't know what the exact menu item is called in the recovery image that is in that kernel.
I tried that but it still does the same thing... any other tips?
badaboom423 said:
I tried that but it still does the same thing... any other tips?
Click to expand...
Click to collapse
Actually, let's take a couple steps back.
What model phone do you have? It's printed on the label under your battery.
it says model GT-i9100
ssn i9100GSMH
badaboom423 said:
it says model GT-i9100
ssn i9100GSMH
Click to expand...
Click to collapse
Ok. Are you SURE you're doing a wipe data/factory reset when in recovery? If so, then I'd flash a stock firmware, full wipe again, then try the Neat ROM install again.
ctomgee said:
Ok. Are you SURE you're doing a wipe data/factory reset when in recovery? If so, then I'd flash a stock firmware, full wipe again, then try the Neat ROM install again.
Click to expand...
Click to collapse
Well I'm going into recovery mode and clicking on the option that says wipe data/ factory reset... How would I install the stock firmware if I can't get past the boot screen?
What recovery u using ? CWM ?
Sent from my GT-I9100 using xda app-developers app
CWMR Touch v5.5.0.4
badaboom423 said:
Well I'm going into recovery mode and clicking on the option that says wipe data/ factory reset... How would I install the stock firmware if I can't get past the boot screen?
Click to expand...
Click to collapse
Find all you need to know here.
As an easy rule before installing any new ROM (that isn't an upgrade from a previous version ex. Cm10 builds or if otherwise stated ) wipe data , cache and dalvik cache , which is under advanced
badaboom423 said:
Well I'm going into recovery mode and clicking on the option that says wipe data/ factory reset... How would I install the stock firmware if I can't get past the boot screen?
Click to expand...
Click to collapse
Try
Go to recovery
wipe data
wipe cache
advanced/wipe dalvik cache
go back
mounts and storage
format system
format data
format cache
go back
install rom
I have a DNA and while trying to restore to a previous backup I made in an attempt to restore to a stock rom, I ended up wiping my system from TWRP's wipe screen. Now i'm stuck in a boot loop and despite adb pushing a rom over to try to flash and recover to it, I'm pretty sure all of my files are gone and i'm screwed. Help?
dscuevas said:
I have a DNA and while trying to restore to a previous backup I made in an attempt to restore to a stock rom, I ended up wiping my system from TWRP's wipe screen. Now i'm stuck in a boot loop and despite adb pushing a rom over to try to flash and recover to it, I'm pretty sure all of my files are gone and i'm screwed. Help?
Click to expand...
Click to collapse
You should still be able to get into the bootloader by holding volume down and power or by adb reboot recovery. Then just adb push the rom to somewhere like /data(just because I know it exists) and flash the rom.
123421342 said:
You should still be able to get into the bootloader by holding volume down and power or by adb reboot recovery. Then just adb push the rom to somewhere like /data(just because I know it exists) and flash the rom.
Click to expand...
Click to collapse
I can get to TWRP's recovery screen, and push the rom to /data, but when I try to flash and install I get error messages saying it failed because it's unable to mount /storage or /data
dscuevas said:
I can get to TWRP's recovery screen, and push the rom to /data, but when I try to flash and install I get error messages saying it failed because it's unable to mount /storage or /data
Click to expand...
Click to collapse
make sure they are mounted in the twrp mount screen. You may have to do a full wipe of them too.
123421342 said:
make sure they are mounted in the twrp mount screen. You may have to do a full wipe of them too.
Click to expand...
Click to collapse
I can mount system and cache, but not data
dscuevas said:
I can mount system and cache, but not data
Click to expand...
Click to collapse
install CWM in bootloader and try it again
.torrented said:
install CWM in bootloader and try it again
Click to expand...
Click to collapse
It worked! Thank you guys so much for your help haha
Hi
false When I tried to flash rom
The flash processes stop with a error 7
I have tried both with BLACK and with RR Roms
What could be the problem?
eran66 said:
Hi
false When I tried to flash rom
The flash processes stop with a error 7
I have tried both with BLACK and with RR Roms
What could be the problem?
Click to expand...
Click to collapse
Did you make fastory reset? did you try re-download .zip files?
yes
kihope12 said:
Did you make factory reset? did you try re-download .zip files?
Click to expand...
Click to collapse
I format the memory then delete all the date and the cache
and after i tried to flesh the phone from recovery \install
Make factory reset in twrp then reboot to twrp again. After that install zip file.
storage
LEvvvEL said:
Make factory reset in twrp then reboot to twrp again. After that install zip file.
Click to expand...
Click to collapse
I tride to backup the phone i get error
"unable to mount storage"
"failed to wipe dalvik"
in mount all the 3 first option select
so what to do
eran66 said:
I tride to backup the phone i get error
"unable to mount storage"
"failed to wipe dalvik"
in mount all the 3 first option select
so what to do
Click to expand...
Click to collapse
try this
I officially unlocked the Bootloader. Using 3GB variant. On latest MIUI stable Rom. Installed TWRP latest version.
System read only option is unchecked.
Whenever I tried to perform Format Data -> Yes, i got error, "you need to reboot recovery to use /data again".. I tried to reboot to recovery and perform the same but again same error. I tried with other recoveries to, But all failed. I tried so many times, only failure..
Please someone give me solution to perform Format Data without any error/warning.
This is a warning, not an error
n0b0dy666 said:
This is a warning, not an error
Click to expand...
Click to collapse
It's not big deal.. Error or warning. Do you have solution for that or not?
Prasanth20 said:
It's not big deal.. Error or warning. Do you have solution for that or not?
Click to expand...
Click to collapse
Go to twrp.
Go to mount
uncheck box data partition
And try format.
Prasanth20 said:
It's not big deal.. Error or warning. Do you have solution for that or not?
Click to expand...
Click to collapse
I'm saying there's nothing to be fixed. After you get this message, reboot recovery and proceed with flashing ROM or whatever your goal is.