• 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

[ROM][UNOFFICIAL] LineageOS 16.0 for Xiaomi Mi Note 2

Search This thread

joe2k01

Senior Member
Dec 13, 2015
1,306
819
19
Cagliari (Sardinia)
https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252Fi.imgur.com%252F2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:

Broken / not yet supported:
  • VoLTE
  • HW crypto (FDE)

Downloads:

Notice:
  • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

Installation:
  • Reboot to recovery (TWRP recovery for Mi Note 2 - Direct link)
  • Format /system, /data and /cache
  • Install LineageOS zip package
  • Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
  • Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

Credits & collaborations:
This work is due to efforts from Mi5Devs founding members (@h2o64 and @bgcngm) that did the full Xiaomi Mi 5 bring-up. Huge thanks to @deovferreira for all the help during the kernel bring-up after source code dropped. Last but not least, pleasure having @luca020400 and @LuK1337 onboard since the bring-up of the whole Xiaomi 8996 family, that lately did the major work in the O era.

Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Device wiki:

XDA:DevDB Information
[ROM][UNOFFICIAL] LineageOS 16.0 for Xiaomi Mi Note 2, ROM for the Xiaomi Mi Note 2

Contributors
joe2k01
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: MIUI 8.8.30 Beta

Version Information
Status: Stable

Created 2018-09-05
Last Updated 2018-12-09
 

Nathan2004

Member
Dec 14, 2017
45
13
Compiègne
I think Your phone lost treble because this is not a Treble enabled rom and a clean Install is always recommanded when you upgrade your os ?
If you would a good and argued answer ask @Psy_Man for treble, he have a better knowledge about treble.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252Fi.imgur.com%252F2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:

    Broken / not yet supported:
    • VoLTE
    • HW crypto (FDE)

    Downloads:

    Notice:
    • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

    Installation:
    • Reboot to recovery (TWRP recovery for Mi Note 2 - Direct link)
    • Format /system, /data and /cache
    • Install LineageOS zip package
    • Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
    • Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

    Credits & collaborations:
    This work is due to efforts from Mi5Devs founding members (@h2o64 and @bgcngm) that did the full Xiaomi Mi 5 bring-up. Huge thanks to @deovferreira for all the help during the kernel bring-up after source code dropped. Last but not least, pleasure having @luca020400 and @LuK1337 onboard since the bring-up of the whole Xiaomi 8996 family, that lately did the major work in the O era.

    Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

    Device wiki:

    XDA:DevDB Information
    [ROM][UNOFFICIAL] LineageOS 16.0 for Xiaomi Mi Note 2, ROM for the Xiaomi Mi Note 2

    Contributors
    joe2k01
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.x
    ROM Firmware Required: MIUI 8.8.30 Beta

    Version Information
    Status: Stable

    Created 2018-09-05
    Last Updated 2018-12-09
    1
    Reserved

    I will be able to provide updates in about 2 weeks. Take care that the ROM is in unofficial status and it's not advisable to use it as daily driver
    1
    Ok for those of you on this site (XDA developers) who are like me 'not expert developers' after research an anlising a line of code in this extracted ROM which said "please use MIUI firmware 8.7.5+ to boot this ROM" I am currently waiting for this ROM to finish booting :)

    1) Install the 2nd oldest TWRP for this ROM 'TWRP 8.2.1-0'
    2) format data
    3) install the latest 'Global MiNote2 fireware 8.8.30' ONLY THE GLOBAL ONE!
    4) Then install LOS16 (this ROM :) ) and then the latest Gapps 9.0 Pico Arm 64.

    Waiting on my first boot now.........

    Fingers crossed and drumroll lol

    I will update those who might be interested if I get a successful boot

    ---------- Post added at 10:33 AM ---------- Previous post was at 10:02 AM ----------

    Well update

    Sorry to the developer but this ROM is a complete fail.

    After an over 10 miute LOS boot screen logo it reverted straight back to the TWRP start screen.

    I am saying uncle.

    Thsi ROM will not boot mate.

    I give up once again until someone. ANYONE? comes up with any version of Android 9.0 Pie that works.

    To the developer of this ROM thanks mate but no dice here.

    To those of you who actually managed to achieve a boot with it an are enjoying it "good for you"

    No Pie for this guy yet :-\ ?
    1
    when I install the gaps it restarts to recovery

    Normally, this problem is already report in Mi 5 thread but you can try this mind gapps :
    https://androidfilehost.com/?fid=3700668719832237178
    1
    when I install the gaps it restarts to recovery

    This worked for me

    1. flash the rom
    2. flash the file for root ( optional )
    3. DONT flash gapps
    4. Boot and setup your phone
    5. Reboot to recovery
    6. Flash latest pico 9.0 arm64 from here : https://opengapps.org/
    7. Boot and finsh the setup with your google account

    Cheers , from Costa Rica

    ---------- Post added at 10:29 PM ---------- Previous post was at 10:15 PM ----------

    So, some quick thoughts:
    The rom seems fine. No overheating, random reboots/flashlight turning on yet. Speed is better than LOS 15.1. Latest Magisk works.

    Found and possible bugs:
    I wanted to try the stock pixel launcher which came with the rom, but i couldn't use the swipe right/left to open the Google now page, so i switched back to Nova. If i'm correct, this bug was on the 15.1 too.
    It seems some apps are not using the notification led and/or correct automatic color and/or not turning on the screen in dnd mode (honestly, i'll check it the next days cause i was in work today, maybe i just missed some things). Yeah, i checked the settings.
    Can't find adaptive battery settings.
    Charging sounds option doesn't care what i choose, it doesn't changing.
    Carrier video calling toggle is gray, maybe because VoLTE is not working yet?
    Dark style remains white, and settings are crashing when i try to choose Dark mode->Black.
    Only dark accent color in Light style.
    Security&privacy->Lock screen preferences->crash.
    Selfissimo (camera app) shows the picture upside down. LOS 15.1 had the same bug. On MIUI it was fine. I guess it's camera2api related, but not sure.
    Gestures/Swipe up is not working, but i think maybe because the physical button.
    Status bar->Network traffic monitor doesn't do anything.
    Status bar->Clock position doesn't change the position.
    SELinux is not enforcing, i don't eve know what it means, but there's a notification by Trust after reboot.

    I really hope when the rom will become official and the bugs getting fixed i don't have to do a full wipe :)
    Is there any working Camera2Api enable method and a working Google Camera with HDR+? That's the only reason why i rooted this time.

    Confirming all those "bugs" :good: