• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][FINAL][UNOFFICIAL][lavender][9] LineageOS 16.0 [20200107]

Search This thread


New member
Mar 3, 2010
Change kernel(f2fs support)

Thanks for this great work with this ROM.
I have a Samsung 64gb SD card is formatted exFat, it works fine in twrp, but in ROM, says its corrupted, and wants to format it to fat32.
The same thing happens with my oneplus 6t, running an unofficial lineage 16, but the developer just ignored my post!
The same thing happens with an otg I have, says corrupted and wants to format.
If I have to reformat all my cards I will, but fat32 is a bit dated now, and it will take many hours moving all the files I have on them all.
Can anyone shed some light on this situation?
Change to Genom kenel.
I solved.
  • Like
Reactions: goosebickel


Apr 8, 2019
Can someone tell me how I can update the ROM from an older version? I tried dirty flashing it but I got a bootloop and had to factory reset and start over.


Senior Member
Apr 11, 2017
Bluetooth does not work on the last release (20190714), it automatically switch back off after you try to enabled it.

thank you so much.I will look at it and fix and update asap.

Edit : I have found why bluetooth isn't working..
Delete this two lines from build.prop and it will work :
Last edited:


May 26, 2019
I'm searching for the feature "work profile". could somebody tell me where is it / where to enable it?
There is an option in Settings -> System -> Status bar -> System icons -> work profile but it does not show anything?

