[ROM][UNOFFICIAL][P][F500,LS991,H81x,US991,VS986] LineageOS 16.0

steadfasterX

Recognized Developer
Nov 13, 2013
5,570
14,795
263
I don't know why, but today I opened the Music Player and I was able to play songs from External SD Card. So this is a new logcat: I opened the app, and then I played a song. ^^
thx for providing logs. Keep in mind that providing logs for LOS should follow FAQ #1 especially in the way how to provide them (no attachments).
I haven't had the time to look into your previous logs but I think the reboot allowed to scan the external SD. So if you put new files on the ext.SD it may not find them but on the next reboot it will. maybe you wanna test that as well (no log needed).

.-
 

busattovini

Senior Member
thx for providing logs. Keep in mind that providing logs for LOS should follow FAQ #1 especially in the way how to provide them (no attachments).
I haven't had the time to look into your previous logs but I think the reboot allowed to scan the external SD. So if you put new files on the ext.SD it may not find them but on the next reboot it will. maybe you wanna test that as well (no log needed).

.-
Oh, sorry! Haha I missed that we have to use https://paste.omnirom.org/. I'll do it in the next times. Thanks! I think that you're right: rebooting allows it to scan Ext. SD Card. Have an amazing day! ?

Sent from my LG-H815 using XDA Labs
 

kessaras

Recognized Developer
Sep 28, 2013
4,665
9,445
0
36
Athens
Oh, sorry! Haha I missed that we have to use https://paste.omnirom.org/. I'll do it in the next times. Thanks! I think that you're right: rebooting allows it to scan Ext. SD Card. Have an amazing day! ?
https://forum.xda-developers.com/g4/development/rom-lineageos-16-0-t3929082/post80050320
Didn't we already cover that ?
I had same bug in my AOSCP.
Music app asks for 3rd party permission but it's system app. After reboot it asks for system app permission which already has.
 

Ximo F. Verde

Senior Member
Jan 12, 2010
750
298
93
Hi @steadfasterX

I'd like to ask, assuring that it's by no means a request of any kind, a question regarding future updates for the G4.

From any related info you may have had regarding Android Q, do you think that a Q-based LineageOS will be feasible for the G4?

Thanks
 

steadfasterX

Recognized Developer
Nov 13, 2013
5,570
14,795
263
Hi @steadfasterX

I'd like to ask, assuring that it's by no means a request of any kind, a question regarding future updates for the G4.

From any related info you may have had regarding Android Q, do you think that a Q-based LineageOS will be feasible for the G4?

Thanks
atm I see no reason why not.
that's a question of time mainly as technically almost everything can be done - somehow :)

.-
 

steadfasterX

Recognized Developer
Nov 13, 2013
5,570
14,795
263
I have a request... It's okay if you don't want it. I wish we had Double Tap to Sleep (lol) in Trebuchet home screen, without needing to install another launcher or third-party apps. Is it possible? I personally don't like it in the notification bars. Thanks!

Sent from my LG-H815 using XDA Labs
I have set it to double tap on HOME button (settings -> buttons -> home double tap action -> turn screen off)
Now when double tap on the home button it will turn off the screen

.-
 
Last edited:

busattovini

Senior Member
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,570
14,795
263
New builds are cooking...

PREPARE - this update is BiiiiiiiiG



I have added a test in my jenkins build process to ensure that the unified device tree is working as it should.
Unifying our device tree makes it much easier to maintain and to add other not-yet added models - while it comes with the risk something goes wrong when it comes to blobs.

Nevertheless:
This is the 6th round first of my unified device tree so I would highly recommend doing the following (I have done that in my manual builds but you get it from jenkins - so there is a tiny little chance of bad luck .. ):

