yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] breversa:
I'm having a similar problem… though inverted :

Several times a day, my phone gets unresponsive, display and interface totally frozen (though music keeps playing), for around 5 minutes, then the screen turns off, and I can turn it on again normally (either by power button, or DT2W), but phone signal is dead (RIL crashed, I guess) until I restart the phone.

I *feel* that it happens when I try to start/use a Google Services-using app, but I may be wrong.

Here's the log :

https://framabin.org/p/?d5fd5a78c907bc8e#V+tuvXOMIpFIO8pwfrn/wMdR+oeXAvTZGUFe5whzFXk=
[G4 Android Development] Stonos:
My phone also randomly becomes unresponsive. One minute it's working fine and the other it becomes very slow. I've been meaning to do a full wipe and start fresh, but I haven't found time yet to do that. However, I doubt that it will help since I have a feeling that this related to the flash memory getting slower :(

Anyone else experiencing random slowdowns?
[G4 Android Development] breversa:
Flash memory getting slower ? It's not a mechanical device ; it doesn't wear with use… or does it ?
[G4 Android Development] joern_k:
I tried that - LOS starts fine and seems to work properly without gapps. When I flash the gapps package later the google setup wizard keeps crashing.

When I flash both without reboot I can properly setup my phone.

Still I have a serious issue - I encounter reboots when I am moving around with my phone, e.g. in the car so the phone is constantly changing cells. Everthing works fine as long as I am stationary.

I did a full wipe (more than once ;) )

Flashed the proposed bootloader/modem h815_20p_bootloader_29a_modem_TWRP-flashable.zip

LOS 16 H815 official unlock, january or february build make no difference here

gapps 9 stock

no root

pstore log is available

Regards

Jörn
[G4 Android Development] masemoel:
Try older Open GApps / give a try to FlameGApps!
[G4 Android Development] gkg2k:
KERNEL ADIUTOR "gkg2k" settings to give NEW LIFE to your G4

Environment :

G4 running LOS16 0119 or 0222 by sfX

with h815 Bootloader and latest modem flashed : http://necessori.net/h815/h815_20p_bootloader_29a_modem_TWRP-flashable-MODEM-BIN.zip (this file is for H815 non-USU only, if you have another G4 variant follow the sfX guide to get the right bootloader + latest modem)

and MAGISK latest version flashed : http://necessori.net/h815/Magisk-vce7cb1ee(20306).zip

KERNEL ADIUTOR installed : https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor

KERNEL ADIUTOR "gkg2k" Configuration :

- "gkg2k" Configuration Profile exported from the app : http://necessori.net/h815/gkg2k-h815-KA-LOS16-2020.json

- "gkg2k" Configuration Profile created following these instructions ( https://xdaforums.com/lenovo-a6000/how-to/guide-export-kernel-adiutor-settings-to-t3441181 ) : http://necessori.net/h815/gkg2k-h815-KA-LOS16-2020 (You can use the windows Notepad to open and read this file. Each line is a command line that Kernel Adiutor applies)

If you don't know how to import or use the above files to create your own configuration profile in Kernel Adiutor I suggest you go visually and insert the settings manually in K.A. :

1] View and apply all the settings sections : http://necessori.net/h815/KERNELADIUTOR-H815-LOS16-2020-VISUAL.jpg (Pay attention to the Low Memory Killer that must be set to VERY AGGRESSIVE)

2] Applying the settings to the CPU section may be difficult, read here to solve : http://necessori.net/h815/KERNELADIUTOR-H815-LOS16-2020-VISUAL-CPU-ALERT.jpg (Re-apply the the whole Profile until the CPU settings are correctly applied)

