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

Status
Not open for further replies.
Search This thread

itsamess

Senior Member
May 1, 2017
89
17
Xiaomi Mi CC9 / Mi 9 Lite
Lineage OS 17 builds aren't yet stable for most devices. There's no need to rush things as of now.

Where do I ask for a rush? Where do I say that lineage 17 is stable and he should focus on that?



Sry, can't find it in OP if you meant me.
Is it so erroneous that you just want to build LOS16 and have no interest in 17? Than it's my bad.
It's not a question of when but rather a question of your interest.

But you do not have to answer that at all, but by posting "read OP" it implies there is the answer.
 

NoSohoth

Member
Nov 11, 2019
6
2
Paris
Do you have these issues? (Mi9Lite)
Mic and speakers in call don't work
Double tap wakeup
Finger print don't work in screenoff

I am also having the mic and speaker issue in call.

I've tried modifying the value of persist.audio.fluence.voicecall to false and ro.qc.sdk.audio.fluencetype to none in /system/build.prop as usually suggested for Mi phones running LineageOS, to no avail.
Took a look in mixer_paths.xml, tried cleaning cache partitions and rebooting as well. Recording the microphone with the Recorder app works so this looks like it is tied to voice calls.
Here's a (grep'd) logcat during a phone call, any clue ?

Code:
11-12 00:02:41.649   875  7366 E audio_hw_primary: offload_thread_loop: Compress handle is NULL
11-12 00:02:43.694  6177  6177 W dex2oat : Compilation of void com.google.android.gms.ads.nonagon.transaction.a.<init>(android.util.JsonReader) took 353.875ms
11-12 00:02:51.698   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:02:51.698   875  7639 E audio_hw_primary: @@: usecase[0xf1fa0180]=low-latency-playback, devices=0x4, uc_info[0xf1fa0180]=low-latency-playback
11-12 00:02:51.707   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:02:51.707   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:02:52.082   875   875 E audio_route: unable to find path 'hph-lowpower-mode'
11-12 00:02:52.082   875   875 E audio_hw_primary: @@: usecase[0xf1fa0180]=low-latency-playback, devices=0x4, uc_info[0xf1fa0180]=low-latency-playback
11-12 00:02:52.117   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:02:52.118   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:02:52.176   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:02:52.177   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:24.548   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:21:24.548   875  7639 E audio_hw_primary: @@: usecase[0xf1fa01b8]=low-latency-playback, devices=0x1, uc_info[0xf1fa01b8]=low-latency-playback
11-12 00:21:24.554   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:24.554   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:24.958   875   875 E audio_hw_primary: @@: usecase[0xf1fa01b8]=low-latency-playback, devices=0x2, uc_info[0xf1fa01b8]=low-latency-playback
11-12 00:21:24.958   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:24.958   875   875 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 40 App Type Cfg
11-12 00:21:24.958   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:24.959   875   875 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-12 00:21:24.979   875   875 E tas_spk_prot: Using 24 bit playback
11-12 00:21:25.001   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:25.001   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:25.105   875   875 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:25.106   875   875 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:47.537   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:21:47.537   875  7639 E audio_hw_primary: @@: usecase[0xf1fa01f0]=low-latency-playback, devices=0x1, uc_info[0xf1fa01f0]=low-latency-playback
11-12 00:21:47.543   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:47.543   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:47.959   875   875 E audio_hw_primary: @@: usecase[0xf1fa01f0]=low-latency-playback, devices=0x2, uc_info[0xf1fa01f0]=low-latency-playback
11-12 00:21:47.960   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:47.960   875   875 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 40 App Type Cfg
11-12 00:21:47.960   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:47.961   875   875 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-12 00:21:47.978   875   875 E tas_spk_prot: Using 24 bit playback
11-12 00:21:47.996   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:47.996   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:48.142   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:48.142   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
 

gringo80

Account currently disabled
Jun 8, 2018
743
652
I am also having the mic and speaker issue in call.

I've tried modifying the value of persist.audio.fluence.voicecall to false and ro.qc.sdk.audio.fluencetype to none in /system/build.prop as usually suggested for Mi phones running LineageOS, to no avail.
Took a look in mixer_paths.xml, tried cleaning cache partitions and rebooting as well. Recording the microphone with the Recorder app works so this looks like it is tied to voice calls.
Here's a (grep'd) logcat during a phone call, any clue ?

