ok, their are numerous ways to edit the framework-res.apk and any other .apk file, if your simply replacing a like for like file ie "res/drawable-ldpi/ic_jog_dial_unlock" for example you can use 7-Zip to drag and drop replacement files, the modified file should ok to use.....if however you need to modify .xml`s (example res/values/arrays.xml) you need to decompile the .apk file (i use Apk Multi-Tool to decompile/recompile and Notepad ++ to edit .xml`s and smali`s to change certain values)........make backups of the original source rom or .apk your working on, always make backups of installed roms with CWM BEFORE you install a modified rom or push a modified .apk file via ADB.........
useful links http://forum.xda-dev...d.php?t=1136625
editing .apks for smali fileshttp://apkmultitool.com/
for editing. decompiling/recompiling and a bunch of other stuffhttp://notepad-plus-plus.org/
notepad++ for editing .xml* and or smali files
*NOTE: when editing .xml`s only change values that are in BLACK
hope it helps and their is alot to learn, but basic editing is quite easy
BASIC cmd commands to use with ADB on a Windows based computer system:
you want to pull an .apk from a rom you currently have installed: example framework-res.apk
open cmd window and type:
adb pull /system/framework/framework-res.apk
the pulled file will be located in the C:/Users/YOUR-USER-NAME/
to push a modified .apk file....example: location of modified file on your computer (push and pull same location) C:/Users/YOUR-USER-NAME/framework-res.apk
adb push framework-res.apk /system/framework/framework-res.apk
NOTE .apk file names are case sensitive.......
for apps its basically the same command just different folder location on phone, instead its /system/apps/whatever.apk to push n pull files
Edited by Racerboy, 23 January 2012 - 08:56 PM.