build havoc

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

The ROM is based on the Havoc-OS manifest, LineageOS kernel and chipset sources at the time of building.

for
Oneplus 6 - A6000, A6003 (enchilada)
Oneplus 6T - A6010, 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 threaddownload
- Urnyx05's Gcam mod https://www.celsoazevedo.com/files/a...a/dev-urnyx05/

Not working:
- OOS Camera/Oneplus Camera (not included nor working if installed manually), used to work in the official builds. dunno how to fix that.
- Alert Slider does not do anything, likely because Oneplus Settings are missing.

Known issues:
you tell me

Download:
Oneplus 6 (enchilada) builds
Oneplus 6T (fajita) builds

Sources:
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/LineageOS/android...oneplus_sdm845
Others
https://github.com/LineageOS/android..._sdm845-common
https://github.com/TheMuppets/propri...vendor_oneplus
https://github.com/LineageOS/android...oneplus_common

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


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
Code:
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
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/oneplus/enchilada" remote="github" name="bdhay/havoc_device_oneplus_enchilada" revision="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="LineageOS/android_device_oneplus_sdm845-common" revision="lineage-17.1" />
<project path="kernel/oneplus/sdm845" remote="github" name="LineageOS/android_kernel_oneplus_sdm845" revision="lineage-17.1" />
<project path="vendor/oneplus" remote="github" name="TheMuppets/proprietary_vendor_oneplus" revision="lineage-17.1" />

<project path="device/oneplus/common" remote="github" name="LineageOS/android_device_oneplus_common" revision="lineage-17.1"/>
</manifest>

to
Code:
.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
Code:
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

4. init environment
Code:
source build/envsetup.sh

5. check if device is there
Code:
breakfast enchilada
# or
breakfast fajita

and finally
6. start build
Code:
brunch enchilada
# or
brunch fajita

Comments

Popular posts from this blog

[OnePlus 6T ][ROM][OTA][Oxygen OS] Repo of Oxygen OS

flash Treble roms on OnePlus