Code:
11-12 00:02:41.649   875  7366 E audio_hw_primary: offload_thread_loop: Compress handle is NULL
11-12 00:02:43.694  6177  6177 W dex2oat : Compilation of void com.google.android.gms.ads.nonagon.transaction.a.<init>(android.util.JsonReader) took 353.875ms
11-12 00:02:51.698   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:02:51.698   875  7639 E audio_hw_primary: @@: usecase[0xf1fa0180]=low-latency-playback, devices=0x4, uc_info[0xf1fa0180]=low-latency-playback
11-12 00:02:51.707   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:02:51.707   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:02:52.082   875   875 E audio_route: unable to find path 'hph-lowpower-mode'
11-12 00:02:52.082   875   875 E audio_hw_primary: @@: usecase[0xf1fa0180]=low-latency-playback, devices=0x4, uc_info[0xf1fa0180]=low-latency-playback
11-12 00:02:52.117   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:02:52.118   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:02:52.176   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:02:52.177   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:24.548   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:21:24.548   875  7639 E audio_hw_primary: @@: usecase[0xf1fa01b8]=low-latency-playback, devices=0x1, uc_info[0xf1fa01b8]=low-latency-playback
11-12 00:21:24.554   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:24.554   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:24.958   875   875 E audio_hw_primary: @@: usecase[0xf1fa01b8]=low-latency-playback, devices=0x2, uc_info[0xf1fa01b8]=low-latency-playback
11-12 00:21:24.958   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:24.958   875   875 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 40 App Type Cfg
11-12 00:21:24.958   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:24.959   875   875 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-12 00:21:24.979   875   875 E tas_spk_prot: Using 24 bit playback
11-12 00:21:25.001   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:25.001   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:25.105   875   875 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:25.106   875   875 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:47.537   875  7639 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
11-12 00:21:47.537   875  7639 E audio_hw_primary: @@: usecase[0xf1fa01f0]=low-latency-playback, devices=0x1, uc_info[0xf1fa01f0]=low-latency-playback
11-12 00:21:47.543   875  7639 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:47.543   875  7639 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:47.959   875   875 E audio_hw_primary: @@: usecase[0xf1fa01f0]=low-latency-playback, devices=0x2, uc_info[0xf1fa01f0]=low-latency-playback
11-12 00:21:47.960   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:47.960   875   875 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 40 App Type Cfg
11-12 00:21:47.960   875   875 E voice   : voice_is_in_call_rec_stream: input stream is NULL
11-12 00:21:47.961   875   875 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-12 00:21:47.978   875   875 E tas_spk_prot: Using 24 bit playback
11-12 00:21:47.996   875   875 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
11-12 00:21:47.996   875   875 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-12 00:21:48.142   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented
11-12 00:21:48.142   875  1481 W DeviceHAL: Error from HAL Device in function get_mic_mute: Function not implemented

Wich build are you using ??? Please read changelog OP. Fixed in the new build !
 
Last edited:

NoSohoth

Member
Nov 11, 2019
6
2
Paris
The 20191111 build breaks pico gapps for me, the Google first start setup process just keeps running forever.
In the logcat, I get errors about Invalid security signature and unfindable libraries, most likely due to your work on signature spoofing.
I'll post the logcat when I get home, and I'll just run microg in the meantime, or permanently :)
 
  • Like
Reactions: gringo80

Richard_10

Senior Member
The 20191111 build breaks pico gapps for me, the Google first start setup process just keeps running forever.
In the logcat, I get errors about Invalid security signature and unfindable libraries, most likely due to your work on signature spoofing.
I'll post the logcat when I get home, and I'll just run microg in the meantime, or permanently :)
Logcat would be nice indeed
 
  • Like
Reactions: gringo80

gringo80

Account currently disabled
Jun 8, 2018
743
652
The 20191111 build breaks pico gapps for me, the Google first start setup process just keeps running forever.
In the logcat, I get errors about Invalid security signature and unfindable libraries, most likely due to your work on signature spoofing.
I'll post the logcat when I get home, and I'll just run microg in the meantime, or permanently :)

wich gapps are you using ???

