Fixing Userdata Partition Size
[GitHub/moto-9609/twrp_device_motorola_troika.git] / README.md
CommitLineData
4dcb7d13 1# Device Tree for OnePlus 6T (fajita)
91dcf584 2
4dcb7d13 3The OnePlus 6T (codenamed _"fajita"_) is a flagship smartphone from OnePlus.
4It was released in Novemeber 2018.
5
6| Basic | Spec Sheet |
7| -----------------------:|:------------------------------------------------------------------------------------------------------------------------------ |
8| CPU | Octa-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver) |
9| Chipset | Qualcomm SDM845 Snapdragon 845 |
10| GPU | Adreno 630 |
11| Memory | 6/8 GB RAM |
12| Shipped Android Version | 9.0 |
13| Storage | 128/256 GB |
14| Battery | Non-removable Li-Po 3710 mAh battery |
15| Display | Optic AMOLED, 1080 x 2340 pixels, 19.5:9 ratio (~403 ppi density) |
16| Camera (Back) | Dual: 16 MP (f/1.7, 27mm, 1/2.6", 1.22µm, gyro-EIS, OIS) + 20 MP (16 MP effective, f/1.7, 1/2.8", 1.0µm), PDAF, dual-LED flash |
17| Camera (Front) | 16 MP (f/2.0, 25mm, 1/3", 1.0µm), gyro-EIS, Auto HDR, 1080p |
18
19Copyright 2018 - The LineageOS Project.
20
21
22
23## Compile
24
25First checkout minimal twrp with omnirom tree:
26
27```
28repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-8.1
29repo sync
30```
31
32Then add these projects to .repo/manifest.xml:
33
34```xml
35<project path="device/oneplus/fajita" name="mauronofrio/android_device_oneplus_fajita" remote="github" revision="android-8.1" />
36```
37
38To make all works you need to modify the buildinfo.sh in build/tools
39echo "ro.build.version.release=$PLATFORM_VERSION"
40echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH"
41to
42echo "ro.build.version.release_orig=$PLATFORM_VERSION"
43echo "ro.build.version.security_patch_orig=$PLATFORM_SECURITY_PATCH"
44
45And you need to increase the PLATFORM_VERSION to 16.1.0 in build/core/version_defaults.mk to override Google's anti-rollback features
46
47```
48
49Finally execute these:
50
51```
52. build/envsetup.sh
53export ALLOW_MISSING_DEPENDENCIES=true # Only if you use minimal twrp tree.
54lunch omni_fajita-eng
55mka adbd recoveryimage
56```
57
58To test it:
59
60```
61fastboot boot out/target/product/enchilada/recovery.img
62```
63## Thanks
64```