[MOD][KE7] Gingerbread Stock 1% Battery - May 22nd

Search This thread

chalid

Senior Member
Jan 18, 2008
1,044
175
Opening this new thread, because the other one got way too crowded with many different files and modifications.

It's only a small mod and is based on pendos gingerbread battery modification, which he posted here: http://forum.xda-developers.com/showpost.php?p=13659496&postcount=71

Thanks for providing them.

So this is basically a stock-battery-indicator with the percentage numbers added and the charging animation being smoother. No CRT effect, no other icons changed.

batterymod.jpg


Note: THIS IS FOR KE7 ONLY!
Note 2: Backup the old file and activate USB-Debugging. Just in case ...


Install instructions
with ADB:
Code:
adb remount
adb shell stop
adb push framework-res.apk /system/framework/
adb shell chmod 644 /system/framework/framework-res.apk
adb shell start

with root explorer:
Code:
1. copy new framework-res.apk to /system/
2. change file permissions to rw-r--r-- (should be the same as for all files in system/framework -> check it!)
3. move new framework-res.apk to /system/framework/ and replace the old one
4. reboot

Copy your old framework-res.apk before doing anything, so you can go back if something goes wrong. You might encounter 2 or 3 force closes when replacing the framework. Click them away, finish the process (if you havn't already) and reboot the device. Everything should be fine from there on.
 

Attachments

  • framework-res.rar
    4.4 MB · Views: 1,866
Last edited:

enkkei

Senior Member
Jan 3, 2008
53
3
Chisinau
How to install it???
I run it from "Root Explorer" and it says "application not installed"...
Do i have to copy it over the original "framework-res"???
 

jokuvuan

Senior Member
Jul 25, 2010
57
1
Great thread, the other one "Greener SystemUI.apk" got way too messy. This could be a lot easier thread to look out for, given that people keep this strictly for the battery mods.

Any chance we could get a step by step guide for installing these mods in the first post?
 

enkkei

Senior Member
Jan 3, 2008
53
3
Chisinau
Great thread, the other one "Greener SystemUI.apk" got way too messy. This could be a lot easier thread to look out for, given that people keep this strictly for the battery mods.

Any chance we could get a step by step guide for installing these mods in the first post?

Totally agree!!! Please, give us a step by step instructions!!!
 

chalid

Senior Member
Jan 18, 2008
1,044
175
I will post a step by step guide tomorrow ... need to go to bed now. :eek:
 

RMXO

Senior Member
Feb 20, 2011
3,712
646
CA
How to install it???
I run it from "Root Explorer" and it says "application not installed"...
Do i have to copy it over the original "framework-res"???

I use Root Explorer to do all of this. Make sure you give yourself R/W to /system/framework & don't use the " "'s.

1. Copy Chalid's file to MicroSD card (you don't have to copy to your MicroSD, you can copy to sdcard if you want)
2. go to /system/framework & rename "framework-res.apk" to "framework-res.apk.old" (don't panic if you get some FC for some running apps)
3. go to /sdcard/eternal_sd & move "framework-res.apk" to /system/framework (don't panic if you get some FC's .......)
4. reboot
5. enjoy

remember to change the permission's to mimic the original "framework-res.apk".
 
  • Like
Reactions: winwiz

alexmw

Member
Mar 29, 2007
23
1
Hi, worked for me but lost all my contacts. It seems that this process removes the Google sync account. After re-syncing all is well. Thanks!
 

sjaanjean

Member
Jan 29, 2010
42
6
I wanted to try pendos tutorial using adb on my pc:

adb remount
adb shell stop
adb push framework-res.apk /system/framework/
adb shell start

I've already copied my original framework-res.apk to sd card as backup. When I type adb devices it gives my serial number as expected, but when I type in adb remount it says operation not permitted.

I've already flashed ke7 and rooted using chainfires kernel which is all working without any problems. Any suggestions?

Sent from my GT-I9100 using XDA App
 

chalid

Senior Member
Jan 18, 2008
1,044
175
Hi, worked for me but lost all my contacts. It seems that this process removes the Google sync account. After re-syncing all is well. Thanks!

Without a valid framework-res.apk in /system/framework/, even for a couple of seconds you spend renaming the files, the google account syncs will be deleted. So better replace the file right from the beginning and backing up the old before that, instead of renaming it.
 

o0sYkOo0o

Senior Member
Apr 25, 2005
91
3
Samsung Galaxy S8
Google Pixel 7
Please help ...

First of all: I am totally new in the world of Andriod.

I have not followed the instructions and now my SGS2 doesn't reboot. It got stuck on the Samsung Galaxy SII screen.

What have I done:
renamed original framework-res.apk to framework-res.apk.bak
(I FORGOT to copy the new framework-res.apk to /system/framework )
reboot SGS2
it got stuck on first screen

What can I do now??? Can someone please help me out? Thx
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Opening this new thread, because the other one got way too crowded with many different files and modifications.

    It's only a small mod and is based on pendos gingerbread battery modification, which he posted here: http://forum.xda-developers.com/showpost.php?p=13659496&postcount=71

    Thanks for providing them.

    So this is basically a stock-battery-indicator with the percentage numbers added and the charging animation being smoother. No CRT effect, no other icons changed.

    batterymod.jpg


    Note: THIS IS FOR KE7 ONLY!
    Note 2: Backup the old file and activate USB-Debugging. Just in case ...


    Install instructions
    with ADB:
    Code:
    adb remount
    adb shell stop
    adb push framework-res.apk /system/framework/
    adb shell chmod 644 /system/framework/framework-res.apk
    adb shell start

    with root explorer:
    Code:
    1. copy new framework-res.apk to /system/
    2. change file permissions to rw-r--r-- (should be the same as for all files in system/framework -> check it!)
    3. move new framework-res.apk to /system/framework/ and replace the old one
    4. reboot

    Copy your old framework-res.apk before doing anything, so you can go back if something goes wrong. You might encounter 2 or 3 force closes when replacing the framework. Click them away, finish the process (if you havn't already) and reboot the device. Everything should be fine from there on.
    1
    How to install it???
    I run it from "Root Explorer" and it says "application not installed"...
    Do i have to copy it over the original "framework-res"???

    I use Root Explorer to do all of this. Make sure you give yourself R/W to /system/framework & don't use the " "'s.

    1. Copy Chalid's file to MicroSD card (you don't have to copy to your MicroSD, you can copy to sdcard if you want)
    2. go to /system/framework & rename "framework-res.apk" to "framework-res.apk.old" (don't panic if you get some FC for some running apps)
    3. go to /sdcard/eternal_sd & move "framework-res.apk" to /system/framework (don't panic if you get some FC's .......)
    4. reboot
    5. enjoy

    remember to change the permission's to mimic the original "framework-res.apk".
    1
    First of all: I am totally new in the world of Andriod.

    I have not followed the instructions and now my SGS2 doesn't reboot. It got stuck on the Samsung Galaxy SII screen.

    What have I done:
    renamed original framework-res.apk to framework-res.apk.bak
    (I FORGOT to copy the new framework-res.apk to /system/framework )
    reboot SGS2
    it got stuck on first screen

    What can I do now??? Can someone please help me out? Thx

    you can try to make a connection to the pc. If it detects the USB-connection and USB-Debugging is activated you can ADB-push the framework file back in place. If not, you have to re-flash you phone: http://forum.xda-developers.com/showthread.php?t=1075278