- flash the the rom + gapps (nano or pico), don't use full or stock !!!
- wipe /dalvik and /cache
- go to /data : delete "resource-cache" folder too !
- reboot
 
Last edited:

NoSohoth

Member
Nov 11, 2019
6
2
Paris
wich gapps are you using ???

- flash the the rom + gapps (nano or pico), don't use full or stock !!!
- wipe dalvik/cache
- go to /data : delete "resource-cache" folder too !
- reboot

Open GApps pico 9.0 - 20191112
It keeps looping on these error messages :

Code:
11-12 19:48:46.655  7059  7059 F linker  : CANNOT LINK EXECUTABLE "/system/bin/smcinvoked": library "libtzcom.so" not found
11-12 19:48:46.634  7058  7058 I init    : type=1400 audit(0.0:1753): avc: denied { execute_no_trans } for path="/system/bin/displayfeature" dev="sda23" ino=2492 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
11-12 19:48:46.660  7057  7057 F linker  : CANNOT LINK EXECUTABLE "/system/bin/subsystem_ramdump_system": library "libmdmdetect_system.so" not found
11-12 19:48:46.661  7058  7058 F linker  : CANNOT LINK EXECUTABLE "/system/bin/displayfeature": library "libdisplayfeatureservice.so" not found
11-12 19:48:46.754  7060  7060 I init    : type=1400 audit(0.0:1754): avc: denied { create } for name="dpmd" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:46.754  7060  7060 I init    : type=1400 audit(0.0:1755): avc: denied { setattr } for name="dpmd" dev="tmpfs" ino=122788 scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:46.773  7060  7060 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": library "libdpmframework.so" not found
11-12 19:48:46.764     1     1 I init    : type=1400 audit(0.0:1756): avc: denied { unlink } for name="dpmd" dev="tmpfs" ino=122788 scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:47.136  1714  2087 I WifiService: startScan uid=10004
11-12 19:48:47.265   884  5508 D audio_hw_primary: out_standby: enter: stream (0xeae83000) usecase(1: low-latency-playback)
11-12 19:48:47.319   884  5508 D audio_hw_primary: stop_output_stream: enter: usecase(1: low-latency-playback)
11-12 19:48:47.319   884  5508 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback speaker
11-12 19:48:47.322   884  5508 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
11-12 19:48:47.322   884  5508 D hardware_info: hw_info_append_hw_type : device_name = speaker
11-12 19:48:47.322   884  5508 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
11-12 19:48:47.322   884  5508 V tas_spk_prot: Feedback Disabled
11-12 19:48:47.360   884  5508 V tas_spk_prot: TAS2562_SMARTPA_ENABLE: DISABLE 0
11-12 19:48:47.360   884  5508 V tas_spk_prot: Disabling SND_DEVICE_IN_CAPTURE_VI_FEEDBACK
11-12 19:48:47.360   884  5508 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
11-12 19:48:47.360   884  5508 D audio_hw_primary: disable_snd_device: snd_device(138: vi-feedback)
11-12 19:48:47.360   884  5508 D msm8974_platform: platform_split_snd_device: snd_device(138) num devices(0) new_snd_devices(0)
11-12 19:48:47.360   884  5508 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x8a of type 1 for Event 0, with Raise=0
11-12 19:48:47.360   884  5508 V tas_spk_prot: Disabling USECASE_AUDIO_SPKR_CALIB_TX
11-12 19:48:47.360   884  5508 D audio_hw_primary: disable_audio_route: reset and update mixer path: spkr-vi-record
11-12 19:48:47.360   884  5508 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 48 of type 1 for Event 2, with Raise=0
11-12 19:48:47.360   884  5508 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
11-12 19:48:47.360   884  5508 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
11-12 19:48:47.360   884  5508 D audio_hw_primary: stop_output_stream: exit: status(0)
11-12 19:48:47.360   884  5508 D audio_hw_primary: out_standby: exit
11-12 19:48:47.492  3841  3841 I SetupWizard: [GmsCheckinMonitor] Checking Android ID
11-12 19:48:47.493  3841  3841 I SetupWizard: [GmsCheckinMonitor] Last checkin fingerprint=null
11-12 19:48:47.494  3841  3841 I SetupWizard: [GmsCheckinMonitor] Requesting checkin
[B]11-12 19:48:47.500  3841  3881 W GooglePlayServicesUtil: Google Play services signature invalid.[/B]
11-12 19:48:47.503  3841  3841 W SetupWizard: [GmsCheckinMonitor] Checkin failed to complete
[B]11-12 19:48:47.503  3841  3841 W SetupWizard: com.google.android.gms.common.api.ApiException: 17: API: Checkin.API is not available on this device.[/B]
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.internal.zzb.zza(ApiExceptionUtil.java:3)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzh.zza(ApiExceptionMapper.java:2)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzf.zza(ApiCallRunner.java:16)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zza(GoogleApiManager.java:130)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.onConnectionFailed(GoogleApiManager.java:90)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zzi(GoogleApiManager.java:171)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zza(GoogleApiManager.java:100)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbn.handleMessage(GoogleApiManager.java:143)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.Looper.loop(Looper.java:193)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.HandlerThread.run(HandlerThread.java:65)
11-12 19:48:47.503  3841  3841 W SetupWizard: [CompletableFutures] Retrying future. Exception=java.util.concurrent.CompletionException: com.google.android.gms.common.api.ApiException: 17: API: Checkin.API is not available on this device.
11-12 19:48:47.504  3841  3841 I SetupWizard: [GmsCheckinMonitor] Retrying in 56953ms. 2147483641 attempts remaining
11-12 19:48:48.154  1367  1367 I DispatcherModul: type=1400 audit(0.0:1757): avc: denied { call } for scontext=u:r:rild:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
11-12 19:48:48.164  3754  3754 I m.android.phone: type=1400 audit(0.0:1758): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=1
11-12 19:48:50.334   964   964 I lmkd    : type=1400 audit(0.0:1764): avc: denied { write } for name="oom_score_adj" dev="proc" ino=108497 scontext=u:r:lmkd:s0 tcontext=u:r:zygote:s0 tclass=file permissive=1
11-12 19:48:51.653  7061  7061 F linker  : CANNOT LINK EXECUTABLE "/system/bin/subsystem_ramdump_system": library "libmdmdetect_system.so" not found
11-12 19:48:51.662  7062  7062 F linker  : CANNOT LINK EXECUTABLE "/system/bin/displayfeature": library "libdisplayfeatureservice.so" not found
11-12 19:48:51.670  7065  7065 F linker  : CANNOT LINK EXECUTABLE "/system/bin/smcinvoked": library "libtzcom.so" not found
11-12 19:48:51.779  7066  7066 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": library "libdpmframework.so" not found
 
  • Like
