yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kinuris:
Thank you again, for your time and knowledge.

I was thinking there was some patch (easy to apply) that implements what you can see in AEX. You see it as a permission that can be granted or no. I've read about a switch in developers options, but I'm not able to find it in aeolary's last build, so I supposed it is removed.

Regards.
[G4 Android Development] ghardashyan:
[MENTION=5545101]steadfasterX[/MENTION], thanks for all the great stuff you've made for our beloved G4s.

Today I installed this ROM on my H815p. Below are possible bugs I've noticed so far:

1. Tethering on 5 Ghz is not working,

2. Window animations are tearing and sometimes laggy.
[G4 Android Development] drasterlx:
I have the same issue with 15.1... any solution?

Only read some cards....but before with stock rom worked.

thanks
[G4 Android Development] steadfasterX:
Consider to read my answer and provide proper logs:

https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082/post80637653

I'm not a magician . I need logs and infos how to reproduce.
[G4 Android Development] mad89:
Hi, thanks for reply.

Here is log on pastebin https://paste.ubuntu.com/p/bCtFYFzRdQ/ (I hope its correct)

About back cover I tested two of them and NFC was work on stock ROM, so propably it's not hardware issue.

I used this app https://play.google.com/store/apps/details?id=com.wakdev.wdnfc for test. On Galaxy S3 it was work with this app.

BTW. I have device H815 and I unlocked it using official unlock.
[G4 Android Development] LukeSlovian:
Welcome everyone on the forum. I am asking you very much for your technical support for the lineageos operating system 16 Android Pie 9.0.

I need to start dictating from the microphone with the default keyboard Which is installed with this operating system please support how I have to do this I entered the application menu of the default keyboard and I do not have permission to enable for the microphone.

See the screenshot provided.
[G4 Android Development] LukeSlovian:
This application has only 2 default permissions - these are contacts and internal memory I don't have more options in the menu.
[G4 Android Development] LukeSlovian:
I'm sending a screenshot from the main menu.
[G4 Android Development] mad89:
About NFC issue... I installed Smart Card Reader from F-Droid and i start working... It's detecting cards on other apps too.
[G4 Android Development] Heraku:
EDIT:

Turns out Kessara is compiling the same code of LOS only with his banned playstore access. Downloading from the original source(SFX) restores access to the playstore.

Have lineage-16.0-20190917-UNOFFICIAL-h815.zip installed.

I cant download Threema and Telegram from the Playstore. It says my device is not supported.

I can download Whatsapp without a problem.

What causes this Problem?

I can install other Apps just fine.

Thanks a lot guys!
[G4 Android Development] rundumdieuhr:
Well that is simply because the AOSP keyboard does not support dictating. You need another one like Gboard.
[G4 Android Development] LukeSlovian:
Hello my friend. Send me a compatible version of the Gboard application for LineageOS 16 for G4 H815.
[G4 Android Development] Heraku:
The proximity sensor during calls is way to sensitive.

With holding it normally to my ear it often happens that i press buttons with my skin.

I cant't say exactly if the touchscreen is still on with the screen turned off in some cases during a call, or if the screen intermittently turns on to register touch input.

Either way it is way to sensitive and I have to resort to turning the screen off with the power button in order not to register unwannted button presses.

Is that how it always was or a new thing?

