yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kessaras:
Thank you for the logs. Hold on until I'm back on Wednesday and I will see them.

Until then make sure the wireless charger is working.

Try with another smartphone , like galaxy s8 s9 s10 for example that have wireless charging for sure.

I know that you don't have the smartphones but you can get your charger and go at a store and test it.

I'm saying this because there is no change in power regarding this since N when I enabled the wireless chargers in kernel level.

Edit: [MENTION=5545101]steadfasterX[/MENTION]

From just a quick peek from my phone I saw that :

init: Could not find service hosting interface vendor.lineage.trust@1.0::IUsbRestrict/default

Charge_type = 1 when he connects the wireless charger.

I will see more on Wednesday
[G4 Android Development] steadfasterX:
not related. that one is just a minor thing which I fix in one of the next builds.

thanks dude. it makes sense when the selinux log is empty as your issue is not related to selinux. We know that now bc you booted with a selinux=permissive kernel so all good.

pls flash the attached boot image and go again through "specific issue" in the log guide of faq-1. As a side note: I have completely re-worked the guide. Do not miss the new "-D" option I added for logcat there ;)

There is no need for an extra dmesg log as kessaras asked for. Its all there when you follow my guide and use the proper logcat command.

The attached boot image should fix that issue as its an older one (as its name suggests) and so the log should be good for comparing.

I recommend to backup "boot" in TWRP before flashing.

After you went through the above restore the backup of boot again.

View attachment 4796256

.-
[G4 Android Development] trx11:
Hi

I got a H815 with Android 7.0 Baseband MPSS.B0.2.5.c3-00138-M8992FAAAANAZM Kernel 3.10.84 Build NRD90U

And i like to install this Lineageos software but i dont know where start...

1st I unlock my boot in LG Site they send me a file i put in my LG G4

Now what i need to do?

Thanks for all support
[G4 Android Development] martin.chicoine:
main screen freeze

I frequently have main screen freezes. I can't swipe app pages but swiping down status bar works. I usually have to close and reopen screen before it works again. I lasts about 30 seconds. I join a logcat but I am not sure it contains the required information, it's the first time I do this.
[G4 Android Development] steadfasterX:
read faq #1 . it will link you to a proper guide as what you gave is not that useful. follow "SPECIFIC ISSUE" in my guide when your issue happens again.

your log contains an information that you might have rooted and that is being denied.

07-23 10:19:45.173 W/m (29081): Cannot obtain root
07-23 10:19:45.173 W/m (29081): java.io.IOException: Cannot run program "su": error=13, Permission denied

but without a proper log there is nothing I can do.

are you rooted? if so how (magisk, supersu, LOS root addon)? keep in mind that even when magisk is working very well usually I do

not

support it here. Use the LOS root-addon if you need root or uninstall magisk to see if your issue is gone then

.-
[G4 Android Development] martin.chicoine:
I rooted the phone when I was on Oreo but I did not root it for Pie so no, I am not supposed to be rooted. Is there a way to check this?

I am sending another log, let's see if it can help. If no, it's ok. Thanks for your help.
[G4 Android Development] a tiny ant:
Tried that. Wireless charging still didn't work. I'm suspecting that it has to do with my phone instead. I have three different wireless charging pads, all of them indicate they're working when the phone is on them. However charging barely works and the phone itself also doesn't register as charging.

I've reflashed an older rom version where it definitely worked, but even in there it doesn't work after a full clean flash. I think the case or the charging circuit in the motherboard is faulty. I have a spare motherboard somewhere I could dig up to actually properly verify it, but I think you can stop spending time on the issue.

Thanks anyway.

I still have the logcat here in case you want to look at it.

https://paste.omnirom.org/view/f73644eb

By the way, is there some sort of shared account that the LineageOS developers for the LG G4 share? I want to donate but I also don't want to leave someone out :D.
[G4 Android Development] steadfasterX:
You could install a root checker if you are not sure.. But if you didn't flash the LOS root add-on or magisk after flashing pie you are not rooted.

I'm here to help but you didn't followed my guide.. The log looks not much better and you keep sharing it as an attachment which makes it harder for me to view it. Thats all explained in the guide. Maybe try it again this time going really through my guide ?
[G4 Android Development] steadfasterX:
.

Thx..

Hm weird .. So it's not kernel related - likely. Do you have a build or know one where it worked the last time 10000%?

Nope there is not such an account but we do all this just for thx clickz (well tbh even more just for educational reasons) so .. ;)

me I'm on LOS + TWRP mainly , kessaras on aoscp + kernel and we share everything we find ofc.

Btw I fixed the minor trust service issue kessaras mentioned in the next build ;)
[G4 Android Development] martin.chicoine:
Hope I'm ok now...!

https://paste.omnirom.org/view/2e8235a4
[G4 Android Development] jjcdennis:
Just wondering if other users are seeing higher than normal battery drain. I am seeing more rapid depletion of the battery than normal for the phone. Ie: I listened to some music via bluetooth and plex for maybe an hour and had ~88% battery (6500MAH battery) remaining. I then finished a 30 minute phone call and had 59 % left. The phone was very warm during and at the end of the call.

I have Greenify running and have shut down a couple apps running in the background. This drain is faster than I am used to and the phone has never run that warm.
[G4 Android Development] steadfasterX:
Read faq 1. Follow the guide "specific issue". Share a log.

I can't fix what I can't see...
[G4 Android Development] wotofoko:
I am having the same issue with voice call sound. The earpiece speaker when in call (front speaker) is very low. I can hardly hear anything when in public. Also it only happens on this rom. Should I take a log during/after a call? Would that help?
[G4 Android Development] kessaras:
bro, those are in device tree and we all use the same, because we keep a close to common development line, so that we can work together the bugs.

You must definately buy new earpiece https://www.ifixit.com/Store/Android/LG-G4-Earpiece-Speaker/IF303-030?o=2 if you can't listen the other side, because mine are very strong already. Sometimes i even need to lower the volume so that people nearby don't listen to the conversation.

Or try to open the g4 and clean up the sieve in front of the speaker with some alcohol and a toothbrush. if thats not enough then you need new earpiece
[G4 Android Development] fi5z.x9:
Things running fine on my side. (3000MAh)
[G4 Android Development] Thordgar:
I noticed the same thing since I updated to Pie. Before updating I always had to lower the front speaker volume so people could not hear my call. Now at max volume it's just enough to hear the caller.

I noticed the difference because I had the habit of using the front speaker at max volume instead of the loudspeaker, but now the front speaker volume it's too low to this.
[G4 Android Development] steadfasterX:
yes thats how a good log should look like. It might be just the sepolicy which comes with the next build. other then that it might be the NFC issue which your logs shows. not sure.

wait for the next build and if you had NFC enabled disable it and check if that helps.

which model?

which model?
[G4 Android Development] Thordgar:
My G4 is an H815
[G4 Android Development] steadfasterX:
appreciated. just it helps always to put a log in ;) or better: it doesnt hurt..

could you pls check if you have the android -> settings -> system -> buttons set to

off

:

"Long press for torch".

If that option is enabled this will cause the qcamera daemon to crash which leads to higher temperature which leads to slowing down.. will add it to the known issues for future q.

EDIT: added one https://github.com/Suicide-Squirrel/issues_pie/issues/26

also let me know if that was set to off already.

.-
[G4 Android Development] wotofoko:
Same, H815 here as well.
[G4 Android Development] Gigio755:
sorry, for the moment i can't provide it, unfortunately I don't have much time to do this test, really sorry, i hope in next days :(
[G4 Android Development] steadfasterX:
just the torch option is causing that issue https://github.com/Suicide-Squirrel/issues_pie/issues/26

the temperature thing during the call might be another issue... will try to re-produce

.-
[G4 Android Development] Thordgar:
Another thing that I noticed is that the adaptive brightness on Pie is slower than on Oreo.

I did not report this and the volume one before because these are very small problems and I didn't want to bother with small things.
[G4 Android Development] steadfasterX:
just to be crystal clear we talk about the earpiece (which you hold on your ear) or the speaker (which you use to talk with free hands)?

in any case: I have the exact same model as you both have (and kessaras as well) and the volume is perfect on speaker and on earpiece. It might be really hardware related but you can ofc try an oreo based ROM to verify. Do not resists on the fact that it worked on oreo before, test it now again.

we can be happy that brightness works tbh. in the beginning it was unusable so they fixed related stuff already.

.-
[G4 Android Development] masemoel:
Your last build is very nice. However, I found some little issues when trying to set my brightness while automatic brightness is turned off. Also, before making some reboots and wiping dalvik and cache through TWRP, my screen used to get black many times (I believe that was due to the SystemUI because each time that happened, after 30 seconds the lockscreen appeared as if the SystemUI has restarted, no matter if the phone was locked or not).

Anyway, congratulations for the amazing battery performance. Hoping a new and better build soon! :D
[G4 Android Development] steadfasterX:
ok so what I have done was:

doing a call (1 hour, 10min)

keeping camera on for 30min

listening to youtube music for 1 hour and 22 min

phone is not cold - a bit warmer but far away from hot, battery drain as expected - while extremely better then before the kernel improvements.

I saw a NFC bug we have which I fixed for the next build as well which has ongoing issues during the phone call. maybe that or the powerhal policy fix it for you as well.

as you had the torch button enabled I still believe that the crashing cam daemon was the issue for your battery drain.

wait for the next build and keep torch power button off and we know more.

.-
[G4 Android Development] wotofoko:
It's the earpiece that is extremely low. Speaker is functioning just fine. I had the same issue with Oreo based LOS, but other Oreo based ROMs didn't have that issue. Same thing now, Pie LOS has this issue whereas other pie based ROMs don't.

Is there a way to boost the earpiece volume manually?

It's really a pity because other than that the ROM is perfect.
[G4 Android Development] sperelli:
i would suggest using Kernel Adiutor

you ll find under "sounds" options to boost volumes...
[G4 Android Development] steadfasterX:
Ok then let me ask it in another way:

Which ROM worked fine for you? Exact version. Try that ROM again NOW. Does it STILL work ?

If not: your earpiece hardware is the issue

If it works on that other ROM version NOW then it is a (only for you) issue within this ROM .

In any case the above will help to fix your issue. If I know that you have tested NOW a specific ROM version and it works I can check the config .

Besides that please do this on this LOS pie:

Follow faq #1 and provide a specific issue log when doing a phone call.
[G4 Android Development] wotofoko:
I did exactly what you are saying with the ephasis on NOW.

Problem present only on LOS pie.

Will come back with a log.

Thanks for your help.
[G4 Android Development] steadfasterX:
Good. Then which exact other one did you tested (asking that the third time :rolleyes: ) . I just need one ROM where it worked for you . Did you tested aoscp pie ? Which build ?

With the log it should be fixable ...
[G4 Android Development] LukeSlovian:
Hello - I have a problem. After starting the system - when I try to detect the sim card - by the modem in LineageOS 16 - the LG G4 H815 smartphone turns off. I have logs saved. Can I send you logs from this event?

In what form should I send you logs?
[G4 Android Development] jotaincubus:
is it ok?

Ok guys... I wanna do ultra full clean intallation from LOS 16.0

My device is LG G4 H815p USU's unlocked and TWRP 3.3.1-PREVIEW-191_g4_P date 2019-May-27 16:06

Now I will to use H815 USU's zip

Step by step

1. Boot into recovery

2. Flash h815_20p_bootloader_29a_modem_TWRP-flashable date 2018-Oct-16 10:06

3. Wipe System + Cache + Dalvik + FORMAT DATA

4. Flash h815_20p_modem.zip date Apr 25, 2018

5. Wipe System + Cache + Dalvik

6. Install LOS 16 lineage-16.0-20190725-UNOFFICIAL-h815_usu.zip date 2019-Jul-24 22:22 and downloaded from leech.binbash.it:8008/lineage/pie/h815-UsU/

7. Flash open_gapps-arm64-9.0-nano-20190724

8. Wipe System + Cache + Dalvik

9. Normal reboot and enjoy

is it ok or any mistake? Thanks and regards
[G4 Android Development] steadfasterX:
Skip steps 4,5 and 8 they are unneeded and especially 8 would leave you with a non booting device.

Oh I missed the point where you said you have an UsU device!!

you cannot flash step two because it will brick your device. Find the correct Bootloader for your usu device!! There is a reason why I have Bootloader packages for UsU devices ..
[G4 Android Development] Gigio755:
I hope I did it right:

https://paste.ubuntu.com/p/x9sy2szh3y/

or this, i did it again:

https://paste.ubuntu.com/p/dhGQgqkmdH/
[G4 Android Development] Thordgar:
I'm referring to the earpiece, the loudspeaker is good.

I'll try Oreo today and I'll report back.

Thanks
[G4 Android Development] Scooterthedude:
811 with 7.24 update no issues at all so far.
[G4 Android Development] sperelli:
815 0724 everything ok so far..
[G4 Android Development] LukeSlovian:
Hello Friend steadfasterX :)

I am asking you with a very cordial request for your technical support. Can you check the logs - sent with me.

Friend steadfasterX

