With Android Oreo, Google Introduced the Project Treble which focuses on Faster Android Updates by separating the Silicon/Hardware Code from Android Framework.
Now, Redmi Note 4 was launched before the launch of Android Oreo, but thanks to the abhishek987 who used Cust Partition as a Vendor Partition which enables Treble Support on Redmi Note 4. Not on just Redmi Note 4, but on all other devices which do not support Project Treble out of the box.
Many Android Oreo-based Custom ROMs support Project Treble so let’s have a look at all these ROMs and their Features.
What is Project Treble?
Before Android Oreo, The Updates for Android Smartphones were dependent on the Smartphone Manufacturer (Ex. Samsung) and Chip maker (Ex. Qualcomm)
So A smartphone manufacturer has to wait for the Code (Vendor Implementation) from Chip maker which can communicate with Android OS. Manufacturers like Samsung and LG have their own Modified Android OS which makes this Process very Time Consuming
Project Treble Solve it by Separating the Vendor implementation from Android OS. So Smartphone manufacturers can update Android OS without waiting for Vendor Implementation.
How to Flash a Treble Enabled Custom ROM in Redmi Note 4?
To Flash a Treble Custom ROM in Redmi Note, You need to flash a Treble supported TWRP.
The Bootloader should be Unlocked and Also Install ADB and Fastboot in your PC. Download the TWRP and Rename it to recovery.img and Place it in your ADB Folder (C:\adb)
Step 1: Boot into Fastboot Mode by Pressing Volume Down + Power Button at the same time.
Step 2: Go to the C:\adb folder and Open Command Window by Holding the Shift Key and then a Right Click.
Step 3: Select “Open PowerShell Window Here” or “Open Command Window here”.
Step 4: Type this Command in the Command Window
fastboot flash recovery recovery.img
The Recovery is flashed and You can now Install the ROM.
Step 5: Type this to Boot into recovery
fastboot boot recovery.img
or Power down the Device and Press Volume Up and Power Button at the Same time.
Step 6: Go into Wipe section and Wipe /Dalvik Cache, /System, /Data, /Cache.
Step 7: Go into Install Section and Select the Treble ROM, Swipe to Flash the ROM.
Can I flash Android P Beta GSI image?
Yes, You can. Once you flash a Treble Custom ROM, You can flash Android P GSI image. Here’s how
How to flash Android P Beta 4 GSI image in Redmi Note 4.
- After Finishing Setup in Treble Custom ROMs, Boot into Recovery and Wipe Data and Cache
- Go into Install Section and Flash Android P Beta 4 GSI image
- Go into Mount and Mount Vendor then Flash Post 1. Post 2 and Post 3