yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] raptorddd:
amazing guys. i hope that all gets sorted out and hope to see other roms not a fan of LOS.

:)
[G4 Android Development] a tiny ant:
Wow. This phone is still being supported / developed for. Have a donation [MENTION=5545101]steadfasterX[/MENTION]
[G4 Android Development] svetloslav:
Hey guys, I have the 815 EU version, which I have officially unlocked a few years back. I'am also on a couple of years old TWRP and CyanogenMod 6.0.1 (13.0-20161020-NIGHTLY-h815) Baseband: MPSS.BO.2.5.c3-00101-M8992FAAAANAZM-1.31581.1

I would like to go up to Lineage 16. Can someone point out the mandatory steps for updating. Which versions of TWRP, modem and bootloader should I flash first, or can I just go straight with lineage. Thank you in advance
[G4 Android Development] baconbacon:
My frankenphone refuses to cooperate. No camera, sound, sensors etc, basically everything that was said would happen in the lag fix if it was not flashed after the rom. Here is logcat https://pastebin.com/2VSfQucg
[G4 Android Development] belrik:
Let me try to remember. I think I am running the v29a modem and baseband? I think that is linked from the Los 15.1 thread.

TWRP is the latest official (3.3.0-0) from twrp.me

I use nano gapps (9.0 arm64).
[G4 Android Development] steadfasterX:
Read FAQ #1 and share the log.

How do you listen to music? Speaker ? Headset? Bluetooth ? .... Which app ?

Audio has been completely reworked so maybe it's related .
[G4 Android Development] Korin67:
Clean install solved the problem. I am enjoying with headset. Thank you for your time.
[G4 Android Development] rundumdieuhr:
Edit: disregard my comment
[G4 Android Development] steadfasterX:
Attention!!! This means NOTHING when the symptoms looking identical ! I need a boot log direct after booting

adb shell dmesg

Do that after directly after android booted fully up and ensure the log does not get cut due to a terminal buffer
[G4 Android Development] steadfasterX:
Woa do not flash anything just like symptoms look the same .. This is not a good idea and is likely complete a different issue here
[G4 Android Development] ImKiira:
Is it possible to use titan kernel on this rom?
[G4 Android Development] hteles:
You are already running Titan Kernel, there are not any Kernel flavour for G4 since Oreo
[G4 Android Development] Gigio755:
wow i just love this rom, really thank you about this work, really really thank you
[G4 Android Development] sdembiske:
While the battery consumption seems to be a little higher on Pie vs Oreo on the H812, it is not out of line given the extra demands put on the phone.

Few things to try, in the event you haven't done them already to improve your battery consumption:

- In your phone's Settings > Security & Privacy > Trust > Privacy guard -- when in Privacy Guard click on the 3 vertical dot menu at top right of the screen > Advanced > horizontal scroll over to 'Device' and turn off the Keep Awake setting in Google Play Services & Google Services Framework and on all your User apps that you do not need to be active at all times - also turn off, i.e., ignore Start at Boot & Run in background on those User apps that you do not need instant access to on boot-up etc. There is no impact to their functioning when you need to actually use them.

- In Greenify, in settings make sure you have enabled 'Aggressive Doze (experimental)' and turned on 'Automatic hibernation'.

- In the Google app itself, go to ... more > Settings > Google Assistant > click on the 'Assistant' tab and scroll down to 'Phone', click on that and turn off 'Google Assistant' when it's not needed.

-

Note

: This worked on Oreo, but is

not

working on Pie (thanks to [MENTION=6775522]jjcdennis[/MENTION] for reporting - it installs in TWRP with no issues but, although it allows one to optimize it, one is not able to actually enable it so that it reflects it as being optimized in the Apps & notifications section). Install EnableDozeGMS-TWRP-by-otonieru.zip in TWRP - download and put on your SD card from this link: [MAGISK 16][Battery Saver][6.0+] ENABLE DOZE on Google Play Services - the module install method in Magisk will not work anymore but installing it using the modified one specifically made to install from TWRP does - it will optimize the battery for Google Play Services, one of the highest draining apps. Ignore the Magisk 16 in the thread title, it will install and work on the latest Magisk version.

Also note

: The PIE & Magisk v19 Compatible Update: https://drive.google.com/file/d/1-Nw...w?usp=drivesdk in the thread does

not

