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

Search This thread

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,044
Bangalore
SBIA2n6.png

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
866
5,208
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

2m6seit.jpg
10egfhd.jpg


Bootleggers

2a0htmf.jpg
20a88za.jpg


Aosip

29qcyae.jpg
1zna3ht.jpg


Dot Rom
140g0aa.jpg


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
866
5,208
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
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 47
    SBIA2n6.png

    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
    29
    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

    2m6seit.jpg
    10egfhd.jpg


    Bootleggers

    2a0htmf.jpg
    20a88za.jpg


    Aosip

    29qcyae.jpg
    1zna3ht.jpg


    Dot Rom
    140g0aa.jpg


    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
    26
    ******Treble zip for Android P now available******

    Instructions :-

    * Flash android P DP3/DP4 image by @erfanoabdi using fastboot
    * Flash the linked vendor zip via recovery
    * Flash POST-sGSI_3.zip linked by @erfanoabdi in his afh.

    Known device specific bugs :-
    * MTP doesnt work at the moment.
    * InCall audio starts working after about one minute after bootup.

    Note:-
    * This vendor zip will NOT work with android oreo. So its not for users on oreo.
    * DO NOT flash any other zip (except zip 3) from @erfanoabdi's afh. It will remove volte blobs added by me.


    Link :-
    https://www.androidfilehost.com/?fid=5862345805528054310
    12
    Hi @vasishath, hope you are doing good. Can we, whyred users expect something like you doing for cancro? I mean android P built from sources. :) or maybe source built GSI compatible custom treble zip like we already have for sGSI?

    Sorry if I asked this too much early. :p

    Once we are done with cancro we will update the treble zip for whyred
    9
    Treble v2 zip

    DP4 v.2- http://bit.ly/P-DP4-V2

    Full Guide: http://bit.ly/Guide-P

    XDA Guide: http://bit.ly/semisgiPxda

    Steps to flash:

    1. Wipe system, data, vendor and cache
    2. Flash treble zip [ http://bit.ly/P-DP4-V2 ]
    3. Flash P gsi img [ AFH: http://bit.ly/P-Gsi-dp4 ]
    [ Drive Link: http://bit.ly/Treble-DP4-V2-Mirror ]
    4. Flash MTP fix zip Only
    5. Reboot

    Fix Navbar gestures and Dark Theme Overlay on DP4: http://bit.ly/navbarfixP

    - Mount vendor
    - Flash the zip
    - Reboot

    MTP Fix: http://bit.ly/MTPfixP [ Flash this instead of POST-sGSI_3.Zip ]

    G:Cam: 1st: https://t.me/whyredupdates/260 [ Flash Gcam fix, if systemui fc then reflash Magisk ]

    2nd: If anyone need to use gcam in P gsi,then first setup in any other rom,take backup(titanium,swift..etc).
    then restore it and enjoy
    (cuz everyone facing app crash issue while opening gcam settings in P gsi)

    Magisk for Root: http://bit.ly/magiskP

    Double Tap to Wake Temporary Fix (need root):
    1. open terminal
    2.type ”su”
    3.type “echo 1 > /sys/devices/soc/c175000.i2c/i2c-1/1-0020/input/input2/wake_gesture”

    Note: After booting for the first time wait till the setup completes. Also wait a few minutes if you don't have in call audio. Reboot after a few mints!

    Google Drive links [ If your ISP sucks ]

    ~Camera2api- http://bit.ly/Camera2api

    ~Gesture fix- http://bit.ly/Gesture-Fix

    ~Play Services- http://bit.ly/P-PlayService

    ~Treble zip- http://bit.ly/Treblezip-DP4

    ~Post Gsi-3 V.2 with mtp fix- http://bit.ly/Post-Gsi3

    ~Gcam fix- http://bit.ly/GcamFix

    Found a good post from telegram channel...thanks to @Trishit
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone