[REF][How To] Return to STOCK Recovery (IF rooted) and sideload OTA - Moto X General

By now, with all the OTA's, unless you are brand new to the 2013 X, you know you have to have stock recovery on your phone for an OTA Update or Soak Test to install, and your system can't be modified too much or it will fail the pre-flash validation checks built into the OTA.zip. (i.e. there is a manifest file that checks for specific files and their check sums before it will flash the ota).
If you have an unlocked bootloader, and rooted by flashing a 3rd party recovery (like TWRP, CWM, Philz, etc) and installing SuperSU, you likely didn't put stock recovery back on your phone.
IF you are close enough to stock (like I am... stock, unlocked, rooted, with adfree, wifi tether for root, greenify, Quick boot, and a few other apps that require root), you can just flash stock recovery and take the OTA.
The steps in this post help you do that, or get ready to do that, in case you are not near your PC when an OTA comes, of if you just don't want to use your PC.
NOTE: If you have changed too much of stock that the OTA fails, please see -> [FAQ] How to prepare for and take an OTA update (All Carriers)
NOTE: the following worked when updating 4.4 to 4.4.2, and 4.4.2 to 4.4.4 on my VZW Dev Edition X. Since Lollipop has not yet been released for my phone, I can't test this yet.
Note: If you have flashed your phone with another carrier's ROM, or have only flashed "parts" of your phone, these steps may not work!! Or they may cause you to brick!
NOTE: If your Bootloader version does NOT match the one for your phone's software version, taking an OTA could brick your phone!
You must have an Unlocked Bootloader and be rooted for these steps to work:
Obtain the STOCK Moto Recovery image, and TWRP image, for your phone:
On you phone, go App Drawer -> Settings... Make note of what is listed under System Version, and Android Version.
Visit one of the sites listed in -> http://forum.xda-developers.com/moto-x/general/info-tip-web-sites-official-leaked-roms-t2923347 and obtain the EXACT same ROM/SBF file that is currently on your phone. Download the ZIP to your PC.
Unzip or extract the RECOVERY.IMG file from the SBF ZIP file.
Download the latest TWRP Recovery from -> http://teamw.in/project/twrp2/234 (under the Download-Fastboot heading)
the latest SuperSU from -> http://download.chainfire.eu/supersu or the latest CWM / TWRP / MobileODIN installable ZIP from http://forum.xda-developers.com/showthread.php?t=1538053
Flashing Recovery
Place your stock recovery.img, the latest TWRP img, and the latest SuperSU.zip in your phone's DOWNLOAD folder.
Install Rashr.
On your phone, launch Rashr.
Scroll down and select other from storage
Browse and select your stock recovery
When it completes, pick the option to reboot to stock recovery.
Your device should reboot and display the Motorola logo and then the Android in distress (logo with Exclamation mark)
Press and hold the VOL UP key for 10-15 seconds. While still holding the VOL UP key tap and release the POWER key. You should be in Stock recovery now.
Reboot your phone as normal.
To reflash TWRP or other custom recovery, as long as you are still rooted, you can repeat the same steps, selecting your custom recovery in step 5.
How to SIDE LOAD an OTA.ZIP via this process
If your carrier has started the push of the OTA ZIP for your phone, but you haven't received it, and you've found the correct OTA ZIP posted online and would like to flash it, the following steps can be used...
Download the OTA ZIP file (usually named as BLUR_XXX.XXX.XXX.zip, where XXX.XXX.XXX is the build number the ZIP will update) to your phone's /SDCard
Perform steps 1-7 under Flashing Recovery above to flash STOCK recovery onto your phone, and reboot into Stock Recovery.
Use the Vol Down key to scroll to Apply Update From SDCard, and press the Power key to select.
Use Vol Down key to scroll to your OTA zip file, and press Power to select.
The install will begin by verifying the update package, then verifying files on your phone match.
If the install fails, it will be reported on the screen, along with why. (usually because you have modified system files, or are not on the correct ROM version). You need to fix these errors and try again.
If verifications are successful, the patching process steps will begin. This may take several minutes.
Your phone should report Script Succeeded and Install from sdcard Complete.
Ensure Reboot System Now is highlighted, and press the Power key to reboot the phone.
The initial reboot may take longer than a regular reboot.
Note: You will see Android Is Upgrading or Optimizing screen during the boot process, that is normal.
After the update install process is complete, use Rashr to flash TWRP (again, other from storage and pick your TWRP). When prompted, reboot into recovery (so twrp sticks). When in TWRP, select reboot to system.
If you lost root, reboot into TWRP recovery and install SuperSU.zip
How to Root with unlocked bootloader...
If you unlocked your bootload by getting the code from Moto, after taking the OTA you may root by following ->http://forum.xda-developers.com/moto-x/general/how-to-how-to-root-5-1-unlocked-t3140217 NOTE: while the thread is titled for 5.1, it works on older Android versions as well.

Good work KidJoe :laugh::good:

I guess this will be more relevant as Soaks start heading out for the 2013 X...

