Is there a guide somewhere on how I could modify framework-res myself?
Thanks in advance
1) Decompile using apktool or any tool you like (I prefer APKChanger)
2) Edit /res/values/dimens.xml, change the bold numbers in these lines to the DPI you want:
Code:
<dimen name="navigation_bar_height">[B]48[/B].0dip</dimen>
<dimen name="navigation_bar_height_landscape">[B]48[/B].0dip</dimen>
<dimen name="navigation_bar_width">[B]42[/B].0dip</dimen>
3) Recompile. Now you have the original file and the compiled one. Open both with WinRAR, drag the "resources.arsc"
from the compiled one to the original one.
Done.
The end result is the original framework-res.apk. Replace it in /system/framework/ (pay attention to permissions: rw-r--r--, 0755), reboot and all done.
Keep in mind that whenever you update your ROM, you have to modify the new ROM's framework-res again.
As for making it into a flashable ZIP... I use a pre-cooked template but you can do it with other tools.