Alternative way to unroot? - Epic 4G Q&A, Help & Troubleshooting

I have a question about unrooting. If you had the stock kernel, but just edited out the install recovery script that removes root, couldn't you just reinstall this script (or reinstall a stock kernel) and delete the superuser app? Wouldn't that put you back on stock recovery after reboot without root? Just a question...

Yes, in theory that should work.
Sent from my PantechP4100 using xda premium

http://d-h.st/users/nikon120/?fld_id=3564#files
Click on the folder "Recover w/o Odin" and you will see the CWM flashable files for boot animation and stock recovery.
Also are the stock deodexed roms that Kenny made.

Not that I'm planning on doing this, unless I needed to upgrade my phone...If I did upgrade I'd probably just reflash the whole stock tar back to FC09.

Related

Clockwork Mod won't stick

I'm trying to flash Clockwork Mod onto a friend's TMO S3 with Odin. I was able to do this successfully with my TMO S3, both are running UVALH2.
Odin says the flash was successful, I restart the phone and try to boot into the custom recovery but it keeps taking me to the stock recovery. I tried a few more times with the same results.
Am I missing something?
Try the no tripping the flash counter method found in the stickies found in the dev section.
You should be able to get around your problem with this method.
Sent from my SGH-T999 using xda premium
kpizzle said:
I'm trying to flash Clockwork Mod onto a friend's TMO S3 with Odin. I was able to do this successfully with my TMO S3, both are running UVALH2.
Odin says the flash was successful, I restart the phone and try to boot into the custom recovery but it keeps taking me to the stock recovery. I tried a few more times with the same results.
Am I missing something?
Click to expand...
Click to collapse
The UVALH2 update includes two files that will overwrite recovery every reboot
You can fix this issue by renaming the following files using root explorer
Rename:
/system/recovery-from-boot.p to /system/recovery-from-boot.p.bak
and
/system/etc/install-recovery.sh to /system/etc/install-recovery.sh.bak
Once you've done that, reflash CWM through ROM Manager and recovery will stick
ingenious247 said:
The UVALH2 update includes two files that will overwrite recovery every reboot
You can fix this issue by renaming the following files using root explorer
Rename:
/system/recovery-from-boot.p to /system/recovery-from-boot.p.bak
and
/system/etc/install-recovery.sh to /system/etc/install-recovery.sh.bak
Once you've done that, reflash CWM through ROM Manager and recovery will stick
Click to expand...
Click to collapse
You are the man!!!
there's a little "thanks" button on my post.. feel free to click it
and no problem, glad to help!
ingenious247 said:
The UVALH2 update includes two files that will overwrite recovery every reboot
You can fix this issue by renaming the following files using root explorer
Rename:
/system/recovery-from-boot.p to /system/recovery-from-boot.p.bak
and
/system/etc/install-recovery.sh to /system/etc/install-recovery.sh.bak
Once you've done that, reflash CWM through ROM Manager and recovery will stick
Click to expand...
Click to collapse
So I just realized something. I can't even attain root access, how can I edit these files?
Can flash mrRobinson's LH2 w/root and you will have full LH2 stock with root. It is an Odin package and only flashes /system partition so no /data loss.
kpizzle said:
So I just realized something. I can't even attain root access, how can I edit these files?
Click to expand...
Click to collapse
Flash CWM through Odin, but turn off the auto reboot in Odin
That way it won't overwrite it
Then power down when it's done, and boot into recovery, Flash Superuser
Will i still be able to receive JB OTA update when the time comes, if i rename these two files and flash CWM through ROM manager?
arthaz28 said:
Will i still be able to receive JB OTA update when the time comes, if i rename these two files and flash CWM through ROM manager?
Click to expand...
Click to collapse
No, you cannot receive OTA updates unless you are on stock recovery.
So you would have to Odin back to stock before accepting the update, which is simple enough.
Or just wait for someone to take the update and make a flashable zip file which will happen pretty quickly once the OTA comes out
ingenious247 said:
No, you cannot receive OTA updates unless you are on stock recovery.
So you would have to Odin back to stock before accepting the update, which is simple enough.
Or just wait for someone to take the update and make a flashable zip file which will happen pretty quickly once the OTA comes out
Click to expand...
Click to collapse
You don't need stock recovery for any reason at all. Not anymore.
I never said you needed it. I was answering the question that was asked.
And if you don't want to flash a modified version of a stock ROM, then yes, you do need stock recovery. Some of us don't like deodexed ROMs and care to choose what we debloat.
ingenious247 said:
I never said you needed it. I was answering the question that was asked.
And if you don't want to flash a modified version of a stock ROM, then yes, you do need stock recovery. Some of us don't like deodexed ROMs and care to choose what we debloat.
Click to expand...
Click to collapse
Thank you sir!
After I was rooted, I created a backup using CWM. So, if the update comes out, I can just flash my backup stock ROM again using CWM rand I should be able to receive the OTA update, right?
(sorry I am a noob and still learning about this whole rooting, custom ROM, etc stuff)
arthaz28 said:
Thank you sir!
After I was rooted, I created a backup using CWM. So, if the update comes out, I can just flash my backup stock ROM again using CWM rand I should be able to receive the OTA update, right?
(sorry I am a noob and still learning about this whole rooting, custom ROM, etc stuff)
Click to expand...
Click to collapse
No, you would have to Odin back to stock which would overwrite CWM with stock recovery. If you're not familiar with Odin read up on it, it's really easy to use. Just make sure you get it from the correct thread for your phone model and you'll be fine.
Sent from my SGH-T999 using xda premium