Good post. Can I use the same process on MotoX 2014 pure? I have turned Moto OTA to get rid of constant "update available" notification, if I turn that back on, do you know where the OTA zip file is downloaded (i'm thinking cache )

ks73417 said:
Good post. Can I use the same process on MotoX 2014 pure? I have turned Moto OTA to get rid of constant "update available" notification, if I turn that back on, do you know where the OTA zip file is downloaded (i'm thinking cache )
Click to expand...
Click to collapse
Yes, the OTA zip is usually stored in /cache (at least is is on the 2013 X, and my past Moto phones). it is usually named for the rom it is upgrading, not what the upgrade takes you to.
I don't see why this wont work on the 2014 X, as it did on older motos too.

Brother i got Motorola updates services update today. I will try your method once there will be available ota. And can you tell me how to backup my whole rom?
Sent from my XT1052 using XDA Free mobile app

ajsonofgod said:
Brother i got Motorola updates services update today. I will try your method once there will be available ota. And can you tell me how to backup my whole rom?
Sent from my XT1052 using XDA Free mobile app
Click to expand...
Click to collapse
In TWRP you can make a nandroid backup. I've never done it. I haven't had need because I run stock. If I need to reflash, I just reflash the same SBF I've been running.

I followed the instructions in the OP to return to stock recovery, then applied the OTA update Blur_Version.213.44.1.ghost_row.Retail.en.US, but am failing with this message
/system/etc/install-recovery.sh has unexpected contents
I haven't knowingly modified any system files, although I am rooted. Any thoughts about what this error might mean and how to resolve it?

ejlmd said:
I followed the instructions in the OP to return to stock recovery, then applied the OTA update Blur_Version.213.44.1.ghost_row.Retail.en.US, but am failing with this message
/system/etc/install-recovery.sh has unexpected contents
I haven't knowingly modified any system files, although I am rooted. Any thoughts about what this error might mean and how to resolve it?
Click to expand...
Click to collapse
What ROM is on you phone to start with? On your phone go App Drawer -> Settings -> About.. tell me the Android Version, System Version and Build Number. Also what model X do you have?
213.44.1.ghost_row.Retail.en.US is an XT1053 4.4.4 update file for the XT1053 if I'm not mistaken. It is meant to be applied to a 4.4.3 stock rom, and it might apply to a 4.4.2 stock rom..
The OTA file will fail its pre-flash validation checks if you are not on the intended stock rom.

KidJoe said:
What ROM is on you phone to start with? On your phone go App Drawer -> Settings -> About.. tell me the Android Version, System Version and Build Number. Also what model X do you have?
213.44.1.ghost_row.Retail.en.US is an XT1053 4.4.4 update file for the XT1053 if I'm not mistaken. It is meant to be applied to a 4.4.3 stock rom, and it might apply to a 4.4.2 stock rom..
The OTA file will fail its pre-flash validation checks if you are not on the intended stock rom.
Click to expand...
Click to collapse
Thank you. I'm embarrassed that I didn't perform sufficient due diligence. I am already on the same system version as the update (213.44.1.ghost_row.Retail.en.US ), which I mistakenly thought was to get to Lollipop from 4.4.4.

there any way to make a dump the stock recovery in Lollipop, without the need root?

ejlmd said:
Thank you. I'm embarrassed that I didn't perform sufficient due diligence. I am already on the same system version as the update (213.44.1.ghost_row.Retail.en.US ), which I mistakenly thought was to get to Lollipop from 4.4.4.
Click to expand...
Click to collapse
Yeah, OTA Update files are often named including the version the phone must be on, not the version it takes the phone to.

Do I need to uninstall xPosed & GravityBox before I sideload L ? I guess, Kitkat version of xposed worn't work in L anyway.

ks73417 said:
Do I need to uninstall xPosed & GravityBox before I sideload L ? I guess, Kitkat version of xposed worn't work in L anyway.
Click to expand...
Click to collapse
It's ABSOLUTELY BEST you avoid the update............but....
If you can't, it is highly recommended that you clean flash it...kind of the only choice. Flash the 4.4.4 Brazilian stock ROM. And install the update from recovery. You can reroot after adding TWRP back.

I am also on stock rom 4.4.4. But i dont have this rom on my pc for reflashing. Please provide link for download or some info related to it
Sent from my XT1052 using XDA Free mobile app

ajsonofgod said:
I am also on stock rom 4.4.4. But i dont have this rom on my pc for reflashing. Please provide link for download or some info related to it
Sent from my XT1052 using XDA Free mobile app
Click to expand...
Click to collapse
Please see the LINK in my signature for sites to download stock SBF files

ks73417 said:
Do I need to uninstall xPosed & GravityBox before I sideload L ? I guess, Kitkat version of xposed worn't work in L anyway.
Click to expand...
Click to collapse
As explained elsewhere... Xposed makes changes to /system which cause OTA updates to fail their pre-flash validation checks.
It is recommended to boot to TWRP and install /SDcard/Android/data/de.robv.android.xposed.installer/files/Xposed-Disable-Recovery.zip then uninstall XPosed.
You will also need to undo any changes to /system or other parts the the OTA tries to validate before installing, or else it will fail.
You are correct that a newer version of Xposed is needed.
You may also want to wait on trying the 5.0.2 Leaks because if they are an early limited early test version, rather than a soak which is nearly ready to be pushed to all, you could be stuck on this version until an SBF leaks.

Update
Does anyone know how to return to stock recovery for lollipop? New update came up today but I have TWRP.

upload the stock recovery lollipop please!!!!

Good work, love your detailed explanations always .

Related

Update to 2.3.6 and keep root

If you haven't already done so, install Rom Manager and flash Clockworkmod Recovery. It doesn't replace the actual recovery partition or the files that restore it so it won't affect flashing the update.
If you received an OTA notice don't flash it. You can go into /system/cache and copy it, or download it from the links in other threads. Place the update zip (no need to rename it) on the root of your sd card.
To install the update you must be fully stock (root is okay). That means any changed or deleted system files (including bootanimation.zip) will prevent the update from flashing. You will get a status 7 error. If you used Bloat Freezer you must defrost all before flashing the zip or it will error.
Also, have available whatever zip you used to root your Nexus one (i.e., su.zip or superboot, etc.) and put on the root of your sd card.
Once your system is back to stock reboot into CWM recovery and select flash zip from sd card. Then flash the 2.3.6 update file. Then DO NOT reboot yet. Now flash your root zip. After you have flashed both the udpate and the root zip you can reboot your phone. No need to wipe anything.
When your phone reboots you will have 2.3.6 and it will still be rooted. No bootloader gymnastics necessary.
I am using stock (almost) version of GRJ22 , but unfortunatelly I got the status 7 error when I tried to apply the update via clockworkmod recovery. I guess that's because I have already integrated some system apps into ROM using Titanium Backup.
So, if I flash stock vanilla GRJ22, then SU, then GRK39F (the incremental update) and finally SU again, won't that do the job??
Thanks..
Nikos_s3 said:
I am using stock (almost) version of GRJ22 , but unfortunatelly I got the status 7 error when I tried to apply the update via clockworkmod recovery. I guess that's because I have already integrated some system apps into ROM using Titanium Backup.
So, if I flash stock vanilla GRJ22, then SU, then GRK39F (the incremental update) and finally SU again, won't that do the job??
Thanks..
Click to expand...
Click to collapse
Yes, that will do nicely. Just need to get back to GRJ22 stock before you can flash the udpate. The updater-script does an assert and checks the md5 checksum of every system file before it allows the update to flash. If it doesn't find all stock files or checksums don't match what it is looking for, you get a status 7 error and the line above will show which file it stopped on. So you can look at those messages and keep restoring files it wants (if only a few) without having to flash completely back to stock.
I guess that would take much time, as almost all of my google apps are integrated into ROM...so I will try to follow the procedure I wrote earlier and if that won't work, I will try a ready stock,rooted ROM (Fireb33 has done it already)..
thanks mate..
Why so complicated?
You can update to 2.3.6 AND keep root even much more simple:
1.) Update from OTA to 2.3.6 (and loose root).
2.) Flash Superboot from Madaco and get back root.
Done in 3 minutes.. No need to flash, recover, overwrite and/or whatever, no need for ADB, no messing:
Code:
https://bexton.net/2011/09/24/root-access-for-nexus-one-on-android-2-3-6-grk39f-superboot/
Bexton said:
You can update to 2.3.6 AND keep root even much more simple:
1.) Update from OTA to 2.3.6 (and loose root).
2.) Flash Superboot from Madaco and get back root.
Done in 3 minutes.. No need to flash, recover, overwrite and/or whatever, no need for ADB, no messing:
Code:
https://bexton.net/2011/09/24/root-access-for-nexus-one-on-android-2-3-6-grk39f-superboot/
Click to expand...
Click to collapse
That's only for those who have the bootloader unlocked?
_raz_ said:
That's only for those who have the bootloader unlocked?
Click to expand...
Click to collapse
Well, yep. That method indicates your (phones) bootloader is unlocked. But as it's the N1, unlocking the bootloader is just 19 (up to 25) characters away -> "fastboot(-linux) oem unlock".
Edit: By the way, i looked up that post from an android platform engineer:
Code:
groups.google.com/group/android-platform/msg/b7d83992dd92accb?dmode=source
The N1 is just made for that.
tried superboot but wifi down
I flashed the update for 2.3.6 and then superboot but my wifi gives an error when I try to turn it on.
New Superboot file for GRK39F?
Is there a new Superboot file for the new OTA update?
jboxer said:
If you haven't already done so, install Rom Manager and flash Clockworkmod Recovery. It doesn't replace the actual recovery partition or the files that restore it so it won't affect flashing the update.
If you received an OTA notice don't flash it. You can go into /system/cache and copy it, or download it from the links in other threads. Place the update zip (no need to rename it) on the root of your sd card.
To install the update you must be fully stock (root is okay). That means any changed or deleted system files (including bootanimation.zip) will prevent the update from flashing. You will get a status 7 error. If you used Bloat Freezer you must defrost all before flashing the zip or it will error.
Also, have available whatever zip you used to root your Nexus one (i.e., su.zip or superboot, etc.) and put on the root of your sd card.
Once your system is back to stock reboot into CWM recovery and select flash zip from sd card. Then flash the 2.3.6 update file. Then DO NOT reboot yet. Now flash your root zip. After you have flashed both the udpate and the root zip you can reboot your phone. No need to wipe anything.
When your phone reboots you will have 2.3.6 and it will still be rooted. No bootloader gymnastics necessary.
Click to expand...
Click to collapse
I want to update to gingerbread and looking for the proper guidance going forward. I've done some looking around the forums but i'm still unclear if i need to unroot or install a stock build, etc. What i know is the phone is rooted and sim unlocked. How can i check to see if the bootloader is open/locked?
Current specs:
android version 2.2.1
Baseband 32.41.00.32U_5.08.00.04
Kernal Version 2.6.35.9-cyanogenmod
Mod Version: Cyanogenmod-6.1.1-N1
Build: FRG83D
edit:
Please treat me like an idiot and walk me through this process. It's be utterly frustrating and I'm a stone's throw away from busting out my Nokia 3390 (equipped with led disco keypad).
If your bootloader is unlocked you will see an unlocked padlock on the boot up screen...

4.4.2 (KOT49H) update fails on rooted device

Received the update today but it failed to install. I'm running the stock rom KRT16S. My Nexus 10 is rooted and my recovery is TWRP 2.6.3.1. I have added nothing else to this rom except a few apps from the google play store. I wanted to try again but couldn't find where the OTA is stored. It wasn't in the /cache/fota folder. So I downloaded a flashable zip from the net. But this update file failed to install also. I've seen a few others have success installing the update. I just don't know what's preventing me from updating. I welcome your suggestions. Thanks.
Same here on my Nex5.
It seems, that some custom zips changed my stock (rooted) rom in this way that I am not able to install the 4.4.2 update.
I got similar issue on my Nex4 in the past, I could help me out by flashing full rom (rooted) deodexed, but where can I find the full rom of 4.4.2 for my Nex5 now?
Anybody can give me a clue?
Thank u very much.
Greetz from Germany.. Fred
Lexus One said:
Received the update today but it failed to install. I'm running the stock rom KRT16S. My Nexus 10 is rooted and my recovery is TWRP 2.6.3.1. I have added nothing else to this rom except a few apps from the google play store. I wanted to try again but couldn't find where the OTA is stored. It wasn't in the /cache/fota folder. So I downloaded a flashable zip from the net. But this update file failed to install also. I've seen a few others have success installing the update. I just don't know what's preventing me from updating. I welcome your suggestions. Thanks.
Click to expand...
Click to collapse
amplifier1980 said:
Same here on my Nex5.
It seems, that some custom zips changed my stock (rooted) rom in this way that I am not able to install the 4.4.2 update.
I got similar issue on my Nex4 in the past, I could help me out by flashing full rom (rooted) deodexed, but where can I find the full rom of 4.4.2 for my Nex5 now?
Anybody can give me a clue?
Thank u very much.
Greetz from Germany.. Fred
Click to expand...
Click to collapse
Hi Fred, and greetz from Ohio. I'm not aware of anything in the 4.4.2 flavor right now for the Nex10. I'm not sure about the Nex5. I think we're just going to have to wait. But I'd like to have the same thing. A lean & clean deodexed stock rooted 4.4.2 rom with a few performance tweaks. Like the old "Cleanrom" by scrosler. As for right now, did you try an ADB Sideload update to 4.4.2 using Wug's Toolkit? http://www.wugfresh.com/faqs/how-to-update-ota-not-working/
Lexus One said:
Hi Fred, and greetz from Ohio. I'm not aware of anything in the 4.4.2 flavor right now for the Nex10. I'm not sure about the Nex5. I think we're just going to have to wait. But I'd like to have the same thing. A lean & clean deodexed stock rooted 4.4.2 rom with a few performance tweaks. Like the old "Cleanrom" by scrosler. As for right now, did you try an ADB Sideload update to 4.4.2 using Wug's Toolkit?
Click to expand...
Click to collapse
Hi. Meanwhile i found a thread in nexus5 Android development area which contains both deodexed and odexed stock rooted full rom . so i just flashed odexed Version over my 4.4... Now i am on 4.4.2 finally... And still rooted..
Thank u anyway..
Greetz, fred
Lexus One said:
Received the update today but it failed to install. I'm running the stock rom KRT16S. My Nexus 10 is rooted and my recovery is TWRP 2.6.3.1. I have added nothing else to this rom except a few apps from the google play store. I wanted to try again but couldn't find where the OTA is stored. It wasn't in the /cache/fota folder. So I downloaded a flashable zip from the net. But this update file failed to install also. I've seen a few others have success installing the update. I just don't know what's preventing me from updating. I welcome your suggestions. Thanks.
Click to expand...
Click to collapse
Hi,
You can try performing a full unroot in the SuperSU app if it still doesn't work... I had to adb sideload mine to work, don't know how it works with toolkit, but you have to first set your tablet to receive it. As you are on TWRP you simply go to advanced and select adb sideload, then try using the tool, or following the instructions on it to do so .
You cannot install a OTA zip like a Custom ROM zip, they are a little bit different hehe.
Hope this helps,
~Lord
PS.: This will work for N5 too.
I somehow got the idea that rooted Nexus devices with a custom recovery could handle OTA's without trashing the recovery. I guess I expected that I would lose root. I think I'm just going to wait for someone to put together a "CleanROM" based on 4.4.2 or newer. I've been waiting for a rom like this since I bought my Nex10 anyway. I don't think I'll suffer too much running on 4.4 until then.
Thanks to those who contributed, I'll remember your suggestions. Especially if I end up waiting a long time for a 4.4.2 based Cleanrom.
Update: Thanks to Wug's toolkit. I'm now running 4.4.2..
I should ask for a sticky for this but these instruction will work EVERY TIME if you are running either custom recovery or Root.
You will need the latest adb/fastboot from google, you can either install the SDK or download any of the many smaller adb/fastboot and libs for your os
You will need STOCK 4.4/4.3/4.2 recovery depending on what version of android you are currently on. Download the factory image from here. Open the zip within the package and pull out recovery.img and rename it stockrecovery.img
Copy your custom recovery to the adb folder name it twrp.zip or short name for whatever you are using I am using twrp.
You will need the correct OTA you are seeking to apply - rename it to something short simple and obvious - for this example I will use otaupdate.zip
If you wish to root get the latest patch (I believe its up to 1.75 now) and copy it to the adb/fastboot folder.
BACKUP YOUR DEVICE FIRST AND COPY IT TO YOUR PC
If you are already Rooted:
If you are using SuperSU - go to the application options and completely unroot and reboot if needed
BACKUP YOUR DEVICE FIRST AND COPY IT TO YOUR PC
If not rooted start here:
I am assuming most of you are Windows users. Open your file explorer and open the ADB folder.
On the left hand folder where ADB is located press shift and right click the ADB folder and select "Open command window from here". This will open a command prompt window for you to run all your adb/fastboot commands from. This is the same folder where you copied your recoveries and updates to.
BACKUP YOUR DEVICE FIRST AND COPY IT TO YOUR PC
Copy your custom recovery and stock recovery to your adb folder
Copy and rename the OTA to the adb folder
Copy your root.zip patch to the /sdcard downloads folder (if you wish root)
>adb reboot bootloader
>fastboot flash recovery stockrecovery.img
>fastboot reboot-bootloader
Go into recovery and wait till dead droid appears
Press power and Volume Up at same time to go into the stock recovery menu
Using the volume buttons move and down the blue list of options and select: Apply update from ADB
You will now have orange text at the bottom of the screen - follow the instructions to side load by typing >adb sideload otaupdate.zip in your command prompt window
Wait and watch the progress, at this point you should see the ota processing steps of which there a few and will vary depending on the package. When its complete there will be a "install complete" or similar message
Reboot and let the update complete the system optimizations and go in validate your device is working and the version is what you wanted
>adb reboot bootloader
>fastboot flash twrp.zip
>fastboot reboot-recovery
Using your newly installed custom recovery you can now apply zips/root etc
Reboot as needed and update root if using older .zip to current binaries and enjoy your updated device.
And yes you only need to backup once prior to starting but many people skip that step -DON'T BE ONE OF THOSE PEOPLE.
Hopefully I've not missed a bit.
You can also use these same instructions if you're stuck in boot loop or applied a patch without first replacing stock or unrooting - just boot to bootloader using fastboot and replace recovery and apply the patches. This will usually work just fine and prevent much heart ache on your part.

