yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] inteLzzz:
Managed to fix this, by installing TWRP, removing battery, booting into it by button combination. But then it shows 0C CPU temp. Also no files are detected at all, only way to install zips is with sideload. This god damn phone just keep on giving :D btw last build is really good thanks for your work again kessaras
[G4 Android Development] Minto107:
I don't think you can run it right now, I don't think that [MENTION=5461026]kessaras[/MENTION] has already posted kernel with big cores disabled so people with fried motherboards can run Oreo

---------- Post added at 10:43 PM ---------- Previous post was at 10:42 PM ----------

But you can run Nougat version ofc, with Titan kernel with big cores disabled
[G4 Android Development] DoughMucker:
steadfasterX to the rescue...

https://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389

My G4 used to overheat and then bootloop until I pulled the battery. Now it doesn't.
[G4 Android Development] scb92:
Thank you.i will try it
[G4 Android Development] #ApolloLiteProblems:
I tried booting to TWRP from the power menu, no files appeared. Tried booting with the power and vol buttons to get to recovery and then everything was fine. On the official build with TWRP 3.2.1 preview.
[G4 Android Development] ThePiGuy:
Can I just ask, how regularly are the official builds going to be released?
[G4 Android Development] kessaras:
Depends on Chris mood and on google updates and/or security patches.

Meaning, the official will build only for a serious reason. They don't schedule updates for fun.
[G4 Android Development] ThePiGuy:
Ok that's fine. I was just wondering as I know Lineage OS is once a week, but that seems a bit overkill
[G4 Android Development] kessaras:
no worries , we only have 2 big bugs. nothing serious. when and if [MENTION=5545101]steadfasterX[/MENTION] has time too, because i really need his knowledge upon some things, we will try together fix those bugs.

And if we come with a fix , you can flash the unofficial for once if you can't wait for the official.

It's all good. its just that unofficial will also need gapps dirty flash. besides that its the same.
[G4 Android Development] cartman_73:
Hi [MENTION=5461026]kessaras[/MENTION], I flashed your latest boot.img and I already have a copy file problem to externalSD card, I'd tested it wiht Es File Explorer Pro to copy a file from to internal storage to external one, the result is that file copied has 0 bytes, in case the file is text file I can open and see the inner text if the file is zip I receive the message that the file is corrupted.

I notice also that the file that I want to copy was pasted but its name is duplicated like on line 15333

I attach the log, on the line 15226 there is a denied write error.

Another question:

I bought a battery for my H815 with capacity declared of 3800mhA but from cpu-Z and 3c toolbox I have a 3000 mhA of capacity, the result from kernel indication is rigth, isn't it?

Thanks for your effort and I hope that I'd helped you
[G4 Android Development] kessaras:
you have more. the mAh are written in a config file and its pre-set to 3k.

thank you for log.

EDIT:

its funny to see all that. Google blocked them all out.

3rd party apps dont have permission to do anything.

I will try define a different domain name and exclussively add those permissions. if it works i'll let you know.

EDIT2:

[MENTION=5445809]cartman_73[/MENTION], i added those permissions in that log.

I did what i can. If it doesn't work you know who to blame :P >>> Google <<<

This is really a hard security sh*t. I hope in android P they find another way to safety.

Unpack and flash this kernel as usual and test it.
[G4 Android Development] SeewolfPK:
When this kernel is for 0 Byte and not for the battery problem, it did not help. Battery I can not test, because I have no new battery :D
[G4 Android Development] marn3us:
I think it's a problem of his file explorer because on my phone MiXplorer works great and can copy/paste/move stuff from storage to externalSD without any problem
[G4 Android Development] niccotaglia:
Can I dirty flash from unofficial to official?
[G4 Android Development] SeewolfPK:
I give MiXplorer a try. Copy von internal to external MiXplorer show correct filesize.

Other explorer say 0 Byte

I try to copy the file to my pc = 0 Byte

So MiXplorer is not the solution for me.
[G4 Android Development] cartman_73:
Yes sure, flash gaaps and root again

I always wipe system, cache, ART
[G4 Android Development] niccotaglia:
What TWRP version should I use? Is latest experimental ok?
[G4 Android Development] kessaras:
is ok. but use todays build and DO NOT follow the experimental for a couple of days.

im going to test encryption there. experimental = test build. (ALPHA).

And for 100000000000000 time, use TWRP thread for twrp things !!!!!!!!!!!