work on this rom version as well, i.e., 9.0 (similar issue to the aforementioned zip install). I have posted the issue to the thread and created a logcat of this particular issue: see post # 1203. [MENTION=5545101]steadfasterX[/MENTION], I would appreciate it if you could also take a look at the logcat of the issue and see if you can spot where the issue is arising. I have found this app to be quite effective in Nougat and Oreo and I think it might benefit members to get some additional battery saving.

- Use a plain dark (black is best) static wallpaper on both lockscreen and system.

- Use a dark Folder background and Dark themes on any apps that provide the option.
[G4 Android Development] jjcdennis:
Wow, thanks so much for taking the time to put this note together. I've made the changes as you have suggested and will watch battery drain over the next few days.

FYI, Not sure which ROM you are using, but the descriptions under settings for this rom were a little different: In Settings select - Security and Location - Trust - Privacy Guard - 3 dots (top right) - Advanced - (slide across to) Device - (you can also choose the three dots under Device and change the selection to "Show User Apps") choose an app under device then look for - Keep your device a...(awake) - turn this to off - then go to Start at Power Up - select and change from allowed to Ignored. I went through all the listed apps and made the necessary changes.

Thanks again for the great support and help.
[G4 Android Development] gkg2k:
Try Root Booster :

https://play.google.com/store/apps/details?id=com.ram.memory.booster.cpu.saver

I use the "extreme speed" profile and afterwards I use Kernel Adiutor to customize the kernel settings. Root Booster will hibernate the right apps.

Gianluca
[G4 Android Development] steadfasterX:
Your (now removed) log shows that your battery drain is coming from never-ending crashes of the camera daemon.

Ensure you followed this advice which causes exactly your issue (your log looks 100% related): https://github.com/Suicide-Squirrel/issues_pie/issues/26

After disabling you need to reboot .
[G4 Android Development] tfotakis:
Thank you all for your responses.

There are times that even on the lowest brightness (e.g. late nights, no lights on in a room, etc) it feels too bright for me (personal preference).

This app works like all other apps (like the one I mentioned) on Play Store by putting an overlay on top of everything to look dimmer, while decreasing the screen's contrast.

Basically, the aforementioned ro.lcd_min_brightness property was able to set the minimum duty cycle of the screen backlight panel's PWM available for the user to use. So one could set this property in order to get their backlight panel to become dimmer without sacrificing contrast. Using overlays, the backlight panel stays at the same brightness while the LCD panel blocks more light to make the image dimmer. However, LCD panels do not block 100% of the light coming from the backlight panel causing LCD Leakage, so blacks look more towards grays. As a result, overlays make the screen's blacks stay the same and whites become grays leading to lower contrast which leads to poor image and hard time reading text.

EDIT: I have also tried Kernel Adiutor's screen settings, however they cannot adjust the backlight panel's minimum brightness. :(

EDIT 2: As I understand, https://github.com/Suicide-Squirrel/android_device_lge_g4-common/blob/lineage-16.0/overlay/frameworks/base/core/res/res/values/config.xml#L100 is the property I am looking for. However, is it accessible for modification with root permissions without rebuilding the whole ROM?
[G4 Android Development] jjcdennis:
[/COLOR]
[G4 Android Development] steadfasterX:
yes that is what you are looking for (I pointed to this in my answer). and it requires to rebuild the ROM.

I will do some tests and may do an adjustment. gimme some time.

yes that log is clean, no crashes anymore. when it happens again ensure you grab a log again.

.-
[G4 Android Development] kessaras:
No this is the one you are looking for.

The auto brightness false values break the lowest value.

https://github.com/CypherOS/device_...6bd9412#diff-380e537acdaedd487ca1adb49d020f7e
[G4 Android Development] sdembiske:
Thanks for reporting on the Enable Doze issue as I have since confirmed your comment (I'm running the same rom you're on) - it is not working (or at least not reflecting as being able to be optimized in the Apps & notifications settings for the Play Services app). Refer to my original post as I have noted and credited the issue to your find. My mistake was in thinking because it installed in TWRP with no issues that in was in fact working. Thanks for digging a little bit deeper on it. I have posted the issue with a logcat on the Enable Doze thread here.
[G4 Android Development] bazaleem818:
hello sir,,

thanks for this super rom stable fast and smooth

is there any (LG quickremote apk or flashable zip file) working in this rom

this app has powerfull learn feature
[G4 Android Development] busattovini:
I'm using Mi Remote and it's very good. ?
[G4 Android Development] schasch:
Hello,

first of all thanks for this great work.

I will give Pie a chance on my H815, but i am not sure about install-process(modem- version???) and I do not want to brick my device.

I backup'd with SALT and it shows me :

- LGMODEL=LG-H815

- LGSWV=H81520d

- LGFACV=LGH815AT-00-V20d-EUR-XX-JAN-15-2016+0

Image now : last official LOS 14.1 from 20171024

Officially UNLOCKED (not UsU!)

1)So I am on 'bootloader stack ' V20d' ? So I have to update/flash to 'h815_20p_bootloader_29a_modem_TWRP-flashable.zip'?

