i flash twrp instead of boot - Moto G4 Questions & Answers

hi all,
i made a mistake when i wanted to flash magisk, instead of boot twrp i flashed it. I want to keep the stock recovery to do OTA update.
I found the full firmware of the moto g4, inside i found the stock recovery but i doubt if it's the latest recovery.
Anyone can tell me which is the latest version?
thank you

titou4488 said:
hi all,
i made a mistake when i wanted to flash magisk, instead of boot twrp i flashed it. I want to keep the stock recovery to do OTA update.
I found the full firmware of the moto g4, inside i found the stock recovery but i doubt if it's the latest recovery.
Anyone can tell me which is the latest version?
thank you
Click to expand...
Click to collapse
just follow the video in this thread and start again
http://forum.xda-developers.com/moto-g4/how-to/how-to-unroot-moto-g4-return-to-stock-t3417386

thank you, i will wait if the next ota works with the stock recovery i found, if not i will return to stock

Related

Trouble reflashing ASUS stock ROM for ZE551KL

I accidentally tried doing a factory reset, and flashing an incorrect rom. So I lost the stock rom, and have no other rom to use. I tried using TWRP to flash ASUS's stock firmware from asus's support website, under firmware. Using firmware file: "UL-Z00T-WW-1.16.40.763-user.zip"
but TWRP tells me "E:Error executing updater binary in zip '/sdcard/TWRP/Stock.zip'
Error flashing '/sdcard/TWRP/Stock.zip"
I still have access to both adb, fastboot, and TWRP but I cant get an OS to install.
Any help with this would be greatly appreciated, haven't even had this phone a day yet, and already may have broken it.
I don't have an answer to your question , just got this phone yesterday and am in the process of figuring out how to root and install a custom recovery for this specific device.. I have found many methods to root but none for my specific model. I think you have the same model as I do and was hoping you could lead me to the place that will give me the files I need.. the box my phone came in has the model as ASUS_Z00TD (ZE551KL).. Sorry I wasn't of any help to you, hope you manage to figure out how to flash something that will get your device running again!
tmjm28 said:
I don't have an answer to your question , just got this phone yesterday and am in the process of figuring out how to root and install a custom recovery for this specific device.. I have found many methods to root but none for my specific model. I think you have the same model as I do and was hoping you could lead me to the place that will give me the files I need.. the box my phone came in has the model as ASUS_Z00TD (ZE551KL).. Sorry I wasn't of any help to you, hope you manage to figure out how to flash something that will get your device running again!
Click to expand...
Click to collapse
I used @rczrider 's post in this thread, and was able to get root. http://forum.xda-developers.com/zenfone-2-laser/general/wip-root-ze550kl-1-16-40-763-t3275760/page3, good luck!
willrox15 said:
I accidentally tried doing a factory reset, and flashing an incorrect rom. So I lost the stock rom, and have no other rom to use. I tried using TWRP to flash ASUS's stock firmware from asus's support website, under firmware. Using firmware file: "UL-Z00T-WW-1.16.40.763-user.zip"
but TWRP tells me "E:Error executing updater binary in zip '/sdcard/TWRP/Stock.zip'
Error flashing '/sdcard/TWRP/Stock.zip"
I still have access to both adb, fastboot, and TWRP but I cant get an OS to install.
Any help with this would be greatly appreciated, haven't even had this phone a day yet, and already may have broken it.
Click to expand...
Click to collapse
Happy to know that it works for you.
Whenever you got stuck in this situation, just flash stock recovery & you will able to flash stock rom again.
rajlko said:
Happy to know that it works for you.
Whenever you got stuck in this situation, just flash stock recovery & you will able to flash stock rom again.
Click to expand...
Click to collapse
Do yo mean this stock recovery? http://forum.xda-developers.com/showpost.php?p=64441364&postcount=9
How do I flash it? just "fastboot flash recovery stock_recovery.img" ?
If so, I've tried that, and TWRP still boot when I try to enter recovery. Also, once I've flashed the stock recovery, do I just place the firmware on the root of the sdcard as 'update.zip' and try to install it from there?
Thanks for your help already, and sorry about the repetitive questions!
willrox15 said:
Do yo mean this stock recovery? http://forum.xda-developers.com/showpost.php?p=64441364&postcount=9
How do I flash it? just "fastboot flash recovery stock_recovery.img" ?
If so, I've tried that, and TWRP still boot when I try to enter recovery. Also, once I've flashed the stock recovery, do I just place the firmware on the root of the sdcard as 'update.zip' and try to install it from there?
Thanks for your help already, and sorry about the repetitive questions!
Click to expand...
Click to collapse
This is not stock recovery, this one is twrp recovery.
once you flashed stock recovery, flash stock rom as you do it.
This one is stock recovey
http://forum.xda-developers.com/showpost.php?p=64440791&postcount=8
rajlko said:
This is not stock recovery, this one is twrp recovery.
once you flashed stock recovery, flash stock rom as you do it.
This one is stock recovey
http://forum.xda-developers.com/showpost.php?p=64440791&postcount=8
Click to expand...
Click to collapse
Thank you! That worked perfectly!!

