Jump to content

how to add new files to framework-res.apk


Guest ayden

Recommended Posts

Dear all,

I wonder that if I can modify the framework-res.apk in any devices by adding new xml files in it?

I tried to pull out the framework-res.apk from devices.

Unpack, put the file in, pack and sign with android default security key, and then push it back to device.

But the device cannot enter the Launcher. and seems to keep

I guess that's because the sign key might be different? or I might miss some steps?

Any suggestion would help.

Thank you.

Link to comment
Share on other sites

Guest BigBearMDC
Dear all,

I wonder that if I can modify the framework-res.apk in any devices by adding new xml files in it?

I tried to pull out the framework-res.apk from devices.

Unpack, put the file in, pack and sign with android default security key, and then push it back to device.

But the device cannot enter the Launcher. and seems to keep

I guess that's because the sign key might be different? or I might miss some steps?

Any suggestion would help.

Thank you.

You can't edit the xml files, or to say it better, you shouldn't touch them at all. The xml files are responsible for the whole layout of all graphics. If you change them between two devices with a different screen resolution you can figure out yourself what will happen :) What you can change are the images in the framework, and that's what is usually done when creating a new theme. Also, you shouldn't extract the framework file. Only replace the files you want to directly in the archive. If you unpack it some metadata will get lost and your phone will refuse to enter the homescreen. After that you'll have to resign the framework. It should work then :P

Best regards,

BB

Link to comment
Share on other sites

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.