Unroot/back to stock for rooted MXPE on 6.0 - X Style (Pure) Q&A, Help & Troubleshooting

Anybody know the best way to return to stock/unroot on a rooted MXPE on 6.0? I rooted the phone out of the box (came with 6.0 already) and want to return to stock to sell the phone (backlight bleed is driving me crazy).
Thanks in advance!

Restoring an unrooted stock nandroid backup and then flashing stock recovery would be the easiest way. If you don't have your own backups, you can get everything you need from this thread assuming you have an xt1575.

Ah perfect, thank you! I stupidly do not have a stock nandroid, so this helps greatly.
Under the "XT1575 stock unrooted TWRP backup" it is mentioned to put the unzip and then put the "stock unrooted 6.0" file in TWRP backup location. After unzipping that file, I cannot find a "stock unrooted 6.0" file, so I must just be unfamiliar with what it should be called. Do you have any idea? I can see the following:
1. boot.emmc.win
2. boot.emmc.win.md5
3. data.f2fs.win
4. data.f2fs.win.md5
5. data.info
6. system.ext4.win000
7. system.ext4.win000.md5
8. system.ext4.win001
9. system.ext4.win001.md5
10. system.info
Thank you for your help!

Those files you posted look like all the bits and pieces of a standard TWRP backup. Just put the folder containing all those files within your TWRP/BACKUPS directory and TWRP should be able to find it and restore it.

Related

[RUU] Froyo flashable RUU zip file!

Since I had to RUU my phone to stock sense today I had to create a flashable zip file since im on a Mac (unfortuately).
Anyways here is a link to the zip.
Instructions:
1) Backup everything (TI backup and nandroid backups via CWM).
2) Copy backups from SDcard of phone to your computer
3) Copy PG016IMG.zip to sdcard of your phone
4) Run adb reboot fastboot from adndroid sdk platform tools folder
5) Reboot recovery
6) Fastboot recovery will find the PG016IMG.zip and ask if you want to flash, say yes. It will check the file and start flashing.
7) You will see TP being bypassed twice, then the 3rd TP being flashed.
Once it complete the phone will reboot and you will be on stock HTC Sense Android 2.2.
Enjoy.
http://www.multiupload.com/1G88PQX30Q
md5: 27095270aa8e0708a1e774ac01ec6dd6
You are aware that we already have this, right? One "zip" RUU-Back to stock-2.3 zip removed completely
crump84 said:
You are aware that we already have this, right? One "zip" RUU-Back to stock-2.3 zip removed completely
Click to expand...
Click to collapse
edit: nevermind, I am now. Wish I had seen that before I had to go through compiling unshield and running unruu. It wasn't on the wiki. Oh well. thanks!

TWRP Backup Lollipop [22.39-5 OTA] EDIT 11/27/2014 latest [22.39-6 OTA]