[ROM]Updated! 4.4.4 SU4.21 fully rooted with writable system on LOCKED BL

Hello guys!
I've found the way for getting Android 4.4.4 rooted without write-protection on root filesystem
Original post on 4pda.ru Warning! Russian language detected!)
So, this is small and very simple instruction:
Preparation:​1. You should be on SU2-3.3 (Blur 19.6.3) or SU2-3-15 (Blur 19.5.3) rooted and have SafeStrap installed!
2. You have never flashed SU4.21 (Blur 21.11.21) Android version 4.4.4 via RSDLite and you have never taken OTA with 4.4.4!!!
Let's do it and enjoy fully rooted 4.4.4!​1 I've done 2 ZIP-files, download one, you prefer:
full rooted stock 4.4.4 SU4.21 with hosts-file ADBLOCK trick.
Download 4.4.4_full here
full rooted Debloated stock 4.4.4 SU4.21, with Touchless Control, Active Display, NFC, Wireless Monitor (inc. Cromecast)
Download 4.4.4_debloated here
Debloated ROM develompent was stopped, due to my smartphone physical damage. Im' sorry.
Regards, Dmitry.
2. Copy downloaded zip in to device storage.
3. Reboot to SafeStrap
4. Select Insall button, select ZIP, you prefer.
5. For locked bootloader: when installation will finish, reboot you device in to bootloader and flash stock kernel from SU4.21
you could take it here or from ZIP-file.
6. After flashing boot.img just reboot you smartphone and enjoy 4.4.4 with root and writable /system
For unlocked bootloader - all done, just reboot your device .
DO NOT PERFORM ANY WIPES!
If something happend with you phone, you can revert to SU2-3-15 (Blur 19.5.3) via RSDLite, get root, install SafeStrap
If you need to clean bloatware, use my Custom Recovery compatibility scripts, could be downloaded in this topic
If you found any features, you need, missing, please, pm me.
i am BL Unlocked, so no need for this for me... but if this is the case and it works then great find my man!!
Given the recent vulnerability published by Dan Rosenberg, I'm hesitant to update to 4.4.4, as it may patch this vulnerability - keeping the bootloader locked indefinitely. I would just keep this in mind if considering this update.
EDIT: Got my information wrong. The date on the OTA is before the date the vulnerability was published. 4.4.4. seems good to go in that case.
has anyone tried this yet?
Thinking about trying this - doing a backup now in Safestrap.
Would like to be able to see this...
"2. You have boot.img from SU4-21, you can download it below "
Where do you see this information? How do I know what version I have in 4.4?
rdenova said:
Thinking about trying this - doing a backup now in Safestrap.
Would like to be able to see this...
"2. You have boot.img from SU4-21, you can download it below "
Where do you see this information? How do I know what version I have in 4.4?
Click to expand...
Click to collapse
Settings>About Phone>Build number
summer.cat said:
1. You should be on SU2-3.3 rooted and have SafeStrap installed!
Click to expand...
Click to collapse
This, I see under Build Number.
summer.cat said:
2. You have boot.img from SU4-21, you can download it below
Click to expand...
Click to collapse
This, I do not see any place and is why I asked.
Wait so is this a fully write protection off?
mrwinkle said:
has anyone tried this yet?
Click to expand...
Click to collapse
Looks like this fella did...
http://forum.xda-developers.com/droid-ultra/general/update-19-5-3-obake-t2845903
ceelos218 said:
Wait so is this a fully write protection off?
Click to expand...
Click to collapse
sertainly)
PS: i've read many questions about build versions and firmware versions, so if you couldn't understand which firmware you have, follow this:
First update 4.4 - SU2.3-15 (suits for gaining root and wp off by @beaups wbegone)
Second update 4.4 - SU2.3-3
Latest update 4.4.4 - SU4.21
hope, it will be helpfull.
summer.cat said:
sertainly)
PS: i've read many questions about build versions and firmware versions, so if you couldn't understand which firmware you have, follow this:
First update 4.4 - SU2.3-15 (suits for gaining root and wp off by @beaups wbegone)
Second update 4.4 - SU2.3-3
Latest update 4.4.4 - SU4.21
hope, it will be helpfull.
Click to expand...
Click to collapse
Instead of using the SU for identifying builds, you should probably the system version number as that is more frequently used. 19.5.3, 19.6.3, 21.11.21
summer.cat said:
Hello guys!
I've found the way for getting Android 4.4.4 rooted without write-protection on root filesystem
Original post on 4pda.ru Warning! Russian language detected!)
So, this is small and very simple instruction:
Preparation:
1. You should be on SU2-3.3 rooted and have SafeStrap installed!
You have never flashed 4.4.4 via RSDLite and you have never taken OTA with 4.4.4!!!
2. You have downloaded boot.img from SU4-21
can be downloaded here https://drive.google.com/file/d/0B_kAWkXp3XK9VmpnSGNaVUZtTDQ/edit?usp=sharing
Let's do it!
1. Download 4.4.4_rooted.zip here
https://drive.google.com/file/d/0B_kAWkXp3XK9amVwNjJKUjk4QmM/edit?usp=sharing
2. Copy 4.4.4_rooted.zip in to device storage.
3. Reboot to SafeStrap
4. Select Insall button, select 4.4.4_rooted.zip
5. After flashing reboot to bootloader and flash via fastboot tools boot.img file from point 2 above
Code:
fastboot flash boot boot.img
6. Reboot after flashing boot.img
7. Enjoy 4.4.4 with root and writable /system
If something happend with you phone, you can revert to SU2-3.15 via RSDLite, get root, install SafeStrap
PS: You flashing clean from bloatware system! As clean as possible, but everything works fine!
Click to expand...
Click to collapse
....So, does this mean I can finally install some ROMs on my retail Moto? I came from a bootloader-locked 4.4 install with root.
thebenshow said:
....So, does this mean I can finally install some ROMs on my retail Moto? I came from a bootloader-locked 4.4 install with root.
Click to expand...
Click to collapse
i mean, you can use 4.4.4 without write protection
I'm about to try this out to n my xt1080 on 4.4.4... I will update when I'm finished
Can this be used for the droid mini?
I should have read closer I got too excited about about getting root... I already took 4.4.4 OTA... I need root
Am I the only one waiting for clear confirmation from someone who was rooted on 19.6.3 that did the steps in this thread that they are now on 4.4.4 with root and write protection permanently off?
BriCo84 said:
Am I the only one waiting for clear confirmation from someone who was rooted on 19.6.3 that did the steps in this thread that they are now on 4.4.4 with root and write protection permanently off?
Click to expand...
Click to collapse
I am too lol. Been refreshing this thread ever since I ran across it.
Anyone try this?
He is talking about using safestrap on a 4.4 ROM. If you EVER updated to 4.4.4, this will never work for you as you will never be able to disable write-protect to be able to install safestrap.
OP: perhaps you should make this more clear in the original post. Specifically that it will not work if you ever updated to 4.4.4 (Actually, the OP DOES say this...), AND that you're not actually running the 4.4.4 rom, but rather a 4.4.4 stock-based, safestrap-compatible ROM. If you are using this successfully, your bootloader AND your partition table are still on 4.4, which allows you to retain WP-off, safestrap, and root.
But yeah...this will absolutely work if you never updated past 4.4. We have known about this for a long time...I'm surprised a guide was just recently put out about this.