Top Liked Posts

  • There are no posts matching your filters.
  • 110
     * 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 9 (pie), 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
    • Wi-Fi
    • Bluetooth
    • IR Camera
    • Camera
    • Cam recorder
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS/GNSS
    • Volte

    Known issues :

    • You tell me ( None )

    Instructions :
    • You need a PC with ADB & Fastboot available
    • Download latest ofox recovery or twrp
    • Flash recovery
    • Wipe System,Cache ,Data, Internal Storage and Format Data
    • Reboot to Recovery
    • Flash ROM
    • Flash Gapps and Magisk ( Optional )
    • Reboot system.

    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 /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)
    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. Any bug not reported in the bug report format below may be ignored.
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    Did you--
     restore with titanium backup:
    reboot after having the issue:
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    XDA:DevDB Information
    [ROM][UNOFFICIAL][lavender][9] LineageOS 16.0 [20190511], ROM for the Xiaomi Redmi Note 7

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

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x

    Version Information
    Status: Stable

    Created 2019-04-20
    Last Updated 2020-01-07
    Downloads :
    ROM : Click Here
    OpenGapps : https://opengapps.org/

    Changelog :

    • December Security Patch
    • Latest LineageOS Synced Source
    • Beautified Rounded Corners
    • Increased Earpiece volume
    • Some improvements regarding Doze
    • Updated rootdir configs from LA.UM.7.2.c6-03700-sdm660.0
    • WiFi Improvements
    • Merged CAF TAG LA.UM.7.2.r1-07600-sdm660.0
    • Update Camera blobs from MIUI 11.0.4
    • Updated FM blobs from LA.UM.7.2.r1-06900-sdm660.0

    • Updated Blobs From MIUI 9.9.3
    • Entirely Rebased on latest CAF TAG and MIUI
    • GPS configs updated from GLOBAL rom
    • Synced with latest LineageOS Source
    • Some Framework Ovleray Changes
    • WhatsAPP VC patch has been removed.
    • Added back some lineage missing features.

    • Synced with latest LineageOS Source
    • Fixed up some selinux denials
    • Removed min freq limit for GPU
    • Updated blobs from MIUI V10.3.12
    • Pulled Changes from LA.UM.7.2.r1-07500-sdm660.0 for Carrier Config
    • Fixed some brightness related issues

    • Updated Carrier Configs from MIUI 9.9.3
    • Swtched to GPS from CAF
    • Removed all NFC related stuffs
    • Fully Deodexed
    • Increased a bit handset volume
    • Updated GPS from LA.UM.7.2.r1-07500-sdm660.0
    • Updated Graphics blObs from LA.UM.7.2.r1-07500-sdm660.0
    • Some Changes regarding brightness
    • Merged latest CAF tag LA.UM.7.2.r1-07500-sdm660.0 to kernel
    • Updated AutoPowerModes Settings

    • August Security Patch
    • Updated GPS HAL from LA.UM.7.2.r1-07400-sdm660.0
    • Updated Wifi Configs
    • Updated GPS configs from latest MIUI
    • Imported New Thermal Configs
    • Enabled Toggle for OEM Unlocking/Locking
    • Kernel has been upstreamed to v4.4.156
    • All the CAF tags until latest which is LA.UM.7.2.r1-07400-sdm660.0 has been merged into kernel.
    • Widevine L1 Fix has been added (not sure if it works)
    • Vbmeta is now merged with zip ; no need to flash it separately anymore if coming from MIUI
    • Updated Fingerprint Blobs from miui 9.8.1

    • Increased InCall Volume
    • Fixed Audio Recording
    • Updated Volume Steps For Calls and Music
    • RSSNR signal implementation is now ignored
    • Updated Wifi Configs
    • Whatsapp VideoCall Lag has been thorughly fixed
    • Updated Perf blobs from LA.UM.7.2.r1-07400-sdm660.0
    • Updated Sdm blobs from LA.UM.7.2.r1-07400-sdm660.0
    • Kernel has been upstreamed to v4.4.155

    • Updated WFD packages
    • Disabled PowerHal Stats
    • Enabled Kryo cores for both CPU
    • Adaptation For Android Q
    • Enabled Strip Debugging
    • Removed TWRP support from source
    • Increased Rx Handling Value
    • Removed McastBcastFilter and Bcast RX packets.
    • Enabled params for mac Randomizations
    • Switched to caf sdm660 audio,media,display and bluetooth hals.
    • Enabled VR support
    • Improvised GPS support
    • Improved 5Ghz wifi support.
    • Added OTA support (WIP)

    • July Security Patch
    • Updated GPS from LA.UM.7.2.r1-07000-sdm660.0
    • Updated Wifi configs from CAF
    • File Manager shows internal storage on default
    • Some props updated from Miui 9.7.4 while rebased to newer tree
    • Increased mic volume

    • Adjusted statusbar paddings according to MIUI V10.3.6
    • Fixed glitches on AC3 Medias
    • Selinux is now Enforcing
    • set the default dpi to 420 with proper keyguard icon padding
    • Set circular battery style as default
    • kernel has been switched to stock xiaomi one
    • Enabled LTE only option for all
    • Updated Graphics blobs from miui v10.3.6
    • Rearranged some props from system to vendor for proper implications.

    • June Security Patch
    • merged latest lineage patches
    • Set proper stroke when power saver is enabled
    • Preserve battery icon blacklist state when setting icon style
    • Some fixes related to Camera
    • Reduced notch overlay size according to actual size
    • Dual SIM data after restart fixed
    • calls & music playback simulatanously for bluetooth now working without conflicts (wip)
    • some framework optimizations which increases 1.4% performance boost
    • set 440dpi as default
    • some more improvements regarding rounded corners
    • Added Always on Display with Doze Support
    • Updated Audio Hals from LA.UM.7.2.r1-07000-sdm660.0

    • Removed some useless stuffs which are not needed in AOSP ROM
    • Predefine default hotspot name
    • Fixed rounded corners a bit
    • Upstream merge from LineageOS
    • Enabed Color Calibration Mode
    • Enabed Picture Adjustment Mode
    • Some Overlay Cleanup
    • kernel modules are now built from source directly ; so performance should improve.
    • Updated GPS from LA.UM.7.2.r1-06900-sdm660.0
    • May Security Patch
    • New GPS modules
    • Fixed incoming low call audio volume
    • Added LiveDisplay
    • Fixed notification lag
    • updated vendor blobs
    • rom now supports 4k 30fps recording on back camera and 1080p in front camera
    • Fixed FM radio
    • fixed offline charging
    • Apparently fixed whatsapp issues
    • ROM now runs with evira kernel v1.5
    • hapatic feeedback vibration has been increased to stock like.
    • fixeed led during charge and notifications
    • fixed proximity wake duration time
    • fixed some more brightness values.
    • SafetyNET now sucessfully passes
    • Brightness flickering fixed
    • Auto Brightness fixed
    • Fixed some notch overlays
    • Custom light ,fingerprint and thermal hals
    • Added double tap to wake support
    • imporved performance and some optimizations
    • Bluetooth music fixed
    • Rom now runs with EviraKernel v1.4 . All thanks to @resurrect for such wonderful kernel
    • Combined into a single zip
    • vbmeta has been included in zip .So, no need to flash vbmeta sperately. Thanks to @Dyneteve
    • Added some more device framework
    • Fixed some overlays
    • GPS now working
    • Initial Release

    How to Update Using OTA :
    1. Check Updates Section of LineageOS
    2.Download using updater and click install
    3.It will take you to TWRP and automatically Flash it and reboot to System
    4.Since GAPPS start crashing and ROOT support will be erased so..you need to do the next step.
    3. flash gapps again && Magisk (if you used to use it) booting into TWRP
    4.Tada! Youre Updated!

    Telegram Offtopic group : https://t.me/joinchat/Fcx2pkswbyZ2XjHbwl3ZRQ

    Device Tree : https://github.com/faham1997/android_device_xiaomi_lavender
    Kernel Source : https://github.com/faham1997/kernel

    Please Hit Thanks Button If you really love my work!
    LineageOS 16.0 Changelog For October Build :
    *Updated Blobs From MIUI 9.9.3
    *Entirely Rebased on latest CAF TAG and MIUI
    *GPS configs updated from GLOBAL rom
    *Synced with latest LineageOS Source
    *Some Framework Ovleray Changes
    *WhatsAPP VC patch has been removed.
    *Added back some lineage missing features.

    Some personal thoughts :
    I want to add something something as this is probably the final LineageOS 16.0 build for lavender.

    Apparently , there were so many issues regarding GPS and Proximity.
    First of all ,let me talk about GPS . It simply worked for some people and didn't for some people in all the previous builds.
    The main reason behind this is that we all have different variants and we are from different parts of the world.
    The GPS.config that was provided earlier on was changed repeatedly inbetween china and CAF configs.
    In this build , I have added it from GLOBAL edition so that it is compatible for most of us.The Second issue is proximity.
    This is one issue which occurs if you don't unlock your screen in two seconds of restarting device... which is present for some people and not for many people.

    Lastly , I would appreciate everyone who has supported for my works all these months :D and always tried to cheer me up !
    There has been a question on me by several devs around XDA and on telegram that I didn't public my source. Certainly , there are people who have really offended me on public regarding this fact while
    i never said i won't public the source. This is really disheartening for me and often times i wanted to quit developing for this device due to these facts.
    But due to support of some awesome people , i was forced to continue .. So , as the time has come , I'm finally linking my device tree source in my XDA thread .
    I don't know how much it helps people to spread bad rumours about me .. but this shall certainly help a lot of young minds to push the device at its limit.

    I'm taking a break from all sorts of development due to several personal reasons. I wish you all , best of luck until then :D

    LineageOS Update Changelog :

    *Updated Carrier Configs from MIUI 9.9.3
    *Swtched to GPS from CAF
    *Removed all NFC related stuffs
    *Fully Deodexed
    *Increased a bit handset volume
    *Updated GPS from LA.UM.7.2.r1-07500-sdm660.0
    *Updated Graphics blObs from LA.UM.7.2.r1-07500-sdm660.0
    *Some Changes regarding brightness
    *Merged latest CAF tag LA.UM.7.2.r1-07500-sdm660.0 to kernel
    *Updated AutoPowerModes Settings

    Check OP #2 for download link