• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

Project TREBLE for Redmi note 5(China/Global)/5 Pro(India)[Whyred]

Shahan_mik3

Elite Member
Mar 8, 2013
4,979
16,043
0
Bangalore

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.
 *
 */
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

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
 

vasishath

Senior Member
Nov 30, 2013
865
5,198
93
29
Chandigarh
Download Link
https://www.androidfilehost.com/?w=files&flid=273660

Roms Download Link:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list

GSI ROMS Tested on RN5P
  • Pixel Experience
  • Aosp
  • Dirty unicorn
  • Aosip
  • Bootleggers Rom
Will be updating based on user feedback



Few Roms Screenshots:

Pixel Experience



Bootleggers



Aosip



Dot Rom


FAQ:
What is this? Isnt treble support out of box?
It is but its buggy as F.

What can I do with it?
Flash any GSI roms you want. All u need to do is flash this zip ONCE and u will never have to flash it again. Just need to flash GSI

Volte works?
Yes Again
 
Last edited:
G

GuestK0023

Guest
U guys doing wonders , really in love with your work.mike and vashishant.
Thankd for your hard work.
 

vasishath

Senior Member
Nov 30, 2013
865
5,198
93
29
Chandigarh
Have you fixed the brightness issue with treble GSI alao outgoing calls through volte?? Also have you found the focus hunting issue with video recording??
Thanks again for your time and effort..
y r u making duplicate posts though? when someone has already answered u

OP clearly states volte twice. Read whats working and whats not working and video recording issue ask mi to push updated kernel.
 

kash2freedom

Senior Member
Nov 4, 2014
85
31
18
Shantiniketan
y r u making duplicate posts though? when someone has already answered u

OP clearly states volte twice. Read whats working and whats not working and video recording issue ask mi to push updated kernel.
I didn't mean to make duplicate posts. Sorry for that. I learnt volte is working. I was just wondering if you have fixed the issues that I had faced with GSI. Thanks again for your answer.