[Q] [help need]How to change battery icon in cm11 - Sony Xperia M

I'm using cm11 on my xperia m , trying to change status bar icons . I successfully changed wifi,signal,bluetooth icons by editting SystemUI.apk
. Now i want to change my battery icons, I'd found some battery icons in framework-res.apk, I recompiled & singned the framework-res.apk after replacing those battery icons.I created a flashable zip and flashed with that zip using CWM.But the changes made are not reflected . The battery icons wasn't changed .
I think the cm11 battery icons files are not kept in framework-res.apk, settings.apk & SystemUI.apk. help me to locate n change those battery icons

With a quick search i found this, give it a look, maybe you want to investigate it further.

Related

ARHD 9.1.0

Anyone know if there are mods to change the icons on the bar?
I've already a mod to change the battery icon but can not find the rest for this ROM. Also I've tried changing the SystemUI.apk create, but by replacing the png icons I like failure, gives an error message (SYstemUI.apk corrupt ......). thanks.

[Q] ediing SystemUI.apk

I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
HATe410 said:
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
Click to expand...
Click to collapse
Okay this is totally wrong.... lol
In order to edit any apk you need 7zip and apk manager or apk tool. And you need to properly deodex your system. Simply renaming systemui.odex to .bak will not "deodex" your ROM. I dont remember how to deodex anymore cause i dont run ROMs odexed. There are numerous threads explaining how to deodex so use search and google my friend
But you are on the right track. you could simply rename the .png files. But you have to rename them to exactly the same name as the ones which are being displayed currently. Or you could edit the status_bar.xml file and target the new .png files which is a bit more difficult but cleaner. Cause if you rename the new png files, you have to either delete or rename the old png files. Which i recommend the later.
Then you need to recompile the systemUI.apk with apk manager or apk tool (whichever you decide to use) google them both to get a better understanding of them. I dont wanna just "tell" you what exactly to do because i had to google everything myself, and in my googling i learned a lot more than what i wanted which made everything so much easier to do.
Also, when you recompile the apk, do not sign the apk. You could zip align the apk which i do to all my mods to ensure they are correct.
Hope this helped and good luck! If you need help just PM me or post in the thread. I respond to PMs quicker though. But have fun
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
HATe410 said:
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
Click to expand...
Click to collapse
I have done most of these edits that you would like to try and I will tell you this if you search google with the information you need you will find tutorials on everything you are asking for. This is what I did and how I learned these fun tasks. Everything you want to do especially in ICS can be accomplished. Also check out a site called UOT Kitchen, it may save you on a step or two. Although learning how to do it is still quite educational as well.
over it
Of course i googled these topics, i google things ALL the time lol I've also used this site as a resource for over a year, tried all the apk modification tools suggested to no avail. Not understanding the instructions given here and being a tech/computer savvy person has made me very upset. This has caused me allot of stress and loss of sleep, Gave up returned my phone to factory settings goodnight
Thanks?

Please tell me if I have the gist of it

To mod a ROM, there are a couple ways to go about it.
1. If all you want to do is replace an icon with one from another ROM, THEME or other MOD and the icons are the same size, you can simply replace them in the framework-res or SystemUI apk.
2. if you want to change something like color, text, clock centering or use custom made icons, you have to decomple the framework-res or SystemUI apk, add the icons (if that is what you are changeing) and update the .xml file, then recompile and zipalign and or sign.
Is that about right?

Change battery icon on CM12.1

Hi, i'm making a theme for CM12.1 and i think i'm tryed everything for change the battery icon in the statusbar but nothing seems to work, i look for some guides and none of them works, i managed to change the signal icons by my own, but the battery icons just don't seem to change, decompiling the CM12.1 SystemUI.apk and didn't see the batt images, on Framework-res.apk see some bat icons and changed it but doesn't work, if anyone knows how to do it, it would be highly apreciated
Also, for te names i have SystemUI (com.android.systemui) and Framework(android), please help, thanks in advance and sorry for the bad english
P.D: i don't want to use xposed or some modded apk, i want to change the battery icon with the CM12.1 theme
You can't on LP. It can only be achieved by using a mod (3Minit AFAIR).

Signal Icons

Hello,
Im trying to build a simple theme for substratum to change my status bar icons.
I was able to change wifi icon but I cant find signal icons in systemui.apk or framework-res which should be named stat_sys_signal_*/*_fully.xml and Substratum wont change the icons either
does anyone know where can I find these files and maybe tell me how to change them ?
extra useful info : Im on derpfest Rom by Adi , Android 9.
thank you so much in advance.

Categories

Resources