I do realize I need to get both the stock recovery and kernel back in order to install a OTA update and that's easy but in my case, I'd have to disable Xposed (or it's modules), revert back stock navbar with Softkeyz and even get stock GPU binaries and uninstall/disable ViPER audio fx?
Excuse my ignorance but I am a first timer on this position - also if this could be asked on a thread, I'd ask for a moderator to move it (I ran a search but would like a personal answer on this one).
Bump, can anyone give me a solid answer?
Guys?.. (spam is unintentional, it's a simple question)
If you deleted apps or did mods to your build.props download your firmware from http://sbf.droid-developers.org/phone.php?device=14, you can find your firmware in "Settings" "About" "System Version" once you see it find the same version in the link i gave you and download it. Extract it to your folder that has fastboot and mfastboot and just flash the system.img, NOTE: to this while in bootloader mode. Example: mfastboot flash system system.img If you have other mods such as modifying systemui then find someone to upload stock ui so you can replace. If you don't know how to revert back to stock kernel in the same zip firmware you downloaded move the boot.img into your fastboot and mfastboot folder and open command window here and type in fastboot flash boot boot.img. This will give you stock kernel as well.
serophia said:
If you deleted apps or did mods to your build.props download your firmware from http://sbf.droid-developers.org/phone.php?device=14, you can find your firmware in "Settings" "About" "System Version" once you see it find the same version in the link i gave you and download it. Extract it to your folder that has fastboot and mfastboot and just flash the system.img, NOTE: to this while in bootloader mode. Example: mfastboot flash system system.img If you have other mods such as modifying systemui then find someone to upload stock ui so you can replace. If you don't know how to revert back to stock kernel in the same zip firmware you downloaded move the boot.img into your fastboot and mfastboot folder and open command window here and type in fastboot flash boot boot.img. This will give you stock kernel as well.
Click to expand...
Click to collapse
Thanks.
I see but I didn't remove or modded anything, only the stuff mentioned above. Just wondering if I'd have to flash the firmware again.
rogeriorp said:
Thanks.
I see but I didn't remove or modded anything, only the stuff mentioned above. Just wondering if I'd have to flash the firmware again.
Click to expand...
Click to collapse
Just to be safe just flash the system.img and the stock recovery and boot.img and you should be good to go. I have a moto X and all i flashed was stock recovery, system.img and disabled xposed and was able to flash my 4.4.3 ota via stock recovery.
Related
So here I am worrying about bricking my device if I go back to stock.
Here is some insight-
I have an unlocked XT1032 US retail moto g running Cyanogenmod 11 m4 snapshot. I am also running clockworkmod recovery and everything is working fine. I have heard of many people bricking their devices when they try and flash stock because the version doesnt match up with the bootloader version or something like that. My bootloader version is reported to be 4111.5 (The bootloader menu version is 41.11) from the "fastboot getvar all". So if I want to flash stock firmware what version do I need to choose. (can someone give me a link to the download?) Also is there any easier way to do this, perhaps can someone give me a clockworkmod backup of stock firmware and i can flash it via restore in the recovery. Also is there a way to get .img files of my whole phone via the dd command on the superuser shell. (Someone please give me a list of those commands to make a full image of my phone) so I can restore incase something goes wrong.
So pretty much all in all can someone please give me a link to the correct stock firmware for my phone that I can flash with NO issues and a list of commands that I can use to flash.
And just wondering what is mfastboot and how is it different from fastboot.
I should have made a backup with cwm recovery before I installed cm11 but I forgot which is why I made this thread. ALL HELP IS APPRECIATED! THANKS!
hey try downloading stock firmware from this link http://sbf.droid-developers.org/download.php?device=14&file=786
then follow instruction from this thread http://forum.xda-developers.com/showthread.php?t=2542219
if you failed once don't panic... just try another firmware from here http://sbf.droid-developers.org/phone.php?device=14
just make sure you choose firmware which is for retail US and also choose right version of android... but first try the firmware i have mentioned above...
skyguy126 said:
So here I am worrying about bricking my device if I go back to stock.
Here is some insight-
I have an unlocked XT1032 US retail moto g running Cyanogenmod 11 m4 snapshot. I am also running clockworkmod recovery and everything is working fine. I have heard of many people bricking their devices when they try and flash stock because the version doesnt match up with the bootloader version or something like that. My bootloader version is reported to be 4111.5 (The bootloader menu version is 41.11) from the "fastboot getvar all". So if I want to flash stock firmware what version do I need to choose. (can someone give me a link to the download?) Also is there any easier way to do this, perhaps can someone give me a clockworkmod backup of stock firmware and i can flash it via restore in the recovery. Also is there a way to get .img files of my whole phone via the dd command on the superuser shell. (Someone please give me a list of those commands to make a full image of my phone) so I can restore incase something goes wrong.
So pretty much all in all can someone please give me a link to the correct stock firmware for my phone that I can flash with NO issues and a list of commands that I can use to flash.
And just wondering what is mfastboot and how is it different from fastboot.
I should have made a backup with cwm recovery before I installed cm11 but I forgot which is why I made this thread. ALL HELP IS APPRECIATED! THANKS!
Click to expand...
Click to collapse
XdroidBD said:
hey try downloading stock firmware from this link http://sbf.droid-developers.org/download.php?device=14&file=786
then follow instruction from this thread http://forum.xda-developers.com/showthread.php?t=2542219
if you failed once don't panic... just try another firmware from here http://sbf.droid-developers.org/phone.php?device=14
just make sure you choose firmware which is for retail US and also choose right version of android... but first try the firmware i have mentioned above...
Click to expand...
Click to collapse
Yes what this guy says will work
Almost hard bricked my phone
Tomsgt said:
Yes what this guy says will work
Click to expand...
Click to collapse
during flash gpt.bin it said preflash valadition failed and on the bootloader screen it said partition table downgraded. Used CWM backup to restore and my phone is functioning again but I am still not stock. Please tell me what I am doing wrong? I have attached a screenshot of the command prompt screen.
Q30: i encounter '(bootloader) Preflash validation failed' error message when flashing Firmware Image
You may have updated to Android 4.4.4 via firmware image or OTA update. In this case you now also have the latest version of the Bootloader. That is why you get the above output when attempting to flash a 4.4.2 firmware image. ==> simply flash 4.4.4 images instead.
If the error still occurs, even with a 4.4.4 firmware image, then unlocking bootloader will be necessary.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2537119
There is no 4.4.4 Retail US yet. You can flash 4.4.4 Retail EU just fine. Recovery flashable zip here:
http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688
I have the retail us version though. She. Will the retail us 4.4.4 be available? And one important question when I do go back to stock 4.4.4 with the link you gave me via recovery, will my custom recovery get overwritten with the stock one?
XT1032 is a Global GSM model. you can flash an XT1032 ROM from anywhere in the world and it will work.
It's currently unknown when 4.4.4 US Retail will be available, but I do not think it will take too much longer.
Those zip files only include ROM and Kernel. Recovery will not be changed.
I'll be trying that tomorrow and I'll let you know if it works or not asap. But for now thanks!
You might also need to flash the 4.4.4 EU Retail radio zip available here:
http://forum.xda-developers.com/showthread.php?t=2649763
I read somewhere that when you flash stock ROM even though the recovery is not being changed, the stock ROM will overwrite the custom recovery in start up.
Is this true?
skyguy126 said:
I read somewhere that when you flash stock ROM even though the recovery is not being changed, the stock ROM will overwrite the custom recovery in start up.
Is this true?
Click to expand...
Click to collapse
Please help my phone is stuck in CWM recovery during the flash and I think the recovery is frozen. Can I hard reboot back to recovery or is my phone totaled? :crying:
This worked for me - http://forum.xda-developers.com/mot...-gpe-4-4-4-t2824377/post55768571#post55768571. Once back to 'base' you can update to 4.4.4 OTA or flash another ROM. And if you get stuck again, re-run this process. Three downloads, a few scripts to run; double-click easy.
Good luck.
Back at stock, just had to give CWM 10mins! Thanks everyone!
I've got a Nexus 5 on Lollipop that's completely stock except for running franco kernel. Haven't touched it for awhile. If I check and there are any OTA updates available, will they install successfully?
No, you must have stock kernel, stock recovery, and unroot
micens said:
No, you must have stock kernel, stock recovery, and unroot
Click to expand...
Click to collapse
Thanks.
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Edit flash-all file and remove "-w".
Save the file and flash it from fastboot
.psd said:
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Click to expand...
Click to collapse
As of Lollipop, the OTA method has changed and instead compares the checksum/hash of the entire /system partition, as well as the boot and recovery partitions. The "old" pre-Lollipop method was to check the specific files it cares about rather than sum of the entire partition.
The best way for you to update is download the factory image, extract it then flash the boot and system images using fastboot while your device is booted into the bootloader. You may also want to flash the new bootloader and/or radio. Don't flash the userdata image as it will wipe your /data partition (which the internal storage also resides in), unless that is something you want.
After that, boot into your custom recovery and simply flash the latest SuperSU and if you want to, a Lollipop version of the kernel you want. Files required by SuperSU/root access reside in the /system partition, which prevents an OTA update, and is overwritten when flashing a factory system image. A KitKat kernel won't boot on Lollipop, and a custom kernel also prevents OTA.
OTAs are really only for those who have absolutely no software modifications (and are not informed enough to be able to flash manually) and is honestly the worst way of updating.
I have 210.12.40.falcon_umts.EURetail.en.EU ROM installed on my XT1032.
I also have TWRP recovery. I want to install Lollipop OTA so I have to get back to stock recovery.
I tried to flash recovery.img from https://mega.co.nz/#!HRpRTR4Q!GNPL3a1Syc8vwholky1wNNfX4rQ-24swytFM6cUVowM via fastboot but it's not working (red triangle). How to do that?
You need to flash back to stock 4.4.4 with no root and stock recovey, update Motorola Services app in the play store, then check for OTA updates..
audit13 said:
You need to flash back to stock 4.4.4 with no root and stock recovey, update Motorola Services app in the play store, then check for OTA updates..
Click to expand...
Click to collapse
Please read before answering.
I have stock 4.4.4 and I have OTA avaliable. But I can't install it with custom recovery.
My problem is only that I can't install stock recovery.
Did you unzip the file and try to flash the stock recovery using fastboot?
You did not mention whether your ROM was rooted, had any apps removed, etc,. and this is why I suggest re-flashing to make sure you have a completely stock ROM.
You have the EU retail ROM on your phone and the link is for the Retail GB. Not sure if both ROMs use the same recovery and partition layout.
I've just finished flashing stock recovery, this is the guide I used:
http://forum.xda-developers.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847
You're going to have to download mfastbootv2, Minimal ADB and Fastboot and the batch files, then mfastboot flash recovery recovery.img and I guess you're done.
Though I've did the whole tutorial, so I'm not sure if that one command is enough if you only want to flash recovery, but I think that's all you need.
Need 5.0.1 stock recovery to update to 5.1 ota
Hello, does anyone have the stock recovery image for 5.0.1/LRX21Z.M002? I have been searching google for hours to try and find this image. Any help would be appreciated.
Pr3no said:
I've just finished flashing stock recovery, this is the guide I used:
http://forum.xda-developers.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847
You're going to have to download mfastbootv2, Minimal ADB and Fastboot and the batch files, then mfastboot flash recovery recovery.img and I guess you're done.
Though I've did the whole tutorial, so I'm not sure if that one command is enough if you only want to flash recovery, but I think that's all you need.
Click to expand...
Click to collapse
audit13 said:
Did you unzip the file and try to flash the stock recovery using fastboot?
You did not mention whether your ROM was rooted, had any apps removed, etc,. and this is why I suggest re-flashing to make sure you have a completely stock ROM.
You have the EU retail ROM on your phone and the link is for the Retail GB. Not sure if both ROMs use the same recovery and partition layout.
Click to expand...
Click to collapse
So, for last 2 hours I was trying to flash stock recovery. I tried to flash different ROMs, wiped data and system several times. Nothing seemed to work. After flashing recovery.img from any stock firmware package there always was red triangle and it didn't work. All custom recoveries works.
So since I've already had my data wiped, I just flashed Lollipop with fastboot and it works well. But still doesn't have stock recovery.
Hi!
I am at the moment using latest build of FlashKernel but thinking about first reverting back to stock kernel, so I instead can flash latest ElementalX Kernel for 8.1.0 (March update.)
Now to the question..
How is the exact procedure and way to do this actually? I've tried google it but can't really find anything that tells me how-to do it. Anyone around here that can shed & share some light on this?
xFirefly93 said:
Hi!
I am at the moment using latest build of FlashKernel but thinking about first reverting back to stock kernel, so I instead can flash latest ElementalX Kernel for 8.1.0 (March update.)
Now to the question..
How is the exact procedure and way to do this actually? I've tried google it but can't really find anything that tells me how-to do it. Anyone around here that can shed & share some light on this?
Click to expand...
Click to collapse
Flash the stock boot.img to the "boot" slot. That is to say:
Download the full image or ota from Google. Extract it and locate the boot.img. You may have to extract a second zipped file to find it , I forget. Fastboot flash boot path\to\boot.img where "path\to\" is the path to where the extracted boot.img file is located on the computer. Be aware that recovery lies within the boot.img so if you had twrp installed and still want it then it'll have to be reflashed with the two-step process (boot the .img and flash the .zip)
My phone won't boot, I tried to unroot using the supersu zip then installed what I thought was the stock boot.img. I have already extracted the boot.img.lz4 from the stock firmware but I can't flash that. I changed the file name and removed the .lz4 and flashed it but now I'm stuck on "Could not do normal boot invalid kernel length".
Can someone please share their stock boot.img, please. I was running android 8.0
EDIT: wasn't able to fix the problem but flashed lineage os over stock rom.