Dev there will feel lonely. Do you want TWRP dev to quit and leave us maybe ?!

Show him that kind of "love" at least.

I would feel lonely too if my thread was not active and instead everyone talked about this in other threads only.
[G4 Android Development] cartman_73:
Unfortunately, for me, the issue still is here, I try to another file manager and I provide you a new log.

Thanks anyway
[G4 Android Development] choice2rejoice:
Strange. No problems here with the standard app "Files" and with "Total commander".

All work like they should.
[G4 Android Development] SeewolfPK:
Please try to copy file from internal to sd and then from sd to pc.

My standard app copy the file with correct Bytes but if i copy then to pc the file on pc has 0 Byte
[G4 Android Development] choice2rejoice:
I did, no problems at all.
[G4 Android Development] SeewolfPK:
With Total Commander it now works also for me.

With standard app and my favorit (until now) fx it did not work.

I now have to learn to work with Total Commander :)
[G4 Android Development] choice2rejoice:
Are you sure your phone is the problem? I see more issues like this when I Google your problem.

Have you tried it with the SD card in to the pc?

---------- Post added at 08:22 PM ---------- Previous post was at 08:17 PM ----------

I can't get used to it yet. On the PC, in a grey past, it was my favorite. On Android not so much. But you can always try some more apps. ?
[G4 Android Development] marn3us:
[MENTION=5461026]kessaras[/MENTION] do you need logs/help with the bluetooth call bug? Because I believe this is by far the worst bug in the ROM and I'm happy to help if I can :)

RIL bug is not too bad because we can restart or use terminal, but bluetooth call audio just doesn't work (at least on my phone)
[G4 Android Development] ntnlzr:
yes pls if someone can grep the bt call log pls share it
[G4 Android Development] Minto107:
But kessaras said 1000 times that he needs blobs from G5 Oreo that is not out yet(and won't be for a year or longer) from what I remember there aren't errors in log

Sent from Galaxy Tab A10 with 7300 battery ;)))

---------- Post added at 10:50 PM ---------- Previous post was at 10:49 PM ----------

And also it works with my headset and with new Volvo XC90 so it's car/headset dependent

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
they are right its in general all bluetooth audio. only wired works fine.

When stead can , who has better skills in debugging (more experience, since its his domain), we will work on this together. But i can't say anything.

From what i saw we really need some pre-built hals which we do not have. (LG O ones)
[G4 Android Development] RealCaracas:
"no command" at recovery

Hello!.. I have an unusual error... I had running your early January O version...

Now when I wanted to flash latest version and restarted into recovery and I got a "no command" message :confused::crying:

After a combination of keys I'm able to enter default "Android Recovery", but that's it...

The phone reboots well into system and everything runs as usual...

I have tried to install TWRP again via fastboot or to boot on it but I get this:

downloading 'boot.img'...

