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

[CLOSED][ROM][UNOFFICIAL][9.0][pyxis] LineageOS 16.0 - Treble [EOL]

Status
Not open for further replies.
Search This thread

gringo80

Senior Member
Jun 8, 2018
678
626
Last edited:
  • Like
Reactions: janhammer504

Beast.Kuvretz

Senior Member
Feb 3, 2016
67
14
Jakarta
No, full gesture exist only Pixel Experience. It's a part of their code !

On LineageOS, swipe up brings you multitasking screen.

On Pixel devices / Pixel Experience / MIUI Pie : yes
On LineageOS : no, only swipe up

I think what i mean is on this video around 1.50
https://youtu.be/0v7cA3O-XMA
I'll try this weekend when im not busy. Miui gesture, battery, aod, notification etc kinda sucks.

Also thx for working back led.

Note: if someone need gcam, try install MGC_6.2.030_MI9SE_V4_plus2.apk.
Go to setting > advanced > default AWB. Set to Google. And reboot your device to ditch some pink, green, blue or other color tint for you pic result. ( But the display still have some color tint after taking shoot, and ultrawide does not work)
 

NeoDJW

Senior Member
Next time, use a polite question please ... For all noobs and impolite users too, i'm not your employee !


DISCLAIMER !!!
If you don't know how to talk, you are free to create your own thread and speak as you want ...
Be sure i will never participate to your talkshow !


This is the last time i answer for such question, next time you will be ignored.

If you are happy with MIUI, if you don't know what is lineageOS, if you didn't fully read the OP or understand it, please don't come here and spam the thread !

With respect, Cheers :good:

Dude, chillax.
 

Gigaa

New member
Oct 25, 2019
3
4
Thank you so much for doing this, got it installed and it booted up fine.
However sounds are replaced with ear screeching beeps for whatever reason (almost gave me a heart attack lol).
Got any tips on how to fix this? Don't wanna use the rom before I can make sure that this will not happen again.
 

peppertarts

Member
Mar 2, 2008
11
7
Hi @gringo80 Thanks for your work bringing Lineage to the CC9/Mi 9 lite. Do you have your device/vendor tree on GitHub? I would really like to build Lineage from source. Thanks, Peter.
 
Last edited:
  • Like
Reactions: Stefke93 and Gigaa

Norton_Sec

Member
Mar 29, 2017
24
4
Issue:
Double tap wakeup
Finger print don't work in screenoff

---------- Post added at 05:44 PM ---------- Previous post was at 05:26 PM ----------

Just want to verify, this rom also works for Mi 9 Lite?

Yes it's working on my mi 9 lite
You have to install twrp pyxis!

---------- Post added at 05:58 PM ---------- Previous post was at 05:44 PM ----------

Mic and speakers in call don't work
 

polo2907

New member
Oct 27, 2019
2
1
ok thank for your job
it work good for me
but the Fingerprint doesnt work very good for me ( i make 2 fingerprints for the same finger)
but it doesnt matter for the moment
 

hanbin81j32

Senior Member
Hi @gringo80 Thanks for your work bringing Lineage to the CC9/Mi 9 lite. Do you have your device/vendor tree on GitHub? I would really like to build Lineage from source. Thanks, Peter.

i decompression this rom, it's not source comiple rom. just edited gsi and Vendor.img, boot.img included.
 

Attachments

  • IMG_20191108_172745_432.jpg
    IMG_20191108_172745_432.jpg
    141.1 KB · Views: 556

gringo80

Senior Member
Jun 8, 2018
678
626
i decompression this rom, it's not source comiple rom. just edited gsi and Vendor.img, boot.img included.

It's already mentioned on OP : prebuit kernel from MIUI + GSI build patched with Mi 9 Lite blobs + unofficial !!!
Can't anyone read ???

