[Q] Rooting - Nexus S Q&A, Help & Troubleshooting

Hi,
by following this guide
http://forum.xda-developers.com/showthread.php?t=1007782
I have completed everything.
After reading this guide here.
http://theunlockr.com/2010/12/17/how-to-root-the-samsung-nexus-s/
VI. Stop the Phone from Uninstalling the Custom Recovery Image
1. Once the phone is booted up, plug it in via USB cable and do NOT mount the storage.
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
3. That will mount the system as writable and rename the file that overwrites the recovery image on reboot so that our custom recovery will stay.
4. Turn off the phone and turn it back on by holding down Volume Up and Power to get into fastboot mode.
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
5. Once it is done, you have just reflashed the recovery image and it will now stick. You are all done! You have an unlocked bootloader, a custom recovery image, and root access! If you want to now load a custom ROM head to the next procedure linked below.
Note : I haven't flash any custom ROM yet.
1.Is it necessary for me to Stop the Phone from Uninstalling the Custom Recovery Image if I want to flash a new Custom ROM?
1.a. After i reboot, My phone is still Rooted. How do i test it? I go into fastboot then select reboot. After that I use terminal Emulator and key in SU. which says I've granted superuser permission. Is this normal?
2. I like to understand more things about Android rooting and recovery.
what are the differences between the 2?

Related

[Q] Cant load Reovery from fastboot

I "attempted" to root my NS following these directions:
I. Before You Begin
1. This will unlock your phone’s bootloader (so you can flash recoveries and ROMs), and can be undone very easily (unlike the Nexus One).
2. This WILL ERASE all your information on the phone.
II. Setup ADB
1. Head to our How To Setup ADB procedure, once you can see your phone’s serial number after typing adb devices then come back to this procedure and continue.
(MAKE SURE YOU FOLLOW ALL THE STEPS IN THE WRITTEN PROCEDURE AS THERE HAVE BEEN UPDATES ADDED).
III. Unlock the Bootloader
1. Turn off your phone.
2. Turn it on by holding Volume Up and Power until fastboot mode comes up.
3. Plug the phone in via USB cable to your computer while it is in fastboot mode.
4. Open a command prompt on your computer by clicking on the Start menu button and typing cmd and hitting enter in the search box.
5. In the command prompt that pops up, type the following with hitting enter at the end of each line:
cd c:\androidsdk\tools\
fastboot oem unlock
6. At this point the phone will ask you to confirm, select yes. You now have an unlocked bootloader.
IV. Flash a Custom Recovery Image
1. Download the custom recovery image and save it to your computer:
ClockworkMod Recovery for Nexus S
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe)
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of each line:
fastboot flash recovery recovery.img
4. Once it is flashed, leave the phone in plugged in and in fastboot mode.
V. Root the Phone
1. In fastboot mode, select Recovery using the volume buttons and power button and wait for it to boot into recovery mode.
2. Download the Superuser flashable zip file and save it to your computer.
Superuser for Android 2.0 and Up Flashable Zip
3. Once in recovery mode, select Mounts and Storage then select Mount USB Storage so we can transfer files to the sd while it is in recovery mode.
4. Copy the Superuser.zip file to the root of your internal storage (do NOT extract it, do NOT put it in any folders, just on the phone’s storage itself).
5. Select Unmount on the phone.
6. Select Mount System, then select Go Back to get back to the main menu.
7. Then scroll to flash zip from sdcard and then choose zip from sd card and select the superuser.zip file and wait for it to finish flashing.
8. Once it is done, select Go Back then Reboot System and wait for the phone to reboot.
VI. Stop the Phone from Uninstalling the Custom Recovery Image
1. Once the phone is booted up, plug it in via USB cable and do NOT mount the storage.
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
3. That will mount the system as writable and rename the file that overwrites the recovery image on reboot so that our custom recovery will stay.
4. Turn off the phone and turn it back on by holding down Volume Up and Power to get into fastboot mode.
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
5. Once it is done, you have just reflashed the recovery image and it will now stick. You are all done! You have an unlocked bootloader, a custom recovery image, and root access! If you want to now load a custom ROM head to the next procedure linked below.
I ran into an issue near the end with this step under VI:
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
I used root explorer to mount and rename the file since I couldnt get it to mount with adb shell. My issue now is that when I boot into fastboot mode and go to recovery, I get the error icon (The android with the triangle with the ! in the middle). I cant for the life of me figure out how to get recovery back. It also does not recognize my device in fastboot mode with adb devices but does recognize it when its booted into the regular os. Any ideas?
This is solved. Apparently the directions are a little sketchy.
When it got to this step:
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
the adb reboot bootloader command would not work. Skipping it solved my problem.

