Reading another thread I found out how to successfully get the battery icons to drop by 10% increments, but when I go into settings I can not go into settings and select battery manager. It causes the settings to force close.
I must missing something somewhere. Here are my steps I took.
1. Decompile framework-res.apk
2. Edit stat_sys_battery.xml in both /drawable a drawable-hdpi.
Added in all of the stat_sys_battery.png's
3. Recompile framework-res.apk
4. Using win-rar replace META-INF and AndroidManifest.xml from the original framew res.apk
5. Pushed the framework-res.apk to my phone
Now it seems the phone functions properly, but most of all the options in settings cause settings to force close.
Any help on this matter would be greatly appreciated.
Sent from my DROIDX using DroidForums App
Sent from my DROIDX using XDA App
I personally find it hilarious that even on 3.4.2 which is the newest release, motorola still has not fixed the battery manager force close issue... theyve had like four OTA updates now since it originally came out and still nothing
is 3.4.2 an official release from Moto and Verizon?
sent from the xda premium app for android
1. Decompile framework-res.apk (save a copy for modifications later)
2. Edit stat_sys_battery.xml in both /drawable a drawable-hdpi.
3. Added in all of the stat_sys_battery.png's
4. Recompile framework-res.apk
5. Using win-rar copy everything, with the exception of the res folder, that's changed from the newframework-res.apk to the original you saved for Modding. Your goal is to end up using the ORIGINAL .apk not the recompiled one. I think you need resource.arsc and android manifest only (not sure).
6. Replace the xmls in the original fw with the new ones and do the same with the pngs. You should have slightly more pngs (additional percentages) than before.
5. Pushed the modified OLD framework-res.apk to my phone
GL
Thank you for the response. I did get it to work correctly, my big mistake, was during the recompile. I used apk manager and it asks if you would like to keep all unchanged files from the original, them makes a keep folder and you delete what you changed. And if an xml gets edited to also delete the resources file. Then use the new apk and replace the meta and androidmanifest. Works great now. Now I just need to make new battery meter that is easier to read hout or make new battery icons as these were made for
Sent from my DROIDX using XDA App
Doh! I thought you were trying to modify a themed framework-res.apk (stock framework can be decompiled/recompiled with no issues).
Glad you got it working.
i'm changed some files of the framework-res.apk and rebuild it(use apktool ) ,not sign it but zip of this file ,it wolud be work well .but when i'm copy the chended of the framework-res.apk recover the same file in the 1108031959 cm7 nightly updata file,i ;have a boot loop.what's the matter with my update file,and it seems the framework-res.apk bring about this issue .some who know this ????and how to Modify frankwork-res.apk
when you modded framework from any gb rom, you have to modded the systemUI too!
exactly what you have to modify i dont know, but surely if you use uot-dakra understanding that i explained to you!
This is an Froyo Stock Theme with White Statusbar.
I only ported the Theme from CM7 Theme ,,Retrodroid´´.
If you use this please write it down and say if you like it.
This Theme Contains the Donutlauncher.apk
Framework-res.apk
SystemUI.apk
SemcGenericUxpRes.apk
Instructions: 1. Install Donutlauncher.apk as a Normal App.
2. Copy framework-res.apk and SemcGenericUxpRes.apk to:
/system/framwork/
2.1 Set Permissions to rw-,rw-,rw- (Both .apk)
3. Copy SystemUI.apk to:
/system/app/
4. Reboot your Device.
What isn´t Working: 1. Volume is in Stock SE Style ( I will Work on this)
2.The Arrow when you are writing something and want to move coursor is
SE Stock.
If something not in Style please PM me or write it down in this Thread.
Hi all,
i am trying to recompile the Phone.apk for our phone of CM7 by using the mmm command (without changing the existing code).
After I replace the Phone.apk on the phone using adb push , the phone starts to FCs ( I have set the proper permissions as well).
I tried to reboot it but still the FCs are present and the phone application does not work.
I am able to recompile the complete ROM and flash it through Recovery successfully.
I need to mention that the Phone.apk created with mmm is around 2MB whereas the one included in the recompiled rom is around 1.1 MB.
Does anyone have any idea what I an doing wrong ? Is it logical that the two apks have different sizes?
Thanks
Chris
Hi there
I am facing a strange problem. I am decompiling resources.arsc using APK Multitool (from official site) with no problems. I then change a few colors in res\values\colors.xml. Then I recompile and delete the resources.arsc from the keep folder as instructed. The apk colpiles ok but to my surprise there is no change in the colors. I decompile it again only to find that the changes i made have been reverted.
Amusingly enough I tried APK Multitool Stable Release from this thread http://forum.xda-developers.com/showthread.php?t=2341351 And it recompiles fine and even the resources.arsc is changes (via time stamp and size) but the framework-res when pushed through adb causes bootloop.
I am stuck at this point. Any help would be greatly appreciated.
I am on a Micormax A52 with Gingerbread 2.3.7 (Stock).
Thank You