Removing Battery Icon MB4 - T-Mobile Samsung Galaxy Note II

1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Picture attached of result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

svavrek said:
1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Click to expand...
Click to collapse
Note: com.android.systemui has stopped working because I'm an idiot and didnt name the file correctly... learn from my mistake LOL!

There any way u can post ur .apk I am not home and will like to try this ty

Yup. Here it is.
NOTE: I am running a T-Mobile Galaxy Note II with Frosty JB v7.5 (see my signature) - I am newer to all this stuff so use this at your own risk, again backup prior to changing anything!! I actually copied the apk that came with the ROM and made 2 backups of it and then put my new file in place, renamed it to SystemUI.apk, and over-wrote the existing one. worked like a charm.

just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??

eurohomie said:
just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??
Click to expand...
Click to collapse
I have no Idea... like I said, I am new to this stuff and NOT a developer - so edit at your own risk.

It works prefect ty

You're welcome Now I need to find out how to make this a "Mod" and flashable from recovery... I have to learn more of this stuff, I love it!

svavrek said:
1) T-Mobile (and probably others) Note 2 has to be rooted.
2) Copy your SystemUI.apk file (from system/app) to your PC.
3) Open it with WinRAR or other archiving program
4) Go to the res\drawable folder
5) Delete stat_sys_battery.xml (or rename it to .xmbak)
-- you can delete the charging one too but I like to see my stuff charging...
6) Repack the .apk using WinRAR
7) *** SAVE YOUR ORIGINAL SYSTEMUI.APK!!! ***
8) do this by renaming your existing SystemUI.apk to SystemUI.bak
9) Copy the new SystemUI.apk to your system/app folder.
10) Reboot and enjoy. Worked for me, should work for you.
DISCLAIMER - I am not responsible if you screw anything up, which is why you should ALWAYS back up your phone and the SystemUI.apk before screwing with it.
Picture attached of result.
Click to expand...
Click to collapse
thanks for this, tried your apk but center clock is blue. i decided to mod the systemui and all works. thanks

Two things.
1) I couldnt find the old post, but Foreverloco was the one a while ago that said to do it this way, so a big thanks to him also. I could not remember so I was messing with it today and remembered how to do it.
2) Also, the center clock is blue - not sure how to change that pulled it from another mod, I didnt make it centered that was from the post in themes for the deodexed addons.

svavrek said:
Two things.
1) I couldnt find the old post, but Foreverloco was the one a while ago that said to do it this way, so a big thanks to him also. I could not remember so I was messing with it today and remembered how to do it.
2) Also, the center clock is blue - not sure how to change that pulled it from another mod, I didnt make it centered that was from the post in themes for the deodexed addons.
Click to expand...
Click to collapse
here's what i did to my systemui.apk, of course big thanks to you.
View attachment 1838860

can you tell me how to move battery around, and clock
Sent from my SGH-T889 using Tapatalk 2

amorek13 said:
can you tell me how to move battery around, and clock
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
I'm doing some research now, actually, on that. I love the center clock but that was something I flashed. I want to learn how to make an entirely custom status bar up top, so that's going to be my new project (and first) I think.

let me know please would like to move the clock, i have n2 tmo, tried the apk but made my whole status bar disapear, so i went in manually and did it works fine, thank you

There's one HELL of a good guide here on all this stuff...
http://forum.xda-developers.com/showthread.php?t=1989533
and also
http://forum.xda-developers.com/showthread.php?t=1237528

I think changing the clock to center requires mod in frameworks or mod in systemUI, that means need to use apktool. Tried this once with my gnex, trial and error
Sent from my SGH-T889 using xda premium

I've been playing with it. I have decompiled and recompiled the SystemUI.apk a few times last night and this morning before work and changed around a little bit of things like font sizes and colors... just need to find out where to change the size and color of the battery percentage text and then do some nicer icons and my status bar preferences will be all good
I'd also like to modify the weatherbug apk file needed to make the temperature text in the status bar match the rest of it, because its darker than the other blue I have picked out... so we'll see this weekend how it goes.
And they just replied on the post for APKTool... http://forum.xda-developers.com/showthread.php?p=39660963#post39660963

eurohomie said:
just a quick question, If I edit stat_sys_battery to where I add maxLevels for all 100 %s and add drawables for them, would this make the 1%Mod??
Click to expand...
Click to collapse
Yes, you must add all the 100 % to the XML and also put all PNG to drawable-xhdpi, you should change also stat_sys_battery_charge.xml like stat_sys_battery.xml to make the 1% mod also available when your phone is charging.

Gave it a try worked great thanks
Sent from my Rooted Speak & Spell using xda app-developers app

Works perfect! thanks a lot!

Related

[THEME]+[ICON PACK] 4G icons for HSPA instead of H ICONS for CM7

This is a basic theme that changes the H icon for HSPA in the status bar to a 4G icon for CM7.0.2 Final and Nightly 41-42.
I've included a Flashable Zip for CWR and an Icon pack if you would rather do it yourself.
Let me know how it goes and if you like the theme.
As for special requests for 4G icons, please attach a copy of SystemUI.apk if you're on 2.3, a copy of Framework-res.apk if you're on 2.2 or a copy of the theme APK if it's a ThemeManager theme. I just cant download or find every rom or theme that is requested.
Enjoy!
Eamon
Icon Pack:
4G icons.zip
CM7:
4G-icons-theme-CM7.0.3.zip
4G-icons-theme-N66.zip
4G-icons-theme-CM7.0.2.zip
4G-icons-theme-N42.zip
4G-icons-theme-N41.zip
4G-icons-theme-CM7.0.zip
Stock 2.3.4 (deodexed):
Other Roms:
Ultimate Droid 3.3.0: 4G-icons-theme-UD330.zip
Theme Manager:
Themes edit with 4G icons: (Uninstall the original theme before installing, and reboot after installing. If Androdian or Cyanbread came pre-installed on your rom, flash this Remove.zip to uninstall them)
Androidian.apk
Cyanbread.apk
Honeybread-4.apk
Carbonite.apk
Red_Remix.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hmm... am geting webpage not available
Sent from my HTC Vision using Tapatalk
lainvalenajr said:
Hmm... am geting webpage not available
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
I fixed the links. I guess the xda app doesn't like secure sites, it adds 'HTTP://' in addition to 'https://'
Sent from my Nexus S using XDA Premium App
reddv1 said:
I fixed the links. I guess the xda app doesn't like secure sites, it adds 'HTTP://' in addition to 'https://'
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Awesome
Sent from my HTC Vision using Tapatalk
Sweet But you should make it comparable with the cyanbreadx theme aswell
Sent from my HTC Vision using XDA Premium App
If I were to have a deodexed stock rom - could you put together this for that?
I get a 4G icon until it syncs with google then I get a Green "H" is it possible that it is the androidian theme I am running that is missing the Icon??
captainreynolds said:
If I were to have a deodexed stock rom - could you put together this for that?
Click to expand...
Click to collapse
You could just use the images and copy and replace them in the apk and adb push. Back up first because playing with framework files can soft brick devices easily (boot loop)
sino8r said:
You could just use the images and copy and replace them in the apk and adb push. Back up first because playing with framework files can soft brick devices easily (boot loop)
Click to expand...
Click to collapse
I'll give that a try this evening and let you know how it works out - thanks for the advice!
captainreynolds said:
If I were to have a deodexed stock rom - could you put together this for that?
Click to expand...
Click to collapse
Pull the framework-res.apk from your rom and pm the file and I'll post it up after editing and zipaligning it. Or you can just use ninjamorph and use the icon pack.
Sent from my Nexus S using XDA Premium App
sixtninecat said:
I get a 4G icon until it syncs with google then I get a Green "H" is it possible that it is the androidian theme I am running that is missing the Icon??
Click to expand...
Click to collapse
Yes I think so, but not to familiar with how themes work.
Sent from my Nexus S using XDA Premium App
I feel like such an idiot, how do I use this? I really want it!
I atleast got adb, I tested by pushing a text file to my phone, I dont want to mess my phone up trying to apply this so what would I do to apply the 4g theme?
Thank you!
open up your zip rom folder on the computer, then go /system/framework/framework-res.apk and drag that apk file out, open that apk, best and easy with 7-zip program and put them in there, just close it up after, saves itself.. and adb push framework-res.apk /system/framework
same with Anroidian.apk and Cyanbread.apk
noodles2224 said:
open up your zip rom folder on the computer, then go /system/framework/framework-res.apk and drag that apk file out, open that apk, best and easy with 7-zip program and put them in there, just close it up after, saves itself.. and adb push framework-res.apk /system/framework
same with Anroidian.apk and Cyanbread.apk
Click to expand...
Click to collapse
uggh, im still confused..
open up my zip rom folder.. i dont have a zip rom folder..
im so lost man im sorry
whats anroidian.apk and cyanbread?
i can understand pushing, but the steps before that im lost
noodles2224 said:
open up your zip rom folder on the computer, then go /system/framework/framework-res.apk and drag that apk file out, open that apk, best and easy with 7-zip program and put them in there, just close it up after, saves itself.. and adb push framework-res.apk /system/framework
same with Anroidian.apk and Cyanbread.apk
Click to expand...
Click to collapse
I just used clockworkmod to do it, now I dont even have a notification bar anymore
melodicjunkie said:
I just used clockworkmod to do it, now I dont even have a notification bar anymore
Click to expand...
Click to collapse
What rom are using? I'll help you do it step by step.
Sent from my Nexus S using XDA Premium App
Id appreciate the help..
I'm using gingervillian 1.5 . I did a backup to get my notification bar back, sadly my back up contained stuff from like a day ago so I lost my cool ass theme I set-up, oh well I fixed it within the hour so no big deal.
melodicjunkie said:
Id appreciate the help..
I'm using gingervillian 1.5 . I did a backup to get my notification bar back, sadly my back up contained stuff from like a day ago so I lost my cool ass theme I set-up, oh well I fixed it within the hour so no big deal.
Click to expand...
Click to collapse
1. Use root explorer or adb to pull SystemUI.apk from the system/app folder
2. On your computer rename SystemUI.apk to SystemUI.apk.zip
3. Open SystemUI.apk.zip (dont extract just open archive) using 7zip and go to res\drawable-hdpi folder
4. From the 4Gicons.zip posted in the OP copy the 8 png's and paste them into the System.apk.zip in res\drawable-hdpi.
5. Rename SystemUI.apk.zip back to SystemUI.apk
6. Zipalign APK(Step not absolutely necessary but optimizes the apk) put SystemUI.apk into tools folder of AndroidSDK. Open compand prompt and run this line "zipalign -v 4 SystemUI.apk SystemUIzipaligned.apk". A new APK called SystemUIzipaligned.apk will be created in the tools folder. Rename it back to SystemUI.apk
7. Use root explorer or Adb to push SystemUI.apk back to system/app folder
8. Using root explorer long press on SystemUI.apk and select permissions, place checks to User: read and write; Group read; Others: read, leave all other unchecked. ( i dont know how to change permissions using adb, this step might not be necessary if you dont have root explorer)
8. SystemUI.apk might force close constantly after copying it back. So, turn of screen of the phone, then back on but dont unlock, then hold power button and choose power off or reboot.
9.And your done
Here's a flashable zip I made you for GingerVillian 1.5 if you dont want to go through all those steps: 4Gicons-theme-GV15.zip
reddv1 said:
1. Use root explorer or adb to pull SystemUI.apk from the system/app folder
2. On your computer rename SystemUI.apk to SystemUI.apk.zip
3. Open SystemUI.apk.zip (dont extract just open archive) using 7zip and go to res\drawable-hdpi folder
4. From the 4Gicons.zip posted in the OP copy the 8 png's and paste them into the System.apk.zip in res\drawable-hdpi.
5. Rename SystemUI.apk.zip back to SystemUI.apk
6. Zipalign APK(Step not absolutely necessary but optimizes the apk) put SystemUI.apk into tools folder of AndroidSDK. Open compand prompt and run this line "zipalign -v 4 SystemUI.apk SystemUIzipaligned.apk". A new APK called SystemUIzipaligned.apk will be created in the tools folder. Rename it back to SystemUI.apk
7. Use root explorer or Adb to push SystemUI.apk back to system/app folder
8. Using root explorer long press on SystemUI.apk and select permissions, place checks to User: read and write; Group read; Others: read, leave all other unchecked. ( i dont know how to change permissions using adb, this step might not be necessary if you dont have root explorer)
8. SystemUI.apk might force close constantly after copying it back. So, turn of screen of the phone, then back on but dont unlock, then hold power button and choose power off or reboot.
9.And your done
Here's a flashable zip I made you for GingerVillian 1.5 if you dont want to go through all those steps: 4Gicons-theme-GV15.zip
Click to expand...
Click to collapse
You are the man! Not only did you give detailed instructions that made sense, you even did it for me! You are awesome! Thanks for providing both, now it gives me an idea for future reference. I'm gonna make my own battery indicator and stuff!
sixtninecat said:
I get a 4G icon until it syncs with google then I get a Green "H" is it possible that it is the androidian theme I am running that is missing the Icon??
Click to expand...
Click to collapse
I'm having the exact same problem.
Is there anyway to correct this? I'd greatly appreciate it!

