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 bootloaderThen 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 rebootYou'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.oldThen 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 recoveryIf 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.oldThen select reboot in ClockworkMod recovery and boot as normal.
Finally, run:
adb reboot recoveryIf 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 bootloaderThen 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 rebootYou'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.oldThen select reboot in ClockworkMod recovery and boot as normal.
Finally, run:
adb reboot recoveryIf 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!
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
I managed to install it, it got really tricky. The thing is that the new Lineageos releases somehow fail the verification on twrp and the old lineageos recovery. I found out after hours of investigating that you need the *new* Lineageos recovery to flash the new lineageos. I know, it's pretty absurd.
I extracted the boot.img from lineage-15.1-20180724-nightly-tissot-signed.zip extracting the payload.bin from the zip and using this tool https://androidfilehost.com/?fid=818070582850510260.
You can download the boot.img I extracted myself here: https://drive.google.com/file/d/1QftMHTXrINAOfr3Pcaqyux9nHRnGTnKl/view?usp=sharing
Put the phone on fastboot mode, connect via usb and type:
Code:
fastboot boot boot.img
while pressing the volume-up button to enter the Lineageos recovery.
From there do a factory reset, wipe system, and now you can flash lineage-15.1-20180724-nightly-tissot-signed.zip.
To flash it, it gets tricky. First of all you can't flash from the sdcard because it shows up an error. So you go to update, and press install from ADB or something like that. Now you have the phone on adb sideload mode.
Download https://developer.android.com/studio/releases/platform-tools. Adb from XDA's "Minimal ADB and Fastboot" doesn't work for some reason.
Unzip the file, open a command prompt on that folder and type:
Code:
adb devices
It has to show up as something like this:
Code:
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
xxxxxxxxxxx sideload
Where xxxxxxx is the phone id.
Then you can proceed to flash. Just type:
Code:
adb sideload lineage-15.1-20180724-nightly-tissot-signed.zip
Wait until it completes, it seems to freeze at 50% or so but wait some minutes until the progress bar on the recovery finishes and reboot.
Now you should be booting lineageos and set up it as usual. I hope this guide helped, took me some hours to figure it all out.
To install su addon, download it from https://mirrorbits.lineageos.org/su/20180718/addonsu-15.1-arm64-signed.zip, place the zip in your internal storage, download this recovery https://basketbuild.com/filedl/devs...ewolf/Recovery/tissot/twrp-3.2.2-1-tissot.img (thx nicknitewolf) and boot it via fastboot:
Code:
fastboot boot twrp-3.2.2-1-tissot.img
From there flash the su addon as usual and enjoy. Probably this method works also for opengapps/mindthegapps, i didn't have time to test it.
Rather, just use Abhishek's recovery image and twrp (V3.2.3) installer zip and get the job done.
Once you've installed the official LineageOS 15.1: Can you then update your system from Settings -> System -> About phone -> LineageOS updates without needing to ever flash something from TWRP again?
Disclaimer: I am not responsible for bricking your device or bootloop. Also, note that modifying /system may/will break further OTA updates. So, please try it at your own risk.
1. Download any bootanimation and make sure to change the name to bootanimation only. You can get it from here. Link: https://forum.xda-developers.com/and...nware-t3721978 (Credit goes to @mauam)
2. Go to device settings/Developers option and turn on USB debugging
3. Make sure you have ADB tool installed properly in your computer.
4. Connect your device to the computer using the USB cable.
5. Now open ADB tool folder and paste the bootanimation zip file here.
6. On the same ADB folder, press shift+right click and open command box.
7. Type: adb shell mount /system
8. Now type: adb push bootanimation.zip /system/media
9. Type: adb shell unmount /system
10. Type: adb shell reboot
N.B. Result may vary depending on the device model.
1 click debloater for stock rom (Android 8)
This will perform clear data,force stop, disable and uninstall commands for unnecessary bloatwares on moto e5 stock rom.
Instructions:
1/Extract debloat.zip & move debloat.bat to platform tools folder.
2/Click on file path and type cmd to open command prompt there.
3/Turn on usb debugging on your mobile & type "adb devices" to start the connection.
4/Double click on debloat.bat
5/Reboot
Dark & black theme for stock rom (Android 8)
This contains dark & black themes with different accent colours.
Instructions:
1/Extract Themes.zip
2/Move all files from the themes folder to platform tools folder.
3/Click on file path and type cmd to open command prompt there.
4/Turn on usb debugging on your mobile & type "adb devices" to start the connection.
5/Double click on themes.bat
6/After the reboot, go to settings>display>device themes. You can select any theme you love. My favourite: blue-black theme.
Custom boot logo for stock/custom rom
This boot logo is created by moto boot logo maker. It hides the n/a on top left while rebooting. The resolution of this boot logo is 720*1440 (Moto e5 display)
Instructions:
1/Move the logo.bin file to platform tools folder.
2/Click on file path and type cmd to open command prompt there.
3/Turn on usb debugging on your mobile & type "adb devices" to start the connection.
4/Next commands:
adb reboot bootloader
fastboot flash logo logo.bin
fastboot reboot
Custom bootanimation for custom rom
This one is rog(gaming) bootanimation. I edited the desc file to adjust it's resolution with moto e5.
Download link: here
Instructions:
1/Install and open mt file manager.
2/Move the bootanimation file to system>media and replace the original bootanimation.
3/Long press on the file, go to property and modify the permissions to rwrr(644).
4/Reboot
Font change for stock/custom rom
Read this thread
Updated*