I am sending you a screenshot - from the This Computer \ LG-H815 \ internal shared memory folder \ SysLog \ 2019-07-24_21.48

I am asking you with a very sincere request for a message which file should I send you so that you can read the Logs you have saved?

My LG G4 H815 turns off - when you try to read the sim card by the modem - that is when you load the operator's network. I am asking you for your support for tefo CustomRom LineageOS 16.
[G4 Android Development] Gigio755:
can you check please if at every reboot your wifi mac address change randomly?

Thank you!
[G4 Android Development] LukeSlovian:
The next logs from today - I send in the form of a screenshot.
[G4 Android Development] belrik:
Thanks [MENTION=5545101]steadfasterX[/MENTION]

New build working really well on the H-815. No issues.
[G4 Android Development] steadfasterX:
pls send me your misc partition, compressed, uploaded somewhere, link by PM.

.-
[G4 Android Development] Gigio755:
Just sent via PM, thank you!
[G4 Android Development] martin.chicoine:
I disabled NFC and it seems that it solved the problem. Thanks for your help!
[G4 Android Development] Termehansen:
Graphics glitch... Here in Tapatalk app I see a weird underlay of last post behind the adds, that is completely static when scrolling. Anyone else seeing it, and is it Rom or app related? Didn't see it before Pie.
[G4 Android Development] jotaincubus:
I'm a moron

OMFG [MENTION=5545101]steadfasterX[/MENTION]... I am a Fu@#$% moron, cuz I used h815_20p_bootloader_29a_modem_TWRP-flashable but the thing is... "my device work with that bootloader and no brick" it's imposible cuz I used that bootloader so many times and my device no brick, maybe my WiFi problem is that.

So, I does it cuz I readed:

now, where I can get USU's bootloader for H815 my friend? forget it... I get the USU's bootloader... maybe I am drunked... lol

Sorry about my stupid questions and thanks about your job
[G4 Android Development] steadfasterX:
uhm.. so do you had UsU'd or not?

if you had that file must have bricked your device.

There is one exception to this: some (

rare

) devices are non-fusing and so would not brick at all.

BUT lets say yours is a non-fusing one: it would not let you boot a custom ROM /TWRP anymore after your bootloader flash - as the device would be like locked again.

There is one exception to this: When the device was unlocked officially - at least once in the past..

So given what you wrote it seems that you have:

1) an official unlocked device (you or the owner before - if any)

2) you might have UsU'd (you should know if)

3) you flashed the bootloader stack which removes UsU (thats what it does)

4) it doesn't brick - which it must on the regular fusing devices 90% of the users have

5) you still have access to TWRP so 1) is proven and tbh 4 as well (when you ever really have UsU'd the device)

so it seems you have not just luck (bc you seems to have a non-fusing device) but you also have luck twice (bc the device seemst to be still in unlock state)

A 100% proof if you have a nonfusing device or not can be given only when on stock (LG hidden menu -> Antirollback would show nonfusing)

.-
[G4 Android Development] kessaras:
wtf....... me i edit a kernel irq and i hard brick and only have download mode to fix my device and you on the side , you flashed wrong bootloader and you are still here ?!

How do you even sleep at nights ? Do you have an angel ?
[G4 Android Development] gkg2k:
The kernel optimizations on 0724 were so welcome and precious!

Much better now, however the smoothness of the 0708 Oreo is still far, imho.

Gianluca
[G4 Android Development] jotaincubus:
I swear, my device was unlocked with SALT+USU's cuz I have H815p without official unlocker... H815p It's a latin america variant from H815 with diferents frequency bands.

Now, I used not USU's bootloader and no got brick... :D I will try this night to flash USU's bootloader and maybe my device will work better.
[G4 Android Development] sperelli:
checked, everything ok on this side. same wifi mac address every reboot.
[G4 Android Development] LukeSlovian:
Hello, I am very pleased to you, the author of the steadfasterX :)

With full heart and cordiality I inform - that the problem with turning off my LG G4 H815 was from my side. I replaced the old one with a new battery and the latest Androidek Pie 9.0 is nice.

Dear Developer - who build the Custom Rom LineageOS reliably - I send you heartfelt thanks for the solid work you put into building the LineageOS series. Taking the opportunity to express my gratitude - I would like to thank the co-creators - who contribute to the creation of LineageOS - Custom Rom Android.
[G4 Android Development] steadfasterX:
next build will have these changes included (besides others ofc):

https://github.com/Suicide-Squirrel...mmit/d68644b0ef4ccf6f78b4c84c01fca5b87ffeb580

