Custom recovery image not sticking - Nexus S Q&A, Help & Troubleshooting

I Having a problem when everytime I go into fastboot mode and click on recovery the /!\ comes up and would have to take the battery out and reflash the custom recovery image thru adb. Then it will work but can someone help make the recovery image stick
Sent from my Nexus S using XDA App

mrnexus said:
I Having a problem when everytime I go into fastboot mode and click on recovery the /!\ comes up and would have to take the battery out and reflash the custom recovery image thru adb. Then it will work but can someone help make the recovery image stick
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
There is a .sh file that needs to be removed, totally forgot the location of it :/

/etc/install-recovery.sh needs to be deleted or renamed.
It's a "safety" feature in 3.3.1 and above to restore the stock recovery if it doesn't pass a check on boot each time.
This is pointed out in numerous threads...search a little for more details if you need them.

Ok thanks
Sent from my Nexus S using XDA App

It wont let me rename so I guess I going to delete it
Sent from my Nexus S using XDA App

mrnexus said:
It wont let me rename so I guess I going to delete it
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Are you mounting the /system partition as read/write?
Use root explorer or similar or issue the remount command from the command line before trying to rename it.

that's the trick just rename the image, and the CW recovery will stick
that's the way it's written in the step by step guide,

distortedloop said:
Are you mounting the /system partition as read/write?
Use root explorer or similar or issue the remount command from the command line before trying to rename it.
Click to expand...
Click to collapse
I am having problems renaming it as well. I'm not sure what you mean by "use root explorer or similar or issue the remount command from the command line before trying to rename it.
I have tried using Astro and Android Mate to rename the file and both will not let me.
EDIT: Nevermind, I used root explorer and was able to find "mount r/w" and rename it finally. Thanks.

godzigga said:
I am having problems renaming it as well. I'm not sure what you mean by "use root explorer or similar or issue the remount command from the command line before trying to rename it.
I have tried using Astro and Android Mate to rename the file and both will not let me.
Click to expand...
Click to collapse
Because those won't allow you to modify system files. Get Root Explorer, like he said, and use that.

AllGamer said:
that's the trick just rename the image, and the CW recovery will stick
that's the way it's written in the step by step guide,
Click to expand...
Click to collapse
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.

vaust said:
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.
Click to expand...
Click to collapse
Cause u probably used ADB to get it to stop reflashing the stock recovery. Using root explorer is the same thing only less technical.
Sent from my Nexus S using XDA App

sarge363 said:
Cause u probably used ADB to get it to stop reflashing the stock recovery. Using root explorer is the same thing only less technical.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
True, I used adb, spent like 2 hour trying to get the pc drivers to recognize the nexus. I used the PDAnet drivers eventually.

vaust said:
weird, i don't remember renaming anything besides the clockwork image to recovery.img . Still able to boot into clock after each reboot.
Click to expand...
Click to collapse
Are you on a custom ROM like CM or Bionix? They remove the script that rewrites stock recovery.
If you're on stock, what version of it are you on? 2.3.1 and higher have a file called /etc/install-recovery.sh on them, and if that's there it should be reflashing stock on every boot, whether you renamed the image you flashed to recovery or not...

Related

build.prop update.zip

Is it possible to make an update.zip file that replaces the build.prop file, or any way to replace the build.prop file without doing a full restore?
I did it using adb commands.
Well I tried using adb shell to swap the file, but when I ran su I got "[1] + Stopped (signal) su"
So I guess I'm going to be forced to do a nadroid restore of my system
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Sent from my GT-I9000 using Tapatalk
Boot loop
Clienterror said:
Just use root explorer to copy the file to /sd, then use astro to edit it, and root explorer it back to the original spot and reboot. You don't need to change file permissions or any thing. No computer needed.
Click to expand...
Click to collapse
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
You could just reflash your current ROM and it should replace it.
korockinout13 said:
You could just reflash your current ROM and it should replace it.
Click to expand...
Click to collapse
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
P
remuscat said:
Hi Clienterror,
What if the system is not booting?
I had installed an application which changes resolution and now ended up with a boot loop.
I have searched for ways how to extract the build.prop and correct the error, but none appears to exist.
I was asking if it is possible to extract the current build.prop via the update.zip method so that the build.prop can be repaired...
I read that from the update.zip you can execute code, would it be possible to use a similar method for extracting files from the system folder?
Thanks
Click to expand...
Click to collapse
Actually there is a potential option... can you get into recovery? And does your recovery have a file manager? If so go into mounts and mount /system. Then use the file manager in recovery and you should be able to access build.prop. copy it to your SD and then you should be able to mount your SD to your computer through recovery.
Edit: when you mount /system make sure you mount the SD as well or you won't be able to copy to it while you're in the recovery file manager.
Sent from my SGH-I897 using xda app-developers app
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
remuscat said:
Hi m1batt1,
The recovery does not have any file mount option
I have lost all hope of being able to get the system to boot.
Thanks the same.
Click to expand...
Click to collapse
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
remuscat said:
Hi korockinout13,
I have tried to refresh from a rom i got, but I am prompted an error with Nand version.
The android in question is not common (Subor, a chinese Android Tablet) and have not found any firmware for my particular model except for the one supplied by the supplier, which still does not install.
At this stage reflashing is not an option, so I am looking for something else...
Thanks for your time
Click to expand...
Click to collapse
BWolf56 said:
You might have to flash stock KK4 at this point and go from there.
What kernel do you have for it not to have a file mount? I believe even stock kernel has it Since you can get in download mode, I would flash a newer kernel if I were you (with Odin) to be able to mount in recovery.
Click to expand...
Click to collapse
From what I'm reading he doesn't even have a captivate. He's using some Chinese tablet.
Sent from my SGH-I897 using xda app-developers app

