[OTA CAPTURED][5.1.1]Spice Dream Uno official OTA link captured - Android One (First-Generation) Cross-Device Genera

Spice Dream Uno android 5.1.1 official OTA link captured!!!
LINK:-
https://android.googleapis.com/pack...-spice-mi498h-LMY47V-from-LMY47O.a818932c.zip
Instructions:-
Make sure u are on Stock 5.1 (LMY47O) & u have stock recovery
Place the ota zip in sdcard
Reboot to stock recovery
select apply update from sdcard
TA_DA!! U have android 5.1.1 running on your phone.
Credits:-
@mukeshpurohit​

status 7 error
I am rooted and having stock recovery stock rom but while installing getting status 7 error.What to do?

There is an option in supersu to perform full unroot and then try again ( remember stock LMY47O recovery is required )

ujwal.p said:
There is an option in supersu to perform full unroot and then try again ( remember stock LMY47O recovery is required )
Click to expand...
Click to collapse
try that too but not working

The only thing I can imagine is that system files have been modified... Otherwise it should work..
Sent from my Mi-498 using XDA Forums

Error
Hey
My device is rooted but it is on stock ROM and stock recovery.
I downloaded the flashable zip and placed it on my ext sd card and flashed it using TWRP Recovery.
When flashing, it shows an error E: error excuting updater binary in zip <zip_file_location>
I tried this over three times and it still shows the same error.
Please Help!!

aditya_chachad said:
Hey
My device is rooted but it is on stock ROM and stock recovery.
I downloaded the flashable zip and placed it on my ext sd card and flashed it using TWRP Recovery.
When flashing, it shows an error E: error excuting updater binary in zip <zip_file_location>
I tried this over three times and it still shows the same error.
Please Help!!
Click to expand...
Click to collapse
Hmmm, try after full unroot, if that also doesnt work. There is one more method mentioned by people in the group. ie First flash the stock 5.1(LMY47O) ota and then on top of that flash 5.1.1 OTA, it will work.

