Update.zip Updater-script question - Nexus One Q&A, Help & Troubleshooting

When looking at the updater-script that's found in an update.zip located in:
META-INF > com > google > android
What language of scripting is used in there and how would i have it create a directory?

It's using it's own scripting language as far as I know. There are even 2 languages it handles. The first one is the more limited language that it can run as a script. There is also the more fully-featured format that has to be compiled to binary update-script.
At least the simple format will match your folder structure in the zip-file and create any folders needed as far as I know.

medjai said:
When looking at the updater-script that's found in an update.zip located in:
META-INF > com > google > android
What language of scripting is used in there and how would i have it create a directory?
Click to expand...
Click to collapse
There is a thread for this (update-script)
About updater-script, just get a ROM that uses it and look into the file

Related

[Q] building a rom

I have builded my rom I've zipaligned it and deodexed. I've packed rom with cygwin and tried to flash it via CWM but it won't flash. does anybody knows how to pack a rom?
Not sure if i am understanding you correct .
Rezip and sign a rom i use . signing -zip posted here sorry cannot find the link .
jje
Details
his script has 2 main uses:
1. Modify an update.zip
2. Create an update.zip
For #1 - You just extract the contents of an update.zip into the placehere folder, modify its contents, and run the script stating to create an update.zip
For #2 - So far these are the options i have in there for create the update-script
1. Copy directories
2. Copy files
3. Create Symlinks
4. Delete file
5. Delete directory
6. Flash boot image
7. Set permissions for file
8. Set permissions for directory
New Features in 2.0 :
- Set java heap size / compression level for zip
- New drag/drop mode.
>>> - If you drag a folder onto the script's icon (as in Script.bat) it will compress the contents of the folder into a zip and sign it.
>>> - If u drag a zip onto the script's icon (as in Script.bat) it will sign the zip for you.
So this script guides u as u select each option, and adds the appropriate command to the update-script file. Then u exit that sub-menu and create update.zip
I've fixed it already anyway thanks for help
Sent from my GT-I9000 using XDA Premium App

[Q] Customized ROM

