Do you love creating icons and mods but just can't get them on your new Gingerbread update? This script is for you.
It's a modded Framework script that has been in the community for quite some time. I updated it to work with the SystemUi.apk found in Gingerbread.
allows you to modify your status bar icons (Does not modify the battery icon, That is still located in framework-res.apk)
Instructions in the zip file Enjoy!
Note: Don't try to flash this zip. Extract it to you PC okay?
NEW VERSION: Works with all of the EVO Gingerbread Frameworks now
This allows applying full customization including Battery Mods
Will this allow me to enable transparent notification tray background?
I've been having trouble getting that to work on 2.3
Provided you have your xml files and png's edited properly. It should work
This tool simply provides a quick interface to decompile/Recompile/Install changes to the SystemUI.apk
townsenk said:
Provided you have your xml files and png's edited properly. It should work
This tool simply provides a quick interface to decompile/Recompile/Install changes to the SystemUI.apk
Click to expand...
Click to collapse
Is this for Windows or ubuntu?
Evolutionmods said:
Is this for Windows or ubuntu?
Click to expand...
Click to collapse
Windows...
The readme file say this needs clockworkmod rec, anyone test it with amon ra?
Hmm, could this be used to actually remove some of the Sense icons? Namely the useless alarm icon (which shows up even if you have an alarm for 5 days from today) and the Location Services reticle icon?
Many ROMs remove the latter, I actually followed a guide to using smali for removing the alarm icon on my current Froyo ROM but I guess they changed the location of all that stuff on GB... I haven't really taken a look at it to see if I could figure out the new locations on my own, not much time to tinker lately, if the script can automate that task it'd be awesome...
You'd still have to edit the xml's or make transparent icons. I would assume that what you need is in the decompiled layout directory. I could be wrong. I wanted people to be able to take an existing mod and apply it to their phone without having to memorize multiple command lines. Any xml editing at this point is strictly manual
Ultimately yes I want the script to have the ability to install preedited "mod packs" to simplify the process of applying common mods. Where a user would select the desired mods ala-carte and the script would combine them and compile a new framework
I believe I did it thru an xml edit last time since a transparent icon would just leave a blank space, erich I've never had. But yea, seems I'll just have to dig in and figure out the equivalent directory in GB... Might just wait until I upgrade to the EVO 3D.
Related
im running steelh and i have the blue epic style battery. how can i get the battery percentage into that without using different icons? i tired the online kitchen but my phone is stuck in a bootloop.
anybody? the kitchen just gives me errors.
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
ericwgarza1 said:
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
Click to expand...
Click to collapse
i cannot get it to work no matter what i do. can any dev help out here? i want the blue epic style battery with percentage. aside from the png's what files do you need to get this working on a sense rom? all of this hassle is making me want to go back to cm6, at least on that we can use the settings to accomplish alot of things we cannot on sense roms.
can you add the battery percentage mod into a rom that doesn't by default come with it? i heard about needing a modded services.jar file? or do i have to go with a different rom here for what i need? the online kitchen will simply not work for me.
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
SteelH said:
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
Click to expand...
Click to collapse
i have the png's but i have no clue how to mod xml files. im pretty good at Frankensteining themes together but for the life of me i cannot get this to work.
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
lovethyEVO said:
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
Click to expand...
Click to collapse
its the steelh deodexed rom. i have alot of themes going on and i do not want to loose them. i just want the battery with the percentage in it. ive attached what you may need, thank you.
I'll take a look at them now.
Give me some time.
lovethyEVO said:
I'll take a look at them now.
Give me some time.
Click to expand...
Click to collapse
thanks for taking the time!
Found a clue about the problem.
The online kitchen I believe has a disclaimer about .9pngs in the framework.
Basically if some .9s are not edited correctly it can cause an error in the decompile/compile process.
The framework you gave me throws an error when trying to compile. I have seen this error many times before and it always results in the changed files (xml and pngs) not being inserted into the newly compiled framework.
I decompiled/compiled three times, same error and the changed files were not inserted into the compiled apk.
Your problem lies in the framework and the tools ability to properly process the .9s.
Also, the epic zip you gave me does not have any xml files to tell the framework what png to display and it has 80 more pngs for the battery charge animation.
This is not something I want to spend more time on right now but the info I'm giving will hopefully get you in the right direction.
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
ericwgarza1 said:
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
Click to expand...
Click to collapse
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Try this. I give no guarantees at all since I manually inserted the xmls and pngs. Also since there are 80 more pngs for the charge animation there's no way of telling how it will look.
lovethyEVO said:
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
Click to expand...
Click to collapse
Good explanation thank you. I think I have the similar problem I unzipped my framework and changed my battery and it worked. The only problem is I can only use the six charging animations. A little research last night and I realized I needed to edit the xml. Decompiling my framework would not work and I think your explanation helps me understand why.
ericwgarza1 said:
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Click to expand...
Click to collapse
maybe public.xml
I tend to like things to look mostly stock, but I also wanted an H icon when it was in use... so I've knocked up this framework (used my FRG83D one, dunno if it's OK to use on older versions) with only that one change.
Probably not of that much interest to people, but rude not to share all the same.
http://www.multiupload.com/JB9SXZLF1G
Just overwrite (might want to take a backup first etc.) /system/framework/framework-res.apk with the one in the link and reboot.
I noticed that after pushing/rebooting, my accounts had vanished. No idea if that's normal when replacing the framework, but it only took a minute to re-add them.
Or, flashable .zip so you don't lose account details: http://www.multiupload.com/22TNJDP10X
New version, updated for FRG83G: http://www.multiupload.com/1DI1TBZNWA
Rusty! said:
...I noticed that after pushing/rebooting, my accounts had vanished. No idea if that's normal when replacing the framework, but it only took a minute to re-add them.
Click to expand...
Click to collapse
If you make a flashable update.zip your accounts do not vanish
Ahh right, well to save anyone that issue, I'll add one to the OP
Anyone on this side of the pond try this ?
Like the title says....anyone here in the US/Canada try this out yet ?
I'm running 2.2.1 (FRG83D) and the IN/OUT H PNG's icons are already there in the framework-res.apk, so I'm just curious what it is you did to turn them in your update script.
Also...the
Cert.rsa
Cert.sf
Manifest.mf
files you're including are older than the certs that are in the framework-res.apk that's in 2.2.1 (FRG83D). This is both within the update zip, and inside the framework-res.apk that's in your update zip.
Any particular reason you included the older certs in the framework-res.apk ?
Just curious trying to see what you've turned on to get the H to appear.
Decompile framework-res.apk, and look in /res/values for bools.xml
In there you just change config_hspa_data_distinguishable to true, save and recompile.
The reason the certs are in the update are because I just flung my updated framework into an existing update.zip for framework. Worked fine though. No idea why they would be older in my .apk, as I pulled it straight from my phone By product of recompiling perhaps?
So...anyone take the plunge ?
Anyone try this on theirs ?
Update: Works as advertised...ran speedtest.....definitely picks up the difference.
Updated for FRG83G: http://www.multiupload.com/1DI1TBZNWA
I saw this in an article on droid-life: Here
Original Thread: Animated status bar pulldown for GB roms
Hope this could help some devs/themers get this going for us EVO users
The Author of this is: Alastrionia
Youtube Demo
MODS: If this should not be here, please remove, and my sincere apologizes.
Animated status bar pulldown for GB roms
First off this should work with all GB based roms that use systemui.apk
there may be subtle differences but the basics should be the same all around.
after much trial and error and ripping what little hair I have left out
success was mine and it's time to share this with everyone
and it's so simple that you'll love how fast you can integrate this into ROM's / themes / whatever your heart desires
1. take your systemui.apk and decompile it
2. navigate to layout folder
3. grab "status_bar_tracking.xml" and open it up in your editor
(now for the fun)
4. to the first line - "com.android.systemui.statusbar.TrackingView" add this ""android:background="@drawable/...anim.xml""
<com.android.systemui.statusbar.TrackingView android:background="@drawable/...anim.xml...>
5. after saving that, navigate back into the drawable folder and add your animation.xml file there
5a. next navigate into the drawable/hdpi folder and add your animated images
6. also in the drawable/hdpi folder find and open up the shade_bg.png with your editor and make it 100% transparent
7. now it's time to recompile your apk , following all the usual directions with that
8. enjoy your newly created systemui.apk with a pretty animated background. new and fresh and unlike anything before
that's it. done deal. it's super easy and fast and breathes life into true customization.
I used the stat_sys_upload.xml from the framework-res.apk as my base
all I had to do was change the timing and change the image names.
also you'll notice above - don't copy it word for word on the xml.
I did the "..." meaning whatever you decide to name your file.
I'll try to throw up a video shortly of my success with this so everyone can see it.
Click to expand...
Click to collapse
You lost me at "decompile"
SantinoInc said:
You lost me at "decompile"
Click to expand...
Click to collapse
I think by that he means to open the systemui.apk
I used 7zip to open a cm7 nightly just now and it's located in the system/app folder. Inside the .apk theres:
res (folder)
AndroidManifest.xml
classes.dex
resources.arsc
Inside the res folder:
anim (folder)
drawable (folder)
drawable-hdpi (folder)
layout (folder)
xml (folder)
Hopefully some themers can get some pretty nice/cool things done with this.
No you would have to decompile the apk with a apk decompiler..Unzipping it will not work.Thats just for replacing images.
1 Aw3s0m3 M0d!!
i'll help people if they're having trouble. probably won't do this personally.
and yeah, to see .xml files correctly, you need an apk decompiler.
Nice find! Will definitely try this.
forgive me if im not reading this right.... is this for aosp of sense?
What will they think of next
Evolutionmods said:
forgive me if im not reading this right.... is this for aosp of sense?
Click to expand...
Click to collapse
I believe this is for AOSP but reading through the entire thread someone says "this also works on the com.htc.resources.apk for sense ROMs."
Subbed and Definitely Interested!
More demos with different animations are starting to appear. This is looking really awesome.
http://www.youtube.com/watch?v=gf7lFsAkxFA
http://www.youtube.com/watch?v=vte37qjSiEc
Oh yeah. I got big plans for this one. Cant wait to get some time to sit down and code it. It really is as simple as stated.
It's not just for gingerbread. I shot this with my crappy 5 year old digicam.
Another demo:
http://www.youtube.com/watch?v=HAHoKJ2N0Xw
Has anyone given this a go on the EVO yet??
Yeah, I got it working...Needs some tweaking. I tried it with a 24 frame boot animation.. very laggy. I suspect that a 8-15 frame animation would do well
blassilando said:
Another demo:
http://www.youtube.com/watch?v=HAHoKJ2N0Xw
Has anyone given this a go on the EVO yet??
Click to expand...
Click to collapse
The vid I posted above yours is on an evo.
Would either of you mind posting your xml so i could use it as a reference? Not totally clear on that part of it. Thanks.
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
http://www.youtube.com/watch?v=HEKsfTiaif0
Ill gladly be a testbot for anyone working on this for our evos
would be nice to get a zip we can flash. so everyone including us noobs can get this mod.
thanks for the info great job
Here is the boot animation and wallpapers from the Sony Tablet s system dump
Boot animation
Just move it to System/Media and reboot
I am trying to get a theme together and port apps as well support and help is welcome and encouraged
daniel9522 said:
try this link for system dump
www.4shared.com/file/nC-OMqd9/TabletSsystem.html
try this link for tabletS dump(1gb)
www.4shared.com/file/lp2GnnXg/TabletSdump.html
Click to expand...
Click to collapse
Thanks to Daniel9533 for the system and full dump
Wallpapers
Wallpapers
they are kind of low rez i will try to find the better ones
Theme is here (almost done)
the Sony tablet s is pretty stock it uses the stock buttons and clock widget ect but there are some decent icon skins
Apps
Hopfully where apps/the theme will go once i get those working
will probably have theme done tomorrow
apps will take allot longer as i really dont know how to do it yet
Apk's im going to try to get working
Favorites
MediaPlayers
Visualiser
S-launcher2
-- Reserved---
Do I need to be rooted to install
you need to be rooted to install the boot animation but the wallpapers you can just unzip and place on the sdcard
for the bootanimation, you can can copy it to /data/local (no need to be root or overwrite the default bootanimation )
edit mrevankyle
forum.xda-developers.com/showthread.php?t=1077145
forum.xda-developers.com/showthread.php?t=1101535
dvhh said:
for the bootanimation, you can can copy it to /data/local (no need to be root or overwrite the default bootanimation )
Click to expand...
Click to collapse
are you sure about that?
Could you link the system dump? Wanna take a look
Okay, found the dump, started boggling around the files.
S-Launcher2
needs some SE framework bits, and to be placed in /system (shares config files with the stock Launcher). Differences are the following:
- Added favorites menu
- Added settings icon next to the Google search bar on top
- The add widget screen has been a bit finetuned, now you can select default screen by the arrows under the screens
So, after fiddling and getting it to run, the following happened:
- Apps menu can not be opened (some kind of a static library problem, the needed file libark2.so gets the menu killed)
- Favorites part won't work
MediaPlayers
After doing some static library magic, it's starting, but then freezes (no "FC or wait" message until touch)
Visualiser
I did not try anything with it
What worth checking out was done
fonix232 said:
Okay, found the dump, started boggling around the files.
S-Launcher2
needs some SE framework bits, and to be placed in /system (shares config files with the stock Launcher). Differences are the following:
- Added favorites menu
- Added settings icon next to the Google search bar on top
- The add widget screen has been a bit finetuned, now you can select default screen by the arrows under the screens
So, after fiddling and getting it to run, the following happened:
- Apps menu can not be opened (some kind of a static library problem, the needed file libark2.so gets the menu killed)
- Favorites part won't work
MediaPlayers
After doing some static library magic, it's starting, but then freezes (no "FC or wait" message until touch)
Visualiser
I did not try anything with it
What worth checking out was done
Click to expand...
Click to collapse
Thanks soo much i wasn't able to respond because i was at school all day. as for the favorites that links in to the favorites apk i believe
but nice work in the meantime
and woul you mind linking what you have done so far?
also i am trying to learn how to do this stuff for myself as well how did you change it to get it to install whenever i tried it gave me error-9
mrevankyle said:
Thanks soo much i wasn't able to respond because i was at school all day. as for the favorites that links in to the favorites apk i believe
but nice work in the meantime
and woul you mind linking what you have done so far?
also i am trying to learn how to do this stuff for myself as well how did you change it to get it to install whenever i tried it gave me error-9
Click to expand...
Click to collapse
Yes, the favorites app is what I meant, but it's not a separate app - there's a button next to the "Apps" one in the Launcher, that goes to Favorites, but it's not working either (same Ark2 library stuff).
I'll upload them as soon as I get an all-in-one package ready - currently all the files are scattered around, fixed and unfixed versions, etc.
Don't use CWM then, but ADB to remount /system and write directly to it through USB!
Favourites is a separate app isn't it? Ive linked in the Favorites.apk i found in the sys dump
But anyways nice work so far
and i was originally pushing the apk's in with root explorer but i will try adb thanks
Thanks fonix232 for your work!
any progress here ? or is it a stopped project ?
I really like the idea thanks for the work so far
if you need a hand, just say. if you want a quick sign and zip-align of an app from the dump i can do that, also i can port the theme quite quickly if you aren't already doing that?
pashinator said:
if you need a hand, just say. if you want a quick sign and zip-align of an app from the dump i can do that, also i can port the theme quite quickly if you aren't already doing that?
Click to expand...
Click to collapse
nice to see you here pashinator but it is not as simple as a singn/zipalign it has tons of dependant apps and librarys and i keep getting stuck with a fatal exeption. and the theme i can do if there is enough intrest but urrently i have been buisy with school and the xoom2/xyboard. if you want to give it a try thaat would be great though
whaen decompileing the apps do you have any issue or do you have to install apktool framework "apktool if "?
pashinator said:
whaen decompileing the apps do you have any issue or do you have to install apktool framework "apktool if "?
Click to expand...
Click to collapse
there are no errors during decompiling
So this is a simple how to aimed to people with unrooted phones that still want to replace the icons inside Samsung Themes.
First of all, just a bit of theory
1) Samsung Thems are simple apk files, so you can edit them and re-install without any trouble, they don't need a particular signature by Samsung.
2) The icons inside such themes are in qmg format, which is a proprietary format that cannot be converted without Samsung Theme designer's kit or by using the built-in converter which is in our phones... It's something that packs a png file and an xml one andnot even imagemagick for Linux can convert it.... No problem, you can replace qmg files in themes with png files flawlessly, you just need to rename them as png
So, you need apk extractor (see play store) which can extract installed apk very easily (even system files) without root and apkeditor pro (see play store as well) wich is a very handy tool for minimal decompiling. I am not affiliated to apk editor pro and you can obviously do the same thing with apk tool and a pc, though this simple how to is for 'noob dummy themers' and it makes more sense to use just your phone than apktool.
Once you have installed such apps, open apk extractor and look for the apk you must edit. Let's say you want to edit the material theme by Cambunch (see galaxy store). So, you will find two apk files with cambunch etc.... Choose the first one, the one with the words appicon inside and extract it. It will be placed into the folder ExtractedApk
I don't like, in such theme, the icons for calendar and messages, which are green and yellow, so I replaced them with google original ones. Just download them somewhere and rename them to qmg. I mean, if the original file was named message.png, just rename it to message.qmg for example.
Now open apk editor pro and choose to edit an apk file, go to ExtractedApk folder, choose the theme you have extracted and choose simple edit....
You should see a partially decompiled apk.... Go to res folder and then open the drawable etc.. folder
Inside that folder you'll see several qmg files... Look for the one that refers to message (the names are quite self explanatory) and click the 'pen' option, then use the file manager to choose the icon message.qmg you've saved as said above and replace the original one with the new icon. It can obviously been done with any icon inside that folder.
Now follow the steps suggested by the app itself and install the new apk over the former and your theme will have been updated.
If the theme had already been applied, move to a different one (even the default one) and then apply it back to see the changes.
Very simple
Just as a sample, this is the apk modded with calendar and message icon respectively in blue and light blue like the original ones by Google. It must be installed as an update of the nice theme by Cameron Bunch
How can you pull out the keyboard from a theme and apply without root?
AnThOnY- S7 Edge
iTouch24 said:
How can you pull out the keyboard from a theme and apply without root?
AnThOnY- S7 Edge
Click to expand...
Click to collapse
It is not so simple, you need apktool and a pc. Apk editor is unable to fully decompile the apk files of samsung themes.
To be honest, I haven't played with themes yet and I don't exactly know how they are applied to keyboard, notification bar and so on.
Cool! Thanks for posting this. I used this to edit the soft keys on my last LG, but didn't realize it would work for themes, too. Got some editing to do when I get back from my next trip.
meyerweb said:
Cool! Thanks for posting this. I used this to edit the soft keys on my last LG, but didn't realize it would work for themes, too. Got some editing to do when I get back from my next trip.
Click to expand...
Click to collapse
Glad you appreciate it
I googled a little bit and saw that you can't make a theme from scratch without Samsung's proprietary software which is reserved to approved designers only, but still it should be possible to edit a free theme and changing it into something different. I mean, not only the icons, even the Ui. At least for the things that this theme engine allows to be themed.
I would like a ubuntu touch theme or a Sony xperia one, which are not available in the theme store, but atm I have just been able to replace the icons... I have to get some spare time to decompile a theme on my pc
Why several APK files inside?
Hi,
Followed the procedure. But when choose simple edit, it shows several apk files inside the main apk file. how to replace the images?
I replied to your PM. It depends on the theme.
jisharka said:
Hi,
Followed the procedure. But when choose simple edit, it shows several apk files inside the main apk file. how to replace the images?
Click to expand...
Click to collapse
lucaoldb said:
I replied to your PM. It depends on the theme.
Click to expand...
Click to collapse
I have the same issue with sd-Black theme. Only apk files in assets folder, no res folder. Any way to do it?
I am sorry, but I am now on Echoerom note 7 port which has the new theme store, so I can't directly check the old themes for the s7.
Anyway, when I posted this thread, I had had a look only at a couple of themes, which were very simple do as the ones by Cameronbunch. In the following day I realised that in the theme store there a basically to kind of themes and the ones of the second kind are much more complicated to edit.
To be honest, after opening this short thread, I haven't spent any time in editing themes, but I don't think apk editor is powerful enough for the themes of the second kind. You'd better go with apktool, since you need to decompile not only the main apk, but even the ones inside it.
Sorry for not being very helpful.
I have req for someone with root, can you share here themes from store: Athletics sports and Sparkle. I want to mix it and change some things. Thanks in advance.
the easiest way: use "awesome icons" app from google play (free); than, install any icon pack that you like (I prefer Note 7 icon pack), open the mentioned app and it will give you the possibility to change any icon from each app installed in the phone, keeping the functionality (eg: unread count badge for emails); you can opt for an icon in the icon pack or a picture or any .png/.jpg etc file