How to successfully update to 5.1.1
Hey
Thanks for the suggestion :good: I managed to install 5.1.1 on my device.
My findings:
Before Lollipop, while updating from an OTA update, Google made android only check the system partition details to verify their OTA updates and that the installed version was the correct one.
However, with 5.0 Lolipop they introduced a new method of system checking. For each OTA update, the updater in recovery checked the file in the /system/bin/install-recovery.sh for its legit data. So any rooting or messing with the kernel or any part of the system made changes to it.
If any of the data is wrong or changed, the updater generates an error which most of us are getting. You won't even be able to manually flash the image as the system does not grant access to any recovery to patch the zip.
Even just installing SuperSU will change the data. A full unroot wont work as unrooting dosen't set back the default value for the files!! Only chance is if you have the stock image. without any messing around.
Sadly, I am not a professional developer and I don't know why Google did so?
The method that I used:
I flashed a stock image from another Spice Dream Uno device that my Dad has (that's silly) and restored the original system files.
And VOILA!, my OTA works just fine and I am on 5.1.1 now!
Edit: The updater checks every file in /system folder !! So if u even modify a stock apk, it will give an error.
Please Hit "Thanks" if this information was helpful!

aditya_chachad said:
Hey
Thanks for the suggestion :good: I managed to install 5.1.1 on my device.
My findings:
Before Lollipop, while updating from an OTA update, Google made android only check the system partition details to verify their OTA updates and that the installed version was the correct one.
However, with 5.0 Lolipop they introduced a new method of system checking. For each OTA update, the updater in recovery checked the file in the /system/bin/install-recovery.sh for its legit data. So any rooting or messing with the kernel or any part of the system made changes to it.
If any of the data is wrong or changed, the updater generates an error which most of us are getting. You won't even be able to manually flash the image as the system does not grant access to any recovery to patch the zip.
Even just installing SuperSU will change the data. A full unroot wont work as unrooting dosen't set back the default value for the files!! Only chance is if you have the stock image. without any messing around.
Sadly, I am not a professional developer and I don't know why Google did so?
The method that I used:
I flashed a stock image from another Spice Dream Uno device that my Dad has (that's silly) and restored the original system files.
And VOILA!, my OTA works just fine and I am on 5.1.1 now!
Edit: The updater checks every file in /system folder !! So if u even modify a stock apk, it will give an error.
Please Hit "Thanks" if this information was helpful!
Click to expand...
Click to collapse
Can you give the link for the system file I think I'm gonna try ur step...post the link ASAP.✌✌✌✌✌
& tell me how did you restore the system either using custom recovery or stock.
or
can you backup the current 5.1.1 system and post the Link...✌✌✌✌

SathishKies said:
Can you give the link for the system file I think I'm gonna try ur step...post the link ASAP.
& tell me how did you restore the system either using custom recovery or stock.
or
can you backup the current 5.1.1 system and post the Link...
Click to expand...
Click to collapse
As I mentioned, I had my stock recovery and system image backed up. I used custom recovery to restore my stock system.
For the safer side, I did do a full unroot from SuoerSU, which u can find it in the settings of SuperSU.
One thing I prefer is I never flash a recovery directly to my device.
Whenever I need custom recovery ( I use TWRP btw), I open it by using
Code:
fastboot boot TWRP.img
or whatever your file name is.
I then restored my backup from TWRP. In your case if you didn't backup your system before rooting then try flashing the stock system images from the links below.
After flashing the stock system, your OTA should work just fine.
There are many other threads where u can find the stock images.
Link for 5.1.1 flashable.
http://forum.xda-developers.com/crossdevice-dev/android-one-general/rom-t3120737
Link for Lollipop 5.1 stock image.
http://forum.xda-developers.com/cro...general/lmy47o-stock-rom-android-one-t3076777
If the stock images don't work for you then please tell me. I will backup my system and provide it.
I have yet another workaround way which is a bit complex. I'll post that too if this method didn't help you.
Hit Thanks if this helped you!!:good:

aditya_chachad said:
As I mentioned, I had my stock recovery and system image backed up. I used custom recovery to restore my stock system.
For the safer side, I did do a full unroot from SuoerSU, which u can find it in the settings of SuperSU.
One thing I prefer is I never flash a recovery directly to my device.
Whenever I need custom recovery ( I use TWRP btw), I open it by using
Code:
fastboot boot TWRP.img
or whatever your file name is.
I then restored my backup from TWRP. In your case if you didn't backup your system before rooting then try flashing the stock system images from the links below.
After flashing the stock system, your OTA should work just fine.
There are many other threads where u can find the stock images.
Link for 5.1.1 flashable.
http://forum.xda-developers.com/crossdevice-dev/android-one-general/rom-t3120737
Link for Lollipop 5.1 stock image.
http://forum.xda-developers.com/cro...general/lmy47o-stock-rom-android-one-t3076777
If the stock images don't work for you then please tell me. I will backup my system and provide it.
I have yet another workaround way which is a bit complex. I'll post that too if this method didn't help you.
Hit Thanks if this helped you!!:good:
Click to expand...
Click to collapse
Hey man I tried it but, seriously its going to bootloop. If you provide the system backup of current OS & if its not much of a trouble give it as a recovery restorable file the flashable zip is not workin out for me. I believe that ur posting the 5.1.1 backup plz post it... :fingers-crossed::fingers-crossed:

SathishKies said:
Hey man I tried it but, seriously its going to bootloop. If you provide the system backup of current OS & if its not much of a trouble give it as a recovery restorable file the flashable zip is not workin out for me. I believe that ur posting the 5.1.1 backup plz post it... :fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Hey,
Sorry to hear that the previous method didn't work.
Your device is probably going into bootloop because of the remains of your previous system and the dalvik-cache. Try clearing that once.
I am providing you with both the system recoveries below.
Link for Lollipop 5.1 system backup:
https://goo.gl/NkAxwo
Link for Lollipop 5.1.1 system backup:
https://goo.gl/TL6EqU
Link for TWRP custom Recovery for Spice Dream Uno (sprout):
https://dl.twrp.me/sprout/twrp-2.8.6.0-sprout.img
These backups are directly from TWRP Recovery, so I don't know how you will use them.
You can't just copy these folders on your ext sd card and do a restore from TWRP as it won't recognize it as a system backup (as far as I know).
So basically, what I did was, I made a fool out of TWRP!!
You can follow these steps too.
First download the files from the required given links and place it in a new folder.
1. Start your device into TWRP cutom recovery.
2. Keep your device plugged in to a PC. Do not unplug your device until the whole restoration process completes!! And create a system backup of your device using TWRP. DO NOT use compression and DO NOT check md5. Do not reboot the device after the backup!!
3. After a successfull system backup, you will get a folder it your ext sd card mostly in ext_sdcard\TWRP\BACKUPS\Mi498HA14090161\<recovery_name>
4. Locate the folder on a PC and open it. There will be six files in the folder. Replace these files with the backup files that I provided you with in the download.
5. Now go to Restore option in TWRP and you will find the backup that you just created. The backup name will be the same but the system images will be changed as we just replaced the system and boot files.
6. Select the backup and restore.
Reboot your device after a successful backup and you should now have a fresh un-mod system.
You can directly use the 5.1.1 system image, but I suggest, you use the 5.1 system backup and update to 5.1.1 OTA.
And for the bootloop problem, I prefer backing-up the data of my device and do a complete system wipe. Wipe off the data, system partition and cache. This sholud set your device to a untouched state and hopefully there won't be any further problems.
Hit thanks if this helped you!! :good:

aditya_chachad said:
Hey,
Sorry to hear that the previous method didn't work.
Your device is probably going into bootloop because of the remains of your previous system and the dalvik-cache. Try clearing that once.
Click to expand...
Click to collapse
Everything worked as a dime if you backed up stock recovery that came with 5.1.1 post me tat took✌✌✌✌

SathishKies said:
Everything worked as a dime if you backed up stock recovery that came with 5.1.1 post me tat took
Click to expand...
Click to collapse
Feels good to help a fella!! :good: :good: :good:

How to update manually to Lollipop 5.1.1 for release key error and other errors
aditya_chachad said:
Hey
My device is rooted but it is on stock ROM and stock recovery.
I downloaded the flashable zip and placed it on my ext sd card and flashed it using TWRP Recovery.
When flashing, it shows an error E: error excuting updater binary in zip <zip_file_location>
I tried this over three times and it still shows the same error.
Please Help!!
Click to expand...
Click to collapse
Youtube Search for teckspotindia "Android One Release Key Error | Update Lollipop 5.1.1 Error | Micromax Canvas A1 | Dream UNO"
---------- Post added at 04:37 PM ---------- Previous post was at 04:33 PM ----------
manojnagendra said:
I am rooted and having stock recovery stock rom but while installing getting status 7 error.What to do?
Click to expand...
Click to collapse
How to update manually to Lollipop 5.1.1 for release key error and other errors
Youtube Search for teckspotindia "Android One Release Key Error | Update Lollipop 5.1.1 Error | Micromax Canvas A1 | Dream UNO"

Related

[OTA] Moto G XT1045 4.4.4 OTA Update official_untouched.

Fresh off the servers, here is the 4.4.4 OTA for the Moto G XT1045_US
Link: 4.4.4 OTA_XT1045.
Enjoy.
rawtek said:
Fresh off the servers, here is the 4.4.4 OTA for the Moto G XT1045_US
Link: 4.4.4 OTA_XT1045.
Enjoy.
Click to expand...
Click to collapse
Is this just a flashable zip?
nklenchik said:
Is this just a flashable zip?
Click to expand...
Click to collapse
Yes, however it needs the stock recovery.
Out of curiosity how does one actually flash the OTA ?
IF I let the System Download the OTA, it will reboot, have an error and not complete the install. (using the stock recovery)
If I Push the update via ADB and use CWMR it tells me there is a footer error.
If I open the update with WinRAR or 7zip I get an unexpected End of archive.
Is the OTA itself Broken in some way (which is what it appears to be to me on the surface), or have other people gotten it to work on the XT1045 ?
I am Running the Stock rom, with the stock recovery. I even did a factory firmware Flash (though I cannot seem to relock the boot loader, everything else completes)
MissyVixen said:
Out of curiosity how does one actually flash the OTA ?
IF I let the System Download the OTA, it will reboot, have an error and not complete the install. (using the stock recovery)
If I Push the update via ADB and use CWMR it tells me there is a footer error.
If I open the update with WinRAR or 7zip I get an unexpected End of archive.
Is the OTA itself Broken in some way (which is what it appears to be to me on the surface), or have other people gotten it to work on the XT1045 ?
I am Running the Stock rom, with the stock recovery. I even did a factory firmware Flash (though I cannot seem to relock the boot loader, everything else completes)
Click to expand...
Click to collapse
just noticed that on mind as on my wife moto G she was able to download and install via system updates without a hitch and she is running stock even with a locked bootloader and the install complete with no errors however when trying to flash on mines with stock recovery and a unlocked bootloader it produces the same error, only thing different is the boot loader being unlocked on mines. I'll look a little more into this after work..will keep ya posted.
I installed 4.4.4 on my XT1045 without any problems last night, via the OTA update notification I received. My bootloader was unlocked. Full details here.
I got the update thru the regular update from the y XT1045 rooted with TWRP 2.7 1 0 the system ask me If I want to update, I say yes, on reboot got stuck on the Twrp push reboot system the phone reboot and shut down to get back to T W R P
after turning phone off the phone says Update unsuccessful
how to install from the recovery?
any solution?
guliver365 said:
I got the update thru the regular update from the y XT1045 rooted with TWRP 2.7 1 0 the system ask me If I want to update, I say yes, on reboot got stuck on the Twrp push reboot system the phone reboot and shut down to get back to T W R P
after turning phone off the phone says Update unsuccessful
how to install from the recovery?
any solution?
Click to expand...
Click to collapse
You need to use the stock recovery for this, not TWRP. Try castuis' instructions and see if they work for you too. Let us know if they do or don't.
Reverted back to stock before updating via OTA, no issues here. 64GB SanDisk finally works in 4.4.4. I am having an issue where the 64GB isn't really working in recoveries, like philz CWM or TWRP. Anyone got an idea what that's about? I figured if the card worked with 4.4.4 using the new kernel, the recoveries should also be fine.
Slinkwyde said:
You need to use the stock recovery for this, not TWRP. Try castuis' instructions and see if they work for you too. Let us know if they do or don't.
Click to expand...
Click to collapse
Revert it to stock Recovery, started the upgrade process again, after the reboot the update started but stopped to one third and gave me an error.
guliver365 said:
Revert it to stock Recovery, started the upgrade process again, after the reboot the update started but stopped to one third and gave me an error.
Click to expand...
Click to collapse
Finnaly working.:laugh: I got to reinstall a fresh copy of the stock firmware and the update went well just had to root it again and change the nasty warning about unlocked device
My XT1045 has an unlocked bootloader, TWRP in lieu of the stock recovery, and it's rooted. I also run Xposed.
I downloaded the 4.4.4 update via the official OTA process after being notified.
I further uninstalled my Xposed framework files. After rebooting, I realized I'd also need my stock recovery back.
After (visiting this forum and) reconsidering, I don't want to bother installing my update at this time.
Anybody know how I can revert those pesky dialogs asking me to install the update?
I think it's gonna do it every time I reboot.
danny8 said:
My XT1045 has an unlocked bootloader, TWRP in lieu of the stock recovery, and it's rooted. I also run Xposed.
I downloaded the 4.4.4 update via the official OTA process after being notified.
I further uninstalled my Xposed framework files. After rebooting, I realized I'd also need my stock recovery back.
After (visiting this forum and) reconsidering, I don't want to bother installing my update at this time.
Anybody know how I can revert those pesky dialogs asking me to install the update?
I think it's gonna do it every time I reboot.
Click to expand...
Click to collapse
Delete the OTA zip located in /cache using a root explorer. Or you can 'fastboot erase cache'.
People have reported success with OTA using Philz recovery. But i suppose that requires flashing a recovery which is the same effort as flashing stock recovery. Note: A modified system partition may still cause OTA error on stock recovery, and you may have to restore stock system partition by flashing system.img from your stock firmware.
I tweaked the updater script on mine to eliminate the stock recovery stuff before flashing with TWRP, and it seemed to work :
Code:
http://rhysw.com/peregrine/xt1045-4.4.4.norecovery.zip
Usual disclaimers apply; back up your device first ! Diff the changed updater script vs. the stock one. Do not use if you don't know what an updater script is.
Gentlemen..Not sure why all the reverting to stock recovery is needed, if your device is on TWRP..please help me to understand.?
Here's what I done with one of my XT1045's in a matter of few minutes..keeping my other XT1045 on 4.4.3 for awhile longer..
Running TWRP v2.7.1.0_peregrine (shabby penguin) version..
With this zip copied to the storage in the device, installed from TWRP, rebooted and never lost Root..simple, quick, painless..
Absolutely did NOTHING (except update framework) to XPosed, Gravity Box [KK 3.1.7], Advanced Power Menu [6.0a_r1], AcDisplay [2.4.7], Android L Navigation Bar [6.1], GPSNotifications [2.9]..
ONLY thing I had to do was update Framework..kept Root with no problems either..
This is 4.4.4_21.11.56 in flashable, installable zip format..
Here >> https://docs.google.com/file/d/0B67RS0BDBp_iOWhZdGlmWXpOQW8/edit?usp=docslist_api
sent by my Jelly Bean_ 4.1.2_98.72.16
(Root Exploit) XT912 Droid RAZR Maxx
Update fails
I have both the stock rom and stock recovery installed but I cannot get the OTA update to complete without an error and if I try to manually run the update from the stock recovery I also get the same error. The error is...
Verifying current system...
"/system/app/Drive.apk" has unexpected contents.
Installation aborted
I have gone as far as removing the drive.apk from my device altogether but it still gives me the same error. I have tried installing a fresh copy of the drive.apk but the same error occurs. I am at the end of my ideas. Anyone else run into this or have any suggestions?
USCanthony said:
I have both the stock rom and stock recovery installed but I cannot get the OTA update to complete without an error and if I try to manually run the update from the stock recovery I also get the same error. The error is...
Verifying current system...
"/system/app/Drive.apk" has unexpected contents.
Installation aborted
I have gone as far as removing the drive.apk from my device altogether but it still gives me the same error. I have tried installing a fresh copy of the drive.apk but the same error occurs. I am at the end of my ideas. Anyone else run into this or have any suggestions?
Click to expand...
Click to collapse
If you remove any system apps, the OTA will fail everytime. When you installed the apk, did you set it as a system app? Did you change the permissions back to how they should be?
charesa39 said:
If you remove any system apps, the OTA will fail everytime. When you installed the apk, did you set it as a system app? Did you change the permissions back to how they should be?
Click to expand...
Click to collapse
Ahhh...thank you....this is beginning to make a little more sense but also brings up another question. According to Titanium backup, the original Drive.apk was a system file but updates to that apk now reside in [root]/data/app/. I never installed drive.apk form the Play Store and then made it a system file so I have to assume that the original drive.apk that is sitting with all the other system files is part of the stock rom. There is a possibility that it could be a different version than what cam with the stock rom though since I did perform a merge of updated apk's from that location into the [root]/system/app/ folder several months ago but I have no idea if the drive.apk was one of those that I merged because I do not remember what apk's were merged. Does the OTA look for what it has been told is the version that existed in the "system/app" folder of the ROM it is updating and if it finds any other version it will fail (which means that merging any apk's is an OTA killer)? I had also deleted several Motorola apk's from the stock rom that are bloated system files such as "Alert" and "Assist" but I have Titanium backup's of those files so restoring them is not a problem. Is it possible that the drive.apk error is an erroneous error because drive.apk was simply the last file it checked before the script bailed because of those missing files?
USCanthony said:
Ahhh...thank you....this is beginning to make a little more sense but also brings up another question. According to Titanium backup, the original Drive.apk was a system file but updates to that apk now reside in [root]/data/app/. I never installed drive.apk form the Play Store and then made it a system file so I have to assume that the original drive.apk that is sitting with all the other system files is part of the stock rom. There is a possibility that it could be a different version than what cam with the stock rom though since I did perform a merge of updated apk's from that location into the [root]/system/app/ folder several months ago but I have no idea if the drive.apk was one of those that I merged because I do not remember what apk's were merged. Does the OTA look for what it has been told is the version that existed in the "system/app" folder of the ROM it is updating and if it finds any other version it will fail (which means that merging any apk's is an OTA killer)? I had also deleted several Motorola apk's from the stock rom that are bloated system files such as "Alert" and "Assist" but I have Titanium backup's of those files so restoring them is not a problem. Is it possible that the drive.apk error is an erroneous error because drive.apk was simply the last file it checked before the script bailed because of those missing files?
Click to expand...
Click to collapse
I don't think it checks the version of the app. I think it just checks whether the apk is there, and if the permissions are correct. This is why I never actually delete system apps. I'll just disable them in the stock settings app, or freeze them with TiBu. I assume that all the apps that came loaded on the phone (including the Motorola ones you mentioned) need to be present in order for it to update, or at least the apps that don't give you the option to uninstall them in the stock settings app, meaning they can only be disabled.
can someone pull out the boot.img from a 4.4.4 updated xt1045, and share with me? thanks.

[Q] Couldnt Update to Lollipop, LF USA XT1063 Mirror

First of all I just bought Global Moto G 2014 (XT1063) from US Amazon and that was KXH21.85-23 (not updatable to Lollipop via shared OTA.)
So I did manage to unlocked the bootloader and flashed KXH21.85-17 and tried to flash the "Blur_Version.21.11.17.titan_retuglb.retuglb.en.US" which supposed to flash the Lollipop.
Unfortunately at first it failed to update me because "Printspooler.apk" mismatch the hash check. After attempt to flash (yes, I ignore the abort message and redo the process, It passed.... I don't know why) and stuck at some "xxx.apk" mismatch the hash again. After redo the process and bypass (for unknown reason that redo bypass the mismatch) I stuck at "velvet.apk" mismatch and this time It won't let me bypass and keep going on update to lollipop.
In my theory, Is it possible that I flash KXH21.85-17 from other country? Yes, any XT1063 (latin american, whereever on earth) supposed to flashable, but maybe the different country has slightly different apk. So that's why I failed the hash check.
Can anyone give me a URL or mirror to USA XT1063 for KXH21.85-17 that confirmed updatable to Lollipop? Since SBF-Dev and MotoFirmware is now down I couldn't find any.
I know what I'm saying is sound ridiculous, but I have no other theory that support my conspiracy anymore.
Hi @bankkung, I was facing similar problems. First you'd want to get back to stock kitkat which is up-gradable to Lollipop, so I would suggest downloading this file, http://180upload.com/bzl3ah1wov5g, which is 21.85-17, you can flash this file with fastboot by following this guide http://forum.xda-developers.com/moto-g-2014/general/index-guide-update-to-lollipop-android-t2941340. Next you'd want to download both Lollipop files, the first and second one. (The second one is the newest update that fixes memory management). First file: https://mega.co.nz/#!UoQ02KLQ!22OUNBctGLoAUOMd_frTRT9jgbB3tRPUa4pPqfesGho.. Second file: https://mega.co.nz/#!s8ZSVJDA!SqUWPZODvM4-GYuXo6MC2JWTmpE9_jdyqlH-ycWi78I. Download both of those files and put them somewhere accessible (like your SD card) so you can flash these in stock recovery, so after you downgrade to kitkat you can flash the first one, then boot up and then go back into stock recovery and flash the second file. I'd recommend factory resetting your phone after this to smoothen everything out.
If all else fails you can flash TWRP recovery using this guide http://forum.xda-developers.com/moto-g-2014/development/recovery-twrp-2-8-0-1-moto-g-2014-t2896165, and then download this TWRP backup of the latest Lollipop, and place it in /data/media/0/TWRP/backups/(your device name here). All of that can be done right in TWRP recovery using the file manager (no need to root your phone). https://mega.co.nz/#!59AAiQaR!cPUsNpI5j-ZaIMX10uiS93EJqpLxua-iwKHj30InX1U
I would really recommend the first option tho, just in case any other updates come you can easily upgrade your phone.
Hope I helped!
Lamech242 said:
Hi @bankkungFirst you'd want to get back to stock kitkat which is up-gradable to Lollipop, so I would suggest downloading this file, http://180upload.com/bzl3ah1wov5g, which is 21.85-17, you can flash this file with fastboot by following this guide http://forum.xda-developers.com/moto-g-2014/general/index-guide-update-to-lollipop-android-t2941340. Next you'd want to download both Lollipop files, the first and second one. (The second one is the newest update that fixes memory management). First file: https://mega.co.nz/#!UoQ02KLQ!22OUNBctGLoAUOMd_frTRT9jgbB3tRPUa4pPqfesGho.. Second file: https://mega.co.nz/#!s8ZSVJDA!SqUWPZODvM4-GYuXo6MC2JWTmpE9_jdyqlH-ycWi78I. Download both of those files and put them somewhere accessible (like your SD card) so you can flash these in stock recovery, so after you downgrade to kitkat you can flash the first one, then boot up and then go back into stock recovery and flash the second file. I'd recommend factory resetting your phone after this to smoothen everything out.
Click to expand...
Click to collapse
Hi Thanks for your help
I've done that several time and still having the same problem (yes, mine is unlocked bootloader and flashed-reflashed that 21.85-17 over twenty time right now)
Lamech242 said:
If all else fails you can flash TWRP recovery using this guide http://forum.xda-developers.com/moto-g-2014/development/recovery-twrp-2-8-0-1-moto-g-2014-t2896165, and then download this TWRP backup of the latest Lollipop, and place it in /data/media/0/TWRP/backups/(your device name here). All of that can be done right in TWRP recovery using the file manager (no need to root your phone). https://mega.co.nz/#!59AAiQaR!cPUsNpI5j-ZaIMX10uiS93EJqpLxua-iwKHj30InX1U
I would really recommend the first option tho, just in case any other updates come you can easily upgrade your phone.
Hope I helped!
Click to expand...
Click to collapse
I'm thinking about getting some Nandroid backup (never used TWRP before but I think this methond you gave is the same thing as I think) to get straight from Custom Recovery to Lollipop.
So what I need to do in the 2nd method is
a
flash TWRP
Place TWRP Backup of XT1063 Lollipop
restore
reflash Stock Recovery + Locked recovery
Is this sound corrected?
bankkung said:
Hi Thanks for your help
I've done that several time and still having the same problem (yes, mine is unlocked bootloader and flashed-reflashed that 21.85-17 over twenty time right now)
I'm thinking about getting some Nandroid backup (never used TWRP before but I think this methond you gave is the same thing as I think) to get straight from Custom Recovery to Lollipop.
So what I need to do in the 2nd method is
a
flash TWRP
Place TWRP Backup of XT1063 Lollipop
restore
reflash Stock Recovery + Locked recovery
Is this sound corrected?
Click to expand...
Click to collapse
Yes once you place the backup on your SD card, flash TWRP, reboot into recovery and go to advanced then go to file manager, then finish following the instructions above. Once you place it in the right place then you restore it. As of the stock recovery issue, it wouldn't make much sense to do that unless you followed the first option, where the stock recovery would actually be needed. But if you find a recovery image then yeah. If you do the second method you won't be able to receive updates nor update it manually unless doing the first method.. But the TWRP backup is the latest lollipop so enjoy!
If you still need help you can just flash TWRP recovery, and download this and flash it. http://forum.xda-developers.com/mot...-stock-rom-t2970427/post57438355#post57438355

Stock Recovery, Nandroid, Boot | One Mini 2

Hi All,
I see a lot of people asking for stock stuff for the HTC One Mini 2, please find them here:
Stock RUUs - https://forum.xda-developers.com/one-mini-2/general/htc-one-mini-2-official-ruu-t3425930
BOOT IMAGE
Signed Boot Image : boot_signed.img for booting problems (FOR INTERNATIONAL/EUROPEAN DEVICES ONLY)
PROCESS
Enter bootloader and then enter fastboot and type the command :
Code:
fastboot flash boot boot_signed.img
fastboot reboot bootloader
Nandroid Backup for restoring to stock, I have used this, working fine (Can be restored through TWRP): https://www.androidfilehost.com/?fid=24052804347818782 (FOR INTERNAITIONAL/EUROPEAN DEVICES ONLY)
Stock Firmware: https://www.androidfilehost.com/?fid=95784891001615234
Stock Recovery: https://www.androidfilehost.com/?fid=24052804347822267 (Newer)
Stock Recovery: https://www.androidfilehost.com/?fid=95784891001615233
Original Page (German): http://www.handy-faq.de/forum/htc-one-mini-2-firmwaresammlung-ruus-otas-backups-t309020/
LINKS WERE WORKING WHEN I POSTED THEM, DOWNLOAD AT THE EARLIEST AS MAY BE THEY WONT WORK WHEN YOU NEED THEM, SO JUST DOWNLOAD AND KEEP.
STEPS TO RESTORE NANDROID BACKUP THROUGH TWRP:
- REBOOT AND ENTER TWRP, PERFORM A BACKUP (THIS WILL CREATE A TWRP BACK UP FOLDER WITH DEVICE SERIAL NUMBER IN THE SD CARD)
- DOWNLOAD AND EXTRACT THE NANDROID BACK UP FILE
- PLACE THE EXTRACTED FILES IN TO THE TWRP>BACKUP<DEVICE SERIAL NUMBER> FOLDER IN THE SD CARD
- RESTART THE DEVICE AND ENTER TWRP, CHOOSE RESTORE
- LOCATE THE FOLDER COPIED IN THE ROOT OF THE SDCARD
- SWIPE TO RESTORE
- FOR SOME REASON THE NANDROID BACKUP DOES NOT CONTAIN CALCULATOR, FLASH LIGHT WHICH CAN BE DOWNLOADED HERE: http://www.apkmirror.com/apk/htc-corporation/
THANK YOU
I cant install
Bear Grylls said:
I cant install
Click to expand...
Click to collapse
What is the exact problem you are facing when flashing the stock file. PLEASE EXPLAIN FOR BETTER UNDERSTANDNG.
ELSE YOU CAN TRY THE BELOW.
NB: I AM ASSUMING THINGS AND GIVING THIS INFORMATION, I AM NOT RESPONSIBLE FOR WHAT HAPPENS AS I DONT KNOW THE EXACT PROBLEM YOU ARE FACING.
Make sure device is 100% battery.
1st try this:
1-Download this file: [ https://drive.google.com/file/d/0B_1zjuazXSqbQ0p6NWtvRk9OMzA/edit?pli=1 ] and install in Windows (Run as Administrator).
2-Open Command window and type:
Code:
cd c:\adb
3-now on your device use Vol keys to choose and power key to select, and choose FASTBOOT
4-now download the attached file boot_signed.rar (extract the file in C:\adb folder)
5-type in the command window:
Code:
fastboot flash boot boot_signed.img
5-type in the command window:
Code:
fastboot erase cache
6-type in command window:
Code:
fastboot reboot
IF THIS DID NOT WORK, THEN TRY THIS:
Download this [ https://www.androidfilehost.com/?fid=95916177934555508 ] file and rename it to 0P8BIMG.zip and place it into the SD card (MMC Card), restart the device and let it boot into the HBoot menu.
Reboot device from the boot mode, if the device automatically reboot into the boot menu then it will start flashing the file automatically.
Good Luck, let me know how it went.
Try and let me know.
this is excellent, all in one place...
However, please forgive my ignorance in recovery/backup terminology (I hope it is not just me) but I get confused by the use of 'Nandroid' backup, Stock Rom, and .zip and .img files for flashing.
I have successfully used TWRP to flash the NostromoPop ROM, but have not been successful with any other .zip file supposedly a Stock ROM.
I have been hoping that somebody could put a rooted Stock ROM so that I can try it as a way to get around the KitKat blocks on writing to the SD card for some of my autosync apps.
Am I making any sense?
Many thanks if you can help
soundrediscovery said:
this is excellent, all in one place...
However, please forgive my ignorance in recovery/backup terminology (I hope it is not just me) but I get confused by the use of 'Nandroid' backup, Stock Rom, and .zip and .img files for flashing.
I have successfully used TWRP to flash the NostromoPop ROM, but have not been successful with any other .zip file supposedly a Stock ROM.
I have been hoping that somebody could put a rooted Stock ROM so that I can try it as a way to get around the KitKat blocks on writing to the SD card for some of my autosync apps.
Am I making any sense?
Many thanks if you can help
Click to expand...
Click to collapse
Hi,
As I understand you cannot flash a stock ROM with customer Recovery, as far as I know you need stock Recovery to flash a stock ROM, I remember trying stock ROM on TWRP but it failed, could be due to some other reason, I read somewhere it has something to do with file signatures.
As for SD write fix, you need to have root access other than that there is no fix for it, rooting with SuperUser Binary... I myself did want to try it now that I am back on stock but then I am greedy for Marshmallow (if they could fix that Loud Speaker issue) I am all in for Android M, I tried to get in touch with people on the Cyanogen Forums but no luck as I have not yet received verification email, tried so many times, no luck and as it seems there is no Marshmallow development on HTC One Mini 2....
I will wait and see how it goes...
If I am correct you can keep stock ROM and flash SU Binary and get root access and then install https://play.google.com/store/apps/details?id=nextapp.sdfix to get it done with, it ought to work, haven't tried myself...
The recovery image you gave seems a little broken, but the backup worked...thought I recommend a factory reset unless you want the system language to be weird...
hanro50 said:
The recovery image you gave seems a little broken, but the backup worked...thought I recommend a factory reset unless you want the system language to be weird...
Click to expand...
Click to collapse
Which recovery image have you used, I have flashed the newer version successfully, yes the backup worked and has non-English language as default.
The command:
Code:
fastboot flash recovery recovery_name.img
fastboot erase cache
If you could elaborate a "little broken"
I maneged to reflash twrp from android, ok these is what happened, I flash it as a recovery image with twrp, when I reboot into recovery later then it just showed a picture of my phone with a red triangle icon in it, after a while my phone resets...and goes back to booting from the main installed os...
---------- Post added at 07:10 AM ---------- Previous post was at 07:08 AM ----------
The name of the file is M8_MINI_UL_Stock_Recovery_2.19.401.2.img
I don't remember if I taped New or old
hanro50 said:
I maneged to reflash twrp from android, ok these is what happened, I flash it as a recovery image with twrp, when I reboot into recovery later then it just showed a picture of my phone with a red triangle icon in it, after a while my phone resets...and goes back to booting from the main installed os...
---------- Post added at 07:10 AM ---------- Previous post was at 07:08 AM ----------
The name of the file is M8_MINI_UL_Stock_Recovery_2.19.401.2.img
I don't remember if I taped New or old
Click to expand...
Click to collapse
Hi,
I believe you flashed a recovery with another recovery, which I think is not the right way, the right way is to use the command to overwrite TWRP with stock recovery.
hanro50 said:
I maneged to reflash twrp from android, ok these is what happened, I flash it as a recovery image with twrp, when I reboot into recovery later then it just showed a picture of my phone with a red triangle icon in it, after a while my phone resets...and goes back to booting from the main installed os...
---------- Post added at 07:10 AM ---------- Previous post was at 07:08 AM ----------
The name of the file is M8_MINI_UL_Stock_Recovery_2.19.401.2.img
I don't remember if I taped New or old
Click to expand...
Click to collapse
HI,
Just wanted to know if you are having any issues with low audio after restoring Android backup from TWRP, I feel my audio is way too low and cant be heard just if I am outside my room..
I didn't have any audio problems, it could just be you being used to cm's 3rd party BoomSound replacement
---------- Post added at 01:25 PM ---------- Previous post was at 01:21 PM ----------
Well that would exsplain why some elements of the stock recovery remained after I reflashed twrp with a app on my phone, e.g. it fixed the image I get when I hook my device up to power when it is turned off...before that it would just boot me into a unusable twrp homepage
The stock RUU file is corrupt! (tried 5 times now)
Where can I get a A stock flash or a ROM that is NOT ROOTED please?
I tried the 0P8BIMG.zip on SD card method and that did not work either.
Also, I thought the RUU file is meant to be an executable not a zip file. I'm confused...
niblettr said:
The stock RUU file is corrupt! (tried 5 times now)
Where can I get a A stock flash or a ROM that is NOT ROOTED please?
I tried the 0P8BIMG.zip on SD card method and that did not work either.
Also, I thought the RUU file is meant to be an executable not a zip file. I'm confused...
Click to expand...
Click to collapse
I doubt its corrupted, which OS are you running currently ?, when I tried it, it failed due to the installed stock ROM being newer than the one being installed and since I have S-ON I cant downgrade it...
You can Nandroid Restore the stock backup, I have personally tried and it works....
Another way to do it is to have the Nandroid Restore and then use Sunshine to S-OFF (as sunshine only works on stock or near-stock ROMs) and then flash with 0P8BIMG.zip, it should work then, just a thought...
Hi, thanks for these links & info. Just about to give this a go. But, what does boot_signed.img do?
pavsid said:
Hi, thanks for these links & info. Just about to give this a go. But, what does boot_signed.img do?
Click to expand...
Click to collapse
Its a signed boot file, meaning it flashes successfully should the device fail to boot or stuck on boot or in other words if the device does not boot and remains on HTC, this flashing this should solve your problem.
Hi all I have been directed here from another thread as I am looking to place a stock rom on my htc one mini 2 without bloatware, I have unlocked the bootloader and installed TWRP but the stock rom remains the same all I want is to install a rom via TWRP if at all possible. Is the 1gig one ok for that or will i need to completely put the stock recovery back on and the phone is unlocked to all networks if that makes any different
Thank in advance
The Watergod said:
Hi all I have been directed here from another thread as I am looking to place a stock rom on my htc one mini 2 without bloatware, I have unlocked the bootloader and installed TWRP but the stock rom remains the same all I want is to install a rom via TWRP if at all possible. Is the 1gig one ok for that or will i need to completely put the stock recovery back on and the phone is unlocked to all networks if that makes any different
Thank in advance
Click to expand...
Click to collapse
Hi,
Its not possible to flash stock rom via TWRP, plus you need to have S-Off.
The only way to go complete stock is to restore Nandroid Backup and then flash stock recovery.
TryllZ said:
Hi,
Its not possible to flash stock rom via TWRP, plus you need to have S-Off.
The only way to go complete stock is to restore Nandroid Backup and then flash stock recovery.
Click to expand...
Click to collapse
so is this the nandroid back up of a stock rom that I can use with the latest update for use with twrp and when I mean stock rom I mean a rom that has not been majorly altered to class it as a custom rom. I.e still has sense and no additional apps added
Again Thanks in advance
The Watergod said:
so is this the nandroid back up of a stock rom that I can use with the latest update for use with twrp and when I mean stock rom I mean a rom that has not been majorly altered to class it as a custom rom. I.e still has sense and no additional apps added
Again Thanks in advance
Click to expand...
Click to collapse
Hi,
Yes you will have to restore the Nandroid Backup, this backup is completely of a stock ROM, no edition, however it does not have some apps like the Calculator, Flash etc for some reason.
However I found the missing apps from here: http://www.apkmirror.com/apk/htc-corporation/
TryllZ said:
Hi,
Yes you will have to restore the Nandroid Backup, this backup is completely of a stock ROM, no edition, however it does not have some apps like the Calculator, Flash etc for some reason.
However I found the missing apps from here: http://www.apkmirror.com/apk/htc-corporation/
Click to expand...
Click to collapse
Excellent much appreciated for this right, so I need to first copy the nandroid backup to my Phones root and run TWRP and restore using the downloaded nandroid yes?
if yes could I please have the steps to put the stock recovery on with ADB commands as I really don't want to brick my phone (Yes I know you take no resposibilty etc) just happier to have as least the correct file names and adb commands.
And last I just copy the new stock RUU to my phone and install?
You help is as always greatly appreciated as no one seems to be ddoing anything anymore for this phone

POST_ROOT and NANDROID BACKUP

Hi, everyone this is my first post.
Though I am not new to rooting, but earlier i used to do one click root..so unrooting was also that damn easy.
Recently i rooted my moto x 2nd gen xt1092 by unlocking bootloader and after flashing TWRP and later using SuperSu.
But here is the catch I didn't take nandroid backup before rooting.
So my question is
1 If I take backup now , will this backup be a rooted backup , means that if in future I flash this backup my phone will be directly boot in rooted mode..?
2 If I unroot using supersu are there chances I may stuck in bootloop?
3 now as I alreday have Twrp flashed how can I get to my original OS I once had? 9(system recovery image)
Plz let my doubts get cleared.
thanks in advance
saumyadip said:
Hi, everyone this is my first post.
Though I am not new to rooting, but earlier i used to do one click root..so unrooting was also that damn easy.
Recently i rooted my moto x 2nd gen xt1092 by unlocking bootloader and after flashing TWRP and later using SuperSu.
But here is the catch I didn't take nandroid backup before rooting.
So my question is
1 If I take backup now , will this backup be a rooted backup , means that if in future I flash this backup my phone will be directly boot in rooted mode..?
2 If I unroot using supersu are there chances I may stuck in bootloop?
3 now as I alreday have Twrp flashed how can I get to my original OS I once had? 9(system recovery image)
Plz let my doubts get cleared.
thanks in advance
Click to expand...
Click to collapse
1. yes, you can do a full backup of system, data, recovery, boot, etc (default configuration of backup) and when you do a restore you have the same root system.
2, sometimes, you have a 50% of possible failure, the best option is flash the stock system files and after do a ota update or similar (never do a downgrade, can kill your phone(hardbrick))
3. Via bootloader (down volume button when you turn on the phone)
Write or copy this lines on bootloader mode (in the same folder where you have execute the command for your unlock code for the unlock of boot loader)
fastboot flash recovery recovery.img
fastboot reboot
The recovery is on image of StockRom.
Sorry my English, I`m Chilean.
cyker31 said:
1. yes, you can do a full backup of system, data, recovery, boot, etc (default configuration of backup) and when you do a restore you have the same root system.
2, sometimes, you have a 50% of possible failure, the best option is flash the stock system files and after do a ota update or similar (never do a downgrade, can kill your phone(hardbrick))
3. Via bootloader (down volume button when you turn on the phone)
Write or copy this lines on bootloader mode (in the same folder where you have execute the command for your unlock code for the unlock of boot loader)
fastboot flash recovery recovery.img
fastboot reboot
The recovery is on image of StockRom.
Sorry my English, I`m Chilean.
Click to expand...
Click to collapse
Thanks cyke31.
My two doubts are absolutely clear.
I have a doubt regarding the 3 point.
where I will find that recovey.img file?
And after flashing that recovery.img file will I get back to my stock rom, that I had before TWRP was installed ?
Can I take OTA updates?
Will TWRP get uninstalled ?
your english is pretty good..
I am Indian ....so don't worry . I'm not grammar NAZI..
saumyadip said:
Thanks cyke31.
My two doubts are absolutely clear.
I have a doubt regarding the 3 point.
where I will find that recovey.img file?
And after flashing that recovery.img file will I get back to my stock rom, that I had before TWRP was installed ?
Can I take OTA updates?
Will TWRP get uninstalled ?
your english is pretty good..
I am Indian ....so don't worry . I'm not grammar NAZI..
Click to expand...
Click to collapse
I recommend downloading the stock rom and do a clean install , because any change you've made in system, will generate bootloop...
Here the links to the Rom (you must download The xt1092 version)
Firmwares 4.4.4 hasta 5.0.X: https://mega.co.nz/#F!TkIwRTjR!m7W1V35qfLBiiUargAx1vg
Firmwares 5.1 y 6.0: https://mega.co.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg
And them install via guides on xda.
cyker31 said:
I recommend downloading the stock rom and do a clean install , because any change you've made in system, will generate bootloop...
Here the links to the Rom (you must download The xt1092 version)
Firmwares 4.4.4 hasta 5.0.X: https://mega.co.nz/#F!TkIwRTjR!m7W1V35qfLBiiUargAx1vg
Firmwares 5.1 y 6.0: https://mega.co.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg
And them install via guides on xda.
Click to expand...
Click to collapse
so its better to flash system files than flashing recovery.img
though I'm in no mood to unroot my device. just wanted to know the consequences. I'll do normal backup of my current rooted rom. If in case anything happens I'll flash stock system files from motorola website.
Thanks for the info.
Xposed is the reason I rooted my device. Heard that is better to take nandroid backup before installing Xposed.
saumyadip said:
so its better to flash system files than flashing recovery.img
though I'm in no mood to unroot my device. just wanted to know the consequences. I'll do normal backup of my current rooted rom. If in case anything happens I'll flash stock system files from motorola website.
Thanks for the info.
Xposed is the reason I rooted my device. Heard that is better to take nandroid backup before installing Xposed.
Click to expand...
Click to collapse
Yes, but xposed is a thing, and the modules are totally different thing,Xposed by itself does not cause any problems...
yeah know that but...wanted to be sure..... as there is no service center in my state

[GUIDE][TRICK][Links updated] How to flash Stock ROM/OTA update via TWRP

Update: Now you can download the updater-scripts from Android file host. Zip contains two updater-scripts [updater-script_Z00E-R for ZE500KL/G and updater-script_generic for other variants]
You were running a custom ROM but at some point of time you decided to go back to stock. Unfortunately, you do not have a TWRP backup. Or probably there is an official update but you can't flash the FOTA because you are running a custom ROM. One way of flashingf FOTA would be to flash stock recovery from fastboot and then downgrade to a lower firmware (say the last lollipop fota) and then flash the new update (say MM fota). many a times, update fails at verifying system image! Then you have to do everything again. Maaaaahhhhhhhnnnnnnnnnnn. This is so painful.
Solution? Just by editing the updater script of any ota, you will be able flash it via TWRP. But then you probably don't know what to edit. Moreover, if you edited it incorrectly, you may hard brick your device. So here I have edited updater-scripts for you. Just delete the updater-script from your ota zip and add edited updater-script for your device to the zip. Flash via TWRP recovery. Simple!
INSTRUCTIONS & DOWNLOADS
ZE500KL & ZE500KG
Usage:
Upgrade to MM without reverting to stock lollipop
Downgrade to any stock firmware version
Go back to stock
Recover from failed custom ROM installs
Download updater-script_Z00E-R (link changed to mediafire)
[NOTE: Rename it to "updater-script" ]
A proof that this works is here​
All other variants
Edited updater-script for these devices will only flash system and boot. You have to flash last lollipop update and then only you can upgrade to MM
But there's is one benefit of this over other methods. You don't need to find and flash stock recovery!
How?
> Flash last lollipop update that your device was running using the edited updater-script.
> Reboot device and Do all the set up.
> Reboot again but this time INTERRUPT the reboot by holding power button till screen turns off.
> Asus Logo will appear again. Allow Rebooting this time.
> Voila! Your stock recovery is back. You can upgrade to MM now using the regular method.
( All FOTAs contain back up stock recovery but not in .img form. A failed boot causes auto installation of this stock recovery back up)
Other Usage:
Go back to stock
Downgrade to any stock firmware version without affecting bootloader and modem
Recover from failed custom ROM installs
Download link: updater-script_generic (link changed to mediafire)
[NOTE: Rename it to "updater-script"]​
Don't forget to hit thanks
Why the can't I make updater-script for these variannts the way I made for ZE500KL/G ?
There are 6 variants (excluding ZE500KL/G) . Each variant has 3 sub variants. Each sub variant comes with upto 4 SKUs.
Every FOTA contains critical firmware files like aboot, hyp, etc of all variants and cross-flashing these would hard brick. Hence, the edited updater-script_generic will only flash system and boot.
.
Thanks man. It would really be helpful.
Hit Thanks If I Helped
sziraqui said:
You were running a custom ROM but at some point of time you decided to go back to stock. Unfortunately, you do not have a TWRP backup. Or probably there is an official update but you can't flash the ota because you are running a custom ROM. One way of flashing ota would be to flash stock recovery from fastboot and then upgrade to a lower firmware (say the last lollipop ota) and then flash the new update (say MM ota)... Maaaaahhhhhhhnnnnnnnnnnn. This is so painful.
Solution? Just by editing the updater script of any ota, you will be able flash it via TWRP. But then you probably don't know what to edit. So here I have edited updater-scripts for you. Just delete the updater-script from your ota zip and add edited updater-script for your device and android version to the zip. Flash via TWRP recovery. Simple!
DOWNLOAD LINK
Choose correct updater-script accorind to filename suffix
Z00L-T_MM = ZE550KL, ZE551KL, ZE601KL, ZE550KG, ZD551KL for Marshmallow OTAs
Z00L-T_LP = ZE550KL, ZE551KL, ZE601KL, ZE550KG, ZD551KL for Lollipop OTAs
Z00E-R_MM = ZE500KL, ZE500KG for Marshmallow OTA
Z00E-R_LP = ZE500KL, ZE500KG for Lollipop OTA
Rename file to "updater-script" before adding to zip.
Click to expand...
Click to collapse
Just no, it will cause many devices to flash wrong firmware leading to non working display and/or modem
TWRP label the device Z00T or Z00L unlike asus that for every variant ( ZE/ZD 550/551/600/601 ) they label it in a different way
This label is checked by the updater-script to flash the proper firmware and modem ( ex, it checks if the display is fhd or hd, check soc msm8929, msm8939, msm8916 )
Ex you have Z00L with the following specs: soc msm8939 && codename ZE600KL -> your script will flash msm8916 firmware and ZE551KL modem probably totally bricking the device
Remove the download links as fast as you can
Device- Z00LD
What I did- unpacked the MM OTA zip via 7zip.
Replaced the MM updater-script from MM OTA.
Repacked it.
Wiped everything through TWRP prior flashing it.
(Was on stock latest LP)
Flashed it.
But, while flashing was in process, it ended up with following line-
Updater process ended with signal: 11.
Overall, it simply didn't work
Hit Thanks If I Helped
sziraqui said:
You were running a custom ROM but at some point of time you decided to go back to stock. Unfortunately, you do not have a TWRP backup. Or probably there is an official update but you can't flash the ota because you are running a custom ROM. One way of flashing ota would be to flash stock recovery from fastboot and then upgrade to a lower firmware (say the last lollipop ota) and then flash the new update (say MM ota)... Maaaaahhhhhhhnnnnnnnnnnn. This is so painful.
Solution? Just by editing the updater script of any ota, you will be able flash it via TWRP. But then you probably don't know what to edit. So here I have edited updater-scripts for you. Just delete the updater-script from your ota zip and add edited updater-script for your device and android version to the zip. Flash via TWRP recovery. Simple!
DOWNLOAD LINK
Choose correct updater-script accorind to filename suffix
Z00L-T_MM = ZE550KL, ZE551KL, ZE601KL, ZE550KG, ZD551KL for Marshmallow OTAs
Z00L-T_LP = ZE550KL, ZE551KL, ZE601KL, ZE550KG, ZD551KL for Lollipop OTAs
Z00E-R_MM = ZE500KL, ZE500KG for Marshmallow OTA
Z00E-R_LP = ZE500KL, ZE500KG for Lollipop OTA
Rename file to "updater-script" before adding to zip.
Click to expand...
Click to collapse
The first line in the original updater-script check if you have the required firmware to install the new one. If you flash on the wrong firmware your device will break your phone. When you update from LL to MM the zip needs to flash the new "firmware-update" No?
luca020400 said:
Just no, it will cause many devices to flash wrong firmware leading to non working display and/or modem
TWRP label the device Z00T or Z00L unlike asus that for every variant ( ZE/ZD 550/551/600/601 ) they label it in a different way
This label is checked by the updater-script to flash the proper firmware and modem ( ex, it checks if the display is fhd or hd, check soc msm8929, msm8939, msm8916 )
Ex you have Z00L with the following specs: soc msm8939 && codename ZE600KL -> your script will flash msm8916 firmware and ZE551KL modem probably totally bricking the device
Remove the download links as fast as you can
Click to expand...
Click to collapse
Well, just to check if it works, I flashed RR ROM and then Flashed Stock MM ota with edited updater-script. My phone booted up without any problem (ASUS_Z00L_63)
I know, custom ROMs label our devices differently. On RR, there was not ro.product.device=, line/ The updater -scripts will flash firmware-update package only if ro.product.device= is the same as that labeled by asus.. For all variants ro.product.device= have a suffix "ASUS_" which is completely differnt than what is provided by cm/rr/beanstalk and any other custom ROM. Just beacuse I respect you a lot, I am removing download links for now and I will look at all possibilities of brick. If found, i will remove the radio part of the script so that users don't end up flashing incorrect firmware. Thanks
edit: Just forgot to mention, I have modified the updater-script to prevent brick. Its 100% safe now.
sziraqui said:
Well, just to check if it works, I flashed RR ROM and then Flashed Stock MM ota with edited updater-script. My phone booted up without any problem (ASUS_Z00L_63)
I know, custom ROMs label our devices differently. On RR, there was not ro.product.device=, line/ The updater -scripts will flash firmware-update package only if ro.product.device= is the same as that labeled by asus.. For all variants ro.product.device= have a suffix "ASUS_" which is completely differnt than what is provided by cm/rr/beanstalk and any other custom ROM. Just beacuse I respect you a lot, I am removing download links for now and I will look at all possibilities of brick. If found, i will remove the radio part of the script so that users don't end up flashing incorrect firmware. Thanks
Click to expand...
Click to collapse
Modem is the easiest problem to fix, but if you flash wrong firmware it will be a big problem
Sent from my ASUS_Z00TD using Tapatalk
luca020400 said:
Modem is the easiest problem to fix, but if you flash wrong firmware it will be a big problem
Sent from my ASUS_Z00TD using Tapatalk
Click to expand...
Click to collapse
By "radio" I meant lines of the script below "radio works" line. In short, removing entire firmware package update part of the script, so that it only flashes system and boot. But then this will it be only for those who want to revert to a stock firmware version that was flashes on their device at some point in time. Still useful
I think that the ideea is not bad. But sure, some checks should be in place.
I had to go back to stock several times just to get the latest baseband. It would be easier to flash the stock via TWRP - instead of flashing the factory recovery, factory firmware and then fastboot to go back to TWRP.
Would also help if we could get the newest baseband some other way - (like form OP links).
SoNic67 said:
I think that the ideea is not bad. But sure, some checks should be in place.
I had to go back to stock several times just to get the latest baseband. It would be easier to flash the stock via TWRP - instead of flashing the factory recovery, factory firmware and then fastboot to go back to TWRP.
Would also help if we could get the newest baseband some other way - (like form OP links).
Click to expand...
Click to collapse
Look at my signature, I have made a thread which has TWRP flashable baseband for all variants
Thank you for your Script
I have ZD551KL
I updated script file as you mentioned to Last LP OTA
i flashed updated zip file with twrp
more than 30 min its still on " patching system image unconditionally......"
Previously i installed RR Rom, and i try to revert to stock its not installing, so try to your method,
Kindly advice me to solve it.
Thank you.
Pretty useful. Thanks
You can also flash the files from CM13 then do the generic update script without going back to LP. That's what I did with mine.
Posted using a calculator and delayed by AT&T.
Not to be stupid but what and how do I use the updater script generic?
corybucher said:
Not to be stupid but what and how do I use the updater script generic?
Click to expand...
Click to collapse
Replace the same file in the stock update file that you downloaded from Asus or any other source.
Posted using a calculator and delayed by AT&T.
Hello, I don't understand, is the "stock recovery" the ROM zip file from the official website ? If so I don't find any updater-script file in it :/ ? Thanks
Edit : I finally find it in google folder, but still not working with TWRP when I try ton install, it says Zip file is corrupted :/
Can anybody give me an OTA stock ROM which is working with this ? I tried with 2 ota, replacing the system file, each time I got an error in TWRP saying can't find update-binary in the zip file :/
I'm using this ROM today [ROM][6.0.1] Smoothified Stock ROM [ALL VARIANTS] http://forum.xda-developers.com/zenfone-2-laser/development/rom-smoothified-stock-rom-t3404050
And wanna go back to an official one, please, thanks
Bibi86 said:
Can anybody give me an OTA stock ROM which is working with this ? I tried with 2 ota, replacing the system file, each time I got an error in TWRP saying can't find update-binary in the zip file :/
I'm using this ROM today [ROM][6.0.1] Smoothified Stock ROM [ALL VARIANTS] http://forum.xda-developers.com/zenfone-2-laser/development/rom-smoothified-stock-rom-t3404050
And wanna go back to an official one, please, thanks
Click to expand...
Click to collapse
Just download the OTA from asus website. Replace the update script. Then flash it.
Posted using a calculator and delayed by AT&T.
Thank you, but I already tried this, doesn't work for me :/ I can't access the recovery anymore (volume down+power on) so I've tried to flash it using twrp but it's not working :/
Can you give me a link for official ota please, thanks
sziraqui said:
You were running a custom ROM but at some point of time you decided to go back to stock. Unfortunately, you do not have a TWRP backup. Or probably there is an official update but you can't flash the FOTA because you are running a custom ROM. One way of flashingf FOTA would be to flash stock recovery from fastboot and then downgrade to a lower firmware (say the last lollipop fota) and then flash the new update (say MM fota). many a times, update fails at verifying system image! Then you have to do everything again. Maaaaahhhhhhhnnnnnnnnnnn. This is so painful.
Solution? Just by editing the updater script of any ota, you will be able flash it via TWRP. But then you probably don't know what to edit. Moreover, if you edited it incorrectly, you may hard brick your device. So here I have edited updater-scripts for you. Just delete the updater-script from your ota zip and add edited updater-script for your device to the zip. Flash via TWRP recovery. Simple!
INSTRUCTIONS & DOWNLOADS
ZE500KL & ZE500KG
Usage:
Upgrade to MM without reverting to stock lollipop
Downgrade to any stock firmware version
Go back to stock
Recover from failed custom ROM installs
Download updater-script_Z00E-R
[NOTE: Rename it to "updater-script" ]
A proof that this works is here​
All other variants
Edited updater-script for these devices will only flash system and boot. You have to flash last lollipop update and then only you can upgrade to MM
But there's is one benefit of this over other methods. You don't need to find and flash stock recovery!
How?
> Flash last lollipop update that your device was running using the edited updater-script.
> Reboot device and Do all the set up.
> Reboot again but this time INTERRUPT the reboot by holding power button till screen turns off.
> Asus Logo will appear again. Allow Rebooting this time.
> Voila! Your stock recovery is back. You can upgrade to MM now using the regular method.
( All FOTAs contain back up stock recovery but not in .img form. A failed boot causes auto installation of this stock recovery back up)
Other Usage:
Go back to stock
Downgrade to any stock firmware version without affecting bootloader and modem
Recover from failed custom ROM installs
Download link: updater-script_generic
[NOTE: Rename it to "updater-script"]​
Don't forget to hit thanks
Why the can't I make updater-script for these variannts the way I made for ZE500KL/G ?
There are 6 variants (excluding ZE500KL/G) . Each variant has 3 sub variants. Each sub variant comes with upto 4 SKUs.
Every FOTA contains critical firmware files like aboot, hyp, etc of all variants and cross-flashing these would hard brick. Hence, the edited updater-script_generic will only flash system and boot.
.
Click to expand...
Click to collapse
hello.
my phone is asus zenfone 2 laser ze500kl
i have removed OS by mistake. now TWRP says no OS found. my bootloader is not unlocked and i have perfect running TWRP.
when i flashed stock rom it was showing this error. This is for WW phones. this phone is asus zooed
when i followed your script it successfully flashed but when i reboot i stuck at the asus logo.
did i do the correct process? please help me. i need your help. thanks in advance. waiting for your reply

Categories

Resources