[Q] Modifying the Battery meter icons - General Topics

Howdy!
I'm trying to modify the default battery meter in my android (4.1.2).
I want to replace it with the ring,nice and stylish battery meter used in cyanogenMod.
There's currently no CyanogenMod Rom ported to my device (GT-S5282).
What I've done so far:
Locate icon resources in:
SystemUI.apk
SecSettings.apk
frameworks.jar
and some other items. I wasn't able to the find the meter's icon in these though.
Any help will be appreciated. Thanks.:cyclops:

cedroid09 said:
Howdy!
I'm trying to modify the default battery meter in my android (4.1.2).
I want to replace it with the ring,nice and stylish battery meter used in cyanogenMod.
There's currently no CyanogenMod Rom ported to my device (GT-S5282).
What I've done so far:
Locate icon resources in:
SystemUI.apk
SecSettings.apk
frameworks.jar
and some other items. I wasn't able to the find the meter's icon in these though.
Any help will be appreciated. Thanks.:cyclops:
Click to expand...
Click to collapse
As far as I remember those png files are located into framework-res.apk (then res/drawable-xhdpi) (AOSP roms though).

Related

[Q] (ask) help hacking batt status

hi, i'm sorry if i had post this question in the wrong thread.
to the point, i really want to have my battery to show the percentage in the way like 74% or 43% asa for now they are showing only 70% or 40% and so on (it shows per 10% steps)
Can anyone please tell me how can i do it or which part of the system can enable this on my phone.
I'm using Motorola XT502 atm, recently i tried to flash the Cyanogen mod gingerbread for my phone and it shows the batt % like that but all of the froyo rom i'm using are displaying the batt percentage in 10th steps.
Thank you for reading.
help please ???
download a theme for your rom
open it with 7zip
open framework-res.apk from the downloaded theme with 7zip
pull framework-res.apk from your rom
open your rom's framework-res.apk from your rom with 7zip
copy framework-res.jar from downloaded theme/system/framework to your rom's/system/framework
copy the stat_battery_%.png icons from downloaded theme's framework-res.apk/res/hdpi to your rom's framework-res.apk/res/hdpi
push framework.jar to /system/framework
push framework-res.apk to /system/framework
@svtfmook
fyi, i already got the 1% battery step in my framework-res.apk but it still shows 10% steps.
so i have to get a working 1% step at battery status ROM and inject it's framework.jar to my rom so i can have the 1% steps right?
thank's a lot buddy, i'll try it now...
no can do, still it shows per 10%

[Q] framework-res.apk / Swapping statusbar icons between ROMS

What I'm trying to do:
Extract the statusbar icons from the "Fluffy Blue Sensation" rom
http://forum.xda-developers.com/showthread.php?t=1598903
and use those icons to replace my current ones, my phone is running the ViperS 1.0.1 ROM.
I tried extracting the framework-res.apk from the Fluffy_Blue_Sensation ROM, & used that to overwrite the framework-res.apk on my phone. Which left me with a non-bootable phone, thankfully I backup often, & just restored my recent ViperS image.
My question is how can I extract the statusbar icons from Sense4.0 ROMs such as Fluffy_Blue_Sensation or Elegancia, and then import those icons into my phone to replace the ones currently being used?
After a little poking around, I found this tread.
So far, so good. I've replaced the WiFi and signal bar icons from Elegancia Sense 4.0 v2.0 with the stock HTC ones. I'm currently in the middle of doing the battery icons. Talk about tedious.
Since you back up often, you could always try UOT Kitchen. Chances are it'll fail because of how modified the framework is on these Tweaks ROMs, but hey it's worth a try.

modifying roms

Hi, newbie here. I have this Rom but I would like to transfer the notification bar, off menu and keyboard from another rom into it. How do I do it?
HotKillerZzz said:
Hi, newbie here. I have this Rom but I would like to transfer the notification bar, off menu and keyboard from another rom into it. How do I do it?
Click to expand...
Click to collapse
Unfortunately you can't just simply transfer the notification bar, and by "off menu" I assume you mean the power menu. The keyboard on the other hand should be pretty easy to transfer. To transfer the keyboard look in the ROM you want for latinime.apk or a similar named file, then take that apk and install on the other ROM you want to use it on. Now on to the harder stuff. Transferring the status bar requires de-compiling frame-work.res and making a variety of smali edits as does the power menu. You can check out these guides for a basic idea of how to accomplish this:
[MOD] 4-Way Reboot - How to (GB) (ICS)
[COMPLETE GUIDE] decompiling, theming, and recompiling JB SystemUI.apk [Jelly Bean]
If you need any more help let me know

[Q] Is it possible to install/port CM10 themes on a Deodexed Pantech Flex Rom?

