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)
Motorola Droid RAZR M (CM11 Nightly for JB BL)
Sony Xperia SP (CM11 Nightly)
Google Nexus 7 (2013, WiFi) (CM11 Nightly)
Samsung Galaxy Gear (Null_ Build 23)
Samsung Galaxy S WiFi 4.0 (CM10.2 Unofficial
Nokia N86 8MP (RM-484 30.009 Pre-Hacked)
Multi-core smartphones are like M&Ms:
They don't melt on the store shelf... Just in your hands.