I was able to create a TWRP backup of the ota after I installed it on my Moto X XT1095. I was able to flash this using TWRP from kitkat.
After flashing this, you will have the new ota, however it will not have the new baseband (you will retain the original baseband from your previous installation, in other words this does not include the modem). I believe that you should be able to flash this to any one of the XT variants as long as you are able to flash a custom recovery (in this case TWRP, I used 2.8.1.0 if that matters)
I had to create new folders on the internal storage due to the fact that I was unable to create a backup of kitkat. All I did was create a new folder on the internal storage called TWRP, inside that folder I created a folder called BACKUPS within that folder I created a folder that has the unique alpha-numeric name to each device, and finally in that folder I placed this backup file. TWRP/BACKUPS/unique alpha-numeric name/2014-11-09--11-34-04 LXE22.39-5. Then I booted to my TWRP recovery performed a factory data reset along with wiping cache and dalvik, then performed the restore.
If you don't know what your unique alpha-numeric folder name is, you can find this by booting to twrp and try to perform a backup (this is how I found out what my folders name was). I got an error, within that error was the path (it is verbatim and case sensitive).
If anyone wants to try this, here is the link.
Unzip and place in the folder I described.
22.39-5 OTA
https://mega.co.nz/#!3QNmBJZD!6wRby9lwl2gWI0Lxtwq1sKZ7DGGYAs7vtP44GmZZwBQ
MD5-63a4a2eb969c1d37b543f17dec3a64e1
22.39-6 OTA
https://mega.co.nz/#!rdEVmKIR!9wt03nACOf_Gbwt1FzXwnmKkg9lcrCcQqBtlqBZMCTI
MD5-1288b96e0b90d02273ed4f2f4235273d
Let me know how it goes. I won't be able to offer much help other than what is provided here, if I have the time I will try. I hope I didn't make this to confusing. If it works for you, hit the "thanks".
Moderators, If this is not in the correct category please feel free to move it. Thanks
i appreciate you sharing this... question for u (or to make sure i understand how you tested the 5.0 Nandroid): after flashing the OTA, did you restore your 4.4.4 Nandroid (confirm it works: calls, data, etc.), factory reset and wipe and then restore your Lollipop 5.0 Nandroid (boot and confirm it works: calls, data, etc.)? thanks in advance for your reply.
cortez.i said:
i appreciate you sharing this... question for u (or to make sure i understand how you tested the 5.0 Nandroid): after flashing the OTA, did you restore your 4.4.4 Nandroid (confirm it works: calls, data, etc.), factory reset and wipe and then restore your Lollipop 5.0 Nandroid (boot and confirm it works: calls, data, etc.)? thanks in advance for your reply.
Click to expand...
Click to collapse
After the inital OTA, I wanted to see if I could get back to 4.4.4 stock unrooted. I accomplished this by running the tool created by bhp090808. After that, I unrooted through supersu, I flashed the att modem found on graffixnyc site. I then flashed "MotoX(2014)_stock_install-recovery_sh" (with twrp) that 0.0 provided in post number 124 from the "[OTA ZIP] Pure Edition Lollipop 5.0" thread. Finally I flashed stock recovery to achieve a stock 4.4.4 system. Everything worked. After I confirmed that everything worked I did the ota again just to see if it would flash. It did, from there I was able to flash twrp, but after you reboot from twrp on the new ota you lose the twrp recovery....there is a new feature in the latest twrp recovery that allows you to move a file from pc to phone internal storage, that is how I was able to create the nand.
Funny thing is, you cannot create a backup from twrp with 4.4.4 but you can from the new 5.0 ota.
Hope this answered your question.
BTW, this nand is of the 5.0 just to clarify, like I said I was unable to make a nand of the 4.4.4
That's funny. I can do a TWRP backup just fine in 4.4.4.
Did you advanced->fix pemissions in TWRP?
not working
rsa 329 said:
After the inital OTA, I wanted to see if I could get back to 4.4.4 stock unrooted. I accomplished this by running the tool created by bhp090808. After that, I unrooted through supersu, I flashed the att modem found on graffixnyc site. I then flashed "MotoX(2014)_stock_install-recovery_sh" (with twrp) that 0.0 provided in post number 124 from the "[OTA ZIP] Pure Edition Lollipop 5.0" thread. Finally I flashed stock recovery to achieve a stock 4.4.4 system. Everything worked. After I confirmed that everything worked I did the ota again just to see if it would flash. It did, from there I was able to flash twrp, but after you reboot from twrp on the new ota you lose the twrp recovery....there is a new feature in the latest twrp recovery that allows you to move a file from pc to phone internal storage, that is how I was able to create the nand.
Funny thing is, you cannot create a backup from twrp with 4.4.4 but you can from the new 5.0 ota.
Hope this answered your question.
BTW, this nand is of the 5.0 just to clarify, like I said I was unable to make a nand of the 4.4.4
Click to expand...
Click to collapse
I am having some issues with my phone so I tried to flash this.
When I attempt to copy this over MTP it tells me one of the files is too large for the system
Edit: got it ! Adb pushed it.
holtenc said:
That's funny. I can do a TWRP backup just fine in 4.4.4.
Did you advanced->fix pemissions in TWRP?
Click to expand...
Click to collapse
No, i did not. I will try that next time i downgrade. That would make things a lot easier for a person to put this in their backups.
Were you able to make a backup of your stock unrooted 4.4.4?
nineismine said:
I am having some issues with my phone so I tried to flash this.
When I attempt to copy this over MTP it tells me one of the files is too large for the system
Click to expand...
Click to collapse
follow along with the way i accomplished unrooting. i can confirm this works, I have done it several times now with consistent success.
BTW, this is not to be flashed, rather done through the "restore" feature of the twrp recovery. By placing this folder in the backups you will be able to access it through restore.
rsa 329 said:
No, i did not. I will try that next time i downgrade. That would make things a lot easier for a person to put this in their backups.
Were you able to make a backup of your stock unrooted 4.4.4?
Click to expand...
Click to collapse
I wish... I didn't even try. I rooted and then put on custom recovery.. didn't think things through very well I suppose.
holtenc said:
I wish... I didn't even try. I rooted and then put on custom recovery.. didn't think things through very well I suppose.
Click to expand...
Click to collapse
follow along with how I unrooted, it works!
You will be able to take the ota, modem and all. I'm just guessing you have the XT1095.
rsa 329 said:
I was able to create a TWRP backup of the ota after I installed it on my Moto X XT1095. I was able to flash this using TWRP from kitkat.
After flashing this, you will have the new ota, however it will not have the new baseband (you will retain the original baseband from your previous installation, in other words this does not include the modem). I believe that you should be able to flash this to any one of the XT variants as long as you are able to flash a custom recovery (in this case TWRP, I used 2.8.1.0 if that matters)
I had to create new folders on the internal storage due to the fact that I was unable to create a backup of kitkat. All I did was create a new folder on the internal storage called TWRP, inside that folder I created a folder called BACKUPS within that folder I created a folder that has the unique alpha-numeric name to each device, and finally in that folder I placed this backup file. TWRP/BACKUP/unique alpha-numeric name/2014-11-09--11-34-04 LXE22.39-5. Then I booted to my TWRP recovery performed a factory data reset along with wiping cache and dalvik, then performed the restore.
If you don't know what your unique alpha-numeric folder name is, you can find this by booting to twrp and try to perform a backup (this is how I found out what my folders name was). I got an error, within that error was the path (it is verbatim and case sensitive).
If anyone wants to try this, here is the link.
Unzip and place in the folder I described.
https://mega.co.nz/#!3QNmBJZD!6wRby9lwl2gWI0Lxtwq1sKZ7DGGYAs7vtP44GmZZwBQ
MD5-63a4a2eb969c1d37b543f17dec3a64e1
Let me know how it goes. I won't be able to offer much help other than what is provided here, if I have the time I will try. I hope I didn't make this to confusing. If it works for you, hit the "thanks".
Moderators, If this is not in the correct category please feel free to move it. Thanks
Click to expand...
Click to collapse
You're my MF'N hero! You have no idea how much BS I was having trying to flash that OTA:
Flash OTA? Nope, some BS about unexpected this and that in modem.
Flash modem? Nope, permission denied.
Restore from Custom Recovery?? YES. Thanks man. If i could spank your thanks button 100000 times i would.
holtenc said:
You're my MF'N hero! You have no idea how much BS I was having trying to flash that OTA:
Flash OTA? Nope, some BS about unexpected this and that in modem.
Flash modem? Nope, permission denied.
Restore from Custom Recovery?? YES. Thanks man. If i could spank your thanks button 100000 times i would.
Click to expand...
Click to collapse
LOL. This message brought a smile on my Monday morning face.
I can't copy the folder to my phone. It says it's too large. How can I do it?
Make room by deleting stuff? If that's not the problem then I don't know.
Maybe try pushing the folder with adb.
Did anyone try this on the XT1092?
Thanks in advance.
MY DEVICES: Moto x 2014 (XT1092), Nexus 7 2013 (razor), HTC Desire X (proto)
Unfortunately, I keep getting "invalid crc file for system.ext4.win000" when trying to copy the backup to the final destination folder. Been using Solid Explorer. I'll try another just in case.
Edit: ES File Manager worked. Also, for me, TWRP 2.8.1.0 will not backup, but 2.8.0.1 will. For what's it's worth.
holtenc said:
Make room by deleting stuff? If that's not the problem then I don't know.
Maybe try pushing the folder with adb.
Click to expand...
Click to collapse
There is plenty of space left on the SD card to copy this but it still says the file is too large. What command do I use on adb? Can you help me? Thank you.
---------- Post added at 11:14 AM ---------- Previous post was at 11:13 AM ----------
nineismine said:
I am having some issues with my phone so I tried to flash this.
When I attempt to copy this over MTP it tells me one of the files is too large for the system
Edit: got it ! Adb pushed it.
Click to expand...
Click to collapse
I am having the same problem, can you help me? What adb command do I use for this?
@MaKTaiL which model of the moto x do you have?
MY DEVICES: Moto x 2014 (XT1092), Nexus 7 2013 (razor), HTC Desire X (proto)
Vineet Upadhyaya said:
@MaKTaiL which model of the moto x do you have?
MY DEVICES: Moto x 2014 (XT1092), Nexus 7 2013 (razor), HTC Desire X (proto)
Click to expand...
Click to collapse
XT1097, but it doesn't really matter for the problem I'm having.
adb push <file> /storage/emulated/0/
Try that.
I have found it to be a problem with twrp try copying it to a different folder and then use twrp file explorer to move it to the backup folder. That worked for

