OnePlus 3 and 3T - phhusson/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.

  1. Flash this TWRP in the download link below.
  2. 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
  1. 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.
  2. Reboot your phone to TWRP.
  3. 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:

  1. 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.
  2. Flash A-only or A/B GSI image according to the flag in the download section.
  3. Wipe data.

Downloads:


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:

Template created by zguithues and simonsmh