[Q] Rooting from stock 3.1

OK, I may be overlooking something but I would rather ask than brick my xoom. I cant seem to find a thread that fits my situation.
I relocked and flashed all stock software to get the 3.1 update so im locked and stock with 3.1. I would like to root and flash CWR. Can someone point out the right Boot.img, recovery.img ect for me to use. I would hate to mess something up.
Thank guys
----------Edit--------------------------
NVM. This is what I did................
All steps below were for my 3G Verizon Wireless Xoom. The steps are almost the same for WiFi but the files you need to download are different and must be found on the threads listed below.
I have attached all the files listed in 3.1 Root and Recovery Tools.rar
Unlocked and rooted my Xoom
Steps found here:
http://forum.xda-developers.com/showthread.php?t=968342
1. Download the Motorola Xoom Root Zip file and unzip it. (I replaced this file with the root31.img)
2. Place the files in the SDK Tools folder.
3. adb reboot bootloader (You can skip the next 3 steps if you’ve unlocked with fastboot previously)
5. fastboot oem unlock (wait for reboot)
6. adb reboot bootloader
7. fastboot flash boot (name of new boot.img(root31.img attached))
7. fastboot reboot (wait for reboot)
(you might need to enable usb debuging here)
8. adb remount
9. adb shell push su /system/bin
10. adb shell ln –s /system/bin/su /system/xbin/su
11. adb shell chmod 4755 /system/bin/su
12. adb push Superuser.apk /system/app
_______________________________________________________
Flashed CWR
Steps found here:
http://forum.xda-developers.com/showthread.php?t=1074979
1. Download the recovery image ( I used the image that keeps charging light on)
2. Pull up your command prompt
3. Adb reboot bootloader
4. Fastboot flash (name of recovery.img (CWR.img attached))
5. Fastboot reboot
_______________________________________________________
Flashed Kernal
Steps found here:
http://forum.xda-developers.com/showthread.php?t=978013
1. Reboot into recovery.
2. Go into "mounts and storage"
3. Select "mount USB storage"
4. Your SD Card will now be mounted on your computer. Drop the kernel (and boot image pack if applicable) onto SD Card.
5. "Go Back" then go into "install zip from sdcard" then "choose zip from sdcard"
6. If you are flashing a boot image pack, flash it first. Then flash the kernel zip.
7. Back out to main menu and reboot.
_______________________________________________________
I am not taking credit for any of these steps I am simply trying to put the info in one place for people who need it.
If you have a wifi only > http://forum.xda-developers.com/showthread.php?t=1078019
Sent from my Xoom using Tapatalk

How I rooted my Thunderbolt 2.11.605.9

I got a new Thunderbolt and it came with 2.11.605.9 on it and would not downgrade no matter what I tried.
All these instructions and links came from several different posts on various forums.
This is the combination of things that worked for me to gain root access to the device.
The information and links I take no credit for.
Hope this helps someone as it has helped me.
I did not loose my data with this.
The text in purple are links to needed files, just put http:// in front of them.
Unlock the bootloader
htcdev.com/bootloader
Install Clockwork
• Get fastboot and adb tool for windows here: forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076
• Get Fastboot and adb for linux here: forum.xda-developers.com/attachment.php?attachmentid=630613&stc=1&d=1308537331
• Obtain clockworkmod recovery:
• HTC Thunderbolt/Mecha cwm-4.0.1.4-mecha.img: downloads.unrevoked.com/recoveries/cwm-4.0.1.4-mecha.img
• md5 : 7990c4d2a5967c0e2c694ba75a65b99d
• Move the recovery.img above to the same directory/folder/map as fastboot and navigate there with an open cmd prompt (WIN) or terminal (LINUX).
• Put the phone is Fastboot USB mode
Type adb devices and press enter. This should output your phones serial number
Type adb reboot bootloader and press enter. This will boot you into the fastboot screen (white with colored letters)
• Type fastboot flash recovery recovery_name.img replacing recover_name with the name of the file you wish to flash and press enter. <<< from a command line (use root for Linux- sudo ./fastboot flash recovery recovery_name.img)
Install the su package
goo-inside.me/superuser/su-3.0-efgh-signed.zip
1. Copy su-3.0-efgh-signed.zip to your sdcard root
2. Start clockworkmod recovery :
---A. Unplug USB
---B. Turn the device off
---C. Hold volume down button (HOLD IT) and press power
---D. Hboot will start. Navigate to recovery with the vol down button. Press power to select and enter recovery.
3. Select "install zip from sdcard"
4. Then select "Choose zip from sdcard"
5. Then select "su-3.0-efgh-signed.zip"
6. Then select "Yes - install su-3.0-efgh-signed.zip" to confirm
7. Then go back
8. Then reboot.
9. You're rooted!
Install Superuser from the market.
Install SuperManager from the market.
Install Busybox from the market.
Install Terminal Emulator from the market.
You can flash ROMs in the same manner the SU package was flashed.
If you want to edit / change system files you can su then remount the FS to rw with the following command within terminal or adb shell :
mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
snaganalf said:
I got a new Thunderbolt and it came with 2.11.605.9 on it and would not downgrade no matter what I tried.
All these instructions and links came from several different posts on various forums.
This is the combination of things that worked for me to gain root access to the device.
The information and links I take no credit for.
Hope this helps someone as it has helped me.
I did not loose my data with this.
The text in purple are links to needed files, just put http:// in front of them.
Unlock the bootloader
htcdev.com/bootloader
Install Clockwork
• Get fastboot and adb tool for windows here: forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076
• Get Fastboot and adb for linux here: forum.xda-developers.com/attachment.php?attachmentid=630613&stc=1&d=1308537331
• Obtain clockworkmod recovery:
• HTC Thunderbolt/Mecha cwm-4.0.1.4-mecha.img: downloads.unrevoked.com/recoveries/cwm-4.0.1.4-mecha.img
• md5 : 7990c4d2a5967c0e2c694ba75a65b99d
• Move the recovery.img above to the same directory/folder/map as fastboot and navigate there with an open cmd prompt (WIN) or terminal (LINUX).
• Put the phone is Fastboot USB mode
Type adb devices and press enter. This should output your phones serial number
Type adb reboot bootloader and press enter. This will boot you into the fastboot screen (white with colored letters)
• Type fastboot flash recovery recovery_name.img replacing recover_name with the name of the file you wish to flash and press enter. <<< from a command line (use root for Linux- sudo ./fastboot flash recovery recovery_name.img)
Install the su package
goo-inside.me/superuser/su-3.0-efgh-signed.zip
1. Copy su-3.0-efgh-signed.zip to your sdcard root
2. Start clockworkmod recovery :
---A. Unplug USB
---B. Turn the device off
---C. Hold volume down button (HOLD IT) and press power
---D. Hboot will start. Navigate to recovery with the vol down button. Press power to select and enter recovery.
3. Select "install zip from sdcard"
4. Then select "Choose zip from sdcard"
5. Then select "su-3.0-efgh-signed.zip"
6. Then select "Yes - install su-3.0-efgh-signed.zip" to confirm
7. Then go back
8. Then reboot.
9. You're rooted!
Install Superuser from the market.
Install SuperManager from the market.
Install Busybox from the market.
Install Terminal Emulator from the market.
You can flash ROMs in the same manner the SU package was flashed.
If you want to edit / change system files you can su then remount the FS to rw with the following command within terminal or adb shell :
mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
Click to expand...
Click to collapse
Sent from my ADR6400L using XDA App
i used these steps and I still have s on. When I tried to flash a new rom it gets stuck at the htc boot screen. Any help would be great!
I think I would use the downgrade to .5 then revolutionary from there..
something like this http://forum.xda-developers.com/showthread.php?t=1401959
z71kris said:
I think I would use the downgrade to .5 then revolutionary from there..
something like this http://forum.xda-developers.com/showthread.php?t=1401959
Click to expand...
Click to collapse
I tried this just now but when it goes through the integrity check it does not give me the option to update.
Yes, if you can downgrade at all do it that way. It's much simpler. If you aren't familiar with linux the above will be a hassle for you.
Reason being is, you have to remount the file system to read write every time you want to make a change. It resets to read only on reboot. Thus the s-on.
the weird thing is I already have a rooted devices cause I have the cwm recover still loaded on my device. Just can not flash anything over it. Im on windows 7 right now but I dual boot my laptop with linux mint.
I haven't tried to flash a ROM yet. I just wanted access to some system files so I could edit them.
But according to the post I got the Clockwork info from the below steps should work to flash ROMs.
1. Copy <ROMname>.zip (where <ROMname> is the name of the ROM zip file) to your sdcard root
2. Start clockworkmod recovery :
---A. Unplug USB
---B. Turn the device off
---C. Hold volume down button (HOLD IT) and press power
---D. Hboot will start. Navigate to recovery with the vol down button. Press power to select and enter recovery.
3. Select "install zip from sdcard"
4. Then select "Choose zip from sdcard"
5. Then select "<ROMname>.zip"
6. Then select "Yes - install <ROMname>.zip" to confirm
7. Then go back
8. Then reboot.
I don't know however if the ROM has to be signed.
need a hero
I followed this guide and every other guide to root my phone. I could not downgrade the way the other guides told me to the 2.11.605.5 at all. I followed this guide and when i was in the bootloader i did the whole fastboot flash and it worked but now my phone still says s-on (strange thing is that I have the clockwork recovery). I can flash any rom but nothing will take and I either go into bootloop or will not boot past splash screen. I need a true hero to save the day. It is my only phone and means of communication.
Did you get SU and busybox installed?
I'm not sure, I can't boot in any rom so if it was in the su.zip this guide linked me to yes, if not i didn't. Could this be the problem? Can I fix it through h-boot or recovery?
The method I used will allow root access but does not give you s-off.
I'm still looking for what has to be done for that.
apparently you have to have s-off in order to flash a ROM.
I was able to flash skyraider and now have my phone up and running. I updated superuser, installed Rom manager and flashed clockwork recovery. My phone still says s-on and will not boot any bamf 3.5 roms or the eternity rom, so I'm still kinda confused as to why. I would love to have a sense 3.5 Rom but I'm stumped...
That is strange, being able to flash one ROM but not others.
I still think it's got to do with the s-on/s-off.
Supposedly ICS is coming for the T-Bolt soon.
I'm hoping it won't be locked down like 2.11.605.9 is.
i rooted as soon as rooting was available, no downgrading or anything, it was easy as pie. js
Have you tried going to revolutionary's site after the OP method and try to get s-off... HTC method will not give you s-off & is not a true rooting tool..
Big thanks to the OP for putting this together!
This was the only way for me to gain root on a factory flashed 605.9 phone.
EDIT: i'm a linux user so i thought i would share what i did to get root. it's basically what the OP did with a linux twist.
1) Get Fastboot and adb for linux here: forum.xda-developers.com/attachment.php?attachmentid=630613&stc=1&d=1308537 331
2) Extract the zip to your home directory.
3) open a terminal and issue the following command: sudo chmod 777 fastboot adb
4) Unlock the bootloader using this site: htcdev.com/bootloader
5) you will need to register/login to use the unlocking features of this site.
6) once logged in follow the "unlock device" links to get to the instructions. use these instructions to put the phone into fastboot mode and connect it to the computer. you can ignore the rest of the instructions as most of them are for windows. just click through until you get to the part about submitting an "unlock token".
7) with the phone in fastboot mode and connected to the computer issue the following command in a terminal: sudo ./fastboot oem get_identifier_token
8) copy this token into the submit box and edit to make it look similar to the example on the same page. submit the token and you'll get an email with a file "Unlock_code.bin"
9) save "Unlock_code.bin" to your home folder then issue the command: sudo ./fastboot flash unlocktoken Unlock_code.bin
10) download clockwork recovery to your home folder from here: downloads.unrevoked.com/recoveries/cwm-4.0.1.4-mecha.img
11) issue the command: sudo ./fastboot flash recovery cwm-4.0.1.4-mecha.img
12) Download and install the superuser package
goo-inside.me/superuser/su-3.0-efgh-signed.zip
1. Copy su-3.0-efgh-signed.zip to your sdcard root
2. Start clockworkmod recovery :
---A. Unplug USB
---B. Turn the device off
---C. Hold volume down button (HOLD IT) and press power
---D. Hboot will start. Navigate to recovery with the vol down button. Press power to select and enter recovery.
3. Select "install zip from sdcard"
4. Then select "Choose zip from sdcard"
5. Then select "su-3.0-efgh-signed.zip"
6. Then select "Yes - install su-3.0-efgh-signed.zip" to confirm
7. Then go back
8. Then reboot.
s off??
mechanizedmedic said:
Big thanks to the OP for putting this together!
This was the only way for me to gain root on a factory flashed 605.9 phone.
EDIT: i'm a linux user so i thought i would share what i did to get root. it's basically what the OP did with a linux twist.
1) Get Fastboot and adb for linux here: forum.xda-developers.com/attachment.php?attachmentid=630613&stc=1&d=1308537 331
2) Extract the zip to your home directory.
3) open a terminal and issue the following command: sudo chmod 777 fastboot adb
4) Unlock the bootloader using this site: htcdev.com/bootloader
5) you will need to register/login to use the unlocking features of this site.
6) once logged in follow the "unlock device" links to get to the instructions. use these instructions to put the phone into fastboot mode and connect it to the computer. you can ignore the rest of the instructions as most of them are for windows. just click through until you get to the part about submitting an "unlock token".
7) with the phone in fastboot mode and connected to the computer issue the following command in a terminal: sudo ./fastboot oem get_identifier_token
8) copy this token into the submit box and edit to make it look similar to the example on the same page. submit the token and you'll get an email with a file "Unlock_code.bin"
9) save "Unlock_code.bin" to your home folder then issue the command: sudo ./fastboot flash unlocktoken Unlock_code.bin
10) download clockwork recovery to your home folder from here: downloads.unrevoked.com/recoveries/cwm-4.0.1.4-mecha.img
11) issue the command: sudo ./fastboot flash recovery cwm-4.0.1.4-mecha.img
12) Download and install the superuser package
goo-inside.me/superuser/su-3.0-efgh-signed.zip
1. Copy su-3.0-efgh-signed.zip to your sdcard root
2. Start clockworkmod recovery :
---A. Unplug USB
---B. Turn the device off
---C. Hold volume down button (HOLD IT) and press power
---D. Hboot will start. Navigate to recovery with the vol down button. Press power to select and enter recovery.
3. Select "install zip from sdcard"
4. Then select "Choose zip from sdcard"
5. Then select "su-3.0-efgh-signed.zip"
6. Then select "Yes - install su-3.0-efgh-signed.zip" to confirm
7. Then go back
8. Then reboot.
Click to expand...
Click to collapse
will this get s off? I dont think it does I did this with windows 7 and it didnt seaem to work
I think this is solved
topdogle1 said:
will this get s off? I dont think it does I did this with windows 7 and it didnt seaem to work
Click to expand...
Click to collapse
There is a thread about not having to downgrade that I was able to use to get s off in the Thunderbolt forums. search "Downgrade to get S-off is now unneccessary":laugh:
LaBlondeJames said:
There is a thread about not having to downgrade that I was able to use to get s off in the Thunderbolt forums. search "Downgrade to get S-off is now unneccessary":laugh:
Click to expand...
Click to collapse
This post HTCDev unlocks, but sadly does not S-OFF.
tool in sig but if you did this and unlocked you will have to wipe data to use it. (email me for instructions)

