Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're 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 TREBLE
* SUPPORT 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.
*
*/
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
Read more about Project Treble
What's a GSI?:
A GSI literally means Generic System Image. It is 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
Xiaomi Redmi Note 5 Pro hardware vs Treble implementation:
Our Redmi note 5/5 Pro is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
Bootimage
A compressed vendor image
How to use:
- Reboot to recovery (Custom TWRP recovery for Redmi note 5/5PRO- Direct link)
- Format /system, /data and /cache
- Install Treble flashable zip package(One we shared. Needs to be flashed only once) (Project Treble flashable for Redmi note 5(China/Global)/Redmi note 5 Pro - Direct link)
- Install the GSI system image you wish to use (How to flash a Generic System Image (GSI) on Project Treble supported devices - Direct link)
- —Now flash Gapps zip(optional)
- Reboot
Important notes:
- Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
Working:
- Camera (and flashlight)
- WiFi
- Bluetooth
- Telephony (Calls and Data)
- Audio (Record and Playback)
- Video Playback
- Sensors
- GPS
- VoLTE
- Dt2W
Broken:
- ViLTE
- Nothing else? Otherwise report it!
XDA:DevDB Information
Treble, ROM for the Xiaomi Redmi Note 5 Pro
Contributors
Shahan_mik3, vasishath
Source Code: https://github.com/Whyred-Dev/android_kernel_xiaomi_whyred
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Beta Release Date: 2018-06-01
Created 2018-06-01
Last Updated 2018-06-01