[Q] Unroot Tmo M8? - T-Mobile HTC One (M8)

Hello,
Is flashing back to stock nandroid backups found in this forum the only way to unroot? Is there any way to remove root and keep exiting system data?

Boot your phone to TWRP recovery mode by turn off your phone then presses Vol up + Power to boot into bootloader then choose RECOVERY. There is a more simple way, by using “adb reboot recovery”.
Once came into TWRP main menu, now tap Mount -> Mount system then taps Home.
Tap Advanced -> File Manager, browse to “/system/xbin” folder. From there delete su, daemonsu or busybox if it exists. Also browse to “/system/app” the get rid of Superuser.apk.

Related

[Q] Android system Recovery - need Windows-recovery.bat

I had 2.1 and root / super root and now I have 2.2 and root. I am using Steal's Deodexed Stock Rom. All is good except when I reboot into HBOOT I get 0.79 which doesn't really let me do anything with options except Fastboot, Recovery, Clear Storage, Simlock and HBOOT USB. I go into Recovery.
I get the Red Triangle with a ! in it.
I hold down the vol up and power and I get the Android system recovery and down at the bottom it says E:Can't open /cache/recovery/command
The usual options with Android System Recovery such as reboot, apply sdcard:update.zip, wipe and wipe cache partition.
From here I can execute the windows-recovery.bat from a XP P.C. and get the menu that again says Android System Recovery only now I can usb toggle, Backup/Restore, Flash a zip, wipe, partition, other and power off.
It seems like I was able to get this latter menu before without the PC and windows-recovery.bat but now I can't.
Is this the way it works or am I missing something?
I have searched the forums several times and haven't really seen what might answer my question.
I do use Rom Manager (which I know doesn't work well for some people) and Titanium Backup.
Thanks

CM6 Bootloader Loop Error! EVO 4G

I Have An Evo 4G, Rooted With UnrEVOked Forever. Used Rom Manager to Install Clockmod Recovery And To Install Cyanogen Mod 6. Before This, I Put a PC36IMG zip that had Splash1 in it, from the unrevoked site and instead of saying HTC EVO 4G in a bright white screen, its UNREVOKED with bright white screen. it then goes into a cyanogen mod bootloader animation that i got off the market called Boot changer lite or something? and it loops over and over showing either the cyanogen mod title, or it just gets to the cyan dude with a skateboard but freezes. i tried putting different PC36IMG files and using clockmod recovery to push it on sd and load it, but it says
-- Installing: /sdcard/PC36IMG.zip
Finding update package...
Opening update package...
Installing Update...
Installation Aborted.
HELP ME PLEASE!!!
Flash a stock rooted ROM from http://goo-inside.me/evo/stock/ and then using ROM Manager, flash the alternate recovery (Amon_RA Recovery 1.8.0), then download CyanogenMod 6.1.2 ( http://goo-inside.me/cm/supersonic/stable/ ), copy it to the root of your SD card, remove any PC36IMG.zip, boot into recovery, and flash the ZIP from there.
how do i use rom manager when my screen is looping the boot animation over and over? i can flash stock rooted rom using clockwork recovery 3.0.0.2, and flash the recovery amon_RA? im sorry i am a noob and i would ask for step by step, not very detailed but to where i can know what to do first, if you have time?
1) Flash the stock rooted 3.70.651.1 ROM from my link above (here it is again), via ClockworkMod Recovery.
I'm going to assume you have an older phone with the older partition structure. For more information, and to tell what structure you have, check out this thread once you complete Step 1, before you do Step 2. I'm also going to assume you have the Android SDK installed and set up. If you do, just open your Command Prompt, cd to your SDK\platform-tools folder, and run the command "adb shell cat /proc/mtd" (without the quotes). If you see an erase size of 20000, then continue. If you see 40000, STOP and let us know.
DO NOT CONTINUE IF YOU HAVE THE NEW PARTITION ERASE SIZE OF 40000!
2) Once you boot up into the ROM, download ROM Manager from the Market, if it's not already included in the ROM. You will of course have to add your Google account in order to access the Market.
3) Open ROM Manager, scroll to the bottom, and tap "Flash Alternate Recovery"
4a) Once it has finished flashing, download CyanogenMod 6.1.2 using your browser at the above link (here's the link again). You'll want the file update-cm-6.1.2-Supersonic-signed.zip.
4b) Also download the attached FORMAT_ALL.zip. This will help ensure you don't have any files from Sense accidentally carry over into CM.
4c) Finally, download the latest HDPI Google Apps package from here (the latest one has a link at the top of the page, and is the gapps-hdpi-20101114-signed.zip file).
5a) If you downloaded via your phone, use a file manager of your choice (I like Root Explorer, but there's free ones like OI File Manager in the Market) to move the three ZIPs from /sdcard/download/ to /sdcard/ (aka, the root of your SD card).
5b) If you downloaded via your computer, attach your phone to your computer via USB, turn on Disk mode, and copy the three ZIP files to the root of your SD card.
6) Power off your phone, then hold down Volume Down and Power to turn it back on. If you're taken to a white screen with skating Androids on the bottom (aka, hboot), then press Volume Down until RECOVERY is highlighted, then press the power button.
7) You should now be at a black screen with yellow text. This is Amon_RA recovery. Press Volume Down until you highlight Backup/Restore, and press Power. Press Volume Down and highly Nand Backup, and press Power again. Press Power one more time to confirm the start of the backup. It'll then take a few minutes to perform the backup (depending on how fast your SD card is).
8) Once it's done, you'll be back at the Backup/Restore menu. Make sure Return is highlighted, then press Power. Press Volume Down until Flash zip from sdcard is highlighted, then press Power to select it. Use Volume Down to highlight FORMAT_ALL.zip and press Power twice to select it, then confirm the flash.
9) Once that's done, scroll back to Flash zip from sdcard, then select update-cm-6.1.2-Supersonic-signed.zip. Press Power twice to select then confirm it.
10) Finally, go back to the Flash zip from sdcard menu one last time, highlight gapps-hdpi-20101114-signed.zip, and press power twice to select and confirm.
11) Finally, select Reboot phone now, and wait. The first boot will be a few minutes (it has to rebuild its caches), but after it's loaded, the Tutorial "Welcome to your PC36100" screen will show up. Congratulations, you have CyanogenMod!
thanks aloottt mate! cm6 is runnning amazing, but where can i get my gapps back? just the gapps, i downloaded "youtube" and "mail!" but i click the app and it says Force Close Everytime? i have angry birds and all from custom downloads and theyre fine, just the gapps is what i want. can i get the market at least? or a substitute like appbrain?
If you followed the directions I gave, it tells you to download the gapps package, and flash it. Make sure you flash the HDPI package only, not the MDPI or MDPI-tiny.

