For custom ROMsPara custom ROMs
Moto Camera Prebuilt
Build your favorite custom ROM and keep the stock Motorola camera. Shared Moto Camera 2, 3 and 4 prebuilts for Motorola devices, ready to add to your device tree. Compila tu custom ROM favorita y conserva la cámara original de Motorola. Prebuilts de Moto Camera 2, 3 y 4 para dispositivos Motorola, listos para agregar a tu árbol de dispositivo.
What's includedQué incluye
Find your deviceBusca tu dispositivo
Look up your codename to see which repo you need and what to set in your device makefile. Pick a device to get its setup below. Busca tu codename para ver qué repo necesitas y qué poner en el makefile de tu dispositivo. Elige uno para ver su configuración más abajo.
| DeviceDispositivo | Codename | Repo | Makefile settingAjuste del makefile | Android |
|---|---|---|---|---|
| Moto E (2020) | ginna |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A15 |
| Moto E6 | surfna |
MotCamera2 | TARGET_MOTCAMERA2 := denali-2 |
A15 |
| Moto E7 Plus Lenovo K12 | guam |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Moto G 5G Motorola One 5G Ace | kiev |
MotCamera4-sm8250 | TARGET_MOTCAMERA3 := kiev |
A17 |
| Moto G 5G (2023) | pnangn |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := pnangn |
A17 |
| Moto G 5G - 2024 | fogo |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := fogo |
A17 |
| Moto G 5G Plus Motorola One 5G | nairo |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Moto G Play (2021) | guamna |
MotCamera4-bengal | TARGET_MOTCAMERA3 := guamna |
A17 |
| Moto G Play (2024) | fogona |
MotCamera4-bengal | TARGET_MOTCAMERA4 := fogona |
A17 |
| Moto G Power | sofia |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Moto G Power (2021) | borneo |
MotCamera4-bengal | TARGET_MOTCAMERA3 := borneo |
A17 |
| Moto G Stylus & Moto G Pro | sofiap |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Moto G Stylus (2021) | minsk |
MotCamera4-sm7150 | TARGET_MOTCAMERA3 := minsk |
A17 |
| Moto G Stylus 5G (2021) | denver |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := denver |
A17 |
| Moto G Stylus 5G (2022) | milanf |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := milanf |
A17 |
| Moto G10 & G10 Power Lenovo K13 Note | capri |
MotCamera4-bengal | TARGET_MOTCAMERA3 := capri |
A17 |
| Moto G100 Motorola Edge S | nio |
MotCamera4-sm8250 | TARGET_MOTCAMERA3 := nio |
A17 |
| Moto G200 Motorola Edge S30 | xpeng |
MotCamera4-lahaina | TARGET_MOTCAMERA4 := xpeng |
A17 |
| Moto G30 Lenovo K13 Pro | caprip |
MotCamera4-bengal | TARGET_MOTCAMERA3 := caprip |
A17 |
| Moto G32 | devon |
MotCamera4-bengal | TARGET_MOTCAMERA4 := devon |
A17 |
| Moto G34 5G, Moto G34s & Moto G45 5G | fogos |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := fogos |
A17 |
| Moto G40 Fusion | hanoi |
MotCamera4-sm7150 | TARGET_MOTCAMERA4 := hanoi |
A17 |
| Moto G42 | hawao |
MotCamera4-bengal | TARGET_MOTCAMERA4 := hawao |
A17 |
| Moto G50 | ibiza |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := ibiza |
A17 |
| Moto G51 5G | cypfq |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := cypfq |
A17 |
| Moto G52 | rhode |
MotCamera4-bengal | TARGET_MOTCAMERA4 := rhode |
A17 |
| Moto G52j 5G | cypfr |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := cypfr |
A17 |
| Moto G53 5G, Moto G53j 5G, Moto G53s 5G & Moto G53y 5G | penang |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := penang |
A17 |
| Moto G5s Plus | sanders |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto G6 | ali |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto G6 Plus | evert |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto G60 | hanoip |
MotCamera4-sm7150 | TARGET_MOTCAMERA4 := hanoip |
A17 |
| Moto G62 5G | rhodec |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := rhodec |
A17 |
| Moto G62 5G | rhodei |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := rhodei |
A17 |
| Moto G7 | river |
MotCamera2 | TARGET_MOTCAMERA2 := denali |
A15 |
| Moto G7 Play | channel |
MotCamera2 | TARGET_MOTCAMERA2 := denali-2 |
A15 |
| Moto G7 Plus | lake |
MotCamera2 | TARGET_MOTCAMERA2 := denali |
A15 |
| Moto G7 Power | ocean |
MotCamera2 | TARGET_MOTCAMERA2 := denali-2 |
A15 |
| Moto G71 5G | corfur |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := corfur |
A17 |
| Moto G8 & Moto G Fast | rav |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Moto G8 Play | lima_32 |
MotCamera2 | TARGET_MOTCAMERA2 := jade |
A15 |
| Moto G8 Plus Motorola One Vision Plus | doha |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Moto G8 Power | sofiar |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Moto G82 5G & Moto G71s | rhodep |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := rhodep |
A17 |
| Moto G84 5G | bangkk |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := bangkk |
A17 |
| Moto G85 5G & Moto S50 Neo | malmo |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := malmo |
A17 |
| Moto G9 Play & Moto G9 Lenovo K12 Note | guamp |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Moto G9 Plus | odessa |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Moto G9 Power Lenovo K12 Pro | cebu |
MotCamera4-bengal | TARGET_MOTCAMERA3 := cebu |
A17 |
| Moto X4 | payton |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto Z2 Force & Moto Z (2018) | nash |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto Z3 | messi |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto Z3 Play | beckham |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Moto Z4 | foles |
MotCamera2 | TARGET_MOTCAMERA2 := denali-3 |
A17 |
| Motorola Defy (2021) | bathena |
MotCamera2 | TARGET_MOTCAMERA2 := nevis |
A17 |
| Motorola Edge | racer |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Motorola Edge (2021) | berlna |
MotCamera4-lahaina | TARGET_MOTCAMERA4 := berlna |
A17 |
| Motorola Edge 20 & Edge Lite Luxury Edition | berlin |
MotCamera4-lahaina | TARGET_MOTCAMERA4 := berlin |
A17 |
| Motorola Edge 20 Pro & Edge S Pro | pstar |
MotCamera4-sm8250 | TARGET_MOTCAMERA4 := pstar |
A17 |
| Motorola Edge 30 | dubai |
MotCamera4-lahaina | TARGET_MOTCAMERA4 := dubai |
A17 |
| Motorola Edge 30 Fusion Moto S30 Pro | tundra |
MotCamera4-lahaina | TARGET_MOTCAMERA4 := tundra |
A17 |
| Motorola Edge 30 Neo | miami |
MotCamera4-sm6375 | TARGET_MOTCAMERA4 := miami |
A17 |
| Motorola Edge 30 Ultra Moto X30 Ultra | eqs |
MotCamera4-sm8475 | TARGET_MOTCAMERA4 := eqs |
A17 |
| Motorola Edge 40 Pro & Edge+ (2023) Moto X40 | rtwo |
MotCamera4-sm8550 | TARGET_MOTCAMERA4 := rtwo |
A17 |
| Motorola Edge 50 Fusion | cusco |
MotCamera4-sm7435 | TARGET_MOTCAMERA4 := cusco |
A17 |
| Motorola Edge Plus | burton |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Motorola One & Motorola P30 Play | deen |
MotCamera2 | TARGET_MOTCAMERA2 := primary |
A15 |
| Motorola One 5G UW Ace | kievv |
MotCamera4-sm8250 | TARGET_MOTCAMERA4 := kievv |
A17 |
| Motorola One Action | troika |
MotCamera2 | TARGET_MOTCAMERA2 := hallasan |
A15 |
| Motorola One Fusion | astro |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A15 |
| Motorola One Fusion Plus | liber |
MotCamera2 | TARGET_MOTCAMERA2 := whitney |
A17 |
| Motorola One Hyper | def |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A17 |
| Motorola One Macro | lima |
MotCamera2 | TARGET_MOTCAMERA2 := jade |
A15 |
| Motorola One Vision & Motorola P50 | kane |
MotCamera2 | TARGET_MOTCAMERA2 := hallasan |
A15 |
| Motorola One Zoom | parker |
MotCamera2 | TARGET_MOTCAMERA2 := denali-4 |
A17 |
| Motorola Razr | olson |
MotCamera2 | TARGET_MOTCAMERA2 := logan |
A15 |
| Motorola Razr (2020) & Razr 5G | smith |
MotCamera4-sm8250 | TARGET_MOTCAMERA4 := smith |
A17 |
| Motorola ThinkPhone | bronco |
MotCamera4-sm8475 | TARGET_MOTCAMERA4 := bronco |
A17 |
No devices match. Is yours missing? Reach out on Telegram.No hay coincidencias. ¿Falta el tuyo? Escríbeme por Telegram.
SetupConfiguración
Pick your device in the table above, or choose your Android version and its repo in step 2. Run the commands from the root of your ROM source. Elige tu dispositivo en la tabla de arriba, o tu versión de Android y su repo en el paso 2. Ejecuta los comandos desde la raíz del código de tu ROM.
-
Clone the common reposClona los repos comunes
Required for every device.Necesarios para todos los dispositivos.
# Moto Camera common git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera-common.git -b android-17 vendor/motorola/MotCamera-common # Motorola Settings Provider (required for the app to work) git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotorolaSettingsProvider.git -b android-17 vendor/motorola/MotorolaSettingsProvider # Moto Camera AI common git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCameraAI-common.git -b android-17 vendor/motorola/MotCameraAI-common # Moto Signature App git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoSignatureApp.git -b android-17 vendor/motorola/MotoSignatureApp# Moto Camera common git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera-common.git -b android-15 vendor/motorola/MotCamera-common # Motorola Settings Provider (required for the app to work) git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotorolaSettingsProvider.git -b android-15 vendor/motorola/MotorolaSettingsProvider # Moto Camera AI common git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCameraAI-common.git -b android-15 vendor/motorola/MotCameraAI-common # Moto Signature App git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoSignatureApp.git -b android-15 vendor/motorola/MotoSignatureApp -
Clone the camera repos for your platformClona los repos de cámara de tu plataforma
Pick only the one that matches your device. It includes the Moto Photo Editor and Moto Camera AI repos that platform needs.Elige solo el que corresponde a tu dispositivo. Incluye los repos de Moto Photo Editor y Moto Camera AI que necesita esa plataforma.
git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2.git -b android-17 vendor/motorola/MotCamera2 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2AI.git -b android-17 vendor/motorola/MotCamera2AIgit clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm7150.git -b android-17 vendor/motorola/MotCamera4-sm7150 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2AI.git -b android-17 vendor/motorola/MotCamera2AI git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm7150.git -b android-17 vendor/motorola/MotCamera3AI-sm7150git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-bengal.git -b android-17 vendor/motorola/MotCamera4-bengal git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2AI.git -b android-17 vendor/motorola/MotCamera2AI git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-bengal.git -b android-17 vendor/motorola/MotCamera3AI-bengalgit clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm8250.git -b android-17 vendor/motorola/MotCamera4-sm8250 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2AI.git -b android-17 vendor/motorola/MotCamera2AI git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm8250.git -b android-17 vendor/motorola/MotCamera3AI-sm8250git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm6375.git -b android-17 vendor/motorola/MotCamera4-sm6375 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm6375.git -b android-17 vendor/motorola/MotCamera3AI-sm6375git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-lahaina.git -b android-17 vendor/motorola/MotCamera4-lahaina git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-17 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-lahaina.git -b android-17 vendor/motorola/MotCamera3AI-lahainagit clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm7435.git -b android-17 vendor/motorola/MotCamera4-sm7435 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm7435.git -b android-17 vendor/motorola/MotCamera3AI-sm7435git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm8475.git -b android-17 vendor/motorola/MotCamera4-sm8475 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm8475.git -b android-17 vendor/motorola/MotCamera3AI-sm8475git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera4-sm8550.git -b android-17 vendor/motorola/MotCamera4-sm8550 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera3AI-sm8550.git -b android-17 vendor/motorola/MotCamera3AI-sm8550git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2.git -b android-15 vendor/motorola/MotCamera2 git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_ARselfie.git -b android-15 vendor/motorola/ARselfie git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotoPhotoEditor.git -b android-15 vendor/motorola/MotoPhotoEditor git clone https://gitlab.com/Deivid21/proprietary_vendor_motorola_MotCamera2AI.git -b android-15 vendor/motorola/MotCamera2AI -
Add it to your device treeAgrégalo a tu árbol de dispositivo
Add the makefile setting followed by the inherit line to your device makefile (e.g.
device.mk).Agrega el ajuste del makefile y después la línea de inherit al makefile de tu dispositivo (por ejemplo,device.mk).# Moto Camera 4 TARGET_MOTCAMERA4 := rhode $(call inherit-product, vendor/motorola/MotCamera4-bengal/motcamera4.mk)NoteNotaTARGET_MOTCAMERA2takes a variant name, whileTARGET_MOTCAMERA3andTARGET_MOTCAMERA4take the device codename. Moto Camera 3 devices still inheritmotcamera4.mk. See this commit for a reference implementation.TARGET_MOTCAMERA2lleva el nombre de una variante, mientras queTARGET_MOTCAMERA3yTARGET_MOTCAMERA4llevan el codename del dispositivo. Los dispositivos con Moto Camera 3 igual heredanmotcamera4.mk. Mira este commit como ejemplo. -
BuildCompila
Build your ROM as usual — that's it. Enjoy! 😄Compila tu ROM como siempre, y listo. ¡Disfruta! 😄
Camera reposRepos de cámara
Each platform has its own camera repo. Check its README for full details.Cada plataforma tiene su propio repo de cámara. Revisa su README para ver todos los detalles.
| Repo | Moto Camera versionVersión de Moto Camera | PlatformPlataforma | SoC | Android |
|---|---|---|---|---|
| MotCamera2 | Moto Camera 2 | trinket, sdmmagpie, bengal, lito, kona | SM6125, SM6150/SM7150, SM4250/SM6115, SM7250, SM8250 | 17, 15 |
| MotCamera4-sm7150 | Moto Camera 4 & 3 | sdmmagpie | SM6150/SM7150 | 17 |
| MotCamera4-bengal | Moto Camera 4 & 3 | bengal, khaje | SM4250/SM6115, SM6225 | 17 |
| MotCamera4-sm8250 | Moto Camera 4 & 3 | lagoon, lito, kona | SM7225, SM7250, SM8250 | 17 |
| MotCamera4-sm6375 | Moto Camera 4 | holi, blair | SM4350, SM4375, SM6375 | 17 |
| MotCamera4-lahaina | Moto Camera 4 | yupik, lahaina | SM7325, SM8350 | 17 |
| MotCamera4-sm7435 | Moto Camera 4 | parrot | SM6450 | 17 |
| MotCamera4-sm8475 | Moto Camera 4 | cape | SM8475 | 17 |
| MotCamera4-sm8550 | Moto Camera 4 | kalama | SM8550 | 17 |
Support & contributingSoporte y contribuciones
Questions, bugs or a device that isn't listed? Reach me on Telegram. Maintainers of Motorola devices are welcome to use these repos, and contributions — new devices, testing, bug reports and merge requests — are appreciated. ¿Dudas, errores o un dispositivo que no aparece? Escríbeme por Telegram. Los mantenedores de dispositivos Motorola pueden usar estos repos libremente, y cualquier aporte (nuevos dispositivos, pruebas, reportes o merge requests) es bienvenido.
Disclaimer & LicenseAviso legal y licencia
All proprietary files (APKs, libraries and other prebuilt binaries) are the property of Motorola Mobility LLC. They are shared solely for personal, non-commercial use by the custom ROM community. This project is not affiliated with, endorsed by, or sponsored by Motorola Mobility LLC or Lenovo, and must not be used for any commercial or profit-making purpose.
Todos los archivos propietarios (APKs, bibliotecas y otros binarios precompilados) son propiedad de Motorola Mobility LLC. Se comparten únicamente para uso personal y no comercial de la comunidad de custom ROMs. Este proyecto no está afiliado, respaldado ni patrocinado por Motorola Mobility LLC ni por Lenovo, y no debe usarse con fines comerciales ni de lucro.
The build files and scripts (makefiles, configuration files, etc.) are licensed under the Apache License, Version 2.0.
Los archivos de compilación y scripts (makefiles, archivos de configuración, etc.) están bajo la Licencia Apache, versión 2.0.