Need help editing CyanBread.apk theme

Hi, I basically want to change the Battery Icon in the Notification Bar.
Yes I replaced the .png files with the ones I wanted but the problem is, the png files I have are exact battery percentages but in my Dinc it only shows battery levels in intervals of 5's.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is the battery icon I am replacing it with. There are 134 .png's (100 battery status, 33 for battery charge, and 1 for unknown battery).
Basically my question is, how can I edit the theme so that it will show all .png files so the phone will display the exact battery percentage it is on?
This is how my phone looks so far
Thanks in advance!
I believe you'll need to edit XML files to make it pull the correct image for each 1% icon like you want. Just adding the images won't do it. I have never done this before, so maybe someone like fernando sor or Hatman (just to name a couple of themers) can help you out with that.
RMarkwald said:
I believe you'll need to edit XML files to make it pull the correct image for each 1% icon like you want. Just adding the images won't do it. I have never done this before, so maybe someone like fernando sor or Hatman (just to name a couple of themers) can help you out with that.
Click to expand...
Click to collapse
Do you have an idea of what xml file I need to edit I can't find anything that connects to the battery.
Sent from my ADR6300
eljean said:
Do you have an idea of what xml file I need to edit I can't find anything that connects to the battery.
Sent from my ADR6300
Click to expand...
Click to collapse
Maybe in framework-res - res - drawable - stat_sys_battery and stat_sys_battery_charge xml's....?
I am not running CM7/Cyanbread theme, so I'm not sure if those XML's are there.
RMarkwald said:
Maybe in framework-res - res - drawable - stat_sys_battery and stat_sys_battery_charge xml's....?
I am not running CM7/Cyanbread theme, so I'm not sure if those XML's are there.
Click to expand...
Click to collapse
Yeah is not in the Cyanbread.apk its only in the framework-res.apk... also Im kinda noobish at this sort of stuff how do I exactly edit these files?
You'd need to edit those files in the framework-res.apk to make them show. You'd need to decompile the apk file with apktool to view the XML's, then recompile it. I've decompiled framework-res, but never recompiled things with it or really made any changes.
You're best bet is to PM fernando sor or Stoney666, maybe they can help out further.
First thing is you need to decompile the apk. To get the phone to display 1% increments you will need to edit the stat_sys_battery xml file in drawable. To have the apk display your battery images you will need to define them in the android xml file in the xml folder. Once the edits are done recompile, sign the apk and install.
N-Forced said:
First thing is you need to decompile the apk. To get the phone to display 1% increments you will need to edit the stat_sys_battery xml file in drawable. To have the apk display your battery images you will need to define them in the android xml file in the xml folder. Once the edits are done recompile, sign the apk and install.
Click to expand...
Click to collapse
Will try this once I get home. Can I just open the apk using winrar and edit the xml file? Or do I need to decompile in order to read the xml file?
Sent from my ADR6300
Need to decompile first.
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
CondemnedSoul said:
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
Click to expand...
Click to collapse
Will I be able to install it by simply ADB Pushing the new Cyanbread.apk or will I have to reflash?
**This is a lot of writing sheesh, I started 10 minutes ago and I am only up to 50. Now I know how hard it is to make a theme, i really need to start donating to themers for their work lol.
CondemnedSoul said:
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
Click to expand...
Click to collapse
Any help signing the new APK? I cant seem to get this. I had just about done everything, eexcept this.
eljean said:
Any help signing the new APK? I cant seem to get this. I had just about done everything, eexcept this.
Click to expand...
Click to collapse
I've used Android Signer from PPC Geeks.
Sent from my ADR6300 using xda premium
Yes you can install it with adb or with root explorer and setting permissions. I've used android signer from ppc geeks as well on Windows.
Sent from my ADR6300 using XDA App
Thank you all. As I tried to install it however it tells me I compiled it wrong and to contact the developer or whatever.
All I changed was the stat_sys_battery and stat_sys_battery_charge xml files. I used cyanbreadx.apk and i dont want to edit framework-res on my rom just incase I mess it up.
I'm I missing something here? Do I have to edit anymore xml? Is it maybe the public.xml or android. xml?
Sent from my ADR6300 using XDA App
eljean said:
Thank you all. As I tried to install it however it tells me I compiled it wrong and to contact the developer or whatever.
All I changed was the stat_sys_battery and stat_sys_battery_charge xml files. I used cyanbreadx.apk and i dont want to edit framework-res on my rom just incase I mess it up.
I'm I missing something here? Do I have to edit anymore xml? Is it maybe the public.xml or android. xml?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Well, you could make a backup of your framework-res on your ROM by using adb shell. You can then use adb to revert it back if you screwed something up or it's unusable.
Create backup:
adb shell
cd /system/framework
cp framework-res.apk framework-res.bak
Restore backup:
adb shell
cd /system/framework
cp framework-res.bak framework-res.apk
Then you can try modifying your apk, and use adb push to put it back into /system/framework.
As far as other file editing, I'm not sure about that.
A very simple solution to your problem would be to use the theme kitchen http://uot.dakra.lt/. Just pick what battery you want from the ones provided, upload the cyanbread.apk, then install like a normal apk file.
RMarkwald said:
Well, you could make a backup of your framework-res on your ROM by using adb shell. You can then use adb to revert it back if you screwed something up or it's unusable.
Create backup:
adb shell
cd /system/framework
cp framework-res.apk framework-res.bak
Restore backup:
adb shell
cd /system/framework
cp framework-res.bak framework-res.apk
Then you can try modifying your apk, and use adb push to put it back into /system/framework.
As far as other file editing, I'm not sure about that.
Click to expand...
Click to collapse
It sent me in a bootloop, I guess I am compiling it wrong. I have no Idea what I am doing wrong. I rather edit the CyanbreadX.apk. So far I fixed the /res/drawable/stat_sys_battery.xml , /res/drawable/stat_sys_battery_charge and res/xml/Android.xml . I do not know what else I need to edit or what I am doing wrong.
Attached are the .xml files I customized.
Please if you can tell me what I did wrong and check them out.
***I changed the extension to .txt so it can attach.
N-Forced said:
A very simple solution to your problem would be to use the theme kitchen http://uot.dakra.lt/. Just pick what battery you want from the ones provided, upload the cyanbread.apk, then install like a normal apk file.
Click to expand...
Click to collapse
Anyway I can use my .png's since I spent a good minute modifying it in photoshop to get the colors I wanted?
eljean said:
Anyway I can use my .png's since I spent a good minute modifying it in photoshop to get the colors I wanted?
Click to expand...
Click to collapse
the theme kitchen allows you to define a custom color if you want.
Sent from my ADR6300 using XDA App

