yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Schwarzie2k:
Does that mean that, soonish[tm] we can expect new official builds and OTA updates even for other roms like the "official" LineageOS?
[G4 Android Development] kessaras:
no. im AOSCP maintainer not Los
[G4 Android Development] Schwarzie2k:
Iam aware, but by my limited understanding LOS was stopped due to the same bug, wasnt it?
[G4 Android Development] obvious:
It was and if some dev now wants to take kessaras' fix and resume Los development that would be up to them. Not the place to discuss it here though :)
[G4 Android Development] kessaras:
as he said. if someone wants to use my device tree , blobs and source from AOSCP, be my guest.

But i can't be in 2 places at the same time. One man is limited to what he can do everyday :)

And besides you can't be official everywhere.

EDIT:

Finished my experiments. i will allow some more mA to go through but how many go through depends on the cables quality , adaptor and inverter quality.

And lastly, the thermal manager which now happens to work correctly and doesn't let the phone go in very high temp.
[G4 Android Development] Lurensu:
So in the next build we'll have fixed GPS, faster charging, apps loading quicker and better thermal management right? (And encryption is coming too?)

That's a big one, thank you!
[G4 Android Development] ufocus:
[MENTION=5461026]kessaras[/MENTION] man you're spoiling us all. Can't thank you enough for the work you put in this, for our phone!

Recently I moved to AOSCP v4.1.2 and there's one thing that's bothering me. No bugs man, that's just unacceptable... :silly:

Good work! Salute!
[G4 Android Development] kessaras:
GPS is working already.

Next build will have framework updates, personally added black color in Luna launcher, charger may charge faster (I don't know if the stats are real or not) , ril updates and fixes (it will always have the connection problem. Now it will connect even faster), and more rom related.

In pic it's the USB 2 cable maxed out. I dont know if it's real or not. Caution with the quick charger for the first full charge because i don't know if it will go boom lol

EDIT: encryption will work 100%. you can encrypt. problem is with twrp. twrp is not ready for that.

If you guys encrypt, you will still be able to flash updates , but only dirty because TWRP will NOT have access to /data.

And EDIT2:

stupid me. even with the quick charger shows 400. must be error because of the coding.

damn. back to experiments.

It has a few that can't be seen and can only be found with strace but I'm bored to develop now the outdated rom.
[G4 Android Development] ziomus684:
Kessaras when you share new version ROM. Today yet?
[G4 Android Development] Lurensu:
Guys, I can't get GPS to work on 13th jan build.

I've put the sec_config file to /system/etc and set the permissions to 644, but it's still not working.

Any advice?
[G4 Android Development] tambukey:
Yeah I agree. It finds me and even the gps status app finds the satellites but when driving its update frequency is like every couple minutes. Basically making it useless for driving.
[G4 Android Development] DoughMucker:
I'm the owner of an unlocked H812 thanks to steadfasterX. I can now flash H811 roms on it. [emoji3] My phone is also a replacement for an older, bootlooping G4.

I'm using this rom and had and still have camera issues too. Last update made the camera work, but the video camera just crashes when I try to record.

I'm not looking for a fix, the phone is no longer my daily driver. But just an FYI that more and more people with phones like mine might be arriving soon.
[G4 Android Development] Lurensu:
Well on my device GPS doesn't work at all, it doesn't even find me...

I don't know what should I do
[G4 Android Development] obvious:
Provide logs
[G4 Android Development] kessaras:
starting today you can safely encrypt your device.

but remember that twrp is not ready yet , so if you encrypt, you will still be able to update but never clean flash.

So for those who encrypt, making any mistake or flashing any crap is critical because you won't be able to recover without formatting everything in the phone

did you guys ever use lg g4 with only gps satelites and it was strong enough to guide you with accuracy ?

mine never. g4 is a phone of the year 2012. gps was not strong enough to have accuracy without an internet connection.

So use the full thing. Both satelites and internet. Satelites only increase accuracy when you use the internet.

no and sadly they will never do here.

why don't you do what i do ? the apps are in playstore. you only need pico gapps+face unlock libs (if you use it).

You can have pico in your internal sdcard for now. they dont get much of space.

Dirty flash rom, gapps,magisk, reboot.

Magisk? magisk no chance to survive not in a million years. root is patching the kernel. flashing a rom you flash new kernel image.

Next week you will flash official and they will survive. but not magisk.
[G4 Android Development] #ApolloLiteProblems:
So correct me if I'm wrong, but are survival scripts working now? If I flash the 14/1 build will GApps and Magsik stay?
[G4 Android Development] #ApolloLiteProblems:
Got it. Thanks! I keep everything that I'm planning to flash on an external 32GB SD card anyway so I have unofficial 8.1 GApps and Magisk there anyway. It just takes like 10 mins to flash so I do other stuff while I'm waiting.
[G4 Android Development] aha360:
Flashing a few extra ZIPs can be frustrating, I get that, but you can queue them and flash them in one go via TWRP, with auto reboot enabled, so that does take away some of the pains of flashing several ZIPs, and as for the time difference, it is only one to two minute more from my experience.
[G4 Android Development] #ApolloLiteProblems:
Yeah, I do that anyway. It's just nice to be able to keep GApps as it takes like 10mins to flash etc
[G4 Android Development] kessaras:
10 minutes ? O_o

Why not pico ? They flash in 30sec. And they are only those that can't survive. The core gapps.

You also can add face unlock libs in the pico and have them there.

Root is not needed unless you need to pass safetynet.

Adb pm disable can disable any stock app and that's all (you only do that once to disable apps you don't need).