Reactions: tiagorodrigueez

gringo80

Account currently disabled
Jun 8, 2018
743
652
Open GApps pico 9.0 - 20191112
It keeps looping on these error messages :

Code:
11-12 19:48:46.655  7059  7059 F linker  : CANNOT LINK EXECUTABLE "/system/bin/smcinvoked": library "libtzcom.so" not found
11-12 19:48:46.634  7058  7058 I init    : type=1400 audit(0.0:1753): avc: denied { execute_no_trans } for path="/system/bin/displayfeature" dev="sda23" ino=2492 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
11-12 19:48:46.660  7057  7057 F linker  : CANNOT LINK EXECUTABLE "/system/bin/subsystem_ramdump_system": library "libmdmdetect_system.so" not found
11-12 19:48:46.661  7058  7058 F linker  : CANNOT LINK EXECUTABLE "/system/bin/displayfeature": library "libdisplayfeatureservice.so" not found
11-12 19:48:46.754  7060  7060 I init    : type=1400 audit(0.0:1754): avc: denied { create } for name="dpmd" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:46.754  7060  7060 I init    : type=1400 audit(0.0:1755): avc: denied { setattr } for name="dpmd" dev="tmpfs" ino=122788 scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:46.773  7060  7060 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": library "libdpmframework.so" not found
11-12 19:48:46.764     1     1 I init    : type=1400 audit(0.0:1756): avc: denied { unlink } for name="dpmd" dev="tmpfs" ino=122788 scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
11-12 19:48:47.136  1714  2087 I WifiService: startScan uid=10004
11-12 19:48:47.265   884  5508 D audio_hw_primary: out_standby: enter: stream (0xeae83000) usecase(1: low-latency-playback)
11-12 19:48:47.319   884  5508 D audio_hw_primary: stop_output_stream: enter: usecase(1: low-latency-playback)
11-12 19:48:47.319   884  5508 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback speaker
11-12 19:48:47.322   884  5508 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
11-12 19:48:47.322   884  5508 D hardware_info: hw_info_append_hw_type : device_name = speaker
11-12 19:48:47.322   884  5508 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
11-12 19:48:47.322   884  5508 V tas_spk_prot: Feedback Disabled
11-12 19:48:47.360   884  5508 V tas_spk_prot: TAS2562_SMARTPA_ENABLE: DISABLE 0
11-12 19:48:47.360   884  5508 V tas_spk_prot: Disabling SND_DEVICE_IN_CAPTURE_VI_FEEDBACK
11-12 19:48:47.360   884  5508 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
11-12 19:48:47.360   884  5508 D audio_hw_primary: disable_snd_device: snd_device(138: vi-feedback)
11-12 19:48:47.360   884  5508 D msm8974_platform: platform_split_snd_device: snd_device(138) num devices(0) new_snd_devices(0)
11-12 19:48:47.360   884  5508 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x8a of type 1 for Event 0, with Raise=0
11-12 19:48:47.360   884  5508 V tas_spk_prot: Disabling USECASE_AUDIO_SPKR_CALIB_TX
11-12 19:48:47.360   884  5508 D audio_hw_primary: disable_audio_route: reset and update mixer path: spkr-vi-record
11-12 19:48:47.360   884  5508 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 48 of type 1 for Event 2, with Raise=0
11-12 19:48:47.360   884  5508 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
11-12 19:48:47.360   884  5508 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
11-12 19:48:47.360   884  5508 D audio_hw_primary: stop_output_stream: exit: status(0)
11-12 19:48:47.360   884  5508 D audio_hw_primary: out_standby: exit
11-12 19:48:47.492  3841  3841 I SetupWizard: [GmsCheckinMonitor] Checking Android ID
11-12 19:48:47.493  3841  3841 I SetupWizard: [GmsCheckinMonitor] Last checkin fingerprint=null
11-12 19:48:47.494  3841  3841 I SetupWizard: [GmsCheckinMonitor] Requesting checkin
[B]11-12 19:48:47.500  3841  3881 W GooglePlayServicesUtil: Google Play services signature invalid.[/B]
11-12 19:48:47.503  3841  3841 W SetupWizard: [GmsCheckinMonitor] Checkin failed to complete
[B]11-12 19:48:47.503  3841  3841 W SetupWizard: com.google.android.gms.common.api.ApiException: 17: API: Checkin.API is not available on this device.[/B]
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.internal.zzb.zza(ApiExceptionUtil.java:3)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzh.zza(ApiExceptionMapper.java:2)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzf.zza(ApiCallRunner.java:16)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zza(GoogleApiManager.java:130)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.onConnectionFailed(GoogleApiManager.java:90)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zzi(GoogleApiManager.java:171)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbp.zza(GoogleApiManager.java:100)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at com.google.android.gms.common.api.internal.zzbn.handleMessage(GoogleApiManager.java:143)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.Looper.loop(Looper.java:193)
11-12 19:48:47.503  3841  3841 W SetupWizard: 	at android.os.HandlerThread.run(HandlerThread.java:65)
11-12 19:48:47.503  3841  3841 W SetupWizard: [CompletableFutures] Retrying future. Exception=java.util.concurrent.CompletionException: com.google.android.gms.common.api.ApiException: 17: API: Checkin.API is not available on this device.
11-12 19:48:47.504  3841  3841 I SetupWizard: [GmsCheckinMonitor] Retrying in 56953ms. 2147483641 attempts remaining
11-12 19:48:48.154  1367  1367 I DispatcherModul: type=1400 audit(0.0:1757): avc: denied { call } for scontext=u:r:rild:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
11-12 19:48:48.164  3754  3754 I m.android.phone: type=1400 audit(0.0:1758): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=1
11-12 19:48:50.334   964   964 I lmkd    : type=1400 audit(0.0:1764): avc: denied { write } for name="oom_score_adj" dev="proc" ino=108497 scontext=u:r:lmkd:s0 tcontext=u:r:zygote:s0 tclass=file permissive=1
11-12 19:48:51.653  7061  7061 F linker  : CANNOT LINK EXECUTABLE "/system/bin/subsystem_ramdump_system": library "libmdmdetect_system.so" not found
11-12 19:48:51.662  7062  7062 F linker  : CANNOT LINK EXECUTABLE "/system/bin/displayfeature": library "libdisplayfeatureservice.so" not found
11-12 19:48:51.670  7065  7065 F linker  : CANNOT LINK EXECUTABLE "/system/bin/smcinvoked": library "libtzcom.so" not found
11-12 19:48:51.779  7066  7066 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": library "libdpmframework.so" not found

