stock recovery? - Moto G 2015 Q&A, Help & Troubleshooting

I am trying to find stock marshmallow recovery, need to take device back. Anyone know where I might find that?
I have no PC access to flash firmware so plan to restore the stock twrp backup I made and user flasher app for stock recovery.

lost101's factory firmware image files contain stock recovery.img : http://forum.xda-developers.com/showthread.php?t=3169639
I think you can directly flash it through TWRP, just tap install>'install img', browse for the file, check recovery partition and swipe to flash. Done
Broadcasted from Zeta Reticuli

Gravemind2015 said:
lost101's factory firmware image files contain stock recovery.img : http://forum.xda-developers.com/showthread.php?t=3169639
I think you can directly flash it through TWRP, just tap install>'install img', browse for the file, check recovery partition and swipe to flash. Done
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Never new this was possible. So... could I also flash the rest of the img too, such as system.img for example.
Edit: I see not possible, only boot and recovery.

jikobutsu said:
Never new this was possible. So... could I also flash the rest of the img too, such as system.img for example.
Edit: I see not possible, only boot and recovery.
Click to expand...
Click to collapse
Even I don't have pc that's whyI flashed whole factory firmware 6.0.1 using flashfire app and it went successfully without glitch and previously I was on CM 13.
I'm still on stock recovery and it's working.

aadison said:
Even I don't have pc that's whyI flashed whole factory firmware 6.0.1 using flashfire app and it went successfully without glitch and previously I was on CM 13.
I'm still on stock recovery and it's working.
Click to expand...
Click to collapse
Oh that is cool!. I remember on my Galaxy s3 there was Odin mobile, which done this. And it kept root through the update...wonder if FlashFire does it too.

jikobutsu said:
Oh that is cool!. I remember on my Galaxy s3 there was Odin mobile, which done this. And it kept root through the update...wonder if FlashFire does it too.
Click to expand...
Click to collapse
It keeps root untouched for Nexus devices. But it fails on our device.

aadison said:
It keeps root untouched for Nexus devices. But it fails on our device.
Click to expand...
Click to collapse
I noticed this too. But the firmware flash went well, thanks for the heads up
Although root is easy if your bootloader is unlocked. I use kingroot, which I don't recommend for anyone to get root. Then you just flash twrp with recovery flash app, then boot and uninstall kingroot with full unroot. Reboot twrp and flash Su with systemless root through terminal like this;
echo SYSTEMLESS=true>>/data/.supersu

@jikobutsu : yeah you were doing kingroot unnecessarily, just bootloader unlock> fastboot boot/flash twrp>backup>echo systemless=true and flash supersu. Done.
Broadcasted from Zeta Reticuli

Gravemind2015 said:
@jikobutsu : yeah you were doing kingroot unnecessarily, just bootloader unlock> fastboot boot/flash twrp>backup>echo systemless=true and flash supersu. Done.
Broadcasted from Zeta Reticuli
Click to expand...
Click to collapse
I think he used kingroot as he earlier said he doesn't have pc access, so to flash TWRP using flash tools u need root. He temporarily rooted by kingroot.

Yeah no pc at this time so had to improvise

Related

Trying to update to 4.4.2 via TWRP Flash getting error

I'm new to rooting and android in general. I'm currently running 4.4 rooted with stock I believe. Says ponury kernal in my settings.
I'm trying to flash the update for 4.4.2 via the TWRP install. I get a failed error: error executing updater binary in zip.
I've made sure my zip is the 4.4 to 4.4.2 but still no luck. Any ideas what I can do? Do I need to wipe something before I can put it on there?
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
tom1807 said:
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
Click to expand...
Click to collapse
The error was : error executing updater binary in zip. I will look into getting back to stock.
matthewordie said:
The error was : error executing updater binary in zip. I will look into getting back to stock.
Click to expand...
Click to collapse
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
jd1639 said:
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
Click to expand...
Click to collapse
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
matthewordie said:
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
Click to expand...
Click to collapse
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
jd1639 said:
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
Click to expand...
Click to collapse
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
Flashing the system image won't wipe anything
http://forum.xda-developers.com/showthread.php?p=14
Sent from my Nexus 5 using Tapatalk
Zepius said:
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
Click to expand...
Click to collapse
Well I really don't know the exact steps involved in "flashing the image". That's what I'm asking.
jd1639 said:
Flashing the system image won't wipe anything
Click to expand...
Click to collapse
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
matthewordie said:
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
Click to expand...
Click to collapse
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
jd1639 said:
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
Click to expand...
Click to collapse
Ah, I was close I actually did method 1. Yeah I did leave it unlocked since i'm going to root again right away. Thanks

