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)
Google Nexus 7 (2013, WiFi) (MultiROM V26: CM11 Nightly + Android L Dev Preview + Firefox OS 1.3)
Samsung Galaxy Gear (Null_ Build 23)
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.