[Q] Unroot, Flash Stock ROM, Root - Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble

Following the somewhat dispersed advice in this forum, I managed to use Towelroot to root my TabPro 8.4 SM-T325 w/o tripping KNOX. As soon as I'd done so, a new OTA update became available, which I'd like to get, and then re-root my tablet, again, all w/o tripping KNOX. Based on what I've read in this forum, the following SHOULD work:
1. Unroot with SuperSU
2. Reboot
3. Check for persistent root access by trying to run Titanium Backup (which won't run w/o root) - Root Checker failed to confirm root on my SM-T325 for some reason though I DO have root, so I don't expect Root Checker to be any use in confirming unrooted status
4. Flash latest stock (from SAMMOBILE) ROM (dated later than my present one) via ODIN
5. Reboot the device in Recovery Mode (Home + Power + Volume Up)
6. Do a wipe data/factory reset.
7. Hope that does the trick
8. Replace kernel w Towelroot-compatible kernel
9. Run Towel root
10. Restore kernel extracted from latest stock ROM
Are any steps missing from the above? Can any be safely omitted? I'd love to avoid the factory reset, but understand that can't be avoided when using ODIN to replace the ROM, even when the replacement is the latest stock ROM. Is that true? Or is the factory reset a precaution to avoid trouble? Or used to get out of it? When I did OTA updates before rooting, a factory reset was never necessary, and since I'm STILL running a factory ROM (rooted), I am wondering if I can safely omit the factory reset.
Thanks.
BTW: I originally posted this to the wrong section, so have re-posted it here with some edits.

Related

[Q] N5110 (US Wifi) - want to return to stock - just unroot or install stock ROM?

I have the US Wifi version (N5110UEEMF2) with 4.1.2. It is rooted BUT using stock ROM - I never install a custom ROM.
I have frozen and backed up some systems apps.
I want to get the Tablet back to out of the box state AND be able to receive OTA update. I was wondering if this will work:
1). Unfrozen the system apps
2). Reboot
3). Uninstall root (SuperSU > Settings > Uninstall for UNRoot per the instructions here)
4). Reset the Tablet (Settings --> Backup and Reset --> Factory Data Reset)
lanwarrior said:
I have the US Wifi version (N5110UEEMF2) with 4.1.2. It is rooted BUT using stock ROM - I never install a custom ROM.
I have frozen and backed up some systems apps.
I want to get the Tablet back to out of the box state AND be able to receive OTA update. I was wondering if this will work:
1). Unfrozen the system apps
2). Reboot
3). Uninstall root (SuperSU > Settings > Uninstall for UNRoot per the instructions here)
4). Reset the Tablet (Settings --> Backup and Reset --> Factory Data Reset)
Click to expand...
Click to collapse
maybe reinstall stock ROM with kies help...
fantasmanegro said:
maybe reinstall stock ROM with kies help...
Click to expand...
Click to collapse
Is this doable with the Note 8.0 Toolkit?
http://www.skipsoft.net/?page_id=824
check flash counter
lanwarrior said:
I have the US Wifi version (N5110UEEMF2) with 4.1.2. It is rooted BUT using stock ROM - I never install a custom ROM.
I have frozen and backed up some systems apps.
I want to get the Tablet back to out of the box state AND be able to receive OTA update. I was wondering if this will work:
1). Unfrozen the system apps
2). Reboot
3). Uninstall root (SuperSU > Settings > Uninstall for UNRoot per the instructions here)
4). Reset the Tablet (Settings --> Backup and Reset --> Factory Data Reset)
Click to expand...
Click to collapse
If you try to update without reseting flash counter it will tell you your device has been altered and you won't be able to continue. Not sure if toolkit has a flash reset or not. There is an app in the play store called triangle away note 8.0 n5110 is supported it is only couple bucks, and will reset flssh counter. It is handy as it works for other Samsung devices and more, also if you need to send it in for warranty purposes you will need to reset the flash counter.
So I did not install the stock ROM (since I did not install custom ROM) and did the above (uninstall root, etc.) but I don't think it is fully back to the stock ROM since I CANNOT do update on the OS.
So if I restore to the stock using the Note 8.0 toolkit, will it increase the counter?
Sorry for the question, but I couldn't find a clear instructions for restoring the Note 8.0 back to it's out-of-the-box form without increasing the counter.

