Hello guys! You know I've been out of development for capricorn for a bit! I've been working on this port for a bit, this is for all xiaomi/msm8996-common devices. Project Treble for our phone is here!
Before anything, let's get into it!
/* *** Disclaimer
* I am 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/KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
* BOOM! goes the dynamite
*/
What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble]
HOW TO:
Download the zip provided here: AndroidFileHost
Extract the zip on your system
Run the script based on your system (sh for linux, bat for windows)
Flash the GSI system image you wish to use
What's Working:
RIL (both SIMs)
Data
Camera
Video
Text
Audio
Bluetooth
Torch
WiFi
Hotspot
Vibrator
Fingerprint
240fps slowmo
GPS
Calls (Mic and Sound)
Camcorder
Fingerprint to wake
Double tap to wake
Display color calibration (KCAL)
Hardware buttons lights
What's NOT Working:
I've tried my best to ensure that everything is working (been testing for about a week)
SELinux status is permissive
Let me know
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
A boot image (kernel)
A vendor image (cust partition)
What's a GSI?
A GSI literally means Generic System Image. It is the a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble
Our device's config:
Treble-aonly system image. Our phone only has one system image so it is A-only
Source Code:
Kernel
Vendor blobs
MSM8996-COMMON configuration
capricorn configuration
XDA:DevDB Information
Treble, Tool/Utility for the Xiaomi Mi 5s
Contributors
MZO, LineageOS Maintainers (for Oreo)
Source Code: https://github.com/MZO9400
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-03-12
Current Beta Version: 1.5 Beta
Beta Release Date: 2018-02-28
Created 2018-02-27
Last Updated 2018-03-12
Before anything, let's get into it!
/* *** Disclaimer
* I am 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/KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
* BOOM! goes the dynamite
*/
What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble]
HOW TO:
Download the zip provided here: AndroidFileHost
Extract the zip on your system
Run the script based on your system (sh for linux, bat for windows)
Flash the GSI system image you wish to use
What's Working:
RIL (both SIMs)
Data
Camera
Video
Text
Audio
Bluetooth
Torch
WiFi
Hotspot
Vibrator
Fingerprint
240fps slowmo
GPS
Calls (Mic and Sound)
Camcorder
Fingerprint to wake
Double tap to wake
Display color calibration (KCAL)
Hardware buttons lights
What's NOT Working:
I've tried my best to ensure that everything is working (been testing for about a week)
SELinux status is permissive
Let me know
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
A boot image (kernel)
A vendor image (cust partition)
What's a GSI?
A GSI literally means Generic System Image. It is the a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble
Our device's config:
Treble-aonly system image. Our phone only has one system image so it is A-only
Source Code:
Kernel
Vendor blobs
MSM8996-COMMON configuration
capricorn configuration
XDA:DevDB Information
Treble, Tool/Utility for the Xiaomi Mi 5s
Contributors
MZO, LineageOS Maintainers (for Oreo)
Source Code: https://github.com/MZO9400
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-03-12
Current Beta Version: 1.5 Beta
Beta Release Date: 2018-02-28
Created 2018-02-27
Last Updated 2018-03-12