How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Hide Battery Status

OP dkhait

14th July 2010, 04:35 AM   |  #1  
OP Member
Thanks Meter: 0
 
45 posts
Join Date:Joined: Jan 2009
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
14th July 2010, 05:57 AM   |  #2  
nfcrockett's Avatar
Senior Member
Flag Indianapolis
Thanks Meter: 4
 
143 posts
Join Date:Joined: Dec 2009
More
You can do both with CyanogenMod. Or you can just replace the images in framework-res.apk
14th July 2010, 06:01 AM   |  #3  
nfcrockett's Avatar
Senior Member
Flag Indianapolis
Thanks Meter: 4
 
143 posts
Join Date:Joined: Dec 2009
More
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)
14th July 2010, 06:02 PM   |  #4  
OP Member
Thanks Meter: 0
 
45 posts
Join Date:Joined: Jan 2009
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
14th July 2010, 06:20 PM   |  #5  
wpbear's Avatar
Senior Member
Flag Columbus, GA
Thanks Meter: 20
 
1,557 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by dkhait

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.
Last edited by wpbear; 14th July 2010 at 06:49 PM.
14th July 2010, 06:40 PM   |  #6  
Asterdroid's Avatar
Senior Member
Providence
Thanks Meter: 1
 
414 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by nfcrockett

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.
14th July 2010, 07:01 PM   |  #7  
OP Member
Thanks Meter: 0
 
45 posts
Join Date:Joined: Jan 2009
Quote:
Originally Posted by Asterdroid

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/
14th July 2010, 07:20 PM   |  #8  
Asterdroid's Avatar
Senior Member
Providence
Thanks Meter: 1
 
414 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by dkhait

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?
14th July 2010, 07:24 PM   |  #9  
wpbear's Avatar
Senior Member
Flag Columbus, GA
Thanks Meter: 20
 
1,557 posts
Join Date:Joined: Nov 2006
More
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?
Last edited by wpbear; 14th July 2010 at 07:33 PM.
14th July 2010, 07:32 PM   |  #10  
Asterdroid's Avatar
Senior Member
Providence
Thanks Meter: 1
 
414 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by wpbear

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!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes