The Motorola Common project aims to support AOSP development for all Motorola devices (4.14+ for QCOM, 4.19+ for MTK) under a set of common trees. This approach was chosen in order to make bringups of new Motorola devices easier and allows fixes to be shared throughout all supported targets.
Support for individual devices is added as long as a developer steps up to create the initial trees, further development from there is trivial. As part of the moto-common project, scripts handle the detection of fingerprint and other device specific hardware in order to make bringups and device maintenance easier.
Initial support for SoC platforms can be difficult, if you are interesting in working on bringing up a new platform, feel free to contact me for assistance. Currently moto-common supports both QCOM and MTK based SoCs, limited to the platforms shown in the table at the end of this page.
Refer to the table here
Support for different ROMs is handled in device/motorola/targets where generic ROM makefiles are placed in rom/ and update_rom_device_symlinks.sh is called to create the rom_device.mk files for all devices in the devices/ directory.
Now that you have a better understanding of the Motorola Common project and its goals, the various components are listed below.
Components | Purpose |
---|---|
device/motorola/common | This is the heart of moto-common, containing the bulk of device configuration that is shared between all devices. Click here to learn more. |
device/motorola/targets | This repository contains the product makefiles for all the devices supported by moto-common, In addition ROM specific configuration is also stored here. Click here to learn more. |
device/motorola/sm4350-common | This repository contains configuration for the SM4350 (holi) platform |
device/motorola/sm4250-common | This repository contains configuration for the SM4250 (bengal) platform |
device/motorola/sm6150-common | This repository contains configuration for the SM6150 platform |
device/motorola/amogus | This repository contains configuration for the SM6125 (trinket) platform |
device/motorola/mt6768-common | This repository contains configuration for the MT6768 (4.19) platform |