How to set-up your profile (that you'll apply at every boot) : once all the above settings are correctly applied open the PROFILE section in KERNEL ADIUTOR, press the "+" button, select CREATE, select CURRENT SETTINGS, press SELECT ALL, press OK, insert the NAME of your profile and OK. Your profile is now saved and ready to be applied every time you boot your G4 up.

These settings are VERY FAST, VERY SMOOTH and safe (data-loss is exceptionally rare). Battery life is rather good, as well.

G4 will turn into a y2020 phone.

Finally, three extra tricks :

- ROOT BOOSTER (EXTREME SPEED setting in the paid version) : https://play.google.com/store/apps/details?id=com.ram.memory.booster.cpu.saver

- SD MAID PRO (paid version, once a day) : https://play.google.com/store/apps/details?id=eu.thedarken.sdm

- TRIMMER (free, once a day) : https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

LONG LIVE G4!

gkg2k
[G4 Android Development] skrzynkadla:
Hi,

I have device h815 with officially unlocked bootloader. I would try to flash it with your image but unfortunately the links with "new bootloader stack" and image does not work. Is it possible to fix links/reupload device images?
[G4 Android Development] Gigio755:
Thank you, finally the g4 doesn't crash anymore after 19/01 los version
[G4 Android Development] joern_k:
Thanks for the hint to FlameGApps - maybe I try this out on my next install. For now the google stuff is working fine.

I still have the problem with the modem crashes though. That is pretty annoying. Sometimes this happens multiple times within a couple of minutes, sometimes no crash for some hours.

Regards

Jörn
[G4 Android Development] steadfasterX:
Flash

h815_20p_bootloader_20p_modem_TWRP-flashable.zip

Which is here:

http://leech.binbash.rocks:8008/stock/LG/h815/20p/

That is the absolute ideal base for (official) h815 devices. It contains the pure 20p bootloader and 20p modem(!) which should fix your issues. If not then you might try different gapps versions (micro, nano, ...) or try without living gapps ;)

my builds come with FDroid which is the base for a life without Google. You can install from here Aurora which is just another frontend for Google play and you can install microG stuff which replace several parts of the battery-draining Google crap.. ;)
[G4 Android Development] steadfasterX:
Added FAQ #9 A life without Google?!

.-
[G4 Android Development] jjcdennis:
Thanks for putting this together steadfasterX.
[G4 Android Development] steadfasterX:
the server is up. check your firewall/router and allow outgoing port 8008.

.-
[G4 Android Development] skrzynkadla:
Hi, you were partially right. For some reason my internet provider redirect connections to your server to fortiguard.com :/
[G4 Android Development] joern_k:
Unfortuately, this didn't help. Flashed the bootloader/modem you mentioned and nano gapps - the phone still crashes.

Regards

Jörn
[G4 Android Development] Champion2020:
Google play services for Ar (ARCore) + Minecraft Earth

OK, hours of reading, reinstalling and installing the last LineageOS 16.0 für LG 4 H815....

...

anyone has been able to play Minecraft Earth?

Thanks!
[G4 Android Development] steadfasterX:
Does it crash without gapps? I guess almost all users here using gapps these days and no other report issues like yours. Either it is a hardware or Frankenstein issue..

As said you need to try older gapps versions ( 1month back , 2 months back, 3 months back . At least these 3)

For all these 3 try pico and nano so 6 different versions to try (at least).

Other then that if it does not crash for you without gapps consider going wi5h FAQ 9.. Gapps had very often issues in the past..
[G4 Android Development] joern_k:
I will try that - it might take a while since I am working in home office now and am not so often driving around ;)

Regards

Jörn
[G4 Android Development] joern_k:
Nope - also with a clean LineageOS 20200222 I still get Modem errors:

[43155.523494 / 03-20 14:08:44.931][0] Fatal error on the modem.
[43155.523553 / 03-20 14:08:44.931][0] modem subsystem failure reason: FW@fw_rxlm.c:2571 [5,0,0,0] fw_rxlm_deactivate_chain: Rat %d does not own WB %d.
[43155.523567 / 03-20 14:08:44.931][0] [LGE] MSM Chip info : SFR Init: wdog or kernel error suspected..
[43155.523586 / 03-20 14:08:44.931][0] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = SYSTEM.
[43155.523736 / 03-20 14:08:44.931][0] M-Notify: General: 8
[43155.523769 / 03-20 14:08:44.931][0] lge_disable_watchdog
[43155.523779 / 03-20 14:08:44.931][0] panic in suspend: 1
[43155.535874 / 03-20 14:08:44.935][0] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.
[43155.536943 / 03-20 14:08:44.947][1] CPU1: stopping

Maybe I really have some sort of Frankenstein device if nobody else has these problems

I am thinking about going back to stock now.

Regards

Jörn
[G4 Android Development] Melissakis:
Hi,

I try to use G4 (H815) as a webcam. For this purpose I downloaded iVcam. The app works well, but after a few minutes the camera freezes, so does the picture client. The phone app itself does not freeze, only the picture. The only way to make the phone app work again is to restart the phone. I believe that it has something to do with a power option in Lineage or the Kernel Adiutor maybe? Thanks!
[G4 Android Development] Pyrocks:
I have a similar issue using zoom - after a few minutes my live image freezes and when that happens the standard camera app won't work either - it opens but the image freezes on either front/rear cameras.

The only option to get the camera back to life is to reatart.

