[Tool][Windows/Linux][Dec 13 2017] Android Flashable Zip Creator v5.0 Alpha - Android Software/Hacking General [Developers Only]

Hi Everybody,
Are you tired of installing same apps again and again after installing new Rom or factory resetting current Rom?
Well, We have been experiencing the same since different Roms and Nightlies are out. Hence I and RajatPatel created a tool which would make it easier for you to try different Roms and install those apps/fonts/bootanimations/etc in just one shot.
★ What is this tool about?
Android Flashable Zip Creator is a tool for those who oftenly flash new roms and want an easy way to install apps, change fonts or bootanimation. This tool allows them to create a flashable zip with aroma installer that they can flash anytime in their rooted android device. Not only this is helpful to end users but also helpful for developers who release different version of their Apps, Tones, Fonts and Bootanimations
★ Why is it required?
Imagine that you’re flashing the latest nightly of your favorite ROM. If you are performing a fresh install by wiping all of your data, this also means that you have to flash all of your modified system apps, user apps, modules, and so on. And if you’re doing this on a regular basis, all the wasted time really starts to add up. So what do you do? Do you manually install these apps again, or do you add them to your favorite ROM? That is where this tool is helpful.
★ How is it helpful?
For you to create a flashable zip, you need knowledge of scripting language (edify).
Once you know it, you need to write it and update it everytime you make a change (add or remove files from zip).
It is very likely that we make mistakes (like missing semi-colon or forget closing the bracket) and fail to notice it while creating it.
We come to know about it only when we try to flash the zip file and experience an error in recovery.
To fix it, we again make changes in updater-script and test the zip again.
After spending hours and hours into creating a zip file, a new version of file releases and we are forced to make changes in zip to stay up to date.
All this time, if number of apps, fonts, rest of the files increases, the lines of code required in updater-script also increases.
To save your hours of time into creating zip file, we present you this tool which would just needs your few minutes to create a flashable zip file.
This tool
Lets you import the apks, fonts files, bootanimation zips, ringtones, etc
Creates a zip file at your desired location
Allows you to import the already created file so that you could just make the required modifications and create a new zip
Comes with drag and drop functionality to save your time in manually setting up the structure
Supports latest aroma binary version available
Supports all the Android versions till Nougat
Supports all the devices by reading update-binary from root directory if device is not present in supported devices list (this step will get eliminated soon in next big release)
Can be used by noobs too
Requires minimum knowledge about aroma config and updater-script
Allows you to choose your devices' compatilble aroma binary
Allows you to choose your favourite aroma themes
Has various options in Preferences for user to make change in behavior of tool
etc
Suggestions to make changes and making Feature requests are welcomed. Feel free to suggest anything​
★ Disclaimer
If you're going to test this app, make sure you have a nandroid backup handy.
We won't be held responsible for any damage done to anything whatsoever. You use this tool at your own risk.
★ If you like this project, please press the "Tip us?" button so that more people can know about it. ★
Android Flashable Zip Creator 5.0 Alpha
Android Flashable Zip Creator 4.1 (7.08 Mb)
Donate Developer
Video for Instructions​
XDA:DevDB Information
Android Flashable Zip Creator, Tool/Utility for all devices (see above for details)
Contributors
Nikhil, RajatPatel
Source Code: http://github.com/nikhilmenghani/FlashableZipCreator
Version Information
Status: Stable
Current Stable Version: 4.1
Stable Release Date: 2017-07-23
Current Beta Version: 5.0
Beta Release Date: 2017-12-13
Created 2017-02-06
Last Updated 2018-06-23