[GUIDE] Rooting AND Unrooting NS4G using a Mac

I’ve compiled this information, found elsewhere, in order to make it easier for Mac users with the Nexus S 4g. I’ve simply combined BuglessPete’s Instructions for Rooting/Unrooting on the NS4g, with kenvan19’s Guide to Root on a Mac. All credit goes to them and the sources they cited in their original threads. Any errors here are my own. This method worked for me. The only change I’ve made is to link to the most recent version of Clockwork Recovery.
[NOTE: If Pete prefers, this information can be incorporated into his original thread, and a Mod can delete this]
Warning: If you break your phone trying this, I am not responsible. I do not guarantee that the following is safe or that the steps are correct. Rooting your phone voids the warranty. I have no responsibility for anything that occurs as a result of your following these directions! I cannot provide any support nor guide you in undoing this process and restoring the phone to factory condition.
This process will wipe your phone. Ie, you will lose all your apps/data on your phone and have to reinstall them. It will also wipe your external storage, so back that up prior to proceeding if you want to keep anything.
1) Download this file and unzip it to your desktop (Inside you'll find all the files you need to proceed including "adb", "fastboot", "recovery-clockwork-3.0.0.5-crespo.img", and "su-2.3.6.1-ef-signed.zip"). Immediately delete "recovery-clockwork-3.0.0.5-crespo.img." You’ll replace it with the new version.
2) Download Clockwork 4.0.0.2 (****MAKE SURE YOU SELECT ONE OF THE NS4G VERSIONS*****) in the color of your choosing. Move the file into the adb-fastboot folder you created in Step 1.
3) On your phone, go to Menu>Settings>Applications. Select "Development" and check the box next to "USB debugging"
4) Connect the phone to your Mac via the USB cable
5) Open a Terminal window on your Mac (Applications>Utilities>Terminal), and copy/paste the following into the Terminal:
Code:
~/Desktop/adb-fastboot/adb reboot bootloader
Hit "Return" and wait for your phone to reboot into Bootloader/Fastboot mode
5) If your Bootloader screen says "LOCK STATE - UNLOCKED" then skip to Step 6. If it says "LOCK STATE - LOCKED" then copy/paste the following into the Terminal:
Code:
~/Desktop/adb-fastboot/fastboot oem unlock
Hit "Return" and on your phone will prompt you to confirm and warn you that you are going to lose everything. Confirm. At this point you will have an unlocked bootloader.
6) Copy/paste the following into the Terminal window (***Change the file name to the appropriate color***):
Code:
~/Desktop/adb-fastboot/fastboot flash recovery ~/Desktop/adb-fastboot/ns4g-4002-COLOR.img
Hit "Return" again and wait for recovery to boot.
For the following steps while in Recovery, use "Volume Down" to highlight a selection and "Power" to choose that selection:
8) Choose "mounts and storage"
9) Choose "mount USB storage". Your phone should now be mounted on the Mac as a Device called "NO NAME"
10) Move the zip file "su-2.3.6.1-ef-signed.zip" from the "adb-fastboot" folder to the "NO NAME" Device on you computer.
11) Eject/unmount your phone in the Finder on your Mac.
12) On your phone, choose "Unmount"
13) Choose "mount /system"
14) Choose "+++++Go Back+++++"
15) Choose "install zip from sdcard"
16) Choose "choose zip from sdcard"
17) Choose "su-2.3.6.1-ef-signed.zip"
Some people with new Nexus S' are finding that the file discussed in the following steps does not exist. If you cannot find it but can still reboot into Clock Work Recovery Mod then don't worry, you're still rooted and fine!
At this point you have root, but your phone will continue to replace ClockworkMod Recovery on reboot. To prevent this, do the following:
1) Reboot your phone, and download the app "Root Explorer" from the Market
2) Open Root Explorer and navigate to the "etc" directory.
3) Tap on the gray box that says "Mount R/W"
4) Tap and hold on the file "install-recovery.sh" and rename this file to "install-recovery.sh.old"
5) Download the app "ROM Manager"
6) Open ROM Manager and choose "Flash ClockworkMod Recovery". At this point you are all set.
To Unroot and Return to Stock:
1) Download Stock GRJ22 Software Images.
2) Unzip the files, and place the images into the adb-fastboot folder you created on your desktop above.
3) Open a terminal and use the following commands:
Code:
~/Desktop/adb-fastboot/adb reboot bootloader
4) Wait for bootloader to reboot on phone.
5) Then, in terminal use the following commands:
Code:
~/Desktop/adb-fastboot/fastboot flash boot ~/Desktop/adb-fastboot/boot.img
~/Desktop/adb-fastboot/fastboot flash system ~/Desktop/adb-fastboot/system.img
~/Desktop/adb-fastboot/fastboot flash recovery ~/Desktop/adb-fastboot/recovery.img
~/Desktop/adb-fastboot/fastboot flash userdata ~/Desktop/adb-fastboot/userdata.img
~/Desktop/adb-fastboot/fastboot erase cache
~/Desktop/adb-fastboot/fastboot oem lock
6) Reboot to System, and you should be returned to Stock, Unrooted GRJ22.
hey i just rooted the phone. I can't see the install file in root explorer and I can't boot into the recovery anymore. what do i do?
nevermind i got it
Root explorer will not let me make /etc R/W. I press the gray button that says "Remount as R/W" but nothing happens
hmpm9 said:
Root explorer will not let me make /etc R/W. I press the gray button that says "Remount as R/W" but nothing happens
Click to expand...
Click to collapse
I'm not sure if you're reading the instructions correctly. You don't create /etc R/W.
In root explorer go to /etc directory and click on "Mount R/W" then rename the install file.
If there is a remount option, you probably already mounted.
Awesome thanks.
This is great, thanks. Is anyone having success? I have to wait until after work to do this.
hmpm9 said:
Root explorer will not let me make /etc R/W. I press the gray button that says "Remount as R/W" but nothing happens
Click to expand...
Click to collapse
Some root apps require BusyBox in order to work properly.
Edit: I think nandroid backup and BusyBox install should be part of every proper root guide.
FYI: The second steps 1-6 are ONLY necessary if clockwork recovery doesn't stick.
I didn't have to use these steps myself.
To see if it stuck, turn phone off. Then hold Volume UP + Power to enter bootloader. Then enter recovery, if it enters Clockwork Recovery. You're fine, and you don't need to do the second steps 1-6.
-Nick
Thanks man, just unrooted my phone to return it for the e3d. Worked absolutely flawlessly. Great write up.
Worked to unroot. Had to give it a couple tries but got it to work. Thanks for the great tutorial!
Thank you, It took me 5 mins and I now have root on my NS4G!!!
2) Download Clockwork 4.0.0.2 (****MAKE SURE YOU SELECT ONE OF THE NS4G VERSIONS*****) in the color of your choosing. Move the file into the adb-fastboot folder you created in Step 1.
Im not able to download this file... I tried all three... and it keeps saying Mounting Failed.
What am I doing wrong?
PLEASE HELP!!!! Im new to rooting... Im tired of paying people to do the rooting for me I want to learn on my own...
Thank you.
Lokario90 said:
2) Download Clockwork 4.0.0.2 (****MAKE SURE YOU SELECT ONE OF THE NS4G VERSIONS*****) in the color of your choosing. Move the file into the adb-fastboot folder you created in Step 1.
Im not able to download this file... I tried all three... and it keeps saying Mounting Failed.
What am I doing wrong?
PLEASE HELP!!!! Im new to rooting... Im tired of paying people to do the rooting for me I want to learn on my own...
Thank you.
Click to expand...
Click to collapse
You can see that as giving back to the economy in one way...
I could swear when i rooted early this morning on my virgin NS4G, it was 3.0.something and now i see it is now 4.0.something. Anyway i had to get inventive as the SD card would not mount on my Mac when i got to that part. Basically rebooted normally to reg Android, transferred SU to SD card(it mounted then) and got back to the step to flash SU. Did that manually, got a hold of ROM manager and all's well.
Only issue is that more often than not it still boots to the blue recovery and not CWM, and sometimes the Android guy with yellow rectangle. When that happens, i connect to Mac via USB and get to CWM via terminal.
But on the whole, ROM manager is a saviour. Been playing with MIUI rom now and it's impressive.
I assume the right way to boot into CWM is to hold down volume key and power key at the same time?
Trying to unroot to send it back for a replacement. At "~/Desktop/adb-fastboot/adb reboot bootloader" I'm getting "error: device not found." It's driving me bat****. Any ideas?
jckeyser - I know it might sound stupid but did u try a different usb cable? i just came across same issue as you. was unable to get my device to show up. Turns out cable i was using for some reason wasn't working with NS4G. It was my old Palm Pre cable. i swapped my cable for one that came with my kindle and device immediately showed up without any problems
jckeyser said:
Trying to unroot to send it back for a replacement. At "~/Desktop/adb-fastboot/adb reboot bootloader" I'm getting "error: device not found." It's driving me bat****. Any ideas?
Click to expand...
Click to collapse
You're missing a dash. It's
adb reboot-bootloader
.
Or you could boot into fastboot by powering on using volumeUp+Power.
2.3.5
Hey guys, just got the NS4G yesterday and want to root using this method. The best buy associate updated me from 2.3.4 to 2.3.5 without my knowledge and I was curious if this method would still work. If not, is there one that will.
Thanks
techdude54 said:
Hey guys, just got the NS4G yesterday and want to root using this method. The best buy associate updated me from 2.3.4 to 2.3.5 without my knowledge and I was curious if this method would still work. If not, is there one that will.
Thanks
Click to expand...
Click to collapse
Yes it will work just fine.
Sent from my Nexus S 4G using XDA App