i will look into that ... I was so busy with the GCam today !

Ok, follow these steps :
. after installing your gapps, remove your account from your phone if already set
. connect to your account in another device or PC and remove your phone (Mi 9 Lite) from devices list (google account)
. download Google Services and Google Android Webview (from apk mirror)
. back to your phone and check off Google Protect from your android settings
. install Webview then Google Services
. go to account from settings and add your google account
. now connect to playstore normally and download your apps (to keep your system partition light too :cool:)

GmsCore and Webview from opengapps are broken ... watchout ! You can read up Google Play service signature invalid ! It's not a package in the rom but from your gapps package !

To check this, point your mouse cursor on the number "9.0" from opengapps homepage, it will show you this, that webview and gsmcore need a hacky rom a special signature not in the app but in the rom ! people never read !!!

Check my special package for LineageOS 16.0 here ! (extracted from official MIUI image)
To install it, you must reinstall the rom + my essential gapps + GCam , then manually Webview and GmsCore.
No need to wipe your current data !

With this, you get 100% success.

Don' forget to set GoogleDialer as your default dialer !
 
Last edited:

McKebapp

Senior Member
Apr 13, 2010
669
37
41
Close to Basel
Redmi Note 10 Pro
Dear gringo80,

thank you for your hard work. :good:
I tried to install your latest package, but I'm stuck in the first startup, too. :(