Latest OTA update - Help needed

Hi all,
I have a bit of an issue with the latest OTA update currently being pushed out and looking for help how best to proceed.
I have unlocked and rooted the phone previously and recovery is TWRP. My phone is encrypted.
When I accepted the updated the phone rebooted and showed the TWRP splash screen which flashes on and off endlessly. If I turn the phone off and on again it restarts fine but after a few seconds the update process starts again. I am currently stuck in this loop.
Any advice as to how I can get out of this without wiping my phone?
I am wondering if I could flash the standard recovery to remove TWRP if this would work. Could it and if so, where can i get the standard recovery image.
Thanks and sorry of this is already covered, I searched but couldn't find it.
For XT1575.
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
If you want to update be on stock rom i.e. unrooted and no xposed,nothing added or removed from system and also flash stock recovery.
After successful update flash twrp.
So, if I want to install the lastest update it's enough to unroot, remove xposed and flash stock recovery? Or it's better to flash full stock through fastboot?
So I managed to find a link to the full image for my device (XT1572 so the above link wouldn't work to the best of my knowledge - but thanks anyway @Hitti2)
I flashed the standard recovery and rebooted which stopped the endless loop. The update still fails to install but I can live with that for now.
I'll investigate further what I need to do to get the update to take properly but for now I have a functioning phone which is a good start to the day.
Thanks all.
Sent from my XT1572 using Tapatalk
Final installment. Update installed and a good. For anyone who stumbles across this with a similar issue, here is what I had to do.
Flash stock boot and recovery images to remove root and TWRP.
Reboot and let the update install.
Reflashed TWRP and SuperSU (both of which are now newer versions)
Job done. Now I know for the next update [emoji6]
There is a whole thread dedicated to this update in general.
lafester said:
There is a whole thread dedicated to this update in general.
Click to expand...
Click to collapse
Maybe there is but as I stated in the OP, I couldn't find the right information at the time of posting. Maybe helpful would be to also link the thread as it may help others.
@lafester could you link thread please.
Sent from my XT1572 using Tapatalk
Boot image?
Thanks for this info. I'm definitely still unable to install this update. I am stock, unrooted. I have flashed the stock recovery image, but not the boot image. Can you please point me to where i can find the stock boot image?
user7743 said:
Final installment. Update installed and a good. For anyone who stumbles across this with a similar issue, here is what I had to do.
Flash stock boot and recovery images to remove root and TWRP.
Reboot and let the update install.
Reflashed TWRP and SuperSU (both of which are now newer versions)
Job done. Now I know for the next update [emoji6]
Click to expand...
Click to collapse
nathlynn22 said:
@lafester could you link thread please.
Sent from my XT1572 using Tapatalk
Click to expand...
Click to collapse
This one possibly?
http://forum.xda-developers.com/moto-x-style/general/xt1575-february-2016-security-update-t3323126
---------- Post added at 10:42 PM ---------- Previous post was at 09:50 PM ----------
chuck-fu said:
Thanks for this info. I'm definitely still unable to install this update. I am stock, unrooted. I have flashed the stock recovery image, but not the boot image. Can you please point me to where i can find the stock boot image?
Click to expand...
Click to collapse
Maybe this one?
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Though I am having issues too... stuck at Error! after trying to install update with (what I assume is) stock recovery and boot.
chuck-fu said:
Thanks for this info. I'm definitely still unable to install this update. I am stock, unrooted. I have flashed the stock recovery image, but not the boot image. Can you please point me to where i can find the stock boot image?
Click to expand...
Click to collapse
evandena said:
Maybe this one?
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Though I am having issues too... stuck at Error! after trying to install update with (what I assume is) stock recovery and boot.
Click to expand...
Click to collapse
@evandena not that one. That is for a different model, I needed the firmware for the XT1572.
@chuck-fu I found a post here on XDA with a list of download links for various versions. I will dig out the link shortly and post it when I have access to my PC.
I extracted but the recovery and boot image files from that package. What you need are the images as close to possible from what is currently installed on your phone.
Edit: Here is the link to the thread with many Moto X Style images... Hopefully this will help
[Firmware] Moto X Style/Pure Stock Software
Thanks so much for trying to help. I went ahead and flashed the boot and recovery files for my model. I did the Boot image first, no luck. then i did the recovery, and this time andy thought a bit longer before giving me the Error! message. And then instead of my phone doing an autoreboot, it was stuck on the dead Andy and I needed to do hold down the power button to get it to shut down.
Anyone have any additional thoughts?
user7743 said:
@evandena not that one. That is for a different model, I needed the firmware for the XT1572.
@chuck-fu I found a post here on XDA with a list of download links for various versions. I will dig out the link shortly and post it when I have access to my PC.
I extracted but the recovery and boot image files from that package. What you need are the images as close to possible from what is currently installed on your phone.
Edit: Here is the link to the thread with many Moto X Style images... Hopefully this will help
[Firmware] Moto X Style/Pure Stock Software
Click to expand...
Click to collapse
I was having same issue. I am stock, rooted, unlocked bootloader.
Currently using TWRP 3.0
In order to update with the new OTA you need to find a download of the .zip files and manually install it.
If you try to do OTA update it will just keep getting stuck in recovery. To get out of this just cache wipe and reboot.
This phone has never been able to take OTAs for some reason. I wish I understood why. I tried to leave the thing stock to keep things simple, but it wasn't to be... anyway...
Thanks for the advice. Any idea where to get a download of the .zip files (is it really more than one zip file, or was that a typo)? I tried searching, but can't seem to find the right things to search for.
Also, once i have the zip file(s):
1) Do I just install it via TWRP like any other zip file?
2) to get rid of the OTA prompt, do i wipe the cache and reboot before or after i install the update via the zip?
Many thanks!
InFamousD147 said:
I was having same issue. I am stock, rooted, unlocked bootloader.
Currently using TWRP 3.0
In order to update with the new OTA you need to find a download of the .zip files and manually install it.
If you try to do OTA update it will just keep getting stuck in recovery. To get out of this just cache wipe and reboot.
Click to expand...
Click to collapse
I managed to update via OTA flashing the stock recovery, boot and system chunks. This is the procedure I do to update my wife's Nexus 5 and worked for the Moto X Style too. Remember to make a backup before in case something goes wrong.
Thanks for the info- what version do you have? I have the 1575 RETUS and can't find the system file. Is that basically flashing an entire ROM? Sorry, but i've flashed boot and recovery files before, as well as full ROMs but don't ever remember flashing a system file on its own.
Thanks!
Dunkel06 said:
I managed to update via OTA flashing the stock recovery, boot and system chunks. This is the procedure I do to update my wife's Nexus 5 and worked for the Moto X Style too. Remember to make a backup before in case something goes wrong.
Click to expand...
Click to collapse
chuck-fu said:
Thanks for the info- what version do you have? I have the 1575 RETUS and can't find the system file. Is that basically flashing an entire ROM? Sorry, but i've flashed boot and recovery files before, as well as full ROMs but don't ever remember flashing a system file on its own.
Thanks!
Click to expand...
Click to collapse
I have the 1572 RETEU, but you can find the stock firmware here: http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
If it's like the stock firmware that I have for the 1572 it should have all the img files and the system chunks. You just need to flash all the chunks like this:
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
This has to be done because Marshmallow doesn't allow any modification in the system or the boot image, and will not proceed with the OTA if the ROM is not full stock.
EDIT: You will not loose any data, but any modification to the system partition will be undone.
Dunkel06 said:
I managed to update via OTA flashing the stock recovery, boot and system chunks. This is the procedure I do to update my wife's Nexus 5 and worked for the Moto X Style too. Remember to make a backup before in case something goes wrong.
Click to expand...
Click to collapse
Thanks for your help once again. I manually flashed the system files like you listed, but for whatever reason, i'm still getting the same old Error. I'm pretty sure I'm on a stock ROM.
From this site: http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
I have flashed the XT1575 6.0 boot.img, recovery.img, then from the firmware, extracted the 8 sparsechunk files and flashed those as well. I still get the ERROR after a few seconds of trying to load the OTA.
Any other ideas by any chance? Did you do any kind of wiping in there somewhere? Did you just let the normal OTA try installing from within Android?
chuck-fu said:
Thanks for your help once again. I manually flashed the system files like you listed, but for whatever reason, i'm still getting the same old Error. I'm pretty sure I'm on a stock ROM.
From this site: http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
I have flashed the XT1575 6.0 boot.img, recovery.img, then from the firmware, extracted the 8 sparsechunk files and flashed those as well. I still get the ERROR after a few seconds of trying to load the OTA.
Any other ideas by any chance? Did you do any kind of wiping in there somewhere? Did you just let the normal OTA try installing from within Android?
Click to expand...
Click to collapse
I just let the normal OTA install after flashing system, boot and recovery, without wiping any partition. Maybe you can try a flash all the zip to make sure it's full stock and see if the OTA install. Just make a backup before in case nothing change.

