Hi guys, I searched a bit but I didn't find anything.
My question is: since pixel has A/B partition system, normal zips doesn't flash. I tried look in existent zips but they are aroma or kernel zips which makes difficult to understand (at least, for me).
Can someone tell me how (or post an example empty zip) to create a flashable zip for pixel?
Maybe something to change is about /system folder and /system_root because they contain the same files?
I really don't understand, please let me know if you can help me with installer script, thanks.
Pretty much everything has to be ported specifically to accommodate the pixels A/B file structure
Related
Hello. I've used ADB to extract from the system folder the hole files of my android. I would like to know if is possible for me to make a ROM from there.
Also i would like to ask if i can use the META-INF and boot.img wich is on other roms into this one, in order to create a zip file ready for use of flasshing. Thanks
jgcaap said:
Hello. I've used ADB to extract from the system folder the hole files of my android. I would like to know if is possible for me to make a ROM from there.
Also i would like to ask if i can use the META-INF and boot.img wich is on other roms into this one, in order to create a zip file ready for use of flasshing. Thanks
Click to expand...
Click to collapse
It may be possible but certainly not recommended.
This is actually no different than taking the /system folder from the rom that you had flashed.
The best way is compiling your rom from source (which of course requires Linux).
The problem with using another rom's boot.img is that the kernel and drivers may not necessarily match those called by those in /system which may cause a lot of errors and instability that is assuming you can get it to boot.
Hello, I would like to create my own update.zip that would be compatible with clockwork mod. I have several files in several locations that I manually copy over after new installs like multicolored bash nano iwconfig iwlist etc. And I think it would be much easier to create a installable package for that, I also delete a number of built I. Apps like tweeter amazon etc. And I have seen the scripts inside oyhers update.zip's that I could add the bash commands to remove those things as well.unfortunately I know nothing about what clockworkmod wants and I see binarys inside these zips dont know if those are customized for each zip or the same in all of them, I dont know what files or information is absolutely required. The best possible solution is if I had a blank update.zip that held all of the required files settings and all I needed to do was add my files and asd a few lines to a preexisting script to remove sum stock apps.thinking back I might have seen a file containing all the files names and md5 chucksums for each as well which if necessary I can do. Is there something like this available for download sumwhere? If not ajy resources to learn the required information and find the required binarys.thank you in advance.
Sent from my Droid using Tapatalk
Hi,
I've been trying to learn the same thing. I'm curious if you found anything useful since posting this.
Of course, if I find anything, i'll post back here too.
Thanks.
Same problem here
Good to hear someone with same problems. I want to create a generic ROM for myself and I want to use ClockworkMod to help flash it instead of using fastboot.
Well, I have found no documentation about what ClockworkMod may need for a zip file.
But I guess it could be possible to just replace them with your own by downloading an existing zip file created by someone else.
I'll try it to see if that works or not. Of course, a documentation would be better.
I regularly flash a new CM7 Nightly as they are released and I have to manually modify some things each time a new rom is flashed. I change screen density and add a notification ringtone that CM7 does not have. I wanted to automate that. Since I have to reflash the Google Apps each time anyway, I thought why not modify the gapps zip to include my changes. After searching the web I found a little info about how to do it. I just modify the zip on my computer using WinRar, copy the file to my device and re-sign the package using signapktic which is free on the market. Then flash using CWM. It worked great. No more manual adjustments. There are some instructions here which helped me:
http://forum.cyanogenmod.com/topic/15030-moving-apps-to-system/
I been getting into the kitchen
http://forum.xda-developers.com/showthread.php?t=633246
So far i`ve managed to integrate a few apps , ringtone should be easy
next the fonts from utmost rom
thanks to the kitchen, Im now running at script kiddie level
I ported a theme for a XDA user here in this forum. But I cant seem to know how to make it into update.zip status. Can someone make it for/teach me how? http://www.mediafire.com/download.php?cxth4pchn488p6q and http://www.mediafire.com/download.php?rmnsr07y3m92d6i
There is a basic overview of how to create an update.zip file here, but this is out of date and won't fully work with our phones. The folder structure and basic process are the same though, so it will be a good overview.
The part that won't work with that guide is the update-script, as we use the new update-binary/updater-script that uses edify for flashing. It's more complicated, but I believe it also allows you to do more stuff. Here is an overview of the new functions of edify and what the old amend versions would have been.
Usually, the easiest way to get what you want is to download something that is known to work for what you are doing (theme, rom, etc.) and just replace the contents of it. You can look at the updater-script and edit it as needed. The basics are setting up the progress bar, mount /system (or where ever it is you're copying files to), copy files, set permissions (if needed), and then you should be done.
imnuts said:
There is a basic overview of how to create an update.zip file here, but this is out of date and won't fully work with our phones. The folder structure and basic process are the same though, so it will be a good overview.
The part that won't work with that guide is the update-script, as we use the new update-binary/updater-script that uses edify for flashing. It's more complicated, but I believe it also allows you to do more stuff. Here is an overview of the new functions of edify and what the old amend versions would have been.
Usually, the easiest way to get what you want is to download something that is known to work for what you are doing (theme, rom, etc.) and just replace the contents of it. You can look at the updater-script and edit it as needed. The basics are setting up the progress bar, mount /system (or where ever it is you're copying files to), copy files, set permissions (if needed), and then you should be done.
Click to expand...
Click to collapse
Awesome! Thanks a lot man.
I like modify all my ROMs, and in Android 5.0, the /system is on a system.dat and I don't know how to extract it, please help me
Up ?
I am up to this too. Before this .dat thing was very easy to de-bloat the ROM before installing it.
A different approach is to have a flashable zip with an updater- script that deletes apps / files and adds / changes etc. Its a bit more work at the beginning but it will save you editing every ROM zip you download as it'll only take a second to flash it.
rootSU said:
A different approach is to have a flashable zip with an updater- script that deletes apps / files and adds / changes etc. Its a bit more work at the beginning but it will save you editing every ROM zip you download as it'll only take a second to flash it.
Click to expand...
Click to collapse
Can you provide/point us a simple tutorial for making a simple flashable script that removes apps?
Thanks.
01 Vlatce said:
Can you provide/point us a simple tutorial for making a simple flashable script that removes apps?
Thanks.
Click to expand...
Click to collapse
I uploaded mine in this thread:
http://forum.xda-developers.com/google-nexus-5/help/editing-build-prop-via-flashable-zip-t2949308
Please note, it deletes some stuff, adds anything in the /system folder of the zip to your /system partition and also runs a bash shell script (.sh) to modify the build prop. If you look in the updater-script, you should be able to figure it out from there.
rootSU said:
I uploaded mine in this thread:
http://forum.xda-developers.com/google-nexus-5/help/editing-build-prop-via-flashable-zip-t2949308
Please note, it deletes some stuff, adds anything in the /system folder of the zip to your /system partition and also runs a bash shell script (.sh) to modify the build prop. If you look in the updater-script, you should be able to figure it out from there.
Click to expand...
Click to collapse
Already figured it out. Thank you!
you can also get an ext4 fs editor (the .dat is actually an ext4 image), such as ext4_unpacker and so on
http://forum.xda-developers.com/showthread.php?p=57633970
Hii devs,
I'm a budding developer. I've been trying to make a flashable zip since long time. Came across many tutorials, resources, apps, and a lot more! But none of them seemed to help me make a flashable zip from scratch.. All tutorials either provide a dummy (sample) zip or suggest an app or are incomplete.. But still I haven't been able to find a helpful resource..
My situation:
I made two directories: META-INF & data.
Wrote the updater-script
Added it in META-INF/com/google/android
Verified the syntax of updater-script, everything seemed fine.
Added the required stuff in the data directory.
Compressed the directories (both using normal "New Zip Archive" from Desktop as well as 7Zip).
Signed the zip.
[*]NOW COMES THE PROBLEM: THE update-binary
Tried a lot of resources to obtain the update-binary, took it from a cm nightly for my device, from a dummy zip (which I was able to flash successfully), downloaded it from a tutorial, used an app to make a flashable zip and took out the update-binary from it
BUT STILL NO LUCK
I always get an error in the TWRP recovery:
Code:
E: Error executing update-binary in xxx.zip
Even posted threads in XDA forums, but got replies suggesting me to use ZipMe app..
I humbly request you to provide me a full-fledged tutorial for making a flashable zip, or correct me if I'm going wrong in any step..