CWM Q&A - Samsung Galaxy Nexus

Hey guys, my GL is unlocked, rooted and I have installed the latest cwm trough Rom Manager.
The thing is that I can only enter in cwm if I reflash it in rom manager everytime.
Is that a normal behavior by now in the gl development or something is wrong?
should I try to flash a new boot.img via fastboot?
Thanks
Sent from my Galaxy Nexus using xda premium

I had the same issue that I posted about earlier. I could only get into CWM straight after I had flashed it. Same for doing it by fast boot. I have since flashed a rom from CWM and now it boots into it as it should do.
Hope that helps a little
Sent from my Galaxy Nexus using xda premium

lucasmine said:
Hey guys, my GL is unlocked, rooted and I have installed the latest cwm trough Rom Manager.
The thing is that I can only enter in cwm if I reflash it in rom manager everytime.
Is that a normal behavior by now in the gl development or something is wrong?
should I try to flash a new boot.img via fastboot?
Thanks
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
There is an auto recovery restore system on android Stock Roms.
Delete the 'recovery-from-boot.p' file from /system and CWM will not be overwritten after reboot.
Mark.

mskip said:
There is an auto recovery restore system on android Stock Roms.
Delete the 'recovery-from-boot.p' file from /system and CWM will not be overwritten after reboot.
Mark.
Click to expand...
Click to collapse
I'm not seeing this file in /system, /system/bin or in /system/etc on my completely stock ITL41D ROM.
Could this file only be present on the "google" ROM ITL41F ?
Seems odd they continue (think they started in Android 2.1) to use this method of reflashing a stock ROM after they allow the user to oem unlock and root ...

if you cannot find recovery-from-boot.p then try to find /system/etc/install-recovery.sh and you will see what is trying to be reflashed.
you can also check http://andwise.net/?p=292
finally you can go over your init.rc(you can also post it here) and check out what could cause this.
Btw let me know as it is interesting to know. Btw where you got your build from ?

Related

Cannot find recovery-from-boot.p

Hello. I'm not eligible to post in the development section so I'm posting it here instead. So I've unlocked the bootloader and rooted the phone via the GNex Toolkit 3.0. My next step is flashing CWM but since I'm keeping my stock rom, I need to delete recover-from-boot.p from /system.
However, I can't find this file anywhere in the /system folder. I'm using root explorer, btw. Should I just go ahead and flash CWM and not worry about the stock recovery coming back?
Thanks in advance.
gtm3nky said:
Hello. I'm not eligible to post in the development section so I'm posting it here instead. So I've unlocked the bootloader and rooted the phone via the GNex Toolkit 3.0. My next step is flashing CWM but since I'm keeping my stock rom, I need to delete recover-from-boot.p from /system.
However, I can't find this file anywhere in the /system folder. I'm using root explorer, btw. Should I just go ahead and flash CWM and not worry about the stock recovery coming back?
Thanks in advance.
Click to expand...
Click to collapse
good call posting here (question = Q&A) gsm versions don't have it
ogdobber said:
good call posting here (question = Q&A) gsm versions don't have it
Click to expand...
Click to collapse
I have same issue, cannot find recovery-from-boot.p in /system? I need to rename it or delete it because must to flash recovery image at every phone reboot... Or do you have some other solution?
vintermut said:
I have same issue, cannot find recovery-from-boot.p in /system? I need to rename it or delete it because must to flash recovery image at every phone reboot... Or do you have some other solution?
Click to expand...
Click to collapse
flash a custom rom, every custom rom has it removed(or flash a rooted stock/aosp).
Only ota puts the files there; if you flashed a factory image, then the files ain't going to be there. If they aren't there, can't delete them. Why would you want to put them there again? lol
Dump that toolkit and do it proper. Also, search/dig through q&a before posting.
Sent from my i9250
simms22 said:
flash a custom rom, every custom rom has it removed(or flash a rooted stock/aosp).
Click to expand...
Click to collapse
I have custom ROM (Minco v5). If there is no that file why I must flash recovery every time at phone reboot?
vintermut said:
I have custom ROM (Minco v5). If there is no that file why I must flash recovery every time at phone reboot?
Click to expand...
Click to collapse
clockworkmod has a new feature that gives the option to disable "recovery from boot" on the first restart from it.
however, what commands are you using to flash your recovery?
it must be
Code:
fastboot flash recovery name-of-recovery-image.img
ogdobber said:
clockworkmod has a new feature that gives the option to disable "recovery from boot" on the first restart from it.
however, what commands are you using to flash your recovery?
it must be
Code:
fastboot flash recovery name-of-recovery-image.img
Click to expand...
Click to collapse
Yes, that is the command that I use.