https://github.com/Suicide-Squirrel...mmit/08427280552889375a2ab167153b3bd8ac0cf8c7

which will fix your issue. your MAC is correctly set in your misc partition (offset addr 0x3000) but there was an issue with writing the (correctly read - by the kernel) mac to /data/misc/wifi/config (by the hwaddrs service - which never ran due to a file path issue - and then it was not able to write initial mac file, i.e. not updating an existing one ...).

that issue just occurs when doing a

full

clean flash (or fastboot format userdata) which - other then a factory reset - wipes the data partition 100%.

.-
[G4 Android Development] tfotakis:
First of all, thank you for your great work that keeps our device still alive and really functional.

I am here for a more generic question on Android Pie, however, it applies also in this thread as this is the ROM of choice for me. My question is whether there is a way to lower the minimum screen brightness of our device through some property of its installed ROM. I know that there are applications out there such as Night Screen that add a black semitransparent layer on top of whatever is drawn on the screen in order to make it look dimmer. Those apps work great on devices with OLED screens, however, for devices which come with a LCD screen such as ours, those apps decrease the screen's contrast because the backlight panel does not lower its brightness while the image becomes darker. I also know that up until Android KitKat there was a property in /system/build.prop file called ro.lcd_min_brightness that could change the backlight panel's minimum brightness. So the question really is whether this property is moved somewhere else since Android Lollipop (already tried modifying ro.lcd_min_brightness with no success), or whether it is even possible.

Thank you in advance and have a great day.
[G4 Android Development] steadfasterX:
In lineageos we have livedisplay . Does that fit your needs ?
[G4 Android Development] a tiny ant:
You could try cf.lumen from the play store.
[G4 Android Development] kessaras:
Yeah . In overlay we can adjust minimum allowed brightness for power Hal to use , minimum brightness allowed for user to use and minimum brightness of framework to use. [MENTION=5545101]steadfasterX[/MENTION] look overlay history in g4-common
[G4 Android Development] steadfasterX:
I know but I see no reason to adjust https://github.com/Suicide-Squirrel...orks/base/core/res/res/values/config.xml#L100 when livedisplay might be sufficient here.
[G4 Android Development] jjcdennis:
steadfasterX, I am still seeing high battery consumption on my LG G4 with a 6500MAH battery. I left it unplugged last night at ~90% and this am it was at 15%. I plugged it in this am and the phone was getting pretty warm as it charged.

I am used to a couple days at least with light usage and nowhere near this consumption. I have turned off all the buttons as you suggested. I'm just wondering if at this point a full clean flash with formatted data.

Battery gone bad maybe?

Update: I found my old battery 3000MAH. Will test it out and see how quickly it discharges and how hot its getting. I'm charging from a wall socket that has USB charge ports and has been fine up until now.
[G4 Android Development] jotaincubus:
lineage-16.0-20190725-UNOFFICIAL-h815_usu.zip got WiFi fix?
[G4 Android Development] hteles:
Hi.

The file is too big for the pastebin.

Here is a direct link. in plain TXT https://drive.google.com/file/d/1PeBb0CvbHlslorFbA4teEC8gc9093m3l/view?usp=sharing

EDIT: Just noted that at recovery it was all Zeros and ended at :h815:. I've edited and would never work,

After a few attempts, i've edit from the running rom and altought it was all zeroes it ended in :h815_usu:

So after doing something like echo "48:59:25:xx:xx:xxh815_usu:" > /data/misc/bluetooth/bdaddr my bluetooh is now working.

Regards
[G4 Android Development] pedrogcsb:
Looks good and stable. Sometimes it starts ringing without anyone calling idk why
[G4 Android Development] chippey5:
Thanks for your work [MENTION=5545101]steadfasterX[/MENTION]!

FAQ #1. If it's not mentioned under known issues, get the logs for it. If it is, you are stating the obvious Also read the other posts here and you'll see how often it is stressed to provide logs in order to get basically any kind of support when you encounter an issue that hasn't previously been reported yet.

Happy flashing (and logging)!
[G4 Android Development] steadfasterX:
Ok thx . That seems to require a rewrite of sepolicies for bdaddr loader..will add it to the list..
[G4 Android Development] belrik:
Thanks for the update.

Dirty flash from 15.1 failed; when unlocking at boot the launcher failed to load.

Clean flash with nano gapps working well.
[G4 Android Development] Korin67:
Music works? My phone gives me more like noise rather than music.