[ROM][UNOFFICIAL]Lineage OS 17.1

Search This thread

EinTim23

Senior Member
2okPze5.png

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.

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.

Instructions :

  • Download Twrp, GApps (if you need them), and Magisk (Version 21.4 or older).
  • Flash the downloaded TWRP via fastboot
  • Boot to recovery
  • Flash the latest build and Magisk.
  • Flash GApps and any other necessary add-ons

Known issues:

  • Carrier Video Calling (ViLTE)
  • Do bug reports in the comment section

Downloads :


Reporting Bugs

  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Thanks to:
@wulan17 for device tree
LineageOS team

Source code:


XDA DevDB Information
LineageOS 17.1 for Xiaomi Redmi 6 and 6a

Contributors

@EinTim23
Source Code: https://github.com/LineageOS

ROM OS Version: 10.x Q
ROM Kernel: Linux 4.x
ROM Firmware Required: MIUI 10.4.4 - 11.0.4.0 (11.0.5.0 is not working) vendor and firmware
Based On: CyanogenMod/AOSP

Version Information
Status:
Stable
Release Date: 2021-03-24

Created 2021-03-24
Last Updated 2021-03-24
 

king76qc

New member
Mar 30, 2021
3
1
Hi,

Thank for your files.

My phone bootloop, so I think I'm missing the installation of no-verity-opt-encrypt-6.1, lazyflasher-no-verity-opt-encrypt or Disable_Dm-Verity_ForceEncrypt_12.27.2019 zip files, but none of them work !

I don't know when and which version to install with your tutorial.

An Idea ?

Thanks

EDIT : Finally after having downgraded to MIUI 11.0.4, everything is functional with your instructions! Sorry.
 
Last edited:
  • Like
Reactions: EinTim23

houstonp001

Member
Apr 23, 2011
5
0
Johannesburg
Thank you @EinTim23 . This was a much awaited ROM for my Redmi 6A. Performance and usability much better than the stock MIUI stuff.

There's just one bug I have though... I can't receive or send sms's. Is there a fix for this?
 

houstonp001

Member
Apr 23, 2011
5
0
Johannesburg
For me and some other people who tested everything worked fine. I'm sorry idk how to fix this.
Thanks for your reply... I see the following in my logcat when trying to access any messaging app...

04-03 00:59:10.772 13729 14238 E DatabaseUtils: android.database.sqlite.SQLiteException: Can't downgrade database from version 111 to 68
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:541)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:415)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:317)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at com.android.providers.telephony.MmsSmsDatabaseHelper.getReadableDatabase(MmsSmsDatabaseHelper.java:2045)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at com.android.providers.telephony.MmsSmsProvider.query(MmsSmsProvider.java:345)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1214)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1307)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:267)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:104)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.os.Binder.execTransactInternal(Binder.java:1021)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:994)

Maybe I should try a full system wipe?
 

houstonp001

Member
Apr 23, 2011
5
0
Johannesburg
Thanks for your reply... I see the following in my logcat when trying to access any messaging app...

04-03 00:59:10.772 13729 14238 E DatabaseUtils: android.database.sqlite.SQLiteException: Can't downgrade database from version 111 to 68
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:541)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:415)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:317)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at com.android.providers.telephony.MmsSmsDatabaseHelper.getReadableDatabase(MmsSmsDatabaseHelper.java:2045)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at com.android.providers.telephony.MmsSmsProvider.query(MmsSmsProvider.java:345)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1214)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1307)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:267)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:104)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.os.Binder.execTransactInternal(Binder.java:1021)
04-03 00:59:10.772 13729 14238 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:994)

Maybe I should try a full system wipe?
Ah no worries... I did a full system wipe with twrp and started the installation process again. Seems I did not format my data partition the last time round. Everything is working 100% now.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    2okPze5.png

    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.

    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.

    Instructions :

    • Download Twrp, GApps (if you need them), and Magisk (Version 21.4 or older).
    • Flash the downloaded TWRP via fastboot
    • Boot to recovery
    • Flash the latest build and Magisk.
    • Flash GApps and any other necessary add-ons

    Known issues:

    • Carrier Video Calling (ViLTE)
    • Do bug reports in the comment section

    Downloads :


    Reporting Bugs

    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    Thanks to:
    @wulan17 for device tree
    LineageOS team

    Source code:


    XDA DevDB Information
    LineageOS 17.1 for Xiaomi Redmi 6 and 6a

    Contributors

    @EinTim23
    Source Code: https://github.com/LineageOS

    ROM OS Version: 10.x Q
    ROM Kernel: Linux 4.x
    ROM Firmware Required: MIUI 10.4.4 - 11.0.4.0 (11.0.5.0 is not working) vendor and firmware
    Based On: CyanogenMod/AOSP

    Version Information
    Status:
    Stable
    Release Date: 2021-03-24

    Created 2021-03-24
    Last Updated 2021-03-24
    3
    The ROM works very good!!
    But I found some "bugs"....
    -Videos online streaming on chrome dont work (only youtube works) but in firefox works all videos good.
    -Led while charging
    -Radio FM misssing :(
    2
    can i install this from Global 11.0.8.0 firmware? (Android 9) or is it only 11.0.5.0 only have problem?
    only 10.0.4.0 to 11.0.4.0.
    1
    Hi,

    Thank for your files.

    My phone bootloop, so I think I'm missing the installation of no-verity-opt-encrypt-6.1, lazyflasher-no-verity-opt-encrypt or Disable_Dm-Verity_ForceEncrypt_12.27.2019 zip files, but none of them work !

    I don't know when and which version to install with your tutorial.

    An Idea ?

    Thanks

    EDIT : Finally after having downgraded to MIUI 11.0.4, everything is functional with your instructions! Sorry.
    1
    Is this thing still work for 6A (cactus)?
    i'm on 11.0.8.0 android 9