yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Lurensu:
Yeah there's something wrong with USB/AC charging detection it's completely random

For sure this is my last LG, f*ck them and their crap
[G4 Android Development] #ApolloLiteProblems:
I got this in October. Gotta wait a couple of years to get a new one (very money-concious parents) and will not be an LG. Maybe a Huawei Mate 10 or OnePlus 5t (I usually buy older high-end phones for cheap)
[G4 Android Development] kessaras:
they were not talking about that , but yeah thats random here and for stock based.

those behaviors are coming from healthd. These hals sucked at stock too.

But don't be strict. g4 is one of the best phones even now if we "forgive" the poor battery that can't handle this strong display.

Aaaaand ... there is no phone without issues. They can't make something perfect when they always have to think about it's cost. And even Apple who doesn't care about cost isn't perfect. See iphone 8 screens that have a green vertical line...

Don't expect to buy something perfect, take it easy and enjoy what you can enjoy.

those are LG stuff. Here its all about Google. Everything is Open Source.

There is no radio and instead of miracast we have Chromecast
[G4 Android Development] flabbb:
These stuff aren't Open Source? Radio Fm open source or the stock can be added? Miracast or something for screen mirroring?

Thank you and sorry
[G4 Android Development] kessaras:
there is no radio app open source since ages since cm10, which was used in cm11 and maybe 12 from only a few roms.

LG apps are not "open source". they are "LG". They need LG framework to work.

And i said ---> Chromecast !!!
[G4 Android Development] Lurensu:
Weren't they?

I mean, the problem is that when a power bank is detected as USB charging it only can go up to 500 mA (I think USB charging actually means USB 2) and that's right, but it should be recognized as AC charging to enable quick charge (same as USB 3 ports).

I think the issue here is that a lot of times USB charging is detected instead of AC and so it takes forever to charge:

The current with both USB and AC is fine, we should not change it, the issue is only detection, right?

Correct me if I said something wrong.

What's actually killing me about this phone is the bootloop issue... I know it's coming, but I don't know when and that's pretty annoying lol

If my phone dies in the next few months I think I'll grab a Pixel 1st gen
[G4 Android Development] #ApolloLiteProblems:
People are saying boot loop can be fixed by heating the phone up lol - I think mine has been hot enough just from the battery going up to the high 50 degrees C anyway!

Also - woohoo! This is officially my hundredth post. I'm now a senior member lol
[G4 Android Development] Minto107:
Agreed 100%

G4 has issues but it's for sure one of the best phones. Camera is still top notch, performance for a 3 years old phone is pretty good(not so far behind) and the screen is still one of the very best LCDs out there. It's only battery and faulty mobo are problematic other than that this phone is pretty good even today ;)
[G4 Android Development] DosenHatti:
Anyone else got probs install 0128? on my device I get error 7, saying software is not for my device because the device is not recognised. Swiped system, cache, art-dalvik. Coming from 0123, which I can still install

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] bedencic:
i noticed just now that google play doesn't backup installed apps in history since 1st Oreo AOSCP.

is there any workaround?
[G4 Android Development] kessaras:
take it easy and its not gonna die.

mothrboard issue needs a very very high and very very low temp to "destroy" the material that holds the microchips on board , the pb.

To fix it , it needs to heat it up so that pb melts and gets back in place.

(sorry for bad description , i only know how to explain it well in Greek)

So if it didnt happen until now, it will most unlikely not happen.

ye, about power banks i got no idea. Me i just bought a new cheap original battery that only costs around 5 euro and im good with 5 hours sot again and getting through the day easy.
[G4 Android Development] Lurensu:
I've understood and well, this is cool (I don't even play games on the phone)!

I've just read on the web that everyone had this issue (even a friend of mine with a Nexus 5X) and I've always been scared.

I'll try a new battery as well since mine is dead (1h and 1/2 of SOT)

Thanks
[G4 Android Development] aha360:
Miracast works, and FM Radio should work. I'll test out the latter for you as I already have used Miracast on the LG G4 without issues.
[G4 Android Development] #ApolloLiteProblems:
I bought an "original battery" from eBay and it had even worse life than the one I'm currently using. Where do people get good replacement batteries?!
[G4 Android Development] aha360:
After some investigative digging, I found that on the 20180123 and 20180128 AOSCP Oreo firmware:

