Jump to content

Edit framework-res.apk 1.100.49


Recommended Posts

Guest davidevinavil
Posted (edited)

Hi I'm trying to edit framework-res.apk to get 100 step on battery icon on froyo 1.100.49 rom with Tecnolover kernel..

I've some problem to repack apk with apktool :/

I'm using apkmanager 4.9

Also tried with apktool

Repack fails also with un-edit framework-res

This is framework-res unpacked

http://www.multiupload.com/3VXWOXX9MX

I've edited stat_sys_battery.xml, stat_sys_battery_charge.xml and added *.png into drawable-hdpi

If someone has time to repack could be good..

This is original framework-res.apk

http://www.multiupload.com/76E4TMLMJ4

and this my edited folder and file

http://www.multiupload.com/MML1TOJ129

Edited by davidevinavil
Guest vache
Posted
Hi I'm trying to edit framework-res.apk to get 100 step on battery icon on froyo 1.100.49 rom with Tecnolover kernel..

I've some problem to repack apk with apktool :/

I'm using apkmanager 4.9

Also tried with apktool

Repack fails also with un-edit framework-res

This is framework-res unpacked

http://www.megaupload.com/?d=2QIASXN5

I've edited stat_sys_battery.xml, stat_sys_battery_charge.xml and added *.png into drawable-hdpi

If someone has time to repack could be good..

Make sure that the framework-res you used is pure stock. If it was already modded it may not work.

Guest davidevinavil
Posted
Make sure that the framework-res you used is pure stock. If it was already modded it may not work.

Ok i've made that mistake, now I'll edit first post with stock one edited but just tried to repack and give same issue :)

Guest vache
Posted
Ok i've made that mistake, now I'll edit first post with stock one edited but just tried to repack and give same issue :)

Can you post the log ?

Guest davidevinavil
Posted

Added into first post original framework-res.apk and edited file

Guest TechnoLover
Posted

acer messed up their framework so you can't edit the *.xml, the *.png shouldn't be a problem... I haven't found a way yet maybe you need to rebuilt their framework from aosp framework =/

Guest davidevinavil
Posted
acer messed up their framework so you can't edit the *.xml, the *.png shouldn't be a problem... I haven't found a way yet maybe you need to rebuilt their framework from aosp framework =/

I've repacked framework without edit and apktool give me only some warning..

Not tried to resign apk..

I'll tri later to see if it could work :blink:

Guest TechnoLover
Posted

you don't need to sign the framework-res.apk :blink: but it works last time I tried it didn't work? (: That are good news :huh:

Guest lgcmn
Posted
Hi I'm trying to edit framework-res.apk to get 100 step on battery icon on froyo 1.100.49 rom with Tecnolover kernel..

u want to add just the 1-100 battery step to framework? if yes, then post just the images of rounded battery that u add to framework and i'll try to repack it)

Guest davidevinavil
Posted (edited)
u want to add just the 1-100 battery step to framework? if yes, then post just the images of rounded battery that u add to framework and i'll try to repack it)

Images are in edited.zip look into first post

Also 20 pics for charge animation plus full charge image

Take a look also at two .xml files

Edited by davidevinavil
Guest davidevinavil
Posted (edited)
try this one)

Damn it works :blink:

Could you explain how you does and wich tools did you use?

Was right mine stast_sys_battery.xml and stat_sys_battery_charge.xml?

And obviously tanks a lot :huh:

Edited by davidevinavil
Guest lgcmn
Posted (edited)
Could you explain how you does and wich tools did you use?

i used the file attached (it has 3 xml files)..

i use apkmanager 4.8..the compiled file rename to framework-res.apk and copy META-INF and AndroidManifest.xml from original one :blink:

scbm_C_grey_number.zip

Edited by lgcmn
Guest davidevinavil
Posted (edited)

Well :blink: Now I've edit succesfully mine framework-res.apk

Using apkmanager 4.7 on ubuntu :huh:

Before I used apkmanager 4.9 on Windows XP under virtualbox :/

@Lgcmn: I've put only stat_sys_battery.xml and stat_sys_battery_charge.xml without zzz_stat_sys_battery_1.xml :/

Edited by davidevinavil
Guest Svarion
Posted

i use 7zip and it works perfectly :blink:

  • 2 months later...
Guest vickyexpired
Posted

try this one)

can i just install this framework on gingerounay 1.2 to get battery notification????

Guest vickyexpired
Posted

heyy, can someone help me???

i edited framework-res.apk,, but ended up bootloop... i want to add circle battery,, i'm using gingerounay 1.2

these some files that i have..

framework-res.rar

Guest davidevinavil
Posted

Maybe because metalounay kernel doesn't support 1% step..

Guest vickyexpired
Posted

so,, can i just change image to every 5% to get it works???

Guest davidevinavil
Posted

yes or you can change boot.img with one that support 1% battery step ;)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.