[Q] So now that Lollipop is out...?

Hi everyone. I saw that Google released the factory image for the Nexus 5. I read on a lot of posts that the XDA members usually release a zip file that you just flash on your Nexus 5 through the recovery and it will install the bootanimation and the rom for you. I have no idea where that is. I want the final version of Lollipop and I want to flash it, not wait for the OTA update. Is there already a zip file like this or do I have to wait for some more time? Thank you.
Thread below you lol
Most of the flashing is described by google themselves: https://developers.google.com/android/nexus/images
But do read more about it elsewhere and don't forget to backup everything before you flash, if your bootloader is locked then unlocking it in order to flash the image will wipe your phone.
Sent from my Nexus 5 using XDA Premium 4 mobile app
There's an OTA Zip over there on AndroidPolice.
You can also flash the Factory Image like most of us did.
It'll be like a brand new Nexus.
maxell505 said:
Hi everyone. I saw that Google released the factory image for the Nexus 5. I read on a lot of posts that the XDA members usually release a zip file that you just flash on your Nexus 5 through the recovery and it will install the bootanimation and the rom for you. I have no idea where that is. I want the final version of Lollipop and I want to flash it, not wait for the OTA update. Is there already a zip file like this or do I have to wait for some more time? Thank you.
Click to expand...
Click to collapse
you can go look in the android development section of the nexus 5, there you will find recovery flashable stock and aosp roms. here a flash in recovery stock lollipop rom http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Curiousn00b said:
There's an OTA Zip over there on AndroidPolice.
You can also flash the Factory Image like most of us did.
It'll be like a brand new Nexus.
Click to expand...
Click to collapse
simms22 said:
you can go look in the android development section of the nexus 5, there you will find recovery flashable stock and aosp roms. here a flash in recovery stock lollipop rom http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Click to expand...
Click to collapse
Ok so I have CWM recovery and I have the stock 4.4.4 rom with xposed framework installed. So can I just put the factory image on my nexus 5 and than go on CWM recovery and flash it?
maxell505 said:
Ok so I have CWM recovery and I have the stock 4.4.4 rom with xposed framework installed. So can I just put the factory image on my nexus 5 and than go on CWM recovery and flash it?
Click to expand...
Click to collapse
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Curiousn00b said:
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Click to expand...
Click to collapse
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
maxell505 said:
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
Click to expand...
Click to collapse
So just use fastboot....?
#stayparanoid
maxell505 said:
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
Click to expand...
Click to collapse
Have you seen any of the other options?
Wugfresh Nexus Root Toolkit, contains options to restore completely to stock, flashing recoveries, boot images, you name it.
It's like an organized version for people who don't do fastboot command typings through CMD.
You could always flash the factory image yourself by Google Instructions, or download the OTA file on Android Police. The choice is yours. :/
Curiousn00b said:
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Click to expand...
Click to collapse
Curiousn00b said:
Have you seen any of the other options?
Wugfresh Nexus Root Toolkit, contains options to restore completely to stock, flashing recoveries, boot images, you name it.
It's like an organized version for people who don't do fastboot command typings through CMD.
You could always flash the factory image yourself by Google Instructions, or download the OTA file on Android Police. The choice is yours. :/
Click to expand...
Click to collapse
Ok so using WugFrsh, I have to restore back to complete stock and get the stock recovery also and than I have to flash the system image?
maxell505 said:
Ok so using WugFrsh, I have to restore back to complete stock and get the stock recovery also and than I have to flash the system image?
Click to expand...
Click to collapse
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Curiousn00b said:
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Click to expand...
Click to collapse
Ok so I am going to make this clear so I can understand better and not mess up( because I tend to do that A LOT)
*Before I do anything I have to factory reset my device.*
1. Download the factory image from here: https://developers.google.com/android/nexus/images
2. Open WugFresh and click on the "Flash Stock + Unroot" option.
3. I do not understand the MD5 part.
4. WugFresh will guide me through the rest.
P.S: I do want to be rooted when on Lollipop so I can just root again after I install Lollipop right?
maxell505 said:
Ok so I am going to make this clear so I can understand better and not mess up( because I tend to do that A LOT)
*Before I do anything I have to factory reset my device.*
1. Download the factory image from here: https://developers.google.com/android/nexus/images
2. Open WugFresh and click on the "Flash Stock + Unroot" option.
3. I do not understand the MD5 part.
4. WugFresh will guide me through the rest.
P.S: I do want to be rooted when on Lollipop so I can just root again after I install Lollipop right?
Click to expand...
Click to collapse
The MD5 part, next to the " Download " button on the Google page. You see MD5:yadayadayada. In Wugfresh, it'll need the MD5 to confirm the zip.
You can root by installing a custom recovery, flashing SuperSU and a modified kernel.
Curiousn00b said:
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Click to expand...
Click to collapse
Curiousn00b said:
The MD5 part, next to the " Download " button on the Google page. You see MD5:yadayadayada. In Wugfresh, it'll need the MD5 to confirm the zip.
You can root by installing a custom recovery, flashing SuperSU and a modified kernel.
Click to expand...
Click to collapse
Ok thank you. I just have to factory reset my phone, flash stock and unroot, and insert the MD5. Once I get Lollipop installed, than I root.
maxell505 said:
Ok thank you. I just have to factory reset my phone, flash stock and unroot, and insert the MD5. Once I get Lollipop installed, than I root.
Click to expand...
Click to collapse
It said it is recommended to use force flash mode. Should I say yes to this?
maxell505 said:
It said it is recommended to use force flash mode. Should I say yes to this?
Click to expand...
Click to collapse
I did anyway and it worked! I am setting up Lollipop as I type this. Right now it is activating my cellular service. Hopefully everything works fine!

