[OnePlus 6 & 6T Cross Device Development] buddhay:
PSA: as of date there are new Official Havoc OS builds maintained by [MENTION=5969016]ClintT[/MENTION] available in the telegram channel Havoc-OS OnePlus 6/6T or on Havoc-OS@sf.net. these include both cams and twrp. builds with and without Gapps are available.

there are currently no builds of Official Havoc OS here come some works-for-me-why-not-for-you builds of Havoc-OS for Oneplus 6/6T.

The ROM is based on the Havoc-OS manifest, Illusion kernel and modified Lineage sources at the time of building.

It includes recent Urnyx's Gcam mod as well as OOSCam and Gallery.

for

Oneplus 6 - A6003 (enchilada)

Oneplus 6T - A6013 (fajita)

Disclaimer: have fun, no guarantees, your warranty is now void, there's always the sun (for at least some time from now)

Note: The Oneplus 6T (fajita) build is released completely untested, while the Oneplus 6 (enchilada) is tested and works as expected. For known issues/not working check the sections below. Feel free to drop a line below if/how it runs on Oneplus 6T (fajita) so i can update the status.

Requirements:

- you might need to update to latest stock beforehand, get the Android 10 based OxygenOS(OOS) zips over at Oneplus support

- Mauronofrio's TWRP 3.3.1+ for Oneplus 6 (enchilada), Oneplus 6T (fajita)

- backup everything before install to be on the safe side, to be extra safe backup the backups from device to a harddrive (in the case you lose access to the data partition)

- wipe data when upgrading from another ROM

DO NOT EVER WIPE SYSTEM OR VENDOR ON THE OP6/OP6T!!!!! You will loose data decryption keys up to the need to reinstall via Fastboot or MsmDownloadTool.

Installation:

Clean flash

1. boot into TWRP (Mauronofrio's TWRP suggested)

2. flash latest OOS

3. flash TWRP installer zip

4. reboot to recovery (switches active boot partition)

5. flash OOS again to make sure its on both slots

6. flash TWRP installer zip

7. reboot to recovery (switches active boot partition again)

--

8. flash ROM (Havoc-OS-*.zip)

9. flash TWRP installer zip

10. wipe data and cache

11. reboot to recovery (switches to the boot slot the ROM was just installed to)

12. flash Opengapps (optional)

13. flash Magisk (optional)(flash after setting up device)

14. reboot system (fingers crossed)

Dirty flash (when coming from earlier Havoc-OS 3.x)

1. flash Havoc & TWRP installer zips

2. reboot to recovery (switches to the boot slot the ROM was just installed to)

3. flash Gapps (optional)

4. flash Magisk (optional)

5. reboot system

Suggested apps/kernel:

- Eng.stk's unified Blu_spark kernel for OP6/6T xda thread, download

- Urnyx05's Gcam mod https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/

Not working:

dunno

Known issues:

you tell me

Download:

Oneplus 6 (enchilada) builds

Oneplus 6T (fajita) builds

Sources:

ROM-Manifest

https://github.com/Havoc-OS/android_manifest

Device trees

https://github.com/bdhay/havoc_device_oneplus_enchilada

https://github.com/bdhay/android_device_oneplus_fajita

Kernel

https://github.com/AOSiP-Devices/kernel_oneplus_sdm845

Others

see roomservice.xml below

Thanks:

to all Havoc-OS, LineageOS developers and everyone who contributed to this ROM

[MENTION=7125966]AnierinB[/MENTION] for helping to get OOSCam going

Mini-howto:

1. setup build env on a linux box as outlined on https://github.com/Havoc-OS/android_manifest, mainly install repo command from distro or google and init repository in a folder that will hold the build

mkdir -p ~/havoc
cd ~/havoc
repo init -u https://github.com/Havoc-OS/android_manifest.git -b ten

2. after 'repo init ...' save roomservice.xml with the following content

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/oneplus/enchilada" remote="github" name="bdhay/android_device_oneplus_enchilada" revision="havoc-ten" />
<project path="device/oneplus/fajita" remote="github" name="bdhay/android_device_oneplus_fajita" revision="havoc-ten" />

<project path="device/oneplus/sdm845-common" remote="github" name="bdhay/device_oneplus_sdm845-common" revision="havoc-ten" />
<project path="kernel/oneplus/sdm845" remote="github" name="AOSiP-Devices/kernel_oneplus_sdm845" revision="ten" clone-depth="1" />

<project path="vendor/oneplus" remote="github" name="bdhay/proprietary_vendor_oneplus" revision="ten" clone-depth="1" />
<project path="device/oneplus/common" remote="github" name="bdhay/device_oneplus_common" revision="ten" />

<!-- inaccessable just now, uncomment if you want the cameras below built in
<project path="vendor/addons/google/camera" remote="github" name="Evolution-X-Devices/vendor_addons_google_camera" revision="ten" />
<project path="vendor/addons/oneplus/camera" remote="github" name="Evolution-X-Devices/vendor_addons_oneplus_camera" revision="sdm845" />
-->
</manifest>

to

.repo/local_manifests/roomservice.xml

Note: the folder .repo/ should already exist, just 'mkdir .repo/local_manifests' before adding roomservice.xml

the file contains the repos making the devices known to the build tree.

3. sync the repos

repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

4. init environment

source build/envsetup.sh

5. check if device is there

breakfast enchilada
# or
breakfast fajita

and finally

6. start build

brunch enchilada
# or
brunch fajita