[Q] no sound at all!!

I own a nexus 7 2012, unlocked, rooted, twrp recovery and stock lollipop.After following this
guide http://nexus7.wonderhowto.com/how-to/boost-stock-volume-levels-your-nexus-7-for-louder-sounds-all-around-0158699/#
i lost all the sound in my device!!!Even when i flashed the back-to stock-level zip, nothing happened and i have no sound at all.Probably this guide is not for lollipop, but i want your help.Is there any way to get back the sound, avoiding clean install and setting up the whole tablet from the beggining?
If you open the zip you downloaded, you will notice It contains an xml file. Find a copy of the same file and place it in /system/etc
Technically, you could download a factory image from google, extract the system.img from it and flash it using fastboot

[GUIDE] How flash stock rom/restore twrp backup/reanimate mate7 for noob

Hi all again. Today i write guide for noob
How Flash Stock rom???
1. First download rom to your pc
2. When you download rom open in winrar and check pack
3. If you have only one file update.app you can extrack but first you must create in desktop folder named dload and extract there.
4. If you have root and want flash full rom you can do it but you must have stock recovery.
5. Copy dload to your extsdcard and go to dialpad and write *#*#2846579#*#* and choise 4 and 1.
6. Your phone now power off and flash new firmware.
7. When its finish your phone boot again with new firmware.
P.s Flash firmware for your region or you be have bootloop or software brick and if you have you must have unlocked bootloader to reanimate your mate7
How Flash Ota update???
1. Download Ota update to your pc
2. Open using winrar and check do you have all folder and file look for exsample
cust
META-INF
patch
system
update.app
3. If you have that same folder do not extract from update.zip
4. Create dload on desktop and copy there update.zip and now copy to your extsdcard and go to dialpad and write *#*#2846579#*#* and choise 4 and 1.
5. Your phone now power off and flash new firmware.
6. When its finish your phone boot again with new firmware.
How restore twrp backup ???
1. If you have lollipop you must use pc to create folders:
TWRP/BACKUPS/ here you must put downloaded backup
2. If you have marshmallow you must use pc to create folders:
TWRP/BACKUPS/YOUR SERIAL NUMBER/ and here you must put downloaded backup
3. Download backup for your mate7 and extraxt to desktop
4. Copy all file to create folder and now copy TWRP folder to your internal sdcard or ext sdcard.
5. Power off your phone and go to TWRP RECOVERY
6. Select storege where you copy backup and now go restore.
7. If you see backup you can now restore.
8. Whene its restore go back and do it wipe data/cache/dalvick cache and reboot
9. First boot can make very long time and wait when in boot to system.
P.s When you use TWRP 2.8.7.X and do ot wipe data you lose your file and vendor country but when you use TWRP 3.0.2.0 you don't lose. If you lose you must restore using tool from this topic but you must be root
http://forum.xda-developers.com/mate-7/development/tool-srk-tool-huawei-beta-02-20160501-t3369990
How to reanimater your mate after bootloap???
We have 2 methode for now.
Firts it's restore twrp backup and secend its fastboot and downgrade pack
If you use twrp backup and its work very good for you but if dont work you must use fastboot method
1. Power off device and go to fastboot
2. Extract file from update.app for lollipop :
- system
- cust
- boot
- recovery
- userdata
for Marshmallow extract :
- system
- cust
- boot
- recovery
3. Install adb drive from this topic
http://forum.xda-developers.com/showthread.php?p=48915118
and copy all file to C:/adb on your windows
4. Open CMD as administator and write this commads
cd C:/adb
adb fastboot
Now you on fastboot mode
When you extract file frome update.app you must rename file :
10.boot.img to boot.img
11.recovery.img to recovery.img
13.cust.img to cust.img
14.system.img to system.img
If you remane you can flash img file using fastboot methode using cmd
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cust cust.img
fastboot flash system system.img
It's take very long but wait. When its finish take micro sd adapter and put you micro sdcard and connect to pc and copy full rom :
If you use lp file because you have bootloop on lp you must flash that same rom what you flash file using fastboot
and do it that same for marshmallow
when you copy put your adapter to slot of microsdcard in your mate7
Now power of your phone and try go to flash method using 3 bottom on you mate7
VOL+ POWER + VOL- when you seescreen on realese power and wait. Now you see how rom its flash.
If you have error you must use downgrade pack from mm to lp and flash.
When its flash you must flash lp.
If you have error you must use downgrde pack from lp to kk and flash.
When its finish you must flash kk rom.
Now you back to rom after bootloop and you can try again flash rom what you want.
Finish guide for noob
Cheers :highfive:
Thanks for the guide. I want to restore to MM from kk using twrp? Is it possible? I only wait 5 minutes after restore reboot then I think something must be wrong so I restore my own backup. I will give a try again.
Sent from my HUAWEI MT7-L09 using XDA-Developers mobile app
No you can't do it you must first flash kk second lp and then you flash mm
Wysłane z mojego HUAWEI MT7-L09 przy użyciu Tapatalka
chudy_85 said:
How restore twrp backup ???
1. If you have lollipop you must use pc to create folders:
TWRP/BACKUPS/ here you must put downloaded backup
2. If you have marshmallow you must use pc to create folders:
TWRP/BACKUPS/YOUR SERIAL NUMBER/ and here you must put downloaded backup
3. Download backup for your mate7 and extraxt to desktop
4. Copy all file to create folder and now copy TWRP folder to your internal sdcard or ext sdcard.
5. Power off your phone and go to TWRP RECOVERY
6. Select storege where you copy backup and now go restore.
7. If you see backup you can now restore.
8. Whene its restore go back and do it wipe data/cache/dalvick cache and reboot
9. First boot can make very long time and wait when in boot to system.
P.s When you use TWRP 2.8.7.X and do ot wipe data you lose your file and vendor country but when you use TWRP 3.0.2.0 you don't lose. If you lose you must restore using tool from this topic but you must be root
http://forum.xda-developers.com/mate-7/development/tool-srk-tool-huawei-beta-02-20160501-t3369990
Click to expand...
Click to collapse
Hi buddy, your guide is gold. I explain what i did up to now. I wanna know how to proceed safely.
1) 2 year old MT7-L09 Mate 7. Long time ago i go bootloader unlocked, rooted and updated to lollipop stock. dont know which firmware version.
2) TWRP 2.8.7.0. Wanted to factory reset after long time no using the phone, ended up wiping OS and god knows what else.
3) Can access fastboot and TWRP.
4) Tried stock recovery and 3 button method to downgrade or install stock update.app. Nothing worked it always got stuck at 90%.
Up to there nothing worked. I guess i must have damaged some critical files.
Then i found your guide and wanted to try making a lollipop restore from TWRP. Found a file.
Now, if i understood what you have written in red, i may have wiped oem information like country and vendor. Maybe thats because i cant install stock from huawei.
How can i restore that info? is there any way i can backup my bootloader info, or retrive my country and vendor info?
How do you suggest me to proceed safely.
Thanks
Sebastian
lungolok said:
Hi buddy, your guide is gold. I explain what i did up to now. I wanna know how to proceed safely.
1) 2 year old MT7-L09 Mate 7. Long time ago i go bootloader unlocked, rooted and updated to lollipop stock. dont know which firmware version.
2) TWRP 2.8.7.0. Wanted to factory reset after long time no using the phone, ended up wiping OS and god knows what else.
3) Can access fastboot and TWRP.
4) Tried stock recovery and 3 button method to downgrade or install stock update.app. Nothing worked it always got stuck at 90%.
Up to there nothing worked. I guess i must have damaged some critical files.
Then i found your guide and wanted to try making a lollipop restore from TWRP. Found a file.
Now, if i understood what you have written in red, i may have wiped oem information like country and vendor. Maybe thats because i cant install stock from huawei.
How can i restore that info? is there any way i can backup my bootloader info, or retrive my country and vendor info?
How do you suggest me to proceed safely.
Thanks
Sebastian
Click to expand...
Click to collapse
You can manual push oem info to correct partition. What country you from
chudy_85 said:
You can manual push oem info to correct partition. What country you from
Click to expand...
Click to collapse
Im form Argentina. Phone was bought in US. I dont mind putting any country version as long as i can bring it back alive.
Luckily i have saved phone imei, serial number and id in evernote. Maybe that can help to figure it out.
Do you have a procedure or guide to do that you are suggesting?
if you have unlocked bootloader you can try use SRKToolHuawei-Lod-Chong-V2.0-20161002 to change oem info and then try flash correct your rom using dload method. But if you change region you must unlock again bootloader but when you go to fastboot you have unlocked. Unlock again because its locked