How to update modded os to Nougat

I tried rooting my phone and decided to downgrade my os from 7.0.1 to 6.0.1 I downloaded and flashed a modded version of 6.0.1 and now my device is not rooted and i can't update my phone to nougat. It keeps showing the not recognizing package error what do i do?
I haven't modded mine so just guessing but if you have twrp I expect it won't update.
Most phones need stock recovery to take an update. Not modding mine for this reason. I think Android 8 will come for A7.
RobboW said:
I haven't modded mine so just guessing but if you have twrp I expect it won't update.
Most phones need stock recovery to take an update. Not modding mine for this reason. I think Android 8 will come for A7.
Click to expand...
Click to collapse
is there a way for me to remove twrp and get stock recovery?
Haven't looked into modding the Axon 7, mine stays standard. Have a look around the forum here, do a search. Maybe someone who knows will join in to help you.
PESRMS said:
is there a way for me to remove twrp and get stock recovery?
Click to expand...
Click to collapse
RobboW said:
Haven't looked into modding the Axon 7, mine stays standard. Have a look around the forum here, do a search. Maybe someone who knows will join in to help you.
Click to expand...
Click to collapse
Yes there are many. You can:
-use a backup of the recovery, via axon7tool ('axon7tool -r recovery' backs up your recovery)
-flash a full stock system image through MiFlash
-flash a stock recovery zip through twrp, then reboot (there are recovery zips for the G on the download center, although there may be zips made for the U and Chinese)

