467c5ea6 |
1 | # Device Tree for Motorola One Action/One Vision (troika, kane) |
4dcb7d13 |
2 | |
467c5ea6 |
3 | The Motorola One Action/One Vision (codenamed _"troika/kane"_) is a flagship smartphone from motorola. |
4dcb7d13 |
4 | |
5 | ## Compile |
6 | |
481e79e0 |
7 | First download omni-9.0 tree: |
4dcb7d13 |
8 | |
9 | ``` |
f7696fe4 |
10 | repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0 |
481e79e0 |
11 | ``` |
12 | Then add these string to .repo/manifests/remove.xml |
13 | |
4dcb7d13 |
14 | |
481e79e0 |
15 | Then 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 | |
21 | Now you can sync your source: |
22 | |
23 | ``` |
24 | repo sync |
4dcb7d13 |
25 | ``` |
481e79e0 |
26 | |
467c5ea6 |
27 | To 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 |
29 | Finally execute these: |
30 | |
31 | ``` |
32 | . build/envsetup.sh |
481e79e0 |
33 | export ALLOW_MISSING_DEPENDENCIES=true |
34 | export LC_ALL=C |
467c5ea6 |
35 | lunch omni_troika-eng |
4dcb7d13 |
36 | mka adbd recoveryimage |
37 | ``` |
38 | |
39 | To test it: |
40 | |
41 | ``` |
467c5ea6 |
42 | fastboot boot out/target/product/troika/recovery.img |
4dcb7d13 |
43 | ``` |
8129c711 |
44 | |
467c5ea6 |
45 | Kernel Source: https://github.com/deadman96385/android_kernel_motorola_exynos9610 |
1f79f9c4 |
46 | ## Credits |
467c5ea6 |
47 | Thanks to @dianlujitao for the base multidevice commit: https://github.com/TeamWin/android_device_motorola_motorola3/tree/android-9.0/init |