[Q] I have superuser installed on android 4.0.4 but I still can't get root access?

I rooted my phone at 4.0.2, then applied the update up to 4.0.4 and am still able to flash new versions of clockwork mod through rom manager... However, all my other apps won't be granted root access. In the superuser application, I'm running superuser v3.0.7(41) and my Su binary is at v3.0.3, for which there is an update available. However, when I try to apply the update, it tries to ask for root privileges and gets denied access... I tried reflashing su.zip through clockwork mod touch but I guess I may be flashing an outdated su.zip? Any insight into the matter would be greatly appreciated!
Same here
Same exact scenario, I went from 4.0.2 to 4.0.4, and even after a factory restore I cant seem to get root access for any app. I checked the bootloader, and I still am rooted.
Help appreciated for us both!
try this zip...flash in recovery
http://www.box.com/s/jvcf196j7x8f8vrc9cyt
this worked for me....
if it doesn't clear superuser data first then try it again.
ezcats said:
try this zip...flash in recovery
http://www.box.com/s/jvcf196j7x8f8vrc9cyt
this worked for me....
if it doesn't clear superuser data first then try it again.
Click to expand...
Click to collapse
CWM Recovery is not working for me, and I cant flash it due to no permission for elevated commands although its rooted.
Clockwork recovery does not require root if it is already installed. If not, fastboot clockwork recovery.
I had the same issue and all you have to do is reroot the phone and all will be well then download and install ota rootkeeper for the future. The update breaks root but doesn't block it
evanextreme said:
CWM Recovery is not working for me, and I cant flash it due to no permission for elevated commands although its rooted.
Click to expand...
Click to collapse
Flash from recovery, not an app.....
Sent from my Galaxy Nexus using xda premium
jerseyh22accord said:
I had the same issue and all you have to do is reroot the phone and all will be well then download and install ota rootkeeper for the future. The update breaks root but doesn't block it
Click to expand...
Click to collapse
This did the trick!
Had this same problem earlier
I need help
I am having the same problem. I am a noob and it sucks cause I can't figure it out. I can't even go into recovery since I installed 4.0.4 someone please dumb it down so i can understand
Install busybox free, then install titanium backup free. Open busybox and click inatall. Then run
Titanium backup, it will ask you do you want it to configure root, accept this. please note After completing busybox steps reboot. Then after titanium backup steps reboot again
Did this help?
If not pm me and il see if i can help
I can't use any of my root apps. My SU isn't working. I'm pretty sure that's causing the problem. I tried updating the binary (I read that somewhere) but the process fails. Is there a way I can do it manually?
Sent from my Galaxy Nexus using XDA
brightsideme said:
I can't use any of my root apps. My SU isn't working. I'm pretty sure that's causing the problem. I tried updating the binary (I read that somewhere) but the process fails. Is there a way I can do it manually?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Try flashing this:
http://goo.im/superuser/Superuser-3.0.7-efghi-signed.zip
Can you please explain how to flash? I don't want to mess it up lol
Sent from my Galaxy Nexus using XDA
brightsideme said:
Can you please explain how to flash? I don't want to mess it up lol
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Do you have CWM installed yet?
If not...
I'd recommend simply starting from the top and using my guide.
But if you have CWM:
Just navigate to "Install Zip From SD Card"
"Choose Zip"
And find it.
Yes to install.
I tried going to clockworkmod recovery but I just get that error. Last night I went into recovery using the cmd on my computer. I tried flashing that same file but it just failed.
Sent from my Galaxy Nexus using XDA
brightsideme said:
I tried going to clockworkmod recovery but I just get that error. Last night I went into recovery using the cmd on my computer. I tried flashing that same file but it just failed.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
boot to clockworkmod manually, than flash the superuser zip from here http://www.box.com/s/jvcf196j7x8f8vrc9cyt (this does not require busybox, that why the other su zip was failing)
I can't go to recovery from my phone. When I try I just get the Droid with a red exclamation point. I'll have to do it from a computer. Only problem is that I'm at work. I'll see if I can get to one ASAP
Sent from my Galaxy Nexus using XDA
brightsideme said:
I can't go to recovery from my phone. When I try I just get the Droid with a red exclamation point. I'll have to do it from a computer. Only problem is that I'm at work. I'll see if I can get to one ASAP
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
That is the stock recovery that you're getting to.
Use my guide.
And navigate to the part about flashing a custom (CWM) recovery and flashing SU.
The SU in my post is updated to work for all users...the one you're using won't work on 4.0.4.
Jubakuba said:
That is the stock recovery that you're getting to.
Use my guide.
And navigate to the part about flashing a custom (CWM) recovery and flashing SU.
The SU in my post is updated to work for all users...the one you're using won't work on 4.0.4.
Click to expand...
Click to collapse
but i think the su zip in ur post, only work if there is busybox installed...and the stock rom doesn't have it...
this the updater-script of ur su.zip: run_program("/sbin/busybox"...
that work only on custom roms, that usually have busybox preinstalled
check the different syntax in the other su zip posted above, it doesn't require busybox
andQlimax said:
but i think the su zip in ur post, only work if there is busybox installed...and the stock rom doesn't have it...
this the updater-script of ur su.zip: run_program("/sbin/busybox"...
that work only on custom roms, that usually have busybox preinstalled
check the different syntax in the other su zip posted above, it doesn't require busybox
Click to expand...
Click to collapse
nope, he was getting a permissions error because rom manager didn't have root access, that was the issue there.
edit: re-read the post, yes, you might be right about busybox in stock recovery, although i believe cwm has a set of minimal busybox tools.
if manually booting into recovery by shutting down the phone, pressing power+vol up until Google screen appears, doesn't take him to cwm but to stock recovery, he doesn't even have cwm installed, which could very well be the case, since stock rom default behaviour overrides any existing recovery when flashing.

Can't start ClockworkMod (URGENT)

I've installed it correctly but once i boot into recovery I just get a picture of android with a warning sign being pulled out of his stomach...
so im with factory reset phone in the middle of flashing a new rom and can't continue
I really don't know what's wrong bud you may need to use a toolkit or a program to fast boot your device back to stock. Which version of the nexus do you have?
Sent from my Galaxy Nexus using xda app-developers app
I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you update your Android build either using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick.
Click to expand...
Click to collapse
This is from Efrant's Android 101 guide: http://forum.xda-developers.com/showthread.php?t=1812959
Don't delete the files, simply rename them. If you ever want to get back to stock recovery (for instance, for an OTA to install you need it to be stock) you can simply name it back to original and reboot.
Petrovski80 said:
Don't delete the files, simply rename them. If you ever want to get back to stock recovery (for instance, for an OTA to install you need it to be stock) you can simply name it back to original and reboot.
Click to expand...
Click to collapse
or you can just flash the stock recovery with fastboot.
thank you for the super fast answers guys
i tried to rename them with astro but says that i don't have permissions for that
i'm rooted
Fking1 said:
thank you for the super fast answers guys
i tried to rename them with astro but says that i don't have permissions for that
i'm rooted
Click to expand...
Click to collapse
You have to mount /system as read/write
DynamicRam said:
You have to mount /system as read/write
Click to expand...
Click to collapse
no idea how to do that
Fking1 said:
no idea how to do that
Click to expand...
Click to collapse
Use another file explorer such as Solid Explorer. https://play.google.com/store/apps/details?id=pl.solidexplorer
This is amazing, got help within minutes and as i write this the new rom is being installed, thank you so much!

[Q] Stuck on Android Logo

Guys today I tried installing MIUI v4. I followed all the steps mentioned in the thread. I installed everything properly but my phone is stuck onthe android logo. This happened when I rebooted my phone after installing MIUI. So please tell me what is the problem. Also when I am truing to restore some type of error is cropping up. Please help.
pranjaldixit said:
Guys today I tried installing MIUI v4. I followed all the steps mentioned in the thread. I installed everything properly but my phone is stuck onthe android logo. This happened when I rebooted my phone after installing MIUI. So please tell me what is the problem. Also when I am truing to restore some type of error is cropping up. Please help.
Click to expand...
Click to collapse
Before installing make backup wipe dalvik cache , cache, do factory reset and try again .. hope it helps
Sent from my Hero using xda premium
Actually I tell the whole story now. When I was making backup of my stock ROM the sd card showed low on space. So I removed that SD card and inserted the one which came with the Phone. On that I installed all the required zip files. Then I made backup of the stock ROM and the data. After that I followed these steps mentioned here -:
http://forum.xda-developers.com/showthread.php?t=1863260
According to the steps I did not did wipe davik cache etc. after instaling the ROM I did wipe factory and data reset and wipe cache partition. After following all the steps mentioned I rebooted my phone as mentioned. But after rebooting the phone is stuck on android logo. I then again went into recovery and tried to wipe dalvik cache the confirmation page that appears before wiping anything is not coming. Also when I tried to restore my phone to the stock ROM an error message is coming. So I am not able to restore to the stock ROM. This is the whole thing. So guys please help. I hope I have not bricked my phone. Any solutions?
Thanks
As long as your phone can go to recovery mode it wasnt bricked..
May i know what recovery that you use to install the rom??
Sent from my GT-S5660 using Tapatalk 2
AiphNday said:
As long as your phone can go to recovery mode it wasnt bricked..
May i know what recovery that you use to install the rom??
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
Mate I used latest version of ClockWork Mod to install the ROM.
pranjaldixit said:
Mate I used latest version of ClockWork Mod to install the ROM.
Click to expand...
Click to collapse
What version it is??
If you are install custom rom from stock rom,its better to use px-cwmV2..
If test it,and it minimize the risk of stuck on android logo..
After that you can change the recovery to other version that you want..
Sent from my GT-S5660 using Tapatalk 2
AiphNday said:
What version it is??
If you are install custom rom from stock rom,its better to use px-cwmV2..
If test it,and it minimize the risk of stuck on android logo..
After that you can change the recovery to other version that you want..
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
I think the version is 5.0.2.7. Also when I am switching off the phone after sometime it is automatically switching on by itself. So for the time being I have removed the battery.
pranjaldixit said:
I think the version is 5.0.2.7. Also when I am switching off the phone after sometime it is automatically switching on by itself. So for the time being I have removed the battery.
Click to expand...
Click to collapse
If you use that version,use the version that can support rfs+ext4 file system..
Stock rom use rfs file system and custom rom usually use ext4 file system,so therefore you have to use recovery that support both..
Sent from my GT-S5660 using Tapatalk 2
AiphNday said:
If you use that version,use the version that can support rfs+ext4 file system..
Stock rom use rfs file system and custom rom usually use ext4 file system,so therefore you have to use recovery that support both..
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
Could you please tell me how to proceed? Because the backup of stock ROM is showing problems.
pranjaldixit said:
Could you please tell me how to proceed? Because the backup of stock ROM is showing problems.
Click to expand...
Click to collapse
I suggest that you flash your phone to stock rom again via odin..
Then change your recovery,i was preffered px-cwmV2,but i dont know is the link still alive or not..
Flash the recovery,reboot..
Then enter recovery mode again,install rom..
Sent from my GT-S5660 using Tapatalk 2
How to do flash stock ROM as the backup that I made is not working properly.
pranjaldixit said:
How to do flash stock ROM as the backup that I made is not working properly.
Click to expand...
Click to collapse
With odin,
Search ! there are allot of guide howto flash gio to stock with odin
Sent from my HTC Hero using xda app-developers app
If you have working recovery it's no use to flash stock ROM, just flash px-cwmV2 http://www.mediafire.com/file/y1xy6g2y5tpp1fg/px-cwm-v2.zip.
Then wipe all, including dalvik, flash desired ROM, wipe all again (including dalvik), and you should be good to go.
phreak_or said:
If you have working recovery it's no use to flash stock ROM, just flash px-cwmV2 http://www.mediafire.com/file/y1xy6g2y5tpp1fg/px-cwm-v2.zip.
Then wipe all, including dalvik, flash desired ROM, wipe all again (including dalvik), and you should be good to go.
Click to expand...
Click to collapse
I hope you must have read my post about the problem. I have clockwork 5.0.2.7. The backup I made is alao showing some error when I tried to restore it using CWM. So please guide how to proceed.
pranjaldixit said:
I hope you must have read my post about the problem. I have clockwork 5.0.2.7. The backup I made is alao showing some error when I tried to restore it using CWM. So please guide how to proceed.
Click to expand...
Click to collapse
I have. As i said, you could just try CWM v2.
BUT to be absolutely safe flash a stock ROM using Odin, see http://forum.xda-developers.com/showpost.php?p=20397915&postcount=3.
After u flash the stock ROM, go to default recovery, factory reset, boot the rom, shutdown.
Flash the desired version of CWM using Odin or trough recovery, and then flash the custom ROM u want.
For me CWM 5.0.2.7 ext4+ RFS couldn't wipe dalvik, nor could it mount /system. So I used cwmV2.
Good luck!
phreak_or said:
I have. As i said, you could just try CWM v2.
BUT to be absolutely safe flash a stock ROM using Odin, see http://forum.xda-developers.com/showpost.php?p=20397915&postcount=3.
After u flash the stock ROM, go to default recovery, factory reset, boot the rom, shutdown.
Flash the desired version of CWM using Odin or trough recovery, and then flash the custom ROM u want.
For me CWM 5.0.2.7 ext4+ RFS couldn't wipe dalvik, nor could it mount /system. So I used cwmV2.
Good luck!
Click to expand...
Click to collapse
Thanks a lot. So first I have to download firmware and then using odin flash it on my phone. After that I have to install clockworkmod v2 amd then install the MIUI ROM? Can the CWM be flashed through recovery?
Thanks
pranjaldixit said:
Thanks a lot. So first I have to download firmware and then using odin flash it on my phone. After that I have to install clockworkmod v2 amd then install the MIUI ROM? Can the CWM be flashed through recovery?
Thanks
Click to expand...
Click to collapse
yes
And please tell me how to install CWM v2 as I already have version 5.0.2.7 of clockwork mod installed in my phone? Pease let me know the procedure for the same.
Thanks
pranjaldixit said:
And please tell me how to install CWM v2 as I already have version 5.0.2.7 of clockwork mod installed in my phone? Pease let me know the procedure for the same.
Thanks
Click to expand...
Click to collapse
when you flash firmware with odin, it will also flash a new recovery.
just enter recovery like normally, and flash cwm-v2.zip
after its done you pull the battery out, and boot into recovery again.
now you have clockworkmod installed
voetbalremco said:
when you flash firmware with odin, it will also flash a new recovery.
just enter recovery like normally, and flash cwm-v2.zip
after its done you pull the battery out, and boot into recovery again.
now you have clockworkmod installed
Click to expand...
Click to collapse
I am not installing firmware right now. I am just wanting to install CWM v2 and try whether it is able to install MIUI successfully or not. If this one also fails then I will install the firmwares via odin. Hope you ate able to understand what I am saying. Please help.

[Q] HELP! TWRP and CWM installed at the same time!

So I did something silly a while back and I've yet to be able to fix it. When I first rooted my phone I flashed TWRP and all was well. Then a while later, forgetting that I had TWRP, I installed CWM through RomManager. So now I have two recovery partitions and I'm unsure of how to fix this issue. I would ideally like to only use CWM. Has anyone had this problem? Can someone give me some advice on how to fix it? Any and all help would be appreciated
Mattamizer said:
So I did something silly a while back and I've yet to be able to fix it. When I first rooted my phone I flashed TWRP and all was well. Then a while later, forgetting that I had TWRP, I installed CWM through RomManager. So now I have two recovery partitions and I'm unsure of how to fix this issue. I would ideally like to only use CWM. Has anyone had this problem? Can someone give me some advice on how to fix it? Any and all help would be appreciated
Click to expand...
Click to collapse
One will overwrite the other. Why do you think you have two recovery partitions ?
hednik said:
One will overwrite the other. Why do you think you have two recovery partitions ?
Click to expand...
Click to collapse
If I reboot from RomManager I get dumped into CWM, but if I reboot manually and enter recovery it's TWRP.
Mattamizer said:
If I reboot from RomManager I get dumped into CWM, but if I reboot manually and enter recovery it's TWRP.
Click to expand...
Click to collapse
You could try uninstall rom manager and then install goo manager and flash TWPR again. Then use goo manager to boot into recovery and see where it sends you
A way that would work for sure would be to just flash back to stock with Odin, using the pre rooted rom
hednik said:
You could try uninstall rom manager and then install goo manager and flash TWPR again. Then use goo manager to boot into recovery and see where it sends you
A way that would work for sure would be to just flash back to stock with Odin, using the pre rooted rom
Click to expand...
Click to collapse
I just got goo manager last night (I've been running AOKP) so perhaps that is the route I'll take initially. I'd like to avoid flashing back to stock if possible as it would be a lot of work to get rid of one partition. I suppose it won't hurt anything if I just use one of the recoveries exclusively.
EDIT: Rebooting with goo manager dumps me into CWM. So does rebooting into recovery manually so it seems that you were correct. I don't know what the hell the deal was earlier. Must've been a hiccup or I'm an idiot. Thanks hednik!
I have the same issue only I would like to keep TWRP and lose CWM how do I uninstall? Thanks in advance
Sent from my SGH-I747 using xda app-developers app
Mattamizer said:
I just got goo manager last night (I've been running AOKP) so perhaps that is the route I'll take initially. I'd like to avoid flashing back to stock if possible as it would be a lot of work to get rid of one partition. I suppose it won't hurt anything if I just use one of the recoveries exclusively.
EDIT: Rebooting with goo manager dumps me into CWM. So does rebooting into recovery manually so it seems that you were correct. I don't know what the hell the deal was earlier. Must've been a hiccup or I'm an idiot. Thanks hednik!
Click to expand...
Click to collapse
Re-install the stock rom via-odin, it will reset you're root and reflash the old recovery. Then restore you're root and reflash you're recovery (TWRP recommended).
Edit: BUT FIRST REVERT TO STOCK
simpson173 said:
I have the same issue only I would like to keep TWRP and lose CWM how do I uninstall? Thanks in advance
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
try flashing this with odin... worked for me
http://goo.im/devs/OpenRecovery/d2att

Categories

Resources