[Q] 4.3 Tmobile Update via OTA

Just had a few Questions and needed to verify how to get the new 4.3 Update via OTA
Whats the best way to do it? My current setup is JM 18 (4.1.2) with MD1 Modem
I read in places (back when LTE was released in late March) and followed instructions on basically
1. Odin Factory image (thanx Tesh).
2. re-root through CF (without Custom Recovery)
3. run Triangle Away
4. re-Odin Teshes Factory image... lot of work but it did the trick... is there a "better" way of doing this?
Also, if I do the steps that I did last time... im pretty sure I would need to use tesh's MD1 Factory image, but would I use that with the same Odin 3.07 or do I need to update that as well. Anything else im missing (hopefully there is an easier way of getting this OTA
Ok, so just an update
I did in fact get the OTA by
1. Downloading tesh's md1 factory image and also root66's md1 root file
2. Using Odin 3.07 flashed the factory image
3. Used Odin to flash root66's root file
4. Used triangle away
5. Un installed triangle away (after it rebooted)
6. Used super su to full unroot (in settings tab)
7. Re flashed same factory image a second time
8. Through stock recovery wiped cache and factory reset (used both for good measure, not sure if just factory reset would have done it though)
Everything worked and got the OTA.
Not sure if there was a faster way of doing all this though, as I have been out of practice for some time and haven't really followed along in the threads for some time... but I can confirm this method works
Sent from my SGH-T889 using xda app-developers app

What will interfere with OTA updates?

Hello guys. I got my Note 8 at the holidays, I used OTA to get the 4.2.2 update, and I used autoroot, and just checked my recovery and I have Philz touch 5 installed.
When I check for OTA updates, I find the message your device has been modified, no updates available.
I am running stock 4.2.2. Do I need to unroot and return to stock recovery for OTA updates? I did not remove any apps or freeze anything. The only difference is recovery and being rooted. This question is in anticipation of the release of 4.4 kitkat, slated to be pushed to our device- but I'm not holding my breath for when that will be.
Thanks for your input!
sashusmom said:
Hello guys. I got my Note 8 at the holidays, I used OTA to get the 4.2.2 update, and I used autoroot, and just checked my recovery and I have Philz touch 5 installed.
When I check for OTA updates, I find the message your device has been modified, no updates available.
I am running stock 4.2.2. Do I need to unroot and return to stock recovery for OTA updates? I did not remove any apps or freeze anything. The only difference is recovery and being rooted. This question is in anticipation of the release of 4.4 kitkat, slated to be pushed to our device- but I'm not holding my breath for when that will be.
Thanks for your input!
Click to expand...
Click to collapse
Hi, I had rooted my 4.2.2 and installed a bunch of root apps... At this time, my Kies says there are no updates available. You will have to wait for 4.4.3 to come out for any update feature to work.
For myself I will do a factory system reset to bring my tablets update apps out of freeze and clear out any cache and the apps that were installed. Once the tablet is booted, I use Kies to push the new firmware once it is released.
Care should be used in restoring apps... many are not 4.4.3 compatible like 4.2.2. So some issues will arise with using customizations. I may hold off another year before installing 4.4.3... I don't like being a tester, been doing that for 30 years now, and like the stability of 4.2.2.
gooberdude said:
Hi, I had rooted my 4.2.2 and installed a bunch of root apps... At this time, my Kies says there are no updates available. You will have to wait for 4.4.3 to come out for any update feature to work.
For myself I will do a factory system reset to bring my tablets update apps out of freeze and clear out any cache and the apps that were installed. Once the tablet is booted, I use Kies to push the new firmware once it is released.
Care should be used in restoring apps... many are not 4.4.3 compatible like 4.2.2. So some issues will arise with using customizations. I may hold off another year before installing 4.4.3... I don't like being a tester, been doing that for 30 years now, and like the stability of 4.2.2.
Click to expand...
Click to collapse
Thanks for that reply. So, will putting back to factory system reset take root off too? And restore factory recovery? Thanks again gooberdude.
I have kies set up. And good tip about apps not being compatible with updated platform. I hope to remember that when the time comes!!
sashusmom said:
Thanks for that reply. So, will putting back to factory system reset take root off too? And restore factory recovery? Thanks again gooberdude.
I have kies set up. And good tip about apps not being compatible with updated platform. I hope to remember that when the time comes!!
Click to expand...
Click to collapse
Actually if you are using SuperSU you can do a complete wipe of root... Titanium Backup also has a root remover option. I think both force a reboot when given the ok to wipe. I found by doing the factory reset clears out root and all the apps as well all in one stroke. Though it will take some time while it initializes a fresh copy of the OS.
Rooting does not play with boot loaders, or partitioning. It is just like any common app so to speak but are system files to allow root access permissions with apps. So even if you leave a root alone, a ROM upgrade should overwrite the root files as they are not protected or hard encoded into a partition in any way.
I do believe any full ROM upgrade will remove all system mods. But it is good practice to wipe the old OS settings by doing a factory reset. Kies will do all that is needed for installing a new ROM. As it is designed to do that function in the best manner possible.
For the most part Odin is a tool that requires a certain amount of user input to perform tasks... it is not fully automatic as to clearing and formatting key areas before loading custom firmware. As custom firmwares may load differently than OEM ROMs.
gooberdude said:
Actually if you are using SuperSU you can do a complete wipe of root... Titanium Backup also has a root remover option. I think both force a reboot when given the ok to wipe. I found by doing the factory reset clears out root and all the apps as well all in one stroke. Though it will take some time while it initializes a fresh copy of the OS.
Rooting does not play with boot loaders, or partitioning. It is just like any common app so to speak but are system files to allow root access permissions with apps. So even if you leave a root alone, a ROM upgrade should overwrite the root files as they are not protected or hard encoded into a partition in any way.
I do believe any full ROM upgrade will remove all system mods. But it is good practice to wipe the old OS settings by doing a factory reset. Kies will do all that is needed for installing a new ROM. As it is designed to do that function in the best manner possible.
For the most part Odin is a tool that requires a certain amount of user input to perform tasks... it is not fully automatic as to clearing and formatting key areas before loading custom firmware. As custom firmwares may load differently than OEM ROMs.
Click to expand...
Click to collapse
That's what I thought too. I am surprised that OTA says I have altered the OS, so I can't do OTA upgrade. The only thing I think I have done is root. I just can't remember 3 months ago if I tweaked it any other way.
I have used ODIN- mostly when I got this tablet back in November. Had to learn how to use it, but it was fine. I always read 3 times, and do things correctly Sort of like measure twice, cut once:silly: Most likely will odin back to stock when the time comes. More work, more brain power required
sashusmom said:
That's what I thought too. I am surprised that OTA says I have altered the OS, so I can't do OTA upgrade. The only thing I think I have done is root. I just can't remember 3 months ago if I tweaked it any other way.
I have used ODIN- mostly when I got this tablet back in November. Had to learn how to use it, but it was fine. I always read 3 times, and do things correctly Sort of like measure twice, cut once:silly: Most likely will odin back to stock when the time comes. More work, more brain power required
Click to expand...
Click to collapse
I re-read your original post... you said you installed a custom recovery. The only way to get your OTA back is to do a factory root load. There was one to download somewhere on a rooting thread, or on a custom recovery thread.
If you do perform the custom recovery removal, you may also have to run triangle away to clear out the counters and reset to zero.
Since I had a full custom setup before reverting back to OEM, I had everything done in order. Triangle away running to clear counter, custom recovery and SuperSu.
Before I started with Odin to load my factory ROM, I first removed root with SuperSU, as Triangle Away was properly setup to perform the clear counter. Once I removed SuperSU and rebooted. I then ran Triangle Away and had it reset to boot to stock recovery uploader. Then used Odin to perform the factory ROM install.
=================
Now since you are probably jumping around... I would try seeing if your custom recovery is still intact. Try to boot into your custom recovery, an if so clear all cache and userdata and format your partition, and load the factory ROM from SD. It may perform all the actions for your OEM ROM to be detected properly.
If you by chance have cleared out the custom recovery, then it is a matter of installing Triangle away, and performing the reset of counters. Once done and rebooted, Kies should show your device's ROM info without any issues from your previous customizations.
gooberdude said:
I re-read your original post... you said you installed a custom recovery. The only way to get your OTA back is to do a factory root load. There was one to download somewhere on a rooting thread, or on a custom recovery thread.
If you do perform the custom recovery removal, you may also have to run triangle away to clear out the counters and reset to zero.
Since I had a full custom setup before reverting back to OEM, I had everything done in order. Triangle away running to clear counter, custom recovery and SuperSu.
Before I started with Odin to load my factory ROM, I first removed root with SuperSU, as Triangle Away was properly setup to perform the clear counter. Once I removed SuperSU and rebooted. I then ran Triangle Away and had it reset to boot to stock recovery uploader. Then used Odin to perform the factory ROM install.
=================
Now since you are probably jumping around... I would try seeing if your custom recovery is still intact. Try to boot into your custom recovery, an if so clear all cache and userdata and format your partition, and load the factory ROM from SD. It may perform all the actions for your OEM ROM to be detected properly.
If you by chance have cleared out the custom recovery, then it is a matter of installing Triangle away, and performing the reset of counters. Once done and rebooted, Kies should show your device's ROM info without any issues from your previous customizations.
Click to expand...
Click to collapse
Great info! Thank you Gooberdude! And I don't Jump .LOL. I just take it one step at a time....Smoothe, then if things are screwed up, I jump around!!! And call out for help!!! And duh- I forgot custom recovery is a problem.
I think I have access to both recoveries. Is that possible? I think I can get into the stock recovery by holding down the correct buttons sequence, but can get into Philz by using my cheat app that I really love, Flapps PowerTool. I'll review what I have and how to do the button sequence to pull up stock recovery and post back.
Thank you for the detailed instructions...Appreciate it. It will probably be awhile before kit kat is put out for our Note 8's anyway.
*********************************************************
Nope. Just Philz custom.
sashusmom said:
Hello guys. I got my Note 8 at the holidays, I used OTA to get the 4.2.2 update, and I used autoroot, and just checked my recovery and I have Philz touch 5 installed.
When I check for OTA updates, I find the message your device has been modified, no updates available.
I am running stock 4.2.2. Do I need to unroot and return to stock recovery for OTA updates? I did not remove any apps or freeze anything. The only difference is recovery and being rooted. This question is in anticipation of the release of 4.4 kitkat, slated to be pushed to our device- but I'm not holding my breath for when that will be.
Thanks for your input!
Click to expand...
Click to collapse
Here ya go http://forum.xda-developers.com/showthread.php?p=50156744
Sent from my SM-N900V using Tapatalk

