ROM Manager will BREAK YOUR RECOVERY!!! DO NOT USE!!! - Samsung Galaxy S (4G Model)

Any of us who have installed ROM Manager from the market have gone through some real pain trying to recover from using its recovery. Until it is verified as fully functional by one of this forum's top devs, do not install it! It's not ready for prime time.
Instead, use krylon360's outstanding CWM Recovery here: http://forum.xda-developers.com/showthread.php?t=1099374. Follow the directions in the OP carefully.
Also, check mad_fitter's great thread on steps needed to flash on this phone. Step 12 addresses what happens if you try and flash using ROM Manager's recovery (ODIN):
http://forum.xda-developers.com/showthread.php?t=1122508
I see that contributing members are still having these issues and hope to help drive the point home. ROM Manager will be great when it works for our device, but right now it doesn't.
Sent from my SGH-T959V using XDA Premium App

I was able to use ROM manager on my device. The only thing that CWM doesn't seem to do is:
(might need to remount system as r/w)
// change permission on recovery binary so we can replace it
su
cd /system/bin
chmod 777 recovery
exit
exit
// push new recovery binary
adb push recovery /system/bin
Once this is performed the CWM from ROM manager works fine.
I just did my co-worker's SGS4G and can confirm this.

matthenry87 said:
I was able to use ROM manager on my device. The only thing that CWM doesn't seem to do is:
(might need to remount system as r/w)
// change permission on recovery binary so we can replace it
su
cd /system/bin
chmod 777 recovery
exit
exit
// push new recovery binary
adb push recovery /system/bin
Once this is performed the CWM from ROM manager works fine.
I just did my co-worker's SGS4G and can confirm this.
Click to expand...
Click to collapse
Hmmm. Can you send this to koush

I had to use recovery file from krylon360's CWM Recovery to make my ROM manager work. It works fine for me.
But of late it gets stuck while recovering on the .andriod_secure folder. Which i think is the last step on the recovery.
No big deal, just pull the battery out and power the phone back on and everything is back to normal.

Yeah that last part it hangs on isn't a big deal. I believe that is where the apps2sd apps are stored and it's not a big deal of that isn't wiped.
Anytime you wipe it's gonna hang as well as any time you do a restore. It will hang while restoring that same dir but once you get to that point system and data have already been restored so you can just pull the battery and reboot from recovery.
Sent from my SGH-T959V using XDA Premium App

Related

[TUTORIAL] Updating to DI07, Obtaining Root, and Flashing Custom Recovery [FIX]

