yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] sdembiske:
[MENTION=5308112]raptorddd[/MENTION]

The answer is NO!

The H818P dual sim version is one of the only devices that cannot be unofficially bootloader unlocked by the UsU method without issues. It can be unlocked but unfortunately the device loses the touch function, rendering it basically useless after the unlock process.

If you learn to use the search bar in relevant XDA threads (e.g., the UsU thread linked above), you will find your question in one form or another, ad nauseam.
[G4 Android Development] belrik:
No SIM inserted, same as before. Likely the RIL daemon crashing and restarting still I guess.

It seems strange that the presence of a SIM cannot be directly detected like microsd cards. Guess that's down to RIL being a third-party blob?
[G4 Android Development] steadfasterX:
this will only disappear when I had the time to fix this: https://github.com/Suicide-Squirrel/issues_pie/issues/20

.-
[G4 Android Development] steadfasterX:
If someone with a h815 or UsU'd h815 and wanting to test a possible Bluetooth voice fix...

http://leech.binbash.it:8008/lineage/pie/h815-UsU/

Download and flash the experimental build and let me know .. I can't test atm .. Will do.tomorrow but if someone will find the time before ..

As usual backup before !

Cheers

UPDATE1:

Oops sorry I didn't clean build which I currently do .. so it will likely not work at the moment. I will let you know when a new build is ready for testing

UPDATE2:

stay tuned dudes.. we HAVE A FIX for the infamous BT voice distortion!!!! I will do some more tests and optimizing it but IT WORKS :)

Once I have finished all stuff I will back-port that to 15.1 as well ofc. so KEEP EXCITED :)
[G4 Android Development] eric0021:
any news on call an vs986
[G4 Android Development] steadfasterX:
Works. Just not for Verizon .
[G4 Android Development] Over567:
Anybody knows a solution for the LOS launcher's app drawer animation lag? I know it's not a rom bug because saw it elsewhere too but everybody who fixed it disabled something in accessibility and I don't have anything to disable there. So just curious about it that maybe anybody did find anything. I know I can change launcher but just wanted to enjoy this pure LOS experience.
[G4 Android Development] steadfasterX:
New builds are cooking...

In progress (in that order):

H810

Done:

H815

H811

H815 UsU

VS986

H812

Noteworthy Changes:

WiFi hotspot kernel panic fixed

BT voice fixed

Keep in mind that even when I have done some tests it might have unknown side effects or behave not in every situation as expected as I cannot test everything ...

so always keep a recent backup of your important data !

just to be crystal clear all the credits going to z3DD3r and Sashko98 . I have just spent over one year and was not able to solve it but these guys are heroes !

several internal adjustments regarding Wi-fi and Bluetooth firmware paths and patch files

WARNING:

A "REGULAR CLEAN FLASH" is required !

See the FAQ of this thread for what that means !

If you wanna show your gratitude for the BT voice fix give those guys at least all your 8 thanks clicks (open the post I linked and click on every post you can find there from those guys):

z3DD3r (does not accept donations):

https://xdaforums.com/google-nexus-5/devs-only/bt-calling-robotic-audio-t3798105/post79747463

Sashko98 (accepts donations as well):

https://xdaforums.com/google-nexus-5/devs-only/bt-calling-robotic-audio-t3798105/post79749418
[G4 Android Development] LukeSlovian:
Hello everyone on the forum about LineageOS 16 - Android 9.0 Pie. I have the pleasure of having this rom installed in my LG G4 H815 smartphone. I am asking you what settings you need to enable to start the video recording function with the sound turned off in the LG G4 H815 smartphone?

Are there any fixes for LineageOS 16 Android Pie 9 - for LG G4 H815?
[G4 Android Development] Faisal™:
Hey i have LG H818P (Dual sim) currenty running on Nougat 7.0 but recognize as H815