It is quite a hindrance ;(
[G4 Android Development] EWBG29:
1. Type "Gboard" or "Google Keyboard" on the playstore.

2. Open it, and the app itself will guide through the configuration process.
[G4 Android Development] LukeSlovian:
Hello Plese Help Me.

I don't have a microphone icon in - despite the Voice Type option enabled. I have been granted microphone permissions in the Gboard application menu - please support. I post screenshots.
[G4 Android Development] LukeSlovian:
I don't have a microphone icon in - despite the Voice Type option enabled. I have been granted microphone permissions in the Gboard application menu - please support. I post screenshots.

https://photos.app.goo.gl/GUxd5Ha5vyEVXMWS9
[G4 Android Development] EWBG29:
First:

Do you have Google App installed?

If not please install it and check again.

Second:

If you have Google App and the microphone icon is still missing try the following

1. Go to "text correction" on Gboard and enable "sugestion strips".

2. Make sure "Voice input key" is enable in the preferences section on Gboard (You said it was).

3. Make sure "Google Voice typing is enabled" in Managed Keyboard. (To get here go to setting and search for "language" and click "languages", in laguages click on "virtual keyboards" below keyboards & Inputs, then click on "+ Manage Keyboard" and make sure it is enabled

Those things should work
[G4 Android Development] Bruno M:
[MENTION=5545101]steadfasterX[/MENTION] can you release a new version with the Android october security patch. Thanks :svetius:
[G4 Android Development] steadfasterX:
I will when the patches I'm working on are ready.
[G4 Android Development] steadfasterX:
do you have a screen protector applied? if so try without. Other then that your sensor might be defective (try another ROM to find out)

.-
[G4 Android Development] I-Immortal:
Hi sfx, thanks for your work and the hosting, very appreciated ! It's really incredible to have Pie running on such an old device that is unsupported by its manufacturer ;)

I want to report an issue, I have random kernel panics and UI reboots sometimes. I think my phone (or UI) always reboot by itself after, no need to take out the battery. The last one (kernel panic) happened when I was browsing Discord, so nothing specific really.

You'll find the pstore/'s content attached to this message.

Wish you a nice day !
[G4 Android Development] steadfasterX:
The panic occurs because of:

This is part of the modem blobs (which I cannot fix).

What is your model and bootloader stack version and your modem partition version?

.-
[G4 Android Development] masemoel:
Just as a curiosity...

[MENTION=5545101]steadfasterX[/MENTION] is better to have v29a or v20p bootloader?
[G4 Android Development] ClassicRed:
a big thank you from a French man who thanks to you resurrected his LG G4 h815

So you do a great job
[G4 Android Development] I-Immortal:
Sorry, was away on a trip for the weekend. Thanks for your answer but sadly I don't know how to check the bootloader and modem versions installed on my device :confused:

I have a H815.
[G4 Android Development] steadfasterX:
Official unlocked or UsU'd?
[G4 Android Development] Heraku:
hey SteadfasterX,

I have two Problems:

1) There is still an echo while using the loudspeaker for the person on the other line

2) When I plug my headset in I get "noises" almost always. only way to solve that is to replug or skip a track. It happens with the music app (GPM) opened/closed/having a song selected or not - doesnt matter

The sound sounds either like a lower frequency white noise or like a lower frequency "sine swipe" <- which is realy wired. So in that case it get louder and also more intense. THe sounds do not exceed a certain volume but I think that they are louder than the set volume and I also cant change the loudness of these sounds wonce they appear with the volume rocker.
[G4 Android Development] steadfasterX:
I have only one problem:

I need log

s. Read FAQ #1, follow the guide "specific issue". Ensure you set the life time of the paste to the longest period possible.

.-
[G4 Android Development] Heraku:
sadly my pc stopped recognizing my phone. it will only charge.

ON THIS NOTE: why cant I use a mouse with an OTG adapter on this ROM?
[G4 Android Development] masemoel:
Driver issue is what you had. I also had that and I solved it by uninstalling a driver that was making a conflict.

Have you tried in another pc??
[G4 Android Development] breversa:
A big THANK YOU*for your awesome work, [MENTION=5545101]steadfasterX[/MENTION] ! :D

Also, I've noticed that though my H815 running lineage-16.0-20190917-UNOFFICIAL-h815 has a flash (don't they all…), apps that require

android.hardware.camera.flash

