├── Android.bp ├── AndroidProducts.mk ├── BoardConfig.mk ├── README.md ├── audio ├── audio_policy_volumes.xml └── default_volume_tables.xml ├── board-info.txt ├── device.mk ├── extract-files.py ├── lineage.dependencies ├── lineage_enchilada.mk ├── manifest.xml ├── overlay-lineage └── lineage-sdk │ └── lineage │ └── res │ └── res │ └── values │ └── config.xml ├── overlay └── frameworks │ └── base │ ├── core │ └── res │ │ └── res │ │ ├── values │ │ └── config.xml │ │ └── xml │ │ └── power_profile.xml │ └── packages │ ├── SettingsProvider │ └── res │ │ └── values │ │ └── defaults.xml │ ├── SystemUI │ └── res │ │ ├── drawable │ │ ├── rounded_corner_bottom.xml │ │ └── rounded_corner_top.xml │ │ ├── values-sw372dp │ │ └── dimens.xml │ │ └── values │ │ └── dimens.xml │ └── overlays │ └── NoCutoutOverlay │ └── res │ └── values │ └── config.xml ├── proprietary-files.txt ├── proprietary-firmware.txt ├── rro_overlays └── WifiOverlay │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ └── values │ └── config.xml ├── setup-makefiles.py └── vendor.prop /Android.bp: -------------------------------------------------------------------------------- 1 | soong_namespace { 2 | } 3 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018-2019 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_MAKEFILES := \ 18 | $(LOCAL_DIR)/lineage_enchilada.mk 19 | -------------------------------------------------------------------------------- /BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Inherit from oneplus sdm845-common 18 | include device/oneplus/sdm845-common/BoardConfigCommon.mk 19 | 20 | DEVICE_PATH := device/oneplus/enchilada 21 | 22 | # HIDL 23 | DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml 24 | 25 | # Properties 26 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop 27 | 28 | # inherit from the proprietary version 29 | include vendor/oneplus/enchilada/BoardConfigVendor.mk 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Device Tree for OnePlus 6 (enchilada) 2 | 3 | The OnePlus 6 (codenamed _"enchilada"_) is a flagship smartphone from OnePlus. 4 | It was released in May 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 | 8.1 | 13 | | Storage | 64/128/256 GB | 14 | | Battery | Non-removable Li-Po 3300 mAh battery | 15 | | Display | Optic AMOLED, 1080 x 2280 pixels, 19:9 ratio (~402 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 | 19 | Copyright 2018 - The LineageOS Project. 20 | 21 | ![OnePlus 6](https://cdn2.gsmarena.com/vv/pics/oneplus/oneplus-6-5.jpg "OnePlus 6") 22 | 23 | 24 | ## Temporary build instructions 25 | 26 | ``` 27 | # Compiling 28 | $ m[ake|ka] bootimage systemimage 29 | 30 | # Installing 31 | $ fastboot --disable-verity --disable-verification flash vbmeta stock_vbmeta.img 32 | $ fastboot flash boot boot.img 33 | $ fastboot flash system system.img 34 | $ fastboot -w reboot 35 | ``` 36 | -------------------------------------------------------------------------------- /audio/audio_policy_volumes.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 24 | 25 | 26 | 27 | 0,-4200 28 | 33,-2800 29 | 66,-1400 30 | 100,0 31 | 32 | 33 | 0,-3400 34 | 33,-2000 35 | 66,-1000 36 | 100,0 37 | 38 | 39 | 0,-2400 40 | 33,-1600 41 | 66,-800 42 | 100,0 43 | 44 | 46 | 48 | 49 | 1,-3000 50 | 33,-2600 51 | 66,-2200 52 | 100,-1800 53 | 54 | 56 | 58 | 60 | 62 | 64 | 65 | 1,-4400 66 | 33,-2500 67 | 78,-600 68 | 100,0 69 | 70 | 72 | 74 | 76 | 77 | 1,-6100 78 | 20,-4000 79 | 60,-1650 80 | 100,-150 81 | 82 | 84 | 86 | 88 | 90 | 92 | 93 | 1,-4400 94 | 33,-2500 95 | 78,-600 96 | 100,0 97 | 98 | 100 | 102 | 104 | 106 | 107 | 1,-4400 108 | 33,-2500 109 | 78,-600 110 | 100,0 111 | 112 | 114 | 116 | 118 | 119 | 0,-4200 120 | 33,-2800 121 | 66,-1400 122 | 100,0 123 | 124 | 125 | 0,-2400 126 | 33,-1600 127 | 66,-800 128 | 100,0 129 | 130 | 131 | 0,-4200 132 | 33,-2800 133 | 66,-1400 134 | 100,0 135 | 136 | 137 | 0,-2400 138 | 33,-1600 139 | 66,-800 140 | 100,0 141 | 142 | 144 | 145 | 1,-3000 146 | 33,-2600 147 | 66,-2200 148 | 100,-1800 149 | 150 | 152 | 154 | 156 | 158 | 159 | 1,-3000 160 | 33,-2600 161 | 66,-2200 162 | 100,-1800 163 | 164 | 166 | 168 | 170 | 172 | 174 | 176 | 178 | 180 | 182 | 184 | 186 | 188 | 190 | 192 | 194 | 196 | 198 | 200 | 202 | 204 | 206 | 208 | 210 | 212 | 214 | 216 | 218 | 220 | 222 | 223 | 224 | -------------------------------------------------------------------------------- /audio/default_volume_tables.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 0,0 22 | 100,0 23 | 24 | 25 | 0,-9600 26 | 100,-9600 27 | 28 | 29 | 30 | 1,-2400 31 | 33,-1800 32 | 66,-1200 33 | 100,-600 34 | 35 | 36 | 37 | 1,-5800 38 | 20,-4000 39 | 60,-1700 40 | 100,0 41 | 42 | 43 | 44 | 1,-4950 45 | 33,-3350 46 | 66,-1700 47 | 100,0 48 | 49 | 50 | 51 | 1,-5600 52 | 25,-4100 53 | 50,-2300 54 | 100,0 55 | 56 | 57 | 58 | 1,-4950 59 | 33,-3350 60 | 66,-1700 61 | 100,0 62 | 63 | 64 | 65 | 1,-5800 66 | 20,-4000 67 | 60,-2100 68 | 100,-1000 69 | 70 | 71 | 72 | 1,-12700 73 | 20,-8000 74 | 60,-4000 75 | 100,0 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 0,-5800 85 | 20,-4000 86 | 60,-1700 87 | 100,0 88 | 89 | 90 | 91 | 92 | 0,-4950 93 | 33,-3350 94 | 66,-1700 95 | 100,0 96 | 97 | 98 | 99 | 100 | 0,-5800 101 | 20,-4000 102 | 60,-1700 103 | 100,0 104 | 105 | 106 | 107 | 108 | 0,-4950 109 | 33,-3350 110 | 66,-1700 111 | 100,0 112 | 113 | 114 | 115 | 116 | 0,-5800 117 | 20,-4000 118 | 60,-2100 119 | 100,-1000 120 | 121 | 122 | 123 | 124 | 0,-12700 125 | 20,-8000 126 | 60,-4000 127 | 100,0 128 | 129 | 130 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require board=sdm845|OnePlus6 2 | -------------------------------------------------------------------------------- /device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # 18 | # This file sets variables that control the way modules are built 19 | # thorughout the system. It should not be used to conditionally 20 | # disable makefiles (the proper mechanism to control what gets 21 | # included in a build is to use PRODUCT_PACKAGES in a product 22 | # definition file). 23 | # 24 | 25 | $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk) 26 | 27 | # Overlays 28 | DEVICE_PACKAGE_OVERLAYS += \ 29 | $(LOCAL_PATH)/overlay \ 30 | $(LOCAL_PATH)/overlay-lineage 31 | 32 | PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ 33 | $(LOCAL_PATH)/overlay/frameworks/base/packages/overlays/NoCutoutOverlay 34 | 35 | PRODUCT_PACKAGES += \ 36 | NoCutoutOverlay 37 | 38 | # Device uses high-density artwork where available 39 | PRODUCT_AAPT_CONFIG := normal 40 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi 41 | 42 | # Boot animation 43 | TARGET_SCREEN_HEIGHT := 2280 44 | TARGET_SCREEN_WIDTH := 1080 45 | 46 | # Audio 47 | PRODUCT_COPY_FILES += \ 48 | $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ 49 | $(LOCAL_PATH)/audio/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml 50 | 51 | # Lights 52 | PRODUCT_PACKAGES += \ 53 | android.hardware.light-service.lineage 54 | 55 | # Pocket mode 56 | PRODUCT_PACKAGES += \ 57 | OnePlusPocketMode 58 | 59 | # Power 60 | PRODUCT_COPY_FILES += \ 61 | system/core/libprocessgroup/profiles/cgroups_28.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \ 62 | system/core/libprocessgroup/profiles/task_profiles_28.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json 63 | 64 | # Soong namespaces 65 | PRODUCT_SOONG_NAMESPACES += \ 66 | $(LOCAL_PATH) 67 | 68 | # WiFi 69 | PRODUCT_PACKAGES += \ 70 | TargetWifiOverlay 71 | 72 | # Inherit from oneplus sdm845-common 73 | $(call inherit-product, device/oneplus/sdm845-common/common.mk) 74 | 75 | # Inherit from vendor blobs 76 | $(call inherit-product, vendor/oneplus/enchilada/enchilada-vendor.mk) 77 | -------------------------------------------------------------------------------- /extract-files.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3 2 | # 3 | # SPDX-FileCopyrightText: 2024 The LineageOS Project 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | from extract_utils.fixups_blob import ( 8 | blob_fixup, 9 | blob_fixups_user_type, 10 | ) 11 | from extract_utils.main import ( 12 | ExtractUtils, 13 | ExtractUtilsModule, 14 | ) 15 | 16 | namespace_imports = [ 17 | 'hardware/oneplus', 18 | 'vendor/oneplus/sdm845-common', 19 | ] 20 | 21 | blob_fixups: blob_fixups_user_type = { 22 | 'vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.oneplus.rc': blob_fixup() 23 | .regex_replace('@2.1-service\n', '@2.1-service.oneplus\n'), 24 | } # fmt: skip 25 | 26 | module = ExtractUtilsModule( 27 | 'enchilada', 28 | 'oneplus', 29 | namespace_imports=namespace_imports, 30 | blob_fixups=blob_fixups, 31 | add_firmware_proprietary_file=True, 32 | ) 33 | 34 | if __name__ == '__main__': 35 | utils = ExtractUtils.device_with_common( 36 | module, 'sdm845-common', module.vendor 37 | ) 38 | utils.run() 39 | -------------------------------------------------------------------------------- /lineage.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "android_device_oneplus_sdm845-common", 4 | "target_path": "device/oneplus/sdm845-common" 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /lineage_enchilada.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Inherit from those products. Most specific first. 18 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) 20 | 21 | # Inherit from enchilada device 22 | $(call inherit-product, device/oneplus/enchilada/device.mk) 23 | 24 | # Inherit some common Lineage stuff. 25 | $(call inherit-product, vendor/lineage/config/common_full_phone.mk) 26 | 27 | PRODUCT_NAME := lineage_enchilada 28 | PRODUCT_DEVICE := enchilada 29 | PRODUCT_MANUFACTURER := OnePlus 30 | PRODUCT_BRAND := OnePlus 31 | PRODUCT_MODEL := ONEPLUS A6003 32 | 33 | PRODUCT_GMS_CLIENTID_BASE := android-oneplus 34 | 35 | PRODUCT_BUILD_PROP_OVERRIDES += \ 36 | BuildDesc="OnePlus6-user 11 release-keys" \ 37 | BuildFingerprint=OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys \ 38 | DeviceName=OnePlus6 \ 39 | DeviceProduct=OnePlus6 \ 40 | SystemDevice=OnePlus6 \ 41 | SystemName=OnePlus6 42 | -------------------------------------------------------------------------------- /manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | android.hardware.keymaster 4 | hwbinder 5 | 3.0 6 | 7 | IKeymasterDevice 8 | default 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 60 | 107 61 | 62 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 19 | 20 | 22 | true 23 | 24 | 44 | 45 | 1 46 | 4 47 | 12 48 | 20 49 | 40 50 | 65 51 | 95 52 | 140 53 | 200 54 | 350 55 | 650 56 | 1300 57 | 2000 58 | 3300 59 | 6000 60 | 10000 61 | 62 | 63 | 76 | 77 | 3.5077 78 | 6.8394 79 | 15.2619 80 | 30.2619 81 | 40.671 82 | 52.3019 83 | 65.2512 84 | 77.37 85 | 90.152 86 | 100.297 87 | 110.385 88 | 135.064 89 | 160.5179 90 | 195.0267 91 | 380.2814 92 | 409.2867 93 | 427.6287 94 | 95 | 96 | 103 | 104 | 2.0482 105 | 2.7841 106 | 3.79505 107 | 4.4748 108 | 5.08 109 | 6.4233 110 | 8.0848 111 | 11.6607 112 | 13.2347 113 | 15.0676 114 | 16.8302 115 | 18.4261 116 | 20.3103 117 | 21.9042 118 | 23.5456 119 | 25.2137 120 | 27.1769 121 | 28.9571 122 | 30.5244 123 | 32.3535 124 | 34.0867 125 | 42.366 126 | 51.1309 127 | 59.52 128 | 67.744 129 | 75.9738 130 | 84.6332 131 | 94.1525 132 | 102.2207 133 | 110.4878 134 | 117.0405 135 | 124.3733 136 | 130.9928 137 | 140.4247 138 | 149.3156 139 | 157.1995 140 | 165.3651 141 | 173.2726 142 | 181.4272 143 | 189.1402 144 | 197.5334 145 | 205.6301 146 | 213.9381 147 | 222.2769 148 | 230.0891 149 | 238.6084 150 | 246.5399 151 | 255.6544 152 | 263.6221 153 | 271.9324 154 | 279.1449 155 | 288.5736 156 | 297.6628 157 | 306.1899 158 | 314.4511 159 | 322.1404 160 | 330.969 161 | 338.2251 162 | 346.2251 163 | 354.567 164 | 370.799 165 | 413.1738 166 | 415.6397 167 | 417.264 168 | 419.264 169 | 421.264 170 | 424.646 171 | 427.6287 172 | 173 | 174 | 178 | 179 | 0 180 | 1 181 | 2 182 | 3 183 | 4 184 | 5 185 | 6 186 | 7 187 | 8 188 | 9 189 | 10 190 | 11 191 | 12 192 | 13 193 | 14 194 | 15 195 | 16 196 | 17 197 | 18 198 | 19 199 | 20 200 | 25 201 | 30 202 | 35 203 | 40 204 | 45 205 | 50 206 | 55 207 | 60 208 | 65 209 | 70 210 | 75 211 | 80 212 | 85 213 | 90 214 | 95 215 | 100 216 | 105 217 | 110 218 | 115 219 | 120 220 | 125 221 | 130 222 | 135 223 | 140 224 | 145 225 | 150 226 | 155 227 | 160 228 | 165 229 | 170 230 | 174 231 | 179 232 | 184 233 | 189 234 | 194 235 | 199 236 | 204 237 | 209 238 | 214 239 | 219 240 | 224 241 | 229 242 | 234 243 | 239 244 | 244 245 | 249 246 | 255 247 | 248 | 249 | 255 | 256 | 200 257 | 200 258 | 200 259 | 200 260 | 200 261 | 200 262 | 200 263 | 200 264 | 250 265 | 300 266 | 300 267 | 300 268 | 300 269 | 300 270 | 300 271 | 400 272 | 500 273 | 274 | 275 | 281 | 282 | 200 283 | 200 284 | 200 285 | 200 286 | 200 287 | 200 288 | 200 289 | 200 290 | 300 291 | 400 292 | 400 293 | 400 294 | 400 295 | 400 296 | 400 297 | 500 298 | 500 299 | 300 | 301 | 312 | 313 | 1 314 | 4 315 | 12 316 | 20 317 | 40 318 | 65 319 | 95 320 | 140 321 | 200 322 | 350 323 | 650 324 | 1300 325 | 2000 326 | 3300 327 | 6000 328 | 10000 329 | 330 | 331 | 334 | 6 335 | 336 | 338 | 184 339 | 340 | 342 | 2 343 | 344 | 349 | 2000 350 | 4000 351 | 352 | 354 | 300% 355 | 356 | 359 | 200 360 | 361 | 362 | 8dp 363 | 364 | 376 | 377 | M 0,0 378 | L -183, 0 379 | A 24.0, 24.0, 0, 0, 1, -159.0, 22.0 380 | A 64.0, 64.0, 0, 0, 0, -95.0, 80.0 381 | L 95.0, 80.0 A 64.0, 64.0, 0, 0, 0, 159.0, 22.0 382 | A 24.0, 24.0, 0, 0, 1, 183.0, 0 383 | Z 384 | 385 | 386 | 389 | 28dp 390 | 80px 391 | 28dp 392 | 393 | 394 | true 395 | 396 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/xml/power_profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0 4 | 70 5 | 205 6 | 36 7 | 2 8 | 8 9 | 160 10 | 166 11 | 37 12 | 64 13 | 118 14 | 547 15 | 103 16 | 1 17 | 80 18 | 19 | 3 20 | 2 21 | 22 | 23 | 4 24 | 4 25 | 26 | 27 | 300000 28 | 403200 29 | 480000 30 | 576000 31 | 652800 32 | 748800 33 | 825600 34 | 902400 35 | 979200 36 | 1056000 37 | 1132800 38 | 1228800 39 | 1324800 40 | 1420800 41 | 1516800 42 | 1612800 43 | 1689600 44 | 1766400 45 | 46 | 47 | 825600 48 | 902400 49 | 979200 50 | 1056000 51 | 1132800 52 | 1209600 53 | 1286400 54 | 1363200 55 | 1459200 56 | 1536000 57 | 1612800 58 | 1689600 59 | 1766400 60 | 1843200 61 | 1920000 62 | 1996800 63 | 2092800 64 | 2169600 65 | 2246400 66 | 2323200 67 | 2400000 68 | 2476800 69 | 2553600 70 | 2649600 71 | 2803200 72 | 73 | 74 | 23 75 | 24.2 76 | 25.4 77 | 26.6 78 | 27.6 79 | 29.1 80 | 30.2 81 | 31.3 82 | 32.5 83 | 33.9 84 | 35.7 85 | 37.1 86 | 39.9 87 | 43.1 88 | 46.1 89 | 49.9 90 | 53.5 91 | 57.6 92 | 93 | 94 | 63.7 95 | 69.1 96 | 74.9 97 | 80.6 98 | 86.3 99 | 90.5 100 | 96 101 | 103 102 | 112.9 103 | 119.7 104 | 128.2 105 | 134.3 106 | 145.5 107 | 153.1 108 | 185.8 109 | 196.9 110 | 224.5 111 | 233.3 112 | 240.7 113 | 271.7 114 | 287.3 115 | 313.4 116 | 337.7 117 | 400.8 118 | 469.3 119 | 120 | 5 121 | 8 122 | 3300 123 | 124 | .0002 125 | .002 126 | .02 127 | .2 128 | 2 129 | 130 | 3300 131 | 132 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | OnePlus 6 22 | 23 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 8dp 20 | 21 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 97px 21 | 22 | 23 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/overlays/NoCutoutOverlay/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 22 | false 23 | 24 | 26 | true 27 | 28 | 30 | 31 | 60px 32 | 33 | 34 | -------------------------------------------------------------------------------- /proprietary-files.txt: -------------------------------------------------------------------------------- 1 | # All unpinned blobs below are extracted from OnePlus6Oxygen_22.J.62_OTA_0620_all_2111252336_14afec75dd6fa 2 | 3 | # ACDB 4 | odm/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb 5 | odm/etc/acdbdata/MTP/MTP_Codec_cal.acdb 6 | odm/etc/acdbdata/MTP/MTP_General_cal.acdb 7 | odm/etc/acdbdata/MTP/MTP_Global_cal.acdb 8 | odm/etc/acdbdata/MTP/MTP_Handset_cal.acdb 9 | odm/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb 10 | odm/etc/acdbdata/MTP/MTP_Headset_cal.acdb 11 | odm/etc/acdbdata/MTP/MTP_Speaker_cal.acdb 12 | odm/etc/acdbdata/MTP/MTP_workspaceFile.qwsp 13 | 14 | # Camera 15 | vendor/lib/camera/oneplus6_vstab_db_0_1080p_video_30fps.config 16 | vendor/lib/camera/oneplus6_vstab_db_0_1080p_video_60fps.config 17 | vendor/lib/camera/oneplus6_vstab_db_0_4k_video_30fps.config 18 | vendor/lib/camera/oneplus6_vstab_db_0_720p_video_30fps.config 19 | vendor/lib/camera/oneplus6_vstab_db_1_1080p_video_30fps.config 20 | vendor/lib/camera/oneplus6_vstab_db_1_720p_video_30fps.config 21 | 22 | # Fingerprint 23 | vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service:vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.oneplus 24 | vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc:vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.oneplus.rc 25 | vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.1-service.xml:vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.1-service.oneplus.xml 26 | vendor/lib64/hw/fingerprint.sdm845.so 27 | vendor/lib64/hw/goodix.fingerprint.sdm845.so 28 | vendor/lib64/com.fingerprints.extension@1.0.so 29 | vendor/lib64/fp_hal_extension.so 30 | vendor/lib64/fpc_hal_common.so 31 | vendor/lib64/fpc_hal_extension.so 32 | vendor/lib64/fpc_tac.so 33 | vendor/lib64/libgf_ca.so 34 | vendor/lib64/libgf_hal.so 35 | vendor/lib64/libgoodixfingerprintd_binder.so 36 | 37 | # Keymaster 38 | vendor/bin/hw/android.hardware.keymaster@3.0-service-qti 39 | vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc 40 | vendor/lib64/hw/android.hardware.keymaster@3.0-impl-qti.so 41 | 42 | # ODM feature list 43 | odm/etc/odm_feature_list 44 | 45 | # Sensors 46 | vendor/etc/sensors/config/sdm845_ak991x_0.json 47 | vendor/etc/sensors/config/sdm845_bmi160_0.json 48 | vendor/etc/sensors/config/sdm845_lsm6ds3c_0.json 49 | vendor/etc/sensors/config/sdm845_stk36xx_0.json 50 | 51 | # Touchscreen 52 | vendor/etc/firmware/tp/fw_synaptics_17819.img 53 | -------------------------------------------------------------------------------- /proprietary-firmware.txt: -------------------------------------------------------------------------------- 1 | # All unpinned blobs below are extracted from OnePlus6Oxygen_22.J.62_OTA_0620_all_2111252336_14afec75dd6fa 2 | 3 | LOGO.img;AB 4 | abl.img;AB 5 | aop.img;AB 6 | bluetooth.img;AB 7 | cmnlib.img;AB 8 | cmnlib64.img;AB 9 | devcfg.img;AB 10 | dsp.img;AB 11 | fw_4j1ed.img;AB 12 | fw_4u1ea.img;AB 13 | hyp.img;AB 14 | keymaster.img;AB 15 | modem.img;AB 16 | qupfw.img;AB 17 | storsec.img;AB 18 | tz.img;AB 19 | xbl.img;AB 20 | xbl_config.img;AB 21 | -------------------------------------------------------------------------------- /rro_overlays/WifiOverlay/Android.bp: -------------------------------------------------------------------------------- 1 | runtime_resource_overlay { 2 | name: "TargetWifiOverlay", 3 | product_specific: true 4 | } 5 | -------------------------------------------------------------------------------- /rro_overlays/WifiOverlay/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /rro_overlays/WifiOverlay/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | OnePlus 6 22 | 23 | -------------------------------------------------------------------------------- /setup-makefiles.py: -------------------------------------------------------------------------------- 1 | #!./extract-files.py --regenerate_makefiles 2 | -------------------------------------------------------------------------------- /vendor.prop: -------------------------------------------------------------------------------- 1 | # Bluetooth 2 | bluetooth.device.default_name=OnePlus 6 3 | 4 | # USB 5 | vendor.usb.product_string=OnePlus 6 6 | --------------------------------------------------------------------------------