• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

Psy_Man

Senior Member
Feb 20, 2014
560
2,015
Angri (SA)
N8ul8aY.jpg


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
242
60
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
242
60
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
242
60
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
242
60
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

  • IMG_20180503_013920.jpg
    IMG_20180503_013920.jpg
    235.7 KB · Views: 413
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,015
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
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?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    N8ul8aY.jpg


    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
    6
    14.05.2018 build:

    - Synced with latest LineageOS's changes
    - Fixed cropped photos for camera HAL3 (Thanks @Mimi Mix for pointing out the unmatching active_array)
    - Fixed HAL1 camera crashes when switching between camera modes
    - Updated blobs from MIUI 8.5.10
    - Refer to Github for a detailed changelog

    NOTES:

    - The installation script will check for 8.4.12 modem, so it's mandatory to flash 8.4.12+ firmware or installation will fail

    Downloads:

    Download build
    5
    22.07.2018 build:

    - Important device updates
    - Refer to Github for a detailed changelog

    NOTES:

    - The installation script will check for 8.7.5 modem, so it's mandatory to flash 8.7.5+ firmware or installation will fail

    Downloads:

    Download build
    4
    4
    21.06.2018 build:

    - Synced with latest LineageOS's changes
    - Updated blobs from MIUI 8.5.24
    - Fully fixed battery drain and overheating
    - Updated kernel from scorpio-o-oss
    - Fixed bootloop
    - Refer to Github for a detailed changelog

    NOTES:

    - The installation script will check for 8.5.24 modem, so it's mandatory to flash 8.5.24+ firmware or installation will fail

    Downloads:

    Download build