Skip to content

Making a Rom compatible

Sean Hoyt edited this page Jan 23, 2015 · 11 revisions

How to make an unsupported Rom compatible with layers 1.0

AOSP Based

You will need to just cherry-pick the following commits. If you get conflicts you either have the theme engine or you have some Caf commits. (Looking at you Slim)

https://github.com/lichti1901/android_frameworks_base/commit/18d30f7a2d3204928c091949f91b7287dcf9c7c3
https://github.com/lichti1901/android_frameworks_base/commit/6c4f3012cf265ab8f2573621f5543bbab6d84067
https://github.com/lichti1901/android_frameworks_base/commit/a1c82713cd2872a14696d053cfa413f0dbb19eac

CM Based

Will take more work you will need to revert the theme engine and all of its support commits they at least say themes at the beginning of all of the theme commits. You will also need to remove the themes_common.xml from your vendor. Then all you need to do is follow the instructions for caf based.

Caf based

You will need to revert the following commits in frameworks base before cherry picking the commits mentioned in aosp based

https://github.com/LiquidSmooth/android_frameworks_base/commit/b97528cd113acd733e731efcff246fc64f234362
https://github.com/LiquidSmooth/android_frameworks_base/commit/773cb24168335b3d99c90e0c79bd678fce406c90
https://github.com/LiquidSmooth/android_frameworks_base/commit/94f53797c403473c5641ac20f375d4511cb07e32