OnePlus 3 and 3T - bluehomewu/treble_experimentations GitHub Wiki
The step-by-step guide on how to treblize your device:
Treble needs a partition called "Vendor", but our device does not have this device. What we need to do is to create a vendor partition by our selves. I made a custom TWRP Treble build to do this process, here is what you should do in TWRP.
- Flash this TWRP in the download link below.
- Boot it up and go to "Advanced" -> "Terminal", Type treblize and run. Treblize is a shell that we could modify our partition. It basically does the same thing as the commands below. Code:
/sbin/sgdisk --typecode=5:8300 /dev/block/sdf
/sbin/sgdisk --change-name=5:vendor /dev/block/sdf
- Reboot your phone to your current system to check if there is storage failure. It's very important. Some of the users report it may cause storage broken. You'd better check it first before flashing LOS Treble.
- Reboot your phone to TWRP.
- Flash LOS Treble in the download link below. After these processes, you have got a treblized Oneplus3. Boot it up to check if everything works, or just trying other GSIs anyway.
The step-by-step guide on how to flash GSIs:
- Choose and flash LOS Treble solution first for the vendor partition. Because of the supporting of system-as-root for our device, you can now use every GSIs if possible. I personally recommend the system-as-root solution for future android standards, although they are basically the same some old recovery install scripts may be broken like opengapps will not working anymore according to the report.
- Flash A-only or A/B GSI image according to the flag in the download section.
- Wipe data.
Downloads:
- [New][A/B] LineageOS 16.0 Treble system-as-root: https://mega.nz/#F!UgdQRYSD!8s-_u2HJQZDEqNnFOnejxQ
- [Old][A-only] LineageOS 16.0 Treble: https://mega.nz/#F!A0VmQAaC!Mc3HYZgAkxeoQwGkZyJvwg
Hardware support
Component | Comment |
---|---|
Camera | Working (with linker fix to load shims) |
Speaker / Microphone | Working |
Bluetooth | Working |
WiFi | Working |
SIM / Mobile Data / Voice | Working |
VoLTE | Device supports VoLTE, but can't test at this moment |
Fingerprint Reader | Working |
NFC | Working |
Offline Charging | Working |
Other feature | N/A |
Things not working:
- [A-only & A/B] SELinux is set to permissive for most GSIs. Unnecessary and won't fix for now.
- [A/B] Reboot and stuck at boot animation while GSI installation. Solution: Use adb for a reboot, don't just hold the power button. After this the system will boot, at least we could get console-ramoops correctly for debugging.
Additional Notes
Works using this Treble ROM
Tested By:
- simonsmh - Device Specifics - 19 July 2018
- Tested with the following builds:
- M6R1ARTY - A3010 - OxygenOS 10 with Permissiver_v5 [Partly works]
- M6R1ARTY - A3010 - LineageOS 17.0
- M6R1ARTY - A3010 - Pixel Experience 10.0
- M6R1ARTY - A3010 - EvolutionX 3.3
- M6R1ARTY - A3010 - ResurrectionRemix P v7.0.3
- M6R1ARTY - A3010 - Dirty Unicorns v14.0
- M6R1ARTY - A3010 - OxygenOS 9
- M6R1ARTY - A3010 - ResurrectionRemix Q v8.0.0
- M6R1ARTY - A3010 - Pixel Experience 10.0
- M6R1ARTY - A3010 - AOSP 10.0 (system-quack-arm64-ab-gapps)
- M6R1ARTY - A3010 - OxygenOS 10 with Permissiver_v5 [Partly works]
- M6R1ARTY - A3010 - AOSiP 9.0
- M6R1ARTY - A3010 - ResurrectionRemix P v7.0.x
- M6R1ARTY - A3010 - Descendant 4.0.1
- M6R1ARTY - A3010 - crDroidAndroid v4.4
- M6R1ARTY - A3010 - LineageOS 15.1 (system-arm64-ab-gapps-su)