====== Motorola Common Project ====== 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. ===== The Project ===== ==== Device Support ==== 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. ==== Platform Support ==== Initial support for SoC platforms can be difficult, if you are interesting in working on bringing up a new platform, feel free to contact [[https://t.me/electimon|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. === Is my device supported? === Refer to the table [[https://github.com/moto-common/android_device_motorola_targets|here]] ==== Rom Support ==== Support for different ROMs is handled in [[device/motorola/targets|device/motorola/targets]] where generic ROM makefiles are placed in [[https://github.com/moto-common/android_device_motorola_targets/tree/master/rom|rom/]] and update_rom_device_symlinks.sh is called to create the rom_device.mk files for all devices in the [[https://github.com/moto-common/android_device_motorola_targets/tree/master/devices|devices/]] directory. ===== Overview ===== Now that you have a better understanding of the Motorola Common project and its goals, the various components are listed below. ^ Components ^ Purpose ^ | [[https://github.com/moto-common/android_device_motorola_common|device/motorola/common]] | This is the heart of moto-common, containing the bulk of device configuration that is shared between all devices. Click [[device/motorola/common|here]] to learn more. | | [[https://github.com/moto-common/android_device_motorola_targets|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 [[device/motorola/targets|here]] to learn more. | | [[https://github.com/moto-common/android_device_motorola_sm4350-common|device/motorola/sm4350-common]] | This repository contains configuration for the SM4350 (holi) platform | | [[https://github.com/moto-common/android_device_motorola_sm4250-common|device/motorola/sm4250-common]] | This repository contains configuration for the SM4250 (bengal) platform | | [[https://github.com/moto-common/android_device_motorola_sm6150-common|device/motorola/sm6150-common]] | This repository contains configuration for the SM6150 platform | | [[https://github.com/moto-common/android_device_motorola_amogus|device/motorola/amogus]] | This repository contains configuration for the SM6125 (trinket) platform | | [[https://github.com/moto-common/android_device_motorola_mt6768-common|device/motorola/mt6768-common]] | This repository contains configuration for the MT6768 (4.19) platform |