I also have an issue with google photos playing videos in slow-mo and out of sync with the audio. Doesn't happen when using VLC. Did anyone else encounter this?

Overall I think the previous release was more stable.
[G4 Android Development] steadfasterX:
wait for the next update ;) that should at least make things much better..

-.
[G4 Android Development] breversa:
Something similar to this, maybe :*https://xdaforums.com/showpost.php?p=81920517&postcount=1356 ?
[G4 Android Development] Melissakis:
Unofrtunately not. In my case, everything works fine, even the camera app, I can go to settings, make changes and operate the phone normally, but when I go to the webcam app, I still have the same frozen frame. This happened with both apps I tried and happens only to the G4, I'v tried two other phone with both apps and they work well.

I'm not sure it's just the rom that's responsible, maybe it's a camera fault? I'll try to leave the camera app open to see if this will happen.
[G4 Android Development] rundumdieuhr:
See background info and status here:

https://xdaforums.com/showpost.php?p=78111758&postcount=1009

https://github.com/Suicide-Squirrel/issues_oreo/issues/1#issuecomment-489588554

https://xdaforums.com/showpost.php?p=79562686&postcount=1232
[G4 Android Development] steadfasterX:
it looks like rild crashes on yours. do you have a SIM inserted?

does it start lagging after you do something special? Here it does not happen so hard to re-produce..

when that happen again do this:

adb shell
su
(or adb root ; adb shell)

stop real-ril-daemon
stop ril-daemon
setprop init.svc.ril-daemon stopped

give it up to 2 min then check if the lagging is gone and let me know

.-
[G4 Android Development] belrik:
I have no sim installed, i was testing it as a backup phone. Is it normal for the RIL daemon to crash with no SIM? Would expect RIL to disable until a sim is detected.
[G4 Android Development] hteles:
I guess that since this is a hack to initilaize the Sim since our developers had to borrow the RIL from other phones that maybe the cause. In 15.01 it was working and the script probably needs some adjustments for PiE.
[G4 Android Development] belrik:
QUOTE=steadfasterX;79593894]it looks like rild crashes on yours. do you have a SIM inserted?

does it start lagging after you do something special? Here it does not happen so hard to re-produce..

when that happen again do this:

give it up to 2 min then check if the lagging is gone and let me know

.-[/QUOTE]

To answer your question: nothing special, just launching apps.
[G4 Android Development] steadfasterX:
ok that could be the cause then. I will try to re-produce.

.-
[G4 Android Development] steadfasterX:
New builds are cooking...

In progress (in that order):

all done

Done:

H815

H811

H815 UsU

VS986

H812

H810

Noteworthy Changes:

RAM optimizations, RAM optimizations, RAM optimizations (increasing speed)

Fixed issue #13 https://github.com/Suicide-Squirrel/issues_pie/issues/13
[G4 Android Development] gixxergabi:
Pixel launcher always crash (work: Los15, AospExtended v6.5 ), Trebuchet ok. Just for me?

I tried to do a ->bugreport<-, maybe help.
[G4 Android Development] steadfasterX:
If you really want help follow FAQ #1
[G4 Android Development] horvalos:
Great job steadfaster and thank you for bringing android Pie on our G4...

Very nice and smooth rom very good battery consumption..I Have the same problem with pixel launcher crashing but im not rooted so i cant grab a log..

I want to ask if i can change to light theme because only dark theme on system settings,also no encryption for pie?im not rooted but is it safe to use my e banking apps,paypal?

thank you in advance and for your efforts for this rom:D
[G4 Android Development] steadfasterX:
Enable root in developer options . It will only allow adb root then and you can simply disable it after taken the log. nothing needs to be installed . Follow the faq briefly then because without a log no chance for a fix.

Reg encryption read the OP known issues.

For light theme no idea maybe when I find the time I can look at that one .. some day .. If you don't want that I forget that (read my signature) open an issue on github.

I can't answer your question reg "is it safe to use banking". You can have an android with patch level of 1981 (as long as you keep BT and WiFi disabled) and can be "safe". It's YOUR user behavior making it insecure due to installing apps , clicking attachments in mails etc . The best malware protection , selinux and other stuff can't protect you if you do not think before acting ( no offense against your person it's just a general hard fact ).

What I wanna say is a ROM is as secure as how the user is acting regardless of any software / hardware protection within .
[G4 Android Development] horvalos:
Thanks for your reply i'll try to grab the log for pixel launcher...