(such as https://f-droid.org/packages/fr.jnda.android.flashalert/) will complain that it doesn't have it ! However, other apps that use the flash, such as Open Camera (https://f-droid.org/fr/packages/net.sourceforge.opencamera/) or Search Light (https://f-droid.org/fr/packages/com.scottmain.android.searchlight/), work perfectly fine.

Not sure if that's new or not though.
[G4 Android Development] steadfasterX:
Use FWUL if you have driver issues. That's why it exists ..

Mouse over otg has been disabled months ago in the kernel as no one needed it. If you need it back let me know.

That's not known but not that surprisingly . We cannot use the flash in some cases (e.g. long press for torch) and so I disabled the faulty part of it. might be related but that might a log show.
[G4 Android Development] jjcdennis:
Thanks steadfasterX, 2 beers on the way (at least in the US).
[G4 Android Development] Stonos:
Unfortunately it seems that Widevine L1 is not working properly (L3 is working though) :(

I'm getting this exception:

Failed to initialize decoder: OMX.qcom.video.decoder.avc.secure
android.media.MediaCodec$CodecException: start failed

Full logs: https://paste.omnirom.org/view/3b8edfc5

Can someone else try to reproduce it?

Steps to reproduce:

Download & install the attached ExoPlayer Sample app (or build it yourself from https://github.com/google/ExoPlayer/)

Try to play the "Widevine DASH Policy Tests (GTS) -> WV: HDCP not specified" asset
[G4 Android Development] jjcdennis:
I have noticed that my battery life has gone down maybe a factor of 50% with the Nov rom. I'm having trouble producing a logcat. I get this error when entering the log request - logcat -b all -d -D > /sdcard/Download/logcat.txt

/system/bin/sh: adb: not found

127Ih812_usu:/ #

I have followed the instructions from the "Providing a good..." and have done this before, so I'm not sure what I am doing wrong. I'm following the step 3a one shot process.

Help is welcome.
[G4 Android Development] Heraku:
To my knowledge the LG g4 didn't get an widevine l1. The LG G3 and LG g4 and up have it though
[G4 Android Development] Heraku:
Here is a logcat for the sound.

Not specifically logged for this event though.

Will do it in the future.

I am on the current build at the moment
[G4 Android Development] omer1992:
Hello,

I installed this rom my phone , unlocked, installed custom recovery and flashed magisk and i wanna know is this safe for my banking apps ? Is my personal informations in safe for against theft?
[G4 Android Development] Stonos:
DRM Info says it supports Widevine L1 though.
[G4 Android Development] Heraku:
Maybe this works https://www.google.com/amp/s/xdafor...flix-hd-widevine-drm-l1-devices-t3307241/amp/

It seems that individual apps also need to certify it as L1. Soooo stupid.
[G4 Android Development] busattovini:
I think this is the safest custom ROM so far.
[G4 Android Development] omer1992:
I trust you totally because of your from Brasil, you have a lot experience cause of your country :)
[G4 Android Development] busattovini:
:laugh:. You're right, though! But yes, [MENTION=5545101]steadfasterX[/MENTION] is so worried about security. He's always updating security patches, and LOS has a Trust App (or something like that). In every case, I think that we are the best antivirus! So you'd better be aware of the websites you access, links etc. I've used my bank account on LOS, and I assume that there's no card cloning! haha

Best regards from Brazil! Xoxo.
[G4 Android Development] Stonos:
Oh. sorry for the confusion. I wasn't talking about Netflix specifically. It's true, Netflix has to whitelist a device in order for it to be able to play HD streams.

I was talking about ExoPlayer being unable to play streams with Widevine L1.
[G4 Android Development] Heraku:
Soft reboot without any interaction.
[G4 Android Development] kinuris:
Thank very much for this. I've been out for a while without G4. Now I'm on again, so let's try this thing!
[G4 Android Development] Heraku:
Hey steadfasterX

The corrupt sound issue I am experiencing whil pluggin headphones in does not log to logcat!!

Soft reboot but nothing is getting reported there either ?
[G4 Android Development] Over567:
Try to disable audio fx sound effects. It worked out for me.
[G4 Android Development] falenjam:
[MENTION=5545101]steadfasterX[/MENTION] Thank you for the latest build and especially for fixing google duo video call issue :)

And google duo is precisely the app where I just had another issue ^^

Actually, the front front camera froze during a video call.

I managed to take a logcat :

https://paste.omnirom.org/view/download/2f9109e8

Then the only solution to make it work again is to reboot.
[G4 Android Development] Heraku:
Doesn't work for me.

Strangely it only starts once I hit play in Google play music. Before that I can hear system sounds just fine.

Watching YouTube is also possible without distortions.

More or less only in GPM with the first track.

Also there is still echo on the speaker phone for the other side.
[G4 Android Development] Over567:
Did you turned off when plugged in the jack or before?

The system can detect various devices so you need to turn it off for the phone speaker and then when you plugged in your headset need to check again and turn it off if needed.
[G4 Android Development] Heraku:
d'oh this might actually have done the trick! will report back should it not work

thank you
[G4 Android Development] steadfasterX:
according to the logs it might be "just" an issue with a limit.. you can test this if you like:

adb root && adb shell (or adb shell and su)
ulimit -n 4096

Re-produce the issue and regardless if it works or not share a new logcat again.

It might NOT help depending on which limit will exceed but lets give it a try.

Note: The ulimit setting will NOT survive a reboot, i.e. after a reboot you have to re-do that cmd.

.-
[G4 Android Development] steadfasterX:
regarding battery: try to turn off GPS and see if that helps. I had done a lot of optimizations here which might affect battery life though. Unfortunately this test won't help much unless your SIM issue isnt solved (as SIM detection errors will do big battery drainings..)

regarding logcat: Im just guessing here but if you are at step 4 where you want to pull the log: this has to be done from your PC not in the adb shell..

regarding sim issue: for this only option "C) FULL BOOT log (requires Linux / FWUL)" could help .. I will add a special boot logging to one of the next builds which will make this obsolete but atm its the only way.

.-
[G4 Android Development] jjcdennis:
Unfortunately I am a away and have no access to my laptop with linux/fwul on it. Would a TWRP recovery to 9/17 make sense for now?

I reflashed 09/17 and everything is working properly again.
[G4 Android Development] falenjam:
I executed the ulimit command and reproduced the issue. Here is the logcat:

https://paste.omnirom.org/view/download/f2a498a5

But it looks like the ulimit setting does not survive after leaving adb shell because "ulimit -n" then returns "32768".
[G4 Android Development] masemoel:
I'm having some problems with SIM detection sometimes too.

But I haven't seen any battery draining as far as i know.

And WiFi hostpot with 5.0GHz is still not working.

Nevertheless, this ROM is the best by far at this moment, and it's worth upgrading!
[G4 Android Development] FerdiCildiz:
working very smooth, fast and awesome. better than aoscp rom on the LG G4 h815 usu'd. Thanks a million!
[G4 Android Development] I-Immortal:
Hi, being tired of the random reboots I had on my officially unlocked H815, I clean flashed the latest ROM along with the 20P Bootloader and Modem TWRP zip in the OP of this thread.

Apparently I had an old version of the bootloader and modem (I noticed some changes during boot since I flashed the new bootloader). Sadly I cannot connect to the mobile data network (E, H+, LTE) anymore. When I activate the mobile data nothing happens. I also sometimes get no signal at all.

What can I do to get back my mobile network data to work again please ?
[G4 Android Development] masemoel:
Have you checked the APN of the SIM ?
[G4 Android Development] I-Immortal:
Yes, the APN was properly set up. Since then I tried to do a full wipe of my device and then flashed LG-H815_Official_v29A_keepsTWRP-LAF.zip but sadly I still have no mobile network (SIM is detected though)...

I really don't know what to do now.

EDIT: After this I went to TWRP again, did a full wipe again, then flashed the 29A/20P bootloader and modem zip, then the ROM + Magisk + open Gapps and it finally works !!

All of this was really weird...
[G4 Android Development] rundumdieuhr:
Hi steadfasterX, may I inquire on what graphic lib the 16.0 ROM is currently basing: OpenGL or SkiaGL? Is there a toggle in developer options to play around with the other one?

Background for my question is that I encounter some reproducible glitches in the (vertical) middle of the screen when scrolling through apps, such as the Google app news feed and Onefootball article view (so not limited to opengapps which I first figured). These are not a disturbance, the ROM works fine. I just did not know such display glitches from 15.1 and thought I might assist with a log, trying different graphics options and posting it in github then anyway.

Thx
[G4 Android Development] steadfasterX:
We are still on OpenGL until further notice.

interesting that you see glitches on openGL.. you can also try to enable GPU rendering for 2D drawing in the developer options to see if that helps.

You can easily test skiaGL by following this : https://xdaforums.com/showpost.php?p=79514888&postcount=19

let me know your results..

.-
[G4 Android Development] steadfasterX:
ok first of all pls do not share the "download" link to a paste. just the paste url.

ok the ulimit part "fixed" the symptom but as thought it was just that, a symptom.

sorry cannot look into that further atm. Feel free to open a bug report https://github.com/Suicide-Squirrel/issues_pie/issues with a log attached(!) to the issue and with time notes when you started the call and when the issue occurs (best is up to the seconds). Then I can take a look at that when I find the time.

.-
[G4 Android Development] pharham:
Go to recovery and wipe Dalvik + Cache. That, somehow, fixed my battery drain problem.
[G4 Android Development] jjcdennis:
I moved back to 9/17 build, as I have no cell due to sim issues. I'm not sure that this has been fixed. The 9/17 build has good battery life and the sim/cell loads up quickly. Thanks for the suggestion.

---------- Post added at 02:42 PM ---------- Previous post was at 01:45 PM ----------

I installed new 11/19 rom and had no issues on reboot with the sim card. Cell booted up almost immediately. I did notice that my wifi was off and I had to set it up with the key. No big deal. Will keep an eye on battery life over the next day or so.

Thanks again steadfasterX
[G4 Android Development] vq8acsxht:
Quote/ Go to recovery and wipe Dalvik + Cache. That, somehow, fixed my battery drain problem. /Quote

On the H811 that seems to work. Battery drain was 12% in about 12 hours. 1% per hour. CPU was running at 12-20% all the time. On a clean install I wiped the Dalvik + Cache which did not help. THE KEY IS TO LET THE PHONE FULLY BOOT AND THEN WIPE THE DALVIK + CACHE AGAIN.

Now, the CPU uses less the 0.5% and battery is about 3% in about 12 hours.
[G4 Android Development] jjcdennis:
Are you measuring consumption via the Battery tool included with the rom, or with a play store app?
[G4 Android Development] vq8acsxht:
Play store app Gsam battery monitor.
[G4 Android Development] Ximo F. Verde:
Battery drain here looks good, same as previous builds. Remember to wait for a couple of cycles after deleting cache.
[G4 Android Development] vq8acsxht:
Edit: wow the battery consumption is amazing now. Overnight it used just 2% while GPS was on. Good job!

Before the battery used about 12% with gps off and 24% with gps on.
[G4 Android Development] jjcdennis:
I kinda remember reading somewhere that this phone is compatible with Qi fast chargers, but can't verify this via search. Can anyone confirm whether it is compatible?
[G4 Android Development] jjcdennis:
Anyone?
[G4 Android Development] rundumdieuhr:
Are you emphasizing "Qi" or "fast"? Don't know about the latter, however, the G4 is Qi compatible indeed. Note that AFAIK the receiver would be sitting in the backcover, and European variants are shipped without it. Can be added with a cheap back cover with all the necessary antennas.
[G4 Android Development] horvalos:
Its compatible for wireless charging with the proper case,but not fast wireless.. I've tried to charge it with a xiaomi wireless fast charger but it charged with normal speed not fast..
[G4 Android Development] jjcdennis:
I am seeing about 1% per hour with the phone turned off. I have a 600 mah battery. Battery Manager tells me I have more than 2 days left. This is much reduced from previous roms where I saw 2-4% drop overnight.

I have wiped Dalvic several times and have yet to see an improvement.

Did you do a full clean install and then clear cache, or a regular clean install? Do you have apps turned off, ie gps?
[G4 Android Development] vq8acsxht:
On the h811 handset, I had the May rom. I was dirty flashing up until September, then that dirty flash started to use up battery. Then, every dirty flash since did the same thing. Last month, I did clean install and that clean install did not help. Then, I dirty flashed up to this ROM and processor was at 20% all the time (30% battery in 24 hours). Then, when someone said to wipe the CACHE and Dalvic the processors went into sleep mode. Anyway, now with GPS off, in 24 hours the handset uses about 8%. Try clean install let phone boot. Install apps, then go back in twrp and wipe cache and dalvic. See if that helps.

Edit: If this works for you, report back because dev is reading and may be able figure out why this could be happening for some and possible not others so that a possible fix can be applied (if possible).
[G4 Android Development] jjcdennis:
Thanks for the help. Was headed toward a full clean install anyways, so this will be a good test.
[G4 Android Development] Over567:
Not really an issue but a question. Can I somehow copy contracts to my sim card from storage in this rom? Using the LOS phone app so not the google one if somebody know I would appreciate the help.
[G4 Android Development] breversa:
Hi [MENTION=9675637]Over567[/MENTION],

Reading/saving contacts to a SIM card is primarily hardware-dependent, and from my observation, this capability has been dropped for years by manufacturers.

Basically, it used to be possible with the first smartphones, when people migrated from dumphones/featurephones to smartphones.

But now that people switch from smartphone to smartphone, with the expectation that their contacts are either synced somewhere on the cloud, or locally exported/imported to/from.csv, the need to use a SIM card to transfer contacts has pretty much disappeared.

Another factor is that SIM cards store *phone numbers*, optionnally with a label, while smartphones use *contacts* (= name + multiple phone numbers, e-mail adresses, physical address, birthday, etc.).

So if you need to migrate your SIM-only contacts to another smartphone, try this :

get the oldest smartphone you can

import the phone numbers from the SIM card (using Dumphone Assisant, for instance : https://f-droid.org/packages/com.github.yeriomin.dumbphoneassistant/)

export/sync them somewhere

import/sync them on your new smartphone

But if you’re trying to write your contacts’ phone numbers to your SIM card using your G4, I’m afraid it’s sadly not possible (and never was).

Additionnal info here : https://github.com/yeriomin/DumbphoneAssistant/issues/15