stock recovery for xt1643 with build npjs25.93-14-10 .

does anyone have the latest stock recovery img for the build number npjs25.93-14-10 cuz i had some issues lately with the newst updat cuz of TWRP reccovery. whenever i tried intsalling the software update of december 2107 it always soofbooted in TWRP. so i flashed a stock recovery but now the stock recovery is old & stated as npj25.93-14. i need to have a stock recovery npjs25.93-14-10 can anyone help me out with this???
https://drive.google.com/open?id=1j2KnnhHrj8bqK4K6eTrwdDVeNGHf-vZe
Thank you nice_guy75.. I got the stock recovery but still can't get the new update..it shows some kinda error.. a big one with some coding.. is it cuz my device is rooted & on superSu?
devilvanky said:
Thank you nice_guy75.. I got the stock recovery but still can't get the new update..it shows some kinda error.. a big one with some coding.. is it cuz my device is rooted & on superSu?
Click to expand...
Click to collapse
Stock Recovery is not enough, you will need everything stock boot/system/Recovery, everything should be unmodified.
If you can't update, better is to flash complete stock ROM by fastboot.
Bro research before doing anything to your device! What will u do if the device never boots up next time u flash supersu??? Ever gave a thought to that?
You will have to revert everything to stock. Stock boot.img, stock recovery, remove root and reinstall any system app if you uninstalled any. Revert any boot logo or animation you changed!
After doing all this, you should take the update!
devilvanky said:
does anyone have the latest stock recovery img for the build number npjs25.93-14-10 cuz i had some issues lately with the newst updat cuz of TWRP reccovery. whenever i tried intsalling the software update of december 2107 it always soofbooted in TWRP. so i flashed a stock recovery but now the stock recovery is old & stated as npj25.93-14. i need to have a stock recovery npjs25.93-14-10 can anyone help me out with this???
Click to expand...
Click to collapse
Dec updated firmware : https://www.google.nl/amp/s/forum.x...tock-rom-npjs25-93-14-4-march-1-t3608138/amp/
Sent from my Moto G4 Plus using Tapatalk
Yea i had been through a boot loop issue earlier.. so I got a stock room installed through fastboot.. but after that I again rooted my device.. I know the issues I can face while doing this stuff but just needed opinion from you all.. well thanks for the help.. & one more question.. is there any other way to get the latest security patch flashed on my device without having everything stock?