Scroll to the bottom for a fix to the newest clockwork recovery flasher...
UPDATING TO DI07
First things first, you must update to the latest firmware and kernel, but in order to do this you must un-root and return to the stock kernel in order to avoid problems.
Simply download the zip here, and run the run.bat inside, after extracting the folder to your desktop.
You must have debugging mode enabled for this to work.
Once that's finished you can update to DI07 using the stock recovery. You do this, like any other update, by renaming the zip (found here, to update.zip on throwing it onto the root of your sdcard.
Then, boot up into the stock recovery (power+camera+volume down) and press home to apply the update.zip.
The update will install and your phone will reboot into DI07.
First boot will take some time, so be patient.
Now onto the fun part, rooting your phone.
OBTAINING ROOT
Just as you obtained root before DI07, you obtain root on DI07, if you have the right tools. Download the one click root here, and once more extract the included folder to you desktop, make sure you have usb debugging enabled, and run the run.bat. Your phone will reboot, and you will have root.
FLASHING CUSTOM RECOVERY
Here is where it gets a tad bit more complicated. First off, you have to download the zip here, but this time before running the bat you have to open up command prompt and redirect it to your C:/android-sdk-windows/tools folder and then run the following code.
adb devices
adb shell
su
remount rw
exit
exit
Now the command prompt should close, and you can run the run.bat for build 31 of clockwork recovery flasher. Once more, your phone will reboot and after the script is done running and says "press any key to exit...." you can press enter and boot into recovery.
That's it, three simple steps to updating, obtaining root, and flashing clockwork recovery!
Also, don't forget to check out my ROM coming later today, as well as noobnl's Andromeda Galaxy ROM v1, just released.
great tutorial...and i can use these instructions even if i am using aridons v4 rom and heros overclocked kernel?
Well, it basically reverts you back to the stock kernal, so you will for sure lose the overclocked kernal. However, I'm not sure about the ROM. Your best bet would be either to hold off on this as the ROM you are suing isn't based on DI07, or flash to stock and then follow this guide. Your choice.
bubby323 said:
Well, it basically reverts you back to the stock kernal, so you will for sure lose the overclocked kernal. However, I'm not sure about the ROM. Your best bet would be either to hold off on this as the ROM you are suing isn't based on DI07, or flash to stock and then follow this guide. Your choice.
Click to expand...
Click to collapse
Well I just ran this and at first glance, it got me right into clockwork. I selected one of my nandroid and restored it. After the phone finished restoring and everything, I wanted to make sure that I still had clockwork but instead it was stock recovery once more.
Since I still had root, I redid the steps starting with entering the commands, then I re-ran the bat file for clockwork. I checked and clockwork is back...unknown as to how long though.
Thank you!!! the remount rw was what I needed to get the clockwork custom recovery to flash!!!
I have another question for you? Is it possible to install the custom recovery without having root? I suspect not? The reason I ask is that I would like to have a nandroid backup of the completely stock rom although I guess I could use the one noobnl has posted
well, i got back to a stock rom....applied the stock kernal...but when i went to apply the update.zip...it took me back to clockwork...not the stock recovery....so i tried to apply the update from there but it aborted...how do i get rid of clockwork so i can go into stock recovery and will that fix it?
mrkrabs said:
well, i got back to a stock rom....applied the stock kernal...but when i went to apply the update.zip...it took me back to clockwork...not the stock recovery....so i tried to apply the update from there but it aborted...how do i get rid of clockwork so i can go into stock recovery and will that fix it?
Click to expand...
Click to collapse
Three options I can think of- if you use adb reboot recovery I believe it will load the stock recovery- the other option is to use odin to go back to complete stock. Finally you could use the option for clockwork in this thread look for the link under "B]Update.zip (for clockwork recovery and includes all the listed apps below)"
EDIT: I can confirm that "adb reboot recovery" loads the stock recovery when you have clockwork
bubby323 said:
FLASHING CUSTOM RECOVERY
Here is where it gets a tad bit more complicated. First off, you have to download the zip --- but this time before running the bat you have to open up command prompt and redirect it to your C:/android-sdk-windows/tools folder and then run the following code.
adb devices
adb shell
su
remount rw
exit
exit
Now the command prompt should close, and you can run the run.bat for build 31 of clockwork recovery flasher. Once more, your phone will reboot and after the script is done running and says "press any key to exit...." you can press enter and boot into recovery.
Click to expand...
Click to collapse
Im having a little issue with this. Im running windows 7. Can I do this in windows 7? Also when it says redirect it to your C:/Android---- do I have to change the drive to ex. cd c:/ first or do i just type in the command prompt C:/android-sdk-windows/tools and hit enter and follow the rest of the commands? Sorry extreme noob here..
Thank you for any help!!
I have ClockworkMod Recovery installed, how can I get into the stock recovery to apply this?
Look 2 posts up
Sent from my SPH-D700 using XDA APP
You need to use the DG27 uninstaller instead of the DI07 uninstaller to update to DI07.
The DI07 uninstaller is just to go back to stock DI07 kernel if you already updated
DG27 uninstaller: http://www.sdx-downloads.com/devs/noobnl/one.click.stock.&.root.uninstallerv1.0.1.zip
I think it needs to be pointed out that this alone won't work if you are like me and have removed apps from the phone. All those apps must be restored in addition to reverting to stock kernel before the OTA update can be applied. At least that's how I understand it. Feel free to correct me if I'm wrong.
Thanks a lot, I appreciate step-by-step tutorials like this for noobs like myself ... this made things a lot easier since some of the stuff (files, instructions, etc.) was all over the place.
would seem that way because I removed the alarmclock to start and when i try to run update.zip from sd it fails when checking current system @ /system/app/AlarmClock.odex
i tried rerooting and reinstalling alarm clock using the backup from titanium. says it is successful but i do not find it in my apps drawer. it still fails there too..
WisdomWolf said:
I think it needs to be pointed out that this alone won't work if you are like me and have removed apps from the phone. All those apps must be restored in addition to reverting to stock kernel before the OTA update can be applied. At least that's how I understand it. Feel free to correct me if I'm wrong.
Click to expand...
Click to collapse
Titanium backup does not restore apps in /system. You have to restore those by hand.
Im officially struggling, undid the root then copy/paste the update to the sdcard, renamed it. It unzips but says its failed to open /sdcard/update.zip(no such file or directory)...suggestions?
I know that in the step it said to copy it to the root on the sd but im am very green to this stuff, and didnt see a folder marked that, therefore I just copied it to the sd card
I can't get Clockwork to flash now. I walked through the steps...I did the remount crap and ran the bat and it rebooted the phone but when i reboot into recovery it goes to the normal recovery screen. Now if I try to redo it it does not recognize the remount rw and i can't get anywhere with it and i'm stuck with no clockwork.
but this time before running the bat you have to open up command prompt and redirect it to your C:/android-sdk-windows/tools folder and then run the following code.
adb devices
adb shell
su
remount rw
exit
exit
Click to expand...
Click to collapse
This part is unnecessary because the recovery zip comes with adb built in
is there a manual way to push this to the phone? These one clicks never seem to work for me ever it's just easier to do it myself.
Whosdaman said:
This part is unnecessary because the recovery zip comes with adb built in
Click to expand...
Click to collapse
No you must do this in order to get clockwork.