Pre-Cautions | Flashing instructions

  1. Recommended: Backup (system, userdata in TWRP, your internal storage which contains your photos etc elsewhere)
  2. Required: Do a "REGULAR CLEAN FLASH" (see bottom of this post)
  3. Flash LOS - DO NOT choose to reboot afterwards - stay in TWRP.
  4. TWRP menu: "Mount" --> choose "System"
  5. From a terminal execute:
    Code:
    adb shell md5sum /system/etc/firmware/venus.mbn
  6. Compare the value (last 4 characters is fully enough) with these:
    If you flash:
    h815, f500, h818, h819 it should be: d1f6fe863643b1e8d1e597762474928c
    h810, h811, h812, ls991, us991, vs986 it should be: 78e5cf520d0de4a413ef1cfa7bbbe713
    WARNING: If that checksum is NOT as it should be: DO NOT PANIC! simply FLASH the PREVIOUS LOS version BEFORE booting!. This will ensure you will not blow a fuse.
    While the above test should be considered safe: If you are unsure about this procedure: WAIT before flashing until someone (or I) had done the above quick test from the builds jenkins is providing at my leech server.
  7. Whenever an error occurs while flashing in TWRP (e.g "E1001: Failed to update system image.Updater process ended with ERROR: 7")
    or if the above checksum does not match:
    provide the recovery.log (FAQ #4 A)!!
    ... then flash the previous LOS version to get back to life - without harming your device.
  8. if instead (as we all expect) all went well and you had opengapps before - ensure you reflash gapps

Cooking order & LIVE cooking view

  • H815
  • H811
  • H815 UsU
  • VS986
  • H812
  • H810

Live - View:


Noteworthy Changes:
  • enabled pstore commit#1, commit#2, commit#3 (pstore = debug kernel panics/oops happened in a ROM)
    This is a 2-site change if you want to make use of it in TWRP you must install the latest TWRP "PREVIEW" release as well (TWRP is only able to show pstore logs when the ROM is able to write them so I needed to fix pstore in the ROM first (see above commits #1 + #2 )).
    Besides those 2 patches these kernel configs were set: PSTORE
    All details & how to verify: see FAQ #6
    From now on when you encounter a kernel panic and you are able to reboot without taking out the battery (taking out the battery will erase RAM and so the logs would get lost):
    1) reboot (without taking out the battery!) to either TWRP or (if you have root access) to your ROM
    2) grab what you need from here: /sys/fs/pstore/ (e.g. adb pull /sys/fs/pstore/)

  • fixed battery draining caused by torch crashing the camera: on boot, randomly and when "enable torch for power button" configured in android settings
  • kernel: security fixes, IPA revamp, several other improvements here and there
  • fixed: WiFi & BT MAC changed on every boot in rare cases (e.g. after a format data in TWRP)
  • new: translations for torch (if you miss any let me know the 2-letter country code and the translation for "flashlight"), removed the LOS owned flashlight completely from status bar / tile (both require a factory reset or full clean flash if you wanna them)
  • fixed: build F-Droid without unifiednlp and its backends (might be of interest for you @zeduck)
  • wrild: fixed no-SIM handling, several optimizations for better detection and handling of rild issues, complete re-work of dontaudit handling for wrild
  • WOOF: proudly presenting a brand new and (hopefully) intelligent watchdog for rild (part of wrild.sh).
    The main purpose of this watchdog is detecting and solving issues with no cell service and/or unusual high load on the rild process (rare but sometimes happens) which causing a lot of battery drain if that occured.
    When the watchdog needs to bite rild it will write logs to /sdcard/Download/wdlog/ which you should provide (adb pull /sdcard/Download/wdlog/) if you ever see them :)
    This watchdog was a massive amount of work and ofc included all selinux stuff around as well - encrypted / unencrypted devices are both working
    All the details how this watchdog works and how you can watch what he does check out the commit message

  • PLATFORM_SECURITY_PATCH = 2019-08-01
  • fixed: timing perfected for rild service on boot
  • fixed: several selinux denials
  • changed kernel branch to android-9.0_sfx to workaround issues with cypher (still syncing from there but allowing me to revert, add whatever I need as well)
  • Full details:
    kernel: commits
    g4-common tree: commits
    g4 unified tree: commits
    closed issues (if any): github issue tracker


IMPORTANT:
  • If you encounter issues try this first:
    Code:
    adb shell
    su
    (or adb root when enabled)
    setenforce permissive
    Try again and if the issue is gone when in permissive mode: provide me a logcat as described here
    On step 3 I need the SELINUX log (option D)

  • Taking a backup before is recommended - always
  • As usual a "REGULAR CLEAN FLASH" is RECOMMENDED .
    See the FAQ #2 of this thread how to do a "regular clean flash": https://forum.xda-developers.com/g4/development/rom-lineageos-16-0-t3929082/post79502871

Keep in mind that almost all pie ROM's sharing the same common device tree (or main parts of it), same model device trees and for sure the same kernel - so you can enjoy most fixes for any pie ROM available..
The above fixes are brought to you by the Suicide Squirrel Team :victory:

ok enough of words, just one more thing:
flash and enjoy this biting (woof), battery saving and simply wonderful new LOS version - ever :D



Sent from my OnePlus 6T using XDA Labs
 

falenjam

Member
Nov 15, 2015
24
37
43
Toulouse
I recently flashed this ROM and today I encountered an issue when trying to make a video call in Google duo. The person I called could not hear me. I found that by editing the following build.prop property, the issue was gone.
persist.vendor.audio.fluence.speaker=false

I don't think this is a known issue. I currently have the previous H815 LOS build installed (24th july) and it doesn't seem to be fixed in the latest build so I thought I would still report it.

I also had once a problem with the camera : first it was displaying a frozen image (in all camera apps I tried) and then I had an error message saying the camera could not be initialized (I don't remember the exact message). Anyway, after a reboot it was fixed and I haven't been able to reproduce it...

Apart from that, the rest is working impressively well so far ! Amazing work :good: