[ROM] [13.0] [davinci] LineageOS 20 [UNOFFICIAL][OTA]

Search This thread

raul16

Senior Member
header_davinci_LineageOS_20.png


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

Disclaimer:
Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on AOSP with contributions from many people within the Android community. It can be used without any need to have any Google application installed. If needed you can install any GApps package available for T.
LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
The source code for LineageOS is available at GitHub. And if you would like to contribute to Lineage OS, please visit Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions:
  • make a FULL backup first from your actual system and data;
  • before installing make sure you are running the latest firmware for your region;
Clean install:
  • download the latest ROM zip and GApps (optional) from the downloads section below;
  • wipe system, cache, dalvik and do a factory reset in recovery if coming from another AOSP based rom (including other LineageOS 19/20)
  • install ROM zip + add install more zip's and flash also GApps (optional), thus you get best integration of vanilla LineageOS with GApps;
  • install as recovery the latest fbev1 TWRP recovery [twrp_13.img];
  • format /data (from wipe option) - the option which requires you to type "yes";
    this is required due to encryption changes.
  • reboot to system and enjoy ;) latest LineageOS 20 [Android 13] on your Redmi K20 / Xiaomi Mi 9T.
    Note: if you enable Lineage recovery option during setup you will lose TWRP (overwrite by Lineage recovery app)
Upgrade [dirty flash]:
  • download the latest ROM zip from the downloads section below;
  • install ROM zip;
  • wipe cache, dalvik - optional;
  • reboot to system;

Downloads:

Reporting bugs:
Bug reports without a complete description of the issue and a logcat will be ignored!
  • 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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

Credits:
  • ArianK16a for initial DT & Kernel
  • LineageOS Team & Contributors
  • Code Aurora Forum
  • Redmi K20 / Xiaomi Mi 9T contributors

GPL compliance: Kernel source

XDA: DevDB Information
[ROM] [13.0] [davinci] LineageOS 20 [UNOFFICIAL] ROM for Redmi K20 / Xiaomi Mi 9T

Contributors:

raul16

Donations:
donations are not mandatory but very welcomed
if you like my work and want to support development or buy me a coffee PayPal Donate

ROM OS Version: Android 13.0.0_r20
ROM Kernel: Linux 4.14.x
ROM Firmware Required: V12.5.2.0.RFJCNXM / V12.1.4.0.RFJMIXM / V12.1.4.0.RFJINXM
Based On: LineageOS 20

Version Information
Status:
Stable

Created on 2023-01-12
Last Updated 2023-03-19

Screeshots:
Screenshot_20230128-131333_Trebuchet.pngScreenshot_20230128-131246_Trebuchet.pngScreenshot_20230128-131418_Settings.pngScreenshot_20230128-131505_Google Play Store.pngScreenshot_20230129-080441_Chrome.pngScreenshot_20230128-131505_Google Play Store.pngScreenshot_20230128-131610_Android System.png
 
Last edited:

raul16

Senior Member
Redmi K20 | Xiaomi Mi 9T
🗒️ Changelog:

**********************
Mar 17, 2023
**********************
- March 2023 Security patch
- Android 13 QPR2
- LOS upgrade to A13_r35 build TQ2A.230305.008.C1

**********************
Mar 14, 2023
**********************
- Upstream kernel to android-4.14-stable (tag 4.14.309)

**********************
Mar 8, 2023
**********************
- Update vendor blobs from V14.0.2.0.TKFEUXM
- Revert to Lights HIDL [fix notification LED]
- Specify kernel FCM version

**********************
Feb 26, 2023
**********************
- Upstream kernel to android-4.14-stable (tag 4.14.307) (ASB-2023-03-05_4.14-stable)
- device fixes

**********************
Feb 23, 2023
**********************
- Upstream kernel to android-4.14-stable (tag 4.14.306)
- Set default USB, BT & hotspot SSID based on ro.boot.hwc
- Add three-fingers-swipe screenshot

**********************
Feb 13, 2023
**********************
- Update vendor blobs from V14.0.1.0.TKFEUXM
- Update vendor SPL to Feb 01, 2023

**********************
Feb 9, 2023
**********************
- Make CTS/Play Integrity pass again

**********************
Feb 8, 2023
**********************
- February 2023 Security patch
- LOS upgrade to A13_r30 build TQ1A.230205.002
- apply ASB-2023-02-05_4.14-stable
- upstream kernel to android-4.14-stable (tag 4.14.305)

**********************
Feb 7, 2023
**********************
- Update Adreno from LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0
- Add Snapdragon Computer Vision Engine stack
- Add Neural Networks stack
- Update Adreno from LA.UM.9.14.r1-19300-LAHAINA.QSSI12.0

