Related
Hey guys,
So in order to prepare for our (eventual) Vibrant Gingerbread release I started working on porting a couple of my mods to JVP just to learn and this just sort of happened.
With Gingerbread, I only needed to change one thing in the system, SystemUI.apk. The rest is set with my app. Furthermore, with how the app is setup, these mods can easily be ported to (I'm guessing) any Gingerbread ROM.
How the mods work: with how it is setup, there's almost no smali editing (I'm just as surprised as you are). I simply coded widgets in Java, and decompiled the new Smali classes and put them into SystemUI. Then all I had to do was change the SystemUI statusbar.xml layout to include my new widget. However, I had to add in some smali code to get the battery & the signal bar to toggle, however, they're very easy edits . Now on to the good stuff.
Installing
You can install the EDT Tweaks app or you can push it to /system/app
You must push SystemUI.apk to /system/app
I don't want to make a flashable quite yet because I want more experienced users to test this out, etc.
ROM Developers
You may use this in your ROM, however I have a few conditions:
-Keep the EDT "About" section intact. You may add to it, but do NOT remove anything from it.
-Do not rename the EDT Tweaks app, but you may provide your own icon for it
kanging is bad mkay
Sources
For people who wish to incorporate this into their own framework or modify it the sources are in my github (link in my sig, I suck at github btw)
Porting
As I said earlier, there's minimal smali editing. So. To port this to your SystemUI.apk you need to first decompile both of our SystemUIs, then grab the extra files from mine (BatteryText*.smali & Clock*.smali) and put them in yours.
Next, you can just grab my SystemUI.apk/res/layout/status_bar.xml and put it in the same location as yours. I doubt yours has changed much .
Alright almost done! Now to get the icons toggling (my text widgets will toggle without the following smali edits) you can just copy my StatusBarPolicy.smali over to yours OR if you really want to know the edits I did (if you're not using a Galaxy S based phone) open up com/android/systemui/statusbar/policy/StatusBarPolicy.smali and search for "# start." All of my additions start with it and will end with a similar tag. I can help if you like, just message me.
Bugs
- any modifications to the icons will take a minute to update (signal bar toggle & battery icon toggle, just unplug/replug to toggle it, or it will show when percent goes down)
Changelog
6/14/11
-- initial release
To Do
- dBm text!
- your suggestions... maybe
Screenshots
Woops, I may have posted this in the wrong section. Sorry if that's the case.
Really great idea!!
This is a great idea for an app. For us who love to tinker constantly (me), this is perfect. +1 dude!
good work man
You think this would work with CM7 ?
Wow amazing. Waiting port on vibrant project V
i must have original theme to use this mod i am right ?
Looks good m8.
Sent from my GT-I9000 using XDA Premium App
zenosteam said:
i must have original theme to use this mod i am right ?
Click to expand...
Click to collapse
works also on custom...
yess...i like it !!!
cink40 said:
works also on custom...
Click to expand...
Click to collapse
i try it but stautbar crash what's wrong?
zenosteam said:
i try it but stautbar crash what's wrong?
Click to expand...
Click to collapse
did you restart your phone? it works great and I am using a custom room...i love itt
Please make it flashable. This way you can attract more users and who knows maybe some donations since this is a very good idea. Keep up the good work
Sent from my GT-I9000 using XDA App
f3n0m3no said:
Please make it flashable. This way you can attract more users and who knows maybe some donations since this is a very good idea. Keep up the good work
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Ok, as requested, flashable attached in the OP. Let me know if it works okay for you.
can you modify the app so it changes the battery icon colors not the battery text style color that you made? in my opinion it would be more awesome
birgertime said:
Ok, as requested, flashable attached in the OP. Let me know if it works okay for you.
Click to expand...
Click to collapse
it works
It doesnt work for me. The statusbar process keeps crashing
Sent from my GT-I9000 using XDA App
f3n0m3no said:
It doesnt work for me. The statusbar process keeps crashing
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Are you running a JVP based ROM?
f3n0m3no said:
It doesnt work for me. The statusbar process keeps crashing
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
what room are you on?
Stock jvp
Sent from my GT-I9000 using XDA App
a few notes: all images were kanged from Overstew's ICS theme for Calkin's ROM.
I'm not a themer (hence the .apk files), but I love Jez2cool's Sydicate Ice ROM. So I took the images from Overstew's ICS theme and copied them to the appropriate Syndicate Ice 1.1 apks. No other changes were made.
Crap. Can't link to images (or the framework-res.apk (which is over 8megs) ) because I haven't posted enough. Ummm, bear with me here... Any suggestions on how to get link up?
Nice work! Hope to see more work from you... the locals are ravenous for more themes... I think if u post about 8 more posts throughout the threads you will be able to post that framework...
File is too big to post. Would love to get the mediafire link up for everyone tho.
Sent from my SPH-D710 using XDA App
Hey venum, do you happen to have an empty zip(with the updater script etc) available we could just throw these in to flash?(with like 7zip or something). Sure I could find one if I looked around but it'd be helpful to have one near the top of the thread
Sent from my SPH-D710 using XDA App
sleshepic said:
Hey venum, do you happen to have an empty zip(with the updater script etc) available we could just throw these in to flash?(with like 7zip or something). Sure I could find one if I looked around but it'd be helpful to have one near the top of the thread
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
Lol sure. This is the stock eg30 theme. Keep in mind you will have to resign the zip to get it to run correctly after u add the apks (sorry if u already knew that... u can just delete the extra apks in it...)
http://www.mediafire.com/?b2pgm7gpkbb8bcs
So that would turn it into cwm flashable zip?
Sent from my SPH-D710 using XDA App
VeNuM said:
Lol sure. This is the stock eg30 theme. Keep in mind you will have to resign the zip to get it to run correctly after u add the apks (sorry if u already knew that... u can just delete the extra apks in it...)
http://www.mediafire.com/?b2pgm7gpkbb8bcs
Click to expand...
Click to collapse
Thanks!
livewirevoodoo said:
So that would turn it into cwm flashable zip?
Click to expand...
Click to collapse
yes that's all you need. If you want take a look at the updater script, in the Meta-infs/Google/com folder i believe? It'll have the language there needed to tell cwm what to do, think you don't want to use just a standard notepad app to write as it may fail.
Edit: sorry, the updater script is in meta-inf/com/google/android
Sent from my SPH-D710 using XDA App
Im running ICE right now and love it...porting this theme over would be nice. I like the rom as is, but having options is always nice.
Sent from my SPH-D710 using xda premium
Sounds pretty straight forward. I'm gonna take a crack at it this morning post-brunch.
Anyone know where the graphics for the Settings menu (Wireless and network; Call settings; Sound, etc) are located? Would like to change those as well but uncertain where to find them. Thanks.
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
cidica said:
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
Click to expand...
Click to collapse
ACK! you're right. stupid typos
thanks
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
playya said:
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
here's the problem with that
I have absolutely no idea what you just said, lol
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
KCRic said:
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
hahaha now he is really confused. Lol Hey try UOT Kitchen hopefully by now you have looked it up and not just said I dont know what that is. If you have not then pm me and I can try and help you further. But try to help yourself as well...Good luck
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Uot kitchen is so easy to do. Just upload the needed files and theme it up
Sent from my SPH-D710 using xda premium
rujelus22 said:
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Click to expand...
Click to collapse
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Thanks for all the info guys, Im not the OP of this thread but I have learned just as much by reading it, thanks!
i would also like this done...
jocampo86 said:
i would also like this done...
Click to expand...
Click to collapse
Have you ever tried UOT Kitchen, it may also even teach you something about theming....Maybe? Give it a shot
playya said:
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
The default system is not setup for % icons so you have to add a bunch of images and set the xml file to use them. It was more going through the xml. If this is all he wants changed then why would he learn xml?
so i kinda started to get into theming and im doing well i think lol but i wanna know how to get templates for the roms i wanna make a theme for i got one for el30 (thanks travmofosho) but i wanna try and theme cm7.2 beta 1 but im not sure if i would have to theme the orginal rom file or is there a certain way to get a template or something less than the full rom that i can just flash over it?
Well the key to theming is proper punctuation and grammar.
So start with that.
And really all you need to do is download a ROM and rip the files out. If you want to theme CM9, download CM9 and extract the appropriate files. Same for EL30.
I remember someone had the files pre-ripped and ready to go back in the day. Maybe you could be the one to pick that back up!
It depends on whether you want it to work with theme changer or not. If not then just pull the framework-res and systemui out of the ROM. But for CM7 if you want it to work with theme changer you will need to rip apart an apk that is set up for it like androidian or cyanogen from the ROM or download one that is close to what you want and mod that. If you google making a theme for cm7 a tutorial pops up in the list.
Sent from my PantechP4100 using xda premium
Lol, well alright, im just used to typing without caring. I'm not trying to get it to work with the theme chooser app. I just want it to be a flashable .zip since it seems that development for cm7 has kind of slowed down so I can use my theme until its updated. So basically all i have to do is delete all the files from the ROM and keep the things that get themed like systemUI.apk, framework-res.apk, and the other things?
And about making templates for other ROMs i would just make them and post them in the themes section..? I need an account to upload files though. I'll have to sign up with something.
XDA allows up to 12 Mb in a zip file which will handle most themes with a couple of system apps. And yup, you are good to. Just yank out the framework and systemui and have at it.
Sent from my PantechP4100 using xda premium
kennyglass123 said:
XDA allows up to 12 Mb in a zip file which will handle most themes with a couple of system apps. And yup, you are good to. Just yank out the framework and systemui and have at it.
Sent from my PantechP4100 using xda premium
Click to expand...
Click to collapse
Well i made a dev host account so I'm good. Its almost "comlplete" but I'm having some problems finding certain things. Where would i find the signal bars? They stay green but my them is blue. I cant find where they are or whats wrong with them. (I flashed it over clean gb thats why they're green)
zz_stat_sys_signal_#_sprint this is what they are named substitute the number for the actual signal amount =]
Sent from my SPH-D700 using xda premium
another question.... how can i fix the black txt on black menus?
lilajrestnom said:
another question.... how can i fix the black txt on black menus?
Click to expand...
Click to collapse
Xml edit.. need to decompile the framework its one of those 0000000 values don't know the exact value name.. never really themed gingerbread yet... least decompiling just png swapping.
Sent from my SPH-D700 using xda premium
Big Goron said:
Xml edit.. need to decompile the framework its one of those 0000000 values don't know the exact value name.. never really themed gingerbread yet... least decompiling just png swapping.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
seems to complicated for me to mess with lol thanks tho ill try and figure that out later
lilajrestnom said:
seems to complicated for me to mess with lol thanks tho ill try and figure that out later
Click to expand...
Click to collapse
Not to hard you need to install java developer kit... and then the android sdk.. and install the resources for gingerbread or 2.3... once thats done get apk manager or apktool. you use apktool/manager to decompile the res and change the values/colors.xml.. its a little hard to explain to someone who just started youll get there though i did eventually.
You could always throw it into the kitchen and change the background color of the menus or change the text to white.
Sent from my PantechP4100 using xda premium
I think the kitchen would b an easier solution lol or at least just for now
But I'm having one other problem
I used a template provided by travmofosho (I think that's his name srry if I spelled wrong) and the bootanimation says "nashdogg" lol cuz he made that for him and I can't seem to get rid of it I tried applying a boot ani from the kitchen but it doesn't stick over it how could I get that out..?
Sent from my SPH-D700 using XDA
lilajrestnom said:
I think the kitchen would b an easier solution lol or at least just for now
But I'm having one other problem
I used a template provided by travmofosho (I think that's his name srry if I spelled wrong) and the bootanimation says "nashdogg" lol cuz he made that for him and I can't seem to get rid of it I tried applying a boot ani from the kitchen but it doesn't stick over it how could I get that out..?
Sent from my SPH-D700 using XDA
Click to expand...
Click to collapse
It is probably the kernel splash. Flash another kernel
Sent from my PantechP4100 using xda premium
kennyglass123 said:
It is probably the kernel splash. Flash another kernel
Sent from my PantechP4100 using xda premium
Click to expand...
Click to collapse
Thank you for the tip will try tomorrow and probably upload it on here once I fix those 2 things
Sent from my SPH-D700 using XDA
so i wanna just make sure from one tiny thing. I want to make a theme for the cm7 beta 1 so i deleted everything except for systemui and the framework is that what i need to do? is there any other files i shouldnt have deleted?
Hello guys, could any themer out there please show me or tell me where to find the files needed to be change to get a different background for this items?
Here's a picture, thanks in advance.
I want to change the background for the toggle's square and also the color that tells us when they are on and off, if anyone knows please let me know, thanks!
you should try out tweaked 2.0 so many options for customizing
http://forum.xda-developers.com/showthread.php?t=2242972
Sent from my SGH-T889 using Tapatalk 2
I'm no themer, but they are likely in SystemUI.apk/res/drawables-xhdpi - I know that's where the icons themselves are at least.
dwitherell said:
I'm no themer, but they are likely in SystemUI.apk/res/drawables-xhdpi - I know that's where the icons themselves are at least.
Click to expand...
Click to collapse
Yes, the icons are there but to change the background is a different ball, is not a .png but a code, I just dont know where it is.
deeznutz1977 said:
you should try out tweaked 2.0 so many options for customizing
http://forum.xda-developers.com/showthread.php?t=2242972
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for this but I dont want a mod, I want to do it myself and make a theme out of it
slick4mitch said:
Thanks for this but I dont want a mod, I want to do it myself and make a theme out of it
Click to expand...
Click to collapse
Sorry, that's cool you want to do it yourself... I would suggest shooting foreverloco a pm
Sent from my SGH-T889 using Tapatalk 2
I wanna make the background black but the icons white when they are pressed and gray when they are not used but I want to keep the stock icons
slick4mitch said:
Thanks for this but I dont want a mod, I want to do it myself and make a theme out of it
Click to expand...
Click to collapse
Dunno if I would could that a "mod" really... but I applaud the do-it-yourself spirit
Anyhoo - I think they are still all in drawables-xhdpi, but are likely .9s that are called by various xml drawables in ... well, in /res/drawables. Some likely candidates:
tw_quick_panel_quick_setting_button_bg_normal.9
tw_quick_panel_quick_setting_button_bg_pressed.9
tw_quick_panel_off.9
tw_quick_panel_on.9
I will admit that I am not 100% on this, but maybe it'll get you pointed in the right direction
dwitherell said:
Dunno if I would could that a "mod" really... but I applaud the do-it-yourself spirit
Anyhoo - I think they are still all in drawables-xhdpi, but are likely .9s that are called by various xml drawables in ... well, in /res/drawables. Some likely candidates:
tw_quick_panel_quick_setting_button_bg_normal.9
tw_quick_panel_quick_setting_button_bg_pressed.9
tw_quick_panel_off.9
tw_quick_panel_on.9
I will admit that I am not 100% on this, but maybe it'll get you pointed in the right direction
Click to expand...
Click to collapse
Thanks for this, I will surely search more into it. I appreciate the answers
slick4mitch said:
Thanks for this, I will surely search more into it. I appreciate the answers
Click to expand...
Click to collapse
If those aren't them out may be in the layout folder of system ui. The file would be tw_status_bar_expanded. Xml
I tried checking but the decompiled version I have used lithdroid so it's a little different
Sent from my SGH-T889 using xda app-developers app
dwitherell said:
Dunno if I would could that a "mod" really... but I applaud the do-it-yourself spirit
Anyhoo - I think they are still all in drawables-xhdpi, but are likely .9s that are called by various xml drawables in ... well, in /res/drawables. Some likely candidates:
tw_quick_panel_quick_setting_button_bg_normal.9
tw_quick_panel_quick_setting_button_bg_pressed.9
tw_quick_panel_off.9
tw_quick_panel_on.9
I will admit that I am not 100% on this, but maybe it'll get you pointed in the right direction
Click to expand...
Click to collapse
This is correct for stock toggles in the SystemUI.apk\res\drawable-xhdpi folder. For lidroid extra toggles they are in the framework\lidroid-res.apk\res\drawable-hdpi folder
The toggle bg is
stat_power_bg.png
The on\off tabs are
stat_bg_on.png
stat_bg_off.png
stat_bg_ing.png
And for Tweaked custom toggles. They're gonna be the same name as for lidroid, but you'll find them in the SystemUI.apk\res\drawable-hdpi