[Guide] Transparent background - framework-res.apk Contacts.apk [ICS-JB]

This is a simply method to set a transparent background on framework-dependent apks and Contacts.apk.
1. Using Photoshop or similar create a trasparent image (% as you wish) and save it as .png. If you insert a texture or image, use your device resolution for better results. Make two copies and rename its as "background_holo_dark.png" and "background_dial_holo_dark.png"
2. Decompile framework-res.apk. You can follow this great guide
3. Browse to res/values and open styles.xml. Search code for "<style name="Theme.Holo" parent="@style/Theme">"
4. On it, search this line "<item name="windowShowWallpaper">false</item>" (using Komodo is line 1006) and replace values with true. Save and close.
5. Browse to res/drawable-nodpi and replace existing background_holo_dark.png with your image
6. Recompile framework-res. You may refer to guide posted above
7. Using winrar or similar browse into Contacs.apk to res/drawable-nodpi and replace existing background_dial_holo_dark.png with your image (simply drag&drop, be careful to set compression to Store)
8. Replace framework-res and Contacts.apk on your device (Root explorer, adb, flash through recovery). Personally I also clear cache and dalvik cache
9. Enjoy your modded apks!
After the editing of framework-res.apk you may visit this thread to download also my transparent calendar and mms apks!
Remeber: always perform backup before replace any system file! Also, I'm no responsible for any problems that may occure on your phone
Attached you can find two transparent background 480x800
Here some screenshots (second one from esk02k)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----------------------------------------------------------------------------
P.S. Of course, this method allows you to change backgroung also with any non transparent image. You simply have to rename your two image copies as reported in point 1. Then replace the original file using winrar or similar as in point 7. You don't need to decompile framework-res.apk in this case!
Thanks but can I use 7zip
I don't like to Decompile and decompile process I think it's hard
You can use 7zip to replace image on Contacts.apk, but you need to decompile framework-res.apk to modify styles.xml.
If you follow the linked guide you will see that compile/decompile apks is not so difficult!
Sorry
What link do you mean ?
nice, thanx.
But one question, do you know how to change the color of font in contacts? ie. from black to white? like how it is in dial...
Kadhim7 said:
Sorry
What link do you mean ?
Click to expand...
Click to collapse
This one
Sorry, I've forgotten to add link on first post, fixed.
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
(using galaxy pack livewallpaper)
esk02k said:
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
Click to expand...
Click to collapse
Taken!
Hi is it possible for you to make the stock calendar background transparent??? I hate the stock look!!.
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
During last days I've replaced framework-res about one hundred of times I think, and I never lost any account. Don't know what VRT is, I usually flash new framework-res with recovery.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
Yea you can. Im using a zip I posted here. Its by Villain team and JRsoft. I haven't had any problems with it. This ones set up to replace the whole framework though so dont flash it on anything other than paranoid 1.6.
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
ruicc said:
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
Click to expand...
Click to collapse
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Many thanks, esk02k, it worked like a charm...
But, what's the difference between this one and the one i used? (F1 rom, from faryaab) Did you change anything else on this?
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
ocenis64 said:
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
Click to expand...
Click to collapse
I didn't find any "how to" about transparency on that thread...just a guy who post some pics of transparency and said it was very easy.....
So, everyone is telling "need to edit xml on contacts.apk and compile"...i'm tired of know that...it would be more useful say which files, where and what to do.
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
ocenis64 said:
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
Click to expand...
Click to collapse
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
ruicc said:
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
Click to expand...
Click to collapse
The rest is the framework See the title, you're in the right thred !
Yes, MMS.apk is transparent too.
If you don't want it, remove it from the zip.

Changing Status bar icons

is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Status Bar icons are in the SystemUI.apk in /system/app
changing icons in it is to modify this apk
I'm not sure if rom toolbox can do it or not, just to provide information
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
reddvilzz said:
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
Click to expand...
Click to collapse
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
hadidjapri said:
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
I'm using my phone to do that so that's why I need to extract it first
Sent From My BioWonder V4
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
ugore said:
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
Click to expand...
Click to collapse
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
reddvilzz said:
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
Click to expand...
Click to collapse
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
ugore said:
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
Click to expand...
Click to collapse
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
sweet LMAO can you provide the PC steps lol
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
The pc step almost the same. the pros is only that you don't need to extract the systemUI.apk just open the systemUI.apk with winrar and then just put your wanted png into the systemUI drawable-hdpi. Then put the file in your phone. Just like that.
Sent From My BioWonder V4
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
ugore said:
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
Click to expand...
Click to collapse
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
reddvilzz said:
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
ugore said:
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
Click to expand...
Click to collapse
Which png that you wanted?
Sent From My BioWonder V4
HTC Explorer
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Can i do this on stock rooted rom of HTC Explorer
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
I downloaded battery icon pack from romtoolboxpro but did not install it from there....i went into the root explorer and opened the downloaded pack of battery icon...it contains 10-20-30-40etc...percentages but not complete 1 to 100 .png percentage pictures...what should i do? Because previously my battery bar has from 1-100 percentage png format pictures ...
Sent from my GT-I8150 using xda premium
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Hay man im using rom toolbox pro but i didnt happen to make a backup before replacing the wifi icon and now i want the old one back can you provide me with a solution im using sony xperia p
help
how do i set permissions to the modified systemui.apk i am using asus memo pad 7 it has the same problem
ok so now i have found all the png files in systemui apk folder. Ive noticed there is no carrier logo in carbon is there away to add a png for it ?