OKAY [ 0.898s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.916s

I know this wouldn't be the right thread to discuss this, but maybe someone using this ROM already been here :rolleyes:

Thanks for your help!
[G4 Android Development] #ApolloLiteProblems:
I've had to leave this ROM, sorry. I've had a much too buggy experience. Hopefully I can come back when everything is sorted out. This phone is my daily driver, so.....yeah. I'll stay subscribed. Thanks [MENTION=5461026]kessaras[/MENTION] for all hard work.
[G4 Android Development] kessaras:
well done. you or someone in developer settings you triggered the switch to allow bootloader flashing.

if you wiped, thats a goodbye.

Go the official way and flash kdz and re-switch on that and flash whatever you like again.

And i think SALT of [MENTION=5545101]steadfasterX[/MENTION] will save you .... you will be able in download mode to flash a official stock based rom and finish easy without looking for a dll crap.

EDIT:

i suspect you only used wrong fastboot command. Did you do any crap command like fastboot boot boot.img ?

Or fastboot boot twrp.img ?

i saw in other threads people are trying to fastboot download too.

Use correct commands............ and dont ask me now which. there is a twrp thread here too.

Last edit:

Rom flashing is not related to TWRP.

TWRP is a whole partition totally independant and you only change something there by flashing a .img in recovery partition. There is no other way.

So i can guess what happened. By mistake you flashed an .img in recovery partition and lost twrp.

Then you used a faulty command to boot to twrp instead of correctly flashing one, and you ended up to worry without any reason.
[G4 Android Development] marn3us:
Does this also relate to the poor call quality that we have in O rom (without bluetooth)? Or is it independent?
[G4 Android Development] kessaras:
you dont have poor call quality. at least i dont. not related. audio is fine. only bl audio is bad.
[G4 Android Development] RealCaracas:
Hello!! Thanks for your help...

Well I didn't enabled before bootloader flashing nor tried to install TWRP with wrong fastboot command... The only thing I did was adb reboot recovery.... Also tried long press restart button and then recovery.... Nobody touched my phone the last thing I remember was to boot into recovery and flashed latest O version...

In any case... You would say that the best option is to flash kdz through the LGUP and then do all the process to install TWRP and them rom again? Thanks!

BTW: Bootloader, download mode and android OS boot just fine...
[G4 Android Development] Lurensu:
I had the same problem and, as kessaras said, I was just using the wrong command. I finally flashed TWRP, removed battery (while in download mode) and than entered TWRP using hardware buttons combination. It's working fine since then.
[G4 Android Development] RealCaracas:
Hmmmm... I will try that tomorrow.... I thought I used the right command :eek: maybe I lost the magic :rolleyes:... I have done the process many times before. Will review everything step by step.

Thanks!!!
[G4 Android Development] Lurensu:
Just to say, I'm using my bluetooth headset to listen to music every day and it works great (it always did).
[G4 Android Development] cartman_73:
Your recovery could be still there.

With hard key combination enter in recovery e go to factory reset, confirm e go on, if your recovery is there you can reflash everything.

If not, your only way is kdz.

I had the same issue a few weeks ago and I solved it like this.
[G4 Android Development] ntnlzr:
it's bt call major problem
[G4 Android Development] ThePiGuy:
Can I just ask, why does it specifically need to be G5 Oreo Hal's? (Sorry if it's a silly question). I was just wondering as they are not the same phone, so would something like v30 blobs work instead
[G4 Android Development] kessaras:
same hardware

hal = (h)hardware

cant use from wherever
[G4 Android Development] ThePiGuy:
Oh I didn't realise the hardware was the same in the G5 and G4
[G4 Android Development] kessaras:
and g4 is the last lg with O.

for now. :D

and LG is dying. i dont think they will see O not even in g6
[G4 Android Development] Minto107:
Calls are fine, but I think they're little too quiet(or maybe it's me as I listen to loud music whole day[emoji23][emoji23][emoji23])
[G4 Android Development] kessaras:
ok lol with the sounds. its in mixer_paths.xml

who ever needs more he can up it.

same setting is in adiutor !

geez...... im bored to mod crap....... im busy on github and gerrit
[G4 Android Development] Minto107:
I know that stuff at least [emoji14] it's not a big deal ;)
[G4 Android Development] ImKiira:
Can´t flash it. Error 7 in twrp im on v29a
[G4 Android Development] bedencic:
did you use latest twrp?

http://droid.binbash.it:8008/TWRP/N/
[G4 Android Development] cartman_73:
If you have error anyway downgrade to mm with kdz.
[G4 Android Development] kessaras:
if i see one more thing for twrp , i will close it and i will only use it to post when i want to post.

TWRP thread is not here.
[G4 Android Development] b4rgh3st:
Hi, thanks for the ROM!

Do you think you could enable signature spoofing to use microG without the need to patch the ROM all the time?

TIA!
[G4 Android Development] obvious:
Warning, large logs attached.

I'm consistently getting a lot of logcat errors in the minutes after start-up. Including sigsegv.

Maybe I need fresh install...
[G4 Android Development] kessaras:
What are you trying to do that's crashing the thermal engine ?
[G4 Android Development] obvious:
Just rebooting. I try it from cold
[G4 Android Development] obvious:
It's fine from cold. Still 500 errors in two minutes though lol
[G4 Android Development] kessaras:
Ok what are you trying to do that's crashing the thermal manager service ???
[G4 Android Development] obvious:
Nothing knowingly
[G4 Android Development] kessaras:
Obviously clean flash then , no need to ask ?
[G4 Android Development] obvious:
obvious ;)
[G4 Android Development] Lurensu:
I've got a question: is someone able to use adb over tcp?

I can connect the phone but then the pc says that the phone is offline even if it isn't.

I know that adb uses the 55555 port and scanning my ip using nmap shows that there's an unknown service keeping that port open even if adb over tcp is disabled.

A reboot solves the situation for few minutes but then it happens again.

I don't like to have a port open without knowing what's using it.

