Guest Redflake Posted December 3, 2012 Report Posted December 3, 2012 (edited) Found this on XDA by shayne77. Original thread here I've put the battery mod tool and all the battery images together in one rar file. Theres about 30 different battery mods. I've tried it on CM9 and Cydas Stock+ rom and works on both so should work on any rom. The zip file it creates is not the usual CWM flash zip but is based on the "universal flash tool" you can flash the battery mods with it but it takes a while to boot afterwards as you get the optimising apps on reboot. I've also included an empty CWM flash zip file so you can just put the Systemui.apk in there and use that instead (just drop it in the app folder). Although you have to put the frameworkres.apk into the battery mod tool for it to work its not required to flash it as you only have to flash the systemui.apk I take no credit for this I just collected all the stuff together. All credits to shayne77. Get the Mod tool and battery images here Instructions The Instructions - by shayne77 ============================== Please read all of this, it's not much to read and can save you alot of heartache. This tool makes modding your current ROMs battery very simple for you. I have tested the ROM I use and that is (ICS) CyanogenMod 9. It should work with Samsung Custom ROM's as well (As long as they are ICS and Deodexed) The Instructions are very simple... 1) ====== Copy "SystemUI.apk" to the "Input_APKs" folder ====== You can grab this from either; the ZIP archive for your ROM which is located in; \system\app\ of the ROMs zip file or you can copy it off your phone. (Personally, I think it's easier to grab it from your current ROMs flashable ZIP archive) 2) ====== Copy "framework-res.apk" to the "Input_APKs" folder ====== You can grab this from either; the ZIP archive for your ROM which is located in; \system\framework\ of the ROMs zip file or you can copy it off your phone. (Personally, I think it's easier to grab it from your current ROMs flashable ZIP archive) 3) ====== Copy the 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". If you have any of my current battery mod zip's, the PNGs are located in \MORPH\system\app\SystemUI.apk\res\drawable-hdpi\ in the zip archive. 4) ====== Double-click "Mod_my_battery!.bat" and sit back and wait ====== The process should only take a couple of minutes. I will explain in more detail later what is actually happening but, the process is; add current framework for apktool to use, decompile SystemUI, add files needed to show new battery mod in 1% increments, build SystemUI again, create both a flashable zip and also a raw SystemUI.apk. You can use either the flashable zip (as you have been if you have been using my battery mods or if you wish, you can copy the modded SystemUI.apk to your phone. 5) ====== Check the "Output" folder for your newly modded SystemUI ====== In the "Output" folder is either the "Flashable ZIP" file. This is exactly the same as what you would have been using from xda or there is a "Modded APK" file. This is a modded SystemUI.apk file for if you wish to push or copy the actual apk to your phone instead. Now to be honest, I only learnt how to write a batch script recently so if you get any irregular errors, let me know by PM and I will see what I can do. It should work fine though. The files I use to decompile/compile are up to date and are the latest as of today March 24th, 2012. 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 URL for Java Development Kit: http://www.oracle.co...oad-513651.html to download JDK, Simply; 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. Edited December 3, 2012 by Redflake
Guest Davidoff59 Posted December 3, 2012 Report Posted December 3, 2012 How did it work on 'Cyda's sock'?
Guest Cyda Posted December 3, 2012 Report Posted December 3, 2012 How did it work on 'Cyda's sock'? lol my sock? :huh: :P
Guest Redflake Posted December 3, 2012 Report Posted December 3, 2012 How did it work on 'Cyda's sock'? Just follow the instructions. Works sweet. If you use the battery mod zip in ouputs, it even does an undo zip when you flash it.
Guest Redflake Posted December 3, 2012 Report Posted December 3, 2012 (edited) lol my sock? :huh: :P Ha ha missed that one. Edited December 3, 2012 by Redflake
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now