[How To] use Rom Manager to backup roms in MAGLDR

Hi Friends,
I have searched here on xda and hasnt found an guide on this so wanted to share with you. I was looking to backup my rom using the rom manager and I was on MAGLDR 1.13. Usually when you flash clockwork mod recovery from within the rom manager it damages the recovery in MAGLDR. so here are the steps to get it going:
1. Install the rom manager from market
2. Flash the clockwork mod recovery within the rom manager (this breaks our recovery)
3. Download the latest recovery image from here
4. Then extract the file (recovery_leo.img) in the root of C: (that is where it comes handy)
5. Connect your device to pc and check whether is shown under
Code:
adb devices
command
6. Then go the command prompt and enter the following commands:
Code:
adb shell
su
flash_image recovery c:\recovery_leo.img(the image file which we extracted)
7. Then go back to ROM MANAGER on your phone and select backup current rom(as soon as you do it your phone will reboots)
8. Press and hold the powerdown on the MAGLDR screen to access the MAGLDR menu and scroll to the AD Recovery option by using the volume buttons then press the green call key.
9. Voila!! It will start backup and then reboot back you to the rom. There you have your backup from the ROM MANAGER.
PS: The same thing can be done via the CWM's Backup & Restore menu just wanted to share what I have found.
that's a good shortcut for backing up roms , it will save time going into CWM and manually selecting the nandroid backup. So pretty much this suspends the command for a backup in the rom manager until you boot into CWM from MGLRD.
Awesome, if only we could figure out a way to automate the command to reboot and select AD Recovery that would be perfect.
for that we need the source code for MAGLDR

How unroot?

Hi to all. I got an used m8, i noticed is s on and locked but got root. How can i remove it? I tried with supersu with the unroot optiin but not worked. If i remove supersu app get root access without needed permissions. Thx
http://bharathsunny.hubpages.com/hub/How-to-Root-HTC-one-M8-Step-by-step-Guide
follow the instruction.
Unrooting procedure:
Yes,there is an un-rooting procedure also for this mobile.We should appreciate the work done by the developers.To unroot,simply follow the steps below.
*Uninstall weak sauce app,
*Un-install supersu app.
*Do a ADB reoot for your device.
That's it.Your phone has been successfully unrooted.
Click to expand...
Click to collapse
I tried to unroot my phone using the unroot option in SuperSu but after a reboot its still there. Best way i found was to use TWRP recovery mode. Make sure thats installed then....
Boot your phone to TWRP recovery mode by turn off your phone then presses Vol up + Power to boot into bootloader then choose RECOVERY. There is a more simple way, by using “adb reboot recovery”.
Once came into TWRP main menu, now tap Mount -> Mount system then taps Home.
Tap Advanced -> File Manager, browse to “/system/xbin” folder. From there delete su, daemonsu or busybox if it exists. Also browse to “/system/app” the get rid of Superuser.apk.
Hope that helps
thx to all, in the end i finally choose to re root with aio toolkit and put android revolution rom

Categories

Resources