[ROM][OFFICIAL][8.1.0][treble][mido] LineageOS 15.1 [Weeklies]

Search This thread


Senior Member
Aug 11, 2019
Ngayogyakarta Hadiningrat
No but I solved the problem with "pm" (as superuser in a terminal).

First I searched for the (half uninstalled) package name with, e.g.

pm list packages -u | grep GoogleCamera

then I completely uninstall the packages with

pm uninstall com.google.android.GoogleCamera
pm uninstall com.google.android.CameraRN4X
pm uninstall com.google.android.Pixel2Mod

and then I could install the new google camera :good:

Sounds good :good:


Senior Member
Feb 2, 2012
My mido doesn't load power since the dirty flash while the phone is on. When i shut it off it loads power to the battery. In both situations no led is lightning. Any idea how to fix it? Has anybody the same error?

Gesendet von meinem Redmi Note 4 mit Tapatalk


Apr 10, 2018
Based on my experience.

1. Download new 16.0 for mido, download gapps for Pie

Boot to twrp, wipe dalvik, cache, system, and vendor
Dont wipe data

Flash rom and gapps
Wipe dalvik cache again, and reboot
Its fine.

2. LineageOS Official • Mido
LineageOS Official Group For Xiaomi Redmi Note 4/4X (Mido)

@WongJawa & @NoGoodUserNamesLeft Thank you for your valuable help! :good:


Senior Member
Jun 6, 2014
Does anyone have last lineageOS 15.1 zip? there is a audio bug in lineageOS16 related to hi-res audio playback, I want to revert. Thanks


May 22, 2020
Is a direct upgrade from LOS 14.1 to 16 possible?

Maybe like this:
Download mido LOS 16.0 and latest firmware
Boot to twrp, wipe dalvik, cache, system, and vendor
Dont wipe data
Flash firmware + rom
Wipe dalvik cache again, and reboot
Last edited:
Is a direct upgrade from LOS 14.1 to 16 possible?

Maybe like this:
Download mido LOS 16.0 and latest firmware
Boot to twrp, wipe dalvik, cache, system, and vendor
Dont wipe data
Flash firmware + rom
Wipe dalvik cache again, and reboot

I'm not 100% sure, but the procedure you listed is almost a clean flash. So, yes. Wiping the data also would be better, as this is a major upgrade, from Android 7 to 9.

However, why you want to switch to LOS 16? Its no longer maintained. Last build was on April 7, 2020 and there won't be any update in future.
Also, there are many stable Android 10 ROMs available now; like Pixel Experience, unofficial LOS 17.1, Atom OS, etc. You can try those.
I'm using Atom OS and its working excellent.
  • Like
Reactions: rudi31


May 22, 2020
Thanks ashishk87,

wiping the data makes sense.
LOS 16 seems to be the most stable ROM without Gapps.
Last edited:
Thanks ashishk87,

wiping the data makes sense.
LOS 16 seems to be the most stable ROM without Gapps.

Being a web developer, I'm always interested in trying latest software. Hence, suggested you to try Android 10. Anyways, its your choice. LOS 16 is very stable. Its just that it won't get any more updates in future. If you are okay with it, go ahead :good:


May 22, 2020
Being a networker I feel better without Gapps sending encrypted data about my devices all the time. So Pixel Experience and Atom OS are not for me.

Top Liked Posts

  • There are no posts matching your filters.
  • 620

     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     * Please do some research if you have any concerns about features included in the products you find here before flashing it! 
     * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you. 
     * Your warranty will be void if you tamper with any part of your device / software.
     * Same statement for XDA.

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    What's working :
    • Boots
    • RIL (Calls, SMS, Data)
    • Fingerprint
    • IR Blaster
    • Wi-Fi
    • Bluetooth
    • Camera
    • Camcorder
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS
    • Volte

    Known issues:
    • You Tell me

    Instructions :
    • Download the latest build and GApps
    • Reboot to recovery
    • Flash the latest build and GApps
    • Reboot

    Downloads :
    Credits :
    • @highwaystar_ru (for always being helpful and always ready to help )

    XDA:DevDB Information
    [ROM][OFFICIAL][8.1.0][treble][mido] LineageOS 15.1 [Weeklies], ROM for the Xiaomi Redmi Note 4

    abhishek987, highwaystar_ru
    Source Code: https://github.com/TheScarastic/android_kernel_xiaomi_msm8953/commits/lineage-15.0

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.1.x

    Version Information
    Status: Stable
    Stable Release Date: 2017-10-17

    Created 2017-10-17
    Last Updated 2018-07-22
    And here arrives update after a long span but for sure, update wont disappoint any of you :p


    • Updated to 8.1
    • Updated to oreo tissot Blobs
    • Rebased kernel to support new (goodix touch , ov camera, and displays)
    • Fixed omnivison camera pink tint and crash in bright light photos
    • Add TextClassifier Selection models
    • Implemented full treble :cowboy:

    As treble has been implemented there are few mandatory changes before you flash this build.

    Since a new partition was required for full treble we converted an unused cust partition into vendor which is almost 830mb in size, No we are not re-partitioning your device or anything else which may hardbrick your device :)

    phhusson was kind enough to let me try his unreleased gsi (global system image) and test treble on my mido and it worked perfectly :p attaching some screenshots you can keep record of treble 8.1 rom at https://forum.xda-developers.com/project-treble/trebleenabled-device-development/experimental-phh-treble-t3709659

    Trees will be updated shortly so you can taste treble on your other favorite roms :)

    As usual link of rom is updated in op enjoy
    Guys nightly will begin again and today's nightly will be up shortly


    • Selinux enforcing
    • Fixed BT mac
    • Added pinner configuration
    • Lineage upstreams

    Enjoy :p and yes you can expect official lineage by next week ;)
    Time for Update again :)


    • Fixed goodix fingerprint sensor
    • Added Manual provisioning
    • Fixed double tap back button panic ( it used to take you to home screen)
    • Many under the hood changes

    As usual links are up in op enjoy
    Time for update again :p


    • Added new offline charging (from miui shows %)
    • Added night light
    • Fixed camera issue for guys facing it
    • Fixed video calling partially (you could see other person but other person cant see you )
    • Fixed bluetooth calling
    • Gsi should work pretty well now

    gsi (generic system image) should be stable now tho there are few downsides gsi is pure aosp so your favorite custom features might not be available and since its aosp, caf decryption wont work either along with volte (ims) other then that gsi should be pretty stable you can download one at https://forum.xda-developers.com/project-treble/trebleenabled-device-development/experimental-phh-treble-t3709659

    It seems lineage-15.1 bandwagon is about to ship so you can expect official lineage within next 2 weeks :)

    As usual links are updated in op,enjoy