[Q] Update-binary in a flashable zip. What does this do? - Android Q&A, Help & Troubleshooting

I noticed every flashable zip has one. If i merge to flashable zips what do I do with the update-binary? Is it important?

Its the program that executes the commands in the update-script, but dont quote me on that
Tappin' Typin'

Related

[Q] Creating Flashable Zip for ThunderBolt

Trying to create a flashable ZIP for a ThunderBolt. I have 2 questions:
My first question being, how do I determine the command on my device to install the APK I've included in the zip file?
Second question is, the update-binary is in all the ZIP archives and I would like to know what it does exactly. Is it required?
Thank you in advance!

[Q] Help needed for merging of different MODs

Hello all,
does somebody have a instruction/faq how to merge different MODs into onw ZIP.
Why? Because i am flashing round about 4 MODs after a Custom firmware update.
I want to Merge the following MODs:
- 12_headphone_shortcuts_mod_v0.1.zip
- Camera_HX-MOD_1.52_CWM.zip
- CWM_SecLauncher2_Mixed_5x5_5x6_SCR_on.ELKC.zip
- XXELLA SystemUI.zip
- SGS_3.zip (Picture for XXELLA SystemUI.zip
- Sihay Kernel
I have already taken a look into the ZIPs, but have a problem in understanding the structure of the ZIPs.
In some zips i have a different update-binary file.
The updater script is different to each other. Seems for me that this is the file with the commands which have to be used for updating process.
The Manifest.MF and CERT.SF file seams to have hashs of the files (SHA1-Digest). These differ from Zip to Zip even when the same filename is used.
Read here something about a signing of the Zip.
Is this need for/after merging the Zips?
Could somebody help me with the steps which have to be done to merge the Zips.
I want to learn how it has to be done. I donĀ“t want a ready to use Zip file.
I already searched for instructions but have not found a concrete instruction/faq for the merging of ZIPs.
Best regards
Jake555
PUSH

How to generate update-binary for flashable zip?

Hi all, almost always after installing new CFW i have to delete annoying stock apps, so i think, that with flashable .zip that would be easier. I have created updater-script, but i need update-binary for it's work, right? So, anybody knows, how to generate it or smth? Thank you

[TOOL]Flashable recovery zip template

Hi. This isn't really original at the core, but I haven't seen many flashable zips for new recoveries in this forum.
It's not original development so it goes in general.
It's easy to make recoveries flashable if you have the recovery .img file. I use a modified kernel flashing zip file... johnnysit's newest recovery complains about the update-binary but is sophisticated enough to take care of using it anyway.
Drop the .img into the /kernel folder of the zip. Modify META-INF/com/google/android/updater-script by replacing generic_recovery.img with the filename of your recovery .img.
Rename the containing zip appropriately and sign or don't.
This template contains an empty .img and shouldn't flash. I wouldn't try it unmodified unless you're prepared to replace the recovery afterwards.
Hope this is useful.

How to use update-binary to change things?

The Pixel XL cannot use the typical TWRP flashable zip. It needs heavy modding.
I'm using Chainfire's TWRP flashable zip to do things to my phone.
But he doesn't use updater-script, he uses update-binary to make changes on the phone.
I need to edit the update-binary to copy some files to the phone, change their permissions and then also update the build.prop a little.
Could someone link me to a guide for editing update-binary to make changes to the phone?
I'm finding tons of info on updater-script but none of those mods work in update-binary.

Categories

Resources