How can we prepare a .zip from OTAs ? - G3 Q&A, Help & Troubleshooting

So as official otas of 5.0s are rolling out. İ don't want to lose my recovery by flashing a kdz. And maybe they could be patched the bump vulnerability within the bootloader sector. So, can we unpack those kdzs and make a flashable and rootable(i know we can flash rootable kernel from skins thread) zip to flash from recovery ?
Thanks!

You are on kitkat?
Wait then till someone makes prerooted Lollipop for your variant.

Yes, you can.
No, no one is going to walk you through this step-by-step.
All instructions and tools are in "Development" subforum. How to unpack kdz, how to make a flashable zip, what to include in this zip and what not to... This has already been written. Use search.

I found what i want thank you guys.
http://forum.xda-developers.com/lg-g3/development/psa-stop-taking-ota-updates-update-t2909412

Related

[Q] Help Restoreing stock recovery 1.56.720.6 or Flash ota

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

[Q] Root KDZ image

Hi guys,
I just want to ask if somebody tried to create a pre-rooted kdz to be flashed with the flash tool 2014?
I read in the G2 forums, that it should be possible by performing the following steps:
extract 'original' KDZ-file and DZ-files
hex-edit bin files
repack the KDZ file
With this method and chainfire's SuperSU beta it should be able to create pre-rooted Lolipop KDZ files, isn't it?
Installing TWRP on Lolipop should work or even creating a KDZ with TWRP or CWM included.
Unfortunately, I fail hex-editing the .bin - is there anybody that can perform this step?
There are some tutorials in the LG G2 or L9 forums here on xda.
Its easier to flash prerooted rom then this.
Not if you are already on stock Lolipop (I am on 20E).
I would now need to downgrade to 10L, root, bump & install new ROM.
And if you want to stay stock but rooted, you can use the 'official' way with the LG Flash Tool.
Doesn't bootloader check KDZ's signature before flashing it?..
About editing .bin files... System.bin is only an ext2 image, mounting and editing it is trivial. The problem is repacking everything to .dz + dll and finally to .kdz,
Just that could be a solution for rooting stock lollipop lg g3. Like: download kdz by well known imei link (http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=), root it, flash without wiping. But scince .dz + dll is a problem then probably there will be some another rooting method possible sooner... (Downgrading is not a solution for 2 reasons: requires wipe i think, imagine a new model/revision with lollipop preinstalled by default).
HI, did u downgrade or just got any flashable file for prerooted lollipop ?

How Can i rollback from an Update?

Hi everyone
I have build number: 2.19.40.16 (CN)
I need to go back to last versions (2.15) so i can change to WW
right now i can not change it to WW versions because my version is higher than 2.18.40.12
please help me out.
Hi, the only way to roll back from previous updates is to, flash droid.boot, recovery and system img file through fastboot., can find a useful guide in General section.
neko95 said:
Hi, the only way to roll back from previous updates is to, flash droid.boot, recovery and system img file through fastboot., can find a useful guide in General section.
Click to expand...
Click to collapse
I know how to flash droid. but how can i flash system.img.
i didnt find this file on the update
and what should i write in cmd to update system.img?
please help me out.
If you unzip the full ROM package (not OTA) then you'll find those files, like system.img/boot.img etc. At least they're there in the pre-rooted system zips - https://mega.co.nz/#F!k4MHiAgL!dVuOKeH3eokcwPSNI79ffw

[Q] How do you make a system.img from firmware zip

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

Help needed - trying to load OTA Manually