[MENTION=5461026]kessaras[/MENTION]

Could this be something related to the rom or I should go to ask somewhere else? (Just curious)
[G4 Android Development] choice2rejoice:
I got the same errors and a lot more. You too did a dirty flash?

I'm curious if they will disappear after a clean flash.
[G4 Android Development] kessaras:
it is. share a couple of logs with this if you can please.

i will also check it , but on weekend because im busy till the bone these days
[G4 Android Development] obvious:
Yes, dirty flash. I'll report back with clean
[G4 Android Development] raptorddd:
do it yourself use tingle and you need buil.prop file and framework.jar read as am not sure. use tingle on pc and itll patch just replace patched file in rom.
[G4 Android Development] b4rgh3st:
But you have to do this each time the ROM was updated, don't you?
[G4 Android Development] Lurensu:
Here are some logs that I've taken using matlog (I couldn't use adb since I was messing with it), I don't know if they're fine or if I should change something (in that case tell me, I would like to learn).

Every time I connected the phone by cable, set adb to usb, than to tcp, I unplugged it and finally I connected from the PC by wifi.

https://drive.google.com/folderview?id=19SPDDz2-Uj7B-Tes1-AxYIukdIoNUCQ5

Uh, and I noticed that in developer settings, under the USB debug toggle, there's not the "revoke usb authorization" option (but I can still see it searching in the settings), nor the "debug over wi-fi". They used to be there in nougat, but I don't know if google removed them in Oreo.
[G4 Android Development] obvious:
Clean flash 04/02 build

Watch 9 minute video at end of page https://www.theverge.com/platform/a...pacex-falcon-heavy-photos-videos-watch-replay (in chrome)

Resulting logcat1 attached

Same test with Boot.IMG from https://xdaforums.com/showpost.php?p=75453674&postcount=2227 installed

Resulting logcat2 (crashing thermal manager) attached.

Heats up and many errors in both but only second one seg faults
[G4 Android Development] raptorddd:
make flashable zip. then each time just flash. if you need more help PM. i can do it for you. i just need to see what files.
[G4 Android Development] kessaras:
ok. watching it too. im gonna watch a movie then to test.

ill update the post later

Edit:

Are you sure it's gonna crash ? ?

I'm still watching .... I saw all the videos there. The guy talking about rockets , the crowd yelling while they watch a launch from the beach.

Now watching the falcon heavy landing....

You only flashed magisk which I see in logs ? Or anything else too ?

Chrome and generally phone is good here. Doesn't crash.... but I'll keep watching more , just in case....

Edit2:

At least I educated myself. I learnt all about falcon ?

Next time let's watch some orgy.

No crash here. Still watching...(orgys. Falcon videos finished)
[G4 Android Development] RealCaracas:
I think my phone is dead now... :( ... After doing that it showed me a lot of errors that didn't found some files... After rebooting now is stuck on a bootloop that goes from the LG Logo then Firmware Update screen 19 seconds reboot... LG UP detects it just find, but after 19 seconds from starting installing the firmware it reboot and theres nothing to do...

Is my phone now with the bootloop problem? Or is totally bricked? :eek::crying:
[G4 Android Development] obvious:
Hehe

Yeah I just installed magisk, chrome and catlog

Hey ho. I'll try with pron...for science
[G4 Android Development] khaledatmah:
lg g4 815
[G4 Android Development] HappyCodeLucky:
Please is there any trick to aid charging fast? I'm running the nougat rom and despite using a fast charger and activating fast charge settings in kernel adiutor, the phone indicates "charging slowly".
[G4 Android Development] kessaras:
no. and lgup is history. SALT. by steadfasterX
[G4 Android Development] RealCaracas:
Thanks!!... Will try with SALT... I assume I will be able to load boot and recovery partitions to fix it..
[G4 Android Development] ThePiGuy:
Just out of interest, is the RIL battery drain issue still unfixed (it is the main reason I am not using the ROM right now as the rest is brilliant)
[G4 Android Development] fabioitalia:
I have error 7 flashing latest build. i have latest twrp. How to resolve?
[G4 Android Development] ThePiGuy:
Use the latest TWRP beta from steadfasterX
[G4 Android Development] DosenHatti:
What's about using the search option?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Minto107:
For some it doesn't exist [emoji14]

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] tambukey:
So the same issue happened again where the phone will not find 5ghz WiFi connections.i have a WiFi grep logcat but I don't think it shows the error if one even occurred. Is still connects and sees 2.4ghz networks just fine
[G4 Android Development] RealCaracas:
I'm back in the game [MENTION=5461026]kessaras[/MENTION] !!!! :fingers-crossed::p:D

