Problem: We can download the firmware from Asus in the form of a zip file. We can use adb sideload <firmware>.zip to sideload the firmware.
Request: How can I flash that firmware using fastboot? It looks like I need to use a .img file. How do I convert that .zip file to a .img file?
Reason: I found a situation where using the sideload method didn't seem to work correctly. I ended up having to get a pre-rooted .img and flashed that, but I want a "virgin" img file. Thanks.
If you install zip from ASUS download site (not OTA!) then you will get virgin stock ROM after update.
This kind of update (around 1GB) erases system partition before install, so it doesn't matter how hard you've modified previous firmware. SU, Xposed, etc - everything will be automatically wiped before install.
The question is how do you convert .zip to .img?
damian5000 said:
The question is how do you convert .zip to .img?
Click to expand...
Click to collapse
tools to build img from zip (only full ROM, not OTA) published there: http://forum.xda-developers.com/zenfone2/orig-development/rom-pre-root-img-t3079590
But keep in mind, it's for advanced users. I would say, for developers.
Thanks. I asked that nice feller if he was able to do such a thing as I'm not a dev or even well-versed in Linux.
What firmware zip are you looking to flash?
flashing system.img was just temporary solution, as the only way to root or modify firmware before bootloader unlock.
With unlocked bootloader and custom recovery you can modify update.zip as much as you want and then install it.
Even if you don't want to unlock the bootloader, then you can use temporary custom recovery and install any modified zip.
So, in general you don't need to create system.img anymore. Just use zip to install whatever you want.
sorg said:
flashing system.img was just temporary solution, as the only way to root or modify firmware before bootloader unlock.
With unlocked bootloader and custom recovery you can modify update.zip as much as you want and then install it.
Even if you don't want to unlock the bootloader, then you can use temporary custom recovery and install any modified zip.
So, in general you don't need to create system.img anymore. Just use zip to install whatever you want.
Click to expand...
Click to collapse
^ That's exactly why I was asking. I can put together whatever zip if they know what they want flashed. :good:
Harfainx said:
^ That's exactly why I was asking. I can put together whatever zip if they know what they want flashed. :good:
Click to expand...
Click to collapse
Hi,
can you make system.img, pre-rooted or not, like @shakalaca?
I tried but I haven't enough knowledge to do, though I tried to install a ghitub, etc, etc.
I would like to download the system.img fro last firmware, Z00A-WW.2.19.40.22.
Thanks
Related
I would like to restore my stock recovery on 1.56.720.6, im unable to find this one on xda, My other option is to extract it from the OTA but there is no link anywhere to download that, can someone help me with this?
EDITL downloaded from htcdev site its a 100mb file do I flash the whole thing using super tool? if so which option should I pick to flash or goto CWM and flash from zip?
does my bootloader need to be locked before I do this?
anyone?
Is that download actually firmware or the OTA update?... I think it's only source code? Did you download it and check in the .zip file what the actual contents are before you just go and flash random .zip files with your version number on it?
As for stock recovery, correct, I can't find that stock recovery either. Just like with the OTA update most guys that get it don't bother making backup and sharing before doing anything.
BerndM14 said:
Is that download actually firmware or the OTA update?... I think it's only source code? Did you download it and check in the .zip file what the actual contents are before you just go and flash random .zip files with your version number on it?
As for stock recovery, correct, I can't find that stock recovery either. Just like with the OTA update most guys that get it don't bother making backup and sharing before doing anything.
Click to expand...
Click to collapse
They don't specify on the HTC site but when I unzip it there is a .tar file inside it, so I assume its either the ota or kernel source which someone more experienced than me can tell me.
Here's the link its filed as a zip under HTC one m8 devices
http://www.htcdev.com/devcenter/downloads
Hi! i have some questions.
I want to install the cm12 5.0.1 beta 2 rom, my phone is 1 month old and its sad it wont get updates, sooo, i know how to unlock bootloader from sony website. (I want to do the less pc process possible bc im kinda stupid for doing them).
Just wondering if i need root to make the processes on this video:
https://www.youtube.com/watch?v=22UVfMh51H4
I don't want to make root since i said im stupid w/ this things, i see installing this recovery and the rom very easy on that video...
Someone tell me the exact things i need for doing it w/o bricking :fingers-crossed:
Someone reply ASAP:fingers-crossed:
josedavidhcu said:
Hi! i have some questions.
I want to install the cm12 5.0.1 beta 2 rom, my phone is 1 month old and its sad it wont get updates, sooo, i know how to unlock bootloader from sony website. (I want to do the less pc process possible bc im kinda stupid for doing them).
Just wondering if i need root to make the processes on this video:
https://www.youtube.com/watch?v=22UVfMh51H4
I don't want to make root since i said im stupid w/ this things, i see installing this recovery and the rom very easy on that video...
Someone tell me the exact things i need for doing it w/o bricking :fingers-crossed:
Someone reply ASAP:fingers-crossed:
Click to expand...
Click to collapse
*Ps: in the ZIP i have this files: system.transfer.list , system.patch.dat , file_contexts , boot.img and the system, META-INF folders.
Do i have to delete any file before flashing the zip?
josedavidhcu said:
*Ps: in the ZIP i have this files: system.transfer.list , system.patch.dat , file_contexts , boot.img and the system, META-INF folders.
Do i have to delete any file before flashing the zip?
Click to expand...
Click to collapse
nope you just need to wipe data and cache after that install this zip and if you want it include gapps too, after all installed successfully turn on your phone wait it. for first boot it take a while and if this very longer / stuck in black screen turn off your phone and flash the boot.img from this zip with fastboot mode from your phone and turn on again and it will be worked
And how do i acess recovery to install the rom? Do i need to flash a custom one? And so when before flashing do i have to delete any of those files that are in the root of the zip? And the boot.imh what is, the rom? The recovery?
And how do i access recovery to install the rom? Do i need to flash a custom one? And so when before flashing do i have to delete any of those files that are in the root of the zip? And the boot.imh what is, the rom? The recovery?
josedavidhcu said:
And how do i access recovery to install the rom? Do i need to flash a custom one? And so when before flashing do i have to delete any of those files that are in the root of the zip? And the boot.imh what is, the rom? The recovery?
Click to expand...
Click to collapse
Yes boot.img is for recovery mode , you need to flash that from fast boot mode after you flash cm12.zip and gapps.zip too and don't forget to wipe data and cache after install both of them
But do i need root to flash the recovery? Isnt impossible to flash the recovery after flashing the new OS? Lolll
josedavidhcu said:
But do i need root to flash the recovery? Isnt impossible to flash the recovery after flashing the new OS? Lolll
Click to expand...
Click to collapse
if you still in unlock bootloader condition you can flash recovery and anything with fasboot mode bro, just try it and have fun with this
Okk I will do that tell me if I have to delete one of the files from the zip? Like the system.xda
josedavidhcu said:
Okk I will do that tell me if I have to delete one of the files from the zip? Like the system.xda
Click to expand...
Click to collapse
you don't need to deleted any files from this zip bro, only flashing and look it what happen next
Hi guys, i need the recovery.img file as indicated on the subject. I installed twrp without backing-up first the recovery.
I do not want to install the full stock rom to get this recovery version back, so if anyone could help me out with this file, i really appreciate it.
thanks once again for the help!
Hi.
You will need to download the stock ROM zip files for your phone's model and check for droidboot.img file in it. That is the recovery file for stock ROM.
Uzi.3 said:
Hi.
You will need to download the stock ROM zip files for your phone's model and check for droidboot.img file in it. That is the recovery file for stock ROM.
Click to expand...
Click to collapse
thanks for the tip!
fbriceno97 said:
Hi guys, i need the recovery.img file as indicated on the subject. I installed twrp without backing-up first the recovery.
I do not want to install the full stock rom to get this recovery version back, so if anyone could help me out with this file, i really appreciate it.
thanks once again for the help!
Click to expand...
Click to collapse
Uzi.3 said:
Hi.
You will need to download the stock ROM zip files for your phone's model and check for droidboot.img file in it. That is the recovery file for stock ROM.
Click to expand...
Click to collapse
Hope you read this on time.
droidboot.img in not the recovery image, is the bootloader image (so don't flash as recovery.img) and even more, you won't find the .196 recovery image inside the stock Rom.
https://mega.nz/#!gcBSSapa!cIyweU7vMV6940B2MD17hvklYT4IidMaMOa7L46LcsQ
This is a zip package that you can install using TWRP to flash the .196 stock recovery, or you can unzip the file and you will have the recovery.img file inside, so you can use it as a backup, to flash in fastboot mode or using TWRP for install as image file instead of zip package.
Regards.
Give thanks to
http://4pda.ru/forum/index.php?showtopic=657946
There you have all the recovery files
https://yadi.sk/d/t-za9JiGmZPuw/Recovery Z00A
You can have the recovery files, that yes, are included in the RAW firmwares (just unzip the RAW file).
In other way and if you know how (I don't know, I tried but no succes http://23pin.logdown.com/posts/222680-build-zenfone-recovery-image-from-bootimg), is built the recovery.img using/paching the boot.img image and the files included in /recovery folder inside the stock ROM package.
elperroderoke said:
Hope you read this on time.
droidboot.img in not the recovery image, is the bootloader image (so don't flash as recovery.img) and even more, you won't find the recovery image inside the stock Rom.
https://mega.nz/#!gcBSSapa!cIyweU7vMV6940B2MD17hvklYT4IidMaMOa7L46LcsQ
This is a zip package that you can install using TWRP to flash the .196 stock recovery, or you can unzip the file and you will have the recovery.img file inside, so you can use it as a backup, to flash in fastboot mode or using TWRP for install as image file instead of zip package.
Regards.
Click to expand...
Click to collapse
Thanks man, you saved me from a bootsit..
fbriceno97 said:
Thanks man, you saved me from a bootsit..
Click to expand...
Click to collapse
Give thanks to
http://4pda.ru/forum/index.php?showtopic=657946
There you have all the recovery files
https://yadi.sk/d/t-za9JiGmZPuw/Recovery Z00A
You can have the recovery files, that yes, are included in the RAW firmwares (just unzip the RAW file).
In other way and if you know how (I don't know, I tried but no succes http://23pin.logdown.com/posts/222680-build-zenfone-recovery-image-from-bootimg), is built the recovery.img using/paching the boot.img image and the files included in /recovery folder inside the stock ROM package.
Regards.
Hello All
I'm in terrible need of Recovery.img and System.img of Z00A-WW-2.20.40.196
Please help. The above links aren't working
Cant find anywhere on the internet.
Thanks
javvadi said:
Hello All
I'm in terrible need of Recovery.img and System.img of Z00A-WW-2.20.40.196
Please help. The above links aren't working
Cant find anywhere on the internet.
Thanks
Click to expand...
Click to collapse
You can find the recovery bitstream image (named recovery_sign.bin) inside the corresponding RAW file (which basically is a ZIP file).
The .196 one is here: https://yadi.sk/d/FijRoAVJtvRiG/WW_ZE551ML_2.20.40.196_20160815.raw
I'm looking for the .198 recovery.img, but haven't any success with the raw file for that version.
Could I flash a previous version of the recovery above an existing system, without reflashing it ?
Successfully unlocked bootloader, I lost my recovery by flashing a wrong TWRP and now I haven't the recovery at all.
Could you please suggest a way to reset it to stock ?
Thanks a lot
Val3r10 said:
You can find the recovery bitstream image (named recovery_sign.bin) inside the corresponding RAW file (which basically is a ZIP file).
The .196 one is here: https://yadi.sk/d/FijRoAVJtvRiG/WW_ZE551ML_2.20.40.196_20160815.raw
I'm looking for the .198 recovery.img, but haven't any success with the raw file for that version.
Could I flash a previous version of the recovery above an existing system, without reflashing it ?
Successfully unlocked bootloader, I lost my recovery by flashing a wrong TWRP and now I haven't the recovery at all.
Could you please suggest a way to reset it to stock ?
Thanks a lot
Click to expand...
Click to collapse
Thank you for the url.
I previously flashed the lower version of recovery and was unsuccessful. I think it doesn't work that way.
It's better to reflash completely from raw brings back to stock.
Then as you know you can unlock the bootloader, flash twrp recovery, and any custom rom like Borets ROM.
Does anyone know how I can create a ZIP from the rom stock preferably without having root? I have the XT1676 model in hand and the factory rom is installed on it. On the internet there is not a ZIP from stock for this model so I would like to create it so that I can make it available to those who need it
Cairo100 said:
Does anyone know how I can create a ZIP from the rom stock preferably without having root? I have the XT1676 model in hand and the factory rom is installed on it. On the internet there is not a ZIP from stock for this model so I would like to create it so that I can make it available to those who need it
Click to expand...
Click to collapse
Think of these roms more as a custom rom without any modifications - you would still need an unlocked bootloader and a custom recovery to flash it
Use adb to pull the system folder
Create the flashable zip - There are plenty of guides
hey happy new year guys i searched alot but no luck , i downloaded recovery stock rom 10.0.17.0 from here
https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
but when i try to flash it from recovery i get an error what is proper way to install it (knowing that i'm on 10.0.3.0 ) please asap ??
If I'm not mistaken, I think that the link you provided is to a file that will contain a payload.bin, which would also need to be extracted. Maybe try from this link and extract the tgz & tar file to gain access to flash_all.bat/images.
I also had errors trying to flash the image as well but the path to the flash file was long (N:\Android\Xiaomi\Images\daisy_global_images_V10.0.17.0.PDLMIXM_9.0-2). When I simply moved the folder to the N drive it worked beautifully (N:\daisy_global_images_V10.0.17.0.PDLMIXM_9.0-2).
Hope that helps & good luck!
farrouk said:
hey happy new year guys i searched alot but no luck , i downloaded recovery stock rom 10.0.17.0 from here
https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
but when i try to flash it from recovery i get an error what is proper way to install it (knowing that i'm on 10.0.3.0 ) please asap ??
Click to expand...
Click to collapse
To install that, maybe TWRP can do it?
Else you will need to extract the images from payload.bin (use payload dumper) and flash each image using fastboot.
Probably flash them to the other slot and then change active slot. But you won't need to do that since you're flashing from fastboot.
a1291762 said:
To install that, maybe TWRP can do it?
Else you will need to extract the images from payload.bin (use payload dumper) and flash each image using fastboot.
Probably flash them to the other slot and then change active slot. But you won't need to do that since you're flashing from fastboot.
Click to expand...
Click to collapse
twrp doesnt do it and payload dumper seems alot of work it's okay i found fastboot rom of 10.0.17.0 , anyway my trouble now is what is the proper way to install magisk and twrp along side ? please
farrouk said:
twrp doesnt do it and payload dumper seems alot of work it's okay i found fastboot rom of 10.0.17.0 , anyway my trouble now is what is the proper way to install magisk and twrp along side ? please
Click to expand...
Click to collapse
I followed this using offain's TWRP. Rather than pushing the files with adb, I had them loaded on my sd card. Just follow the guide & you'll be good.
Link not working - remove spaces below:
https://www.the custom droid .com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/
mn1968 said:
I followed this using offain's TWRP. Rather than pushing the files with adb, I had them loaded on my sd card. Just follow the guide & you'll be good.
Link not working - remove spaces below:
https://www.the custom droid .com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/
Click to expand...
Click to collapse
thnx i'll give it a try and feedback