[GUIDE] Changing status bar icons by editing framework-res.apk and lots more

So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in my case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Nice guide. How to change color of clock in gingerbread because white is ugly? Maybe you can add that in future.
Verstuurd van mijn GT-S5660
FlemishDroid said:
Nice guide. How to change color of clock in gingerbread because white is ugly? Maybe you can add that in future.
Verstuurd van mijn GT-S5660
Click to expand...
Click to collapse
Yes
It is a tedious process
By editing smali files of classes.dex of SystemUI.apk
BUMP
which file do you you need for notificationbar background???
jkoetsier said:
which file do you you need for notificationbar background???
Click to expand...
Click to collapse
Add @amdroid:background @ frawable/statbarbg
In statusbar tracking.xml
Then add statbarbg.png in drawable-mdpi
For gb clock u need to do smali
Devilsking has made good guide
Sent from my ST25i using xda app-developers app
Thanks man, its working!!
Sent from my GT-S5660 using xda premium
SpaceCaker said:
Add @amdroid:background @ frawable/statbarbg
In statusbar tracking.xml
Then add statbarbg.png in drawable-mdpi
For gb clock u need to do smali
Devilsking has made good guide
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
*android
BUMP
BUMP
BUMPS are unneeded, if theres nothing to say, dont do it.
Sent from my GT-S5660 using xda app-developers app
Bigger PNG's
Quick question, I know this is an old topic, but upon googling I found this and I feel that my question sort of belongs here. Not even sure if OP is still around to look at this thread, but here goes:
I swapped out a png image for the statusbar icon of an app called CoolSymbols (not using this guide, but using APK Multi tool, but I imagine that the png sizes will have to be the same). Now, this app had a quite ugly statusbar icon, with jagged edges. I replaced it by a circle icon. This circle is pretty much the same size as the previous icon, so the icon looks jagged as well.
Here is the question: Do I simply make a bigger png image, so it will get cropped <---- doubt this
or do I create another folder like res/drawable-hdpi, but for xxhdpi (drawable-xxhdpi???), and if so will that fix the problem, or will I also have to point to that folder somewhere in another file <--- probably the way to go
I hope someone can help me out here!
(PS: I hope my issue is clear from the text above, I don't have a possibility to post proper screenshots until tomorrow, but they will be provided if needed)
(Also I'm sorry if there may have been a more recent topic about this, then I totally missed this!)
JaySilverMusiq said:
Quick question, I know this is an old topic, but upon googling I found this and I feel that my question sort of belongs here. Not even sure if OP is still around to look at this thread, but here goes:
I swapped out a png image for the statusbar icon of an app called CoolSymbols (not using this guide, but using APK Multi tool, but I imagine that the png sizes will have to be the same). Now, this app had a quite ugly statusbar icon, with jagged edges. I replaced it by a circle icon. This circle is pretty much the same size as the previous icon, so the icon looks jagged as well.
Here is the question: Do I simply make a bigger png image, so it will get cropped <---- doubt this
or do I create another folder like res/drawable-hdpi, but for xxhdpi (drawable-xxhdpi???), and if so will that fix the problem, or will I also have to point to that folder somewhere in another file <--- probably the way to go
I hope someone can help me out here!
(PS: I hope my issue is clear from the text above, I don't have a possibility to post proper screenshots until tomorrow, but they will be provided if needed)
(Also I'm sorry if there may have been a more recent topic about this, then I totally missed this!)
Click to expand...
Click to collapse
You need to create an image of correct pixels according to your phone's dpi
Have a look here - http://developer.android.com/design/style/iconography.html

Categories

Resources