[OTA] 5.0.2 XT1032 Retail US

https://yadi.sk/d/v93-GFXngmcbq
Hi ,
Can i restore stock US retail 4.4.4 and update this OTA.
thanks
eugineprakash said:
Hi ,
Can i restore stock US retail 4.4.4 and update this OTA.
thanks
Click to expand...
Click to collapse
Yes thats how it usually works!
Are there any issues with upgrade?
AgentChaos said:
Yes thats how it usually works!
Click to expand...
Click to collapse
Are there any issues with upgrade?bcos iam currently in cm12.1 my bootloader version 41.19
I am planing to restore 4.4.4 us retail without downgrade my bootloader after that i am going upgrade from OTA in above thread.
Are there any issues with upgrade?Please guide me if i wrong.
Thanks,
eugineprakash said:
Are there any issues with upgrade?bcos iam currently in cm12.1 my bootloader version 41.19
I am planing to restore 4.4.4 us retail without downgrade my bootloader after that i am going upgrade from OTA in above thread.
Are there any issues with upgrade?Please guide me if i wrong.
Thanks,
Click to expand...
Click to collapse
I have been unable to install the update. Was with custom recovery and root and tried to install it and failed. Did factory reset, install stock recovery, download again the OTA from phone an try to install it and did not work.
Used the guide to go back to the stock firmware (though I already had it)
Try to install it using stock recovery, threw and error. (books.apk blabla).
Don't know what problems could yo be facing but man, this has been tough.
EDIT:
Just figured it out! The problem was exactly that I was already using the stock ROM and deleted some system APKs.
After trying going back to the really stock one once again (first I did not flash system images) it is installing correctly!
Btw this is my mirror for those who prefer using MEGA servers.
https://mega.co.nz/#!qJIE0SAY!u5-ezdk4o9OWfEKWVAJtW1KKQrV82NhiG1-myqlwOJ4
working confirm Thanks
Joandvg6 said:
I have been unable to install the update. Was with custom recovery and root and tried to install it and failed. Did factory reset, install stock recovery, download again the OTA from phone an try to install it and did not work.
Used the guide to go back to the stock firmware (though I already had it)
Try to install it using stock recovery, threw and error. (books.apk blabla).
Don't know what problems could yo be facing but man, this has been tough.
EDIT:
Just figured it out! The problem was exactly that I was already using the stock ROM and deleted some system APKs.
After trying going back to the really stock one once again (first I did not flash system images) it is installing correctly!
Btw this is my mirror for those who prefer using MEGA servers.
http s:/ / mega . co . nz/ #!qJIE0SAY!u5-ezdk4o9OWfEKWVAJtW1KKQrV82NhiG1-myqlwOJ4
Click to expand...
Click to collapse
working confirm Thanks
Where can I get the stock 4.4 so I can upgrade? I need stock recovery too.
I have problems to update too. XT1032, Retail US. As a first information, I have KK 4.4.4
I managed to download the update from my mobile (zipfile Blur_Version.210.12.61.falcon_umts.Retail.en.US, I already transferred to my PC thanks to Root Explorer), but when I go to "install now" and reboot, trying to install from zip file, pops a message from my recovery (PhilzTouch) Error Status 7. My phone is rooted by SU v2.46
So, what are the exactly step-by-step guide. I will appreciate that. Greetings from Chile
tifossi88 said:
I have problems to update too. XT1032, Retail US. As a first information, I have KK 4.4.4
I managed to download the update from my mobile (zipfile Blur_Version.210.12.61.falcon_umts.Retail.en.US, I already transferred to my PC thanks to Root Explorer), but when I go to "install now" and reboot, trying to install from zip file, pops a message from my recovery (PhilzTouch) Error Status 7. My phone is rooted by SU v2.46
So, what are the exactly step-by-step guide. I will appreciate that. Greetings from Chile
Click to expand...
Click to collapse
Change your recovery por el Stock Recovery for Kitkat 4.4.4
newellj79 said:
Where can I get the stock 4.4 so I can upgrade? I need stock recovery too.
Click to expand...
Click to collapse
This is the 4.4.4 Retail US (Last Build released)
https://mega.co.nz/#!ZIxQGJSJ!dnHim2zF3vDIenrvw24NeTDAeneA8m5BEidoD6hz4_k
That's the one I flashed following the guide to flash stock firmware in this forum and then updated with the OTA I posted before (I suppose the one of the topic is the same)
Finally, it's out!
kykemejia said:
Change your recovery por el Stock Recovery for Kitkat 4.4.4
Click to expand...
Click to collapse
Followed your steps:
- Flashed my phone (XT1032) with Retail US 4.4.4 Stock (RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml) using CMD, fastboot, typing list of files, etc.
- Updated some Motorola apps. Noticed Super SU is already included and installed by default, no way to uninstall it.
- Downloaded to my computer the OTA file (Blur_Version.210.12.61.falcon_umts.Retail.en.US), then moved OTA file to SD Card
- Turn off mobile
. Reboot in stock recovery, with the robot and the exclamation sign.
- Try to apply update from SD card with the file previously loaded on it (Blur_Version.210.12.61.falcon_umts.Retail.en.US)
- At verifying update package, update stops popping a message. The message in yellow is:
Package expects build fingerprint of motorola/falcon_retuglb/falcon_umts:4.4.4/KXB21.14-L1.61/62:user/release-keys or motorola/falcon_retuglb/falcon_umts:5.0.2/LXB22.99-36/35: user/release-keys; this device has motorola/falcon_retuglb/falcon_umts:4.4.2/KXB
Installation aborted.
Click to expand...
Click to collapse
What should I do in that case? Feel free to answer me in spanish for PM.
Is this any different from the February Canada release?
tifossi88 said:
Followed your steps:
- Flashed my phone (XT1032) with Retail US 4.4.4 Stock (RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml) using CMD, fastboot, typing list of files, etc.
- Updated some Motorola apps. Noticed Super SU is already included and installed by default, no way to uninstall it.
- Downloaded to my computer the OTA file (Blur_Version.210.12.61.falcon_umts.Retail.en.US), then moved OTA file to SD Card
- Turn off mobile
. Reboot in stock recovery, with the robot and the exclamation sign.
- Try to apply update from SD card with the file previously loaded on it (Blur_Version.210.12.61.falcon_umts.Retail.en.US)
- At verifying update package, update stops popping a message. The message in yellow is:
What should I do in that case? Feel free to answer me in spanish for PM.
Click to expand...
Click to collapse
In the SU menu you can find a way to delete the root, but I don't think that is causing the error.
Can you please tell me the version of recovery your phone have? You may have installed a kit kat 4.4.2 recovery or one with a different build number and that's causing the error.
IKXB21.14-L1.61
In the recovery menu, you should see the .61. I got the same problem as you and was using .32.
Did full factory reset, and installed stock again (w/o updating anything at all), when I checked the recovery, it was .61 and it updated perfectly.
In case you are really sure you got the actual last kitkat update firmware, you can try to extract the recovery.img and flash it using moto tool,
(rename it to StockKitkatrecovery.img and replace the one it brings with this one)
Joandvg6 said:
In the SU menu you can find a way to delete the root, but I don't think that is causing the error.
Can you please tell me the version of recovery your phone have? You may have installed a kit kat 4.4.2 recovery or one with a different build number and that's causing the error.
IKXB21.14-L1.61
In the recovery menu, you should see the .61. I got the same problem as you and was using .32.
Did full factory reset, and installed stock again (w/o updating anything at all), when I checked the recovery, it was .61 and it updated perfectly.
In case you are really sure you got the actual last kitkat update firmware, you can try to extract the recovery.img and flash it using moto tool,
(rename it to StockKitkatrecovery.img and replace the one it brings with this one)
Click to expand...
Click to collapse
I solved my problem by myself, thanks anyway. The issue for me, was updating some apps once in 4.4.4. You should not to do it.
Explanation for dummies, as me, in order to get Lollipop 5.0.2:
1) Flash your phone (XT1032) with Retail US 4.4.4 Stock (RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml), as it follows:
A) Extract the Retail US 444. Stock zip file (475 MB)
B) Download this file too: (1,5 MB) https://www.dropbox.com/s/nlbrn71wfqyup4u/mfastboot-v2.zip?dl=0 , and unzip it inside the same folder as you extracted Retail US Stock zip file. All files together in the same path.
C) Put your phone on fastboot (turn off, and then press Vol-and Power 3 secs, and release both buttons). Connect your phone to USB port.
D) Inside the folder containing all all these files, press **** + right click and choose "open file command", and a CMD window will open.
E) Once in CMD window, execute one by one:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
F) After reboot, unplug phone from USB port.
G) Done, you have now Stock Retail US 4.4.4 installed on your phone, Turn it on and set all things in order to go to home screen. ​
2)Once in the main screen , don't update your apps, no matter if they are even from Google or Motorola, don't do it
3) Download to your PC the OTA file (372 MB) Blur_Version.210.12.61.falcon_umts.Retail.en.US
4) Connect again your phone to USB port , and move OTA file to your phone SD Card
5) Once done previous step, go to Stock Recovery Mode. It is:
A)Turn Off your phone
B) Press Power and Vol- for 3 secs, then release
C) Select with vol- recovery option, and confirm it with vol+ button
D) Android Robot with exclamation sign will show up on the screen
E) Press vol+ and vol- for 5 secs, then press power once and release all the 3 buttons at the same time
F) Recovery Stock will appear you now.​
6) Apply update from SD card with the file previously loaded on it (Blur_Version.210.12.61.falcon_umts.Retail.en.US). Select OTA file on "apply update from zip file".
7) Process will take up to 10-15 minutes aproximately. Voilá, you will have Lollipop 5.0.2 on your RetailUS mobile.
Hope it will be useful for dummies, like me. Thanks.
Greetings from Chile.
Perfect
I had same issue and after all these steps my phone updated perfectly.
Many thanks.:good:
Really great help. Many thanks :victory:
Can anyone give me the link of IKXB21.14-L1.61 recovery?
Anyways, I downloaded and now uploading only the IKXB21.14-L1.61 recovery.
Link of IKXB21.14-L1.61 Recovery
eugineprakash said:
Are there any issues with upgrade?bcos iam currently in cm12.1 my bootloader version 41.19
I am planing to restore 4.4.4 us retail without downgrade my bootloader after that i am going upgrade from OTA in above thread.
Are there any issues with upgrade?Please guide me if i wrong.
Thanks,
Click to expand...
Click to collapse
You cannot downgrade the 41.19 bootloader to the 41.13. If you try to do that you WILL hardbrick your phone. However you can downgrade from Lollipop to Kitkat 4.4.4 (I know because I am on the 41.19 bootloader and was on cm 12.1 but restored to 4.4.4 successfully).
You have to flash the firmware for your phone except for the gpt.bin and motoboot.img. Flash all the other files in the firmware for your phone without those two and you should be fine.
xt1028 Moto G
I'll never flash stuffs with Motorola recovery! Today I did a factory reset with the stock recovery and damn! it deleted all my files in the internal SD! IT would have never happened if I would have factory reset with TWRP!
I'll wait for lost101's zip!

