yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] ThePsymoon:
Thanks [MENTION=5545101]steadfasterX[/MENTION] and [MENTION=5843631]LuKePicci[/MENTION] for your advises. I finished to install everything and everything is running well.

One of my objective with this ROM was to avoid using gapps. I followed QA #9, but I have a question regarding microG. Is it necessary to install "microG Services Core" ? It seems that it is not possible to install it and "UnifiedNLP (GAPPS)", F-droid return the following error if I try to install both, whatever the order:

"Error - 112: The system failed to install the package because it is attempting to define a permission that is already defined by some existing package".

Thanks in advance for your support!
[G4 Android Development] jovanv:
I have a modified boot.img with 4 cores, I did it following the instructions. And I've been using lineage-16.0-20200324-UNOFFICIAL-h815 with 4 cores for more than a week now and no problems. Spent some time to find the Gapps that would work, but this is more or less expected.

Let me know if you still need the 4 cores boot.img and I will share it. Just to make sure, you can boot to recovery, can't you?
[G4 Android Development] St4mi:
Thank you very much, after the second try it finally saved the file and I was able to boot everything up including pico Gapps.
[G4 Android Development] steadfasterX:
ok. I assume you both using h815 official unlocked? The attached boot image is for that one only.

we need to find out where and what exactly this has been introduced. I have an idea already but need your help:

flash latest LOS

flash the attached boot image in either fastboot or to "boot" in TWRP/SHRP

boot and test

report back

we might need to repeat that step for several times until we found the reason... :highfive:

.-
[G4 Android Development] lgg4-user:
I have had a few camera issues –*often requiring restarts. Not had any overheating issues though. I have flashed the new kernel and I will report back.
[G4 Android Development] steadfasterX:
pls check FAQ #9 again. I have completely re-worked it.

note: you have to start from scratch or uninstall unifiedNlp from F-Droid before.

.-
[G4 Android Development] Termehansen:
Just a couple of hours use, and for now the problems seems gone :good:
[G4 Android Development] ThePsymoon:
Thanks for your support, seems working for me :)

One additional question, does anyone has a recommendation regarding a keyboard app, with a minimum of care of privacy? I was using fleksy on stock (which claim to keep data on the device, even if not open-source), but it does not seems to work properly with microg (not possible to install language packs, change settings).
[G4 Android Development] rundumdieuhr:
I guess Gboard and SwiftKey are considered state-of-the-art nowadays. Considering privacy, you can always turn off customization and "calling home" functionality.

If you wanna avoid any of those large corporate solutions, you can go with an instantiation of the AOSP keyboard. I found a nice one from F-droid, also suggested here on xda-developers:

https://f-droid.org/de/packages/rkr.simplekeyboard.inputmethod/

https://xdaforums.com/showthread.php?p=77822866
[G4 Android Development] steadfasterX:
ok [MENTION=4928665]Termehansen[/MENTION] , [MENTION=5343361]Gigio755[/MENTION]

next one: see attached file. Test that one for at least a day or 2.

Instructions (skip step 1 if you are still on the latest LOS):

if you get issues with that kernel version flash the kernel "TEST 1" again and test that again for 1 day or better 2.
[G4 Android Development] lgg4-user:
The last one worked fine for me – not noticed any camera crashes today. I have installed this new version to see if it is any different.
[G4 Android Development] karaeski:
BOOTLOOP!

I am experiencing a bootloop. I am on a UsU'd H815TR

First I flashed 20p modem, and I made a full wipe. After that, I flashed latest LOS16(for H815-usu) from your binbash.

At the first boot, that was very long and TWRP opened. After that every boot was bootloop.

I am adding logs.

boot_lc_crash.txt : paste. ee/p/osGFY

boot_lc_full.txt : paste. ee/p/QAf7h