My procedure:

- I removed the phone from my google account
- unlocked the bootloader
- installed twrp-3.3.1-2-pyxis-final (auto-decrypt).img
- wiped and formatted the whole phone
- installed your latest build lineage-16.0-20191111-unofficial-pyxis.zip
- installed open_gapps-arm64-9.0-pico-20191113.zip
- installed your LOS 16.0 Google apps (x64) - Essential Pack.zip
- installed LineageOS - GCam (MGC 6.2.030).zip
- restarted TWRP
- installed Magisk-v20.1.zip
- deleted /data : delete "resource-cache" folder within twrp
- wiped cache / dalvik

When I boot now, I get stuck in "searching for updates".

What did I do wrong? :confused:
 
G

GuestK00355

Guest
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 !





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 !
Are you serious ? Custom rom for recent device aren't just patched AOSP GSI on their framework (else all device include old device are like this logically) and Treble project is for first stop Android version defragmentation (GSI is a exemple) and make more easy for oem to make new major update update. LineageOS team stopped to build new update for all xiaomeme device because some device (ursa and more) got a blob with SenseTime's license and be shared by all people who got this blob without their authorization so DCMA take down all xiaomeme vendor in GitHub with this blob and vendor file can be changed also. Also all devices (Old and recent) need to have proper source (device tree, vendor and kernel) for being built from source when a build is make specifically for a device
 
Last edited:

gringo80

Account currently disabled
Jun 8, 2018
743
652
Are you serious ? Custom rom for recent device aren't just patched AOSP GSI on their framework and Treble project is for first stop Android version defragmentation (GSI is a exemple) and make more easy for oem to make new major update update. LineageOS team stopped to build new update for all xiaomeme device because some device (ursa and more) got a blob with SenseTime's license and be shared by all people who got this blob without their authorization so DCMA take down all xiaomeme vendor in GitHub with this blob and vendor file can be changed also. Also all devices (Old and recent) need to have proper source (device tree, vendor and kernel) for being built from source when a build is make specifically for a device

There is a lot of space on xda where you can create ans discuss your topic.
If you have minimum respect for yourself, don't come here anymore to spam the thread. Next time you'll be ignored. This is a space to discuss bugs ans solutions. I hope you understand !