Should I unroot before installing latest OTA update?

I've got a Nexus 5 with Android 5.0. I've had it rooted and unlocked using SkipSoft Unified Android Toolkit. I recently got a notification for an OTA update for 5.0.1. When I tried to install it, it downloaded ok but upon restarting it dropped me into teamwin recovery menu with options for: Install, Wipe, Backup, Restore, Mount, Settings, Advanced, Reboot. Not knowing what to do I clicked on Reboot -> System which booted back into the phone. Nothing changed or got installed.
Does anyone know how I can apply the latest OTA update? Do I have to unroot first, apply and then re-root? Does the Toolkit have support for 5.0.1 rooting yet?
TIA
You must be 100% stock to update so yes, you need to fully unroot.
Though you should just fastboot flash the system.img and boot.img
Don't use toolkits. Do things manually. You can either flash SuperSU from recovery or use cf-auto root from a computer.
Its very easy, there is flashable 5.0 stock ROM, I dirty flashed, or you can do it like rootSU said via fastboot, root has been lost, then I flashed stock recovery via fastboot, there is thread for recoveries, then I upgraded via ota and flashed twrp via fastboot and flashed SuperSU to gain root and custom kernel.
My way is much quicker though as you flash 5.0.1 system and boot straight away. Nothing else.
rootSU said:
My way is much quicker though as you flash 5.0.1 system and boot straight away. Nothing else.
Click to expand...
Click to collapse
We will never understand why people even bother with OTAs regardless what we ever tell them
rootSU said:
You must be 100% stock to update so yes, you need to fully unroot.
Though you should just fastboot flash the system.img and boot.img
Don't use toolkits. Do things manually. You can either flash SuperSU from recovery or use cf-auto root from a computer.
Click to expand...
Click to collapse
Ok, I'm not 100% sure I understood everything you said. I've downloaded the 5.0.1 update from here: https://developers.google.com/android/nexus/images. Using 7zip, I noticed the system.img and boot.img is contained in the tgz file (along with several other files). Do I just extract just those two files? And then what do I do in Teamwin?
Will all my apps and data persist?
TIA
Techno79 said:
Ok, I'm not 100% sure I understood everything you said. I've downloaded the 5.0.1 update from here: https://developers.google.com/android/nexus/images. Using 7zip, I noticed the system.img and boot.img is contained in the tgz file (along with several other files). Do I just extract just those two files? And then what do I do in Teamwin?
Will all my apps and data persist?
TIA
Click to expand...
Click to collapse
Boot into bootloader
fastboot flash system system.img
fastboot flash boot boot.img
Boot into Lollipop
You didn't touch userdata.img so it doesn't touch the data partition, although a wipe is usually recommended anyways because it's a new version of Android.
Lethargy said:
Boot into bootloader
fastboot flash system system.img
fastboot flash boot boot.img
Boot into Lollipop
You didn't touch userdata.img so it doesn't touch the data partition, although a wipe is usually recommended anyways because it's a new version of Android.
Click to expand...
Click to collapse
Sweet, that worked a great. Thank you.