Stuck in TWRP after pushed upgrade 28s

This morning I my phone pesented itself in TWRP.
Maybe this is because over the past days I repeatedly got notifications that a system upgrade wanted to install itself (I have a modified 26s X720 from Tora33).
I rejected those notifications.
Now I am stuck in TWRP and I cannot get around it. What I tried:
Reinstalling previous firmware (Tora33 26s) still on the phone
Restoring a TWRP backup from 6 months ago (TWRP didn't see it, maybe it's from a previous TWRP version, I now have v. 3.1)
Flash via fastbood factory image using Mauro's Tool All In One (error message "can't find file mke2fs.conf")
Wipe data, cache, dalvik cache, system; then install Mauro_V2.2 cleansed 23s firmware which I transferred to the phone
Every time it boots up in TWRP.
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Sent from my LEX720 using xda premium
mchlbenner said:
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Click to expand...
Click to collapse
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Wortelstok said:
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Click to expand...
Click to collapse
Yes, that QFIL guide is for the x720.
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
marik1 said:
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
Click to expand...
Click to collapse
If he was just going back stock that would work he flash 28s ota with twrp so this will not work.
Sent from my LEX720 using xda premium
No brick after OFW push 28s
The pushed (unvoluntary) update didn't brick my phone after all. This may be important for those that have modified stock ROMs with TWRP.
Not being able to restore OFW was a bug in Mauro's All-in-One tool which he fixed last night. After I could easily flash 20S or 26S stock from his repository. I would also recommend this as safest/easiest procedure. Afterwards you can just flash TWRP from the same tool and move from there.
By the way, immediately after flashing 20s the FW notified it wanted to update itself, again!
n my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
Click to expand...
Click to collapse
Might have tried that

Categories

Resources