[Q] Creating Flashable Zip for ThunderBolt - Android Q&A, Help & Troubleshooting

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!

Related

Precook Kernel into Rom Zip

Is there a unified manner in which this is done?
I've been looking for a way to precook this kernel here: http://forum.xda-developers.com/showthread.php?t=756774 into my ROM's zip before flashing, to save myself the extra step.
Is there anything special to it? I assumed it might just be as straightforward as copying the entire folder structure into the ROM's zip, but the kernel inquestion actually has a third folder called "kernel".
Any help would be much appreciated, this combined with my LauncherPro cooking question earlier will make this ROM perfect for me
LiquidSolstice said:
Is there a unified manner in which this is done?
I've been looking for a way to precook this kernel here: http://forum.xda-developers.com/showthread.php?t=756774 into my ROM's zip before flashing, to save myself the extra step.
Is there anything special to it? I assumed it might just be as straightforward as copying the entire folder structure into the ROM's zip, but the kernel inquestion actually has a third folder called "kernel".
Any help would be much appreciated, this combined with my LauncherPro cooking question earlier will make this ROM perfect for me
Click to expand...
Click to collapse
unpack the existing rom zip's boot image, copy in the kernel you wants zImage, repack it and plop the boot image back into the sip. then remove all the modules in /system/lib/modules in the rom zip and copy all the modules from the kernel zip into the modules folder in your rom zip.
then you ware ready to go.
Yes man, but where to put the zImage? i have 2 GZ files and 1 folder. i tried to put it in the folder and repack that, and the rom stuck at the splash screen. where to put it and how?
thanks

Pack a custom rom

Hi, I want to create my own custom rom, I've finish them, but I've a problem.
I don't know how to pack all the files in a flashable zip, I've make a zip with 7-zip but when I try to install it, recovery say "Installation Aborted".
Someone can explain to me how to create the zip? I've an good experience on android but I haven't already create a flashable zip...
Thanks!
Would not have a clue my friend but by reading the following threads your best bet is to go to the following links
http://forum.xda-developers.com/showthread.php?t=1227549
http://forum.xda-developers.com/showthread.php?t=1133846
Have a look at those links and those are the best options you have to create your own rom. Enjoy
It is possible to make a simple tutorial for me, I'm french and that's too hard to understand for me. I just need to pack in a zip file flashable. Thanks you .
Wouldn't there need to be a script to tell CW what to do with the files in the package/how to install them, etc ?
I wouldn't have a clue how to do this BTW, I'm just thinking logically around what I know about the way CW works so far as installing roms/kernels goes.
MistahBungle said:
Wouldn't there need to be a script to tell CW what to do with the files in the package/how to install them, etc ?
I wouldn't have a clue how to do this BTW, I'm just thinking logically around what I know about the way CW works so far as installing roms/kernels goes.
Click to expand...
Click to collapse
Thanks, but we can't pack a rom with cwm if that's what you want to say.
sangosnip69 said:
Thanks, but we can't pack a rom with cwm if that's what you want to say.
Click to expand...
Click to collapse
still check those links i gave you above. there must be a solution or guide to tell you how to pack a rom once you are finished putting everything together.my guess is that you do need an updater script and updater binary script something like that..check on those two links and have a look..or zip the rom using powerarchiver if you are on windows
just head over to http://perka.zapto.org and look for a empty system cwm.
Now you just have to make folders in this zip and add your files. example you want framework-res.apk and systemui.apk flashed.
So open the cwm zip and add a folders called app and a folder called framework.
The zip will be/system and so with the folders it creates /system/framework/framework-res.apk and system/app/SystemUI.apk.
You can just take the signatures from the zip and add them in your future zips or just keep copying this one.
The update script shows the screens on install so change text in there and it will show on install.
Or there is a guide to Edify Scripting here: http://forum.xda-developers.com/showthread.php?t=1265120

[Q] Update-binary in a flashable zip. What does this do?

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'

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

Question about creating flashable zip

Hi,
I build aosp for my Xperia X, the output are 3 .img files, system.img, boot.img, userdata.img.
So I wanted to ask if it's possible to create a flashable zip for those .img files instead of flashing them using fastboot.
If yes, what should the folder structure look like?
Also could I use a META-INF folder from an other rom? (omnirom for example)
Greetings.

Categories

Resources