- USB charging via the AC adapter isn't detected as such - heck, it doesn't even say that it is charging at all, so you don't even know whether it is charging or not, but after checking up on the battery percentage, it seems to be charging.

- USB connections made to the PC work as normal, regardless of former not working as Intended, and to my recollection, the USB charging issues didn't even exist in the earlier versions of the firmware.

I have a logcat file, and some photos of this, and they can be found here: https://drive.google.com/folderview?id=1y9ILgrc65XdLV2ifc9oJyQPEch7zGhwD

I will like to apologise to [MENTION=5461026]kessaras[/MENTION] and [MENTION=5545101]steadfasterX[/MENTION] in advance, but I can now somewhat understand the frustrations from both sides in this situation.
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
My G4 is replacement and was manufactured end of July 2017. We've noticed that I have different camera which doesn't work with AOSCP (and LOS). Could you please check your manufacturing date and let es know if camera works?

http://www.imeipro.info/check_lg.html
[G4 Android Development] Lurensu:
Thanks man!!

On my device I've noticed this:

-If I reboot the phone while a USB cable is plugged, than the device will recognize charging normally, even showing the animation in the status bar, BUT it usually is not detected by PC (let's say 95% of the time, on both Windows and Linux) and it doesn't detect AC charging (so the two issues are clearly related).

Apparently the device doesn't check if it's connected to a PC or a wall charger or other stuff, it automatically detect the USB connection as "USB charging" and that's it.

-If I reboot without any cable inserted, than most of the time the device is normally detected by PC, BUT it doesn't detect charging at all (but it charges, because the led turns on) as you've said (and I've always had this issue on this ROM).

Could you confirm this?

Oh and furthermore, this is happening in TWRP as well.
[G4 Android Development] Minto107:
To have charging text, just reboot with plugged charger other than that you won't have charging text at the bottom
[G4 Android Development] kessaras:
lol this. its been a LG issue since always.

even if you search everyday you wont find anything, no error.

I said its all healthd related and thats how it works. And besides its been a problem with the stock too, its not like i can use the LG hal to fix it. It won't fix anything.

No error , no bug. Can't fix anything related to that.

And [MENTION=8541360]Lurensu[/MENTION] they are not related.

Even if i could change the power hal , your pc will still not recognise the phone.

What has power hal of the phone to do with the drivers of the pc and usb port of the pc not recognising the phone ?

I don't have access to such a low level to change that. I only have access to boot and afterwards.

EDIT:

Only the name i could change with a hack and when you plug in , the pc shows you a message that you plugged in a v30 for example.

But the driver at pc will still be the same. The pc will know that you connected a LG g4 with the name LG v30. Thats all.

Me i don't have access to change the way the pc recognise the phone, no access to usb port controller.
[G4 Android Development] adamz667:
Here you go: https://jftr.de/2014/01/fairphone-and-android-backups-to-the-google-cloud/
[G4 Android Development] SeewolfPK:
I give aoscp_h815-5.1-20180123-unofficial.zip yesterday the first try and I am very happy how good it works.

Today I install 0128 and with this update my gps did not work.

Now I am back to aoscp_h815-5.1-20180123-unofficial.zip.
[G4 Android Development] aha360:
Thanks for the reply, and as [MENTION=5387684]Minto107[/MENTION] said, if you want the phone to detect it as "charging", reboot it, and it will come up as such

PC detection works fine, regardless of whether the phone allows itself to be detected as charging or not, and whether I am in TWRP or on AOSCP. It is a weird quirk that I just noticed recently, and overnight, whereby I usually leave my phones on charge so they would be fully charged for the day. When I woke up though, it was floating at the 30% mark and it didn't detect as charging even though it was. I am all out of options here on my side to be frank, and as [MENTION=5461026]kessaras[/MENTION] said, he is all out of options in terms of making tweaks that are safe to use for the average custom firmware user.
[G4 Android Development] kessaras:
or....... maybe... i'm not sure...

our stock chrger is a SMB135X type

if you can define the charger type somehow then i can add its driver at source
[G4 Android Development] adamz667:
I second that. GPS Status is giving "This device has no GPS" error.
[G4 Android Development] tambukey:
I completely agree with kessaras. The charging on this device is weird to say the least. I have used over 5 different ac wall adapters, about 7 different chords, and two different PC's with USB 2 and 3 and this is what I found:

Wall adapters, only one of mine with get me over 1A rate. 4 of them are 1.8A and one is a 2.1A the 2.1 is the only one getting over 1A. It's a Nvidia shield tablet charger.

For the chords, again only the Nvidia chords get me over 1A, I'm going on higher quality as the reason. Alot of my chords are crappy ones or have been abused. Now for any wall charger chord combo the charge varies all the time. Even on the Nvidia combo it will sometimes not get above 400mA regardless of my battery temp. Generally if it doesn't I replug and it's good to go.

Now for pc USB, this is where it's weird. Both PC's always recognize device. My laptop only has USB 3.0 and charges average between 300mA -700mA. I have seen it at 900mA for a short time a couple of times. That to me is okay. For my desktop I have 4 USB 3.0 slots and 6 USB 2.0. this I cannot figure out, on USB 3.0 my charge never breaks over 300mA. That's even using my software for "super charger". But for all my USB 2.0 I can Max at about 700mA-800mA.

So after all this testing in using my Nvidia wall adapter with 2.1A output and everything is great. I charge from 10 to 100 in about 50mins right now and it doesn't get hot. I truly think quality of charger and chord are making a big difference. My laptop is much newer than my desktop and the build quality of the USB is better on it. I don't think we can blame a single thing on the ROM.
[G4 Android Development] bedencic:
tried with terminal emulator, still no success, in google drive last backup stil 29.dec.

and with latest aoscp 28.jan, no success with ril control app.

both problems using magisk. will try with supersu if there is any difference.

EDIT:

SuperSU alot faster than magisk, ril control app works without any problems.

with superSU, no more 5s delay with kenzo flashlight fix.

no backup of apps in google drive, last sync still 29.dec.
[G4 Android Development] kessaras:
Deleted.

Will work on it

Thanks for mentioning. But next time gimme logs please.

[MENTION=8541360]Lurensu[/MENTION] , test this kernel. Unzip and:

adb reboot bootloader

fastboot flash boot boot.img

fastboot reboot.

If its your lucky day ...... i enabled all kinds of chargers that already exist in the LG sources. give it a test.

Don't just stand on what an app may monitor. let it charge once and see how long it takes
[G4 Android Development] adamz667:
Read about bmgr - there is an option to force backup.
[G4 Android Development] michael_0394:
I'm having some trouble flashing the latest update and this has never happened before in all the times I've done it, what am I doing wrong?
[G4 Android Development] aha360:
[MENTION=8773512]tambukey[/MENTION] & [MENTION=5461026]kessaras[/MENTION]

I'm currently using the default LG G4 charger, which is the MCS-04UR charger, and that is an 1.8A output charger. Unfortunately, I cannot find much information other than it doesn't support additional charging technologies, and based on the reports you lot have provided, the absurdity of this situation isn't an isolated issue.
[G4 Android Development] SeewolfPK:
0128 did not work with gps.

Here is my log.
[G4 Android Development] nigxxx:
i use samsung fast charger it gives me 2100mA on screen off. when using device about 1mA
[G4 Android Development] Lurensu:
Ahah ok so my device is just f*cked up
[G4 Android Development] DosenHatti:
Same error on my device. As I mentioned this afternoon.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] michael_0394:
Are we the only ones with this issue?
[G4 Android Development] SeewolfPK:
I have a problem with recovery twrp.

My backup make with twrp cannot restored. No error is shown.
[G4 Android Development] cartman_73:
For me, after the last update GPS doesn't fix any satellite , I try with sec_ config copy but nothing happens.

I' testing in airplay mode
[G4 Android Development] michael_0394:
How do I take a log? I've never done it before so excuse the noob question lol
[G4 Android Development] bedencic:
i see now where the problem is, but don't know how to fix it.

when i go to settings-->system-->backup--> there is no backup account.

even though under user&accounts there is my google account.

how do i add my G account to backup?
[G4 Android Development] SeewolfPK:
Sometimes I have also the problem that my sim card not detected.

I try LG-H815_29a_Modem_and_Bootloader.zip - download: https://androidfilehost.com/?w=files&flid=194933

After flashing this with twrp i have no problems with my sim card.

1st flashed rom

then Modem and Bootloader

then gapps

then magisk

it worked for me
[G4 Android Development] adamz667:
Here is the logcat for GPS error. I've launched Endomondo and GPS Status apps using "Device only" setting from Location.
[G4 Android Development] DosenHatti:
Would like to attach. When I try to attach the files recovery.log and dmesg.log, I get error: this forum does not support thid file type. Renamed to .txt same error. Put them in zip. Same error. :(

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] SeewolfPK:
Your zip-file greater 20 MB?
[G4 Android Development] kessaras:
can you link to the charger ?

it'd be useful for those that dont have a charger now.

Official LG G4 ok gives 1800 but if the one from Samsung gives more then i'd love to test it too.

It happened to me at another phone of mine too. The LG g4 charger used to charge faster my htc one m8 than the htc official charger. it was nice :D
[G4 Android Development] nigxxx:
stock galaxy s5/s6/a3/a5 charger. adaptive fast charger
[G4 Android Development] DosenHatti:
I:operation_start: 'Flashing'

Installiere Zip '/sdcard/Download/aoscp_h815-5.1-20180128-unofficial.zip'

Suche nach MD5-Datei...

MD5 matched for '/sdcard/Download/aoscp_h815-5.1-20180128-unofficial.zip'.

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

selinux_android_file_context: Error getting file context handle (No such file or directory)

script aborted: E3004: This package is for device: g4,p1,h815; this device is .

Warning: No file_contextsE3004: This package is for device: g4,p1,h815; this device is .error: 3004

Prozess Updater endete mit FEHLER: 7

I:Legacy property environment disabled.

I:Install took 0 second(s).

Fehler beim Installieren von ZIP '/sdcard/Download/aoscp_h815-5.1-20180128-unofficial.zip'

Partitions-Informationen werden aktualisiert...

I:Data backup size is 3332MB, free: 12469MB.

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

...Fertig

I:Set page: 'flash_done'

Hope this helps

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Lurensu:
Thanks so much!!

I'm testing it right now: for now it's working great, but it already happened that it worked for few hours and then "broke" again, so I'll wait until tomorrow and let you know.

Thank you again, I really appreciate
[G4 Android Development] SeewolfPK:
TWRP solution found

TWRP 3.2.0 makes the problem.

I install TWRP 3.2.1 preview -93 an it works
[G4 Android Development] DosenHatti:
No, it's about 53 kb

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kessaras:
its good. fixed it. in 15 minutes i share the same build again- todays build- , same date.

RE-Download to flash it with GPS working.
[G4 Android Development] #ApolloLiteProblems:
Are you on the H815 or H811 version of the G4?
[G4 Android Development] michael_0394:
H811 that's why it's strange that I'm getting that error cause I've been using the same zips since O was released for the G4.
[G4 Android Development] kessaras:
Head over TWRP thread and ask [MENTION=5545101]steadfasterX[/MENTION]. He will propably ask you which TWRP you use and you will also use terminal to getprop a command he will tell you so that he can see what the twrp see is your device.

h815:/ # getprop ro.product.device
h815
[G4 Android Development] #ApolloLiteProblems:
I'm on H815 and it's always worked for me. I dunno man. TWRP version?
[G4 Android Development] #ApolloLiteProblems:
[MENTION=5461026]kessaras[/MENTION] [MENTION=5545101]steadfasterX[/MENTION] On the unofficial TWRP page it says that there are builds for Nougat but not for Oreo for the 3.2.1 preview. I'm confused as not used to seeing TWRP for specific android versions. Just looking for confirmation as this puzzled me. Screenshots attached.
[G4 Android Development] kessaras:
He is busy doing snowboard these days , he can't build.

?

Soon. Use latest N it's good. It's just can't decrypt yet if you encrypt your phone.
[G4 Android Development] nigxxx:
just install latest preview (N), it work perfectly
[G4 Android Development] #ApolloLiteProblems:
Oh got it. I don't encrypt. Thanks!
[G4 Android Development] DosenHatti:
I'm on 815 and have the same issue using latest official twrp that's available for g4 3.1.1.1-1. Up to 0123 everything works.

$getprop ro.product.device

h815

$

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] SeewolfPK:
Yes, GPS works. :good::good::good:

I did not like the Google Search on the Downside of the Screen and Day and Date because I use a Calender Widget, which now is very little.

How can I delete both?
[G4 Android Development] #ApolloLiteProblems:
For those concerned about slow charging even on AC - here are my results using AccuBattery (below)

I'm using this charger: Elzo Quick Charge 3.0 18W USB Wall Charger Adapter Fast Rapid Portable Charger With A 3.3ft Quick Charge Micro USB Cable For Samsung Galaxy/Note, LG Flex2/V10/G4, Nexus 6, Motorola Droid/X, Sony Xperia, HTC, ASUS, Black https://www.amazon.co.uk/dp/B01GCHU8HE/ref=cm_sw_r_cp_apa_7IIBAbKCRHK3W

With a generic 6ft micro USB cable that came with my previous phone (which had a Mediatek chip) so as long as you have a decent enough cable you should be fine

Though tbh my battery health is crap so yeah....
[G4 Android Development] steadfasterX:
The official TWRP thread has a FAQ and in this FAQ it is described step by step how one GET and SHARE a recovery log

Sigh..
[G4 Android Development] kessaras:
And who told you the official is the latest ?

Who updates it ?

The unofficial is latest and the official will follow when the dev pushes to update the official.

I think this Frankenstein connection is not useful at all.