If you dont like, leave please !

Thanks
 
  • Like
Reactions: janhammer504

gringo80

Account currently disabled
Jun 8, 2018
743
652
Dear gringo80,

thank you for your hard work. :good:
I tried to install your latest package, but I'm stuck in the first startup, too. :(

My procedure:

- I removed the phone from my google account
- unlocked the bootloader
- installed twrp-3.3.1-2-pyxis-final (auto-decrypt).img
- wiped and formatted the whole phone
- installed your latest build lineage-16.0-20191111-unofficial-pyxis.zip
- installed open_gapps-arm64-9.0-pico-20191113.zip
- installed your LOS 16.0 Google apps (x64) - Essential Pack.zip
- installed LineageOS - GCam (MGC 6.2.030).zip
- restarted TWRP
- installed Magisk-v20.1.zip
- deleted /data : delete "resource-cache" folder within twrp
- wiped cache / dalvik

When I boot now, I get stuck in "searching for updates".

What did I do wrong? :confused:


Where did you read magisk on the whole thread ????????????????

Addon-su is already inside. No need to root !
You must delete su from /system/xbin
supersu.rc from /system/etc/init/
addonsu.sh from /system/addon.d

Then install magisk.

This thread is not for magisk ... and I dont support it !
Please create a specific thread for that.
Sorry for the inconvenience
 
Last edited:
  • Like
Reactions: janhammer504
G

GuestK00355

Guest
There is a lot of space on xda where you can create ans discuss your topic.
If you have minimum respect for yourself, don't come here anymore to spam the thread. Next time you'll be ignored. This is a space to discuss bugs ans solutions. I hope you understand !

If you dont like, leave please !

Thanks
First, that's not spam

And I say you sharing wrong information and I correct you but if it's spam for you :rolleyes:

And precise to your thread title it's a GSI with patch
 

McKebapp

Senior Member
Apr 13, 2010
669
37
41
Close to Basel
Redmi Note 10 Pro
Where did you read magisk on the whole thread ????????????????

Addon-su is already inside. No need to root !
You must delete su from /system/xbin
supersu.rc from /system/etc/init/
addonsu.sh from /system/addon.d

Then install magisk.

This thread is not for magisk ... and I dont support it !
Please create a specific thread for that.
Sorry for the inconvenience

Dear gringo80,

my problem is not magisk.
I can't get my pone running, like NoSohoth has the same problem in post #46.

In the meantime I'm a little further, just can't login into the play store.

What I did:

- I removed the phone from my google account
- wiped and formatted the whole phone
- installed your latest build lineage-16.0-20191111-unofficial-pyxis.zip
- installed your LOS 16.0 Google apps (x64) - Essential Pack.zip
- booted and first started the phone --> Was able to do Linages' first start and ended up in the Launcher.
- rebooted to TWRP and installed open_gapps-arm64-9.0-pico-20191113.zip
- booted the phone again and installed google play services and webview from APKMirror
- rebooted the phone to twrp and wiped caches + dalvik (just in case)
- added my account

But google play keeps asking: "Authenticating necessary. You have to login into you google account" - Try again. (roughly translated from german).
 

gringo80

Account currently disabled
Jun 8, 2018
743
652
Dear gringo80,

my problem is not magisk.
I can't get my pone running, like NoSohoth has the same problem in post #46.

In the meantime I'm a little further, just can't login into the play store.

What I did:

- I removed the phone from my google account
- wiped and formatted the whole phone
- installed your latest build lineage-16.0-20191111-unofficial-pyxis.zip
- installed your LOS 16.0 Google apps (x64) - Essential Pack.zip
- booted and first started the phone --> Was able to do Linages' first start and ended up in the Launcher.
- rebooted to TWRP and installed open_gapps-arm64-9.0-pico-20191113.zip
- booted the phone again and installed google play services and webview from APKMirror
- rebooted the phone to twrp and wiped caches + dalvik (just in case)
- added my account

But google play keeps asking: "Authenticating necessary. You have to login into you google account" - Try again. (roughly translated from german).

did you gave all permissions for google services ??? location too. it's mandatory
 
  • Like
Reactions: janhammer504
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