Is this correct?

2)my install should be:

- Officially UNLOCKED(done)

- backup with SALT(done)

- install twrp-3.3.1-PREVIEW-191_g4_P.img

- install h815_20p_bootloader_29a_modem_TWRP-flashable.zip (to get bootloader stack on MM 20p or higher!)

reboot now or not?

- Full clean install as described here (FAQ "#2")

- Flash LOS 16

- Boot (will take a bit on first boot!!!)

regards and thanks

schasch
[G4 Android Development] kessaras:
correct. no need reboot. reboot once you r done.

Just in case, when you install latest twrp grab also one easy backup of bootloader inside twrp. check backup everything except system and data.

this way if something goes wrong, you can easy restore bootloader and everything.

the rom is less important here at this moment , so no need to backup twice
[G4 Android Development] bazaleem818:
Mi remote is very good iam using it but i need the learn feature
[G4 Android Development] mathbond:
Hi

Is it normal to still have to wait for the sim to be detected ?

i clean flash the 21/07 build
[G4 Android Development] sperelli:
it always happens to me.
[G4 Android Development] steadfasterX:
Ok so 2 things:

The bug you encountered before was about torch which causes a crash and that often. I was able to reproduce that one here and I fixed it (kernel). Will come with the next build. This bug was bad in more then one way as when the camera daemon crashes it not just draining battery it also results in delays e.g to display the sim dialog .