Credits
@Chainfire – for inception of such method and to make our life easier
@osm0sis: for providing an amazing shell script template for Edify replacement here
AFZC Testers:
@logosA for testing and providing detailed analysis. (thanks for helping)
@Sher1234 for testing (thanks for always being available)
Changelog:
v4.1
-Custom Group
--Push any file/folder to any location with your custom permission
-Delete Group
--Delete file/folder from any location
-Addon.d Support
--Flash the zip once and you won't need to flash it again while flashing nightlies
--It will backup only those files that you choose in Aroma installer
--Now taking backup is in your control, you will get an option in tool as well as in recovery
-Normal Flashable Zip
--Flash all the files in one go without having to choose the same options every time in Aroma
--Comes with Addon.d support
-OTA updates
--Improved OTA updates
-UI
--Revamped Preferences UI
--Revamped Progress Bar (added circular bar)
--Changed theme of the tool
-Bug Fixes
--Fixed Data apps not getting installed in some scenarios
-Donate
--Added Donate option for those who would like to buy me a coffee or appreciate my hard work after making this tool
v4.0 b2
-mod: added Titanium Backup generated zip (Apps only) support (more about it here)
-fixed: folders with spaces in path not working (Now you can keep whatever folder/filename you want)
-added support for devices on which universal-update-binary was not working (place update-binary from any working Rom in root directory of tool if universal-update-binary doesn't work for you)
-fixed group shown multiple times in aroma installer for multiple projects
-removed the inbuilt aroma themes (you don't care about aroma themes, do you?)
-improved OTA updates for tool
-added 'check for updates on start up' option in preferences so that you can know about the new features

Instructions​
Steps to Create a Flashable Zip​
Select your device if listed in Devices List, If not listed, place update-binary of your device in the directory of jar file.
Add a Project, give it a name.(A project can have multiple groups) A popup appears on start up, you can change the settings in File->Preferences.
Add a Group. (A group will contain specific type of files in it) For eg. you create a group (say xyz) with install location (system/app), then xyz group will include all the apk files that needs to be pushed to system/app
Add a Subgroup if required (When you need furthur grouping. It is required for bootanimations and fonts) For eg. 2 Boot Animations will have their own bootanimation.zip. You cannot add file with same name twice. Hence you need subgroup to further distinguish the file.
Add a Folder. (From android 5.x+, we have apk files placed in folder which contains optional lib files as well with it. To build the same directory structure, you need to add folders)
Add Files to Groups/Subgroups/Folders.
Click on Export Zip to choose the destination and Click OK to generate zip.
How to add objects​
To add a Project -> Right Click on AFZC Projects -> Give a unique name to project -> Click on Add.
To add a Group -> Right Click on the Project that you want your group to be added in -> Hover on Add group and proceed ahead with selecting location to which you want to push your files to -> Give a unique name -> Click on Add
To add a SubGroup -> Right Click on Group -> Click on Add SubGroup -> Give a unique name -> Click on Add. Note: You will get an option to add subgroup only for Boot Animation and Fonts group as only they require it.
To add a Folder -> Right Click on Group -> Click on Add Folder -> Give a unique name -> Click on Add. -> Right Click on Folder -> Click on Add Folder to further add folder -> Give an appropriate name -> Click on Add. Tip: You can also drag and drop folders from your drive to the group. All the sub folders (if any) and files will be added automatically.
To add a File -> Right Click on Group/Folder/SubGroup -> Click on Add Files -> Import the files. Tip: You can also drag and drop files from your drive to the Group/SubGroup/Folder. All the files will be imported.
To add a Theme -> Right on Themes Project -> Add Theme -> Give appropriate name -> Add required files to it
How to rename objects​ -> To rename a Project/Group/SubGroup/Folder/File, triple click on the object and change the name.
Finding it tedious to create again and again?​ Don't worry, once you create a zip, you can import the created zip to make further changes to existing zip file. To do so, use Import Zip button to add an already created zip OR drag the zip and add it to the tool.
Explore yourself to identify more hidden features.

One more

Hai will u please make a new folder for framework and bootlogo...
Sent from my Moto G 2015 using Taptalk

Best app thanks guys

how to install
thank you

abdullah alotaibi said:
how to install
Click to expand...
Click to collapse
Just extract the rar file on your PC and double click the JAR file.

Subins Mani(Tintumonn) said:
Hai will u please make a new folder for framework and bootlogo...
Click to expand...
Click to collapse
You mean System/framework?
Which is the folder where bootlogo is kept?
abdullah alotaibi said:
how to install
thank you
Click to expand...
Click to collapse
Also, you need to have latest version of Java installed in your System so that the System is able to read the jar files.

Nikhil said:
You mean System/framework?
Which is the folder where bootlogo is kept?
Also, you need to have latest version of Java installed in your System.
Click to expand...
Click to collapse
Yes system/framework..
And bootlogo is on outside the system or framework folder.. i think u understand.
[emoji12] [emoji12] [emoji12] [emoji12]
Sent from my Moto G 2015 using Taptalk

Great ! Could we had file in next release like gps.conf ? Thanks

Subins Mani(Tintumonn) said:
Yes system/framework..
And bootlogo is on outside the system or framework folder.. i think u understand.
[emoji12] [emoji12] [emoji12] [emoji12]
Click to expand...
Click to collapse
Okay sure. It'll be added in next release
Steelskinz said:
Great ! Could we had file in next release like gps.conf ? Thanks
Click to expand...
Click to collapse
Yeah, i'll add Custom Group feature using which you'll be able to flash files like gps.conf.

Exactly what we needed ! Thank you very much ?

@Nikhil can you make an option to make flashable zips that have a generated addon.d script so that stuff survives between updates?

Younex said:
Exactly what we needed ! Thank you very much ?
Click to expand...
Click to collapse
Let us know if you need help with anything! Instructions are already present in about menu though.
Link_of_Hyrule said:
@Nikhil can you make an option to make flashable zips that have a generated addon.d script so that stuff survives between updates?
Click to expand...
Click to collapse
Yup that's a good idea. Thanks for the suggestion. It'll be added in next release.

Nikhil said:
Let us know if you need help with anything! Instructions are already present in about menu though.
Yup that's a good idea. Thanks for the suggestion. It'll be added in next release.
Click to expand...
Click to collapse
Awesome now I can finally have one less Magisk module for a couple apps lol. Although, I wish there was a way to make an addon.d script for Magisk itself.

Link_of_Hyrule said:
Awesome now I can finally have one less Magisk module for a couple apps lol. Although, I wish there was a way to make an addon.d script for Magisk itself.
Click to expand...
Click to collapse
Could you link me to the Magisk zip? I'll see what I can do.

Nikhil said:
Could you link me to the Magisk zip? I'll see what I can do.
Click to expand...
Click to collapse
Thread:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Zip Download:
http://tiny.cc/latestmagisk

Doesn't seem like I can chose S6 under devices. ??

CODEG33K said:
Doesn't seem like I can chose S6 under devices. ??
Click to expand...
Click to collapse
Yeah, update-binary of s6 was not shared previously so i couldn't add its support. However you can fetch update-binary from any working Rom and place it in the same directory as of Tool's directory. If update-binary is present, it will not ask you to select a device and prepare a zip considering your update-binary only.

Related

manoo's addon for Cranium RC7 (now containg xperia launcer)

this addon contains
1 Samsung weather widget (like in galaxy s2)
2 Digital clock two version (samsung s2 version and xepria arc version)
3 social hub and reader hub
4 xepria arc launcher
5 Genie widget
there are no changes in boot.img and superuser.apk
Installation guide
1 install Cranium RC7. (if u already have it then skip this step)
2install the zip file using CMW recovery.
Download link
http://www.multiupload.com/I8QCKA5QRU
thanks..... i will try it..
I think you can call this an addon for Cranium v7, or is it really a ROM?
*Cranium ROm
Well,its not a ROM,its an Addon
alrigth i will rename it as a addon
manoo2 said:
alrigth i will rename it as a addon
Click to expand...
Click to collapse
Change the topic too (no offense)
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Idd, I think nikagl is right, what does boot.img and su.apk do there?
Also you should do the following stuff to make this post more attractive:
1. Add tags [ADDON] or [MOD] to the title. like: [ADDON][CRANIUM] - Manoo's addon for Cranium v7 -
2. Use some formatting for your post, like this:
Manoo's addon for Cranium v7
Description here Description here Description here Description here Description here
Features:
Feature 1
Feature 2
Feature 3
Feature 4
...
Click to expand...
Click to collapse
Installation Instructions
1. ...
2. ...
3. ...
Download
http://....
I think you can figure out the rest yourself
nikagl said:
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Click to expand...
Click to collapse
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Can other rom use this addon too?
1)R u sure Polaris Office works?its depends on a specific library,which u haven't included.
2)*Launcher
U didnt add IncrediControl and No-Frills CPU control!They are a must
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
before you do that please give your main post some formatting, it looks really messy tbh.
http://forum.xda-developers.com/showpost.php?p=21108852&postcount=8
I already posted an example
manoo2 said:
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Click to expand...
Click to collapse
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
piotrsiem said:
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
Click to expand...
Click to collapse
To make flashable zip files u need the following things
1 An unmodified flashable zip ( http://sakindia123.prophecy.li/downloads/RC7/RC7_Update1_CWM.zip) u can get it from here
2 Winrar
follow hese steps
1 open the the zip file in winrar.
2 Click on system directory. then click on the app directory
3 now drag and drop those apks in here and once winrar is done compressing them. copy the zip file into ur sd card and flash with cmw recovery
what in the case when some application is not in the system directory?
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
does this MOD modify the status bar also?I don`t wanna change the 14 buttons I have atm?
no i does not have the status bar mod
piotrsiem just simply drag and drop the apk file u are having into the directory. if still u need help then give me the apk file links and i will make a flashable zip for u and upload that file here
I understood, if I had trouble with this I will ask you for help

AutoMod [Modding Tool] [Script] [Linux/OSX]

AutoMod BETA 1.6 by MAD Industries
-----------------------------------------------------------------------------------------------------------------------------------
First off, this is not another APK Manager, this is also not Auto APK Tool. These two tools focus on the decompiling and recompiling of APK and jar files. AutoMod intends to bring a new paradigm to modding. That is, there are mods and there are roms. AutoMod makes them friendly with eachother. APKs are handled internally by the script.
I wrote this tool because as a developer who was using APK Manager, I ran into several obstacles along the way. One of them was that I liked to be able to take requests from users and personalize the mod to their tastes. Unless I was impeccable with my folder organization, it very quickly got out of hand with people asking for personalizations based on other personalizations. I would find myself decompiling a version I made the day before so I could remember what was in it and create yet another version on top of it. All this back and forth and I would end up with a mess of recompiled, decompiled, original, custom, extracted, etc files all over the place taking unnecessary HD space. On top of that, every step of the way required user input in the form of a yes/no prompt or selected a menu option for decompiling/recompiling/keep folders/signing/etc. And then I would manually create a flashable zip file for each version. AutoMod solves many of this issues in it's current BETA state. When it is finished, it will have solved all of them.
Features for End-Users:
Mods are dynamically applied to your ROM (this allows mods to stay up-to-date with the ROM without original developer support)
Mods often work across multiple similar ROMs (easy porting)
Mods are stored in what I call "opensource" format which means it is very easy to dig into the Mod package and change things to your personal preferences with very little knowledge modding
Only the modified files within the apk are stored in a mod package. This greatly reduces filesize
AutoMod encourages backups at every major step in the process
Backups are dynamic, meaning it will only backup the files which are modified
Backups are automatically saved as a flashable zip file so you can have it ready if a mod does not successfully integrate
AutoMod always keeps itself up-to-date with the latest features
Distribution of AutoMod requires only the script itself
AutoMod has the ability to accept a ROM Install file or an actual device as a base for creating a flashable zip file out of any mod package
Supported devices can have mods applied instantly and automatically over adb
Features for Developers
Since mod packages only contain changed files, you no longer have to hunt through hundreds of files to find a single png (such as when creating five different colored versions of a theme)
Easy packaging of mods for redistribution for this tool as well as update.zip format
AutoMod can "install" multiple ROMs into it's system so you can make a mod once, and then distrubute it for several ROMs at the same time
If you run nightly builds of your own ROM, AutoMod will soon include a scriptable feature which will allow you to release nightly themes, mods, etc with no extra effort
Much of the developer features are yet to come (such as quick prototyping of mods and parallel device/ROM support)
---------------------------------------------------------------------------------------------------------------------------------------
Tutorial written by mybook4 on post #16 (be sure to thank him)
---------------------------------------------------------------------------------------------------------------------------------------
1) Download automod.sh script and place it into an appropriate directory (I used one called AutoModTest)
2) Download the ROM Install zips you would like
3) Create your mod package (see below)
4) Run automod by typing “bash automod.sh” in a terminal
5) Select option 5 (Install a new ROM file into AutoMod), and follow the script's directions (copying your ROM zip, to the directory, not moving it or it will be overridden)
6) Select option 4 (Install a new mod package into Automod), and follow the script's directions (copying your mod zip, to the directory, not moving it or it will be overridden)
7) Select option 3 (Use a ROM Install zip + mod to create a flashable zip for another ROM/device), choosing the appropriate ROM and mod package.
8) Out came the zip! This makes things soooooooooooo much easier and more manageable!
Notes about automod mod packages:
1) A mod file is structured as a zip file with the extension .zip replaced with .mod (so as to separate it from flashable zips with the same name)
2) In the mod file is a directory with the name of the mod.
3) In the directory with the name of the mod is a directory tree leading to the files within the specific apk you would like to modify. For example, in the ICSBlueFull.mod file, the directory tree is as follows: ICSBlueFull, system, app, SystemUI (the apk being modified), res, directories with modified files (images, xml files, etc).
4) Just to be safe (and to match the ICSBlueFull mod supplied), I set permissions on all folders in my mod to 755 and all files to 644 (if these numbers don't mean much to you, open a terminal and type “man chmod”)
5) There is a command to package mods you have made into .mod files. This can be found in the developer menu. (option 11)
6) Spaces in file name are currently not handled very well. Try and name your mods accordingly.
---------------------------------------------------
How To Create A Mod
click to enlarge
---------------------------------------------------
Download the script here: http://cl.ly/code/463B1C3B123i
Note: Proper syntax is 'bash automod.sh'
Download an example mod here (for stock GS3 touchwiz based ROMs) [Fixed!]: https://github.com/downloads/MADindustries/automod/ICSBlueFull.mod
Original thread for this mod can be found here: http://forum.xda-developers.com/showthread.php?t=1775235
View the source/branch it here: https://github.com/MADindustries/automod (check this to see if using a 'forceupdate' would add features/functions)
awesome work dude!
invisiblek said:
awesome work dude!
Click to expand...
Click to collapse
Thanks. Btw you are in the credits on the script itself. (even if it was a couple binaries haha)
Wow. Great work. Can't wait to see more!
Ta very much indeed.
ALQI
Sent from my SCH-I535 using xda app-developers app
Nice job buddy..No Windows support?
This is amazing. +100000000000
Sent from my SCH-I535 using xda app-developers app
incubus26jc said:
Nice job buddy..No Windows support?
Click to expand...
Click to collapse
Not just yet. I'm on Mac personally which makes it not too difficult to see some Linux support as well. But Windows would be a completely new write from what i can tell. It will likely happen after this is out of beta unless a Windows dev feels like working with me on it. Obviously everything is open source and i would love to see a port pop up before i get around to it.
Sent from my Galaxy Nexus using Tapatalk 2
Very cool indeed.
Tried to download the example mod but appears it's down/not available.
Definitely want to give this a try.
Thanks for sharing
MAD Industries said:
Not just yet. I'm on Mac personally which makes it not too difficult to see some Linux support as well. But Windows would be a completely new write from what i can tell. It will likely happen after this is out of beta unless a Windows dev feels like working with me on it. Obviously everything is open source and i would love to see a port pop up before i get around to it.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It might work on windows with the right install of cygwin. I'd have to create a windows VM to test it out and I'm not all that familiar with cygwin anymore, any windows devs out there good with cygwin?
Sent from my SCH-I535 using xda app-developers app
alquimista said:
It might work on windows with the right install of cygwin. I'd have to create a windows VM to test it out and I'm not all that familiar with cygwin anymore, any windows devs out there good with cygwin?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Oh yeah! I totally forgot about cygwin. Yeah that should do it. It has all dependencies packaged with it except java and wget/curl. And only java is really necessary if you kinda know your way around.
Nice! Another great tool for the community!
Just what ive been waiting for
---------- Post added at 08:40 PM ---------- Previous post was at 08:32 PM ----------
Looks like running with cygwin gives unknown operating system. Can't proceed after that.
clark44 said:
Just what ive been waiting for
---------- Post added at 08:40 PM ---------- Previous post was at 08:32 PM ----------
Looks like running with cygwin gives unknown operating system. Can't proceed after that.
Click to expand...
Click to collapse
Oh yeah, that will have to be changed. run the command 'echo $(uname)' in a cygwin terminal and let me know what it outputs. I'm guessing just cygwin. Then i'll update the script to support it.
Any chance anyone has the example mod posted in the first post available on another hosting provider? It's been down for 2 days
myn said:
Any chance anyone has the example mod posted in the first post available on another hosting provider? It's been down for 2 days
Click to expand...
Click to collapse
Fixed it! Sorry about that. I don't know what happened with cloud.
Automod works great! Thanks so much! Here are the steps I took to create a quick little test mod to enable a 40x38px navigation bar and have only the wifi, bluetooth, gps, rotation, sync status bar toggles for Beans R8. I'm on Beans R3.1, so I didn't get a chance to test the zip in CWM.
1) Download automod.sh script and place it into an appropriate directory (I used one called AutoModTest)
2) Download the ROM Install zips you would like
3) Create your mod package (see below)
4) Run automod by typing “bash automod.sh” in a terminal
5) Select option 5 (Install a new ROM file into AutoMod), and follow the script's directions (copying your ROM zip, to the directory, not moving it or it will be overridden)
6) Select option 4 (Install a new mod package into Automod), and follow the script's directions (copying your ROM zip, to the directory, not moving it or it will be overridden)
7) Select option 3 (Use a ROM Install zip + mod to create a flashable zip for another ROM/device), choosing the appropriate ROM and mod package.
8) Out came the zip! This makes things soooooooooooo much easier and more manageable!
Notes about automod mod packages:
1) A mod file appears to be structured as a zip file with the extension .zip replaced with .mod
2) In the mod file is a directory with the name of the mod.
3) In the directory with the name of the mod is a directory tree leading to the files within the specific apk you would like to modify. For example, in the ICSBlueFull.mod file, the directory tree is as follows: ICSBlueFull, system, app, SystemUI (the apk being modified), res, directories with modified files (images, xml files, etc).
4) Just to be safe (and to match the ICSBlueFull mod supplied), I set permissions on all folders in my mod to 755 and all files to 644 (if these numbers don't mean much to you, open a terminal and type “man chmod”)
The 5StatusBarNavBar mod package for Beans R8
The CWM zip for the above mod package
MAD Industries said:
Oh yeah, that will have to be changed. run the command 'echo $(uname)' in a cygwin terminal and let me know what it outputs. I'm guessing just cygwin. Then i'll update the script to support it.
Click to expand...
Click to collapse
CYGWIN_NT-6.1-WOW64 (edit: uname -o will just return Cygwin)
Took a quick look at your script and I don't think it will too much of effort to offer cygwin support. Package manager by default will install bash, and curl/wget is available as well. You would need to install java naively on OS (it is accessible via your bash shell). Also to note don't think it will be required for your script based on my quick look, but you could always use the built in 'cygpath' command to convert windows<->unix paths if necessary.
Unfortunately only have a Windows box at work so can't spend to much time on but if no one gets to it I will take a stab later this week time permitting.
incubus26jc said:
Nice job buddy..No Windows support?
Click to expand...
Click to collapse
Linux is free and easy to dual boot. Nothing stopping you.
Or just run Linux from a VM. You can even forward the USB ports with Vitualbox.
mybook4 said:
Automod works great! Thanks so much! Here are the steps I took to create a quick little test mod to enable a 40x38px navigation bar and have only the wifi, bluetooth, gps, rotation, sync status bar toggles for Beans R8. I'm on Beans R3.1, so I didn't get a chance to test the zip in CWM.
1) Download automod.sh script and place it into an appropriate directory (I used one called AutoModTest)
2) Download the ROM Install zips you would like
3) Create your mod package (see below)
4) Run automod by typing “bash automod.sh” in a terminal
5) Select option 5 (Install a new ROM file into AutoMod), and follow the script's directions (copying your ROM zip, to the directory, not moving it or it will be overridden)
6) Select option 4 (Install a new mod package into Automod), and follow the script's directions (copying your ROM zip, to the directory, not moving it or it will be overridden)
7) Select option 3 (Use a ROM Install zip + mod to create a flashable zip for another ROM/device), choosing the appropriate ROM and mod package.
8) Out came the zip! This makes things soooooooooooo much easier and more manageable!
Notes about automod mod packages:
1) A mod file appears to be structured as a zip file with the extension .zip replaced with .mod
2) In the mod file is a directory with the name of the mod.
3) In the directory with the name of the mod is a directory tree leading to the files within the specific apk you would like to modify. For example, in the ICSBlueFull.mod file, the directory tree is as follows: ICSBlueFull, system, app, SystemUI (the apk being modified), res, directories with modified files (images, xml files, etc).
4) Just to be safe (and to match the ICSBlueFull mod supplied), I set permissions on all folders in my mod to 755 and all files to 644 (if these numbers don't mean much to you, open a terminal and type “man chmod”)
The 5StatusBarNavBar mod package for Beans R8
The CWM zip for the above mod package
Click to expand...
Click to collapse
Thank you so much for writing this! I am adding it to the OP. (let me know if you want me to take it down for some reason though)
Quick note, I think step 6 was supposed to be copy mod file to install directory? Also, a .mod file is exactly that; a zip file renamed to .mod. I did this to differentiate it from flashable zip files because the two would likely have the same name and it would cause confusion yet I still wanted to keep the .mod format easily modifiable/not proprietary. And one last thing, there is a hidden command called "packagemod" which can be used after you create your own mod to zip it up properly for distribution. It is entered at the main menu in place of choosing an option. Syntax: 'packagemod ICSBlueFull'.
lowg said:
CYGWIN_NT-6.1-WOW64 (edit: uname -o will just return Cygwin)
Took a quick look at your script and I don't think it will too much of effort to offer cygwin support. Package manager by default will install bash, and curl/wget is available as well. You would need to install java naively on OS (it is accessible via your bash shell). Also to note don't think it will be required for your script based on my quick look, but you could always use the built in 'cygpath' command to convert windows<->unix paths if necessary.
Unfortunately only have a Windows box at work so can't spend to much time on but if no one gets to it I will take a stab later this week time permitting.
Click to expand...
Click to collapse
Thanks for the tips. I have next to no experience with cygwin so this information is very helpful. I'll look into adding support to the next release.

[WINDOWS] Rom Zip Modifier

Hi,
everytime I want to flash a new version of a rom I have to modify the zip file contents, i.e. delete some files etc, which is a very tedious process.
Thats why I created a little tool for Windows (requires .NET 3.5) that can do the following with a zip file of a rom:
- Delete files
- Add / Replace files
- extract .apk's, decompile them, modify (regex replace) inside text / xml files within, recompile them and put the updated version back into the rom zip.
The tool is still beta, so there could be many errors if you don't use it correctly... always make a copy of the rom zip before using this tool on it
The included apktool (for decompile/recompile of apk) requires JRE 1.6 and only works for Android Jellybean roms / framework-res.apk's - but I think you could just use another apktool version for different Android versions.
Included in the package is a sample configuration that is basically exactly what I am using. Of course you can change what files to add, delete and modify. Also there is a screenshot attached so you can see what it looks like - as you can see you need to have some basic knowledge of how android rom stuff works, I don't think this is useful to total noobs, sorry.
If you have any problems / suggestions feel free to write here.
I hope this is useful to someone
Regards
Abomb
Changelog:
1.0: Inital release
1.1: Some error checking, not all errors will be caught but at least some basic ones.
1.2: Files to delete and apk's to modify can now be selected from the zip file via file browser
1.3: Log during modify operation and bugfixes
1.4: More bugfixes, plus the settings are now stored in the image of a cat
Thanks I'll try it.
Nice tool mister.
There is any way to add zip paths auto (for example /system/etc/ etc) against to write all the line manual?
I'm using win7 and winrar.
Thanks.
Sent from my GT-I9300 using Tapatalk 2
eliashadow said:
Nice tool mister.
There is any way to add zip paths auto (for example /system/etc/ etc) against to write all the line manual?
I'm using win7 and winrar.
Thanks.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I'm not sure what part of the tool you mean, add files, delete files or apk modify? And do you want to add a whole directory to add/remove?
Abomb said:
I'm not sure what part of the tool you mean, add files, delete files or apk modify? And do you want to add a whole directory to add/remove?
Click to expand...
Click to collapse
To remove files i have to write manual the line.I don't know of there is a way to add it without write the path with keyboard.
I hope to understand what i mean...
Sent from my GT-I9300 using Tapatalk 2
Ah now I see what you mean.
I'll try to implement a way to "open" the rom zip file inside the tool to select files from it without having to type in the paths manually.
Edit: 1.2 now has that feature implemented, please try it and tell me if that works for you.
Version 1.3 shows a log during the modify operation and has various bugfixes.
Abomb said:
Ah now I see what you mean.
I'll try to implement a way to "open" the rom zip file inside the tool to select files from it without having to type in the paths manually.
Edit: 1.2 now has that feature implemented, please try it and tell me if that works for you.
Click to expand...
Click to collapse
Everything seems just fine now...
Thank you mister.
Sent from my GT-I9300 using Tapatalk 2
thx im gone try it:fingers-crossed:

[Guide][Simple]Make your own update patch with Omegadoird rom flasher...

Hi guys...
Recently i had worked in a project (Mini Cayno X 2 link -> http://forum.xda-developers.com/and...update-patch-mini-cayno-x-2-symphony-t2858833 ...
it was a update patch for stock rom...so many buddy ask me in FB that how can i make one update patch for my rom?!!
But due to being busy i cant replay them and now i am free and try to write a small tutorial about this...i hope you will enjoy it... and this is my frist tutorial in XDA...
Frist its not for Developer its for newbie modder who dont know this method...
Ok lets start....
________________________________
Today i am going to tell you a new and uncommon way to make your own update patch...I think everybody knows about Villain rom flasher or Vrtheme...its really a good rom flasher...and you can make your own modpack with this easily...but i dont talk about this...beacuse there are a lot of guide in Xda about this...
Now i am going to tell you about Omegadorid rom flasher... This is an "Universal Flasher Tools" like villain rom flasher...
This flasher was made by JRsoft & Intronauta...
And more info and updates about "VillainTheme System" here:
(http://forum.xda-developers.com/showthread.php?t=1207017)
________________________________
Now i am going to how can you make your own update pack...
Frist for any Error or brick i am not responsible...
________________________________
Now requirments ->
1.Good file manegar or Root ecplorer...
2.good image editor like pixeler express or pic say pro...
3.Simple and common knowledge in udate script...
4.and free mind...
________________________________
Now download this omega flasher uploaded by Me...beacuse i lost the main thered link...
link -> ( http://www.mediafire.com/?pks4i2nx3w9l6d1 ) (Size: 2 mb)
After downloading make sure that what you want to add in your update patch...like i wants to add some nessesary apps,themes and some brinaries...
After decieding extract the zip in a new folder...like i extracted it in a new folder named new projects...
then you will see some folder like thats ->
1.META_INF,
2.MORPH,
3.tools,
4.XTRAS,
5.mod.config,
6.Reed me.txt...
Ok now frist lets talk about meta inf...i think everybody know this folder...and you must have knowladge about this folder...if you dont have then see this tutorial -> ( http://forum.xda-developers.com/showthread.php?t=1931585) (dont forget to say thanks to pitchblack5691 )
Now MORPH folder...
this is the main folder...here you can put your modded png files what you wanted to add in your apps...i will talk about it lettar...
then tools folder...in this folder you will see some files...dont touch them...this is the main files of your update pack...
then XTRAS...in this folder you can see some folder like system,sdcard,data etc etc...
if you wants to add somethings like apps in system folder then drop your apps in XTRAS/system/app..you can add fonts,new boot animations,modded build.prop and brinaries too...i will talk about this latter...
Now mod.config...This string will be added to build.prop for identify the
version or author of the mod and will be visible in
Settings - >About. Please avoid to use the character "=" into
the string.
now About readme.txt...here you will find somethings like how use this flasher etc etc...
________________________________
All done...now start making modpack.... .Its very easy...
Put in "/XTRAS" folder files that you want to add recreating
their full paths. Note that /XTRAS is equivalent to root path in
the internal memory:
e.g:
/XTRAS/system/etc/gps.conf
/XTRAS/sdcard/Wallpapers/MILF.jpeg
/XTRAS/data/app/Youtube.apk
/XTRAS/whateverfolder/whateverfile
you can also add system app here...just sing your app and drop it in XTRAS/system/app.you can add some app to xtras/data/app too...and in sdcard folder you can add some files like viper kernels or your lunchers downloaded themes.for example frist download all themes from your luncher settings.then search them in sdcard.if you found them,then copy the files with whole derectory like i found my themes here -> sdcard/xluncher/themes.So i copied xluncher folder and paste it to XTRAS/sdcard folder.By the same way you can add anithings in your sdcard just copy your file with whole derectory and paste it in xtras/sdcard...
i hope you understand about using XTRAS folders....
Now uses of MORPH folder...
>> Put in "/MORPH" folder your "morph themes". Note that /MORPH is
equivalent to root path in the internal memory and you must rename
folders like the apk but with extension instead the metamorph form
This process will only works in the following folders: /data/app,
/system/app and /system/framework.
e.g:
/MORPH/system/app/Settings.apk/res/drawable-hdpi/***.png
/MORPH/system/app/Settings.apk/classes.dex
/MORPH/system/framework/framework-res.apk/resources.arsc
/MORPH/data/app/****.apk/res/drawable-hdpi/**.png
you can add your modded png here...like i want to add new paltlogo...so frist i mod my platlogo.so that i extract my framwork_res by root explorer and find the paltlogo.then i found them and copy the derectory that where i found them like i found them in framwork_res/res/drawable nodpi.So i made my own logo and renamed them as same as in my stock framwork_res like platlogo.png and put them in the same derectory where i found them in stock framwork_res...like MORPH/system/framwork/framwork_res/res/drawable nodpi...done...now you add another pngs in the same way...but dont forget to renamed your pngs in same name as the main pngs...i hope you understand what i say....now your theming has been done!
>>but It's very important that you take a look to MOD.config file to
enable or disable features a/or set special commands if you need
it, i.e for setup your sdcard layout used in your recovery if you
get sdcard errors, set a mod name visible in Settings, etc..
>>ok now create zip of your updatepatch and Flash and enjoy!!
Having problem with update script?!!See my script -> ( http://www.mediafire.com/view/?dl1mta6j8t82w8u ) (Size: 3 kb)
######################Some KNOWN ERRORS ###############################
>>If you get (Status 0) error flashing, you need an update-binary
specific for your terminal. You must look for and extract the
"/META-INF/com/google/android/update-binary" file inside a zip
compatible with your terminal and replace it in the same path into
the UFT. You also can consider to replace the whole META-INF folder
in the MOD with the other compatible, except the updater-script!!
>>Please, report us errors if you get!!...
N.B ->to add somethings like brinaries/fonts/apps data/etc etc you must need to set permissions and Smyalink them...so,Dont forget it and if dont know how to set permission or create Smyalink then dont try to add them.in some devices all pngs are found in drawable-xhdpi/drawable-xxhdpi/drawable-mdpi...so you must need to know that in which folders your pngs are stored...for this just extract your systemui or framwork_res...then see thats where are all the pngs stored...for example:if you find all pngs in drawable-xhdpi then go to morph folder and renamed all drawable-hdpi folders to drawable-xhdpi... if you find all pngs in drawable-xxhdpi then go to morph folder and renamed all drawable-hdpi folders to drawable-xxhdpi...and if you dont understand anythings that i said then comment here...Thanks !
________________________________
Thanks for reading...
Happy modding and never stop customization....
Guide By:Me (MD.Shafikul)
________________________________
Credits: Main Credits:
>> "JRsoft" & "Intronauta" for this awesome flasher
>> "Villain Team" for the concept
>> "Stericson" for "Metamorph" system
>> "Core Utilities" for the tar binary
>> "Blades" for the 7z binary and libs
>> Builders of "zip" and "zipalign" binaries.
>> Testers, especially to:
"[email protected]", "[email protected]", "[email protected]",
"[email protected]" and "[email protected]".
>> "[email protected]" for helping with the translations.
________________________________
if you like this post then dont forget to click on thanks botton.its will inspaierd me to write more guides....
________________________________
About Me -> About Me:I am MD.Shafikul from Bangladesh and
a simple themer...
Current device:Symphony xplorer w68 god damn
mediatek...
Current rom:Xperia Honami v2
Current Project:Mini Cayno 'X' 2
Follow me in FB: Www.facebook.com/md.shafikul.125
________________________________

[GUIDE][TUTORIAL] Create small flashable zips to restore before applying MODs/Fonts

GUIDE: CREATING SMALL FLASHABLE ZIPs TO RESTORE FILES OR SETTINGS WITHOUT HAVING TO DO FULL NANDROID RESTORE
This will enable you to apply MODs without having to do a FULL NANDROID restore to recover if the MOD fails or if you don't like it
This brief guide will teach you how to create a flashable ZIP file that you can use to restore your phone to pre-MOD settings if you want to revert back or if the MOD simply does not work
WITHOUT having to do a full restore of your phone.​
It is a very good idea to create these backup flashable ZIPs and keep them safe to recover from mishaps or when creating/testing MODs/themes.​
*************************************************************************************************************************************************
As usual: Disclaimer: I am not responsible for any loss of data or functionality on your phone. To be 100% sure, always make a NANDROID backup if you are not 100% certain you can recover.
*************************************************************************************************************************************************​
There are many reasons you might want to do this, for example when testing a MOD for another ROM that is similar to yours but not exactly the same (eg: Optimus G3 vs Cloudy G3) or when upgrading your ROM to a new version and wanting to re-apply old MODs.
There are many ways to get into boot loops or fail to boot, the biggest culprit being fonts installations, but include also bootanimations and others.
INSTRUCTIONS:
Part 1: general
1. Install ZIPme app from playstore
2. Find out which files are being modified by the MOD you are trying to apply, this is usually framework-res.apk, LGSystemUI.apk, lge-res.apk, but be aware that some MODs affect a lot of files. See part 2 for more details on how to do this.
3. If you are applying a font, don't worry, the FONTs section (see part 2) should cover all Fonts.
4. If you are applying a bootanimation, don't worry, the bootanimation section (see part 4) should cover all Bootanimations.
5. For every flashable ZIP you create you can test it straight away by booting into recovery and applying the zip file. There is no reason why it should not work.
Part 2: FONTS
1. In ZIPme select the following:
- ADD FOLDER: /system/fonts
- ADD FILE: /system/etc/system_fonts.xml
2. Create the flashable zip in an /sdcard location you can access from recovery
Part 3: MODs that affect framework-res.apk, LGSystemUI.apk or any other app
1. Find out which apks are being modified:
- You should of course read the OP (instructions for the MOD)
- The easiest way to find out modified apks is to download the MOD and open it: the zip file will contain either the apk files themselves or have directories with the names of the apks being modified.
- You can always ask the developer to make sure
2. Once you have a full list of files being affected you can create the flashable zip:
- in ZIPme, simply select "ADD -> File" for every file being affected
- If you have an ODEX ROM (.odex files are present) make sure you pick those too!
- save the flashable zip in an /sdcard location you can access from recovery
Part 4: Bootanimations
1. In ZIPme select the following:
- ADD FILE: /bin/bootnimation
- ADD FILE: /system/media/bootanimation.zip
- ADD FILE: /system/media/shutdownanimation.zip
2. Create the flashable zip in an /sdcard location you can access from recovery
Part 5: Other flashable files you should always keep handy
1. Always keep with you the following files for good measure: they don't take much space but can help recover from problems without having to fully restore from NANDROID backup
- original kernel from your ROM
- flashable bootloader (if you do not know what I am talking about then DON'T do it)
- flashable baseband (if you do not know what I am talking about then DON'T do it)
- flashable recovery image (TWRP, etc)
- "Xposed-Disabler-Recovery.zip": this is created by Xposed when you install it. It is located in the root folder of your sdcard. Copy it and put it somewhere safe.
- SuperSU: keep a flashable latest SuperSU with you to recover root
Any comments, suggestions, feedback are welcome
reserved
bloof said:
Any comments, suggestions, feedback are welcome
Click to expand...
Click to collapse
good work mate, i'm out of Thanks for today.
Just tried, nice and easy to use. Thank u
does it save paired bluetooth and wifi devices?
deleted
Can you use this to make a zip of boot.img and libs? Not finding how to do that. Thanks for any information.
matusala said:
does it save paired bluetooth and wifi devices?
Click to expand...
Click to collapse
Nope. It saves what you tell it to save.
The guide as it is only saves files, was meant for modding restore, not other stuff.
If you try mods a lot and don't like a certain theme or icon set you don't need to do a full nandroid backup and full restore because you changed 3 files in your mod.
countryfolk07 said:
Can you use this to make a zip of boot.img and libs? Not finding how to do that. Thanks for any information.
Click to expand...
Click to collapse
Not with what I wrote.
The app ZIPme can do a lot more than simple file recovery, but I am not an expert at flashable zips so can't comment on more advanced uses like buildprop etc.
I would certainly not write anything about boot images, way too likely to cause someone to screw up their phone....
Pick a flashable boot/libs zip file from somewhere and try to reproduce at your own risk.

Categories

Resources