How To Update Rooted Pixel to 7.1.1?

Is there a guide to updating a rooted Google Pixel (XL) to 7.1.1 without losing root or having to wipe data? A google search only came back with info on OTA updates for stock/unrooted Pixels. Thank you!
First make sure you have the latest adb/fastboot.. Flash stock "V" boot(if that's what your current firmware is) .. Reboot to recovery.. Download the ota for O from Google.. Follow the directions there to side load the ota. Reboot back to bootloader . Flash twrp boot image , it will boot into twrp. Then install the supersu zip.. Reboot. If you did it correctly it will still be rooted. First boot takes a little while tho.
kyle4269 said:
Flash stock "V" boot(if that's what your current firmware is) .. Reboot to recovery.. Download the ota for O from Google.. Follow the directions there to side load the ota. Reboot back to bootloader . Flash twrp boot image , it will boot into twrp. Then install the supersu zip.. Reboot. If you did it correctly it will still be rooted. First boot takes a little while tho.
Click to expand...
Click to collapse
Thanks Kyle. I'm actually still on NDE63L, so I guess that's the stock image I would need to flash? Could I just use the SkipSoft Android Toolkit to 'UnRoot' and then sideload the NMF26O OTA?
Also as far as flashing twrp goes, is there anything to be concerned about with this XDA warning for the TWRP alpha2? : "TLDR: It's finally here in alpha form, may eat your data, and you will lose SuperSU root if currently installed. READ the install instructions carefully!"
You should be able to just open the flash-all file with WordPad and remove the "-w" and it will not wipe the device when you run flash-all.bat
LotharioRowe said:
Thanks Kyle. I'm actually still on NDE63L, so I guess that's the stock image I would need to flash? Could I just use the SkipSoft Android Toolkit to 'UnRoot' and then sideload the NMF26O OTA?
Also as far as flashing twrp goes, is there anything to be concerned about with this XDA warning for the TWRP alpha2? : "TLDR: It's finally here in alpha form, may eat your data, and you will lose SuperSU root if currently installed. READ the install instructions carefully!"
Click to expand...
Click to collapse
I don't think you can go from L to O using the OTA file. But you can use the full factory image.. Just remove the -w and it won't wipe date like the above comment said.. I still had to flash the original boot for the OTA to install, so I'm assuming you'll have to do that to install the factory image.. I could be wrong though. Then just reroot and you're all set.
kyle4269 said:
I don't think you can go from L to O using the OTA file. But you can use the full factory image.. Just remove the -w and it won't wipe date like the above comment said.. I still had to flash the original boot for the OTA to install, so I'm assuming you'll have to do that to install the factory image.. I could be wrong though. Then just reroot and you're all set.
Click to expand...
Click to collapse
DO you know if you can go from J to O using original factory image and flash it?
bturkel said:
DO you know if you can go from J to O using original factory image and flash it?
Click to expand...
Click to collapse
I just did. No worries.
What about if you have changed the build.prop for the tethering hack? Can you still sideload the OTA?

[N_7.0][NPJ25.93-14][TWRP][Boot]TWRP Backup of Stock Boot Partition

DISCLAIMER: I AM NOT LIABLE TO ANY DAMAGE THAT HAPPENS TO YOUR DEVICE BECAUSE OF DOING ANYTHING WRONG.
MOTO G4 PLUS [XT1643]
This is for those who had flashed a custom kernel on their stock ROM and now want to revert to stock.
REQUIREMENTS:
1. TWRP 3.0.3-n2 by @Shreps .
https://forum.xda-developers.com/mo...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337
This one is more updated/maintained than the official 3.0.2 version.
2. 7Zip Compression Utility:
Download and install on your PC. I use this as it gives the maximum ultra level compression. See Downloads below.
PROCEDURE:
1. Download and extract the TWRP.7z using 7Zip.
2. Place the TWRP folder it in the root directory of your INTERNAL STORAGE.
2. Just reboot TWRP once and choose Restore and then choose this: athene_93-14_boot
3. Swipe to restore.
NOTE: As a general recommendation for all zip installations and backup/restore using twrp, Wipe Cache and ART Cache before you Reboot to System.
4. You're DONE
DOWNLOADS:
Google Drive Link for the file:
https://drive.google.com/open?id=0B25DpDahxm52MDlBRlVqNElkaUE
7-ZIP Download Link:
http://www.7-zip.org/download.html
IF YOU WANT ENTIRE STOCK ROM ( TWRP BACKUP) VISIT THIS THREAD BY @Greekgodmerwyn .
https://forum.xda-developers.com/moto-g4-plus/how-to/android-7-0-moto-g4-plus-npj25-93-14-t3544601
HIT LIKE IF I HELPED YOU! :fingers-crossed: :good:
Hey I need the file bit it is in bin so give a alternative link
Can i install this to xt1644 retus?
Dont know bro I just want the 1643 one
dedik46 said:
Can i install this to xt1644 retus?
Click to expand...
Click to collapse
Not tried. Make additional backups and try. :good:
https://drive.google.com/open?id=0B25DpDahxm52MDlBRlVqNElkaUE
Not Found
Error 404
Please re-upload.
nextheart said:
https://drive.google.com/open?id=0B25DpDahxm52MDlBRlVqNElkaUE
Not Found
Error 404
Please re-upload.
Click to expand...
Click to collapse
Oh wait. Try this, @nextheart
https://www.androidfilehost.com/?fid=745425885120722570
@tywinlannister7 Thanks for quick reply.
As far as I can understand, this file should be flashed (restored) after restoring my TWRP back up of nougat stock rom taken in January-2017. Currently I am on RR-MM.
Shall I able to take OTA then?
nextheart said:
@tywinlannister7 Thanks for quick reply.
As far as I can understand, this file should be flashed (restored) after restoring my TWRP back up of nougat stock rom taken in January-2017. Currently I am on RR-MM.
Shall I able to take OTA then?
Click to expand...
Click to collapse
For OTA updates to work, you'd need a stock recovery on your device too; TWRP is a no go. Once you've restored your TWRP backup of your Nougat stock ROM (which hopefully may have the stock boot still), you can flash the stock recovery linked here https://forum.xda-developers.com/moto-g4-plus/how-to/how-to-ota-rooting-nougat-npj-25-93-14-t3601747
I imagine the easiest option is to flash the recovery in fastboot (same as you did with TWRP) using 'fastboot flash recovery recovery.img', then rebooting into recovery.
I think, though I've not tried it with a stock recovery, that you should be able to flash the recovery image in TWRP:
tap Install in the TWRP menu
Select 'install image's
Find your stock recovery image and select
Choose recovery as the image type
Flash and reboot to recovery.
Then, provided your system has a stock kernel, no modifications to your system and a stock recovery (bootloader doesn't matter), you should be able to update via OTA.
@echo92 Thanks for detailed guide.
I had flashed SuperSU on Nougat stock ROM, so stock boot might be affected. Am I right?
In short, I want to sell the device, so I want to return to stock.
nextheart said:
@echo92 Thanks for detailed guide.
I had flashed SuperSU on Nougat stock ROM, so stock boot might be affected. Am I right?
In short, I want to sell the device, so I want to return to stock.
Click to expand...
Click to collapse
You could have directly flashed the latest March 1 Security firmware via fastboot and lock your bootloader too.
tywinlannister7 said:
You could have directly flashed the latest March 1 Security firmware via fastboot and lock your bootloader too.
Click to expand...
Click to collapse
Thank you for pointing out.
Will I lose my IMEI or WIFI MAK or any thing else by fastboot method? Because I have read that some users are losing such things by fastboot method.
nextheart said:
Thank you for pointing out.
Will I lose my IMEI or WIFI MAK or any thing else by fastboot method? Because I have read that some users are losing such things by fastboot method.
Click to expand...
Click to collapse
Shouldn't create any such issues. Anyways, you can make an entire backup of the fsg and other partitions in twrp.
Yes, your data will be wiped though.

Categories

Resources