• 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

[TREBLE] Project Treble for Xiaomi Mi Note 2 [SCORPIO][12.09.2018]

Psy_Man

Senior Member
Feb 20, 2014
560
2,014
0
Angri (SA)


What is Project Treble?
Everything is explained here!

What's working:
Boots
Wifi
Bluetooth
Camera ( Videos And Photos )
Video Playback
Audio ( Record and Playback )
Sensors
GPS
RIL
VoLTE

What's not working:
Selinux is permissive
You tell me

Generic System Images:
Here

How to flash:
Use a TWRP with /vendor support
Wipe cache, dalvik-cache, system, vendor and data
Flash the required firmware
Flash the treble_scorpio-xxxxxxxx-xxxx.zip
Select "Flash Image"
Flash a Generic System Image in system partition (arm64, A only)
Reboot

Special thanks:
Tranquilitysmile for testing and debugging​

XDA:DevDB Information
Project Treble for the Xiaomi Mi Note 2

Contributors
Psy_Man
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: 8.8.30
Based On: AOSP

Version Information
Status: Stable

Created 2018-05-01
Last Updated 2018-09-12
 
Last edited:

MiguelferraZ

Senior Member
Sep 5, 2013
240
60
0
Hello, first of all thanks for your work!
I need some help with the step "Flash a Generic System Image in system partition (amr64, A only)". What exactly should I do?
Thanks
 
G

GuestK0063

Guest
Hello, first of all thanks for your work!
I need some help with the step "Flash a Generic System Image in system partition (amr64, A only)". What exactly should I do?
Thanks
After downloading any of the System Images in forum linked by OP you just go into TWRP, select Install, switch to img install (bottom right corner) and flash image onto system partition from selectable menu.
 

MiguelferraZ

Senior Member
Sep 5, 2013
240
60
0
After downloading any of the System Images in forum linked by OP you just go into TWRP, select Install, switch to img install (bottom right corner) and flash image onto system partition from selectable menu.
Thanks, but I was just a bit unsure of what file should I download, since I never done this.
For example, I should choose:
system.img for A-only ARM64 devices with GApps and SU
or
system.img for A-only ARM64 devices vanilla
?

Also, On the flashing instructions it doesnt refer to install gapps, but they are not included in the rom right?

So, if I install the ROM, gapps and flash Magisk for Root I should flash the file "system.img for A-only ARM64 devices with GApps and SU" ?

EDIT: So there is no need to flash cardinal ROM now? Just the new build? I'm a little confused with the installation steps...
 
Last edited:

MiguelferraZ

Senior Member
Sep 5, 2013
240
60
0
Hello again. I tried to flash the treble_scorpio file on the provided twrp but I'm getting "Updater process ended with ERROR: 7 Error installing zip file (...)"
What should I do?
 

MiguelferraZ

Senior Member
Sep 5, 2013
240
60
0
More informations needed
I don't know what can I say more... On twrp, after I do the wipes, when I try to flash "treble_scorpio-20180502-1503.zip" file it shows a red text saying:
"Updater process ended with ERROR: 7
Error installing zip file 'sdcard/treble_scorpio-20180502-1503.zip' "

I can try to flash it again and take a photo if it helps
thanks

EDIT: The photo of the error is in attachment
 

Attachments

Last edited:
G

GuestK0063

Guest
I don't know what can I say more... On twrp, after I do the wipes, when I try to flash "treble_scorpio-20180502-1503.zip" file it shows a red text saying:
"Updater process ended with ERROR: 7
Error installing zip file 'sdcard/treble_scorpio-20180502-1503.zip' "

I can try to flash it again and take a photo if it helps
thanks

EDIT: The photo of the error is in attachment
Try flashing THAT firmware before zip
 

Psy_Man

Senior Member
Feb 20, 2014
560
2,014
0
Angri (SA)
I don't know what can I say more... On twrp, after I do the wipes, when I try to flash "treble_scorpio-20180502-1503.zip" file it shows a red text saying:
"Updater process ended with ERROR: 7
Error installing zip file 'sdcard/treble_scorpio-20180502-1503.zip' "

I can try to flash it again and take a photo if it helps
thanks

EDIT: The photo of the error is in attachment
The next time you should read carefully the OP, becouse the firmware requirement is stated there.
 
Last edited:
  • Like
Reactions: lieberice

realjumy

Senior Member
Nov 18, 2007
631
332
0
Great work, @Psy_Man.

Which one of the Generic System Images do you recommend if I want something stable rather than configurable?

Also, being the system images 'A only' that means that the seamless update is still not possible, right?
 
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