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