Updating patchreserve
[GitHub/moto-9609/twrp_device_motorola_troika.git] / README.md
1 # Device Tree for OnePlus 7/7 Pro/7 Pro 5G (guacamole, guacamoleb, guacamolec)
2
3 The OnePlus 7 Pro (codenamed _"guacamole"_) is a flagship smartphone from OnePlus.
4 It was released in May 2019.
5
6
7
8
9 ## Compile
10
11 First download omni-9.0 tree:
12
13 ```
14 repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
15 ```
16 Then add these string to .repo/manifests/remove.xml
17
18
19 Then add these projects to .repo/local_manifests/roomservice.xml (If you don't have it, you can add them to .repo/manifest.xml):
20
21 ```xml
22 <project name="mauronofrio/android_device_oneplus_guacamole_TWRP" path="device/oneplus/guacamole" remote="github" revision="android-9.0" />
23 ```
24
25 Now you can sync your source:
26
27 ```
28 repo sync
29 ```
30
31 To auotomatic make the twrp installer, you need to import this commit in the build/make path: https://gerrit.omnirom.org/#/c/android_build/+/33182/
32
33 Finally execute these:
34
35 ```
36 . build/envsetup.sh
37 export ALLOW_MISSING_DEPENDENCIES=true
38 export LC_ALL=C
39 lunch omni_guacamole-eng
40 mka adbd recoveryimage
41 ```
42
43 To test it:
44
45 ```
46 fastboot boot out/target/product/guacamole/recovery.img
47 ```
48
49 Kernel Source: https://gitlab.com/HolyAngel/op7
50 ## Credits
51 I want to say a big thanks to @twinnfamous
52 Thanks to @dianlujitao for the base multidevice commit: https://github.com/TeamWin/android_device_oneplus_oneplus3/tree/android-9.0/init