PDA

View Full Version : Why won't my changes in framework-res.apk load?



ChrisPappas
08-04-2011, 03:18 PM
Working from rooted 2.3.3 (on a Droid X2, but I don't think that matters).

I have pulled /system/framework/framework-res.apk from the phone, unzipped, modified exactly one file (\res\drawable-hdpi\zz_moto_list_texture_bg.png) with photoshop, zipped back up (7-zip), zipaligned and pushed back into the /system/framework/ directory with the correct permissions. The file was not re-signed.

The phone boots without error, but the new modified file does not get loaded, the old version of the graphic remains. I have double checked and my modified /system/framework/framework-res.apk is in place. I don't know where the phone is getting the old version from.

I have tried formatting the system cache, erasing all user data via android recovery, zipped with different levels of compression for the apk file (moderate to none), same result.

I had this problem before on 2.2.2, which I thought was corrected by formatting the cache, but I guess I was wrong and it got fixed by chance. :/

Does anyone know what can be done to force framework-res.apk in the /system/framework/ directory to load?

Chris

Leach19m
08-04-2011, 03:53 PM
Have you tried using ninjamorph?

Loving me some MIUI

ChrisPappas
08-04-2011, 04:21 PM
Holy smoke! That's an awesome program! It didn't fix my problem, but it let me experiment more easily and get the answer!

In my case there was a 5x5 graphic that colored the texture. I had to change that too.

Chris

cory46
08-04-2011, 04:35 PM
Try using apkmanager or apktool to extract the images then optimize, zipalign and install

Sent from my DROIDX using Droid X Forums

LiveToPonder
08-04-2011, 05:02 PM
Try using apkmanager or apktool to extract the images then optimize, zipalign and install

Sent from my DROIDX using Droid X Forums

hahaha, cory youre too much, when i read that title i was like lets see if Cory's here...awesome

cory46
08-04-2011, 05:09 PM
hahaha, cory youre too much, when i read that title i was like lets see if Cory's here...awesome

Haha :)

Sent from my DROIDX using Droid X Forums

LiveToPonder
08-04-2011, 05:13 PM
Haha :)

Sent from my DROIDX using Droid X Forums

BTW man, i def gave VLC a whirl on 2.4, this time i got some vid, jarbled audio and an FC ;-( considering what I know you know now, i can't believe that an app that started in linux is such a pain the a for android!