Is there a guide how to put your own apps in system\app??
i tried searching closes to this is a kitchen but i'm having some problems understanding it...
if there is a guide please do paste some links i want to learn how to edit and personalize the best roms that the devs here has created
thanks in advance
sorry this is not an answer but i know what you mean.. i tried just putting the apk in the app folder than zipping and signing the rom but the app never installs on boot... so please someone answer this question.. lol
Its pretty simple, all you have to do is
Unzip ROM, remove APK(s) from /system/app, add APK(s) to /system/app (or /data/app if you want them to be removable), rezip ROM, flash it.
but heres a more indepth explanation:http://www.askabouthugo.com/mobile-technology/how-to-remove-unused-android-apps-from-custom-rom/
heres another good link:
http://forum.xda-developers.com/showthread.php?t=639726
I strongly recommended installing dsxidia's rom kitchen, probably the best kitchen for customizing roms.http://forum.xda-developers.com/showthread.php?t=633246
Thanks for your answer... ill check it out,
i tried installing the ROM Kitchen but i cant get it running...
i wonder why...
im using windows 7 64bit...
when i run the icon on my desktop the cmd quickly appears and disappears
i tried to edit the batch file... added pause just so i could see the error message
'bash' is not a recognized as an internal or external command, operable program or batch file.
i check the location of what this batch file was trying to call
nothings under the bin on the installation path
any suggestions? ^_^
marchking said:
i tried installing the ROM Kitchen but i cant get it running...
i wonder why...
im using windows 7 64bit...
when i run the icon on my desktop the cmd quickly appears and disappears
i tried to edit the batch file... added pause just so i could see the error message
'bash' is not a recognized as an internal or external command, operable program or batch file.
i check the location of what this batch file was trying to call
nothings under the bin on the installation path
any suggestions? ^_^
Click to expand...
Click to collapse
some apps can be put in data/app folder instead of system/app
ldrifta said:
some apps can be put in data/app folder instead of system/app
Click to expand...
Click to collapse
some apps can be put in data/app folder instead of system/app
well my real issue is i want to fix some bugs with froyo by laszlo... which seems that the applications installed in sd - ext or external disappears when usb mass storage is used... im not completely sure that the usb mass storage is the one that triggers the bug... but what im thinking of is putting the apps that i want in system/app... coz when the bug happens it seems like it on safe mode only system apps are running then the app that are in data/app disappears
marchking said:
i tried installing the ROM Kitchen but i cant get it running...
i wonder why...
im using windows 7 64bit...
when i run the icon on my desktop the cmd quickly appears and disappears
i tried to edit the batch file... added pause just so i could see the error message
'bash' is not a recognized as an internal or external command, operable program or batch file.
i check the location of what this batch file was trying to call
nothings under the bin on the installation path
any suggestions? ^_^
Click to expand...
Click to collapse
Did you install exactly as instructed? Did you install jdk before you installed cygwin as instructed? Did you follow the kitchen.readme in the cygwin file when setting up cygwin? I say reinstall it but make sure you do every step correctly.
Sent from my COS-DS using XDA App
maximo360 said:
Did you install exactly as instructed? Did you install jdk before you installed cygwin as instructed? Did you follow the kitchen.readme in the cygwin file when setting up cygwin? I say reinstall it but make sure you do every step correctly.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
i did follow the instructions carefully...
im not sure why nothing gets installed on the cygwin folder...
if i check the files inside the folder nothings there...
ill try to install it again tomorrow once i get home from work...
marchking said:
i did follow the instructions carefully...
im not sure why nothing gets installed on the cygwin folder...
if i check the files inside the folder nothings there...
ill try to install it again tomorrow once i get home from work...
Click to expand...
Click to collapse
theres 2 kitchen.readme's one in the kitchen , and one in the cgywin.zip you downloaded, when installing cygwin, follow the directions in the kitch.readme in the cygwin.zip
this is what mine says:
1) Unzip the contents of this archive
2) Run Setup.exe
3) Select "Install from Local Directory"
4) The root directory can be C:\Cygwin if you want, but ensure there are NO SPACES in the folder name
5) Local Package Directory *must* be the path to the cygwin_packages folder that you just extracted
6) When it shows all the package names, go to the top and select "All <-> Default" until it changes to "All <-> Install" (you must click on the arrows)
7) Click on Next and it will install everything you need for the Android Kitchen
This Cygwin installation includes the following packages, required for the kitchen to work:
* Devel / gcc
* Interpreters / perl
* Utils / cpio
* Utils / util-linux
* Utils / ncurses
* Archive / zip
* Archive / unzip
* Web / wget
Also, dont forget to rename the dsxidia folder to "kitchen", makes things easier.
maximo360 said:
theres 2 kitchen.readme's one in the kitchen , and one in the cgywin.zip you downloaded, when installing cygwin, follow the directions in the kitch.readme in the cygwin.zip
this is what mine says:
1) Unzip the contents of this archive
2) Run Setup.exe
3) Select "Install from Local Directory"
4) The root directory can be C:\Cygwin if you want, but ensure there are NO SPACES in the folder name
5) Local Package Directory *must* be the path to the cygwin_packages folder that you just extracted
6) When it shows all the package names, go to the top and select "All <-> Default" until it changes to "All <-> Install" (you must click on the arrows)
7) Click on Next and it will install everything you need for the Android Kitchen
This Cygwin installation includes the following packages, required for the kitchen to work:
* Devel / gcc
* Interpreters / perl
* Utils / cpio
* Utils / util-linux
* Utils / ncurses
* Archive / zip
* Archive / unzip
* Web / wget
Also, dont forget to rename the dsxidia folder to "kitchen", makes things easier.
Click to expand...
Click to collapse
yeah ive followed carefully the instructions...
but im getting bothered with this part
6) When it shows all the package names, go to the top and select "All <-> Default" until it changes to "All <-> Install" (you must click on the arrows)
when i click on it it changes to install then click again uninstall then default then something else... i made sure that install is selected...
still nothing gets installed in the cygwin folder... there are folders there but under bin and other folders not much is there...
btw i was wondering where i should put the dsxidia kitchen folder?
maximo360 said:
theres 2 kitchen.readme's one in the kitchen , and one in the cgywin.zip you downloaded, when installing cygwin, follow the directions in the kitch.readme in the cygwin.zip
this is what mine says:
1) Unzip the contents of this archive
2) Run Setup.exe
3) Select "Install from Local Directory"
4) The root directory can be C:\Cygwin if you want, but ensure there are NO SPACES in the folder name
5) Local Package Directory *must* be the path to the cygwin_packages folder that you just extracted
6) When it shows all the package names, go to the top and select "All <-> Default" until it changes to "All <-> Install" (you must click on the arrows)
7) Click on Next and it will install everything you need for the Android Kitchen
This Cygwin installation includes the following packages, required for the kitchen to work:
* Devel / gcc
* Interpreters / perl
* Utils / cpio
* Utils / util-linux
* Utils / ncurses
* Archive / zip
* Archive / unzip
* Web / wget
Also, dont forget to rename the dsxidia folder to "kitchen", makes things easier.
Click to expand...
Click to collapse
got it fixed! yeah!
the problem was...
when i extracted the files...
5) Local Package Directory *must* be the path to the cygwin_packages folder that you just extracted
ok its there...
but the when i open the cygwin_packages folder there is another folder containing all the things it needs...
i cut those things and moved it to cygwin_packages folder
before it was like cygwin_packages/$#@%^dsakjdgaskd%[email protected]#%^ folder
Time to cook! ^_^
marchking said:
Time to cook! ^_^
Click to expand...
Click to collapse
glad to hear it worked

[Q] language files

I'm using a custom rom,and now that stock rom for my region is published,I want to extract language files (system and dictionaries+keyboards and fonts) from stock rom and inject them to the custom rom that I'm using,so any help is appreciated to find which files do I need to extract from stock rom.
Theoretically, however, reminds you that the app I am not alone but also the framework apk etc. .. must pay attention.. Help to get into a rom, and can for example extract the launcher or gps.conf or apk predefinit of the Rom and then copy them to root through esplorer in our folder system / app . -1.extract the file from system.rfs -2 and install magic iso and go to open the rfs .. app folder you will find the system app .. conf files in the etc etc for gps. APKTool is able to reverse engineer the binaries of Android applications. With it you can de-compile and get an apk files that make up the apk.
Beware though that being a compiled language java bytecode, executable in the case of the Android Dalvik machine, do not get the files. Class with the java code readable plaintext file but. Smali containing assembly code of the virtual machine (assembler / disassmbler smali) . Will be easier to understand and modify resource files in the directory / res, usually they are xml files and png images that you can modify and then recompile the apk...download Apk tool here: http://www.androidlab.it/wp-content/plugins/download-monitor/download.php?id=13 .. 1. Unpack the zip file you just downloaded and APKTool.zip command prompt / shell posizioniamoci within the directory APKtool 2. execute the following command:
apktool framework-if res.apk
we get the result back edge
I: Framework installed to: C: \ Users \ username \ apktool \ framework \ 1.apk. 3. Now we copy the apk in the same folder that we want to de-compile and impart the following command
apk apktool d-name-it-de-compilare.apk
upon completion of the directory APKtool find a folder with the same name of the app that we have de-populated.
We can now go take a look at the file and change where we see fit. 4. To translate the application should modify the files in / res / values-en, if the folder is not present we should create and copy into a folder other values-xx files arrays.xml strings.xml and then edit translating the texts into Italian. 5. after making the changes we should rebuild our apk with the following
apktool b-name-from-complete apk
in the directory with the same name of the app that we previously de-compiled find two new folders
dist / build / ..--- 6. in the / dist find our apk, remember that the resulting file has no signature, to sign our package we can use this. sign or unsign” i file Apk download here: http://goo.gl/9aWVM
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Re ad this guide: http://forum.xda-developers.com/showthread.php?t=1511730
---------- Post added at 07:30 PM ---------- Previous post was at 07:02 PM ----------
Try this method- Make a backup of the applications that you want to move , the phone will put the apk 'in the path sd>backups>apps, from here you take them and bring them in another rom...
amir_s_m said:
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Click to expand...
Click to collapse
my question exists!!

[MOD] Internal <> External storage "swap" for 4.2.2. Simply, easy, safe.