**********************
Feb 2, 2023
**********************
- enable OTA for davinci
- enable suspend to RAM
- add touch improvements props
- various device optimizations

**********************
Jan 31, 2023
**********************
- update vendor security patch level
- upstream kernel to android-4.14-stable (tag 4.14.304)
- merge tags 'LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0'

**********************
Jan 27, 2023
**********************
- uprev manifests to level 5
- uprev various HAL's
- move Lights, DRM to AIDL
- enable SafetyNet pass
- fix wifi overlays
- various device optimizations
- enable VoWIFI in airplane mode
- fix ViLTE camera
- device cleanup & optimize for A13
- update vendor blobs to V13.0.15.0.SKFMIXM

**********************
Jan 12, 2023
**********************
- January 2023 Security patch
- LOS upgrade to A13_r20 build TQ1A.230105.001.A2
- lineage davinci initial build

👨‍🔧️ maintainer: raul16
🗓️ build: monthly
🍦️ type: vanilla
📱️ version: lineage-20
 
Last edited:

angeltomik

New member
May 9, 2012
1
0
After successfully installing the system and gapps everything seems to work fine except google play store stops installing any app. Tried clearing cache, rebooting etc. Had to switch to different rom as thats a deal breaker. Other than that nice and smooth.
 

Msharu73

Senior Member
Dec 30, 2017
64
13
Redmi K20 / Xiaomi Mi 9T
View attachment 5822893

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

Disclaimer:
Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on AOSP with contributions from many people within the Android community. It can be used without any need to have any Google application installed. If needed you can install any GApps package available for T.
LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
The source code for LineageOS is available at GitHub. And if you would like to contribute to Lineage OS, please visit Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions:
  • make a FULL backup first from your actual system and data;
  • before installing make sure you are running the latest firmware for your region;
Clean install:
  • download the latest ROM zip and GApps (optional) from the downloads section below;
  • wipe system, cache, dalvik and do a factory reset in recovery if coming from another AOSP based rom (including other LineageOS 19/20)
  • install ROM zip + add install more zip's and flash also GApps (optional), thus you get best integration of vanilla LineageOS with GApps;
  • install as recovery the latest fbev1 TWRP recovery [twrp_13.img];
  • format /data (from wipe option) - the option which requires you to type "yes";
    this is required due to encryption changes.
  • reboot to system and enjoy ;) latest LineageOS 20 [Android 13] on your Redmi K20 / Xiaomi Mi 9T.
    Note: if you enable Lineage recovery option during setup you will lose TWRP (overwrite by Lineage recovery app)
Upgrade [dirty flash]:
  • download the latest ROM zip from the downloads section below;
  • install ROM zip;
  • wipe cache, dalvik - optional;
  • reboot to system;

Downloads:

Reporting bugs:
Bug reports without a complete description of the issue and a logcat will be ignored!
  • 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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

Credits:
  • ArianK16a for initial DT & Kernel
  • LineageOS Team & Contributors
  • Code Aurora Forum
  • Redmi K20 / Xiaomi Mi 9T contributors

GPL compliance: Kernel source

XDA: DevDB Information
[ROM] [13.0] [davinci] LineageOS 20 [UNOFFICIAL] ROM for Redmi K20 / Xiaomi Mi 9T

Contributors:

raul16

Donations:
donations are not mandatory but very welcomed
if you like my work and want to support development or buy me a coffee PayPal Donate

ROM OS Version: Android 13.0.0_r20
ROM Kernel: Linux 4.14.x
ROM Firmware Required: V12.5.2.0.RFJCNXM / V12.1.4.0.RFJMIXM / V12.1.4.0.RFJINXM
Based On: LineageOS 20

Version Information
Status:
Stable

Created on 2023-01-12
Last Updated 2023-01-27
Dear Raul,
Thanks for this LOS 20 ROM. After reading the Clean Flash instructions, wanted to know (1) if we don't need to Wipe Data along with Dalvik, Cache & System. and (2) if we need to flash the latest global stable firmware of Redmi K20 or not. Since in all other ROMs, this needs to be done. Kindly clarify soon since want to try your ROM soon. Thanks again.
 

raul16

Senior Member
Dear Raul,
Thanks for this LOS 20 ROM. After reading the Clean Flash instructions, wanted to know (1) if we don't need to Wipe Data along with Dalvik, Cache & System. and (2) if we need to flash the latest global stable firmware of Redmi K20 or not. Since in all other ROMs, this needs to be done. Kindly clarify soon since want to try your ROM soon. Thanks again.
(1) for clean install you must format data not wipe, after flash ROM, before you boot to system;
(2) you have to be on latest firmware for your region
all these are stated in the Instruction section
 

