Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,713 Members 39,145 Now Online
XDA Developers Android and Mobile Development Forum

Hide Battery Status

Tip us?
 
dkhait
Old
#1  
Member - OP
Thanks Meter 0
Posts: 45
Join Date: Jan 2009
Default Hide Battery Status

is there a way to hide the android battery status or display the % on it? there are plenty of apps that show % but its kinda redundant to have both displaying on the task bar.

i am runing rooted stock rom. any ideas are apreciated, thanks
 
nfcrockett
Old
#2  
nfcrockett's Avatar
Senior Member
Thanks Meter 4
Posts: 143
Join Date: Dec 2009
Location: Indianapolis
You can do both with CyanogenMod. Or you can just replace the images in framework-res.apk
Device: HTC Thunderbolt
ROM: Stock
Recovery: CWM 3.0.2.4

Device: HTC DROID Incredible
ROM: CM 7 Latest Nightly
Recovery: BAmod Recovery v1.0 Red
Theme: Minimal GB

Device: Nook Color
ROM: CM7 Latest Nightly
 
nfcrockett
Old
#3  
nfcrockett's Avatar
Senior Member
Thanks Meter 4
Posts: 143
Join Date: Dec 2009
Location: Indianapolis
Here is a red round battery with percentages:
Attached Files
File Type: zip Red_Round_Battery.zip - [Click for QR Code] (75.9 KB, 267 views)
Device: HTC Thunderbolt
ROM: Stock
Recovery: CWM 3.0.2.4

Device: HTC DROID Incredible
ROM: CM 7 Latest Nightly
Recovery: BAmod Recovery v1.0 Red
Theme: Minimal GB

Device: Nook Color
ROM: CM7 Latest Nightly
 
dkhait
Old
#4  
Member - OP
Thanks Meter 0
Posts: 45
Join Date: Jan 2009
Default thanks everyone

thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
 
wpbear
Old
(Last edited by wpbear; 14th July 2010 at 05:49 PM.)
#5  
wpbear's Avatar
Senior Member
Thanks Meter 20
Posts: 1,550
Join Date: Nov 2006
Location: Columbus, GA
Quote:
Originally Posted by dkhait View Post
thank you, i just deleted the images from framework-res and installed a battery indicator from market. so now i have 1 battery with correct %. too bad i cant move it to the right
How do you do this? Do you copy the original framework-res.apk to PC and then open and remove the battery pictures then move the modified framework-res.apk back to the device and install? I tried this but the apk wont install.
Current Devices:

LG G Pad 8.3 Black - CM11
Samsung Galaxy S3 16GB Blue and Brown (Both CleanROM 7)
Rooted Droid Bionic - CM10.1
Droid INC 4G LTE - CM11
Galaxy Nexus Verizon 4G - Shiny Rom

Retired: Original DInc CM9, Nook Color: KANG CM7 flashed to EMMC, Rooted Droid Razr Purple 16GB
Sold: Transformer Infinity w/dock - CleanROMiX

Invite for Online Storage & File Sync With DROPBOX
 
Asterdroid
Old
#6  
Asterdroid's Avatar
Senior Member
Thanks Meter 1
Posts: 414
Join Date: Jun 2010
Location: Providence
Quote:
Originally Posted by nfcrockett View Post
Here is a red round battery with percentages:
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
 
dkhait
Old
#7  
Member - OP
Thanks Meter 0
Posts: 45
Join Date: Jan 2009
Quote:
Originally Posted by Asterdroid View Post
How do you install this file? I tried installing it from clockwork mod recovery, but it didn't take.
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.

adb pull /system/framework/framework-res.apk

then after injecting new images

adb push framework-res.apk /system/framework/
 
Asterdroid
Old
#8  
Asterdroid's Avatar
Senior Member
Thanks Meter 1
Posts: 414
Join Date: Jun 2010
Location: Providence
Quote:
Originally Posted by dkhait View Post
you cant install that file. you have to pull framework-res.apk from the /system/framework. then open it with 7zip and overwrite the exiting images with those. then push it back into the phone.

adb pull /system/framework/framework-res.apk

then after injecting new images

adb push framework-res.apk /system/framework/
Worked like a charm. Thanks!

Any idea where I can get my hands on red-themed 3g/location/clock/wifi/gps/alarm etc. notification icons?
 
wpbear
Old
(Last edited by wpbear; 14th July 2010 at 06:33 PM.)
#9  
wpbear's Avatar
Senior Member
Thanks Meter 20
Posts: 1,550
Join Date: Nov 2006
Location: Columbus, GA
I can't get the file to push. I am connected via USB with USB debugging on in charge only mode. At CMD prompt I can adb shell and su.

adb push framework-res.apk /system/framework/

gives error adb: not found

I have edited the file by removing some png and then saving it back to the sdk root and the sdk/tools folders.

If I get this to push do you have to then install the apk from the device?
Current Devices:

LG G Pad 8.3 Black - CM11
Samsung Galaxy S3 16GB Blue and Brown (Both CleanROM 7)
Rooted Droid Bionic - CM10.1
Droid INC 4G LTE - CM11
Galaxy Nexus Verizon 4G - Shiny Rom

Retired: Original DInc CM9, Nook Color: KANG CM7 flashed to EMMC, Rooted Droid Razr Purple 16GB
Sold: Transformer Infinity w/dock - CleanROMiX

Invite for Online Storage & File Sync With DROPBOX
 
Asterdroid
Old
#10  
Asterdroid's Avatar
Senior Member
Thanks Meter 1
Posts: 414
Join Date: Jun 2010
Location: Providence
Quote:
Originally Posted by wpbear View Post
do you have to then install the apk from the device?
-Install 7zip (just google it)
-Reboot phone into recovery.
-Connect USB cable
-Go into Partitions menu in recovery
-Mount /System
-Open your command prompt on your PC
-Change the directory to wherever your sdk/tools are located
-type the following command line: adb pull /system/framework/framework-res.apk

Now the file is in your sdk/tools folder
-Right click on framework-res.apk and open with 7zip
-Copy the files from the round battery zip folder to the corresponding folder with the 7zip archive. They will automatically overwrite
-Exit 7zip
-Back in the command prompt type the following command line: adb push framework-res.apk /system/framework/
-On your phone, unmount /system, then back out of the partitions menu and reboot your phone.

Should be all set!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Get Better Debug Data with Crash Report SDK

Developing an application is a hard and often times ungratifying task. It also requires quite a … more

Navigate to Your Favorite Places with LocationDetector

If you’re enjoying an active way of life, you probablytravel a lot, go fishing, … more

LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more