following on from my earlier post (in the wrong section!) http://forum.xda-developers.com/htc-10/how-to/help-changing-fw-t3446464
I have finally got the Voda AU FW working - I missed where I had to flash the firmware.zip from an OTA twice for it to work.
Now my phone boots into 1.21 - but the OS version listed in Download mode is 1.53? (i used the firmware from the 1.21 to 1.53 OTA).
How do I now apply the right OTAs to get me back to 1.80? I've loaded the stock recovery..... but when trying to flash the 1.21 to 1.53 update, it fails.....?
First of all firmware packages may not be full packages so flashing a firmware taken from an ota isn't recommended unless your on the firmware before the ota. Of course you can try. So your firmware is 1.53? Flash the stock system.img and boot for 1.53.710 then flash stock recovery. Once you boot to system you should be able to take the ota.
yldlj said:
First of all firmware packages may not be full packages so flashing a firmware taken from an ota isn't recommended unless your on the firmware before the ota. Of course you can try. So your firmware is 1.53? Flash the stock system.img and boot for 1.53.710 then flash stock recovery. Once you boot to system you should be able to take the ota.
Click to expand...
Click to collapse
Hey, thanks for the reply.
So, if I boot up, in settings, it says 1.21, but in download mode, it says OS is 1.53.710.6
somehow what I did got it mismatched. i cant use OTA - says corrupt.
Your instructions still apply?
Also, then I would need 1.53.710 nandroid....anyone got a link to one?
sephstyler said:
Also, then I would need 1.53.710 nandroid....anyone got a link to one?
Click to expand...
Click to collapse
Download mode is firmware. In the settings is software. I am pretty sure if you search the stock guides thread you will find the system.img and boot for 1.53. I think there is even one for 1.80.710. I would use that and also i would find the ota for 1.80 and flash the firmware from it. But like i said in first post firmwares from ota are not complete so you may have incomplete firmware.
yldlj said:
Download mode is firmware. In the settings is software. I am pretty sure if you search the stock guides thread you will find the system.img and boot for 1.53. I think there is even one for 1.80.710. I would use that and also i would find the ota for 1.80 and flash the firmware from it. But like i said in first post firmwares from ota are not complete so you may have incomplete firmware.
Click to expand...
Click to collapse
Thanks.
I've taken a look at this thread: http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
seems like the nandroids for this CID (HTC__039) is just 1.21.710.10......
There are OTAs, but I dont think I can find a System.img and boot for 1.53 for this CID....do you know anywhere else I can look?
sephstyler said:
Thanks.
I've taken a look at this thread: http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
seems like the nandroids for this CID (HTC__039) is just 1.21.710.10......
There are OTAs, but I dont think I can find a System.img and boot for 1.53 for this CID....do you know anywhere else I can look?
Click to expand...
Click to collapse
I would ask someone to post a system.img and boot for the 1.80.710 hopefully someone will have it. If someone does post it then all you need to do is extract the 1.80 firmware from the ota and flash it.
yldlj said:
I would ask someone to post a system.img and boot for the 1.80.710 hopefully someone will have it. If someone does post it then all you need to do is extract the 1.80 firmware from the ota and flash it.
Click to expand...
Click to collapse
Thanks, heres to hoping.
sephstyler said:
Thanks.
I've taken a look at this thread: http://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
seems like the nandroids for this CID (HTC__039) is just 1.21.710.10......
There are OTAs, but I dont think I can find a System.img and boot for 1.53 for this CID....do you know anywhere else I can look?
Click to expand...
Click to collapse
Download the 1.21 SystemImage backup from @TRLOS at that thread.
Follow my guide here to restore it and I'll make a 710 zip file for stage 2 for you.
http://forum.xda-developers.com/htc-10/how-to/guide-how-to-ota-receive-corrupt-message-t3378187
EDIT: Give me about 15 minutes to make the zip
EDIT2: The fix zip is now in the OP of the guide thread.
So, to recap...download the SystemImage backup from @TRLOS
Download the fix zip I posted in my thread
Follow the steps in my thread to restore your ability to take the 1.53 OTA.
jollywhitefoot said:
Download the 1.21 SystemImage backup from @TRLOS at that thread.
Follow my guide here to restore it and I'll make a 710 zip file for stage 2 for you.
http://forum.xda-developers.com/htc-10/how-to/guide-how-to-ota-receive-corrupt-message-t3378187
EDIT: Give me about 15 minutes to make the zip
EDIT2: The fix zip is now in the OP of the guide thread.
So, to recap...download the SystemImage backup from @TRLOS
Download the fix zip I posted in my thread
Follow the steps in my thread to restore your ability to take the 1.53 OTA.
Click to expand...
Click to collapse
Thanks! I'm trying it now.
sephstyler said:
Thanks! I'm trying it now.
Click to expand...
Click to collapse
It is now downloading 1.53 update.
Thank you!!!
sephstyler said:
It is now downloading 1.53 update.
Thank you!!!
Click to expand...
Click to collapse
No problem. Anytime

Categories

Resources