The other one is related to WiFi direct. It can be reproduced when trying to do a WiFi direct connection (don't do it though ). That issue is known while not on the known issues list. That has been corrected: https://github.com/Suicide-Squirrel/issues_pie/issues/27

Hope to find a fix for this soon.

Anyways ensure not using WiFi direct and wait for the next build ..
[G4 Android Development] schasch:
Good morning and thanks kessaras,

is there a changelog somewhere or can it be provided?

I do not see differences between lineage-16.0-20190721-UNOFFICIAL-h815.zip and lineage-16.0-20190724-UNOFFICIAL-h815.zip

I saw no changes on 'github tracker' in those 3 days.
[G4 Android Development] kessaras:
The changelog of each rom follows the changelog of the rom which is usually at their website.

The chabgelog for our device is easy too. [MENTION=5545101]steadfasterX[/MENTION] , me , ThePiGuy (who is currently at the university) and some more devs , we have formed a group.

This group is the Suicide Squirrel.

https://github.com/Suicide-Squirrel

The unofficial LOS is maintained there by steadfasterX himself.

The kernel is Titan kernel https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4

Which auto sync to official I maintain in AOSCP.

The device tree is the g4_common https://github.com/LineageOS/android_device_lge_g4-common

When you choose a repo, then you choose "commits".

The commits usually have an explanation , we rarely commit without an explanation , only when it's something too obvious. Reading the commits , you know everything that is going on.

An official maintained rom has the commits to the official repos at the official GitHub of the rom.

An unofficial rom maintained , has the commits in suicide org.
[G4 Android Development] steadfasterX:
Search for the word cooking. All my builds have a changelog
[G4 Android Development] jjcdennis:
Re: Waiting for the sim card to be detected - It takes a little longer for me as well. Maybe a minute or two. No big problem though.
[G4 Android Development] masemoel:
Does it work without Magisk? I am a bit doubtful about if it will work with LOS Pie with the root addon.
[G4 Android Development] jjcdennis:
Would Root Booster help in Doze's place? I'm not sure what it does, but looks like it idles apps that aren't needed in order to speed up the phone. Same app creator has a battery life extender and hibernation manager that look intriguing.
[G4 Android Development] omer1992:
Hello [MENTION=5545101]steadfasterX[/MENTION]

I have issue about when my phone overheating, i have sim card not detected error and ril stopping work how can i got this issue?

​

Thanks.
[G4 Android Development] wastrel:
Cannot download

Trying to download the ROM but got:

This site can’t be reached

leech.binbash.it refused to connect.

Can anyone mirror/share the ROM please?
[G4 Android Development] masemoel:
Finally, it doesn't work without Magisk installed in the latest build and the root addon: it gives error 1 in TWRP.
[G4 Android Development] steadfasterX:
The server is a available.

the port 8008 seems to be blocked on your site .
[G4 Android Development] wastrel:
Cannot lock screen with pin/password

Looks like default to Swipe and cannot lock screen with either pin or password...
[G4 Android Development] sbasil:
Both PIN and password work OK here (h815).
[G4 Android Development] busattovini:
It's working here as well.
[G4 Android Development] steadfasterX:
Here it works perfectly .

Factory reset or full clean flash (see faq 2) . Other then that read faq 1.
[G4 Android Development] ozukoc:
Hey, flashed latest version newly. Looks like everythings flawless thank you for big effort! Just i minor problem here, my google play still says "Device not certified". I wiped System + Cache + Dalvik before flashing and flashed magisk as well but in google play setting it says its not certified. Do you have any suggestion due to that problem ?
[G4 Android Development] wastrel:
Thanks so much for the reply. My device is H810, the screen lock is Swipe and cannot change to any others... I did full clean flash and install anyhow.. any ideas?
[G4 Android Development] steadfasterX:
android settings -> apps -> find play store -> clear data (yes data, not cache) -> reboot -> open play store -> wait 2..5 minutes -> check certified state again

I told you what to do. follow faq #1 (you have a "specific issue").

.-
[G4 Android Development] ozukoc:
Big thanks!!
[G4 Android Development] N64G:
Hello

Does the camera app work well in this Custom rom?

Is it different from the main camera app with the Custom ROM camera?

ThankYou
[G4 Android Development] busattovini:
Yes, it works, but I recommend you to download another app... There are different mods for Google Camera, and also you can try Open Camera, Footej, A Better Camera, etc.
[G4 Android Development] jotaincubus:
I use same camera app [MENTION=5343361]Gigio755[/MENTION] https://www.celsoazevedo.com/files/android/google-camera/f/changelog590/
[G4 Android Development] EWBG29:
I use MGCamera_5.1.0.18_R4X_v.5.1.7 by arthur (Can't post the link, new user here)

It works perfect. I can share some screenshots of the settings later When I get home

Edit: Just copy and paste "MGCamera_5.1.0.18_R4X_v.5.1.7" on google and you'll find it
[G4 Android Development] Gigio755:
I highly recommend it, if was useful to anyone, here my settings, I am really satisfied with it, hdr+ do the magic :cowboy:
[G4 Android Development] zxc79:
Could You add undervolting module to kernel? PLS ;)
[G4 Android Development] kessaras:
This request is a no.

For two reasons. First one and more important is the hardware issues the 90% of the users have. This phone is bleeding since it was out in the market.

The 2nd reason is that the kernel you are all using I have already under volted it as much possible. Even a 0.01 mV down will cause kernel panic. But before the panic you will see stuff stop working. (it's funny too from one scope. You see ril first stop working. No signal.

Than 2nd thing to stop is Bluetooth. You turn it on and it goes back off.

Then wifi.

And so on. Yes it's funny how everything is dying until it kernel panic ?)
[G4 Android Development] busattovini:
BTW, how many cores does LG G4 have?
[G4 Android Development] busattovini:
It looks like cores 5 and 6 are disabled. Is it okay?
[G4 Android Development] raptorddd:
in thermal by default is controlled by cores this turn off big cores at a certain temp.

if you want them on all the time set it to thermal soc something like that. in smartpack manager.
[G4 Android Development] busattovini:
Thank you!
[G4 Android Development] omer1992:
Hello, After fast charge, my phone's big cores setting open i am watching on CPU-Z app and when i restart phone, it is setting close (changing default) can you fix it for battery drain?
[G4 Android Development] steadfasterX:
....... that has been asked billion of times already.. here one last time again (I will add it to the FAQ as well):

we have 2 clusters of CPUs resulting in a Hexa-core CPU set: (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)

the big one (2 CPU cores - higher performance = more battery drain) and the little (4 CPU cores - less battery drain but a bit slower) are handled dynamically based on the load of your device.

the big cluster will run ONLY when it is NEEDED - i.e. high load.

look again at your picture: those are not DISABLED they are IDLE which is a big difference.

TLDR;

yes it is fully ok when those are idle. they get hot plugged whenever needed.

no dude thats not controlled by thermald (alone). sure you're right that cpu freqs are lowered based on the device temperature but idling/enabling the big cluster (see above) is handled on kernel level.

.-
[G4 Android Development] masemoel:
I've just seen a post refering to Android MM official that enables 1080p60fps recording mode: https://xdaforums.com/g4/themes-apps/root-60fps-camera-100-photo-quality-t3129460

Also here is given the V10 camera app but modified to our G4: https://xdaforums.com/g4/themes-apps/root-v10-camera-ported-to-g4-t3366878

Can you take a look at that? I had it until I moved to your ROM and I miss that :(
[G4 Android Development] a tiny ant:
With GCam you can record 60fps just fine. I don't know if it's 1080p but I think it is.

I've understood that getting the original camera app back is unfortunately not possible. That app was by far the best I've ever used and I miss it too. Footej comes pretty close. It requires some of the proprietary LG code.
[G4 Android Development] masemoel:
I didn't manage to record at those fps. Which GCam version do you use? Where do you set that??
[G4 Android Development] Gigio755:
This one F1v9.4a_6.2.030.apk, if you need you can see my configuration and you set 60fps in video mode, you will see 30, just tap over 30 and change it in 60 :)
[G4 Android Development] rundumdieuhr:
G4 shooting at 30fps

Remember that the G4's hardware sensor is not actually able to shoot 60fps, only 30fps. Which has been discussed in this thread before, see quotes below. So it not actually makes sense to try and save 60fps even when there's an app in which it's not greyed out. (IMHO it would be better if 60+fps options weren't there in the first place).
[G4 Android Development] busattovini:
I think this build is draining more battery than the previous one... I used to get 4 hours of screen time, but now it's just about 2 hours and a half. Am I doing something wrong? Do you have good tips for me? Maybe it's because of the apps running in the background, or even my battery life.

But this ROM is very stable. I'm still shocked.

Edit: now I'm using Smart Launcher instead of Trebuchet. Let's see if it improves battery life.
[G4 Android Development] sperelli:
when you encounter here and there some high battery drain, restart the phone.

Now, changing topic, this is about Speed Dial list vanishing. It keeps on happening to me since I updated to Pie.

After some reading all over the internet, I found this:

https://forums.androidcentral.com/moto-g5-g5-plus/958648-all-frequent-calls-disappeared-4.html

and the same happening to Lenovo, OPO, etc...

It seems to be caused by a buggy contactinteraction.service contained in Google Play Service.

The solution seems working yet only a workaround (cfr. link).

Anybody with some news?

Anybody with same issue?

Can it also be related to a certain version of LOS Phone apk (com.android.dialer. v 19.0) ?

Can it be solved with a newer/older version of com.google.android.gms (I have v18.3.82) ?

Thanx for any contribution
[G4 Android Development] steadfasterX:
Several fixes coming with the next build also reg crashing services causing battery drain in specific circumstances.

So atm you can just reboot when that happens and pray that I finish the TWRP decrypt soon then adding brighness adjustments here besides some other minor things . I may even wait until the security patches of August are implemented as well before building again.
[G4 Android Development] hdotzlaw:
Google App "Updates" tab not working

I performed a clean install on an official unlocked bootloader h815. Following this I installed GAPPS ARM64 9 mini version.

Everything is working fine with the exception of the Google App "Updates tab", that is somehow related to Assistant.

In the Google App, pressing on Updates does not present me with the Assistant screen like on my other devices, but simply reloads the Google App Discover page.

I installed the Google Assistant app from the playstore but this has no effect.

When I long press the Home button nothing happens even though "Search assistant" is selected in the settings.

Assistant listens when I say "hey Google" but I really would like to see my Updates such as travel time, stock performance, etc....

Anyone have any idea of what is wrong here?
[G4 Android Development] steadfasterX:
The newest open gapps are not always the best. Try older ones .. Not the first time that gapps having issues .

I have those from begin of July (nano) and these working fine.
[G4 Android Development] a tiny ant:
But it works fine. The video is noticeably smoother on the 60fps setting. Unless Gcam has some sort of interpolation the G4 definitely can record 60fps.
[G4 Android Development] steadfasterX:
Software rendered . The hardware cannot provide that .
[G4 Android Development] raptorddd:
i gave my lg g4 to my nephew. but idk why he brings it to me and the notification cant be pulled down and also the recents button does nothing. anyone.?