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