XT1096 - System update 23.16.5.en.US

My new Moto X 2014 (rooted, unlocked BL) just received this file:
Blur_Version.23.16.3.victara_verizon.verizon.en.US.zip - about 2.88Mb
VZW says it is to update to system 23.16.5.en.US
Since my phone is rooted and has TWRP installed it won't install. I have attached for others who might find it of value. Per VZW it is a security update, probably for one of the Stagefright exploits.
If someone creates a TWRP installable ZIP it would be greatly appreciated.
Thanks in advance,
Don S.
donslade said:
My new Moto X 2014 (rooted, unlocked BL) just received this file:
Blur_Version.23.16.3.victara_verizon.verizon.en.US.zip - about 2.88Mb
VZW says it is to update to system 23.16.5.en.US
Since my phone is rooted and has TWRP installed it won't install. I have attached for others who might find it of value. Per VZW it is a security update, probably for one of the Stagefright exploits.
If someone creates a TWRP installable ZIP it would be greatly appreciated.
Thanks in advance,
Don S.
Click to expand...
Click to collapse
This is the Stagefright update.
If you remove root, you should be able to flash the zip using TWRP (unless you have done more than root.) Then you can re-root after the update is flashed.
Another option is in this post: http://forum.xda-developers.com/showpost.php?p=62785699&postcount=781
Or use the info/files toward the bottom of this post: http://forum.xda-developers.com/showpost.php?p=63326136&postcount=885
Yes, I realized that after I posted. I followed the directions in that post and updated my phone.
Thank you, and thank you the images you created.
so I take it there is no ROOT method for this firmware?
is there a full fastboot package that I can use to flush the system?
I have a Verizon Moto X 23.16.5 verizon and it's STUCK in DEMO mode... anyone have any suggestions?
solidus636 said:
so I take it there is no ROOT method for this firmware?
is there a full fastboot package that I can use to flush the system?
I have a Verizon Moto X 23.16.5 verizon and it's STUCK in DEMO mode... anyone have any suggestions?
Click to expand...
Click to collapse
There is no root method yet for the firmware you have.
Try this:
Turn the phone off
Enter the bootloader/fastboot mode.
Volume down to highlight recovery, volume up to select.
In recovery, volume down to select Factory reset.
If it asks for a password, use: demomodeexit
mikeoswego said:
There is no root method yet for the firmware you have.
Try this:
Turn the phone off
Enter the bootloader/fastboot mode.
Volume down to highlight recovery, volume up to select.
In recovery, volume down to select Factory reset.
If it asks for a password, use: demomodeexit
Click to expand...
Click to collapse
looks like it worked. didn't ask me for a password....but it worked.
for anyone lookin for an answer...
also; when recovery first boots, and you see "no command" screen. must hold "power" then while holding, press vol + , then release power.
should bring up usual recovery menu, wipe data, good to go !
donslade, can you tell what you did to update it.
I took the file you provided in the OP and opened up the update script and removed the references to recovery and apps I removed from system. I then tried to flash it in TWRP but receive the following error:
Package expects build fingerprints of motorola/victara_verison/victara:5.0/LXE22.46-11/11:user/release-keys or motorola/victara_verison/victara:5.1/LPE23.32-25-3/10:user/releases-keys: this devices has motorola/omnivictara/victara:4.4.4/KTU84P/2:eng/testkeys
Do I need to remove the version check that causes the error? Or is it something else that I missed?
To apply this update the phone has to be essentially 100% stock including the recovery. The phone cannot be rooted and must have the correct Motorala recovery to match the installed software.
If your phone is bootloader unlocked and you have TWRP installed it is MUCH easier to just install one of mikeoswego's 5.1 system ROMs. Go here for the thread:
http://forum.xda-developers.com/moto-x-2014/development/img-xt1096-victara-mofo-image-root-t3100145
This will make your phone up to date in one step (or a few simple steps) and is much quicker than returning the phone to stock to receive an OTA update.
OK, thanks for the quick reply. I got all of his stuff downloaded but wanted to see if I could modify the patch package myself. I'll be flashing later today.

Categories

Resources