Guest Paja.HK Posted May 21, 2011 Report Share Posted May 21, 2011 I'm using the same method stated in the first post... copy the "framework-res.apk" from my phone.. decompile using APKtool 1.3.1 replace the two xml with my own.. under drawable put those image files into drawable hdpi v4 compile again ... replace the framework-res.apk inside the batt-mod.zip with the newly compiled one nandroid backup install via clockworkmod reboot, done :rolleyes: yeah, this is maybe why it not worked for me. I didn't use batt-mod.zip & install via clockwork. I always push standalone framework-res.apk to device by adb shell via clockwork. :P Link to comment Share on other sites More sharing options...
Guest brunoli Posted June 2, 2011 Report Share Posted June 2, 2011 Hi. Can anyone upload a version with toggle buttons and no music? Thanks also interested :D Link to comment Share on other sites More sharing options...
Guest 75markus Posted June 2, 2011 Report Share Posted June 2, 2011 also interested :D when you have choosen lg music in MCR kitchen, you can simply check on/off music buttons from notification in menu of lg music ... Link to comment Share on other sites More sharing options...
Guest brunoli Posted June 2, 2011 Report Share Posted June 2, 2011 that's true ! What I made... but I still want the toggle buttons for WIfi, Bt,.. :D Link to comment Share on other sites More sharing options...
Guest 75markus Posted June 2, 2011 Report Share Posted June 2, 2011 that's true ! What I made... but I still want the toggle buttons for WIfi, Bt,.. :D yeah, you keep them anyway when just hiding music controls in lg music ... Link to comment Share on other sites More sharing options...
Guest brunoli Posted June 2, 2011 Report Share Posted June 2, 2011 For Stock Theme, Black Status Bar (no toggle and music buttons) Download: batt_mod.zip(5.69MB) yes but when applied this .zip both went away ! Link to comment Share on other sites More sharing options...
Guest gin0v4 Posted June 6, 2011 Report Share Posted June 6, 2011 nandroid is a backup made with cwm, uh? Link to comment Share on other sites More sharing options...
Guest DABB Posted June 12, 2011 Report Share Posted June 12, 2011 Hey Guys, I have one question to you, the code "apktool b framework-res" doesn't work!!! I use Apktool 1.3.1 and I will compile the framework-res but nothing happened!!! Why!? Best regards DABB Link to comment Share on other sites More sharing options...
Guest wapz Posted June 19, 2011 Report Share Posted June 19, 2011 Hi guys, did a favour for you guys here is the circular battery mod for fr19b3: http://www.multiupload.com/QD0JX6207H flash with clockworkmod. Link to comment Share on other sites More sharing options...
Guest mankian Posted June 22, 2011 Report Share Posted June 22, 2011 Want to compile your own framework-res.apk with circular battery (or other mods) and having no luck with Squide's guide or UOT kitchen? - Try this :) First off I just want to say thanks to Squide for sharing this with us in the first place. This modification of Squide's guide seems to keep me out of boot loop, though it might be a little paranoid with some of the steps: --------------------------------------------------------------------------------------- Here's the tutorial about how to port your own: --------------------------------------------------------------------------------------- 1. Download "batt_mod.zip" from above for later use. 2. Download APKtool v1.4.1 from here.. APKtool Web Site (Pay attention to "Installation for noobs" and "Usage" section and you'll know how to use) 3. From your Phone, pull the "\system\framework\framework-res.apk" to your computer. (i.e. using Root Explorer copy the mentioned file to SD, then to your computer via USB mass storage) 4. Decompile the copied "framework-res.apk" using APKtool v1.4.1 (running the command "apktool d framework-res.apk" in a command box) 5. Modify "stat_sys_battery.xml" and "stat_sys_battery_charge.xml" under "framework-res\res\drawable" to suits your need. 6. Put the corresponding image files into "framework-res\res\drawable hdpi" 7. Compile the modified "framework-res" folder using APKtool v1.4.1 (running the command "apktool b -f framework-res" in a command box) 8. Locate your newly compiled "framework-res.apk" under /dist/ and... 9. Rename to framework-res.apk.zip, Use 7-zip extract the contents (and delete the framework-res.apk.zip file) 10. Re-pack the contents with 7-zip making sure the compression is set to Store (None) to create a new framework-res.apk.zip file 11. You should now have a framework.res.apk.zip your working with. Use the zipalign tool attached and run the following command on the file: zipalign -f 4 framework-res.apk.zip framework-res.apk 12. Replace the "\system\framework\framework-res.apk" in my "batt_mod.zip" with the one just created 9. Put your own "batt_mod.zip" into your external SD and install via ClockWorkMod. (Always Nandroid backup before install to stay out of bootloop) GOOD LUCK Do not apply directly after installing a ROMzipalign.zip Link to comment Share on other sites More sharing options...
Guest Squide Posted June 23, 2011 Report Share Posted June 23, 2011 The first post is now updated to use with Fr19 RC1 :) same method I used... still work. Link to comment Share on other sites More sharing options...
Guest ben1th Posted June 26, 2011 Report Share Posted June 26, 2011 some people asked for a battery mod version without music control and with toggle bar. i like this too and for me the howto worked and i want to share my configuration. i atteched the modified FR18batt_mod.zip. It is for FR18B2 with toggle bar (or at least it wont remove it). It worked for me but always do a nandroid backup and report if it doesnt work for you! http://www.megaupload.com/?d=LDR4Z6TW Link to comment Share on other sites More sharing options...
Guest AngelOfMors Posted June 26, 2011 Report Share Posted June 26, 2011 (edited) The first post is now updated to use with Fr19 RC1 :) same method I used... still work. Not work for Fr19RC1 1. Download "batt_mod.zip" from above for later use. 2. Download APKtool v1.4.1 from here.. APKtool Web Site 3. From your Phone, pull the "\system\framework\framework-res.apk" to your computer. (i.e. using Root Explorer copy the mentioned file to SD, then to your computer via USB mass storage) 4. Decompile the copied "framework-res.apk" using APKtool v1.4.1 (running the command "apktool d framework-res.apk" in a command box) 5. Modify "stat_sys_battery.xml" and "stat_sys_battery_charge.xml" under "framework-res\res\drawable" to suits your need. 6. Put the corresponding image files into "framework-res\res\drawable-hdpi" 7. Compile the modified "framework-res" folder using APKtool v1.4.1 (running the command "apktool b framework-res" in a command box) 8. Locate your newly compiled "framework-res.apk" under /dist/ and using it to replace the "\system\framework\framework-res.apk" in my "Fr19batt_mod.zip" 9. Put your own "Fr19batt_mod.zip" into your external SD and install via ClockWorkMod. (Always Nandroid backup before install to stay out of bootloop) => cicle reboot compare res old & new: in old framework-res is present: META-INF directory after 4. Decompile the copied "framework-res.apk": framework-res\META-INF isn't present Edited June 26, 2011 by AngelOfMors Link to comment Share on other sites More sharing options...
Guest mankian Posted June 26, 2011 Report Share Posted June 26, 2011 odd. im sure mine always have that directory present. are you using 7-zip? some zip apps dont add empty folders. also make sure your compression level is store Link to comment Share on other sites More sharing options...
Guest AngelOfMors Posted June 26, 2011 Report Share Posted June 26, 2011 (edited) use 7-zip and winrar: META-INF and resources.arsc is present, xml-files isn't decomp, but isn't present directorys: values-... apktool: META-INF and resources.arsc isn't present Edited June 26, 2011 by AngelOfMors Link to comment Share on other sites More sharing options...
Guest AngelOfMors Posted June 26, 2011 Report Share Posted June 26, 2011 The other metod on Create. Thank you for images resource. Link to comment Share on other sites More sharing options...
Guest Macheath Posted June 29, 2011 Report Share Posted June 29, 2011 Anybody so kind to do this percentage mod for Fr19 RC2? Link to comment Share on other sites More sharing options...
Guest Paul Posted June 29, 2011 Report Share Posted June 29, 2011 I'm pleased to say there were no framework-res changes in RC2, so the RC1 release will work fine! :) P Link to comment Share on other sites More sharing options...
Guest Pikette Posted June 29, 2011 Report Share Posted June 29, 2011 UOT Kitchen worked fine for me :) Link to comment Share on other sites More sharing options...
Guest bbvidz Posted July 3, 2011 Report Share Posted July 3, 2011 I looks that this version also turns off Toggle buttons: ui_print(""); ui_print("LG O2X MCR Fr19 Battery Percentage Mod"); ui_print(""); ui_print("For black theme with No Toggle Buttons"); show_progress(0.500000, 2); ui_print(""); ui_print("Updating..."); run_program("/sbin/busybox", "mount", "/system"); package_extract_dir("system", "/system"); unmount("/system"); show_progress(0.500000, 2); ui_print(""); ui_print("Update Completed."); But I like to use them. Could you upload just Battery Percentage Mod? Thanks Link to comment Share on other sites More sharing options...
Guest Peterfdevries Posted July 5, 2011 Report Share Posted July 5, 2011 (edited) I looks that this version also turns off Toggle buttons: ui_print(""); ui_print("LG O2X MCR Fr19 Battery Percentage Mod"); ui_print(""); ui_print("For black theme with No Toggle Buttons"); show_progress(0.500000, 2); ui_print(""); ui_print("Updating..."); run_program("/sbin/busybox", "mount", "/system"); package_extract_dir("system", "/system"); unmount("/system"); show_progress(0.500000, 2); ui_print(""); ui_print("Update Completed."); But I like to use them. Could you upload just Battery Percentage Mod? Thanks Same Here. I use the WiFi, bluetooth and the GPS button for example, can you please fix this? Edited July 9, 2011 by Peterfdevries Link to comment Share on other sites More sharing options...
Guest rollet Posted July 5, 2011 Report Share Posted July 5, 2011 I'm pleased to say there were no framework-res changes in RC2, so the RC1 release will work fine! :) P Does this mod work with FR19 Prebake? Link to comment Share on other sites More sharing options...
Guest Peterfdevries Posted July 5, 2011 Report Share Posted July 5, 2011 Does this mod work with FR19 Prebake? Yes it does! :) Link to comment Share on other sites More sharing options...
Guest Sharcy Posted July 6, 2011 Report Share Posted July 6, 2011 Hi. Can anyone upload a version with toggle buttons and no music? Thanks And can someone do that for the current FR19? Thanks! Link to comment Share on other sites More sharing options...
Guest Sharcy Posted July 10, 2011 Report Share Posted July 10, 2011 And can someone do that for the current FR19? Thanks! Nevermind, I was able to cook one with the UOT Kitchen :-). I did have to copy the update-binary though (as described in the 2nd workaround). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now