remove

DONE
Download the zip file to the custom screen animation you want to use to your memory card. Boot up into clockwork recovery. Go to install from sdcard then choose files from sdcard. Navigate to the file u want to use then install it. The next time you boot the phone normally it should show you your new screen animation. Atleast that's how I do it with my rooted epic 4g using clockwork recovery
Sent from my SPH-D700 using XDA Premium App
sorry but no clockwork recovery is made for my device i installed it once an resulted i hard brick.Had to go to samsung service center and they replaced the motherboard cause it was in warranty.I will never try that method again
sahilg009 said:
1)HOW to change the boot screen animation of this mobile and is it safe(i have rooted this device)
and please convert any 1 of this of galaxy mini for me to get an
wwwdotyoutubedotcom/watch?v=0KUUsnmHcpc&feature=related
Click to expand...
Click to collapse
Use adb push or a file explorer with root to place the bootanimation.zip (from my attachment) in the folder "/system/media" it is the animation from your first youtube link.
If it says something like cannot write, read only permission, you have to type this into a console on the phone or in the adb shell first
"mount -w -o remount /system /system\n"
The boot animation is safe, it either shows, or it doesn't.
sahilg009 said:
2)Can you please suggest any one good,tested and working,rom for this mobile
Click to expand...
Click to collapse
I'm sorry, but there is no such ROM available for your android at the moment.
If this is sufficient for your bounty, use my donate button.
Greetings dark3n
Yea that happened to me the first time I tried. I had to use odin with a prerooted rom for my phone. You should check out to c if its possible to use odin on ur phone.
Sent from my SPH-D700 using XDA Premium App
there's actually an app to change the boot screen mines currently beavis and butthead lol give me a few and ill see what app it was
Sent from my Aria 2.3.2 OS
Dark3n said:
Use adb push or a file explorer with root to place the bootanimation.zip (from my attachment) in the folder "/system/media" it is the animation from your first youtube link.
If it says something like cannot write, read only permission, you have to type this into a console on the phone or in the adb shell first
"mount -w -o remount /system /system\n"
The boot animation is safe, it either shows, or it doesn't.
I'm sorry, but there is no such ROM available for your android at the moment.
If this is sufficient for your bounty, use my donate button.
Greetings dark3n
Click to expand...
Click to collapse
so basically i just nned to move the zip(bootanimation.zip) direct to my /system/media no need to extract it
and it can never brick my mobile
thanx
sahilg009 said:
so basically i just nned to move the zip(bootanimation.zip) direct to my /system/media no need to extract it
and it can never brick my mobile
thanx
Click to expand...
Click to collapse
Yes dont extract just copy it there.
Either your phone supports this and shows the new animation.
If it doesn't support it nothing happens and you see the old animation.
Nothing can really happen. The old animation is still there.
If it is supported your phone will look at that directory and say ahhh a bootanimation.zip lets use that instead of the default one...
droiduser145 said:
there's actually an app to change the boot screen mines currently beavis and butthead lol give me a few and ill see what app it was
Sent from my Aria 2.3.2 OS
Click to expand...
Click to collapse
Could I get that boot animation file off you. I tried the boot animation changer app. Says downloaded and installed but alas I get nothing.
Motorola atrix 4g

help install amon ra