As for the security,im new in custom roms i've read a lot before install anything because i suffered 2 bootloops until LG changed my motherboard,anyway and i was reading about decryption decryption i know that i have to be very carefull when i'm on internet, the key factor is me the user not the rom/pc/app or site..I didnt knew what means no decryption for my daily driver and thank you for replying :D

Keep up the good work and thanks for your efforts...:D
[G4 Android Development] steadfasterX:
adb root is not the same as root. If you want to have the SU command you either need Magisk or the LOS root-addon.

Read the OP -> Installation -> 5) to find the link. After the installation you can go in the same developer settings and enable/disable root even for apps.

.-
[G4 Android Development] Korin67:
Thank you for the quick/informative reply. Now I installed root-addon 16.0. I can operate as the root. No need for the magisk anymore, uninstalled it.
[G4 Android Development] sperelli:
Thanks, [MENTION=5545101]steadfasterX[/MENTION], really good rom!

Can anyone tell how to remove SU (addon) and install Magisk?
[G4 Android Development] aha360:
1. Grab the remove SU flashable ZIP file from LineageOS Downloads (Extras) and flash it

2. Grab the Magisk flashable ZIP from its forums on this site and flash it

3. When you launch Magisk Manager after performing step 2, you may be asked to perform a full download of Magisk Manager - follow the steps to do this, and then you are done
[G4 Android Development] busattovini:
What is the best Google Cam Mod?
[G4 Android Development] Sir Daniel III:
The UI seems to be much smoother and stable now. Good job!
[G4 Android Development] nesnesnes:
Hello! for US991 will be out soon? Thank you!
[G4 Android Development] Aquarius_77:
I've got the same issue in my H815. It also happens with LOS 15.1.

In my opinion it's connected with temperatue issue. It happens with camera when the temperature exceeds 90 degrees, probably to prevent damaging the phone.

You can check the temperature with CPU-Z and verify it.

Regards. A.
[G4 Android Development] shadow52:
If it is temperature, then for me the throttling kicks in at 50C (pm8994_tz sensor recorded with 'Temp. monitor' from F-Droid). Also H815.

In my case any camera app is affected (Open Camera, IP Webcam Pro, Zoom). The video from the camera displays fine for a time, then starts to lag, then freezes completely. Rebooting appears at first to help, but then the issue recurs quickly. Just leaving the phone for a few minutes with the screen off and charger disconnected temporarily gets the camera going again.

Fingers crossed for steadfaster's hint at a fix in the next build...
[G4 Android Development] steadfasterX:
Test again with build 20200324
[G4 Android Development] jovanv:
I'm changing the boot.img file to only use small cores (boot_cpus=0-3) in order to use the ROM with my H815, and I just noticed that all the files in the lineage-16.0-20200324-UNOFFICIAL-h815.zip have timestamp 2009-01-01 00:00. Not a big deal but I was just curious why...
[G4 Android Development] ThePsymoon:
Hi [MENTION=5545101]steadfasterX[/MENTION],

Thanks for your support for support on LineageOS on LG G4.

As [MENTION=5843631]LuKePicci[/MENTION], I am new to LG device flashing, and I would like to install this LineaggeOS16 on my H815 (through official unlock). I plan to follow the steps you provided in this post:

However, I am not able to find a download link for the latest stock firmware h815: 20p (my device is running on 20n), neither on your leech server nor somewhere else on the forum. Thanks in advance for the support:)
[G4 Android Development] breversa:
Thanks [MENTION=5545101]steadfasterX[/MENTION], your latest build is much less problematic than the previous work.

Congratulation on your continuous support of the G4 : you help keep the world a less-polluted one by fighting against obsolescence !
[G4 Android Development] LuKePicci:
[MENTION=10649277]ThePsymoon[/MENTION] You can also: do Salt backup, enable Android dev tools, enable USB debugging, enable oem unlock, use adb to reboot to fastboot, apply unlock, keep phone in fastboot, boot twrp, flash twrp (pie flavor), reboot to recovery, flash MM bootloader packege 20p at least (which is not the nougat one!), flash rom, reboot.
[G4 Android Development] steadfasterX:
Google is your friend. e.g.: https://storagecow.eu/index.php?dir=Xda/LG+G4/H815/

.-
[G4 Android Development] ThePsymoon:
Thanks for your quick reply [MENTION=5545101]steadfasterX[/MENTION], I searched with google and visited this website, but I only check in the "Marshmallow 6.0" sub-folder.
[G4 Android Development] shadow52:
Thanks - tried it today. It's better, but I still eventually got to lagging/freezing of the camera after several sessions with IP Webcam Pro.
[G4 Android Development] Aquarius_77:
I confirm. The new release seems to take longer videos (almost 15 minutes in my case - with GCAM) but finally pictures freezes.