Can i install lineage on my phone ? and how ? sorry for my stupid the question .. :(
[G4 Android Development] eric0021:
apn

how do i change them
[G4 Android Development] hteles:
Great work and many thanks to everyone involved. Without the work of some the all would not be possible. I bought a new dual sim phone but my work Sim will go back to my H815 USU'ed phone now that Bluetooth calls are possible. Just one question about PIE wip version - what is the state of encryption now that Bluetooth calls are solved, will it take too long?

Regards and many thanks.
[G4 Android Development] steadfasterX:
Iirc there was one user who tested encryption which worked but can't say for sure ..

so if you can't wait backup all data and test it. I may find time to test that next week but I will not give any time guarantees here.

I can't say anything about decrypt in TWRP then though due to the same reason.
[G4 Android Development] polfrank:
Hey, thanks for your hard work. You surely deserve a beer or two, just for trying for a solution all this time!!

I dirty flashed the latest build over the previous one, but I hear nothing through my bluetooth headset during the calls. Should I clean flash? Is there any setting that I should change in my case?

Coming back with a log as soon as possible.
[G4 Android Development] hteles:
Hey, dear sfx.

Sure, I will test tomorrow afternoon, will have free time then.

Great weekend and thanks
[G4 Android Development] eric0021:
anyone know how to change the apn settings it wont let me change them
[G4 Android Development] steadfasterX:
All done.

A "REGULAR CLEAN FLASH" is required !

See the FAQ of this thread for what that means !

If you wanna show your gratitude for the BT voice fix give those guys at least all your 8 thanks clicks (open the post I linked and click on every post you can find there from those guys):

z3DD3r (does not accept donations):

https://xdaforums.com/google-nexus-5/devs-only/bt-calling-robotic-audio-t3798105/post79747463

Sashko98 (accepts donations as well):

https://xdaforums.com/google-nexus-5/devs-only/bt-calling-robotic-audio-t3798105/post79749418

Great just ensure you have a good backup incl you internal storage data (photos...)
[G4 Android Development] omer1992:
Hello Brothers,

My TWRP Recovery giving "unable mount system" error so i can't update my LOS 16 can you give me advice how to fix it?
[G4 Android Development] sperelli:
for me dirty flashed worked!

everything is ok
[G4 Android Development] sperelli:
update it..
[G4 Android Development] polfrank:
Personally, I clean flashed the 20 June build but I still cannot get it to work.

When normal-calling I get no sound at all on my headset. BT is selected automatically as a way to communicate.

When calling through Viber-Whatsapp I do not even get an option to use BT as a way to communicate.

Music playback is working just fine through the headset.

I will redownload and clean flash again.

Edit: I tried again but I get the same thing, tried also with 3 different headsets. I created a log, I don't know if it's going to help. My device is an h815, officially unlocked. What I did duríng the log:

1. open BT

2. connect device automatically

3. open dialer, ring

4. change a few times between BT/speaker, just to be sure that it was ringing

5. end the call

6. terminate the logcat

The log is here. It was done without gapps installed. Only pure LOS16, build 20 June.

https://drive.google.com/file/d/1JYw1XVSh5Do9a1tRvcAsORIEAK6GNCKO/view?usp=sharing
[G4 Android Development] sperelli:
sorry to hear that, yet as [MENTION=5545101]steadfasterX[/MENTION] stated, many unexpected issues can present and they need to be investigated, as the solution is kinda beta state.

as for me, dirt flash brought no issue with. would give a try to dirt flash over backup?

:D
[G4 Android Development] polfrank:
Hmm, I tried these things:

1. Dirty flash LOS16, not working BT-calling (not getting the sound of ringing at all through the headset, just silence. Turn to speaker, and I can hear it ringing.)

2. Clean flash LOS16. not working, same thing.

3. Flash O twrp and clean flash LOS15.1. BT-calling working just fine.

4. Flash P twrp and clean flash LOS16 again. BT-calling not working.

It's impressive that you got it working and I cannot, I'm just so curious about what is going on! Maybe I am doing womething wrong. ^^ We'll see...

ps. The build that I 'm using is: lineage-16.0-20190620-UNOFFICIAL-h815.zip

and by saying clean flash I mean: Clear data, cache, dalvik, system. Then do a data wipe, including internal storage.
[G4 Android Development] sperelli:
now and then, notification sounds set themselves to low levels. In my case this happens when switching among vibration_only / sounds_off / sounds_on modes
[G4 Android Development] polfrank:
By "soud of ringing" I mean the "beeeep... beeeep... beeeep..." sound that you get when you are making a call.
[G4 Android Development] sperelli:
oh very weird!
[G4 Android Development] steadfasterX:
Really weird . I have the exact same device model. Used the exact same LOS version and here it works.

please do the following steps:

1) Ensure you have adb set up on your PC, and have adb debugging and adb root enabled in developer options on your phone