[MOD] Internal <> External storage "swap" for 4.2.2. Simply, easy, safe.
UPDATE 26.06.2013
OK, we are alive again!
Some users have reported about boot loop. Use it at your own risk (be ready to use backup or ExternalStorageRestore).
ExternalStorageFullSwap_v1 for 10.3.A.0.423 DEODEX
ExternalStorageRestore_v1 for 10.3.A.0.423 DEODEX
Install it from Recovery.
Best swap solution. No root, no init.d, no remounts, exFAT support, easy to restore, full emulated storage support (4.2.2).
System will work as usual, sdcard0 will still be internal storage, sdcard1 will still be real SD-card. But all (most) apps (and games) will use sdcard1 as global storage path (getExternalStorageDirectory).
It is for any DEODEXED ROM based on 10.3.A.0.423 (4.2.2).
Patch will replace only one file - framework.jar and will not swap sdcard0 and sdcard1 (in reality). sdcard0 will still be internal storage, sdcard1 will still be real SD-card. If anything will go wrong just restore original framework.jar.
Kyrie1965 said:
It is for any DEODEXED ROM based on 10.1.A.1.434.
Patches will replaces only one file - framework.jar and will not swap sdcard0 and sdcard1 (in reality). sdcard0 will still be internal storage, sdcard1 will still be real SD-card.
There are two versions:
ExternalStoragePartialSwap (recommended). Install it from Recovery. This patch is doing one simple and outstanding thing - change EXTERNAL_STORAGE_ANDROID_DATA_DIRECTORY, EXTERNAL_STORAGE_ANDROID_MEDIA_DIRECTORY, EXTERNAL_STORAGE_ANDROID_OBB_DIRECTORY to external storage (sdcard1).
Most of games and apps stores their data and cache at /sdcard0/Android/data, /sdcard0/Android/obb, /sdcard0/Android/media. sdcard0 - is internal storage. After patching games and apps will use /sdcard1/Android/data, /sdcard1/Android/obb, /sdcard1/Android/media. After patch applying you need to move Android folder from sdcard0 to sdcard1 (by any file manager). Most of all other apps will use internal storage as usual.
ExternalStorageFullSwap (not recommended). Install it from Recovery. This patch is doing one simple and outstanding thing - change EXTERNAL_STORAGE_DIRECTORY to external storage (sdcard1).
Most of all apps will use sdcard1 as internal storage. By default when apps asks for a storage dir (getExternalStorageDirectory), system returns "/storage/sdcard0". After patch it will be "/storage/sdcard1" by default.
If anything will go wrong just restore original framework.jar (DEODEX, 10.1.A.1.434) ExternalStorageRestore. Install it from Recovery.
Click to expand...
Click to collapse
Hey Thank u for mod... Reserved..
Kyrie1965 said:
It is for any DEODEXED ROM based on 10.1.A.1.434.
Patches will replaces only one file - framework.jar and will not swap sdcard0 and sdcard1 (in reality). sdcard0 will still be internal storage, sdcard1 will still be real SD-card.
There are two versions:
ExternalStoragePartialSwap. Install it from Recovery. This patch is doing one simple and outstanding thing - change EXTERNAL_STORAGE_ANDROID_DATA_DIRECTORY, EXTERNAL_STORAGE_ANDROID_MEDIA_DIRECTORY, EXTERNAL_STORAGE_ANDROID_OBB_DIRECTORY to external storage (sdcard1).
Most of games and apps stores their data and cache at /sdcard0/Android/data, /sdcard0/Android/obb, /sdcard0/Android/media. sdcard0 - is internal storage. After patching games and apps will use /sdcard1/Android/data, /sdcard1/Android/obb, /sdcard1/Android/media. After patch applying you need to move Android folder from sdcard0 to sdcard1 (by any file manager). Most of all other apps will use internal storage as usual.
ExternalStorageFullSwap. Install it from Recovery. This patch is doing one simple and outstanding thing - change EXTERNAL_STORAGE_DIRECTORY to external storage (sdcard1).
Most of all apps will use sdcard1 as internal storage. By default when apps asks for a storage dir (getExternalStorageDirectory), system returns "/storage/sdcard0". After patch it will be "/storage/sdcard1" by default.
NO need root, init.d, etc. exFAT support (if you have exFAT mod). Absolutly safe (system will work as usual).
If anything will go wrong just restore original framework.jar (DEODEX, 10.1.A.1.434) ExternalStorageRestore. Install it from Recovery.
Click to expand...
Click to collapse
Awesome! Could you please tell me which files and lines you edited, so I can edit it myself for any ROM I use? (In case this mod breaks some tweaks and mods implemented in the jar file of the ROM)
Ape187 said:
Could you please tell me which files and lines you edited...
Click to expand...
Click to collapse
framework.jar > android > os > Environment.smali (constructor <clinit> method)
Just use any comparing tool and compare original and patched files.
Kyrie1965 said:
framework.jar > android > os > Environment.smali (constructor <clinit> method)
Just use any comparing tool and compare original and patched files.
Click to expand...
Click to collapse
Okay, thanks. I use notepad++ for editing.
Is it possible to have another version for stock rom?
Explain More
Kyrie1965 said:
framework.jar > android > os > Environment.smali (constructor <clinit> method)
Just use any comparing tool and compare original and patched files.
Click to expand...
Click to collapse
Could you please Elaborate More- I didn't understand Because ExternalStoragePartialSwap_434.zip file contains Only one file framework,jar file.
After extracting the This jar file , I have found 3 files inside-- classes.dex, MANIFEST.MF, and preloaded-classes.
I didn't Understand for "framework.jar > android > os > Environment.smali (constructor <clinit> method)", Where Can I find this and How !
Plz explain.
Thanks-- Anil
anielkumar said:
Could you please Elaborate More- I didn't understand Because ExternalStoragePartialSwap_434.zip file contains Only one file framework,jar file.
After extracting the This jar file , I have found 3 files inside-- classes.dex, MANIFEST.MF, and preloaded-classes.
I didn't Understand for "framework.jar > android > os > Environment.smali (constructor <clinit> method)", Where Can I find this and How !
Plz explain.
Thanks-- Anil
Click to expand...
Click to collapse
My message about Environment.smali was not for ordinary users. Only for users who know what is decompile, java, dalvik, etc.
After Flash Getting FC for user Installed App and Game not Starting
Hi,
I have flashed the ExternalStoragePartialSwap_434.zip thru TWRP in my C6602/sony Z.
I have doomloard v6 kernel and Glass Xperia V2. But after flashed i was getting FC for Linked Application using Link2SD.
Even if I unlinked the App , Still I am unable to Run. Game is also not launching.
So I have Re flashed ur ExternalStorageRestore file to Back original state.
I think this Patch need more testing.
I am also Semi Developer and tester. I have worked on Visual Studio.
Little bit I know Java.
It will help for me if you guide about What Compiler / decompiler use for Patching for framework.jar.
I have work on Eclipse.
Thanks--
anielkumar said:
Hi,
I have flashed the ExternalStoragePartialSwap_434.zip thru TWRP in my C6602/sony Z.
I have doomloard v6 kernel and Glass Xperia V2. But after flashed i was getting FC for Linked Application using Link2SD.
Even if I unlinked the App , Still I am unable to Run. Game is also not launching.
So I have Re flashed ur ExternalStorageRestore file to Back original state.
I think this Patch need more testing.
I am also Semi Developer and tester. I have worked on Visual Studio.
Little bit I know Java.
It will help for me if you guide about What Compiler / decompiler use for Patching for framework.jar.
I have work on Eclipse.
Thanks--
Click to expand...
Click to collapse
I use gui apk tool for decompiling/compiling (available here) and for editing the .smali files I use notepad++.
BTW, I use Windows 7 64bit for it.
GL2SD (temp Solution)
Ape187 said:
I use gui apk tool for decompiling/compiling (available here) and for editing the .smali files I use notepad++.
BTW, I use Windows 7 64bit for it.
Click to expand...
Click to collapse
Hi
Thanks. I am on it.
Mean while I am using GL2SD program for "data and obb" files for running the Games or Apps from SD1 card (ExternelSD).
External_storage_dumb ?
Kyrie1965 said:
framework.jar > android > os > Environment.smali (constructor <clinit> method)
Just use any comparing tool and compare original and patched files.
Click to expand...
Click to collapse
Hi,
I have decompile the framework.jar files (Both modified one and Original one).
Modifed (Your framework.jar) contains Following Line:
const-string v2, "EXTERNAL_STORAGE_DUMB"
const-string v3, "/storage/sdcard1"
Original ( from deodexed rom) contains Following Line:
const-string v2, "EXTERNAL_STORAGE"
const-string v3, "/storage/sdcard0"
So, Why have u modified ---
EXTERNAL_STORAGE To EXTERNAL_STORAGE_DUMB ???????????????
for Sdcard0 to Sdcard1 is OK.
Plz Check ?
Currently I am on progress......
anielkumar said:
So, Why have u modified ---
EXTERNAL_STORAGE To EXTERNAL_STORAGE_DUMB ???????????????
Click to expand...
Click to collapse
EXTERNAL_STORAGE is environment variable. If it exists system will use it value (path) and not your. It is not good and you must prevent it. EXTERNAL_STORAGE_DUMB is not exist at any case.
Please do not post such questions here. This topic is not for that.
Can we use this mod with rooted stock .434 version? Is anyone tried?
Sent from my C6603 using xda app-developers app
HoboTR said:
Can we use this mod with rooted stock .434 version? Is anyone tried?
Click to expand...
Click to collapse
No, you cann't. You need deodexed ROM.
Yep tried it on a stock rom and as he mentioned, it's not working in a stock rooted rom.
If he can manage to pull this off for stock roms it'd be really great, nice work though man. keep it up.
Can you share the smali script about swapping internal storage from framework.jar ?
danisariandi said:
Can you share the smali script about swapping internal storage from framework.jar ?
Click to expand...
Click to collapse
Here you go. The file is attached. Just unzip it. This is the full swap one.
Ape187 said:
Here you go. The file is attached. Just unzip it. This is the full swap one.
Click to expand...
Click to collapse
Could you give me a tutorial ?
Sent by brand new mindmap
danisariandi said:
Could you give me a tutorial ?
Sent by brand new mindmap
Click to expand...
Click to collapse
Of course.
First things first, you must have Java installed on your Windows computer and set the path variables. To do this go to Control Panel>System and Security>System>Advanced, till it looks someting like this. I have downloaded the 32bit version of java. It might look different to you. Just copy the path of your java bin folder and add it to the path field. Be sure to add a semicolon after the last entry before you add it.
After that install the program from here. It requires .NET Framework, but the necessary files you will find there.
Next thing, open the GUI apktool, select your framework.jar file you extracted from the .434 firmware and decopile shown here. Be sure to keep the original, you will need it later. I unticked the "Sign recently compiled apk?" box for safety. Check always the log after decompiling/compiling before doing anything!
After that, go to the decompiled path located in your personal folder. You can simply go there by clicking "Open decompiled output directory". Don't close the program. Go to framework.jar>smali>android>os and replace the Environment.smali I posted.
Then go to the program again and compile it. Name the compiled file "framework.jar" (without the quotes) for simplicity's sake. After it successfully compiled, go to the path by clicking on "Open compiled output directory" and open it with 7zip (very useful tool). Open your original framework.jar as well. Drag and drop the classes.dex file from your recently compiled file to your original and overwrite it. Don't flash the freshly compiled file, or the ROM will not boot.
All you need to do now, is to put it into a flashable zip and flash it via recovery. For safety, make a flashable zip with your untouched framework.jar in case something went wrong.
I hope, I covered everything. If I made some errors, then anyone can correct me.

