New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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, 254 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 13
Posts: 1,485
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:
Two Transformer Infinity - CleanROM(Purple and Champagne)
Droid INC 4G LTE - CM10.1
Samsung Galaxy S3 16GB Blue - CleanROM
Rooted Droid Razr Purple 16GB - Stock Rooted
Rooted Droid Bionic
Retired:Original DInc CM9
Looking for new homes:Two Nook Colors: KANG CM7 flashed to EMMC.

Invite for Online Storage & File Sync With DROPBOX
 
Asterdroid
Old
#6  
Asterdroid's Avatar
Senior Member
Thanks Meter 0
Posts: 415
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 0
Posts: 415
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 13
Posts: 1,485
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:
Two Transformer Infinity - CleanROM(Purple and Champagne)
Droid INC 4G LTE - CM10.1
Samsung Galaxy S3 16GB Blue - CleanROM
Rooted Droid Razr Purple 16GB - Stock Rooted
Rooted Droid Bionic
Retired:Original DInc CM9
Looking for new homes:Two Nook Colors: KANG CM7 flashed to EMMC.

Invite for Online Storage & File Sync With DROPBOX
 
Asterdroid
Old
#10  
Asterdroid's Avatar
Senior Member
Thanks Meter 0
Posts: 415
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!


XDA PORTAL POSTS

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more