TEMP: Remove the logic for init
[GitHub/moto-9609/twrp_device_motorola_troika.git] / README.md
CommitLineData
467c5ea6 1# Device Tree for Motorola One Action/One Vision (troika, kane)
4dcb7d13 2
467c5ea6 3The Motorola One Action/One Vision (codenamed _"troika/kane"_) is a flagship smartphone from motorola.
4dcb7d13 4
5## Compile
6
481e79e0 7First download omni-9.0 tree:
4dcb7d13 8
9```
f7696fe4 10repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
481e79e0 11```
12Then add these string to .repo/manifests/remove.xml
13
4dcb7d13 14
481e79e0 15Then add these projects to .repo/local_manifests/roomservice.xml (If you don't have it, you can add them to .repo/manifest.xml):
4dcb7d13 16
17```xml
467c5ea6 18<project name="deadman96385/twrp_device_motorola_troika" path="device/motorola/troika" remote="github" revision="android-9.0" />
481e79e0 19```
20
21Now you can sync your source:
22
23```
24repo sync
4dcb7d13 25```
481e79e0 26
467c5ea6 27To automatically make the twrp installer, you need to import this commit in the build/make path: https://gerrit.omnirom.org/#/c/android_build/+/33182/
4dcb7d13 28
4dcb7d13 29Finally execute these:
30
31```
32. build/envsetup.sh
481e79e0 33export ALLOW_MISSING_DEPENDENCIES=true
34export LC_ALL=C
467c5ea6 35lunch omni_troika-eng
4dcb7d13 36mka adbd recoveryimage
37```
38
39To test it:
40
41```
467c5ea6 42fastboot boot out/target/product/troika/recovery.img
4dcb7d13 43```
8129c711 44
467c5ea6 45Kernel Source: https://github.com/deadman96385/android_kernel_motorola_exynos9610
1f79f9c4 46## Credits
467c5ea6 47Thanks to @dianlujitao for the base multidevice commit: https://github.com/TeamWin/android_device_motorola_motorola3/tree/android-9.0/init