[Q] TWRp can't restore backup/wipe cache.dalvik.etc

I am trying to restore a backup made with TWRP. Here's what has happened so far:
Flashed TWRP several weeks ago. I've made several backups with no problems.
Flashed NK2 radio with no apparent problems.
Full wipe of phone. Phone was not rooted at this point.
Flashed 5.01 GPE ROM.
Phone boots and I get the "Kernal not SELinux enforcing" message (ugh...KNOX). Phone won't boot to new rom. I can only get to TWRP.
Try to restore backup. TWRP checks MD5 on backup-it passes and then screen blanks and TWRP reboots. It does this several times.
After research I restore phone to stock MB4 through Odin.
Phone boots into Android and is indeed 4.4.2 MB4.
Using Unified Toolkit re-flash TWRP and then proceed to root phone. After procedure SuperSU gives me "SuperSU has stopped" msg. Follow toolkit procedure to get around KNOX. SuperSU runs and I also install Busybox. Reboot phone. Root not held. Redo toolkit procedures to attain root. Still lose it upon reboot.
TWRP still reboots when trying to do anything involved with the filesystem (restore backup--wipe cache and dalvik--none works. TWRP blanks and reboots.) . At this point I'm scratching my head. I'd like to restore the backup and also root and change to GPE. I'm thinking this comes down to not being able to do anything in the filesystem due to root not being held. Any suggestions as to how to get root to stick so I can do the restore and change ROMS? Thanks folks.
Steve KS4KJ
If you don't have root you wouldn't have twrp, you would have the stock recovery.
You need to do a factory reset and start from there.
If you can't do it in twrp, flash back to stock with Odin, then do a factory reset. At this point you may have corrected what got borked by flashing the 5.0 rom.
I would recommend flashing to latest firmware NH7 or NK2 and running phone for 24hrs just to make sure there are no issues and that everything works.
ShinySide has links in general section.
Pp.
PanchoPlanet said:
If you don't have root you wouldn't have twrp, you would have the stock recovery.
You need to do a factory reset and start from there.
If you can't do it in twrp, flash back to stock with Odin, then do a factory reset. At this point you may have corrected what got borked by flashing the 5.0 rom.
I would recommend flashing to latest firmware NH7 or NK2 and running phone for 24hrs just to make sure there are no issues and that everything works.
ShinySide has links in general section.
Pp.
Click to expand...
Click to collapse
In flashing the stock 4.4.2 rom (which is where my phone was when I started this journey) I have done a reset haven't I? That is what I did when the 5.0 GPE rom wouldn't boot. I can certainly try loading the 4.4.4 NK2 rom and seeing what that will do. Pretty sure I did not root before using the toolkit to replace the stock recovery with (originally) CWM and then later with TWRP. I remember wanting to do a Nandroid backup before installing the 4.4.4 OTA (which then didn't work because I had changed the stock recovery). I keep thinking that KNOX is involved with this but not sure what to try to remedy it (other than the 4.4.4 suggestion which I will try). Thanks for the reply.
Steve
The only thing Knox does is tell Samsung if you rooted and installed a custom recovery, and that is only while your still under warranty (12 months ) after you get the phone. After that warranty runs out they don't give a hoot what you do to your phone.
You need to flash it twice so that it works properly, after d/l Samsung info app, in play store and check that you have current bootloader and modem .
And use Chainfire's auto root to root afterwards.
Pp.
PanchoPlanet said:
The only thing Knox does is tell Samsung if you rooted and installed a custom recovery, and that is only while your still under warranty (12 months ) after you get the phone. After that warranty runs out they don't give a hoot what you do to your phone.
You need to flash it twice so that it works properly, after d/l Samsung info app, in play store and check that you have current bootloader and modem .
And use Chainfire's auto root to root afterwards.
Pp.
Click to expand...
Click to collapse
I'll try that. Thanks again.

Please help....How to wipe everything out and start from scratch?

Hi All,
I have been having some issue with one of my box, it is rooted running stock version 51.1.0.1 .
i have completed the following steps of the rooting process.
1) block updates on router
2) rooted (installed towleroot, supersu, busybox)
3) disabled update on AFTV box via adb command
4) Unlock partial bootloader
5) installed latest CWM at this point fire tv restarts but does not boot up in to CWM recovery.
I can get into CWM via Alt + prntscr + i using my keyboard. i did the wipe data/factory reset thru CWM and it clean up everything i rooted again installed CWM and it still wont boot up in CWM so may the firmware is corrupt?
What should i do? Should just flash pre roted rbox ROM and installed Rbox boot menu and see if i can get in CWM or should i wipe everything from AFTV and start again.
How do i wipe everything out using CWM? I read a lot tread on xda forms but didn't see a detail guide, i would appreciate if someone could give me all the baby step in exact order i should perform and if you could use the same terminology that is used in CWM menu that would be great, please.
Please note i have rooted at least 8 box before (updates blocked, rooted, bootloader unlock, install cwm, installed pre-rooted ROM and Rbox manu) so i am familiar with the process but one can always mess up.
Thank you
You're approaching this in a differnt angle than I'm used to--is there a reason you use stock firmware? With custom recovery, I'd venture to say a factory reset will do what you want it to and performing it will give you a clean slate and though updates will try to download they won't install.
I do this but I run rbox firmware...
1. Reboot recovery
2. Factory reset in cwm
3. Confirm it (this will wipe user data)
4. Reboot system
This should get you back to the registration page. You'll lose EVERYTHING except su. First thing I do is pm disable updates again. Once that's done you should be good tonset it all up--install busybox, all your apps.
I just worry because I use custom ROMs and never did this with stock. On your average android device keeping stock firmware wouldn't bother me but aftv is a little different since there's no doubt they don't want you rooted with custom recovery. I'd go to the dev threads and ask questions or flash prerooted ROMs. You might want to update incrementally as some have reported issues when they skip updates, not critical but it might be in your best interest.
And of course when I refer to updates I mean preroot not stock.
KLit75 said:
You're approaching this in a differnt angle than I'm used to--is there a reason you use stock firmware? With custom recovery, I'd venture to say a factory reset will do what you want it to and performing it will give you a clean slate and though updates will try to download they won't install.
I do this but I run rbox firmware...
1. Reboot recovery
2. Factory reset in cwm
3. Confirm it (this will wipe user data)
4. Reboot system
This should get you back to the registration page. You'll lose EVERYTHING except su. First thing I do is pm disable updates again. Once that's done you should be good tonset it all up--install busybox, all your apps.
I just worry because I use custom ROMs and never did this with stock. On your average android device keeping stock firmware wouldn't bother me but aftv is a little different since there's no doubt they don't want you rooted with custom recovery. I'd go to the dev threads and ask questions or flash prerooted ROMs. You might want to update incrementally as some have reported issues when they skip updates, not critical but it might be in your best interest.
And of course when I refer to updates I mean preroot not stock.
Click to expand...
Click to collapse
Hi,
I did the factory reset from CWM i forgot to mentioned this on intial post, sorry about that. It went thru the whole process, i re rooted and everything but again after installing CWM aftv did not boot in CWM so i thought maybe i should wipe everything out and start over instale fresh stock firmware.
Maybe the fireware is corrupted or the partition. I tried to down grade and upgrade to stock version but AFTV wouldn't installed the updates.
For me go get in CWM using ALT+PRINT SYS+I option is really pain full, after trying if for a 3 days and spending at least 2 hours each day i was able to get in so i thought start from scratch would might work.
thank you
ashsha7877 said:
Hi,
I did the factory reset from CWM i forgot to mentioned this on intial post, sorry about that. It went thru the whole process, i re rooted and everything but again after installing CWM aftv did not boot in CWM so i thought maybe i should wipe everything out and start over instale fresh stock firmware.
Maybe the fireware is corrupted or the partition. I tried to down grade and upgrade to stock version but AFTV wouldn't installed the updates.
For me go get in CWM using ALT+PRINT SYS+I option is really pain full, after trying if for a 3 days and spending at least 2 hours each day i was able to get in so i thought start from scratch would might work.
thank you
Click to expand...
Click to collapse
If I'm hearing you correctly I think I know your problem. You can't flash stock firmware with cwm. Rbox has protections in place thatbwont letbthis happen and for good reason--doing so could brick your device. You need the preroot ROMs. Follow aftvnews starters guide because I only had to do this once and I'm not certain I remember exactly. I think there's a certain version you should start with and some users find its better to update incrementally.

Categories

Resources