yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] baconbacon:
f8bf77d59b5f0d89f0b241aecb24276c /system/etc/firmware/venus.mdt

The board is an H810, when I got it they had flashed an H812 firmware on it (https://xdaforums.com/g4/development/usu-dealing-frankenstein-h810-device-t3836198). This happens on all roms tested now. I tried two v15 as well and had the same problems.
[G4 Android Development] pedrogcsb:
Using it since launch now, looks great, except I have to use the phone on vibration mode because it keeps ringing idk why. Do you want the logs or am I missing something?
[G4 Android Development] steadfasterX:
Do you see a call or does it just ring? Yea sharing a log while that is happening is the only way to get help.
[G4 Android Development] rundumdieuhr:
Just a quick guess: Perhaps the phone takes a ringtone for any notifications? Just try altering "Settings -> Sounds -> Advanced -> Default Notification Sound" and saving.

On a side note: it's funny to imagine nonetheless :D

Edit/PS: And don't forget [MENTION=4409573]chippey5[/MENTION] already answered before: https://xdaforums.com/showpost.php?p=79521374&postcount=43
[G4 Android Development] djmgermanos:
Same
[G4 Android Development] steadfasterX:
same:
[G4 Android Development] kinuris:
Maybe a battery fault? Why don't you try an Oreo ROM just to see what happens?
[G4 Android Development] verbage:
Thanks so much for your efforts with this, steadfasterX. I will flash this on an H811 to see if I can help with this. Is the new TIMEDEBUG1 recovery preferable to version 200 at this point?
[G4 Android Development] sbasil:
Had one little hiccup (stuck with the blue led) while I was USB tethering, but other than that things look pretty darn Schön. Awesome job as always!
[G4 Android Development] busattovini:
Well, I don't think so... Battery status is good. It started to happen with the new build, but I've flashed the boot image provided by [MENTION=5545101]steadfasterX[/MENTION], then I'll see if it happens again. Anyway, this ROM is amazing. :good::fingers-crossed:

---------- Post added 21st August 2019 at 12:28 AM ---------- Previous post was 20th August 2019 at 11:32 PM ----------

Oh, one more time... panic. :( But it didn't happen again until now.
[G4 Android Development] verbage:
Ok, I just got a kernel crash on an H811 with the new boot image that steadfasterX posted earlier today. It was a typical DemiGod Crash Handler screen--not just the blue led. The screen said I could reboot by holding down the volume down button for a second, and I thought great, I can grab the pstore logs since I don't have to power down. But it was a no go--the phone was hard locked again with any and all key combinations I tried. Also, it was not visible via adb, fastboot, or download mode (via SALT). And also, like I mentioned previously, it seemed completely dead to the world, and did not even get a dmesg nor Device Manager entry. The only solution was to pull the battery... Since the phone was completely unresponsive, my only option was a physical shot of the screen, which I have posted at https://imgur.com/a/c6Zchx0.

Another thing, as I was searching for this error, I stumbled upon a message by sreehax from May 2018 in the LOS15.1/14.1 forum, and it sounds pretty familiar. The link to the post is https://xdaforums.com/showpost.php?p=76604139&postcount=213.
[G4 Android Development] a tiny ant:
I dirty flashed the zip over an installation of the 18 August version.

The issue is still there. Also every now and then a gray screen pops up. In the recents menu this screen has the Fdroid logo.

Here's the logcat:

https://paste.omnirom.org/view/c96e7dbb
[G4 Android Development] steadfasterX:
yea it totally normal that selinux needs time and multiple rounds.

next round: View attachment 4808641

ok great. I think that helps already. will take a bit to narrow it down though. ram console always lead to an "outdated" bootloader stack (which is not the case here - afaik yet) but I may can fix that. we will see.

hmm that looks odd. no ref to your watch anymore.. could you go to TWRP and wipe

cache

and

dalvik-cache

pls?

then disable bluetooth (I assume thats a bluetooth connection right?) and follow the logcat guide. when you are at the step to reproduce the issue ensure you disable bluetooth now first and connect your watch manually if possible.

also what means Galaxy watch plugin here? I don't own that watch so no idea what that means. you mentioned that you get an error from there. maybe do a screenshot of that too.

Clearing the cache might also fix the fdroid thing you have (known to be an issue when dirty flashing).

.-
[G4 Android Development] dacica:
Hello guys,

I thank the developers for their work and efforts.

I have h815 officialy unlocked, with twrp 3.3.1.-1 and in the last 3 days I have more then 20 crashes, black screen freeze with blue led. Sometimes the blue screen with the errors shows up. I attashed a jpg photo taken with another phone. (Sorry, I'm away on vacation)

I reinstaled several times 15.1 both july and august versions + opengapps pico, with complete wipe and format in twrp. Still no luck, the system craches everytime, right from the start. (Sometimes can't even finish the fresh start procedure).
[G4 Android Development] steadfasterX:
yours looks like an outdated bootloader stack. what was the latest official firmware you had flashed? 20p? 29a? anything other?

when you see that blue screen are you able to reboot without taken out the battery and provide the logs as written in the FAQ?

.-
[G4 Android Development] dacica:
Before this problem I was on LOS 15.1 July version for several weeks. It was stable with no errors. This problem appeared 1 day after I installed the august release of LOS 15.1. Returned to July release with no luck. After complete wipe I only installed los+opengapps.

On blue screen no reboot possible, only battery out option.

I will study how to get the logs. I only have the phone with me.
[G4 Android Development] steadfasterX:
you installed july 15.1 build and still having that issue? you said you are on vacation, did you changed the country?

.-
[G4 Android Development] falenjam:
Ok the logs seem more verbose this time:

permissive: https://paste.omnirom.org/view/ef717ad2

enforcing: https://paste.omnirom.org/view/759ae651

Yesterday for a moment I thought I would get the blue light of death when my device became really slow for 1 minute but it didn't crash. So today I went looking in /sys/fs/pstore/ and found a file. Don't know if it's related or if it was already there but if it can be of any help you can find it here: http://dl.free.fr/oKj89D5WP (I had magisk enabled btw)
[G4 Android Development] dacica:
Yes, reinstalled July 15.1 and still have this issue. I changed the country for vacation. I live in Romania and now I'm in Greece. I have the LOS 15.1 July and august + opengapps on my sdcard. After complete wipe and reinstall the phone works well for max. 1 day then the issue comes back, black screen freeze with blue led or blue screen with kernel errors. Before the freeze the roaming works well, LTE including.
[G4 Android Development] steadfasterX:
they are. selinux is done.. the only leftover seems to be the seccomp filter then. I guess that have to wait though.

EDIT:

in the meanwhile [MENTION=7078781]falenjam[/MENTION] you could do this:

adb shell
su
(or adb root and adb shell)
logcat -b all -c

reproduce the issue (starting the app)

then:

adb bugreport

this will pull a bug report zip automatically, pls share that as well but do that in

private

(PM) and when uploading it ensure you can delete it afterwards.

An example is https://www.file.io/ where the file gets auto-deleted after the first download.

well your crash is for sure related to the modem soc. so either your modem partition got screwed or it (or the rest of the bootloader) is outdated.

the thing is it even points to LTE so maybe try to force to use 2G/3G only and see if that helps as a workaround.

.
[G4 Android Development] sdembiske:
I did a full clean restore of my TWRP backup of the LOS July 15.1 version two days ago for my H812 UsU and then did a regular clean flash of the August 15.1 version with the blue led/black screen issue not recurring to date at all so far.
[G4 Android Development] Termehansen:
Just had BLoD again with new test boot image and no auto reboot after at least 30 seconds of waiting... On H815
[G4 Android Development] steadfasterX:
thx . sorry but the auto-reboot didn't worked in the provided builds. the good news are I MAY have found the panic issue and even if not the auto-reboot works now for sure so if there is any panic we will find out why then.

I will provide new test images in my next post.

.-
[G4 Android Development] a tiny ant:
Alright. I did a clean install of your test rom and reinstalled from the play store.

For the smartwatch to work Samsung had three apps, Galaxy Wearable, the watch plugin and an accessory service. The plugin specific for a watch, earbuds etc.

I was unable to install the plugin from the play store but I've extracted the APK from a working Lineage installation. Samsung doesn't like custom rom users so it sometimes flags root users or unofficial rom users as incompatible even though it should work fine. It did work fine on the 24 July update.

Also in the 24 July rom I could install from the play store without issues

Here's another logcat. I've let the error appear a couple of times before generating the log.

https://paste.omnirom.org/view/7835f745

Thanks!
[G4 Android Development] steadfasterX:
thx but that log is almost empty... :(

I miss all the bluetooth stuff etc (if we talk about bluetooth here). did you followed it exactly as I described? turning off bluetooth before starting the actions.. etc.

whats the command you have used to produce the above logcat output?

also pls find the link of that plugin in the google play store (e.g. web browser or at your pc) and link it here

.-
[G4 Android Development] steadfasterX:
killing the panic - final test

I am pretty sure that I was able to fix the panics and I will do new builds asap.

If you wanna help you could nevertheless test the following images which will have that fix included + autoreboot on kernel panic + pstore logs fixed.

report back if you have any issues with them so I could stop the LOS builds if needed.

h815 (official): download

h815 (UsU'd): download

h811: download

As you can see I have not created a test image for all models but I hope these are enough to get some testers

Installation:

boot to fastboot (e.g. adb reboot bootloader)

extract the zip and flash the boot image (fastboot flash boot boot.img)

fastboot reboot

just do what you ever do and see if the panics are gone or not.

If you encounter a kernel panic the device will auto-reboot after 15 seconds (now really) and write its logs.

so if you see that do this:

adb pull /sys/fs/pstore

this will download all logs to a new folder "pstore" locally. compress those and share them as an attachment in your post (exception to my regular rule to provide logs)

HINT: The provided builds are

insecure

builds - meaning they are auto-rooted on adb and usb-debug is auto-enabled without auth.

.-
[G4 Android Development] masemoel:
Where can I download Oreo And Pie TWRPs?
[G4 Android Development] sutrus:
http://leech.binbash.it:8008/TWRP/
[G4 Android Development] verbage:
Wonderful, thanks, and I will certainly try out this new build on the H811 for which I have been reporting the blue led hangs over the last few days.

Will there be any indication that a phone has been auto-rebooted due to a kernel panic, or will it just be up to the user to be observant? I ask because the H811 for which I have been reporting the hangs belongs to a relative, and as long as the phone is functioning (because it auto-rebooted), well, I will probably not receive a plea for help. And thus, I will not know that a potentially helpful pstore log is waiting...
[G4 Android Development] steadfasterX:
Well the best indication would be if I have a sim pin set. If I need to re-enter it you know there was an auto reboot.

I'm aware that this is not ideal but the demigod crash screen does not let you reboot without taking out the battery and when enabled it prevents the auto reboot.

If you are unsure you can always type this in a local terminal app (the LOS terminal can be enabled on dev settings or download any):

uptime -p

The other way is viewing the time of operation in android settings ..
[G4 Android Development] Termehansen:
Just had the autoreboot :(

H815 with test5 boot.img

https://transfer.sh/XsENa/pstore.zip
[G4 Android Development] verbage:
Fair enough, I'll see what I can do. Thank you again for you efforts with the G4!!!
[G4 Android Development] busattovini:
I'll flash it, even though I haven't seen any panics at all since that boot image you provided me before. Thanks! ?
[G4 Android Development] jjcdennis:
OK, last comment on battery life - checked the phone this am. It was charged to 100% Sunday PM 8'ish, very light duty yesterday and has been turned on since Sunday PM. Its a 6000 mAh battery I paid ~$30 for. Power is at 95% as of this AM. Great job steadfasterX. Beginning to wonder if the batter display is stuck...awesome result.[/QUOTE]

OK, the really last comment on battery life - 8/23 am - Never did have problems with 8/15. - BTW battery life is fantastic for me...6000mAh battery - fairly light use this week with the phone left on 24/7, flashed the new rom on the 18th PM and still at 39% after flashing this new rom this am. Best its ever been. Thanks again steadfasterX.

FYI flashers, there is a new TWRP available. http://leech.binbash.it:8008/
[G4 Android Development] steadfasterX:
great thx for the logs! finally we are able to fix panics.. ;)

I fixed that one rn in https://github.com/Suicide-Squirrel...mmit/2794b629f989a6d53e34b167aa09c99e56782ad9 and that one will be included in the next build.

.-
[G4 Android Development] ispanev:
Promlems with detect external SD card

Hi,

I have flashed my LG-H815 with this last Rom (lineage-16.0-20190822-UNOFFICIAL-h815.zip) and last Twrp (twrp-3.3.1-PREVIEW-207_g4_P.img).

From configuration not detected the inserted SD card 32 GB (Motorola phone detect it without problems).

Recovery mode from Twrp not detect SD card too (show SD card - 0 mb)

Anyone have any similar problems? Can anyone help me on this?

Thank you very much.
[G4 Android Development] steadfasterX:
format the sdcard as vfat/exfat

.-
[G4 Android Development] ispanev:
Thank you for the quick response

Formated as exfat neither detected ... :(

I've also tried formatting as external storage with motorola phone
[G4 Android Development] steadfasterX:
format it in TWRP

.-
[G4 Android Development] ispanev:
Cant formate It

[IMG="error"]https://i.postimg.cc/vHP572nj/IMG-20190823-151550.jpg[/IMG]

---------- Post added at 03:43 PM ---------- Previous post was at 03:20 PM ----------

Its ok now. I have formated sd and all its OK. Thanks for you help!!!
[G4 Android Development] busattovini:
No panics since I flashed it. Battery is way optimized. The system is even faster. I think we're on the edge of glory! Hahaha

Thank you SO MUCH.
[G4 Android Development] EWBG29:
Is it Okay if a make a dirty flash of build 20190823 on my build 20190816?
[G4 Android Development] steadfasterX:
Read the changelog you will not loose any data when doing a regular clean flash
[G4 Android Development] stratonz:
Great! :) Can you post just an updated kernel in the meantime? (I've some shutdown...)

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] steadfasterX:
Share the pstore logs to ensure it's related
[G4 Android Development] stratonz:
Mmh, I haven't a PC in these days... Is possible to use android terminal at reboot? Or in recovery mode?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] steadfasterX:
As long as it is rooted yes:

Enable the terminal app in developer options or download any

Open the terminal app.

su

cd /sdcard/Download

tar czf pstore.tgz /sys/fs/pstore

Attach pstore.tgz to your post.

It is crucial important that you do this only after the reboot happened . It's not important "when" though - as long as the device stays powered on.
[G4 Android Development] hamed_forum:
if upgarde LineageOS 15 to 16 can only dirty flash?or must clean flash?

neede install twrp for pie?
[G4 Android Development] masemoel:
Any problem if I do a full clean flash but after I restore my data from LOS 15.1?
[G4 Android Development] steadfasterX:
This is not supported and you will have issues this way.

This might work but the chance for this is around 10%(!) depending on WHAT you restore.

You can try but this can produce force closes, strange behavior in several stages of the ROM and is not supported after all.
[G4 Android Development] busattovini:
Last build is fire. No issues, battery performance is great, everything's amazing. Thank you!

-------

If you have Telegram, join our group: t.me/lineageoslgg4
[G4 Android Development] verbage:
I agree--I installed it on an H811 here about two days ago, and it is running wonderfully since then. I set it up with a SIM lock as suggested so if the user ends up seeing that, they know to tell me so I can grab the pstore logs. My own daily driver H811 is still on LOS 14.1, but seeing how stable and smooth this LOS 16 release is, I am getting ready to make the update myself. Kudos to steadfasterX for this fantastic effort!
[G4 Android Development] Lizenzloser Fahrer:
Unfortunately I had multiple reboots with 20190815-UNOFFICIAL-h815 build + provided boot_h815_test5.zip, which should be the same boot.img as in the latest build?

Here my pstore.zip: https://filebin.net/ewx87wwderb9dscu/pstore.zip?t=sm9ivup6

BTW thanks [MENTION=5545101]steadfasterX[/MENTION] for all your efforts to make our device great again! ;)
[G4 Android Development] steadfasterX:
thx for the logs. the good is that this is already fixed and comes with the next build.

.-
[G4 Android Development] Lizenzloser Fahrer:
Good to know! So it is the earlier mentioned "race condition", which you have fixed. :)

I'll be happy to test the new build for you when it's available. :good:

Thanks again for your hard work!
[G4 Android Development] hamed_forum:
Tanks for your hard work

Hidden WiFi can't connect how to troubleshooting?
[G4 Android Development] Lizenzloser Fahrer:
That works totally fine for me. You have to manually add your network, then under advanced options is an option "hidden network". Select "yes" and you are good to go!

(This option seems to be new in Android Pie, so first I had the same "problem".)
[G4 Android Development] cafissimo:
Hello,

please, is it possible to dirty flash latest nightlies over a lineage OS 16 july ROM?

Thanks.
[G4 Android Development] baconbacon:
Having one small issue with latest rom (20190823) on a H810 frankenbastard, I cannot get the lockscreen to work.

I'll adb shell in from twrp and "rm /data/system/locksettings.db*", reboot, go back to settings and try and set a pin and it will instantly full reboot. After reboot just trying to go into "Screen lock" crashes the app. Deleting the file again lets me back in, and repeat. It has been this way for a few months since an earlier version.

I know policy from Q#1 etc but was just wondering if this is a known issue or has a simple fix/workaround.
[G4 Android Development] steadfasterX:
nope, cannot reproduce that here. works fine.

.-
[G4 Android Development] sperelli:
you have to delete all the files locksettings.* and try again

let me know if it works
[G4 Android Development] Djdjo59:
hello everyone

I would like to upgrade to this ROM, but i was wondering how to restore a backup made by LG Backup and restore ?

Does the APK of this app exists and can be installed on this rom?

Regards
[G4 Android Development] polfrank:
I think that this app does not exist for custom ROMs. And even if you somehow get it to work, I think that you cannot restore your stuff because a stock ROM is something different from a custom.
[G4 Android Development] Djdjo59:
Hi Polfrank,

Thank you, so if upgraded, I will have to reinstall everything and also restore an SMS backup.

Same for pictures :(
[G4 Android Development] polfrank:
I just checked that the app LG Mobile Switch is available for download from the Play Store even in LOS16. I haven't used it before, so I don't know the limits and possibilities.

In order to backup sms, you can always try an sms backup app, just check the play store.

Your contacts are stored on your Google account.

Keep in mind that whatever you keep on your SD card will be available in your new custom ROM, they will not be touched.

And you will set up your apps from the beginning (email, chat apps etc.).

Anything else you would like to transfer? I would be pleased with all these possibilities. :D
[G4 Android Development] baconbacon:
I'll dig around and see if I can find something more definitive.

nope, same.
[G4 Android Development] Djdjo59:
thank you for that!

I will try the lg app, but also make a backup of the sdcard (when i downgraded from nougat (LG's beta), to the official MM, my SDcard wasn't recognized first, i had to removed it and insert it again, since then, the camera APP, and some other app cannot access the SDcard)
[G4 Android Development] despicableme:
Proximity sensor always ON

I just installed the ROM (Unlocked BL from LG website) and everything is working well so far, but I realized the proximity sensor is always working when using the phone. I mean all the time as long as the screen is on (not only during a call).

I wonder if anyone else has the same problem and if there's a way to fix it.

It is actually not disturbing and you almost never notice it unless you get your hand close to the sensor, but I think it drains the battery slowly even if you are doing nothing productive (watching a video, navigating through menus, etc.), or specially in my case navigating with waze, when the screen is always on.

By the way thanks a lot to steadfasterX for all the effort which really helped to give a new life to my phone :)
[G4 Android Development] sbasil:
The latest version didn't work for my h815. Got a bootloop (~5mins or so) after which the phone restarts into recovery mode. It also got pretty HOT. I did a clean flash twice, but no luck. I then reinstalled the 22/8 version back and the phone came alive (though it still won't work with the latest and greatest version). :)
[G4 Android Development] Lizenzloser Fahrer:
Same problem here with my h815. :(
[G4 Android Development] gkg2k:
Yes, H815 doesn't boot 0827!
[G4 Android Development] steadfasterX:
Thanks for your reports!

I'm sorry and I will fix it as soon as possible. it might be related to the new app permission levels introduced by Google and merged to LOS a couple of days ago..
[G4 Android Development] Bullnados:
Hi,

I want to change the Bluetooth Audio Codec in the Dev settings to aptx HD but the change isnt saved. All other Codecs didn't work too.

Is that a Bug or are these feature mit uncluded?
[G4 Android Development] sbasil:
Don't sweat it! There's always the previous version to jump back into until things "get magically fixed." :fingers-crossed:
[G4 Android Development] Djdjo59:
Hello

I upgraded to this ROM, and i confirm that the app LG Mobile switch does not work :(, thankfully Google saved all the apps installed...

Also I tried to install LGCameraAppV10_v5.1_by_yener90.apk, it is installed, but the app logo is an android face, and when i click on it, nothing happens. somebody knows why and/or how resolve it?

I don't like the Google Camera (and it is the basic one on G4)
[G4 Android Development] polfrank:
The stock camera apps don't work on custom roms as far as I know. The camera app that is preinstalled with los16 is not the Google camera. You can install a custom Google camera port for a little better quality, just check the Google camera thread.
[G4 Android Development] sperelli:
this is the best you can find

https://www.celsoazevedo.com/files/android/google-camera/dev-san1ty/

regards
[G4 Android Development] kinuris:
Yes. The Kv1.1.9_6.2.030 is working for me pretty well