raul16

Senior Member
new build lineage-20.0-20230209-UNOFFICIAL-davinci.zip

February 2023 Security patch
  • Make CTS/Play Integrity pass again
  • LOS upgrade to A13_r30 build TQ1A.230205.002
  • apply ASB-2023-02-05_4.14-stable
  • upstream kernel to android-4.14-stable (tag 4.14.305)
  • Update Adreno from LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0
  • Add Snapdragon Computer Vision Engine stack
  • Add Neural Networks stack
  • Update Adreno from LA.UM.9.14.r1-19300-LAHAINA.QSSI12.0
  • enable OTA for davinci
  • enable suspend to RAM
  • add touch improvements props
  • various device optimizations
Note: OTA enabled will notify & upload starting next release.
 
Last edited:

I_did_it_just_tmrrow

Senior Member
Feb 27, 2011
383
72

sffoxy

Senior Member
Oct 24, 2014
84
20
I will back up my phone and give it a try. My phone is actually running the latest arian vanilla build for the Mi 9T with MindTheGapps and Magisk installed. Therefore I am hoping to successfully try dirty flashing that thing :D
 
  • Like
Reactions: raul16

sffoxy

Senior Member
Oct 24, 2014
84
20
@raul16 It seems like Arian released another update for davinci LOS20. Do you integrate his latest changes in your next release, too? ;) What's your plan?
 

raul16

Senior Member
@raul16 It seems like Arian released another update for davinci LOS20. Do you integrate his latest changes in your next release, too? ;) What's your plan?
actually they were already included in the current build from 230209.
next build, once AOSP ASB March will become available, will contain even more goodies - under test now ;) - picked from other distributions. Like '3 finger swipe for screen shot" option taken from MIUI (!) and others that will be announced when version released.
also all vendor blobs updated to latest Xiaomi release 14.0.2.0.TKFEUXM.
I'm building LOS20 for Davinci to my personal flavor/use and share it for anyone to use it if want/like.
 

Martinsio

New member
Mar 13, 2023
4
3
Thank you for your work. I have given it a try and it works perfectly.

I did notice two drawbacks:
- There is no or I can't find the option to use facial recognition as an unlock system.
- The battery drains very quickly when the phone is idle.

Is there any way to correct these two drawbacks?
Thank you.
 

raul16

Senior Member
- There is no or I can't find the option to use facial recognition as an unlock system.
- The battery drains very quickly when the phone is idle.
- not implemented in Lineage OS / not available; with motor front camera i see it as a risk and in my view is more secure with fingerprint;
- no drain here at all while idle. check your settings - like turn off pocket mode;
 
  • Like