2) Then perform the following (all one command)

On Linux:

On windows:

3) Then do a call and cancel the logcat from step 2 before hanging up!

4) Share the logcat output from the console screen using paste.omnirom.org
[G4 Android Development] jotaincubus:
First I wanna say thank you [MENTION=5545101]steadfasterX[/MENTION] about your perfect job... And really thanks to your friends fixing Bluetooth Bugs

Now... Someone here got problems with Google Play Store? First time work really fine, but now I can't install apps or update my apps.

I does full wipe and install nano opengapps

Everything else work awesome, sometimes smartphone get over heating when display is turn on long time, then battery drain more fast.

But I love it.
[G4 Android Development] polfrank:
Here you are: https://paste.omnirom.org/view/ebd77f26

My current setup is a dirty flash of June 20 over the June 10 build. Didn't have much time to clean flash again, but if you need it this way, I can do it as soon as possible. Either way, the behavior is the same in both cases.

ps: "adb root" is giving back a message that "adbd cannot run as root in production builds". I suppose this is because I'm not using the LOS su addon, so I did:

adb shell

su

stop audioserver; logcat -c -b all; start audioserver && sleep 10 && logcat -b all |egrep -vi '(dialer|telecom|ril|gsm|touch|brightn|dct|QC-time-services|SST|sensors|AlarmMan|Lights|perfp)'
[G4 Android Development] steadfasterX:
As described you ***HAVE TO*** to do the "regular clean flash".

How is described in post 2 - faq #2 and it will *not* delete your data .

It is required as several paths changed and you will have duplicate / wrong libs atm .

If you haven't done it that way it makes no sense to read through your logs so do that first.

If you still have the issue (very unlikely) do the log catch again.
[G4 Android Development] polfrank:
You 're right but, ss I posted earler I got the issue after a full clean flash, and I tried several times. Coming back later in the day with a log after a clean flash.
[G4 Android Development] javikore:
285/5000

Hello how are you ?

I am using this rom and everything is incredible.

I also want to report that the hotspot is not working.

The device restarts after activating it.

If you can solve or tell me if with the release of 20/6 this was solved thank you very much !!

Keep in that way!!
[G4 Android Development] polfrank:
Here is the log.

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

I did a clean install with twrp-3.3.1-PREVIEW-191_g4_P.img

After fully wiping, I installed:

LOS16 (lineage-16.0-20190620-UNOFFICIAL-h815.zip) + gapps (open_gapps-arm64-9.0-nano-20190620.zip) + Magisk 19.1

did a quick system configuration and captured the log, using the provided instructions. (Still same behavior, not working. :( I just hear nothing through the headset when making a call. Music playback works fine.)
[G4 Android Development] steadfasterX:
Really weird but it could be related to wbs. Will get you a build with wbs disabled and let you know when ready .
[G4 Android Development] Ximo F. Verde:
Hello and thanks for this amazing ROM, definitely one of the fastest n smoothest ones ever made for the G4. Just wanted to mention that the mobile network manual selection appears to be non functional.

EDIT.: I cant upload a video capture for some reason right now, will do when possible. Let me know if a logcat would help.
[G4 Android Development] sperelli:
two differences between our configurations:

-twrp 184

-no magisk, but su

EDIT: 191 here too!
[G4 Android Development] racav1904:
Man thanks for you're work but in the last build, battery life it is terrible.
[G4 Android Development] jotaincubus:
Not true

I have h815p and battery life Is amazing... Drain battery to 0% and try yo turn on your smartphone... It Will try to start but shutdown again... Do it one More Time and connect it and wait to get 100%, that Will reset Yor battery and everything Will be fine... Maybe first times battery drain fast but with Time Will be stable
[G4 Android Development] Sir Daniel III:
I think I have a slight issue: Every time I open an app and I go to the home screen and I press the recent apps button, no apps show up. But when I press on the app from the home screen, it acts as if it was in the background the entire time.

Note: I didn't wipe data and format data when installing this build could that be the reason?

Edit: Never mind, the issue seems to be gone now
[G4 Android Development] steadfasterX:
After flashing it takes at least 48 hours before battery will come back to normal . That process is since oreo as in the background optimizations are running within that time.
[G4 Android Development] MrVoidex:
Hey! After flashing this room everything was Fine until I saw a problem which is very bad issue for me. The issue is that when I started to make a video call with my girlfriend after 30 mins or 1 hours my camera started to frezee. To figure this out I restart my Phone. Now its good but when I want to make video call. After 30 minutes its getting freeze again. It only show bad screen on camera. Also my gf can hear me when camera getting freeze. So I installed RR rom. Now there is nothing wrong but I really want to install Lineage 16.0

I am using H815 UsU Device
[G4 Android Development] steadfasterX:
follow the FAQ in post 2 of this thread. In FAQ #1 you'll find the guide.

write down the timestamp when the freeze happens so I can find it in the log later. The exact time is not important just the hour + minute should be fine.

.-
[G4 Android Development] MrVoidex:
I don't know how to setup adb things. I Will re install lineage OS 16 again.
[G4 Android Development] steadfasterX:
use FWUL.. its made for users like you ;)

.-
[G4 Android Development] steadfasterX:
ok so as I saw WBS related stuff in your log I promised a build without WBS which is done now: lineage-16.0-20190626-WBSOFF-h815.zip at http://leech.binbash.it:8008/lineage/pie/h815/

The BT voice patch has been improved as well and is included here, too

Try it with that one and in any case share the log output as before (even when it worked)

.-
[G4 Android Development] LukeSlovian:
Hello, I urgently need to restore factory settings in Smartphone LG G4 H815. Currently, I have a LG G4 H815 smartphone installed LineageOS 16 system - Android Oreo 9.

I choose menu> settings> system> advanced> reset options

After selecting this combination - yes the smartphone resets - but only to recover TWRP. It looks like the reset option from this combination does not work for me.

I am asking you with a very sincere request for advice - how to reset the Android system to factory settings with the cleaning of installed applications?
[G4 Android Development] fi5z.x9:
You can do the reset within TWRP. Click on wipe and drag the slide button you see below. It'll reset your phone removing installed apps.

"That combination you're referring to will always take you to TWRP.
[G4 Android Development] Yah513:
Hi,

First of all, thank you very much for all this work.

I have a H815 phone. Previously, I was running the v29 kdz rom on a relocked bootloader.

I unlocked again my bootloader with lgup, add twrp 3.3.0.0 and "Full clean" then flashed the 20/06 release since the Bluetooth issue have been solved. Flash gapps and the los su root utilities.

The issue I encounter is that I cannot connect to the wifi and the Bluetooth application is crashing.

So I tried to reflash another version on Oreo and it's working fine. I tried to flash the modem v20 then los16 and got the same issue.

Finally, reflashed a full v29, full clean data included reboot, flashed los16 and still not possible to connect the wifi.

I noticed that my wifi mac address is 00:00:00.....

and need to stop the Bluetooth application to not get the error message.

After looking on the forum, I found that someone else had issue with the bluetooth Mac address and that there is a file in /data/misc with a incorrect value.

I look on my /data/misc/wifi/config file and the Mac address is 00:00:00...

The /data/misc/bluetooth/bdaddr file contain also a mac at 00:00:00...

I found my wifi mac address somewhere in /etc and manually modified the /data/misc/wifi/config and got my wifi working

I tried to modify my Bluetooth Mac address too keeping the 6 first digits same as my wifi mac address, and it works too.

By the way, the Bluetooth call is working like a charm. Thanks again.

But when I restart my phone, I loose these modifications (I tried to work around with some echo to file over the /etc/init.d/90userinit file and the /data/local/userinit.sh and didn't be able to overwrite these info to get them working after a boot. I suppose that creating a service will do the job but it's still a work around)

I suppose that this issue is related with the opened Bluetooth issue on GitHub.

I hope these information will help.

Also about the logcat, can I provide you a logcat created directly on the phone (via termux?) because I don't have computer access before the is weekend and what is the preferred argument in this case?

Also, if you need anothers log, just tell me how to get them. Will try to.

Thanks again for everything, apologies for my "approximate" english and android skills.
[G4 Android Development] LukeSlovian:
Hello - thank you for your answer :) That's what I did. It worked.

---------- Post added at 08:57 PM ---------- Previous post was at 08:52 PM ----------

Can someone tell me how to remove this message about the fact that I have an unlocked bootloader in my LG G4 H815 smartphone?

Currently including LG G4 H815 - Is LineageOS 16 Android 9 Pie.