For me an update only lasts 1minute.

Edit:

Using full gapps or removing apps instead of disabling them is meaningless. You see, the system partition is only used for that and it has plenty of free space there doing nothing.

EDIT2:

Tell me if ril connects successfully now.
[G4 Android Development] marn3us:
I flashed 14/01 this morning and on first boot RIL still wasn't working (fixed by rebooting once). I can try to reboot more times if you need information.

Rest of the ROM seems to work fine and it's very smooth, thanks!

EDIT: also chaging speed seems much better
[G4 Android Development] obvious:
2015 phone ;-p. GPS alone has always been fine here. I drive areas with no WiFi or cell service and accuracy is within 10 metres. Obviously, urban canyons or anything that blocks the sky can have negative impact
[G4 Android Development] Monkeypox95:
It is weird because last build of december I had no problem with GPS (Waze worked through AA) and on the 11th issue with GPS.
[G4 Android Development] sperelli:
at the moment of writing, indoor fixing location only gps with 9 meters error.
[G4 Android Development] obvious:
Airplane mode?
[G4 Android Development] sperelli:
will try.

atm, i disabled location search with bt and wifi, and i chose gps fixing with only gps sensors (basic mode).

btw, i've found that hidden menu shortcuts to modify navbar are back!!!
[G4 Android Development] kessaras:
careful . if you let LG guide you somewhere, it will get you off the cliff :D

EDIT:

This should help

https://www.youtube.com/watch?v=5qHRxvIqHWw

haha
[G4 Android Development] Lurensu:
Well, tobay I've tried pushing again the sec_config file and after rebooting it works, I really don't know why!

It is pretty accurate

---------- Post added at 02:41 PM ---------- Previous post was at 02:39 PM ----------

Cool! Are you on today's build?
[G4 Android Development] sperelli:
yep!:good:
[G4 Android Development] mekz77:
Hi,

is there a way to get the hardware keys set up?

example: double click volume down to activate flash-light

long-press volume keys to skip tracks.... ?

Best Regards
[G4 Android Development] Lurensu:
I can't find them!

I only have status bar and do not disturb
[G4 Android Development] tambukey:
I've never had gps issues before. I've pushed the sec_config and so far it seems to be working on just gps. I haven't gone driving yet to rest but I will back and forth to work this week.
[G4 Android Development] steadfasterX:
Just a quick note:

As I saw multiple articles about some devices getting oreo I suggested this thread to the XDA feed ;)
[G4 Android Development] stratonz:
Can you tell me how to go in hidden system UI config? Thanks in advance.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Lurensu:
You have to bring down the quick settings tiles and hold the cog icon
[G4 Android Development] stratonz:
Thanks, but strangely I have only status bar and don't disturb... Last 14012018 version.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Lurensu:
Me too!

I have no idea about how to enable other options
[G4 Android Development] niccotaglia:
Me neither
[G4 Android Development] MUSTANG0012:
I'm on 13th january update and gps is working 100% fine. I tested moving around with only satelites enabled and it worked like a charm, at least in google maps. Anyway i could help?
[G4 Android Development] #ApolloLiteProblems:
So...how do you add the libs then? I'm kind of a noob when it comes to modifying the files.
[G4 Android Development] kessaras:
Will make one pico and share it on sfx server until we have official ones'
[G4 Android Development] sperelli:
i reported some pages before that they were gone in a previous version without any reasonable why. this time i thought they were back for everyone..