so i have a samsung galaxy s 4g that is rooted with superoneclick. right now i have clockworkmod recovery 3.2.0.0. i like amon ra much better. i had this on my G1.im trying to flash 2.2.1. i cant seem to get it to flash. in terminal emulator it doesnt recognize the command "flash_image" it is "not found". i have adb setup but when i try "adb root" i get a message "adbd cannot run as root in production builds" i cant seem to get into bootloader by holding down buttons or by using "quick boot" i tried rom manager, "flash alternate recovery" is greyed out. please help!
No amon ra or ROM manager for this phone.
Sent from my SGH-T959V using xda premium
jager555 said:
No amon ra or ROM manager for this phone.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
Is the 3E stock recovery the only reason?
I don't understand why its not an option....
Was it built for this phone?
Sent from my SGH-T959V using xda premium
A bunch of things you need to know for galaxies vs aosp
1. I also came from a g1. I loved it.
2. AOSP, Sense, Motoblur.etc excluding Touchwiz(These types run on the basic file format. Install rom from a signed zip, start up using a bootloader spl, you must be familiar with hardspl. A boot.img, this is the kernel, and a zip with /system, and other stuff. Also a recovery.img(Amon Ra). And a modem.img
3. Those phones have a posibility for ADB Remount command and fastboot.
eg adb remount, or fastboot flash recovery.img
4. Touchwiz is Galaxy. They run on 2 bootloader binary files, a zImage as a kernel, and mainly the /system partition called factoryfs.rfs is stockly available on a computer flashable tar file which has the files. The tar files usually with files that include factoryfs.rfs, datafs.rfs, cache.rfs, param.lfs, boot.bin, sbl.bin, zImage and modem.bin.
5. Factoryfs = /system zip datafs = /data partition cache = /cache partition, param includes core files like splash image 1 for the g1, and boot and sbl are bootloader, zImage = boot.img with different coding, modem.bin = modem.img
6. zImage contains the recovery.img partition on GB and the /system partion has recovery in froyo roms.
7. Touchwiz has odd mounts, and flashing alternate recoveries has the potential to make your phone an expensive paper weight.
8. There is a feature kind of like boot loader and spl mode for g1(rainbow screen) called download mode. This is where you connect to the computer to flash the big tar files.
9. The smart devs have created a clockworkmod recovery, which has more functions then amon ra and allows you to flash zip files with sgs4g roms.
10. Boot animation cannot be changed unless you have a kernel supporting them. Instead of bootanimation.zip, they use 2 files called bootsamsung.qmg, and bootsamsungloop.qmg
11. DON"T FLASH ANYTHING NOT MADE FOR THIS PHONE, ESPECIALLY BOOTLOADERS AS THEY MAY MAKE YOUR PHONE UNUSABLE, THE REST USUALLY CAN BE RECOVERED.
so is there a way to backup/restore my galaxy s like i could my G1
1. the galaxy s 4g is not a G1
2. yes, you can back it up by going to "backup and restore" in CWM and then clicking "Backup". this will back everything up.
you can restore by choosing the same option in cwm, but "restore" once in the menu.
if you are on a rom that you want to keep, you can go to advanced restore in the backup/restore menu and restore only your data.
gdofwar has a tutorial out on how to backup/restore the phone. does this help?
when i go into ROM Manager and click "backup current rom" it takes me to the screen in the picture. there are no backup options. incase you cant see the pic. the options are:
reboot system now
reinstall packages
delete all user data
delete cache data.
lokeycmos said:
when i go into ROM Manager and click "backup current rom" it takes me to the screen in the picture. there are no backup options. incase you cant see the pic. the options are:
reboot system now
reinstall packages
delete all user data
delete cache data.
Click to expand...
Click to collapse
ROM manager does not work on this phone. You cant use ROM manager. ROM manager does not work.
Sent from my SGH-T959V using xda premium
Exodian said:
ROM manager does not work on this phone. You cant use ROM manager. ROM manager does not work.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
so what can i do?
Omfg
Sent from my SGH-T959V using xda premium
Dev section krylon 360 cwm final thread. Read it follow it.
Sent from my SGH-T959V using xda premium
Bali on Froyo. drhonk's GB kernels.
Sent from my SGH-T959V using xda premium
Cool THank you for the thread! i have the update.zip on my sd card. when i try to push the other file it says "failed to copy 'recovery' to '/system/bin/recovery': Read-only file system" how do i work through this? thank you much!
jager555 said:
Omfg
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
You read my mind with that post. LOL
htaak said:
You read my mind with that post. LOL
Click to expand...
Click to collapse
Im looking for help not criticism. im obvisously not on your level.
ok. look for the bali 3.3uv threads. odin this file using the instructions in the thread. this will give you the proper cwm and root.
lokeycmos said:
Im looking for help not criticism. im obvisously not on your level.
Click to expand...
Click to collapse
I hope you are above my level LOL.
It wasn't meant as criticism, Jager just happened to post exactly what I was thinking at the moment I was thinking it as I read through the thread, and it made me laugh. It was like a mini version of Monty Python's Dead Parrot Sketch.
I sincerely apologize if it came over that way. I am not here to argue with or upset anyone.
lokeycmos said:
Cool THank you for the thread! i have the update.zip on my sd card. when i try to push the other file it says "failed to copy 'recovery' to '/system/bin/recovery': Read-only file system" how do i work through this? thank you much!
Click to expand...
Click to collapse
Flash, not push. Unless you're rooted, the file system is set to read-only. If you are rooted, download root explorer or any other file system explorer, set to R/W, and push again.
To flash, boot to recovery and select the update.zip option (don't remember exact wording).
Sent from my SGH-T959V using xda premium
neocorteqz said:
Flash, not push. Unless you're rooted, the file system is set to read-only. If you are rooted, download root explorer or any other file system explorer, set to R/W, and push again.
To flash, boot to recovery and select the update.zip option (don't remember exact wording).
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
if you do it this way for the love of god dont forget to remont the system as r/o after you copy the recovery file to the system bin folder ....

[Q] /data empty

i botched a simple bootanimation.zip change. i also cannot find the steps i was following. i have a sensation ARHD brand new version. i chose a bootanimation i like followed the steps using the program File expert. i copied and pasted into, if i remember properly /data/local once i hit paste a prompt came up and i i saw that i chose overwrite accidentally, but i didnt get a chance to read it. in any case it didnt work rebooted/powered off my phone and now the /data folder is not showing and under system/ i believe there used to be a data folder in there as well. What did i do? where are those folders? How can i successfully change my bootanimation? im new please be gentle with me.
I'm going to help you
First thing I need to know before we go any further, Do you have a Nandroid of your ROM?
Sent from my Sensation using XDA App
Nope the only back up i did was with CWM and i know Nandroid is a backup but i dont know how to do it.
thanks for responding
there is no /system/data...there's /system and /data..
Are you having issues or did you just think something went wrong bc you cant find that directory?
CruzinByU said:
Nope the only back up i did was with CWM and i know Nandroid is a backup but i dont know how to do it.
thanks for responding
Click to expand...
Click to collapse
A backup in CWM is a nandroid..In the old Amon recovery it was just called a nandroid and is stil typically referred to as that, but a backup in CWM is the same.
If the bootanimation didn't change (or changed to nothing), you probably need to set the permissions...This can be done a few ways, either thru the command prompt or a file explorer. You need to give it read and execute permissions..From the command prompt you should be able to run "chmod 777 /system/media/bootanimation.zip" and that should work fine
no issues thankfully. just believe something went wrong bc i couldnt find that directory.
Also try another app such as root explorer. Some of these apps have a hard time reading /data.
Edit: glad you got it... Lol posted while you were posting
Sent from my HTC Sensation Z710e using xda premium
Thank you for your quick response will try it and let you know how it goes
wadill said:
Also try another app such as root explorer. Some of these apps have a hard time reading /data.
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Theres a free file explorer on here called "root browser" that works great.
I think the issue here is the file permissions.

6.0.1.0 CWM Recovery won't stick

I'm trying to flash this recovery, but it does not seem to stick.
I have CM9.1, and i have tried flashing the zip and manually flashing the .img.
Both times don't work.
Any ideas?
bringonblink said:
I'm trying to flash this recovery, but it does not seem to stick.
I have CM9.1, and i have tried flashing the zip and manually flashing the .img.
Both times don't work.
Any ideas?
Click to expand...
Click to collapse
Check with a file manager with root rights that you don't have install-recovery.sh in the /etc/ folder at the root of your phone.
If yes, delete it.
polobunny said:
Check with a file manager with root rights that you don't have install-recovery.sh in the /etc/ folder at the root of your phone.
If yes, delete it.
Click to expand...
Click to collapse
You can get this working by flashing the recovery from rommanager. Worked for me.
Sent from my Nexus S using xda app-developers app
polobunny said:
Check with a file manager with root rights that you don't have install-recovery.sh in the /etc/ folder at the root of your phone.
If yes, delete it.
Click to expand...
Click to collapse
rather than deleting I suggest a renaming of the file to <filename>.<ext>.bak , as if he wants to return to stock , though I doubt that will ever happen
ReVo_007 said:
rather than deleting I suggest a renaming of the file to <filename>.<ext>.bak , as if he wants to return to stock , though I doubt that will ever happen
Click to expand...
Click to collapse
I'm on cm 9.1 and don't have that file
Sent from my Nexus S using Tapatalk 2

Categories

Resources