boot_lc_kernel.txt : paste. ee/p/55zIk
[G4 Android Development] ThePsymoon:
After few days without Gapps, I am finally found the system working well and found alternative for most of the problematic apps. The system is stable and battery life seems better than it was with stock MM :) (I won't provide input on the camera related issue as I did not test prior versions - BTY I did not experience freeze/heating but I had a very small usage of the camera with the ROM).

The only major issue is that it seems that it not possible to pass Safetynet, which likely prevents my bank apps to work... After searching on the web, I found that microg is not anymore able to pass safetynet check (https://github.com/microg/android_packages_apps_RemoteDroidGuard/issues/24).

So I may need to re-install gapps, except if one of you knows a workaround... (I had a look at option with root and NanoDroid Magisk Module, but (1) it still relies on microG's Droid Guard Helper, so will not solve safetynet issue if my understanding is correct and (2) seems to make update/maintenance process much more complex - I would prefer avoid root if possible;) )
[G4 Android Development] Termehansen:
After a couple of days use now it still seems to work fine also this boot img.
[G4 Android Development] steadfasterX:
1. flash 20p bootloader zip in TWRP/SHRP

2. do a full clean flash of LOS and NOTHING ELSE, no magisk, no gapps, nothing

3. boot LOS and if it boots complete the wizard and reboot to recovery

4. flash 3rd party stuff if any (i.e. for example magisk etc)

sooner or later you will have to decide the one way or the other anyways: https://www.xda-developers.com/magisk-no-longer-hide-bootloader-unlock-status/

other then that.. yea maybe gapps are the only way to go then. Personally I have a tablet which is my "banking" device. a pure stock one, not rooted and mainly used for that purpose (TAN,Banking) and mail, internet etc..

.-
[G4 Android Development] steadfasterX:
ok [MENTION=4928665]Termehansen[/MENTION] , [MENTION=5343361]Gigio755[/MENTION], [MENTION=10039215]lgg4-user[/MENTION]

next one: see attached file. Test that one for at least a day or 2.

Instructions (skip step 1 if you are still on the latest LOS):

if you get issues with that kernel version flash the kernel "TEST 2" again.
[G4 Android Development] lgg4-user:
Installed now.
[G4 Android Development] ThePsymoon:
Thanks for your feedback and sharing your personal experience. I will think about; it seems difficult to me to not having bank apps on my mobile, especially for web payment validations codes. I may have a try with pico gapps to check if everything is working ok; and estimate the impact on battery...
[G4 Android Development] stingbandel:
does this rom work with the dual sim H818P? thanks
[G4 Android Development] agelos100:
LineageOS 16 installation problem

Hello

I tried to install LineageOS 16 (LG G4 H815) downloaded from the link of page https://xdaforums.com/g4/development/rom-lineageos-16-x-17-x-lg-g4-android-9-t3964665.

I had Havoc-OS 2.9 installed, and made a clean installation, however the device got stack on reboot after installation.

I re-installed Havoc-OS and it works fine.

Am I doing something wrong or missing something?

Thank you.
[G4 Android Development] steadfasterX:
yes. but you cannot unlock the h818 so .. you cannot install ANY custom ROM.

ok you come here and say you flashed the ROM from another thread. what should I say......

it is like buying a Samsung phone and asking Apple why it does not work.

Either flash the ROM from here which is current or keep trying the outdated further and ask in that thread (where as we all know you will get no answer as that one isnt supported anymore).

Before flashing mine read the FAQ, ensure you are on the latest bootloader and boot without any modifications like gapps, magisk etc.

.-
[G4 Android Development] agelos100:
I am really sorry, I didn't mean to insult you or look down οn your work. I just cannot find the link in your thread. And I am not very familiar with forums and how to behave, that was stupid of me.

"Ensure you are on the latest bootloader" how do I check that?

Thank you, and again I am really very sorry.

Agelos
[G4 Android Development] steadfasterX:
I didnt took that as an insult no worries. I just wanted to explain why your way of asking for help like that will not work.

Read the OP (the "O"riginal "P"ost, which is the very first post of a thread) and you will find all links you need there. read carefully and if you are unsure better ask first. but the minimal requirement is reading the first post and the FAQ post after that one.

.-
[G4 Android Development] steadfasterX:
yea after installing pico you will be able to pass safetynet (just verified it again) and banking etc will work fine. guess you can live with the battery drain it is just being spied out by Google which I do not like here ;)

other then that even the cool approach of the app "Island" or using multiple users will all need gapps to pass safetynet so there seems to be no way without when you need banking apps.

but for the future even when going on that way this all might fail sooner or later anyways and then you need to have STOCK and so a locked bootloader to make those apps work. that can happen today, in 1 week, month, year. nobody knows when google decide to lock it down. ofc this will not affect the LG G4 though as they will force the new verification only for devices which were delivered with Android 8+ so you are safe using a custom ROM as long as staying on that device ;)

.-
[G4 Android Development] ThePsymoon:
Thanks for checking again with pico, that's kind of you!

Of course, pico gapps means being spied by google... But I believe Pie provide more flexibility than stock MM to limit this through authorizations, so it is al least not worse than before (but it seems it could not be better with bank apps...).

Effectively, it is sad that we will most likely have to keep stock and locked bootloader on future devices to have access to banks apps... I understand that banks need secure apps and OS, but I also believe security is provided by open source rather than proprietary solutions... (I won't go in this debate, this would became off-topic ;) )

Once again, thanks for your great supports and your advice!
[G4 Android Development] rundumdieuhr:
So, I joined the test squad this afternoon with my h815 and flashed March build + boot.img 3.

I think I see considerable improvement to both the pure March and January builds (both initially regularly clean installed).

Everything runs speedy and smooth. I like that a lot. Battery life (particularly below fifty percent) seems to have improved, too, less heat.

Thanks a lot for your efforts sfx and happy Easter!

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] steadfasterX:
ok [MENTION=4928665]Termehansen[/MENTION] , [MENTION=5343361]Gigio755[/MENTION], [MENTION=10039215]lgg4-user[/MENTION], [MENTION=9903557]rundumdieuhr[/MENTION]

next one: see attached file. Test that one for at least a day or 2.

Instructions (skip step 1 if you are still on the latest LOS):

if you get issues with that kernel version flash the kernel "TEST 3" again.

.-
[G4 Android Development] Gigio755:
With test4, camera it is very slow, i reverted back to test3

A question, is the test3 the kernel in build 20200119?
[G4 Android Development] lgg4-user:
I just had a camera crash with test3, but it was recoverable (i.e., I didn't need to reboot the whole phone to get the camera back). I will install test4 now to see if I have the same issues as [MENTION=5343361]Gigio755[/MENTION].
[G4 Android Development] steadfasterX:
Well I expected to see the diff between test2 and test3 tbh. the diff between test3 and test4 are unlikely the reason for that issue so I expected test3 and test4 would behave identical .

So the question is:

Is test3 really as lag free as the build 20200119? Can we say that for sure ? Maybe more testing on test 3 would be good.. Especially on comparison with test2..
[G4 Android Development] lgg4-user:
I shall go back to test2 for a few days. My experience with test2 was flawless and, like I said, I had a camera crash with test3.
[G4 Android Development] Gigio755:
Build 20200119 it's lag free for me, not test 3, with test3 i experienced some lag in chrome and camera i feel it's not so fluid :confused:
[G4 Android Development] steadfasterX:
Ok so you both say test2 is fine and test3 not . Pls go on with test2 now and let it run until I will release test5.

What about temperature btw ? Is the device getting hot (not just warm ) while using or not ?
[G4 Android Development] lgg4-user:
I haven't had issues with overheating with any recent build. Just problems with the camera (very slow to open, crashing etc). I will go back to test2 for a few days and let you know how I get on!
[G4 Android Development] Gigio755:
I Just flashed again the boot.img inside the 20200119 rom zip + the kernel audiutor setting (blue governor + big core etc..), i think It is really perfect in that way
[G4 Android Development] steadfasterX:
Might be the case but that does not help identifying the problem .. The only way going further is flashing & testing the latest LOS + the kernel versions I provided ..
[G4 Android Development] timax69:
If camera not working, delete Dalvic cache and camera is working again, that is my solution at the moment.
[G4 Android Development] lgg4-user:
Thanks for the tip! A reboot has done the trick for me every time so far. I can't wipe the VM cache in any case because I am using encryption.
[G4 Android Development] waterblue85:
may somebody help me test NFC?

It seems to have no reaction in Card Emulator Pro…
[G4 Android Development] owlery_hk:
spent yesterday migrating from your oreo build to this pie build.

data wiped, clean flash, had to spend quite some time restoring from back ups.

overall i like it, i think it is faster than the oreo build, though that might be due to the data wipe.

there are a few things i do not understand.

Our phones have rectangular screens, i dont understand why google has to implement a software rounded corner for us...

We also do not have a notch (luckily), so why are the max number of notification icons limited...?

I also saw on the patch notes that there have been an implementation of CPU hot plugging, but so far i have not been able to see any of the cores disabled?
[G4 Android Development] bonner1928:
Hi, after watching my LG slowing down more and more I set background process limit to 3 via developer options. Works fine for me, but after each reboot these settings are gone. Any idea how to set it permanently? Or any idea for speeding it up? Thank's!
[G4 Android Development] ThePsymoon:
I am running test2 for two days now and i feel it smoother than the default kernel of last build (And battery life seems better).

I just want to report I got a camera freeze after 15 minutes of video call through WhatsApp. Device was quite warm. One hour after that (without reset), the device has cool down, but camera is still not working (when i open the app, it gets one image and freezes).

Once again, I cannot compare with other build as I did not test them in such way.

EDIT:

One precision: when I mentioned the G4 was warm after the call, it was as usual during video call, not more than when using stock MM.
[MENTION=5545101]steadfasterX[/MENTION], I did not yet performed the reset. Is there a way to extract any log or perform a test that could be helpful? (camera is still stuck)
[G4 Android Development] breversa:
Let me step back on that : I still get either 5-minutes slow-downs-to-death, and/or camera freeze (until I take the battery out) on version 16.0-20200323.
[G4 Android Development] agelos100:
Hello, this is a great ROM, so far.

There is something I cannot explain; I get some strange battery data from GSam, the App Usage is all the time at 2% and screen at about 90%.

Any help would be appreciated.

Thank you
[G4 Android Development] Hostilian:
Installs great.. An upgrade from latest stock. Rejuvenating this phone for one of my kids.

Quick query.. I'm getting an awful lot of feedback/echo on this phone in the Houseparty app (video conferencing). LG-H815 (G4).

It's like the phone's mic transmits what the speaker plays and it goes into an almost endless loop of feedback..

It's pretty bad!

Anyone else seeing this behaviour?
[G4 Android Development] myhe01:
SIM problems

Having trouble getting my SIM to work on my H810 (motherboard says H810, SALT says H812, serial says H812, GPT compat is H811, shrug).

Paste: https://paste.ubuntu.com/p/vbbDKs6Jw4/

No networks detected, changing the APN didn't work (made a new one and saved it, but can't select it; says "[APN] settings are not available for this user."). Shouldn't be a problem with the SIM, verified to work on my LG V30 and my iPhone 6.

SALT has my firmware as LGH812AT-01-V20x-302-720-JUL. UsU unlocked, flashed the modem (h810pr_20a_modem), then LOS (lineage-16.0-20200324-UNOFFICIAL-h812_usu) and supersu (addonsu-16.0-arm64-signed). SIM doesn't work.

Did a full clean flash and still have the same issue.
[G4 Android Development] steadfasterX:
check & follow FAQ #10

supersu is not addonsu.

supersu was the legacy root method,

addonsu is made by LOS devs

and magisk is state of the art rooting.

other then that: regardless of what issue you have or will have in the future: do not install anything other then the ROM, so no root, no gapps, nothing but the pure OS first.

Regarding your described issue:

1. identify if you have a Frankenstein (see UsU FAQ)

2. h810 has ARB, h812 not(!)

3. everything looks like 1. is true, so flashing h810 bootloader and/or modem will increase ARB on your fusing device

4. if you clarify 1. and it actually IS a frankenstein you will not be able to restore to a working SIM state - ever (due to blown fuses).

5. there is a 0.0005% chance though: when you have a non-fusing device fuses are not getting blown so you could just flash the h812 modem and it works again. you can start with that test but clarifying 1. is needed in any case.
[G4 Android Development] zeduck:
Since LineageOS 17.1 is out, changes has been backported into LineageOS 16.

I'm very interested in WiFi display which has been brought back.

Is that feature present in the latest build [MENTION=5545101]steadfasterX[/MENTION]?
[G4 Android Development] steadfasterX:
ok [MENTION=4928665]Termehansen[/MENTION] , [MENTION=5343361]Gigio755[/MENTION], [MENTION=10039215]lgg4-user[/MENTION], [MENTION=9903557]rundumdieuhr[/MENTION]

I am not sure currently if the issue is actually kernel or ROM related. so lets start from scratch with this new one.

Your result with that boot image (pls without any mods in the ROM/kernel modifiers etc) will show where I need to look deeper.

download and flash the attached file. Test that one for at least a day or 2.

Instructions (skip step 1 if you are still on the latest LOS):

I don't think so and it might require to revert the removals kessaras did regarding that .. will check that (sooner or later)
[G4 Android Development] lgg4-user:
Test5 installed. Will report back in a couple of days. (Unless I notice something obviously not working in the meantime.)
[G4 Android Development] ThePsymoon:
I don't know if it can help but I was able to extract a logcat of the whatspp call camera issue (and there is a "crash" in it, which correspond to the time at which camera froze - 17h28). Extracted with "ONESHOT" method

https://paste.omnirom.org/view/3ceef222

Another one, the day after, while opening camera2 app, with camera still frozen, before reset (It get one image each time I open the app and then stuck).

https://paste.omnirom.org/view/6a243fce

My device: h815, officially unlocked, test2 kernel, only the ROM installed (no Gapps, root...)

I will install test5
[G4 Android Development] Gigio755:
Rom 20200324 + test5 (no kernel audiutor modify), my actual test to see if everything go bad: just youtube (vanced version) in background + 2/3 photo (gcam hdr+ with 10 frames) = it burns, it lags and now or it reboot itself or it freeze and i have to remove battery

Photo taken in horizontal and then vertical way (to see if it crash in screen rotation), G4 just burns

for me 20200324 rom it's pretty ok with the boot.img from 20200119 (+ kernel adiutor settings already posted), even if i find pretty perfect the 20200119 rom (+ kernel adiutor settings), just my personal feeling and opinion :highfive:
[G4 Android Development] myhe01:
So I followed your advice and did a regular clean flash of just LOS for H812, didn't resolve the issue. Went to a full clean flash, no dice.

I started from step 1 and flashed the H810 20a modem from TWRP, then tried to do a full clean flash of LOS for H810, but got an error because my device is listed an an H812 even though I checked according to the UsU FAQ and found that my device is an H810 (says so on the motherboard of the phone).

Any advice on how to proceed?
[G4 Android Development] ThePsymoon:
With test5, I got a burn, as [MENTION=5343361]Gigio755[/MENTION], after 15-20 minutes of test video call using jitsi. It looks like a thermal runaway, once temperature sensor pm8994_tz (read with temp monitor, in F-droid) rise around 65, I observed that temperature increased faster and faster and camera crashed. I had the time to shutdown the device normally, then remove the battery. The crash seems different to the one observed few days ago with test2.

I am wondering if the runaway is due to the battery heating, as the call dropped about 30% in 20 minutes.... I would need to have a try with the charger plugged in to see if we have the same behavior.

EDIT: I had a try with the charger plugged-in. Same test: jitsi video call. This time, call last longer (25-30 minutes), and no thermal runaway up to more than 80°C on pm8994_tz, then camera froze. I stopped the call, temperature decreased quickly, and system is still stable. Camera stays stuck afterward (it takes one picture each time I open the app, and freeze), and a crash exist in the logcat (I can upload if helpful). The behavior is very similar to the first one I experienced, with test2 and whatapp video call.
[G4 Android Development] lgg4-user:
I am definitely getting hot phone with Test5 like the others –*doesn't always seem to be camera related. (I should add that the camera seems to have been working OKish for me, although there have been a few random stutters it hasn't crashed.)
[G4 Android Development] Termehansen:
On test5 . I also see some of the sometimes very laggy general interface (maybe only on low battery) like I did on the last two builds, and though camera work, the live image while on camera is very laggy and updates maybe ones a second. I haven't tested video call...
[G4 Android Development] Termehansen:
*feeling sad and nostalgic*