The official LG g4 charger with the official cable set gives 1800 max but it really gives that. At the right now tab (since you want to use a 3rd party app for that, I will do the same) I see here with the official stuff 1460 mAh at least and it's going down to 900 when it's closing to 100
[G4 Android Development] obvious:
Gps is working well here on latest build :)
[G4 Android Development] flabbb:
Thank you. So flashing this rom we have a full optional and updated smartphone with oreo inside.

Miracast works and for Radio Fm do you use a third party app to work?
[G4 Android Development] DosenHatti:
I didn't say 'the latest' but 'latest official'. Will try unofficial.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] #ApolloLiteProblems:
The results do make sense though - 2025mA with screen off and with screen off I get full from 2% in an hour. Considering the app says taking into account the low health of my battery that my actual capacity is 2057mAh the results so seem to make sense. It is 'really giving' 2000mA.
[G4 Android Development] #ApolloLiteProblems:
Unless my battery health is even lower (which would explain my consistent 2 hours of screen on time)
[G4 Android Development] kessaras:
You can't use a single deprecated thing here. Nothing. I'm updating this like no one else ?
[G4 Android Development] deltadiesel:
This guy "kessaras" has an attitude problem:rolleyes:
[G4 Android Development] kessaras:
Why ? Because I solve issues in the blink of an eye and I can't talk for hours about the same things ? It's a debug thread not chat . Go talk about attitude in Facebook
[G4 Android Development] DosenHatti:
3.2 worked thx.

Gesendet von meinem LG-H815 mit Tapatalk

---------- Post added at 11:13 PM ---------- Previous post was at 11:11 PM ----------

You never reacted on the update issue. Nevertheless the for your good rom

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] deltadiesel:
Sorry I meant you are arrogant ;)
[G4 Android Development] kessaras:
What update issue ? I said only the official is allowed to update and survive the flashing

Edit:

Guys do you still have a problem with the d2w and with sim on boot ?

Cause it looks like it happens very rare now after fixing latest errors
[G4 Android Development] aha360:
After trying to test out FM Radio, I cannot use it at all - I have tried it with the AOSPExtended FM Radio app and Next Radio, but it won't work sadly.
[G4 Android Development] obvious:
No change on sim. 3:2 ratio ish.

Never had d2w issue

---------- Post added 29-01-2018 at 12:06 AM ---------- Previous post was 28-01-2018 at 11:55 PM ----------

Carried on rebooting. Got to 3:8 (good:nosim) before giving up due to phone getting too hot.

---------- Post added at 12:07 AM ---------- Previous post was at 12:06 AM ----------

I wonder if heat is a factor
[G4 Android Development] raptorddd:
try 2 things.

1 in twrp is system mounted? go to twrp and mount make sure all are mount. then try again.

we dont have latest bootloader as in v29.

i had issues too. when i want to try cant boot into system it just keeps on aoscp logo. also restoring back dont work. i have to KDZ back to MM then it works.
[G4 Android Development] michael_0394:
I updated to the latest unofficial TWRP and then flashed and it worked lol
[G4 Android Development] A_Kirsh:
The latest build works good for me. Charging is better and GPS works fine.
[G4 Android Development] flabbb:
Is there a way to put LG FM Radio?
[G4 Android Development] obvious:
As far as I know it's proprietary (closed source).
[G4 Android Development] McRoy:
Wow, that is a very bad notice because It seems to takes a long time until LG releases O of G5 (If this happens before we die :eek:). I really hope we could find a solution for BT calls....is the only thing to fix to have the perfect rom!