Need help preparing Xoom for official updates

Hey folks,
I´ve ran my MZ601 xoom on EOS builds over the last 1,5 years.
Obviously its unlocked and rooted. Currently its running CWM Recovery 4.0.0.4
Now I want to go back to stock to install the latest official updates to get the updated drivers for the UMTS radio/modem module.
After that I want to unlock and get root again to use any of the lastest custom Roms again.
Switching to a touch based recovery would be nice too.
I surfed around a bit and I´m rather confused which steps I need to perform in order to do this.
I guess I need to remove root and lock the bootloader again before I can install official updates ?
Could someone please toss me in the right direction? Maybe some step-by step list?
You'll presumably want Build H.6.1-38-1 for Retail Europe from here.
Returning to stock:
Extract the files from the link above to your adb/fastboot directory if you have one. If you don't have one I've uploaded them for you here.
Connect your Xoom to your PC then open command prompt from your adb folder. (Hold shift > right click on adb-fastboot folder > click Open Command Window Here)
Type adb devices and hit enter, if no devices are listed then ensure USB debugging is switched on in Settings > Development > and tick USB Debugging, then try again.
If it still doesn't appear then download Motorola USB drivers here and try again.
If fine then run:
adb reboot bootloader​Then run the following to flash the stock image:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock​
Flashing userdata.img is going to remove all your files so back everything up first.
This should unroot your Xoom anyway, not entirely sure if the lock is required to receive updates, but it's simple to unlock again.
Once booted and through initial setup you should receive several over the air updates. (I believe the stock image is Android 3.2)
Unlock:
Connect your Xoom again and open command window in the adb-fastboot folder as before.
Run:
adb reboot bootloader
fastboot oem unlock
fastboot reboot​You'll now be unlocked.
Install Touch Recovery and Root:
Next download ClockworkMod Touch recovery from here, rename it to just recovery.img for simplicity, and copy the image to the adb-fasboot folder.
Download Xoom Universal Root from here.
Copy that file to your sdcard.
Then run:
adb reboot bootloader
fastboot flash recovery recovery.img​(assuming you renamed it)
Once verified, reboot by holding Volume up and Power. (Keep connected to PC and keep command prompt open)
Important: When you see the Motorola logo wait about 3 seconds and hit volume down. You should see 'Android Recovery' in the top left corner, now press volume up to enter recovery.
From recovery go, Install zip from sdcard > choose zip > and select Xoom-Universal-Root.zip
Important: After the root flashes do not reboot.
Run:
adb remount
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.old​Then select reboot in ClockworkMod recovery and boot as normal.
If you are unable to use adb in recovery, then you can enable this through Windows by doing the following:
Whilst in recovery and connected to your PC, open Device Manager, find your Xoom, usually under 'Other devices'.
Then right click on your Xoom > Update driver software... > Browse my computer for driver software > Let me pick from a list of device drivers on my computer > Pick your Xoom (either one if there's two shown)
Windows should confirm the driver installed then adb should work in recovery.
Finally, run:
adb reboot recovery​If ClockworkMod touch recovery is still there then all is good!
Hopefully I've made sense! Any questions, just ask.
Repeat of downloads:
Download Motorola USB Drivers (Device Manager) here.
Download ClockworkMod Touch recovery here.
Download Xoom Universal Root here.
Wow, what a detailed guide
Thank you sir
No problem!
Let me know how it goes, hopefully shouldn't have any problems.
Resetting worked great :good:
Right now I´m in an OTA marathon
all that unlock, root and recovery stuff sounds familiar so I don´t expect any problems.
Thanks so far :good:
alecbond said:
From recovery go, Install zip from sdcard > choose zip > and select Xoom-Universal-Root.zip
Important: After the root flashes do not reboot.
Run:
adb remount
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.old​Then select reboot in ClockworkMod recovery and boot as normal.
Finally, run:
adb reboot recovery​If ClockworkMod touch recovery is still there then all is good!
Click to expand...
Click to collapse
Ok, so this is not working
after I flash touch recovery and do thta reboot thing I can enter touch recovery, thats fine.
Flashing universal root, fine.
THEN,
adb remount
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.old
gives me error since in recovery mode there ist no adb connection
Whatever when I choose to reboot the system, recovery warns me that it will get overwritten by boot and ask me to disable this.
Shall I do this?
EDIT: Nevermind, I decided to be a little brave and just confirmed that message.
Now touch clockwork seems to be persistent and I´m a happy Xoomer again
Sorry, I had meant to reply during my lunch break.
Edit: Realised the time on the second of your posts, so wouldn't have been much help on my lunch anyway
Well I believe I just learned something new!
Either that or I'd forgotten it asked.
I assume it disables the action rather than deletes those files.
My method was just so you can use the reverse rename in future to re-enable the overwrite on boot.
In future, not that you'll necessarily ever need this information, you can enable adb in recovery through windows by doing the following
When in recovery and connected to your PC, open Device Manager, find your phone, usually under 'Other Devices'.
Then right click > Update driver > Browse my computer > Let me pick from list > Pick your phone (either one if there's two shown)
Should confirm driver installed then adb should work.
I didn't include the above previously as I couldn't remember having to do it personally.
Glad to hear all is well though!
alecbond said:
You'll presumably want Build H.6.1-38-1 for Retail Europe from here.
Returning to stock:
Extract the files from the link above to your adb/fastboot directory if you have one. If you don't have one I've uploaded them for you here.
Connect your Xoom to your PC then open command prompt from your adb folder. (Hold shift > right click on adb-fastboot folder > click Open Command Window Here)
Type adb devices and hit enter, if no devices are listed then ensure USB debugging is switched on in Settings > Development > and tick USB Debugging, then try again.
If it still doesn't appear then download Motorola USB drivers here and try again.
If fine then run:
adb reboot bootloader​Then run the following to flash the stock image:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock​
Flashing userdata.img is going to remove all your files so back everything up first.
This should unroot your Xoom anyway, not entirely sure if the lock is required to receive updates, but it's simple to unlock again.
Once booted and through initial setup you should receive several over the air updates. (I believe the stock image is Android 3.2)
Unlock:
Connect your Xoom again and open command window in the adb-fastboot folder as before.
Run:
adb reboot bootloader
fastboot oem unlock
fastboot reboot​You'll now be unlocked.
Install Touch Recovery and Root:
Next download ClockworkMod Touch recovery from here, rename it to just recovery.img for simplicity, and copy the image to the adb-fasboot folder.
Download Xoom Universal Root from here.
Copy that file to your sdcard.
Then run:
adb reboot bootloader
fastboot flash recovery recovery.img​(assuming you renamed it)
Once verified, reboot by holding Volume up and Power. (Keep connected to PC and keep command prompt open)
Important: When you see the Motorola logo wait about 3 seconds and hit volume down. You should see 'Android Recovery' in the top left corner, now press volume up to enter recovery.
From recovery go, Install zip from sdcard > choose zip > and select Xoom-Universal-Root.zip
Important: After the root flashes do not reboot.
Run:
adb remount
adb shell mv /system/recovery-from-boot.p /system/recovery-from-boot.p.old
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.old​Then select reboot in ClockworkMod recovery and boot as normal.
Finally, run:
adb reboot recovery​If ClockworkMod touch recovery is still there then all is good!
Hopefully I've made sense! Any questions, just ask.
Repeat of downloads:
Download Motorola USB Drivers (Device Manager) here.
Download ClockworkMod Touch recovery here.
Download Xoom Universal Root here.
Click to expand...
Click to collapse
Hey, you did a great guide! Would you mind if I put that in the FAQ Thread?
"We think so supersonic and we make our bombs atomic" - Eagle Fly Free (Helloween)
Sent from my Nexus 10 using Tapatalk HD
XxLordxX said:
Hey, you did a great guide! Would you mind if I put that in the FAQ Thread?
Click to expand...
Click to collapse
No problem, I'd be honored!

[GUIDE] ZTE Mustang Root (Also known as ZTE Z998)

Hello People of the internet!
Today I will show a quick guide on how to root the ZTE Z998 Mustang phone!
The owner of this method has discontinued work with them so I'll go ahead and pass them on.
I DO NOT TAKE ANY CREDIT AT ALL!!!!!!! ALL CREDIT GOES TO stedman420!!!!!
Original Thread: http://unleashedprepaids.com/thread-8769.html
***REQUIREMENTS***
An AT&T ZTE Mustang Z998
A computer with ADB and Fastboot installed
**HERE'S A COUPLE GUIDES FOR QUICK AND EASY INSTALLATION OF ADB AND FASTBOOT IF NEEDED.**
*WINDOWS*(do not use this to install drivers though)
http://forum.xda-developers.com/showthread.php?t=2588979
*LINUX or MAC*
http://forum.xda-developers.com/showthread.php?t=2638673
**WARNING FOR MAC USERS**
Safari browser settings may need to be changed in order to download zip files without extracting them.
**WARNING FOR WINDOWS USERS**
If using Windows you will also need to install the phones drivers and due to issues with fastboot drivers koush's universal driver is recommended.
http://www.koushikdutta.com/post/universal-adb-driver
**DO NOT CONTINUE TO THE INSTRUCTIONS UNTIL THE ABOVE REQUIREMENTS ARE MET OR THE FOLLOWING WILL MOST LIKELY NOT WORK**
(All downloads will be below)
***INSTRUCTIONS***
1.) Download z998-cwm-recovery.img and place it ON YOUR COMPUTER preferably somewhere easy to remember (i.e. C:\ on windows or home directory on linux)
2.) Download one of the following zips and place it ON YOUR PHONES SDCARD
----SuperSU_v1.86-Z998.zip (only for rooting)
----Unofficial_CWM_Recovery_v6.0.3.7.zip (only for flashing custom recovery)
----Root_and_CWM_Recovery.zip (for both rooting and flashing custom recovery)
----Stock_Z998_Recovery.zip (only for restoring stock recovery)
3.) Plug your phone into computer and make sure Developer options and usb debugging is turned on in the phones settings menu
4.) Now open a terminal(or cmd.exe) on your computer and type
Code:
adb reboot bootloader
then press enter
5.) Once the phone vibrates you should be in fastboot mode. The phone will have a blank screen and the red light will be on.
6.) Now in your computers terminal type
Code:
fastboot boot z998-cwm-recovery.img
then press enter
7.) Your phone should now boot into cwm recovery. Once in recovery volume buttons will scroll up/down and the power button will select options
8.) Now on your phone scroll to and select install zip from sdcard and then find and install the root and/or recovery zip you downloaded in step 2
9.) After installation is complete you can unplug your phone from computer and as always make sure to MAKE A BACKUP using cwm recovery. Then just reboot to system and enjoy
***HELPFUL NOTES***
If you did not put the z998-cwm-recovery.img in your home directory or in your C:\ directory for windows then in step 6 where it says
Code:
fastboot boot z998-cwm-recovery.img
you will need to put in your exact file path to where the z998-cwm-recovery.img is on your computer
For example
Code:
fasboot boot C:\your\path\to\z998-cwm-recovery.img
Where C:\your\path\to\ would be the exact filepath to the z998-cwm-recovery.img on your computer
If using a Mac and you did not follow the guide posted above for setting up adb and fastboot you most likely will need to put ./ in front of your adb and fastboot commands
For example
Code:
adb reboot bootloader
Would be
Code:
./adb reboot bootloader
AND
Code:
fastboot boot z998-cwm-recovery.img
Would be
Code:
./fastboot boot z998-cwm-recovery.img
Also the no file_contexts error in cwm recovery can safely be ignored.
***BONUS QUICK TIPS***
**HOW TO MANUALLY BOOT PHONE INTO RECOVERY**
1.) Power phone off
2.) Press and hold volume up, and power button at the same time until your phone boots into recovery
3.) Once in recovery volume buttons scroll and power button will select options.
**HOW TO MANUALLY FLASH STOCK RECOVERY USING A ROOTED PHONE**
1.) Download z998-stock-recovery.img and place it on the root of your phones sdcard (on your sdcard not in any folders)
2.) Download and install Android Terminal Emulator from PlayStore on your phone if you have not already
3.) Open terminal emulator and type
Code:
su
then press enter
4.) Type
Code:
dd if=/sdcard/z998-stock-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
then press enter
***BIG PROPS CREDIT AND THANKS GOES TO***
Slay696 - for testing and stock files
Koush - for the awesomeness that's CWM and the Universal ADB Driver
Chainfire - For an outstanding root app(all credit for the app goes to him I just made it easy to install)
SuperSU on PlayStore
alpha6 - for mac testing and feedback
DOWNLOADS:
z998-cwm-recovery.img: http://az1.androidfilehost.com/dl/_...69652/23610159112650865/z998-cwm-recovery.img
Root_and_CWM_Recovery.zip: http://qc3.androidfilehost.com/dl/4...2/23321874045862492/Root_and_CWM_Recovery.zip
Stock_Z998_Recovery.zip: http://qc1.androidfilehost.com/dl/7...792/23321874045862493/Stock_Z998_Recovery.zip
SuperSU_v1.86-Z998.zip: http://qc4.androidfilehost.com/dl/2...9823/23321874045862494/SuperSU_v1.86-Z998.zip
Unofficial_CWM_Recovery_v6.0.3.7.zip: http://qc1.androidfilehost.com/dl/c...45862495/Unofficial_CWM_Recovery_v6.0.3.7.zip

Categories

Resources