I sadly dropped my good old H815 and broke the screen yesterday. This phone have been my daily driver through so many years because of the great work by people like [MENTION=5545101]steadfasterX[/MENTION] and [MENTION=5461026]kessaras[/MENTION] - thank you so much for the many hours you have invested in our G4. I have decided that this is the end of line for me with this phone, and will follow the track of [MENTION=5545101]steadfasterX[/MENTION] and buy an OP 6T...

My particular phone was the first phone that managed to boot into Cyanogenmod many years ago, when we started exploring custom roms for this device.
[G4 Android Development] lgg4-user:
Ah, bad luck! I replaced the screen on mine the other day –*simple enough job if you're bored and want to fix it to put on eBay. Enjoy the OnePlus!
[G4 Android Development] ThePsymoon:
Effectively, that's sad... :(

Good luck with the OP6T
[G4 Android Development] lgg4-user:
I've had another camera crash and overheating with Test5 today so I've gone back to Test2.
[G4 Android Development] waterblue85:
do you have usu-compatible 20p modem-only twrp flashable archive?

thank you so much.
[G4 Android Development] agelos100:
Hello, I have an issue of battery drain at 3% per hour during night. . GSam Battery shows kernel wakelock of "qcril_pre_client_init".

I googled it and searched the forum but I didn't find much.

Does anyone know what it is?

Thank you.