[Q] how to use zipthemer in SGT p3100 with stock 4.2.2..

Want to use zipthemer to create own themea but can someone help me to show exact procedure.. I am having a rooted device in stock 4.2.2 want your help guys.. if any other process is there kindly link me to it.. will be waiting for ur rply...
First, download some MetaMorph or ZipThemer theme files to your sdcard. Leave them in ZIP format.* The location on the sdcard is not important. Leave them in downloads, move them to /sdcard/ZipThemer or /sdcard/AndroidThemes... it doesn't matter.If you have ClockworkMod 3.0 (or higher) installed as your recovery program or require Edify scripting for any other reason, then visit "Menu -> Update Edify" and follow the instructions shown.* The device type name field on this screen is for display purposes only (enter anything you want).* See below for more details on Edify support.
Click the "+Theme" button to launch a file browser and select a theme zip file.* Repeat to add as many other themes as you want to install via the generated update zip file.Click the theme names in the theme list to expand and reveal the sub-theme components.* Components may be excluded from the build by unchecking the corresponding checkbox.Long-press on themes in the list to get a context menu which allows you to remove themes, order them, and launch the theme details view. Note that the context menu is not operational for the theme sub-components.Click the "+Output" button to select the output file via the file browser.* The parent directory of the selected output file becomes the new default output directory.* See below for more details.
Click the "*Output" button to edit the output file name.Click "Built It!" to create the flashable update zip file.**
Review the completion log and follow any instructions displayed there.
Reboot into recoveryIf you chose not to create a flahsable undo file, do a Nand backup instead so you can revert in case you change your mind later about having installed the theme.Flash the zip file to apply the themes.Reboot and enjoy the results!
Undo Files
You can choose to create a flashable undo file that can be used later to revert the theme changes.* The creation of the undo file is relatively quick and does not add significant time to the build process.* Using an undo file is generally faster and easier than Nand backups.* However, in order for the undo file to work it must be created at the time the theme update is created. It can't be created after the theme has been applied in recovery.* Also, undo files must be applied in exact reverse order of creation in order to reliably back out changes from several independently flashed theming operations.
The choice to make an undo file is controlled by a preference setting with a default value of "Ask".* In this mode, a dialog is displayed asking for your decision to create the undo file at the beginning of each build.** You may also choose to "Always" or "Never" create undo files.
Undo files are written to the same directory as the update zip file.* They will have a similar name except with a "-undo.zip" suffix.
Edify Scripting
There are two formats for the script file inside an Android update.zip file.* The old format is called "Amend", and the new format is called "Edify".** As of this writing most recovery programs support both formats, but Amend has been deprecated in favor of Edify.* ClockworkMod 3.0 no longer supports the Amend format and users with this recovery must configure ZipThemer to use Edify scripting.
Begin by selecting the Menu -> Update Edify option.* Pick one of the two options.* Option 1 is likely to work for most users and simply requires that you have a flashable ROM or update on your sdcard that contains an Edify script.* The device type name field on this screen is used for display purposes only.* Enter whatever you want for this value.* Browse and select the ROM or update file.* Click "Configure..." and you're done.* This is normally a one-time operation that you don't have to repeat, assuming it succeeds without errors (see the*FAQ*for exceptions).
You can control which format ZipThemer generates by changing the "Update Script Format" setting.* Amend is the default and should work for many users .* If you require Edify (ClockworkMod 3.0 users) or just want to try it, first check to see if your phone is listed in the Update Script Format setting list.* If its not listed, update the database via the app's "Update Edify" menu item. * If your phone still doesn't appear, try one of the "Generic" phone options or generate a configuration using "Option 1" on the Update Edify screen.* Finally, if you still can't get themes to install then ask for support by visiting the support forum or sending me (the dev) an email.
Edify Phone Database
File-system partitions must be explicitly mounted when using Edify and the mount commands can vary from phone to phone.* ZipThemer can extract the required information from a flashable ROM or update file, and there is a database of mount commands provided by nubecoder as an artifact of his*amend2edify tool project.* ZipThemer can use this database when generating Edify scripts and ships with a built-in version, but if you use Option 2 in the "Update Edify" menu screen the latest version of the file will be downloaded to/sdcard/ZipThemer/edify/phoneDatabase.xml.* This file takes precedence over the built-in one.
update-binary
ZipThemer also contains a built-in version of the update-binary file which is used when running edify scripts after configuring with Option 2.* The file gets copied into the update.zip automatically during generation when Edify scripting is enabled.* The default version was also obtained from the amend2edify project.* At the time of this writing the built-in update-binary file is known to work on most phones, but you can provide your own version by copying one into the*/sdcard/ZipThemer/edify*directory (it must be named "update-binary").* However, not all update-binaries are created equal so you're on your own when doing this.
Default Output Directory
Changing the output file via the "+Output" button implicitly changes the default output directory to the containing folder of the selected file.* The default output directory value is persisted across application restarts and can be changed again by selecting a file in another directory via "+Output".* If the directory is ever found to not exist, then the default directory will revert back to /sdcard.*
This feature of persisting and re-using the default output directory is meant to aid users whose method of installing updates requires the output zip files to be located somewhere other than in /sdcard.*
Sent from my GT-P3100 using XDA Premium 4 mobile app
thnks man..!!
Bro can u suggest few themes or link them below.. would be highly appreciated...!
You must be in a Cyanogenmod or AOKP rom for using themes. Then just search in market for*CM10 themes :thumbup:
Sent from my GT-P3100 using XDA Premium 4 mobile app
This section is not for questions! U people are making section dirty!! Stop please, use Q&A for question.....

Categories

Resources