/* * Your warranty is now void. * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at us for messing up your device, we will laugh at you. * */
Hello, I'm very excited to tell you that Project Treble is ready to run on our phone. Although it's not stable with always something broken, It's still a nice chance to undergo other ROMs that you want.
Beware that it is only a proof-of-concept try to let everyone know our device is still powerful. They are still well prepared for future Android release. However, the GSIs will never be more stable than device specific ROMs. This Treble ROM is not suitable for daily use.
The main reason why official LineageOS of our device didn't ship with Project Treble is that we don't have fully binderized camera HALs from Oneplus. If we want to support Treble there must be a lot of compromises.
Things not working:
1. SELinux is set to permissive.
We are still working on these problems.
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.
Our device is really old, some users may experience storage failure (Known as CRC failure), please be careful when you treblize your device. If you meet any problem, please check the 9008 unbrick guides in the forum.
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.
/sbin/sgdisk --typecode=5:8300 /dev/block/sdf /sbin/sgdisk --change-name=5:vendor /dev/block/sdf
It's very important. Some of the users report it may cause storage broken. You'd better check it first before flashing LOS Treble.
4. Reboot your phone to TWRP.
5. 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.
1. Q: Something is broken in some GSIs! When will the camera be fixed in GSIs?
A: That may or may not be our device's fault.
2. Q: Can I install other third-party kernels?
A: You need to make sure that kernel supports mounting vendor partition, or it will brick your device.
3. Q: How to revert my treblized device?
A: Unnecessary. But you can do it yourself with the sgdisk command line tool, or just use the 9008 tool if you are lazy.
4: Q: How do I install a non-treble ROM with my "treblized" device?
A: As normal. They won't affect each other.
dianlujitao and other LOS devs for current device tree
XiNGRZ for op5 treblize reference
a lot of testers
Join the chat group for sGSI QR2 and more!
[New] LineageOS 16.0 Treble: https://mega.nz/#F!BlETXKhL!rTTjfiAXzogQBimtRnTE7w
[Deprcated] LineageOS 15.1 Treble: https://androidfilehost.com/?w=files&flid=280568
LineageOS Treble, ROM for the OnePlus 3
simonsmh, dianlujitao, chenxingyu,
Source Code: https://github.com/OP3Treble
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: OxygenOS/H2OS 9.x
Based On: LineageOS
Last Updated 2019-04-16