I remember that the message with the information that in this smartphone - the bootloader is unlocked - appears in this Smartphone from Android Nugat 7.
[G4 Android Development] steadfasterX:
Yes some users have a mixed up misc partition and then this happens . Your Bluetooth issue is exactly the one in known issues and WiFi is related .
[G4 Android Development] polfrank:
IT WORKS! Well done dude!

Here is the log: https://paste.omnirom.org/view/0ad5368a

Do you have any idea why this is happening particularly on my device?
[G4 Android Development] MrVoidex:
Hey just 30 minutes. And it getting freeze. I installed clean flash. Lineageos 16 + los addon + gapps+ and h815 things (twrp baseband package bla bla) and after that I installed whatsapp from play store and make a video call. After 30 mins it got freeze and when I open the camera app i saw that it freezing on it too
[G4 Android Development] steadfasterX:
Good .. and bad. It happens for everyone who has a bluetooth device with WBS enabled. Or at least it should.. My device I used for testing does not support WBS so it doesn't happen here but your does. It seems there is an issue with implementation of WBS but that needs further investigation..

I told you what to do. Without a log I can't fix anything.
[G4 Android Development] sperelli:
how can wide band speech affect only some devices? how can we tell which version download, if not trying?

thx
[G4 Android Development] steadfasterX:
even when your headset does support WBS it is not said that Android gets it enabled. I have 2 here, the one has no WBS and the other has. When on my WBS headset it tries to enable it in Android but that is failing in my case and thats why it works here even with a WBS headset (as it simply does not turn on WBS in my case).

I will disable WBS on the next build run as it has not such an impact. Maybe I find the reason why but imho a for-everyone-working solution is preferred.

.-
[G4 Android Development] steadfasterX:
could you do me a favor? the latest 15.1 build does have a slightly different config.. could you try the latest 15.1 build with your BT headset? That would help me a lot..

again with the log procedure ofc..

.-
[G4 Android Development] polfrank:
Aha, I will do it later in the day.

I forgot to mention, the log that I gave you for LOS16 was a dirty flash over a clean install of the 20 June build. I can also do a clean flash of the NOWBS build and give you a log if needed.
[G4 Android Development] steadfasterX:
nope thats fine. it was important to do a clean flash once when switching to the first BT-voice-fix build only (regardless of 15.1 or 16.0 btw).

that test of 15.1 will be greatly appreciated dude! thanks a lot.

EDIT: [MENTION=4722961]polfrank[/MENTION] there is no need to test the 15.1 anymore.. I may found it and will create a new 16.0 test-build for you today!

.-
[G4 Android Development] MrVoidex:
Let me say how to grab the log. If I am wrong Please correct me.

First I have to open Fwul on my pc

Second i have to open usb debugging and root access for adb.

Third i don't know that to do but I think i have to open terminal on fwul?

Then the commands (adb root. And adb shell)

After that to grab the log i have to write adb pull /sdcard/Download/logcat.txt right?

I am New on adb things...

And also Should I grab the log after restart the phone ( it fixes camera freezing) or when it freeze

Edit: I found a issue too. If we use different launcher than trebutchet sometimes system ui locked and restart. And sometimes power button doesn't wake up

Edit 2: Now I tested my camera. I recorded video and waited to freeze. After 18 minutes it got freeze. [MENTION=5545101]steadfasterX[/MENTION] time always changing

Edit 3: I did oneshot logcat here it is: https://paste.omnirom.org/view/0ef86752
[G4 Android Development] Albertrebla:
Hello...is possible "Wake Up" with Double Tap? Or any app that emulate it? Which camera work good? Stock camera don't have Manual Mode and is poor :(
[G4 Android Development] Yah513:
Probably done some mistakes by not understanding everything I'm doing.

If I remember well, I zeroed my misc partition when I relocked my bootloader. Obviously, without making backup (yes I know... It was stupid but I learn from my mistakes)

Well, after looking at my actual misc partition, I only found 00 everywhere and at 2048 : BSP Forever

According to this post : https://xdaforums.com/g4/help/mac-address-getting-reset-reboot-t3518144

I modified my misc.img with the mac address found in the etc folder for the wifi and a similar Mac for the bt. Resend it to my phone and now it's "working"

My config and bdaddr contains the Mac address filled in the misc.img

Note: the wifi mac address present in the etc folder looks like a generic one as this mac is present in other zip rom (I don't think that we all have the same mac, however it works)