Hi guys
is it possible to install/port the CM10 themes available here
http://forum.xda-developers.com/showthread.php?t=1801752
to a fully deodexed ICS stock rom for Pantech Flex rom such as this?
IceFlexSandwich
http://forum.xda-developers.com/showthread.php?t=2188436
if yes, what do i need to know so that i can apply the themes?
MechaDroid said:
Hi guys
is it possible to install/port the CM10 themes available here
http://forum.xda-developers.com/showthread.php?t=1801752
to a fully deodexed ICS stock rom for Pantech Flex rom such as this?
IceFlexSandwich
http://forum.xda-developers.com/showthread.php?t=2188436
if yes, what do i need to know so that i can apply the themes?
Click to expand...
Click to collapse
Themes for other Roms will not work for this rom. The apks that the themes replace are different than ours. if you do attempt to flash a theme from another ROM youre phone will probably end up in a boot loop.
To theme
You will need to copy these apps from /system/app folder in phone or from downloaded rom:
Settings.apk
Phone.apk
Contacts.apk
SystemUI.apk
Framework-res.apk from /system/framework
Rename the app youre wanting to theme from .apk to .apk.zip
extract the res folder to a folder anywhere with 7zip(Leave this window open)
change the icons you want in each folder(Usually hdpi and xhdpi folders except for systemui)(make sure to keep same name and size of original icon)
select all icons in the folder you are working in and simply drag and drop icons to same folder in 7zip window replacing old icons
rename .apk.zip back to .apk
push to phone via adb or make update and flash with cwm
if you did the steps correctly you will have themed an app.
Be careful with the .9 images resizing or messing with them can cause them to not display correctly
I use gimp to mod icons.
Im working on a theme myself now. Only thing that gets me is Pantech and AT&T have added alot of icons that are masking the original icons for ICS that are in the apks as well. So there is alot of modding to do to make a full theme for this ROM.
Chadw1985 said:
Themes for other Roms will not work for this rom. The apks that the themes replace are different than ours. if you do attempt to flash a theme from another ROM youre phone will probably end up in a boot loop.
To theme
You will need to copy these apps from /system/app folder in phone or from downloaded rom:
Settings.apk
Phone.apk
Contacts.apk
SystemUI.apk
Framework-res.apk from /system/framework
Rename the app youre wanting to theme from .apk to .apk.zip
extract the res folder to a folder anywhere with 7zip(Leave this window open)
change the icons you want in each folder(Usually hdpi and xhdpi folders except for systemui)(make sure to keep same name and size of original icon)
select all icons in the folder you are working in and simply drag and drop icons to same folder in 7zip window replacing old icons
rename .apk.zip back to .apk
push to phone via adb or make update and flash with cwm
if you did the steps correctly you will have themed an app.
Be careful with the .9 images resizing or messing with them can cause them to not display correctly
I use gimp to mod icons.
Im working on a theme myself now. Only thing that gets me is Pantech and AT&T have added alot of icons that are masking the original icons for ICS that are in the apks as well. So there is alot of modding to do to make a full theme for this ROM.
Click to expand...
Click to collapse
Is it possible to integrate something like the Theme Chooser(available on CM10 and AOKP) on your rom?
so that there is a direct compatibility with other CM10 themes?
MechaDroid said:
Is it possible to integrate something like the Theme Chooser(available on CM10 and AOKP) on your rom?
so that there is a direct compatibility with other CM10 themes?
Click to expand...
Click to collapse
Im sure its possible. and yes it is possible to port the themes to our phone. Atleast some of them. You would have to rewrite some of the smali files in the .apk's and .jar files and make a few other changes that will make the apps run on our phone. Thats what Im trying to do now
Chadw1985 said:
Im sure its possible. and yes it is possible to port the themes to our phone. Atleast some of them. You would have to rewrite some of the smali files in the .apk's and .jar files and make a few other changes that will make the apps run on our phone. Thats what Im trying to do now
Click to expand...
Click to collapse
The only thing i miss about your awesome Ice Flex Rom is the theme-ing capability
theme-ing and customizations are my reasons to choose android over windows Phone
there are just so many awesome flashable Themes available for CM10, its a shame that great phone like Flex can't be themed yet
http://forum.xda-developers.com/showthread.php?t=1801752
i am currently trying to read up on android basics and see what i can do myself to help you :good:

[Q] modifying the status bas of android 4.3

Hii ... I want to edit my status bar or change it. With another one of the custom rom Omni. Kitkat4.4 customized for s3 ...so I opened the systemUI using apktools and extracted it and opened the layout folder to find sooo many xml files of the. Stats bar ... so I don't know what files to edit or to copy from the other rom to the stock 4.3 which I have and is it right to change in the xml files or there is another codes that I may change ... I want to know how does it works (noting that I. Want to get all those features in the kitkat on 4.3 cause I found. Some issues I'm the. Wifi slow connection and the stock apps are missed and slow battery charging so if there is a way to fix that that would be nice from you ) please ask me if there is u decleared part in my question

Categories

Resources