Moto X XT1060 re-root VZW after [KXA21.12-L1.26] Moto X ver. 4.4.4
So without checking before updating to 4.4.4 version 231.46.1.ghost_ _en.US *my build number has a ".1"* KXA21.12-L1.26.1. I lost root access, was kinda bummed, so I tried a few methods to re-flash to get root access again. And a few trial and error I was able to get root access again.
My setup and steps:
My setup:
Moto X Dev.Ed. XT1060 vzw
Macbook / terminal
Got recovery images and steps from flashing bacak to stock at www.motorola.com, follow steps got back to stock minus relock bootloader (still unlocked bootloader), used the fastboot from the "Darwin" folder
Step from www.motorola.com:
$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot flash modem NON-HLOS.bin -*** I skipped this step was following older step from text file
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot
Lost root access, FML!
Solution:
Used old twrp recovery - TWRP 2.6.3.1 for Android 4.4 [2013-11-19] *big up to hashcode :good:* got root access again,
Hope this helps
That is a very old version of twrp you are using my friend.
You will always lose root when fastboot flashing an entire rom, and usually lose root when taking an OTA.
IF you have an unlocked bootloader, you can always root by following -> http://forum.xda-developers.com/moto-x/moto-x-qa/instructions-unlocking-rooting-dev-ed-t2649738 Please be sure to use the latest TWRP fastboot IMG file (Alternate Link) and Installable ZIP of SuperSU
I.e. if your bootloader is unlocked, just flash TWRP reocvery, and use it and SuperSU to root.
Related
Hello all,
I did not see this in any of the other numerous threads and was wondering if this would work. I downloaded the official 4.2.2 update being I can not OTA it. The update always fails when CWM comes up. I am rooted and used the Nexus 4.0 root kit to root the tablet originally. I have upgraded the bootloader to 4.18 by pushing the image file and fastboot and was wondering if I could do the same for the system and user data file images as well to upgrade. I have Voodoo OTA root keeper as well.
From what I can see in the flash-all.bat file that comes with the update this is its contents:
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot oem unlock
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-grouper-4.18.img
fastboot reboot-bootloader
ping -n 10 127.0.0.1 >nul
fastboot -w update image-nakasi-jdq39.zip
echo Press any key to exit...
pause >nul
exit
From what I can tell this script is just to do all the standard wipes but take it a step further to basically format the tablet to allow the install of the update.
From inside the image-nakasi-jdq39.zip I find the following files:
android-info.txt which only has one line of text in it which is:
require board=grouper require version-bootloader=4.18
boot.img << I am assuming this is the upgraded bootloader
recovery.img << Stock recovery instead of TWRP or CWM
system.img << The meat and potatos of 4.2.2
userdata.img << no clue but i'm assuming its important being it is 104 meg file.
If I temp unroot with Voodoo OTA root keeper then push system.img and userdata.img through fastboot should it:
1) overwrite anything causing the OTA to fail originally?
2) cause any damage?
3) allow me to keep CWM without losing all my data?
4) work?
Thanks for any help ahead of time :good:
Moto X XT1060 re-root VZW after [KXA21.12-L1.26] Moto X ver. 4.4.4
So without checking before updating to 4.4.4 version 231.46.1.ghost_ _en.US *my build number has a ".1"* KXA21.12-L1.26.1. I lost root access, was kinda bummed, so I tried a few methods to re-flash to get root access again. And a few trial and error I was able to get root access again.
My setup and steps:
My setup:
Moto X Dev.Ed. XT1060 vzw
Macbook / terminal
Got recovery images and steps from flashing bacak to stock at www.motorola.com, follow steps got back to stock minus relock bootloader (still unlocked bootloader), used the fastboot from the "Darwin" folder
Step from www.motorola.com:
$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot flash modem NON-HLOS.bin -*** I skipped this step was following older step from text file
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot
Lost root access, FML!
Solution:
Used old twrp recovery - TWRP 2.6.3.1 for Android 4.4 [2013-11-19] *big up to hashcode :good:* got root access again,
Hope this helps
_slam said:
Lost root access, FML!
Solution:
Used old twrp recovery - TWRP 2.6.3.1 for Android 4.4 [2013-11-19] *big up to hashcode :good:* got root access again,
Hope this helps
Click to expand...
Click to collapse
You will always lose root when fastboot flashing an entire rom, and usually lose root when taking an OTA.
IF you have an unlocked bootloader, you can always root by following -> http://forum.xda-developers.com/moto-x/moto-x-qa/instructions-unlocking-rooting-dev-ed-t2649738 Please be sure to use the latest TWRP fastboot IMG file (Alternate Link) and Installable ZIP of SuperSU
Hello ,
I tried rooting my Moto G5 using Moto G5 toolkit (flashing superSU).
Then I flashed TWRP and Flashed the WLAN_CUSTOM
Now i get that generic warning screen of unlocked boot loader and boots the phone in 5 seconds. however My phone is not rooted. and I cant open camera at all , getting error as " Camera Busy - Camera unable to start. If this happens again, please power off your phone and restart."
I did restarted several times but no luck.
Can someone help me fix this camera issue? or just help me to revert back as it was previously no root nothing, I guess this TOOLKIT has some bugs in it or may be I did something wrong or ignorant.
Any help will be appreciated as I am newbie with this android development.
Probably easier to reflash the stock firmware, if you still want to have root then maybe follow one of the root guides available rather than the tool kit, if you're not wanting root and want to stay on stock firmware then read this carefully ensuring you download the correct firmware for your device:
https://forum.xda-developers.com/g5-plus/help/relock-bootloader-t3601751/page2
A bit more reading from the moto website regarding returning to stock:
FLASH AND RELOCK YOUR DEVICE
After downloading the image for your device:
Make sure you have a Moto Pure Edition or a Developer Edition device.
Make sure you download the corresponding recovery image from the above portal.
To flash, put the phone in fastboot mode:
1. Power OFF your device
2. Then Power ON + Volume Down
Alternatively, you can reboot into fastboot mode if you have adb...adb reboot bootloader.
Next flash the images using fastboot:
$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot flash modem NON-HLOS.bin
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot
You also have the option to erase all the data on your device with
$ fastboot erase userdata
$ fastboot erase cache
After performing this sequence, you can relock your device with
$ fastboot oem lock
Priezti said:
Probably easier to reflash the stock firmware
Click to expand...
Click to collapse
I thanked you for him
That's why those tools only harm... People don't like to read...
It easy, you had a compilation not compatible with the toolkit (using kernel and wifi for another build version), that's why camera got broken
Simply reflash the firmware and for future instances, try to read instead using automatic tools
Priezti said:
Probably easier to reflash the stock firmware, if you still want to have root then maybe follow one of the root guides available rather than the tool kit, if you're not wanting root and want to stay on stock firmware then read this carefully ensuring you download the correct firmware for your device:
https://forum.xda-developers.com/g5-plus/help/relock-bootloader-t3601751/page2
A bit more reading from the moto website regarding returning to stock:
FLASH AND RELOCK YOUR DEVICE
After downloading the image for your device:
Make sure you have a Moto Pure Edition or a Developer Edition device.
Make sure you download the corresponding recovery image from the above portal.
To flash, put the phone in fastboot mode:
1. Power OFF your device
2. Then Power ON + Volume Down
Alternatively, you can reboot into fastboot mode if you have adb...adb reboot bootloader.
Next flash the images using fastboot:
$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot flash modem NON-HLOS.bin
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot
You also have the option to erase all the data on your device with
$ fastboot erase userdata
$ fastboot erase cache
After performing this sequence, you can relock your device with
$ fastboot oem lock
Click to expand...
Click to collapse
Thank You for your help. I will surely try this in case of Apocalypse.
I flashes ElementalX and my camera started working. . I dont trust this TOOLKIT thing anymore. Old Paramparik mehod is good.:silly:
Thank you for your all the help. Will bug you guys again if ran into trouble. :cyclops:
Phone : TYPE: M266C MODEL:XT1687. (G5 Plus, 4GB, from AMAZON, unlocked).
Currently on NPN25-137-33.
I'm fed up with the upgrade notifications to NPNS25.137-35-5 (not to mention It really interferes with day to day use). So it's time to upgrade.
But, as it's TWRPed, I cant just use the OTA update.
So, If I download POTTER_NPNS25.137-35-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip from here anroidfilehost , will running the following fastboots (the undeleted ones) solve this issue and leav me with an updated, working TWRPed phome?
Code:
[STRIKE]$ fastboot flash partition gpt.bin[/STRIKE]
[STRIKE]$ fastboot flash motoboot motoboot.img[/STRIKE]
[STRIKE]$ fastboot reboot-bootloader[/STRIKE]
[STRIKE]$ fastboot flash logo logo.bin[/STRIKE]
[STRIKE]$ fastboot flash boot boot.img[/STRIKE]
[STRIKE]$ fastboot flash recovery recovery.img[/STRIKE]
$ fastboot flash system system.img
[STRIKE]$ fastboot flash modem NON-HLOS.bin[/STRIKE]
$[STRIKE] fastboot erase modemst1[/STRIKE]
[STRIKE]$ fastboot erase modemst2[/STRIKE]
[STRIKE]$ fastboot flash fsg fsg.mbn[/STRIKE]
$ fastboot reboot
I see no reason to repartition (first striked out command) - am I right ?
DO I need to flash motoboot or any other boot/bootloader image ?
$ fastboot flash system system.img should be run for each of the 5 img_sparsechunk.[0-4]?
And of course - have a current backup ready
Any advice will be appreciated.
Ben
No ideas anyone ?
Ben
I updated to 137-33-5.
Phone was TWRP'ed and rooted with Magisk.
I flashed all the items except "erase user data", if I remember correctly.
flashed TWRP, boot image, and rooted again.
All is well
Thank you !
Will try it in a few days (need my phone working now )
So, in the end, and after realizing that with each update I will have to fastboot again, decided to custom ROM my phone.
Installed RR yesterday.
I do not know whether my EFS and Persist are intact but I have backed them up. I had installed Pixel Experience 9.0 and then restored my TWRP backup to go to Stock Oreo, Build Number: OPSS28.85-13-5. This is my current Build, unlocked, rooted and has TWRP.
Can I follow this (https://forum.xda-developers.com/g5-plus/development/stock-firmware-npn25-137-67-5-fastboot-t3694738) guide to go back to Stock Nougat and then upgrade to the latest official update from moto?
I am asking to confirm as the Stock ROM given in the guide is Nougat ROM and I am on Oreo as mentioned above. I won't have any problems right? I do not want to lose VoLTE and my IMEI.
Any help will be appreciated.
Installed Oreo ROM via fastboot on my Moto G5 Plus [RETIN/Indian/ XT1686]
I am sharing my experience here so that it might help someone looking to flash stock ROM via fastboot. This is not meant to be a tutorial, but I will list out the steps I followed. I am not responsible if you mess up or hard/soft brick your device when following the steps I mentioned below. Always make a backup of your data/photos/videos/music and whatever else. Also make a backup with TWRP to be safe.
So instead of following the guide linked in the above post, I followed this one and successfully unrooted and returned to stock: https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
But I did not use the ROM linked by the OP in that thread. Instead I downloaded this one : https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
This RETIN ROM works for me because I have the Indian XT1686. I don't know if it matters but I had the same version (13-5) before, but I am not sure whether it was RETAIL or RETIN.
Anyways guys make sure you download the right ROM for your device if you are going to install via fastboot. You can download the right ROM for your device from here: https://mirrors.lolinet.com/firmware/moto/potter/official/
There are different folders for ROMs of different regions in the above link. So carefully download the one your device is compatible with.
Also, I installed fastboot drivers from here: https://forum.xda-developers.com/showthread.php?t=2588979
Follow the instructions and also follow the video tutorials in the post to install fastboot drivers if your phone isn't detected in fastboot.
Then once I had downloaded the ROM and installed ADB, I extracted the ROM zip into a folder. Copy pasted ADB Files into the same folder (download ADB Files that worked for me _ attached to this post below).
FInally I put my phone in fastboot (turn off phone, then press volume down and power simultaneously till fastboot shows up). Connected the phone to my PC. Then opened CMD in the folder where I had extracted the ROM and copy pasted the ADB Files. To open cmd in a folder, just type cmd in the address bar of the folder and press enter.
And then I copy pasted the following code into the cmd window:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
The above commands will run when pasted in cmd and your phone will be flashed with the ROM. It took a couple minutes to install and then I had to press enter while still in cmd to reboot the phone. Then the phone rebooted. Took a couple minutes more to boot, so stay patient. Then once the phone booted, I disconnected it from my PC and set the phone up as usual. DO NOT disconnect the phone when the fastboot commands are running and the ROM is being flashed. Note that the above fastboot commands will only flash the ROM. It will not lock the bootloader.
If you want to lock the bootloader then follow the instructions here: https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433
Note that I haven't locked my bootloader. So you will have to try and see for yourself whether it locks your bootloader.
Also once I booted up I got update notification and was able to update to the Feb 2019 OTA security update. So I can for sure say that updates work. VoLTE, calling, camera, almost everything I checked works.
Cheers. :victory: