Battery Mod Tool for Samsung Galaxy Tab 7.7 for Windows

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,906
0
Phuket, Thailand
Battery Mod Tool for Samsung Galaxy Tab 7.7 for Windows


Tested for de-odexed P6810 ROM with official XXLPP Samsung ICS 4.0.4 base only using Windows7

I am not the original creator of this mod. I modified the Battery Mod Tool v1.2 by shane77 and added the latest apktool by ibotpeaches, modified various folders/scripts to work properly on our devices. Big thanks to these devs for their contribution! Please visit their threads with a “thanks”, as I don't take any credit for any of their work, just making it work for my own device!!

Nor am I the creator of the attached PNG sets, I can't honestly remember extactly where I sourced them :eek: I'll do better in future.


Requirements

  1. Windows
  2. Java
  3. De-odexed P6810 or P6800 ROM ICS Samsung base (not tested on any other !!)
  4. Root
  5. Custom recovery
  6. 7-Zip (6a) (or similar) or root type explorer app (6b)
  7. A recent nandroid backup

Instructions

1) Copy "SystemUI.apk" to the "Input_APKs" folder

  • For P6810 XXLPP & P6800 XXLQG, download link in Post #2
  • For other : extract from your device or ROM system/app/ folder

2) Copy "framework-res.apk" to the "Input_APKs" folder

  • For P6810 XXLPP & P6800 XXLQG, download link in Post #2
  • For other : extract from your device or ROM system/framework/ folder

3) Extract & copy all 204 x Battery PNG images to the "Input_Images" folder

  • If you don't have 204, it won't work.
  • There are 101 to show battery levels from 0 to 100 and there are another 101 to show a charging animation from 0 to 100, there are an addition 2 more to show "charge_animFULL" and "battery_FULL".

4) Double-click "Mod_my_battery!.bat" and sit back and wait

  • The process should only take a couple of minutes.

5) Check the "Output" folder for your newly modded SystemUI

  • This is a modded SystemUI.apk file for if you wish to push or copy the actual apk to your phone instead.

6) Installation options

(a)
- Download Flash_Template.zip
- Do not extract - open archive with 7-Zip or similar to show system/app folder
- Drag modified SystemUi.apk inside the system/app folder & close
- Copy modified Flash_Template.zip to device internal or external sdcard
- Boot into custom recovery
- Flash zip
- Reboot​
(b)
- Copy into device system/app folder
- Ensure permissions are correct
- Boot into custom recovery
- Wipe dalvik-cache
- Reboot​



NOTE

  • If you modify ANY files within the "Working_Dir" folder, the process will not work. Do not rename, remove or add any files to this directory


I could make flashable zips for just about any battery style set, but that would take the fun out of it ;) There's no de/recompiling for you to actually do, so all you have to do it follow the steps, the tool then does it all :)

This way allows you to easily choose the set that best suits you. There are many out there, and you will find them by searching. Just make sure you have a complete 204 PNG set and names match that of the stat_sys_battery_charge.xml found in the Working_Dir. Also check that the image size is suitable for our tab.


*** Downloads in Post #2 & Battery 204 x PNG Sets in Post #3 ***


Don't like your mod?

Flash appropriate "Return to stock P68xxxxxxx Battery flashable zip" from Post #2

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,906
0
Phuket, Thailand
Mod Files For Download

Download


Battery Mod Tool


[*]
Battery Mod Tool for Samsung Galaxy Tab 7.7 for Windows


Flash Template


[*]
Flash_Template.zip


7-Zip

[*] 7-Zip


P6810 (BOTH APKs REQUIRED)

  1. De-odexed XXLPP framework-res.apk
  2. De-odexed XXLPP SystemUI.apk

[*]
Return to stock XXLPP Battery flashable zip


P6800 (BOTH APKs REQUIRED)

  1. De-odexed XXLQG framework-res.apk
  2. De-odexed XXLQG SystemUI.apk

[*]
Return to stock XXLQG Battery flashable zip


Java

[*] JDK

  1. Select "Accept License Agreement".
  2. Select "jdk-7xx-windows-xxx.exe" for your version of Windows. (Windows x86 = 32-bit, Windows x64 = 64-bit)
  3. Run installer with default settings should be fine

.
 
Last edited:

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,906
0
Phuket, Thailand
Flash_Template.zip & Returnto stock Battery flashable zip re-uploaded

Re-uploaded the Flash_Template.zip - and Return_to_stock_Battery_flashable_zip (both P6810 & P6800) due to an typo inside the updater-script not wiping the SystemUI.apk dalvik :eek:


Code:
delete("/data/dalvik-cache/[email protected]@SystemUI.apk[B][COLOR="Red"].apk[/COLOR][/B]@classes.dex");
to

Code:
delete("/data/dalvik-cache/[email protected]@[email protected]");

Sorry
.