FYI : All current "official" lineageOS builds for modern devices (shipped with oreo and later) are just patched AOSP GSI on their framework. Because of "Google Project Treble" ! Do you think that you have source or copyrights to rewrite vendor files link (don't you remember what happened to official builds for xiaomi devices ???) Vendor files can't be changed. Only old devices still get their builds from sources (nougat and older)

The difference between official and unofficial is only system image format used !

How android works to make it short : boot > vendor files (hardware) > system (framework) = software

This why i didn't change anything about the boot.img except making it permissive. The original code is intact, only a command was added !


Project-Treble-before-and-after-e1511881174506.png


I don't understand why people never read the original post carefully !!! They just take the download files and start their comments uselessly.
Next time before posting something you don't understand, read at least OP !
 
Last edited:

Norton_Sec

Member
Mar 29, 2017
24
4
Do you have these issues? (Mi9Lite)
Mic and speakers in call don't work
Double tap wakeup
Finger print don't work in screenoff
 

gringo80

Senior Member
Jun 8, 2018
678
626
Do you have these issues? (Mi9Lite)
Mic and speakers in call don't work
Double tap wakeup
Finger print doesn't work screenoff

Fingerprint (FOD-type) still don't work "screen-off" on LineageOS and Pixel Experience (lack of documentation from OEM). Please use MIUI instead for this feature.
Sorry for the inconvenience. Thanks !


Meanwhile, a new update is coming ...

Stay tuned !
 
Last edited:
  • Like
Reactions: janhammer504

peppertarts

Member
Mar 2, 2008
11
7
FYI : All current "official" lineageOS builds for modern devices (shipped with oreo and later) are just patched AOSP GSI on their framework. Because of "Google Project Treble" !

@gringo80 While I understand that Project Treble is the modern way of targeting recent phones, I hadn't appreciated that it was the way custom ROMs like Lineage are now built. It's been a while since I've done anything with Lineage. Thanks for the update.

I've now successfully built a Treble Lineage 16 system.img using phh and AndyYan patches. Would you be willing to share your patches so that I can create myself a custom build including your fixes?

Thanks.
 

gringo80

Senior Member
Jun 8, 2018
678
626
@gringo80 While I understand that Project Treble is the modern way of targeting recent phones, I hadn't appreciated that it was the way custom ROMs like Lineage are now built. It's been a while since I've done anything with Lineage. Thanks for the update.

I've now successfully built a Treble Lineage 16 system.img using phh and AndyYan patches. Would you be willing to share your patches so that I can create myself a custom build including your fixes?

Thanks.

The patch takes me a long hours of research, it's a personal effort ... sorry i can't share it !
It will be merged on every new update. Sorry for the inconvenience.

Thanks
 
  • Like
Reactions: janhammer504

itsamess

Senior Member
May 1, 2017
89
17
Xiaomi Mi CC9 / Mi 9 Lite
Hey.
Thank you very much for your work.
I am coming from redmi note 4.
I appreciate every work done and I think lineage is way better than miui.
What are your thoughts about lineage 17? Do you think you will try to build it in a few weeks or is your fokus on lineage 16?

On a sidenote:
If someone would test Google Pay, that would be great. That's really important for me and OP said it's not that easy to test for him.
 

Rykywype

Senior Member
Nov 24, 2018
63
11
Hey.
Thank you very much for your work.
I am coming from redmi note 4.
I appreciate every work done and I think lineage is way better than miui.
What are your thoughts about lineage 17? Do you think you will try to build it in a few weeks or is your fokus on lineage 16?

On a sidenote:
If someone would test Google Pay, that would be great. That's really important for me and OP said it's not that easy to test for him.
Lineage OS 17 builds aren't yet stable for most devices. There's no need to rush things as of now.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    PHP:
    /*
    * 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 :
    . HWC [Prebuilt Permissive Kernel]
    . Wi-Fi, NFC
    . Bluetooth : aptX™ HD [48 KHz/24 bits]
    . RIL : Calls, SMS, Data
    . Call Recorder : AMR-WB & AAC
    . Hotspot & Tethering
    . Screen Mirroring [aka Miracast]
    . Camera : minimalistic ... use my GCam or MIUICamera MOD instead !
    . Audio/Video : Playback & Record
    . FM Radio & FM Recorder
    . Mics [All]
    . Sensors [All]
    . GPS
    . Flashlight, IR Blaster
    . Notification LED on the back
    . Autobrightness, Full LiveDisplay Control, Notch hide
    . Fingerprint [FOD] : use autobrightness in a bright room for fast unlocking, or disable android animations
    . AOD : to use at your own risk (burn-in, no deep-sleep)
    . DT2W : enabled by default
    . Encryption
    . USB OTG
    . Fast Charging
    . Offline Charging
    . SafetyNet
    . DRM Widevine L1 enabled : Netflix in Full HD with the official app from the Play Store (no Magisk Module / modded app needed)

    More :
    . Heavy ART, Battery, CPU & Memory optimizations : ZERO lag/freeze/random reboot !
    . Super smooth UX
    . Hi-Fi audio experience
    . Stellar deep-sleep at 99% on GSM mode (disable mobile data /LTE /4G+) : use Wi-Fi instead at home !
    . Chromium Webview inside [source]
    . Open GApps compatible, or use my optimized "Google Essential Package" +++
    . Wi-Fi Max Speed (Mbps) : 150 (2.4 GHz) / 433 (5 GHz)
    => choose in your router settings the highest frequency for "Channel Width" for both 2.4 & 5 GHz +++

    Known issues :
    - SELinux Permissive
    - FOD & Screen Recorder don't work when the option "hide notch" is enabled ... disable it if you want to use them.


    INSTRUCTIONS


    FIRST INSTALL

    Coming from the official MIUI/xiaomi.eu, LineageOS 17.x or any android 10 custom ROM ... etc
    This LineageOS 16.0 is based on android 9 (pie) firmware not android 10 !


    - With your current TWRP :
    . Format /data : type "yes" with keyboard popup
    . Flash this firmware.zip [MANDATORY]

    - Without rebooting TWRP :
    . Wipe system & vendor
    . Flash the latest downloaded LOS 16.0 build
    . Flash the Open GApps or my "Google Essential Pack" (+ GCam)
    . Optional : reboot to TWRP again & flash Magisk

    - Boot now to LineageOS system and finish your setup +++ : set MagiskHide ON to pass SafetyNet !


    *******


    DIRTY INSTALL (2min/max)

    = working data for current LineageOS 16.0 (not MIUI, not LOS 17.x)
    = you are NOT in MIUI/ LOS 17.x and you just want to restore your backup => it will not work : encryption is different from each software version. You must restart from scratch (clean install)


    - From your current TWRP :
    . Wipe "/dalvik & cache"
    . go with TWRP file manager and delete : /data/system/package_cache
    /data/property/persistent_properties

    . Flash the latest build
    . Flash the Open GApps or my "Google Essential Pack" [+ GCam]
    . Optional : reboot to TWRP again & flash Magisk

    - Boot to LineageOS system !


    MORE CLEAR THAN THIS, I CAN'T OR YOU MUST BE BLIND !!!


    DOWNLOADS
    :

    Here

    Banking Apps & GPay :
    . Hide your banking app, Google Play Services & Magisk Manager with a random name (Magisk Parameters) +++
    . GPay supported countries : here


    Credits
    . phhusson for his amazing work on the project treble
    . AndyYan for his reference on building Lineage GSI
    . LineageOS Community for documentation, bugfix, news, ...

    Contributors :
    gringo80 : exploring, building and testing ...

    Source Code for both Recovery and Boot : Here

    ROM OS version : 9.x Pie
    ROM Kernel : Linux 4.9.x


    Version Information
    Status : Stable
    Stable Release Date : 2020-12-12

    Created : 2019-11-05
    Latest Update : 2020-12-12
    15
    Reserved for "Changelog"

    Update : (2020-12-12) Highly Recommended !
    - Chromium Webview : update to version 87.0.4280.106
    - vendor : update audio blobs & configs
    - framework : new linear brightness overlay

    Update : (2020-12-01)
    - arm64 instructions update
    - persist : small path fix
    - system : update camera proprietary files
    - vendor : update mixer_paths files
    - Standalone Packages : New MiuiCamera (48mp, portrait mode, ...etc), small fix for GoogleDialer

    Update : (2020-11-22)
    - Chromium Webview : update to version 87.0.4280.67
    - Update : audio & camera configs

    Update : (2020-11-16)
    - Audio Engine : SmartPA added
    - System : update proprietary-files (spkcal)

    Update : (2020-11-11)
    - Audio Engine : fix compatibility with some old emulators (MAME, N64, SNES, ... etc)
    - ramdisk update +++

    Update : (2020-11-05)
    - Chromium Webview : update to version 86.0.4240.181
    - improve performance & stability

    Update : (2020-10-24)
    - LiveDisplay Fix : keep custom user values after reboot !

    Update : (2020-10-20)
    - Chromium Webview : update to version 86.0.4240.99
    - LiveDisplay : Picture Adjustment module fully implemented +++
    - Audio Engine : small update and clean up
    - ramdisk : disable cpu_boost (touch responsiveness improved) & schedtune update

    Update : (2020-10-10)
    - Sync with the latest LOS upstream
    - SystemUI : adjust status bar padding
    - Keyguard (lockscreen manager) : use the new default padding
    - Ramdisk (system/vendor) : update schedtune strategy (improve performance & battery life)
    - Qualcomm RILs : update blobs
    - system/vendor : update all manifests
    - Camera : improve LineageOS Snap package & update all media_profiles

    Update : (2020-10-01)
    - add : some audio permissions in ueventd (tas_calib, tas2562, ...)
    => this is only for kernel log and has nothing to do with speaker loudness ... if you want to copy it ! (LOL)
    - fix : in-call speaker issue (hand-free) => switch from fluencepro to fluence in QUALCOMM Audio
    - fix : (proprietary mediadrm) low volume playback for all DRM contents (Netflix, Spotify, YouTube ...) => Enjoy !
    - update : camera media_profiles, soundfx blobs & thermal-engine

    - TWRP Recovery :
    + fast new decryption script
    + update fstab : allow flashing extracted images for some forbidden partitions (cache, dtbo, miscellenaous & vbmeta)

    Update : (2020-09-16)
    - Chromium Webview : update to version 85.0.4183.110
    - Audio Engine (vendor) : rework from scratch all .conf & .xml
    - System : import some useful blobs from Stock MIUI (ims, location, ril, sensor calibration, sound libs)
    - Qualcomm Audio : switch to fluencepro (build.prop, vendor permission ...)
    - Modem : reduce power consumption in deep-sleep (build.prop - cherrypicks from sdm660 +++)
    - Google Essential Package : update some permissions for Google Camera
    - Google Camera : improve sharpness and focus precision (Package & build.prop)

    Update : (2020-09-09)
    - Chromium Webview : update to version 85.0.4183.94
    - keylayout : add patch for volume buttons on wired headset
    - Audio Engine (system) : improve speaker output (import tinyalsa.so from stock)
    - Bluetooth (system) : import some stock proprietary blobs
    - soundfx (system/vendor) : update audio_effects.conf & blobs
    - ramdisk : update init.qcom.power.rc

    Update : (2020-08-30)
    - Audio Engine : Big Update (config, blob, mixer_paths) +++
    => improve HD Voice Call, Playback, Recording, AudioFX, Hi-Res compatibility

    Update : (2020-08-25)
    - ramdisk/vendor : rework from scratch init.qcom.sh, init.qcom.post-boot.sh & perf configs +++
    - Overheating fix : SoC mismatch introduced by mistake (typing error) in the last build (2020.08.23)
    - framework overlay : update disabledComponents
    - mixer_path : boost "Speaker" gain
    - SELinux : small fix

    Update : (2020-08-23)
    - Sync with the latest LOS upstream
    - Chromium Webview : update to version 84.0.4147.132
    - Lights : add some permissions
    - ramdisk/vendor update : improve performance and battery life (SOT)
    - Display : update configs
    - Audio Engine : force Dirac post-processing
    - Audio Output : Optimal volumes for Headphones & Bluetooth

    Update : (2020-08-14)
    - ART Optimization : update instruction set variant on both arm & arm64
    - Read the note for more informations +++

    Update : (2020-08-12)
    - Settings : fix SD Card icon not shown in Storage
    - Fix cpuset for mediaextractor => fast photo & video loading in Gallery / fast web browsing +++ :D
    - prop.default : add path for cache directory
    - mixer_paths : decrease loudness on wired headphones (for ear safety)
    - fstab.qcom : small fix for Internal Storage path
    - Compass & Lawnchair : available as standalone apps again !

    Update : (2020-08-08)
    - Sync with the latest LOS upstream
    - Chromium Webview : update to version 84.0.4147.121
    - framework overlay : Jelly Browser Fix => Slider Glitche in Options
    - fix Wi-Fi hotspot ID after reset or new build install
    - Google Essential Package, Google Contacts & Dialer : updated

    Update : (2020-08-05)
    - Chromium Webview : update to version 84.0.4147.119
    - update : MediaExtractor
    - improve : speaker playback

    Update : (2020-08-04)
    - Chromium Webview : update to version 84.0.4147.113
    - SELinux : add stock property_contexts
    - Vendor update : fix IMEI not shown in Settings
    - LightsService : remove unused stock (.jar)
    - Audio Recording (handset/headset) : improve quality again
    - framework overlay : disable some new Google wakelock components from GmsCore & Vending
    - Google Essential Package : new update +++

    Update : (2020-07-30)
    - Sync with the latest LOS upstream
    - Chromium Webview : update to version 84.0.4147.106
    - AudioFX : add a bluetooth permission in the package/platform
    - Messaging : use the true package name allowed in power-save
    - QUALCOMM interfaces : add missing permissions for some framework (zoom fixed in Wi-Fi video-call ++++)
    - Google Camera : new update

    Update : (2020-07-28)
    - New ART Optimizations (read the note +++)
    - Fix the conflict/lag between the keyguard & the FOD after reboot : re-enable again the strong authentification on Reboot (framework overlay)
    - Vendor Update : Camera & Display configs
    - Audio Engine : increase dynamics & update speaker/headphone impulses (HiFi quality :good: )
    - Google Essential Package : new update
    - Optional : AdBlocker (custom hosts) in a separate .Zip

    Update : (2020-07-19)
    - restore & improve msm_irqbalance : fix definitely the overheating with a great performance +++
    - framework overlay : implement "Color Temperature Adjustment"
    - Chromium Webview : update to 84.0.4147.95
    - SElinux : small "su" fixes and cleanup

    Update : (2020-07-17)
    - Sync with the latest LOS upstream
    - improve Light-HAL
    - prop.default : change some ART config for better performance
    - ramdisk : update schedutil config
    - Google Essential Pack : GoogleRestore added

    Update : (2020-07-13)
    - dex2oat updated : faster app launching (don't forget wiping dalvik/cache & delete /data/system/package_cache to take full advantage of the new optimization)
    - Audio Engine : improve audio playback again
    - SafetyNet ... fixed ! :D (don't forget deleting data for the Play Store to make the device certified again)

    Update : (2020-07-11)
    - dalvik/ART optimizations
    - PowerManager : improve deep-sleep control & less overheating
    - Touchscreen improved
    - Sound : set audio-hal 4.0 as only master
    - Roaming : Manual Network Selection definitely fixed !
    - Telephony : slight icon lifting
    - Camera : fix focus effect (GCam)
    - Google Essential Pack : update Play Store 20.9.10 (self auto-update disabled)

    Update : (2020-07-07)
    - Sync with the latest LOS upstream +++
    - framework : improve UI
    - vendor /init : improve FOD
    - Ramdisk : restore default kernel display config
    - Camera : improve Smartburst (GCam) in "Portrait" mode (rear/front)
    - Google Essential Pack : new update

    Update : (2020-07-02)
    - Sync with the latest LOS upstream +++
    - NFC : update components (gsma, nxp)
    - Chromium Webview 83.0.4103.119
    - system : update Camera & Display drivers
    - vendor : update all QUALCOMM proprietary files +++
    - Google Essential Pack : update Calendar Sync & Contacts Sync +++, GmsCore & Play Store

    Update : (2020-06-25)
    - Framework : remove the "signature spoofing" in services.jar and services.odex to fix the UI lag !
    - Google Essential Package :
    + add "WellBeing" as app core in the LineageOS Settings
    + "GoogleContactsSyncAdapter" definitely fixed and fully working now (thanks to Tomek0000 for insisting on that !)
    - Build : extra smooth (pixel device like) and time proof ! :good:

    Update : (2020-06-24)
    - Sync with the latest LOS upstream
    - Fix compatibility with Open GApps and re-installing Google apps is no longer needed after dirty update !!!
    - Fix Bluetooth device_name : use "Xiaomi MiCC9" as default
    - Resign in SHA-256
    - Google Essential Package : Big update +++
    - Build : stable with more battery optimization

    Update : (2020-06-20)
    - Qualcomm : update proprietary files (framework & permissions)
    - /init (vendor) update
    - mixer : improve stereo recording

    Update : (2020-06-18)
    - Sync withe the leatest LOS upstream
    - ramdisk optimizations : improve display auto_suspend, memory autosleep, surfaceflinger cpuset, fs and kernel rcu
    - framework overlay update : doze, powerdecouple, tcp_buffers, NetworkAttributes, power_profile ...
    - set GSM/WCDMA/LTE as default network instead of Global

    Update : (2020-06-14)
    - June SPL
    - Sync with the latest LOS upstream
    - Update : Power Manager
    - Settings : fix SIM parameters
    - TeleService : fix Wi-Fi Call

    Update : (2020-04-20)
    - ART optimizations
    - Ramdisk : improve Deep-Sleep, Battery Life & Performance

    Update : (2020-03-31)
    - Vendor : remove msm irqbalance
    - Schedutil governor : update config

    Update : (2020-03-12)
    - Fix : SurfaceFlinger

    Update : (2020-03-10)
    - March SPL
    - Sync with the latest LOS upstream

    Update : (2020-03-04)
    - SD Card : fix conflict with kernel schedtune

    Update : (2020-03-03)
    - Sync with the latest LOS upstream
    - Ramdisk : optimize power & performance management
    - Kernel : re-enable "power_efficient" in workqueue (command line)
    - Fix screen distortion on some apps (Play Store, ...etc)

    Update : (2020-02-20)
    - Ramdisk & framework : improve battery life (SOT, deep-sleep)
    - Vendor : update overlay & fix some Camera config

    Update : (2020-02-13)
    - SELinux : fix the conflict between Magisk Hide daemon and the Play Store

    Update : (2020-02-11)
    - February SPL
    - Sync with the latest LOS upstream
    - SELinux : fix VPN conflict with MAC permission
    - Qualcomm : update library (battery life and FOD improved)

    Update : (2020-01-31)
    - January SPL
    - Sync with the latest LOS upstream
    - SELinux : clean & fix some Qualcomm permissions
    - Vendor : rebuild from scratch all camera configs
    - Build : reduce ROM size

    Update : (2020-01-27)
    - Ramdisk & init : redefine "cpuset" (performance & battery life drastically improved)
    - MediaCodec : improve VP9/AVC streaming (Netflix), fix HEVC (GCam support added)
    - Audio Engine : update config (increase speaker loudness without output noise)
    - Camera : update (config) + add missing libs => major improvement in picture quality (GCam)
    - hosts file : fixed (was broken)

    Update : (2020-01-19)
    - mediacodecs : fix VP9 /AVC secure
    - DRM L1 re-implemented from stock MIUI : Full support for Netflix from the Play Store => Full HD working and tested !
    (the first and only custom ROM on Earth ! :D)
    - BT : improve HiFi Playback with aptX™ HD codec (check your headphone compatibility)
    - FOD : fix conflict with screen protectors (tested with CRXOOX 9H : very thick !)
    - Reduce ROM size a lot (to save space in your /system_root partition)

    Update : (2020-01-15)
    - Remove : Busybox, Addon SU (RIP and Thank you for all these beautiful years !) => Busybox still available in a separate .zip
    - Unified thermal-engine.conf
    - BT Fix
    - Official fingerprint from the stock firmware to pass SafetyNet :

    . no module / Google hide stuff needed (just push Magisk Hide ON !)
    . Netflix available in the Play Store again
    . GPay available in selected countries (check yours !) => needs more testing please from users (still unavailable in my country)

    Update : (2020-01-07)
    - December SPL
    - Sync withe the latest LOS upstream
    - Patches merged : AOD
    - Fix : Sound & Notification
    - Update : Kernel & Vendor from the latest MIUI v11.3.4.0 => Proximity Sensor broken in this vendor. Revert back to Kernel & Vendor from MIUI 10.3.6.0 (stable) :good:

    Update : (2019-12-31)
    - Update : New OTG Patch

    Update : (2019-12-21)
    - PowerHAL : overheating fix, improve battery life
    - Audio Engine : improve HiFi playback
    - Google Package Update : GoogleCalendarSyncAdapter / GoogleContactsSyncAdapter

    Update : (2019-12-14)
    - Previous patches merged : WiFi 2.4 Fix, Roaming, ...etc
    - Update : NFC (libs/framework/permissions/selinux), vendor overlay
    - Build : improve stability, performance and battery life
    - Google Package Update : Keyboard Gesture, GoogleCalendarSyncAdapter

    Update : (2019-12-07)
    - Sync with the latest LOS upstream
    - Previous patches merged : Dirac Sound, FM Recorder, ...etc
    - Camera Improvement
    - Introduce DT2W (separate .zip)
    - System : ueventd.rc reworked from scratch (system_root/vendor)

    Update : (2019-11-30)
    - All previous patches merged : Tethering, Sound Fix, mediacodecs, ...etc
    - Fix : DeskClock, DRM for Netflix
    - Camera Improvement : add & fix some QUALCOMM blob/lib :D

    Update : (2019-11-23)
    - All previous patches merged : low brightness, bluetooth playback, etc ...
    - FM Radio : successfully implemented ! :cool:
    - Add : Video Call over 4G / Call over WiFi
    - Rebuild from scratch : All system_root/vendor permissions, init & overlay (a lot of time and work!)
    - Add : Xiaomi Bluetooth blobs (choose the right codec for your paired devices or keep as default)
    - Fix : Call recording conflict with Bluetooth
    - DeskClock : truly themed to fit the default theme

    Update : (2019-11-18)
    - Screen Low brightness fixed
    - Charger Offline fixed
    - LTE+ added
    - Switch to "Material" Calendar
    - FOD improvement : much more faster
    - QUALCOMM library added : system much more optimized

    Update : (2019-11-11)
    - Full Mi 9 Lite overlay (reverted from miui) : autobrightness, power_profile, notch hide ... etc
    - True sound fix : the workaround is no longer needed, so AudioFX is working now !
    - Dirac Sound enabled !!!
    - Audio in-call fix !!!
    - Signature Verification fully disabled, so you can install your modded apps.
    - Big Ramdisk Update (root system & vendor) : reworked from scratch ... improve touch responsiveness, battery, performance, audio
    - Stock camera blobs fully injected. For better result in photography, use my GCam MOD !

    Use developers options to hide the notch ! (last line in animations option)
    9
    New Build (20191214)

    Please, read the OP !

    I think i'm done with LineageOS 16.0, ... Maybe Pixel Experience in the future if i have enough time.
    Feel free to post your bugreport with logcat (no extra-feature, or safetynet stuff please)

    Thank you all for your support !
    :good:
    9
    Patch (2019-11-27)

    Hi there,

    - This will be the last fix for all the sound issues. Everything now is working perfectly.
    - A lot of changes for the audio in this patch : routing, samplerate, effects settings, etc ... see the files for the curious ones !
    - AudioFX is working flawlessly with all audio players supporting an Equalizer/MusicFX : tested on PowerAMP 2 & 3, Phonograph and of course Eleven (the default music player)
    - AudioFX can now be active on YouTube, MX Player, ... and all video players !

    ... Will be merged of course ! (Please don't use the old one)

    Update #2 :
    - Fix Incoming call issue
    - media_codecs optimizations (encoding/decoding)

    Enjoy
    :good:
    7
    New Build (20191207)

    Read OP