Originally Posted by freemsk1
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:
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.
Google Nexus 4 (CM11 Nightly)
Google Nexus 7 (2013, WiFi) (CM11 Nightly)
Motorola Droid RAZR M (CM11 Nightly)
Motorola Photon Q 4G LTE (CM11 Nightly
HTC Incredible S (CM11 Unofficial