HTC EVO superuser port to Samsung Transform???

Rooted my Transform and went in to the superuser APK.... I'm disappointed that it has very limited content vs. my buddies HTC EVO. I'm new to Androids, but anyone know if there would be a way to port the superuser APK from the HTC EVO to the Samsung Transfrom, or is it even Feasible?
Can you go into more detail on how you rooted your Samsung Transform. I have tried SuperOneClick but the root never sticks. I would lose superuser randomly.
I just rooted with Super One Click, now, i dont know what to do with it lol. It sticks with me though.
No need for a superuser port. Just download from the market after rooting
via skeeterslint sdx:
Heres is a one click recovery installer for people that don't want to do it by hand.
http://www.mediafire.com/?jl21knp1d0lbf17
This is a still beta but working version of SDX Recovery version 3.1.1.
Things known to work.
Backups and restores.
Clearing dalvik cache.
Clearing cache partition.
Flashing kernel zImages.
Flashing zip files.
Adb works in recovery.
Also mounting the sdcard to your computer works.
Anything else in the options is still in need of testing I am not responsible if your phone gets bricked.
THIS MAY BRICK ALL PHONE MODS YOU DO AT YOUR OWN RISK!
OK now that thats out of the way heres the files needed.
1. http://www.mediafire.com/?862j3wlzftenwef This is the recovery image.
2. http://www.mediafire.com/?67an7lkm9qtmf5b until there is a custom recovery you will need this program to flash recovery. Its called flash_image.
3. http://www.mediafire.com/?5dcv3r14sjvsfdq rage.bin temporary exploit to get root.
4. You will also need the Android SDK so you have a working adb to be able to push files over to your phone.
If you are flashing this from a phone running my rooted kernel you can skip steps 4 and 7 and just su over to a root prompt.
OK these are the steps to install this recovery.
1. Make sure adb is installed and working there are how to's on the forum to get this setup or just use google.
2 adb push recovery.bin /data/local/tmp to move the kernel to the phone.
3 adb push flash_image /data/local/tmp to move flash_image onto the phone.
4 adb push rage.bin /data/local/tmp to move rage.bin onto the phone.
5. Run adb shell to get to a shell prompt on the phone.
6. Run chmod 755 on flash_image and rage.bin chmod 755 rage.bin chmod 755 flash_image.
7. Run ./rage.bin and let it go run through untill it exits you out of adb.
8. adb shell you should now have a root shell on the phone.
9. Run ./flash_image recovery recovery.bin to install the kernel.
Once its installed to get into recovery use Volume down Camera and power to get into recovery.
Volume up and down scroll through the option.
Menu should be the enter key.
Back button is back.
Search key is delete.
You will need to create the directorys on your sdcard that recovery needs to flash zip files make backup and flash kernel and recovery from.
Create directory called sdx on the root of the sdcard and inside it create 3 folders zips update and backup.
At this time it seems that factory restore is not working correctly and anyone else can confirm please let me know.
And for better recovery via vampirefo on sdx:
his is my first recovery, I made the change to the first screen to show that this is a transform recovery rather than a moment recovery. Also I got console to work in recovery, it wont rotate but works just fine.
http://www.4shared.com/file/bBTlN7UZ/recoveryrfs.html
You can flash this via swupdate, or if you already have skeeters recovery installed, just extract recovery.tar to /sdcard/sdx/updates
boot to recovery
Scroll down to
Backup, Restore, Flash
Scroll down to
Flash Recovery
After flash is complete
press back button
Under Reboot options choose Reboot to Recovery to see new recovery

