TWRP to Stock recovery (stock ROM) - X Play Q&A, Help & Troubleshooting

Guys Please help me. I am having Moto X Play (XT1562 dual sim version) which is unlocked bootloader, TWRP recovery, Rooted and Xposed framework flashed. Rom is stocked rom. Now I would like to revert to the stock recovery with stocked rom. How could I do it.
Once I installed Cyanogenmod Rom for my device and i returned to stock rom as per guidelines provided by senior member. I have all those files that needed at that time. but that is for whole ROM but now for me I need only stock recovery. Can I flash only recovery.img file that I extracted from stock factory image?
Please advice.

yes, you need to flash recovery.img from stock firmware. just make sure it's intendended for your phone model.

minimale_ldz said:
yes, you need to flash recovery.img from stock firmware. just make sure it's intendended for your phone model.
Click to expand...
Click to collapse
done smoothly. Just one more query. Can I revert to locked bootloader state.

sumangh01 said:
done smoothly. Just one more query. Can I revert to locked bootloader state.
Click to expand...
Click to collapse
AFAIK you can't revert your phone to fully locked state (your warranty will be void no matter what you do), you can only re-lock it. Hre's a thread about it:
https://forum.xda-developers.com/moto-x-play/help/how-relock-bootloader-moto-x-play-t3311497

Related

ROM Flashing Question

My previous phone was the HTC Inspire which had S-On, S-Off settings. Because my phone was S-On, I had to flash a boot.img file each time I flashed a ROM.
Once I root my GS4, is it necessary to go through the whole flashing of the boot.img file?
topcatzs13 said:
My previous phone was the HTC Inspire which had S-On, S-Off settings. Because my phone was S-On, I had to flash a boot.img file each time I flashed a ROM.
Once I root my GS4, is it necessary to go through the whole flashing of the boot.img file?
Click to expand...
Click to collapse
no, when flashing a rom in recovery the boot.img is already included in the zip
topcatzs13 said:
My previous phone was the HTC Inspire which had S-On, S-Off settings. Because my phone was S-On, I had to flash a boot.img file each time I flashed a ROM.
Once I root my GS4, is it necessary to go through the whole flashing of the boot.img file?
Click to expand...
Click to collapse
The Galaxy S4 (and all Galaxy variants afaik) does not have an "S-On" or "S-Off". However, we do have a locked/encrypted bootloader on some models, including the AT&T and Verizon versions. To flash ROMs on an AT&T device, be sure to do one of the following:
- Only flash ROMs that have been "Loki" patched, or "Lokified". Thanks to djbliss's Loki exploit, we are still able to flash ROMs and Recovery partitions that have been patched with this exploit.
- If you flash a ROM that is not Lokified, be sure to IMMEDIATELY flash a Loki-patched Kernel that's compatible with the ROM you just flashed - do NOT reboot until you have done so.
- Flash a Lokified Recovery that does "Auto-Loki" - meaning that it will automatically patch any ROM or Kernel that is flashed through this Recovery.
Aou said:
The Galaxy S4 (and all Galaxy variants afaik) does not have an "S-On" or "S-Off". However, we do have a locked/encrypted bootloader on some models, including the AT&T and Verizon versions. To flash ROMs on an AT&T device, be sure to do one of the following:
- Only flash ROMs that have been "Loki" patched, or "Lokified". Thanks to djbliss's Loki exploit, we are still able to flash ROMs and Recovery partitions that have been patched with this exploit.
- If you flash a ROM that is not Lokified, be sure to IMMEDIATELY flash a Loki-patched Kernel that's compatible with the ROM you just flashed - do NOT reboot until you have done so.
- Flash a Lokified Recovery that does "Auto-Loki" - meaning that it will automatically patch any ROM or Kernel that is flashed through this Recovery.
Click to expand...
Click to collapse
Great! Thanks.

Return to stock with unlocked boot loader?