Restore L14 back to stock after a bad flash or if you do not like EMUI 5

Last night I tried to root my device and ended up bricking my L14 honor 8. After several hours I finally got restored back to EMUI 4 then updated back to 5. Because of how difficult it was to find exactly how to do this I have compiled an exact how to of how to restore your device along with an all in one download.
1. Flash the stock recovery if you currently have twrp or something else installed. In the compressed file this file is labeled as STOCK RECOVERY.img. To flash load fastboot then use the command "fastboot flash recovery "STOCK RECOVERY.img"" without the outside quotes
2. Create a folder named "dload" on a micro sd card. This folder is where you will copy your update.app files for recoverying
3. Copy the update.app from the rollback folder to the dloads folder on the microsd card.
4. Boot up the phone while holding vol up and down. This will put the phone into image restore mode. If the file is in the right location it will start loading the image. Once it finishes loading the phone will reboot. Once rebooted copy the other update.app from the mm folder to the dload folder on the micro sd card. Then reboot the phone again to restore mode. This will load the default stock image the honor 8 came with.
Download Link: https://mega.nz/#!vtQxDC4S!e-8bT-IkTWW5NFk1NNttNM-8-_NKXk6GxUGNL9yZ64k
Will I have to relock my bootloader in order to apply the update.app? In the pdf file you provided, it says to "Make sure your phone system version has not been unlocked or rooted," but I just want to make sure before I do this.
It will relock your bootloader once you flash the stock mm fw.
texanman said:
Last night I tried to root my device and ended up bricking my L14 honor 8. After several hours I finally got restored back to EMUI 4 then updated back to 5. Because of how difficult it was to find exactly how to do this I have compiled an exact how to of how to restore your device along with an all in one download.
Click to expand...
Click to collapse
Do you know how to root L14 with MM and EMUI 4.1? I have just successfully unlocked the bootloader using Huawei MultiTool but the Root permission menu is confusing. I don't see any "US" version in the option. Do you have any idea?

Categories

Resources