[Q] CWM and .android_secure problem

Did anyone find a fix for it yet? Anything that winds up restoring .android_secure causes the phone to hang. It's getting really annoying, not sure if I read about a fix anywhere though.
EDIT
Just saw that this is a dupe thread, check here instead:
http://forum.xda-developers.com/showthread.php?p=14728596
FBis251 said:
Did anyone find a fix for it yet? Anything that winds up restoring .android_secure causes the phone to hang. It's getting really annoying, not sure if I read about a fix anywhere though.
Click to expand...
Click to collapse
You need to have made a clean backup with Krylon360's FINAL CWM, not ROM Manager.
CWM Final is v3.0.2.8
I backed up and restored .android_secure via that version without issue. It's related to the Rom Manager version that causes issues.
Iv been looking into it with dsexton and its a file on your sd card. Also you should only use krylons cwm
Sent from my SGH-T959V using XDA Premium App
I had that problem with the rom manager version of CMW too but if you let it sit on the hangup for a few minutes then just hold the power button until your phone restarts let it boot and your phone will be restored
Sent from my SGH-T959V using XDA Premium App
So I flashed CWM v.3.2.0.0 from ROM manager v.4.3.1.5 but have not yet backed up the phone's original stock ROM. Is there a workaround so I can use krylon360's CWM FINAL instead?
(smint) said:
So I flashed CWM v.3.2.0.0 from ROM manager v.4.3.1.5 but have not yet backed up the phone's original stock ROM. Is there a workaround so I can use krylon360's CWM FINAL instead?
Click to expand...
Click to collapse
Just dont use that..only use kyrlons
no CWM love
Looking for some help here. I am unable to get into recovery and therefore cannot do a nandroid backup and get to ROM-ing / hacking on my phone. Here's what I've done.
In linux I used the following commands to write krylon360's files to my phone:
adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#exit
$exit
adb push update.zip /mnt/sdcard
adb push recovery /mnt/sdcard
adb push recovery /system/bin
Next I've tried the following to get into recovery and make a nandroid backup.
1.) simultaneously hold down volume up, volume down and power button.
result: phone stops at Tmobile/GalaxyS splash screen.
if I hold down the power button and reboot, I get a frozen progress star and large battery icon displayed in the middle of the screen. This is the same result for every variation.
repair- pull battery out of phone, put back, power on and execute:
adb reboot
2.) execute: adb reboot recovery
result: phone stops at Tmobile/GalaxyS splash screen.
repair, execute:
adb reboot
3.) selected recovery from ROM Manager
result: phone stops at Tmobile/GalaxyS splash screen.
repair- pull battery out of phone, put back, power on and execute:
adb reboot
Any ideas?

Adb install cwm?

How do i Adb install cwm recovery from adb when I can only adb thru stock recovery. I jacked my phone up so when the stock rom is booted I can't do anything.
Sent from my MB525 using XDA App
Or is there a way to put the phone into debugging mode when the GUI is useless. All I have is a black screen after boot
Sent from my MB525 using XDA App
You can use the script from mustang9438 to push the modded recovery binary to get you into CWM here: http://forum.xda-developers.com/showthread.php?t=1206783
If that doesn't work, you'll have to use Odin to restore to stock, then add in CWM from there.
I don't have a windows pc. I took the phone back and am rerooted. Now I am curious about a way to install cwm via adb. Is it even possible? Unless sombody that knows a script for linux users
Sent from my SGH-T839 using XDA App
download the recovery binary from Krylon's post and the CWM update.zip,
adb push recovery /data/local/tmp/
adb shell
su (and accept root request on phone)
cp /data/local/tmp/recovery /system/bin/
chmod 755 /system/bin/recovery
exit
exit
adb push update.zip /sdcard/
adb reboot recovery
thank you. i softbricked the phone. i cant use odin. so i am going to use heimdall. wish me luck
Best of luck kid, best of luck (hope you get the reference)
If you're not familiar with heimdall, simply extract the full stock tarball and use the options under flash to add in each part.
Im back in buisness! Thx!
SGH-T839 getting started.
Glad it worked for you.

Init.d and CWM on every boot for STOCK ICS

So after a mix and match party, I got init.d to work on Stock ICS , and cwm on every boot just like the old days.
Here's how to set it up:
Make a backup before you do anything, people often overlook this step lol. Better to have one and not need it, then need it and not have one.
DON'T try to use this with BootMenu Manager, this is the CWM at every boot setup. If you want to use BootMenu Manager, then some of this will need to be tweaked. So, uninstall BBM if you have it before you try this.
1 - Install Busybox, more importantly, make sure run-parts is in /system/xbin
if using Jrummy's installer, make sure you use advanced install. I installed v1.20.2, it works fine.
2 - Copy the two zips and powerboost script and 00test script to your SDcard. Move the powerboost script to /system/xbin and make it executable.
Code:
adb shell
su
mount -o rw,remount /dev/block/mtdblock3 /system
chmod 755 /system/xbin/powerboost
Unzip the Unthrottle.zip to the root of your SDcard. (If you have one present already, delete it.)
3 - Install Atrix2Bootsrap, bootstrap the recovery, then boot into recovery.
4 - Flash the stockinit_Mod.zip and reboot.
5 - Open superuser, deny permission to Atrix2Bootstrap, then go and uninstall the app.
6- Run the powerboost script
Code:
adb shell
su
powerboost
Press N to not install busybox (you already have it, and it's more updated anyways).
Press 5 next to install CWM on every boot, Y to confirm
Press 8 last to reboot, Y to confirm.
That's it, old school CWM on every boot like rdavisct setup originally back on GB.
To test init.d support, after the reboot, copy the 00test script to /system/etc/init.d/ and reboot.
After the reboot, navigate to /data and look for Test.log and read it. It should have a confirmation and a timestamp showing that init.d is working.
I take no credit for developing any of this, I just made it work for Stock ICS. I pulled all of the info I needed from these two threads, and the respective owner/s deserve all the credit. I think now I might try to make a reboot option for the power menu and try to get a proper reboot and a CWM recovery reboot. Try and not have a boot into CWM at every boot, just when you want to. I know none of this is new or exciting, but as we all seen, it doesn't just happen for Stock ICS.
Sources:
http://forum.xda-developers.com/showthread.php?t=1294009
http://forum.xda-developers.com/showthread.php?t=1606257
Nice work and thank you.
Sent from my SAMSUNG-SGH-I997 using xda premium
Yes, Init.d and CWM on every boot!!! Thank you for this great detailed guide.
Sent from my A2
Amazing job man! Thank you, making me stick with stock for AWHILE now lol!
Sent from my MB865 using xda premium
Makes me think of jumping off bmm ship, but we will see. This is what I was looking for anyway. Great job.
Sent from my MB865 using xda premium
Works flawlessly...
BTW. Do I need to keep the powerboost script and unthrottle files or can safely delete them after the install?
duchski said:
Works flawlessly...
BTW. Do I need to keep the powerboost script and unthrottle files or can safely delete them after the install?
Click to expand...
Click to collapse
You may delete the unthrottle folder and powerboost script if you like.
unable to copy script to system/xbin
I want to get this on my atrix 2. I am stuck in intial stage of copying powerboost script to the sys/xbin folder it gives error "not enough space" what to do

Categories

Resources