- Jul 24, 2012
- 164
- 50
While customizing the latest China Stable firmware for my Redmi Note 4 (as you guys have not had the chance to release a build from the stable branch yet), I noticed that the Xiaomi.eu ROM's don't use overlay APK's yet - they still directly replace/inject the APK resources.
Why not switch to RRO method? It is pretty darn simple. As far as I know, you could even have it structured like so:
/vendor/overlay/framework-res-de.apk
/vendor/overlay/framework-res-de_rDE.apk
/vendor/overlay/framework-res-es.apk
/vendor/overlay/Settings-de.apk
etc....
This could save a lot of buildbot time, reduce overhead/maintenance in translations, and could even remove the need to deODEX/deOAT the firmware... Or do you guys still need to make smali edits to the framework jars to get some patches done?
Why not switch to RRO method? It is pretty darn simple. As far as I know, you could even have it structured like so:
/vendor/overlay/framework-res-de.apk
/vendor/overlay/framework-res-de_rDE.apk
/vendor/overlay/framework-res-es.apk
/vendor/overlay/Settings-de.apk
etc....
This could save a lot of buildbot time, reduce overhead/maintenance in translations, and could even remove the need to deODEX/deOAT the firmware... Or do you guys still need to make smali edits to the framework jars to get some patches done?