Related
I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
Ultimate Extractor
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have 4 choices:
-> 6a: If you want everything (.pngs, .jpgs, .xmls) run UltimateExtractor.bat
-> 6b: If you want only icons (icon.png or ic_launcher*.png) run IconExtractor.bat
-> 6c: If you want almost every single .png run PngExtractor.bat
-> 6d: If you want to run Ultimate Extractor on .apks and not a whole zip file, run UltimateExtractorApk.bat *NEW*
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
xidominicanoix said:
I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
ICon EXtractor v1.0
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have to choices:
-> 6a: If you want every single icon, run IconExtractor.bat
-> 6a -> 1: You will be prompted twice
-> 6a -> 2: Hit 'u' and enter at both prompts
-> 6b: If you dont want to be prompted, run IconExtractor_NoPrompt.bat
7. All the icons will now be in folder C:\icex\icons
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
I will try to find a way to get all the icons without being prompted (its a 7z thing)
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
Click to expand...
Click to collapse
wow man... you never cease to amaze me... keep up the badass work!
Ted417 said:
wow man... you never cease to amaze me... keep up the badass work!
Click to expand...
Click to collapse
hehe thanks man .. if only i could get it to be perfect
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
NguyenHuu said:
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
Click to expand...
Click to collapse
well thats what ultra spikey's theme porter is for
xidominicanoix said:
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
Click to expand...
Click to collapse
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
RichieDaze said:
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
Click to expand...
Click to collapse
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
xidominicanoix said:
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
Click to expand...
Click to collapse
This would make mylife ten times easier to port themes. I have to search through the whole rom to get the png's I need. It takes around 4 hours to do. Plus some of the older roms png's have different names for them. Mostly on the Framework. Does it extract the png's from the Framework as well?
Yea it should be doing so but ill double check to make sure
EDIT: no i wasnt doing it before but i implemented it now
ok new update
have everything in separate folders now
enjoy
ALSO, for anyone who's curious .. that 'huge bug' is due to some themes having an 'app' folder while others have 'system/app' ... my script wasnt working with the 'app' folder before ... now it tests for it
EDIT: had to re up it real quick with a small fix
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
fairymaru said:
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
Click to expand...
Click to collapse
this isnt changing the icons in your phone .. this extracts the icons from any theme and puts them in a folder on your computer .... its mainly a help to theme devs or anyone looking just for icons
Ohhh ok good thanks for the reply
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
yea the overwriting pisses me off but its the only way to get it fully automated .. i will add a second version that will prompt to rename any pngs ... or i can try to get the drawable, drawable-land, and drawable-port right ... can you let me know which folders are missing so i can see why?
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
now they get extracted into their respective folders (drawable, drawable-land, drawable-port, etc) (also this stops the overwriting )
temporizer said:
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
Click to expand...
Click to collapse
no problem man .. just trying to use what ive learned so far to help out the community
Works perfect now!!!
Ten Thumbs up!!!!!!
Now its like stealing candy from the baby...
Any ideas that i should implement .. it feels sorta 'final' but i can always try and optimize/revise/add to it
There's always room for improvement... How about making this script pull the Jpeg"s off the Framework and Launcher??? Then at a later date(Next update) locate the most common edited Xml's files to be pulled off next...
Adding Ext Power as well as % Battery Mod is very easy thanks to Jim Panses super Arbeit
Many thanks also to Dena and whiskeybro for their Theme as well as vukandric for the Gingerbread theme.
This is how I did it on Darky's Rom, but it should theoretically work for any Rom based on JPU.
Possibly the Rom needs to be deodexed what most custom roms are anyway.
You will possibly lose animations but there is an easy way to get them back!
Read end of post for this!
Ok let's get started with the simple (but limited) method.
Step 1:
Download the theme from Dena, the Gingerbread Theme as well as the framework-res.apk attached to this post. Put them on your SD card.
Step 2:
Install Dena's Theme with extended Power Menu
Step 3:
Install Gingerbread Theme
Step 4:
With Root Explorer copy the framework-res.apk file out of this thread to /system/framework
Your system will most likely crash after that and reboot with the new framework-res.apk active. Then change the permissions to 644 meaning all boxes in the first column selected as well as the topmost row of the second column selected. All else unselected.
Done!
This should work for any rom, but I can't confirm it yet.
For anyone interested in making their own themes compatible with ext pwr + % battery here is the more complicated way to do this and the way I actually did it:
Step 1:
You will need Dena's Theme again as a base as well as a another theme that already has the % battery but lacks the power menu. (It work too if you don't have % battery yet, but then only for the ext Power Menu)
Step 2:
Extract the framework-res.apk of each theme.
Step 3:
copy everything from framework-res.apk\res\drawable-hdpi of the theme you want to use into the same (sometimes also called "...\drawable-hdpi-v4") folder within the framework-res.apk of Dena's Theme.
Do not extract the framework-res-apk files. Use 7-zip to open them and do the copying!
Step 4:
Do the steps from the "simple" guide but instead of gingerbread theme you use your theme of choice and the framework-res.apk you use is the one you created.
Animations:
Many Themes use custom animations now.
The most common is the fly-in animation.
These animations might be lost with this method.
To get them back simply download the "Animations.zip" from this thread. Extract and move to /sdcard/AndroidThemes and then install with Metamorph (app can be found on market)
Here is another way provided by kenkiller
kenkiller said:
extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
Click to expand...
Click to collapse
Haven't tried yet, but I see no reason why it should not work
reserved for me
you might wanna change super arbeit to great work
Jonas.M said:
you might wanna change super arbeit to great work
Click to expand...
Click to collapse
That was intentional
Very useful, someone should try this on Darkyy's 5.2
I AM on Darky 5.2!
Were you able to retain all of Darkyy's animations after doing this?
Mycorrhiza said:
.....
... but it should theoretically work for any Rom based on JPU.
.....
Click to expand...
Click to collapse
No it doesn't. Not all rom can use it. Each rom framework-res.apk is different.
Sent from my GT-I9000 using Tapatalk
g00ndu said:
No it doesn't. Not all rom can use it. Each rom framework-res.apk is different.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
differently themed maybe, but it should still work as they are all based on the same framework-res.apk (that of JPU)
Animations are gone, but I have a good idea how to fix this
Animations are what puts Darkyy's ROM apart. Apart from his very good themed colors & graphics.
Thank you for the credits!
ragin said:
Animations are what puts Darkyy's ROM apart. Apart from his very good themed colors & graphics.
Click to expand...
Click to collapse
The fly in animations are exactly the ones used in darkyy's rom,or at least similar enough that I didn't notice a difference yet.
Sent from my GT-I9000 using XDA App
If you used my files as the base for this, its only a little part of the fly in animation, because i dont liked the whole package!
What Dena theme do you mean? That link is to the captivate forums?
jim_panse said:
If you used my files as the base for this, its only a little part of the fly in animation, because i dont liked the whole package!
Click to expand...
Click to collapse
After installing the Gingerbread Theme all transitions are lost. I used the ones from here: http://forum.xda-developers.com/showthread.php?t=774738
If you want to add your own animation set I would gladly upload it here, too
HaTeNL said:
What Dena theme do you mean? That link is to the captivate forums?
Click to expand...
Click to collapse
My mistake, fixed it!
Thx for the info
Giving it a 5-star. Helpful.
it's pretty easy to regain the animations if u prefer the original.
Just extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
This actually does work on most custom roms, as long as they are deodexed.. Great work though..
Is it also possible to only add ext menu and keep glass window lock screen? I like the instant sms reader
kenkiller said:
it's pretty easy to regain the animations if u prefer the original.
Just extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
Click to expand...
Click to collapse
I added this to the front page, hope you don't mind.
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!
Although it does seem rom cooking is difficult, in fact, it's easy to create a simple rom, with everything you want in it. There are still a few things missing which i'll add in the next few days
Here it goes....
Lets start with a bit of theory:
Needed programs:
Cygwin
7zip
Baksmali/smali
Apk manager
Text editor (notepad ++ for example)
SGS kitchen (https://github.com/rmgeren/Android-Kitchen/tree/galaxy_s)
Autosmali: http://forum.xda-developers.com/showthread.php?t=970728
First of all, download the cwm stock deodexed rom from here http://forum.xda-developers.com/showthread.php?t=948790
This will save a lot of time since you wont need to deodex, nor to extract /system from factoryfs.rfs
There are three folders inside:
META-INF - here is where the updater-script and updater-binary are located. This files are very important, because they are in charge of making the phone copy files from the zip, symlinking etc...
updates - here is were the kernel (zimage) and modem (modem.bin) are located
system - here are all libs, apks and things that will be copied to /system
Explanation of some directories in /system
System/app:
Here are all system apps
System/framework:
By modding files here, you'll be able to theme.
System/lib:
Here are libs needed for many things to work.
System/Build.prop:
Mod this line to change the name of the rom shown in about ro.build.display.id=
System/media -
Ringtones, bootanimations and othet things are stored here
System/etc:
Here are some files you might want to mod, like hosts ( for adfree), files for gps, and you can create an init.d folder for scripts that you want to get executed at startup (if kernel supports it)
Those are all the main directories you'll need to mod
Setting up the kitchen
Download cygwin and install it. Then download rmgeren's sgs kitchen. Create a folder called kitchen wherever you want and copy all files of rmgeren's github into it.
Create a folder inside kitchen called WORKING_111111_111111
Extract the zip of the stock deodexed rom to kitchen/WORKING_111111_111111/
In case you are having any problems with it, please do take a look at this post : http://forum.xda-developers.com/showpost.php?p=5626300&postcount=3
Cleaning up system/app
I usually delete this apks:
Aldiko
Layar
Infoalarm
Dualclock
Protips
Samsung widgets
Minidiary
Writeandgo
Phonesetupwizard
Days
Pressreader
APK Modding:
For theming use method 1, for modding xml use method 2
Method 1 - right click on the apk and select 7zip and extract in /* (* is the name of the apk)
Open the folder, then res, then drawable-hdpi, and then mod the pngs you want.
Once yoy're finished, open the apk with 7zip and replace res/drawable-hdpi with the new one
Method 2-
Place the apk inThe apk modding folder (apk manager)
Open script, choose a project to work on (22 in windows), then decompile (for some apks you'll need dependencies).
Go to projects and the folder of your apk, then mod any xml you need to mod
Recompile it, it will ask if it is a system/app. Just answer Y or N.
You'll be asked another thing, type Y, press enter
Then it'll say something about a keep folder, go to the keep folder and look for the xmls you modded and delete them. In case you cant find one, delete the ones you can find and delete resources.arsc
Now press enter
You'll have an unsigned*.apk just rename it to the old ones name.
Theming
Same process that you use for apks, but this time you mod twframework-res.apk and framework-res.apk, you also mod systemui.apk for status bar
Some xml and pngs you might want to mod (framework-res.apk)
Xml:
Res/values/styles.xml
Res/values/bools.xml
Res/drawable/progress_horizontal (for colour of this bar View attachment 637481)
Png's (drawable-hdpi)
default_wallpaper.png - it's the default homescreen wallpaper
For overscroll glow:
overscroll_glow.png
overscroll_edge.png
For this (the bar you move) View attachment 637482:
seek_thumb_normal.png
seek_thumb_selected.png
seek_thumb_pressed.png
There are many more, but this are a few that are quite useful. You can easily find out about any, but in case you can't, you can just ask here and i'll be glad to answer
If you want to pre-install a theme, just copy the files of the theme into the correct places. For example system/framework to system/framework
For ctr off animation, decompile framework-res.apk, go to res/values/bools.xml
and in the line: config_animateScreenLights, turn it to false. If you want a more step by step guide, try this guide: http://forum.xda-developers.com/showthread.php?t=977501
Using baksmali/smali
To mod classes.dex, i use baksmali/smali
I use ubuntu for this, but you can use another linux distro if you want.
This is what i do in Ubuntu:
Steps to follow:
1. Get the .jar you want to mod. framework.jar for example
2. Open it and get classes.dex
3. I usually copy it to the desktop
4. Open terminal
5. Type sudo su and then your password
6. then cd /home/Coldflid/Desktop ( type the location where you have copied it).
7. java -jar baksmali-1.2.6.jar classes.dex
8. Once you've modded it, type java -jar smali-1.2.6.jar (name of the output folder)
9. A new .dex file will be generated, just replace the old one with the new one
This is what i do in windows
1. Grab the jar you want to mod
2. Open it with 7zip and get classes.dex
3. Copy classes.dex to the same folder autosmali is in
4. Run baksmali.bat
5. Make the desired changes
6. Create AutoSmali_In folder and place the folder of the decompiled classes.dex inside
7. Run smali.bat
8. Rename AutoSmali_Out.dex to classes.dex and replace the old one in the .jar with the new one (using 7zip)
Finishing the rom
Now that you've finished with modding, theming etc... Now replace apks with new ones, add a few that you want, and copy libs if needed.
You can add ringtones from other phones to system/media, bootanimation of sgs ii etc...
Replace the kernel with the kernel you like the most, and the modem with the one that works best for you.
Now it's time to zipalign. Open cygwin, type cd c:/ * (where * is where you have the kitchen). Press enter
type ./menu, then press enter
Now you just select the zipalign option.
When it finished, select all three folders of the rom and right click, 7zip, add to file, zip, name it and then you're good to go.
Install it using cwm.
If you want to make it flashable through odin, follow darky's guide:
http://forum.xda-developers.com/showthread.php?t=960946
If this was useful, hit the thanks button
Hope you like it.
If there's something wrong, tell me and i'll correct it. Also post if it was useful
Thanks
rmgeren for sgs android kitchen
[Ramad] for stock deodexed roms
creator of baksmali/smali and the creator of cygwin
Daneshm90 for apk manager
Thanks to dsixda for cygwin faq, and to gazza1988 for suggesting the idea of including it in this post
Thanks to Daneshm90 for the ctr off animation tutorial i've linked to in this thread
schmittx for autosmali: http://forum.xda-developers.com/showthread.php?t=970728
Reserved...
thanks alot...will try this so how can we make wipe and non wipe? is there a way?
zaanrider said:
thanks alot...will try this so how can we make wipe and non wipe? is there a way?
Click to expand...
Click to collapse
You need to modify the updater-script
Enviado desde mi GT-I9000 usando Tapatalk
There's option for Wipe state in kitchen right?
Not interested in doing this myself, but a very informative guide, much knowledge gained......only one critisism....how about some credits ie ramad for deodexed etc etc....once again many thanks
Insanity cm 015/glitch
Thanks for the guide. Always wanted to try, now this guide make me want to do it. Thanks gain Coldflid! You are Awesome!
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Hello.. I did exactly what you said in OP. Can you assist me, what if I've to add custom kernel in my custom ROM? There's option for it in Kitchen. I placed zImage into working folder, Kitchen moved it to /updates. I packed the files in zip using menu BUILD ROM in kitchen. I got bootloops..
Can you help me please?
Very nice Cold, GJ m8. Helped me a lot
cenonmin said:
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Click to expand...
Click to collapse
overglow sux
Fr4gg0r said:
overglow sux
Click to expand...
Click to collapse
Same here I never really liked it.
Rahulrulez said:
Same here I never really liked it.
Click to expand...
Click to collapse
Fr4gg0r said:
overglow sux
Click to expand...
Click to collapse
I dislike it in samsung roms, but i do like it in cyanogenmod.
cenonmin said:
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Click to expand...
Click to collapse
To get rid of it, get classes.dex from the framework.jar of the rom you're running that has it, and get classes.dex from stock framework.jar
Using baksmali, decompile classes.dex from both.
Then get the overscroll glow source. Open the decompiled classes.dex folder of the stock one and the source. Find the files that have been modded and copy them to the folder of the decompiled classes.dex of the rom that has the overscroll glow.
Then use smali to compile it back to classes.dex and then copy it into framework.jar
This will become easier as soon as i post the baksmali/smali guide.
Anyway, i'm going to upload the JVP original scroll source.
Rahulrulez said:
Hello.. I did exactly what you said in OP. Can you assist me, what if I've to add custom kernel in my custom ROM? There's option for it in Kitchen. I placed zImage into working folder, Kitchen moved it to /updates. I packed the files in zip using menu BUILD ROM in kitchen. I got bootloops..
Can you help me please?
Click to expand...
Click to collapse
I wouldn't use the build rom option, much better if you select the folders and make the zip with winrar or 7zip.
Just extract ramads deodexed stock rom zip, and change the zimage in /updates, then compress META-INF, system and updates into a zip and you have ramad's stock deodexed rom with the kernel you chose. Same process for every rom (location of zimage may vary though, some devs tend to place zimage in other folders)
somberi said:
Thanks for the guide. Always wanted to try, now this guide make me want to do it. Thanks gain Coldflid! You are Awesome!
Click to expand...
Click to collapse
Thanks. there's no problem in trying and seeing what you can do, you may prove to be the best rom cooker
slaphead20 said:
Not interested in doing this myself, but a very informative guide, much knowledge gained......only one critisism....how about some credits ie ramad for deodexed etc etc....once again many thanks
Insanity cm 015/glitch
Click to expand...
Click to collapse
Will add the credits as soon as i add the baksmali/smali part
Rahulrulez said:
There's option for Wipe state in kitchen right?
Click to expand...
Click to collapse
Yup, but it'll work on update-script only, (amend scripting) which you can't use in older versions than cwm 2.x
Wipe/no wipe is just if it deletes /dbdata and /data or not.
Vertumus said:
Very nice Cold, GJ m8. Helped me a lot
Click to expand...
Click to collapse
Thanks, glad it was useful
Thing's i'll add today:
Baksmali/smali tutorial
I'll upload META-INF no wipe and META-INF wipe that you can use
Modding the updater-script tutorial
So wiping data means only recursive deletion of /system, /cache, /data and datadata. am i right??
One more thing. when i zip the rom contents using winrar or 7zip, what compression settings should be used?
Rahulrulez said:
So wiping data means only recursive deletion of /system, /cache, /data and datadata. am i right??
One more thing. when i zip the rom contents using winrar or 7zip, what compression settings should be used?
Click to expand...
Click to collapse
Wiping data means wiping /data (where apks you've installed are stored) and /dbdata (where the data of the apps is stored)
Just use winrar, select the folders, add to file, and you type a name and in file format you choose zip
Hi i have done all my modding and themeing etc, but as i follow instruction to zipalign
i do cd c:/kitchen then ./menu (as instructed) and all i get is constant error messages
ie scripts/check_binaries: line 12: clear: command not found
lots of stuff about asking for help for htc android kitchen
ignore and proceed anyway? y or n
i type y and then get another one saying "gcc" is not installed
y or n to continue?
then perl, then wget, then cpeo, then i get a menu, should i be getting those error messeages and is it safe to continue?
EDIT can i suggest the OP links to this post as it contains info on how to setup the rom kitchen properly, and avoids errors like the ones i am experiencing,
Hey awesome guide. Have been trying to learn.
Heres my question if i wanted to use a premade JVP theme such as crysis or any of those that works on deodexed ROMS such as the ones from that section how would i do that?
Thanks and awesome guide
EDIT: Alright I got it booting finally I just have 4 more questions and then Im done.
1. For the captivate port how did y'all fix the home button fix, I have a flashable zip I created that fixes the home button but I know that used to be a problem on the old i9000 2.3.3 ROMs, so I'm just wondering how you implement that
2. How do you implement the CRT Screen Off Animation
3. If I wanted to use this theme http://forum.xda-developers.com/showthread.php?t=1083188 in my ROM how do I implement it into the ZIP?
THank you so much!
I want to integrate TalonDEV modem in JVP..
I found this in kernel updater-script of JVP zip (CWM flashable)
Code:
show_progress(0.200000, 80);
ui_print(" ");
ui_print("Installing Primary Kernel...");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml7");
show_progress(0.200000, 90);
ui_print(" ");
ui_print("Installing Secondary Kernel...");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml8");
Whereas, in TalonDev modem's updater-script, it is written like this -
Code:
set_perm(0, 0, 0755, "/tmp/bmlwrite");
ui_print("Flashing kernel...");
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
ui_print("Done. Please reboot.");
Somehow, I'm finding it difficult to know the different between these two. There's redband_ua in ROM's updater-script. Is it necessary? Or I can replace it with the script from Kernel's updater-script?
Please tell me meaning and difference between following lines -
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
and
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml7");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml8");
totally confused in bml7 and bml8. Kernel needs to be restored in both bml7 and bml8? Because in TalonDev's kernel installation script, it is given ONLY bml7
Please help me
Is there any way to run smali, baksmali on windows?
Rahulrulez said:
Is there any way to run smali, baksmali on windows?
Click to expand...
Click to collapse
Yes. Works a charm. Syntax is:
java -jar baksmali.jar
java -jar smali.jar
Obviously you need java installed
Hello Guys,
I want to change the softkeys on my nexus 4.
I have did it before in older android versions and it worked great.
Intresting enough,
On kitkat I'm having trouble changing the softkeys.
After updating Edify successfully
I can't seem to load the softkeys zip file.
It says:
SKIPPED://system/app/SystemUIapk was not found
WARNING: update.zip would be empty -- not creating one!
I've changed the xml path as follows:
from:
<path>/system/app/</path>
to:
<path>/system/priv-app/</path>
according to the next thread:
http://forum.xda-developers.com/nex...pthemer-to-flash-themes-stock-t2202482/page11
and then he says:
can't find control file ...
Guys please advise,
Would much appriciate it.
Thanks a lot!
Or in other words ....
How do I change the softkeys on kitkat?
Thanks.
somebody can help please?
biotech326 said:
somebody can help please?
Click to expand...
Click to collapse
Hi, yes we can help, but keep patient ^^
I'm the OP of the thread you linked, and if you tried to change the xml, you certainly saw the latest messages.. Another member had the same problem and I just changed the xml file, it worked good, are you sure you've done it correctly (I'm not insulting you but, you know...)
-From my Nexus 4-
biotech326 said:
somebody can help please?
Click to expand...
Click to collapse
If you upload the zip you are trying to edit then I can take a look to see what's wrong :good:
Thanks for the responses guys!
I'm not insulted I'm just human and I can make mistakes so everything is cool
I'll ellaborate all the steps that I did so it will be easier for you guys to help me.
I've entered:
http://forum.xda-developers.com/nexus-4/themes-apps/softkeys-softkey-collection-t2005937
Chose Stock Reflect ICS BLUE theme for the nexus 4.
When entering the link
I've downloaded MMZT_softkeys_stockreflect.zip
from here:
https://www.dropbox.com/sh/eglqkhlw...k Reflect Blue/MMZT_softkeys_stockreflect.zip
I've extrected the file locally and receive two things:
1) MMZT_softkeys_stockreflect.xml
2) SystemUI folder which contains other things underneath.
The xml file before the change:
<?xml version="1.0"?>
<themename>MMZT_softkeys_stockreflect</themename>
<themeversion>1.0</themeversion>
<author>atticus182</author>
<phone>Nexus 4 / Galaxy Nexus</phone>
<rom>ICS / JB</rom>
<item>SystemUI.apk</item>
<path>/system/app/</path>
<description>(Mod Requires a Reboot)</description>
<notes>Visit xda-developers.com for more mods</notes>
The xml file after the change:
<?xml version="1.0"?>
<themename>MMZT_softkeys_stockreflect</themename>
<themeversion>1.0</themeversion>
<author>atticus182</author>
<phone>Nexus 4 / Galaxy Nexus</phone>
<rom>ICS / JB</rom>
<item>SystemUI.apk</item>
<path>/system/priv-app/</path>
<description>(Mod Requires a Reboot)</description>
<notes>Visit xda-developers.com for more mods</notes>
After the change I've compiled the xml and the folder together to a new zip file.
In my nexus 4,
I downloaded ZipThemer
Downloaded the newest CM rom and transfered it to my phone.
Inside ZipThemer I've updated the edify using the CM rom file
and the output was success.
Here's a link for my updated zip file:
Code:
http://speedyshare.com/TVepR/MMZT-softkeys-stockreflect.rar
If I can give any more details please let me know
And thanks a alot for the effort
I appriciate it
lol. just decompile your system ui and put them there. compile back. done
zamzameir said:
lol. just decompile your system ui and put them there. compile back. done
Click to expand...
Click to collapse
Hmm I didn't quit follow sorry ...
Where should the xml be?
Can someone please create a zip for me?
Thanks!
biotech326 said:
Hmm I didn't quit follow sorry ...
Where should the xml be?
Can someone please create a zip for me?
Thanks!
Click to expand...
Click to collapse
give me your systemui and framework-res.apk. and also the softkeys images. I'll do it for you
(I didn't choose my words wisely, by insulting I meant offended )
So you are under CM? Which version and also, are you sure the systemUi file is in priv-app?
Also
biotech326 said:
It says:
SKIPPED://system/app/SystemUIapk was not found
WARNING: update.zip would be empty -- not creating one!
Click to expand...
Click to collapse
Did you forgot the dot in SystemUIapk when copying it in the forum ?
-From my Nexus 4-
Isn' the SystemUIapk supposed to be a.. SystemUI.apk ? <- Look at the dot.
I'm sorry but I don't quit follow ...
I have a system UI directory not apk.
What do you mean
systemui apk and framework-res.apk?
Thanks guys
Those are two apk file in which you replace the soft keys ^^
Go into priv-app and send a screenshot of what you see.
-From my Nexus 4-
biotech326 said:
I'm sorry but I don't quit follow ...
I have a system UI directory not apk.
What do you mean
systemui apk and framework-res.apk?
Thanks guys
Click to expand...
Click to collapse
systemui.apk is located at system/priv-app/
while framework-res.apk is located at system/framework/
give me this 2 apk of yours. I'll try do a flashable zip for you later
Thanks for the extensive help you guys!
Much appriciated
I've upload the two apk's of my nexus:
systemui.apk
framework-res.apk
Code:
http://speedy.sh/v8g9y/apk.rar
I'm running android vanilla pure android from google OTA 4.4.2
I used the CM rom file only to update the Edify, no CM rom here mates.
This is the softkeys that I want:
https://www.dropbox.com/sh/eglqkhlw33clfhz/Y0d7jZEWjS/Softkeys/Stock Reflect Blue
If someone can please compile it for me I would be very grateful!
Want this nice blue softkeys already hehe
Thanks and goodbye
biotech326 said:
Thanks for the extensive help you guys!
Much appriciated
I've upload the two apk's of my nexus:
systemui.apk
framework-res.apk
Code:
http://speedy.sh/v8g9y/apk.rar
I'm running android vanilla pure android from google OTA 4.4.2
I used the CM rom file only to update the Edify, no CM rom here mates.
This is the softkeys that I want:
https://www.dropbox.com/sh/eglqkhlw33clfhz/Y0d7jZEWjS/Softkeys/Stock Reflect Blue
If someone can please compile it for me I would be very grateful!
Want this nice blue softkeys already hehe
Thanks and goodbye
Click to expand...
Click to collapse
In fact you must update edify with the zip from the rom you are currently using... I don't know the vanilla rom, in what is it special?
-From my Nexus 4-
azertguigui said:
In fact you must update edify with the zip from the rom you are currently using... I don't know the vanilla rom, in what is it special?
-From my Nexus 4-
Click to expand...
Click to collapse
Ok so you suggest downloading the rom from google site
and update with that one?
I don't really know I ask you? What kind of rom is that?
-From my Nexus 4-
azertguigui said:
I don't really know I ask you? What kind of rom is that?
-From my Nexus 4-
Click to expand...
Click to collapse
Hey mate,
It's not a rom,
It's the stock android that we have on nexus devices ...
What you get from system update through the phone
Over the air android.
Oh I thought the vanilla was the name of a special rom...
Anyway, try the attached file. But make a full non-droit backup, we don't always know what happens...
-From my Nexus 4-