Loaded FWUL on VirtualBox, then installed SALT, then I could (after a lot of trying) make it detect my phone (for at least each time 19 second), then I found out how to erase boot,recovery and system partition... Then after rebooting again, it just stop rebooting :cool:....

As I didn't figure it out how to install the KDZ in SALT, I just came back to LGUP and then could install the KDZ.... LGG4 is back to life!

Thank you very much for the guidance....
[G4 Android Development] choice2rejoice:
This morning I put on the phone (cold boot) and got several reboots after something crashed. (First time)

When you take a look at the log, it's full of errors and warnings. Are these the "minor" bug's that are talked about?
[G4 Android Development] obvious:
I'm guessing phone was warming up?
[G4 Android Development] kessaras:
nope.

thats what crashed there :

[351] com.google.android.finsky.bq.f.a(258): Error while parsing LoggingContextState proto

com.google.android.flib.log.WhatATerribleException: com.google.protobuf.nano.InvalidProtocolBufferNanoException: Protocol message contained an invalid tag (zero).

its on your side.

the others you see are no errors for one more time. its how thermal manager works, in all phones. (when it works and its not broken)

monitoring temp and setting clusters accrding to that
[G4 Android Development] obvious:
The thing with thermal manager is how it log spams so much you'd be forgiven for thinking it was actually causing excess cpu usage and heat rather than preventing it. I mean 30 times a second must be excessive right? It's going to hold at least one cpu core high while it's doing that. It's unusual
[G4 Android Development] choice2rejoice:
Ok, my bad I guess. I thought that something is an error when it says it "failed to do something". Even the log app says so.

Because others were taking about logs, I thought,"why don't have a look at it yourself". But I won't bother to look again now I know the errors in the log are normal. ??? (Overall the phone is working nicely, sooo.... I'm not worried)
[G4 Android Development] bnbagiz:
how can i update? only through twrp and flashing the latest build? if so, is dirty flash ok? do i need to flash gapps again and root?
[G4 Android Development] tambukey:
Please search through the thread for these questions, as they have been answered 100 times. Dirty flash rom, flash Gapps, and then whatever root you use if you use one.
[G4 Android Development] kessaras:
adb shell top

or in phone terminal just top.

thermal only loads 0.1 the cpu when max is more than 200.

i looked at it since days ;)

i already had the thought to delete it

https://gerrit.cypheros.co/#/c/CypherOS/device_lge_g4-common/+/3186/ (dont know if its visible, i have hidden it for personal use)

in that commit i remove this specific thermal manager and only use the kernel thermal manager.

but with 0.1........ who cares.
[G4 Android Development] MineClashTVYT:
I think i just killed my phone.

I was on the official RROS 7.1, wanted to again try this ROM after some time.

Rebooted in recovery, wiped system, data and cache, tried to flash the ROM. Didn't work, it said something like "this package is for device [...] this device is '". Before that i backed up my old system, recovered that just to be sure that my phone was not dead at that point and - it booted.

Then I have read that i need a newer TWRP. Downloaded yours (twrp-3.2.1-EXPERIMENTAL-48_g4.img), tried to flash in my old recovery. Worked, tried to reboot into recovery again with the new one. Now it's stuck.

It stays at the LG logo and doesn't go further. I removed the battery, put it in again and tried to boot into the recovery with power+vol down. Does absolutely nothing.

Please don't tell me that my phone is now completely dead. My parents would literally kill me.
[G4 Android Development] kessaras:
Man... First of all latest. when we say latest we mean TWRP beta or stable. Not experimental. Stead and me too, we use experimental to make crazy experiments.

Today steadfasterX for example he tested a kernel for h818 at which he forces the display driver of a h818 (only!).

....

And I said one million times there is TWRP thread also. Use it.

I can't go with the title "man who fixes everything"

Now go in bootloader and fastboot erase boot and fastboot flash recovery the latest NOT experimental , wipe system, data and flash latest version of a rom and test it if it's ok.

Edit:

(experiment)al ;) lol

the name sais everything. you just took part in an experiment , thats all. phone is ok. dont worry.

http://droid.binbash.it:8008/TWRP/N/ here.

and soon O if we make decryption work.