Rerooting after JB install?

I didn't find anything in search, so here goes.
Anyone tell me how to get root after manually updating to JB? Would I have to re-install CWM via Odin again?
The rooting process is the same for jb.
If you updated manually out is possible that you still have root but may have lost your custom recovery. The newer builds (lg8 and later) have code that replaces the stock recovery of the signature does not match.
If that has happened your best bet is to flash cwm using Odin again but you must also disable the code that replaces the recovery. Do a Google search for Team Epic Root From Recovery for the process.
You need to flash the recovery with Odin and then get into recovery before you not the Rom so that you can then flash the Team Epic Root From Recovery file.
Sent from my SPH-L710 using xda app-developers app

[Q]Will I need to re do Odin to root [Q]

I am currently rooted and on stock recovery and rom. My question is if I so a nandroid backup and flash a custom Rom with Twrp/cwm and have to do a restore, will I need to re do the rooting process or is there a flashable zip to flash SU app and binaries to maintain root?
Custom roms usually come prerooted. Have a backup just in case. You will not have to re root with Odin.
Sent from my SGH-I747M

Going back to rooted stock jellybean ROM from CM10.1

I wish to return to a rooted stock JB ROM from CM10.1 . CM10.1 is too buggy for me, and CM10 had one bluetooth bug in the final release that was kind of a game killer for me. I'd like to go back to stock JB but keep my custom recovery. The only files I've found for stock jellybean are full stock in that they'll flash over my recovery as well as my system. Does anyone know where I can find a root stock image that will let me flash just the system and keep my recovery like any other rom, so that I can flash back to CM10.1 when it is more stable. PS I am also on Linux and do not regularly have access to a windows machine so I do not have access to Odin, or Kies.
after you flash to stock just flash a recovery, that's what i've done.
also, this is the wrong section and you should search first.
sent from my I747
I searched and found only "One click" stock roms, and the "Fully Stock" roms. Neither of which solve my problem. Did you even read the portion of my post where I say I don't have access to Odin, or Kies or any of that? My only option for flashing is CWM. And I'm not sure how well overwritting CWM while CWM is flashing would work, but I don't think it would go well.
cehf said:
after you flash to stock just flash a recovery, that's what i've done.
also, this is the wrong section and you should search first.
sent from my I747
Click to expand...
Click to collapse
find a cwm flashable zip of a stock rom. it doesn't need to be a current version. flash that. then find the cwm flashable ota zips and flash those. you've retained root, and cwm. i have done this process as well.
i'd link you to the threads you need but i'm on my phone and it's difficult to find this way.
edit: one of the otas is here. i haven't found anything about updating to jelly bean, though. i know there's a tutorial somewhere about making cwm flashable zips, i might try making one for you after i get my sister to sleep.
sent from my I747
go to this link:
http://forum.xda-developers.com/showpost.php?p=28019751&postcount=1
find the appropriate version for your carrier and flash via your recovery. its pre-rooted and cwm/twrp flashable, no odin or PC needed.
Russ77 said:
go to this link:
http://forum.xda-developers.com/showpost.php?p=28019751&postcount=1
find the appropriate version for your carrier and flash via your recovery. its pre-rooted and cwm/twrp flashable, no odin or PC needed.
Click to expand...
Click to collapse
i don't see anything about cwm, only odin?
op, here is a full stock rom. here is the ota that comes after.
sent from my I747
When you're back to rooted TW, flash the recovery you want with Mobile ODIN.
Sent from my SGH-I747M
cehf said:
i don't see anything about cwm, only odin?
op, here is a full stock rom. here is the ota that comes after.
sent from my I747
Click to expand...
Click to collapse
my mistake. OP, grab mobile-odin and do that since you're already rooted

[Q] Do I need to take out clockwork to update stock? How to flash original recovery??

SGH-T999, stock t999uvdlja
A month or two ago, I followed a rooting instructions thread on here. It had me use odin to flash over a clockwork recovery mod as the first step. It flashed over fine according to odin, but I was never able to enter recovery following the next steps and therefore was not able to root. I can't find the thread anymore.
I realized after the fact that my phone was already on Jellybean, so I presume, maybe wrongly, that the reason the clockwork mod wouldn't work was because it was for the older Ice cream sandwich firmware.
Anyway, now my phone says unable to update because it's modified when I go into settings:about:software updates.
I want to get this error to go away. I have kies and there is now a firmware update in there that I would like to do to see if it fixes a problem with the wifi calling app breaking caller id among other things.
I am afraid that if I try to push this update via kies, it may brick the phone or not work thanks to the clockwork mod problem.
So two questions: 1) how can I un-flash that clockwork mod out of there and make the recovery back to stock so there is no further error or possible warranty issue, and 2) is it safe to do that kies firmware update and if so would that fix the recovery on its own?
Any ideas?
Sent from my SGH-T999 using xda app-developers app
You need to find the stock recovery .tar file and use odin to flash it the same way you flashed the cwm recovery. Then you will probably need to use triangle away to reset the counter.....dont think kies would work if it sees your device is modified but not sure about that.
Use triangle away first to reset your flash counter then odin the completly stock jb from here http://www.androidfilehost.com/?fid=9390169635556426424....this is from docholidays thread for stock odin roms in the sticky section of development. ..this should give you a completely stock phone including recovery.....you will lose your data from this process but your sd card will be fine.
Edit: just realized you dont have root...you need root to use triangle away....so first odin root 66 pre root stock rom....then use triangle away....then odin stock unrooted rom that I linked above.
Sent from my SGH-T999 using xda premium

Categories

Resources