Is there an easy way to return to the latest stock rom or the one before the latest? When I received the M I have it didn't have the stock rom on it or a backup of the stock rom so I was hoping there was a way to return to stock but still keep my unlocked boot loader and re-root.
My goal is to return to stock, root, install recovery, make a backup so I have a stock backup then flash the current rom I'm using now. If anyone has or could tell me the steps I need I would appreciate it. I don't want to lose the boot loader unlock so I won't be able to install roms
collins521 said:
Is there an easy way to return to the latest stock rom or the one before the latest? When I received the M I have it didn't have the stock rom on it or a backup of the stock rom so I was hoping there was a way to return to stock but still keep my unlocked boot loader and re-root.
My goal is to return to stock, root, install recovery, make a backup so I have a stock backup then flash the current rom I'm using now. If anyone has or could tell me the steps I need I would appreciate it. I don't want to lose the boot loader unlock so I won't be able to install roms
Click to expand...
Click to collapse
See my sigi.
collins521 said:
Is there an easy way to return to the latest stock rom or the one before the latest? When I received the M I have it didn't have the stock rom on it or a backup of the stock rom so I was hoping there was a way to return to stock but still keep my unlocked boot loader and re-root.
My goal is to return to stock, root, install recovery, make a backup so I have a stock backup then flash the current rom I'm using now. If anyone has or could tell me the steps I need I would appreciate it. I don't want to lose the boot loader unlock so I won't be able to install roms
Click to expand...
Click to collapse
It's impossible to re-lock your bootloader. You can use Avi's solution, you can flash the FXZ from here http://sbf.droid-developers.org/scorpion_mini_xt907/list.php and re-root witth Motochopper or by flashing SU in recovery, or you can use Matt's utility 1.20 to flash to stock. There is also a pre-rooted, de-bloated ROM here http://forum.xda-developers.com/showthread.php?t=2408763 and stock flashable ROM here http://batakang.com/ftp/?dir=devs/mhous33/XT907.
Your easiest bet is to use Avi's solution or flash one of the last 2 ROMs I listed. If you FXZ back to stock or use Matt's utility, you'll need to re-install your aftermarket recovery. With the last 2 ROMs, they can simply just be flashed in your aftermarket recovery.

How to revert back to the stock firmware?

Hi All,
A couple of days back, I installed custom ROM (Recreated Remix Leopard) successfully on Zenfone 5. I was on the stock lollipop 3.24.40.87 firmware before that. I rooted, unlocked Bootloader and installed TWRP recovery on the stock ROM and I also took a nandroid backup. After using the custom ROM, I decided to go back to the stock ROM. I used the nandroid backup for restoring and got the stock ROM. But, now I want to go back to the stock Kitkat ROM (as the lollipop sucks) and I also don't want the custom recovery or anything. In short, I want to revert my phone to the real factory condition.
I tried to go back to Kitkat by the ASUS official method. But that didn't work. Then I tried to re-lock the Bootloader with the tool from which I unlocked it. But when I did that, I got stuck on the USB logo screen. So, I unlocked it again with the same tool and the phone starts normally. So, how do I get back now?
What would happen if I flash the stock ROM via TWRP? Will it remove the custom recovery and lock the Bootloader?
I read a couple of articles, a few of them suggested to install the stock ROM with the official ASUS method (copy the files in internal storage and the phone will notify to install the update). The article even says that by this method any custom modifications (recovery, root, Bootloader) will be deleted. Is it true or will this work?
Thanks in advance!
mohit12345 said:
Hi All,
A couple of days back, I installed custom ROM (Recreated Remix Leopard) successfully on Zenfone 5. I was on the stock lollipop 3.24.40.87 firmware before that. I rooted, unlocked Bootloader and installed TWRP recovery on the stock ROM and I also took a nandroid backup. After using the custom ROM, I decided to go back to the stock ROM. I used the nandroid backup for restoring and got the stock ROM. But, now I want to go back to the stock Kitkat ROM (as the lollipop sucks) and I also don't want the custom recovery or anything. In short, I want to revert my phone to the real factory condition.
I tried to go back to Kitkat by the ASUS official method. But that didn't work. Then I tried to re-lock the Bootloader with the tool from which I unlocked it. But when I did that, I got stuck on the USB logo screen. So, I unlocked it again with the same tool and the phone starts normally. So, how do I get back now?
What would happen if I flash the stock ROM via TWRP? Will it remove the custom recovery and lock the Bootloader?
I read a couple of articles, a few of them suggested to install the stock ROM with the official ASUS method (copy the files in internal storage and the phone will notify to install the update). The article even says that by this method any custom modifications (recovery, root, Bootloader) will be deleted. Is it true or will this work?
Thanks in advance!
Click to expand...
Click to collapse
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Long Çhïvaš said:
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Click to expand...
Click to collapse
Hi, thank you for the reply
You said WW 3.24.40.87 modded, do you mean that this rom is not the official one? Does it improves the battery life and other bugs of the stock rom?
I really appreciate your help!
You cannot flash stock rom via TWRP!
This is modded rom, so you can flash it via TWRP easily....
It's Official rom from Asus, just modded to be able flash through TWRP
Long Çhïvaš said:
You cannot flash stock rom via TWRP!
This is modded rom, so you can flash it via TWRP easily....
It's Official rom from Asus, just modded to be able flash through TWRP
Click to expand...
Click to collapse
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
mohit12345 said:
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
Click to expand...
Click to collapse
You need to flash WW 2.22.40.54 recovery via Fastboot first, then sideload rom via adb
drive.google.com/folderview?id=0B1-5RXbzbyk7UmZjZktPcHBTQ3c&usp=sharing
hi, i installed your mod ("UL-ASUS_T00F-WW-3.24.40.87-user-mod")
and now i want downgrade to kitkat because i still have no signal, before that i had 6.0.1
when i copy official rom to internal storage nothing happen.. twrp same.. how to install official rom?
Long Çhïvaš said:
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Click to expand...
Click to collapse
Do i have to install gapps too????
mohit12345 said:
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
Click to expand...
Click to collapse
how do i go back to 3.24.40.87? can u help me? now i'm in 6.0.1. And the bad thing is i didn't have a backup of 3.24.40.87 like u say on the first thread. Have a bug for can't playing video is too disturb me :crying:
Please contact me by email ([email protected]) :fingers-crossed:

Need rooted stock TW ROM that won't re-lock bootloader or touch recovery partition

Short story: I need a TouchWiz ROM that I can flash from TWRP that won't re-lock my bootloader or touch the TWRP partition. What's the best one to use?
Longer story: I have SM-G900V running CM 13 that is currently unable to get a GPS lock unless airplane mode is enabled. So far I've been told the only fix for this is (high level instructions):
Nandroid backup of CM 13
Flash TouchWiz ROM
Get GPS lock in TouchWiz ROM
Restore CM 13 nandroid backup
Some of the troubleshooting steps involve root, hence the need for a rooted ROM. Can anyone help?
Download a full stock tar for your device and open it with winrar. Give me a screenshot of all the files inside (aboot, system, etc...)
Screenshot attached as requested.
jdrch said:
Screenshot attached as requested.
Click to expand...
Click to collapse
Extract system.img.ext4, boot.img, modem.bin, NON-HLOS.bin, into a new folder on your desktop. Then use 7-Zip to make it all into a tar archive. Then flash that using Odin.
This is the PB1 firmware - so you will be on TW 5.0 after flashing it. If you want to be on TW MM, I can help with that too if you like
Thanks so much. And yes, how do I go about doing that for TW MM?
I've since realized that that .tar isn't rooted. Can anyone point me to a rooted TW ROM I could do this with?
jdrch said:
Thanks so much. And yes, how do I go about doing that for TW MM?
Click to expand...
Click to collapse
There is a guide for this in the Mm bootloader thread
jdrch said:
I've since realized that that .tar isn't rooted. Can anyone point me to a rooted TW ROM I could do this with?
Click to expand...
Click to collapse
Just flash SuperSU afterwards in twrp
Lightn1ng said:
There is a guide for this in the Mm bootloader thread
Click to expand...
Click to collapse
Which one is that?
jdrch said:
Which one is that?
Click to expand...
Click to collapse
In android development it's the bootloader unlock thread
Flashed the .tar in ODIN as instructed, now stuck at Verizon logo
jdrch said:
Flashed the .tar in ODIN as instructed, now stuck at Verizon logo
Click to expand...
Click to collapse
Factory reset - also remember that MM takes about 20min on first boot.
Lightn1ng said:
Factory reset - also remember that MM takes about 20min on first boot.
Click to expand...
Click to collapse
Actually I used the Lollipop build as the instructions were much simpler. But I'll try to wipe from recovery and reflashing TW again and see if that works. Failing that, probably going to have to clean install CM and then restore apps using TB update.zip in recovery. Why is everything in mobile so godd*mn hard ...
Got everything working again! Thanks so much for your help!!!

Back To Stock/ Relock

So I'm in a custom rom, twrp installed.
I want to go back to stock rom with relocked bootloader and official recovery (as it came out of box) what can i do?
DinIslamJoy said:
So I'm in a custom rom, twrp installed.
I want to go back to stock rom with relocked bootloader and official recovery (as it came out of box) what can i do?
Click to expand...
Click to collapse
You can flash AFT ROM through fastboot mode. It'll revert everything back to stock, including recovery. You can download everything here.

Categories

Resources