Sensors show high temperature of the device in the moment it freezes - between 80 to 98 degrees.

Regards, A.
[G4 Android Development] steadfasterX:
when the temperature goes that high the system will stop working regardless what we do. do you have any "optimizations" done like using kernel adiutor etc?

ok pls try this:

adb shell
su
echo '7680,10240,30720,51200,108288,115456' > /sys/module/lowmemorykiller/parameters/minfree

This change is

NOT permanent

and will be

lost on reboot

.

Test your things after the above command and let me know your results.

next test (but really pls test the one above BEFORE!) - if the above does not satisfy you:

adb shell
su
echo '7680,10240,36096,79360,108288,115456' > /sys/module/lowmemorykiller/parameters/minfree

.-
[G4 Android Development] sunrise77:
just wanted to pop in to say thank you for this update and the continued development for the G4!
[G4 Android Development] Termehansen:
I also see alot of heating when using cameras. I would say it changed in the last two builds to be an issues for me... Anything we can do to help debug it?
[G4 Android Development] bonner1928:
Hi,

just tried your latest version, but not sure of what you meant by these lines:

"TWRP menu: "Mount" --> choose "System"

From a terminal execute:

Code:

adb shell md5sum /system/etc/firmware/venus.mbn"

I checked "system", unchecked two other options and started the adb command. This is what happened:

C:\Windows\System32>adb shell md5sum /system/etc/firmware/venus.mbn

linker: /system/etc/ld.config.txt:21: warning: property "namespace.default.search.paths +" redefinition

WARNING: linker: /system/etc/ld.config.txt:21: warning: property "namespace.default.search.paths +" redefinition

linker: /system/etc/ld.config.txt:25: warning: property "namespace.default.asan.search.paths +" redefinition

WARNING: linker: /system/etc/ld.config.txt:25: warning: property "namespace.default.asan.search.paths +" redefinition

linker: /system/etc/ld.config.txt:26: warning: property "namespace.default.asan.search.paths +" redefinition

...

Any idea what went wrong?

Thank you,

Jens.
[G4 Android Development] steadfasterX:
Sounds like you are using a wrong TWRP flavor . You have to use the flavor of your CURRENT ROM version.
[G4 Android Development] bonner1928:
After installing 3.3.1-213_g4_p everthing seems to work fine. I love the new update :victory: Thank you for your great work!
[G4 Android Development] bonner1928:
Update: camera freezes and lg feels like it would melt - so I have to remove battery and wait for it to cool down. I tried three camera apps, all caused system crash and meltdown...
[G4 Android Development] bonner1928:
Seems to be a battery issue - I tried another one and had no temperature problem. Everything is fine now. I use open camera for really nice pictures and videos.

---------- Post added at 09:21 AM ---------- Previous post was at 09:20 AM ----------

Seems to be a battery issue - I tried another one and had no temperature problem. Everything is fine now. I use open camera for really nice pictures and videos.
[G4 Android Development] lgg4-user:
I dropped my phone on Friday and the screen finally gave out. With a four and a half year old phone with a broken screen I was thinking maybe I should just get a new one. But the current builds are running so nicely for me I picked up a second hand screen for £15 and now I'm in back in business. Thanks again [MENTION=5545101]steadfasterX[/MENTION] for making it possible. I have made another donation to your server fund out of respect for your efforts.
[G4 Android Development] Gigio755:
I tried everything, even the kernel audiutor trick above, same here, freeze/lagging with camera so i have to remove battery etc..

I just reverted back to 20200119 build and everything works fine, no more lag etc.. :confused:
[G4 Android Development] St4mi:
Hi,

thank you very much. I finally found ILAPO-4cpu_twrp-3.2.3-PREVIEW-144_g4_O.img and were able to flash 16.0.

But I think it overwriters my 4core boot.img!? And it does not boot.

Is it possible to make an ILAPO package or at least an ILAPO boot.img for your LOS?

Stami
[G4 Android Development] steadfasterX:
You have to do that on your own.

https://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389
[G4 Android Development] St4mi:
Oh, great. Thanks for your quick answer.

A non-linux way isn't known?

Can I do it via hexeditor like the stock .tot?

Stami
[G4 Android Development] steadfasterX:
Boot FWUL from usb or in VirtualBox isn't hard..
[G4 Android Development] Termehansen:
I also just returned to 20200119 and I also have no more lag and overheating - a very different experience. Definitely something using too many resources on the last two builds on also my H815.