edit: airplane mode gps indoor fix... 5 mt error
[G4 Android Development] tokschi:
Did anybody try the reanimated encrypt feature? Does activating encryption still perform a factory reset? And is the Pin hussle gone?

Off thread [MENTION=5545101]steadfasterX[/MENTION]: Are you planning to update TWRP(N) now?
[MENTION=5461026]kessaras[/MENTION]: Tanks a lot for bringing back LG G4!
[G4 Android Development] Steeldiver:
Encryption works like a charm. No factory reset needed.

Thx a lot.
[G4 Android Development] mekz77:
any help someone?
[G4 Android Development] Angelwind:
Edit: Sorry I'm half asleep. I thought that was for hardware buttons. Never mind me. :eek:
[G4 Android Development] fi5z.x9:
Thanks. Really appreciate,

Please how can you aid with battery conservation. I appreciate your efforts and understand oreo is in the early stages (so I install to check out new features), but i use your nougat rom more often and sometimes i just wish I'd more battery life.

Please i don't mean to complain I'm just being wishful. Thanks.
[G4 Android Development] raptorddd:
my friens steadfasterx is on vacation. maybe whn he gets back.
[G4 Android Development] kessaras:
yup ofc it works as i said. it doesnt do a cleanup.

but as i said again, without twrp to be able to decrypt correctly, you can only dirty flash.

so be careful what you flash, don't flash any crap until we get twrp to decrypt.
[G4 Android Development] A_Kirsh:
Almost everything works for me.

The only real problem I have is Bluetooth calling, which is unfortunately unusable.

One other small issue is that charging is a little weird. Sometimes the phone would charge slowly, with the led showing that it's charging but the battery status is discharging.

Edit: also, wireless charging using a Qi enabled back cover doesn't work. I actually did a clean flash this time, so I went back to Nougat and there were no such issues and it isn't a hardware glitch. Now back on Oreo if you want me to test anything.
[G4 Android Development] kessaras:
bluetooth call is fine here and im using it.

it doesnt charge slow. it charges like it should. In my N it was charging faster , so fast that it was bad for the battery and if people keep bringing this up, i will reduce that in kernel :D it slightly harms the battery life.

led is ok here but if there is something wrong with it it will get fixed eventually, now its too soon for such details.

wireless charger i dont know if its rom related or device related. i dont have the slightest clue about it. i dont have money to buy extra useless equipment and i dont know how it works.

if is rom related it will get fixed too.

A log here yeah it may help and it may not.

adb logcat -c to clean it up

adb logcat and plug the charger. (plug ? i dont really know if there is anything to plug. may i say start the charger ? lol )

unplug and stop logcat and send it to me.

EDIT:

ok, im really sorry that i can't fix every detail, but... i already fixed more than LG fixed with so many people working there haha

i will try.
[G4 Android Development] sperelli:
as already said, i have been flashing rom since ages now and it s the first time i see such a good rom in such a short time brought to life almost from scratch! thank you so much again.

fixed incall bt car audio would make this O quite perfect, imho.
[G4 Android Development] A_Kirsh:
The Bluetooth is the only thing that's really annoying me as. Can you please share your settings? Did you change anything?
[G4 Android Development] MUSTANG0012:
Install magisk xposed sdk27 and within xposed there is a module called physical button control. That is what you are looking for.
[G4 Android Development] A_Kirsh:
Totally agreed.
[G4 Android Development] kessaras:
Lol ? don't remind me every day. We will strace that and try fix it. It's up to you mostly since I don't have 1000euro for new car multimedia or ofc 32k Euro for the newer Astra OPC.

I will tell you when I can. In around a month when Oreo will be more official and I won't have too much work to do.

See the pic. Nothing special. Maybe the Bluetooth thing has to be compatible. Mine is a Nokia Bluetooth I got from a Nokia phone since 5 years ago ? and it kick ass. It's perfect. The only good thing I got from bying that crap phone. And you know what ? With op3t it doesn't work.
[G4 Android Development] marn3us:
Just a quick question for you guys: does it happen to you as well that the SOT counter in Battery settings does not reset when you fully charge your phone?

Because at the moment I have like 25h SOT because the counter doesn't reset when I get to full charge, while usually it should reset when above 90% battery.

Thanks in advance
[G4 Android Development] kinuris:
Oh yes. I'm in your RR and got a new bat yesterday. I don't know it could be for charging so fast. I have to look for my old charger, loved max 1 amp :D

Or maybe you can compile Titan 1.9 for the users of RR, and Freedom, with this "fixed".

I'm not complaining, bat is two years old, so its time to change it.

RR based in N is perfect for me, the best ROM I've ever had in this phone, so I need to say thank you to [MENTION=5461026]kessaras[/MENTION] and team in every post:svetius:
[G4 Android Development] cartman_73:
No on 14th

:(
[G4 Android Development] steadfasterX:
Read the official TWRP thread. I will add decrypt to N and O in TWRP.

Yes as I implemented it this way in TWRP! usually it will fully factory reset but not with my changes ;)
[G4 Android Development] kessaras:
Wow that's a lot of sot there ?

It only reset with the fast charger. When charging slower it will not reset.

As a matter of fact I found this in kernel 2 days ago when people asked me to up the mA and I failed.

In kernel I think I found something about mA being > than 1000. So I guess that's that. (It's just a guess)

Don't know. Just take it slow. One by one because I'll start drugs otherwise.

Now I want to fix the flashlight tile and Bluetooth distorted sound. That's all. What else you may find please remind me after that
[G4 Android Development] A_Kirsh:
Might this also be the reason for the phone showing as discharging when charging slowly bug?
[G4 Android Development] dylank:
Just installed the oreo rom, so far it seems to work better then the Nougat december build did
[G4 Android Development] Termehansen:
I know this is a rom forum and that oreo is very new, but using video on facebook messenger (Skype engine I guess), people in the other end complain of echo and I notice lag between video and audio. I remember similar stuff in early cm days on our g4.

Anybody else using video chat on facebook messenger/Skype?
[G4 Android Development] lordc:
By the way, lastest [MENTION=4860033]Arnova8G2[/MENTION] gcam v1.6 works perfect
[G4 Android Development] #ApolloLiteProblems:
Been looking around and can't find that, can you direct me there? Thx
[G4 Android Development] Lurensu:
I prefer the BSG gcam, it feels quicker to me

---------- Post added at 08:43 PM ---------- Previous post was at 08:43 PM ----------

Here you go:

https://xdaforums.com/redmi-note-3/themes/mod-updated-6-11-17-google-camera-hdr-t3701190
[G4 Android Development] marn3us:
This sometimes happens to me as well, despite using stock LG charger and having "fast charging" enabled in Kernel Adiutor ?
[G4 Android Development] fackuu94:
Hello, sorry for my bad english and noob questions Im new on this....the version of this room in Nougat is not getting more updates and I have to install Oreo now? Wich version is better in performance in games and the other things?
[G4 Android Development] sberta:
Subscribed to XDA primarily to say thanks [MENTION=5461026]kessaras[/MENTION] and the others for this awesome ROM and kernel.

I have been using it for a couple of days and it feels much better than the last LOS I had.

I can confirm that Bluetooth calls are bad both from the car and from the headphones I have. BT music streaming is ok though.
[G4 Android Development] choice2rejoice:
(deleted)
[G4 Android Development] #ApolloLiteProblems:
You don't HAVE to install Oreo, but if you want to I'd suggest waiting a week or 2. There are still some bugs to fix. From my experience it's as fast as N if not faster but sometimes randomly slows down but that can be fixed with a restart. Yeah. I'd wait a bit.
[G4 Android Development] kessaras:
this is not a problem.

sepolicy now prevents system server from

loading anything from /data making our system slow as time passes.

i know how to fix that.

The audio is the problem. 8.1 moved the configs to xml and i didnt notice. so the bluetooth can't load them and sound gets distorted.

After sorting that and straced audioserver and added missing blobs i get an error that some services are not implemented.

So because this audio thing gets complicated it will take a couple of days judging by the free time i got.
[G4 Android Development] #ApolloLiteProblems:
I've had no sound issues, Bluetooth or otherwise. But I guess any fix is a good one!
[G4 Android Development] Lurensu:
It only happens with calls, I've just noticed it
[G4 Android Development] #ApolloLiteProblems:
Ah, got it.
[G4 Android Development] larusg:
Hi, this is probably not a bug in this rom as it appears to happen on quite a few roms for me, but often I'll have to press the power button a few times to turn the screen on, and sometimes I'll get instead of the lockscreen some grainy looking picture, I'd just like your opinion on what this could be , doesn't happen on the stock roms just seems to happen on more custom ones , I've got a LG g4 h815
[G4 Android Development] tambukey:
I've seen this happen all the way back to stock rom on my h811. It's a g4 issue. I will say with this rom it seems to be worse and double tap to wake barely works. But regardless eventually it unlocks, it's just a bad inconvenience when you want your phone quickly.
[G4 Android Development] kessaras:
Introducing

ril restart app

. Also found in Playstore very soon. This way it will survive any kind of dirty flash.

https://xdaforums.com/g4/themes-apps/app-ril-control-t3736739

No need to reboot or tapping in the terminal anymore.

Building now.

General bugs and fixes and improvements but nothing related to our 2 major bugs with p2p or bluetooth.

I couldn't fix the distorted sound. Using the LG G4 audio blobs the hal couldn't go through and the audio didn't work at all.

So we are forced to use the open source audio blobs even though the call in bluetooth gets distorted. Sorry. Nothing to do in these situations.

Unless G5 gets O and i have (maybe!!!) compatible blobs that will let the new hals pass.
[G4 Android Development] A_Kirsh:
That's too bad, the Bluetooth bug is kind of a deal breaker for me. I'll reflash nougat the first chance I get then :(
[G4 Android Development] Monkeypox95:
Any chance to have the GPS fix on this build ?
[G4 Android Development] kessaras:
why whats wrong gps ?
[G4 Android Development] marn3us:
Nothing, on 14/01 build it works great for me (also in GPS-only mode)
[G4 Android Development] kessaras:
https://bugs.chromium.org/p/project-zero/issues/detail?id=955

this is the reason of the lag explained by Google. Now i temporary fixed it but we wait for the real fix from Google.
[G4 Android Development] Monkeypox95:
Ok then I'll give it a try.

[MENTION=5461026]kessaras[/MENTION]-> It was regarding the fix you said to test to some of us by replacing the file sec_config (something like that) while rooted.
[G4 Android Development] obvious:
Been trying to pin this one down but I can't.

Sometimes phone will sleep overnight with minimal battery usage. Other times kernel remains awake constantly causing huge battery load. Can lose 70% overnight
[G4 Android Development] kessaras:
It's too soon to check that. Something maybe crashed and kept crashing all night. That's all.

Kernel can't stay awake.

I'm still (we all are) working on bigger bugs. When that's over I'll start watching it during sleep times too and if something crash I'll get it fixed.
[G4 Android Development] maxharl:
Is it confirmed that latest ROMs (Oreo) have troubles with Car's Bluetooth and Calls?
[G4 Android Development] Lurensu:
Yep, it is
[G4 Android Development] marn3us:
Just 2 quick questions for you guys:

1- Is there a way to manually reset the SOT counter in battery settings? Even a terminal command would be fine

2- Does Substratum work? If yes, what mode do we need to use?

Thanks in advance :)
[G4 Android Development] tambukey:
So I found on mine the camera deamon was running nonstop even after a force stop in app options and a reboot. I used an app called system panel 2,{same guy who makes fx file manager which I highly recommend) to issue a true kill -9 command to the camera. Since then it hasn't restarted itself and operated properly. With the system panel2 you can breakdown the battery/CPU running services to see what is killing your battery.

Not sure about 1 but for substratum since Android 8 is based on dynamic overlays (oms) any theme will work unless it says legacy only. Basically don't use legacy. I haven't actually set up substratum yet since I've been figuring out setups for best battery performance, but it should work well compared to nougat on our phone.
[G4 Android Development] obvious:
Nice. I love the way he designs stuff with usability in mind. GSAM and Betterbatterystats have some competition.

[MENTION=5461026]kessaras[/MENTION], I hope you don't mind me mentioning the odd thing I notice with the ROM. I figure you probably keep a to-do list and can just look at things when the time is right :)
[G4 Android Development] kessaras:
You don't kill daemons. You only kill services. If you kill the daemon and not start it again you will have errors everywhere. Don't suggest everyone killing daemons , because then the not so experienced users will start crying to me not to you.

And I will fix such issues when I will take care other issues