Reactions: felix297

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    @raul16 It seems like Arian released another update for davinci LOS20. Do you integrate his latest changes in your next release, too? ;) What's your plan?
    actually they were already included in the current build from 230209.
    next build, once AOSP ASB March will become available, will contain even more goodies - under test now ;) - picked from other distributions. Like '3 finger swipe for screen shot" option taken from MIUI (!) and others that will be announced when version released.
    also all vendor blobs updated to latest Xiaomi release 14.0.2.0.TKFEUXM.
    I'm building LOS20 for Davinci to my personal flavor/use and share it for anyone to use it if want/like.
    3
    Can confirm, since 19.1 battery is awesome, idle only with wifi and short message/mail checks every day I got about 4 days of battery life with a ~20% worn out battery capacity. Maybe check for certain apps with high idle traffic or cpu usage. Many of the hidden culprits hide their high demand behind the google service label in battery history so you'll get the impression that it's unavoidable.
    After reviewing my configuration and testing these last few days, I can say that there is no more battery drain.
    Battery life is now insane, reaching around 8 hours - 8 and a half hours of screen usage with normal use.
    2
    Dirty flash worked flawlessly coming from vanilla arian 20.0, many thanks, have a coffee good sir ;) looking forward to real OTA updates again :)
    1
    THX @raul16 for your work here.

    I need MicroG. Is it possible to install microG with your LOS 20 rom? Would it survive a ota-update?
    no support for microG included.
    it is vanilla LineageOS + patches to pass SN when recommended GMS is installed so bank apps & wallet works OK.
    1
    microG had this repo for building it. Can I use your sourcecode with it to build my own microG-LOS20 or did miss something? https://github.com/lineageos4microg/docker-lineage-cicd
    sources are open so glhf; idk about microG.
  • 9
    header_davinci_LineageOS_20.png


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

    Disclaimer:
    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */

    LineageOS is based on AOSP with contributions from many people within the Android community. It can be used without any need to have any Google application installed. If needed you can install any GApps package available for T.
    LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
    The source code for LineageOS is available at GitHub. And if you would like to contribute to Lineage OS, please visit Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions:
    • make a FULL backup first from your actual system and data;
    • before installing make sure you are running the latest firmware for your region;
    Clean install:
    • download the latest ROM zip and GApps (optional) from the downloads section below;
    • wipe system, cache, dalvik and do a factory reset in recovery if coming from another AOSP based rom (including other LineageOS 19/20)
    • install ROM zip + add install more zip's and flash also GApps (optional), thus you get best integration of vanilla LineageOS with GApps;
    • install as recovery the latest fbev1 TWRP recovery [twrp_13.img];
    • format /data (from wipe option) - the option which requires you to type "yes";
      this is required due to encryption changes.
    • reboot to system and enjoy ;) latest LineageOS 20 [Android 13] on your Redmi K20 / Xiaomi Mi 9T.
      Note: if you enable Lineage recovery option during setup you will lose TWRP (overwrite by Lineage recovery app)
    Upgrade [dirty flash]:
    • download the latest ROM zip from the downloads section below;
    • install ROM zip;
    • wipe cache, dalvik - optional;
    • reboot to system;

    Downloads:

    Reporting bugs:
    Bug reports without a complete description of the issue and a logcat will be ignored!
    • 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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

    Credits:
    • ArianK16a for initial DT & Kernel
    • LineageOS Team & Contributors
    • Code Aurora Forum
    • Redmi K20 / Xiaomi Mi 9T contributors

    GPL compliance: Kernel source

    XDA: DevDB Information
    [ROM] [13.0] [davinci] LineageOS 20 [UNOFFICIAL] ROM for Redmi K20 / Xiaomi Mi 9T

    Contributors:

    raul16

    Donations:
    donations are not mandatory but very welcomed
    if you like my work and want to support development or buy me a coffee PayPal Donate

    ROM OS Version: Android 13.0.0_r20
    ROM Kernel: Linux 4.14.x
    ROM Firmware Required: V12.5.2.0.RFJCNXM / V12.1.4.0.RFJMIXM / V12.1.4.0.RFJINXM
    Based On: LineageOS 20

    Version Information
    Status:
    Stable

    Created on 2023-01-12
    Last Updated 2023-03-19

    Screeshots:
    Screenshot_20230128-131333_Trebuchet.pngScreenshot_20230128-131246_Trebuchet.pngScreenshot_20230128-131418_Settings.pngScreenshot_20230128-131505_Google Play Store.pngScreenshot_20230129-080441_Chrome.pngScreenshot_20230128-131505_Google Play Store.pngScreenshot_20230128-131610_Android System.png
    8
    new build lineage-20.0-20230209-UNOFFICIAL-davinci.zip

    February 2023 Security patch
    • Make CTS/Play Integrity pass again
    • LOS upgrade to A13_r30 build TQ1A.230205.002
    • apply ASB-2023-02-05_4.14-stable
    • upstream kernel to android-4.14-stable (tag 4.14.305)
    • Update Adreno from LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0
    • Add Snapdragon Computer Vision Engine stack
    • Add Neural Networks stack
    • Update Adreno from LA.UM.9.14.r1-19300-LAHAINA.QSSI12.0
    • enable OTA for davinci
    • enable suspend to RAM
    • add touch improvements props
    • various device optimizations
    Note: OTA enabled will notify & upload starting next release.
    3
    Can confirm, since 19.1 battery is awesome, idle only with wifi and short message/mail checks every day I got about 4 days of battery life with a ~20% worn out battery capacity. Maybe check for certain apps with high idle traffic or cpu usage. Many of the hidden culprits hide their high demand behind the google service label in battery history so you'll get the impression that it's unavoidable.
    After reviewing my configuration and testing these last few days, I can say that there is no more battery drain.
    Battery life is now insane, reaching around 8 hours - 8 and a half hours of screen usage with normal use.
    3
    @raul16 It seems like Arian released another update for davinci LOS20. Do you integrate his latest changes in your next release, too? ;) What's your plan?
    actually they were already included in the current build from 230209.
    next build, once AOSP ASB March will become available, will contain even more goodies - under test now ;) - picked from other distributions. Like '3 finger swipe for screen shot" option taken from MIUI (!) and others that will be announced when version released.
    also all vendor blobs updated to latest Xiaomi release 14.0.2.0.TKFEUXM.
    I'm building LOS20 for Davinci to my personal flavor/use and share it for anyone to use it if want/like.
    2
    Dirty flash worked flawlessly coming from vanilla arian 20.0, many thanks, have a coffee good sir ;) looking forward to real OTA updates again :)