yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] terrorgen:
Flashed TWRP N version, wiped system, cache, data, dalvik and then flashed rom/gapps.

Now boot looping at LG Logo.
[G4 Android Development] king200:
Battery life has been good. I compare with a stock, AT&T H110, 6.0 android. I watch "GSam Battery Monitor"https://play.google.com/store/apps/details?id=com.gsamlabs.bbm Google Play Services use more with CypherOS but that is likely with 7.x vs 6.0 roms. I exchanged the batteries between the phones to take out the battery condition variable.

I do use Magisk module, "Enable Doze for GMS" and I think that helps with Google Services activity.
[G4 Android Development] raptorddd:
oreo or nogat rom? happens to me if i try oreo then nougat then it never boots into OS.

what i do is KDZ 20x install twrp and flash rom then it boots into OS.
[G4 Android Development] terrorgen:
I just KDZ 20x, rebooted several times, and finally the phone boots and shuts down 1-2s after displaying the T-Mobile logo at full brightness, then telling me that the battery level is low.

My battery is at 60% though, so that shouldn't happen?

UPDATE: Left charging overnight and the problem seems gone.
[G4 Android Development] Rookie69:
I've installed the new oreo version from today. Unfortunately the PIN of my SIM card was not accepted. No chance. I've tried several times, stopped and started RIL service manually but got stuck in the PIN menu everytime. I had to go back to the version from Mar-28.

Regards

Rookie69
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Same here (H815) [MENTION=5461026]kessaras[/MENTION]
[G4 Android Development] michael_0394:
I'm not sure if it's just me but is anyone else unable to get USB/Bluetooth tethering to work? In previous builds they worked perfectly but now I'm not able to get internet access on my laptop.
[G4 Android Development] Minto107:
Glad I went on forums first. Haven't flashed yet waiting for other feedback
[G4 Android Development] terrorgen:
Didn't turn on my H811 for a day and am about to continue tinkering with it but realize the boot loop has returned!
[G4 Android Development] Wills_X:
The nougat rom is really stable and smooth
[G4 Android Development] kessaras:
ril is fine sim is fine and pin is fine here.
[G4 Android Development] v4sek:
Hi, first of all, thanks for the great rom, I have just one issue. I have installed the oreo rom - clean install, formated everything, but couldnt get LTE working. I tried to delete and setup APNs multiple times but no succes. After flashing back the Nougat rom, the problem still remains. Data and 3G works "fine" (with speeds of GPRS) but LTE just never works. When I set up just LTE alone, I get no signal at all. Any idea what should I do next? Thanks!
[G4 Android Development] emrtnl:
Hello everyone I'm new here. I have g4 h815tr and I've just UsUd my device. Can I flash that O based rom posted here? I'm not sure if that brick my phone. :confused:
[G4 Android Development] ThePiGuy:
[MENTION=5545101]steadfasterX[/MENTION] is the one to ask. Also one of his UsU threads may be a better place as I think most people here are on officially unlocked h815 and h811
[G4 Android Development] Devil0Pr:
I had to enable the 4G setting myself. Go into Settings - Network & Internet - Mobile Network - Advanced - Preferred Network Type. It's probably set to 3G, just change it to 4G and you're set.
[G4 Android Development] v4sek:
as I mentioned before, even setting the network to LTE alone (not prefered) prevents it from connecting at all, so there has to be somewhere problem only with LTE.
[G4 Android Development] Bleuzen:
I also have the same problem, newest build doesn't accept my pin most of the time - but one time I had luck. It unlocked the sim and accepted the pin, but now it asks me for pin every some seconds.
[G4 Android Development] kessaras:
the fix to auto-restart the ril when the sim is not found is executed at the same time when it should ask the pin on boot_completed=1.

thats why there is a confusion there.

when the sim is not found the ril restarts and also asks for pass.

i will make a test to increase the time interval between 2 checks if sim is found and if it doesn't work, then you must know that this bug occurs only when the sim is NOT found on boot, so you either remove sim pin since its useless when you set a device pin, either reboot until you r lucky and the sim is found.
[G4 Android Development] ThePiGuy:
Just out of interest, is there a timeout on this? Say if it is not found within 20 cycles. As won't it bog down the phone if there really is no sim inserted
[G4 Android Development] Simeon Petkov:
I am having a very sh!tty problem here!

So, i was trying to backup my data. Phone connected via USB to my pc. I try to copy my folders but an "unspecified error" pops up. I try again and again, change PC folder permissions to be R/W, etc. Seconds after that i spot that my phone memory is " 18gb free out of 22" ?!?! No files, nothing. Completely gone! Tried like 14 programs but none can find even a single file. WHAT THE ****, really ? Stock rom, only magisk root. Can somebody PLEASE explain me what the hell is happening, because I am pissed A.F. Thousands of super duper important files gone when doing a backup. How ironic, eh? I don't know what to say. The only thing in my head right now is to kick this POS to outer space. I feel that this rom has something to do with that. It's been super laggy, draining and slow since a few days without an obvious reason. I have installed like 5 or 6 apps total, so it's not bloated with junk. Funny thing is, there are no logs...

F/U/C/K
[G4 Android Development] Wintermute125:
First, I want to say thanks to the developer for the great work he is doing and for supporting a device that everyone seem to have left behind. So, thank you.

I think I am about to try the rom, as the nougat beta stock firmware i have now installed isn't really good as I hoped. So, I just wanted a couple of info from someone who already tested it: can you tell me how is the battery life atm, with the latest release? Also, which camera app do you think is the best to replace the stock one (that will not be there I guess, do to lack of lg frameworks) in terms of image quality? Thank you in advance. :)
[G4 Android Development] RogerBoy123:
I haven't been on this forum for a while, but it looks like it's still REALLY HARD to fix all these persisting RILD/SIM problems, huh? Can anyone let me know if there's ever gonna be an oreo build that's stable enough to run daily? I'll for sure look forward to it.
[G4 Android Development] obvious:
Possible good news on ril @ https://xdaforums.com/g4/development/unofficial-los-15-1-titan-kernel-t3780678/post76337096
[G4 Android Development] ThePiGuy:
That's something different (on my attempts at porting LOS 15.1 to the G4 the RIL was fully broken, and that is a shim that is already implemented elsewhere in cypheros). However, [MENTION=5461026]kessaras[/MENTION] has merged a commit to restart the RIL service if it doesn't work, therefore effectively removing the need for ril control or multiple reboots

Edit: typo
[G4 Android Development] obvious:
Ah, ok. I knew about the other stuff but thought your fix was THE fix. Let's look forward to implementation of LG ril now that it's available. I believe [MENTION=5461026]kessaras[/MENTION] has this on his to do list :)
[G4 Android Development] kessaras:
The to do list now has to test the stock lg ril and then bullhead ril.

For now if you all remove the useless sim pin the ril is fine.

Oh sh** ... I forgot that there are also people that use the phone just for gaming and do not insert a sim.

I will just increase the time between the loops cycles so it will be fine. It will only do a 0.1% load every like 45 seconds so it will be ok for those without a sim too.

Battery life is the same and it sucks. G4 always need to charge at least once per day with a minimal or medium use.

The rom, mods, and every idea people may have, they only get more or less 30 minutes which is nothing we need to discuss about.

I'm bored of this daily battery life. Me I enjoy my g4 for as long as it lives.
[G4 Android Development] king200:
Cable or PC drivers. Boot into TWRP and connect cable to PC and that will prove that ROM is not problem.
[G4 Android Development] Bleuzen:
Removing the sim pin is not what I want, because then everyone could take out my sim card and use it.. that doesn't sound that good to me. I would like to keep my sim pin, so thats why I'm not on the newest build.

For users without a sim card, my idea would be: What about giving up after 3 tries?

For me it works / finds the sim card in about 80% of the cases.

So I think the initial try, one after 10 seconds after boot if it is not found, and one again after 20 seconds if still not found, should be enough.

And if it still doesn't find the sim card, but this should be really rarely, the user can still restart the phone.

I don't like the idea to set the check interval to 45 seconds. Because it never stops, so users without the sim have always something useless running in the background. And users with sim card could also restart in the same time. So in my opinion I would not set it to such a high value. And not run it infinitely, but stop after some tries.

Oh and: good luck with the LG ril, this would be even better ;)
[G4 Android Development] Simeon Petkov:
Oh, yeah, the rom is fine... Like, is's completely fine to have it go factory defaults without any notice, right? It happened today. It was just sitting there, draining the battery without me knowing and doing sh!tty things. It fine, yep. Like getting all your storage wiped out without any notice. It's not the cable, trust me. It's a brand new genuine Sony one that works like a charm. It even has ferrite beads for noise suppression. After I flashed a different rom it's all ok now. It connects, etc, but I still have my super important data and work wiped. Thanks. No more CypherOS for me.
[G4 Android Development] Mr.FREE_Bird:
Oh stop crying man, securing and making backups of your important files and data is your own responsibility. You should have done that before you started with trying ROM's and messing around with your device. The only one to blame is you. You get this ROM provided for free by someone who puts much of his time in the development of this ROM. You should be more grateful.
[G4 Android Development] kessaras:
Almost there with the gestures.

Sadly as you already all know I proceed slow. I don't have time.

EDIT:

About the ril i saw some posts that you suggested i do not increase the sleep timer or keep it running in the background.

So,

*yes i will increase sleep timer but to 30 seconds instead of 20 because if the ril restarts and is found, you need time to enter the pin.

*Even though i already told you that 0.1% load every 45 seconds is like nothing .... but since you insisted.... **yes then i will add a "for" to count to 5 and then stop the loop.

These after im done with the gestures. I can't focus on many things together.
[G4 Android Development] Ironic:
The gaming performance is worse than stock one was, isn't it?

For example clash Royale is lagging in the shop menu and when cards are being drawn from chests. In Android 6 it was very smooth
[G4 Android Development] ThePiGuy:
That is always a downside of using a custom rom (at least an AOSP based one). The OEM's often do some proprietary behind the scene work to improve performance but due to the fact it is proprietary and not available to the public we can't use it
[G4 Android Development] Minto107:
Also LG reduce resolution in games by default. SD808+Adreno 418+1440p isn't a good combination for gaming

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] Ironic:
As far as i remember that was a user choice, wasn't it?

Anyway to improve gaming performance with this rom? Like reduce resolution, as you said before?
[G4 Android Development] Minto107:
It was enabled by default and you couldn't do much(toggle on or off unless you were on 7.1.2 port). Only thing you could try is changing CPU and GPU settings you can't lower resolution only for specific apps i believe
[G4 Android Development] kessaras:
Now sim is fine.

But it won't work without a sim.

The next build will work without a sim. I added a "break" after 10 tries.
[G4 Android Development] TheLostOne:
I have finally unlocked, rooted and installed this as my first custom ROM :)

Knock off isn't working. What's the best way the get it back?

I'm using 4.2.
[G4 Android Development] ThePiGuy:
Double tapping notification bar to lock does. On home screen, maybe something like nova and set up a gesture
[G4 Android Development] mobidor:
Is my phone dead? After LG logo/ oascp, tried to load ROM but the screen goes black, LED goes blue and ...nothing. The same thing with big cores disabled. Sometimes I can enter in settings (only Nougat), but after 2-3 min. reboot (loop).
[G4 Android Development] kessaras:
not dead. something there caused a kernel panic and since its still there, it keeps causing it on boot.

wipe data and clean flash

Edit:

Not format data. Don't misunderstand like some others.

I said wipe data.

That's advance wipe and only data , since you flash same rom, system will get overwritten anyway.

But if you also wipe system it won't do any harm.
[G4 Android Development] deezid:
Is it difficult to create a no big cores version of the included kernel? My phone doesn't even boot properly if it's warm. I have to put it into the fridge, lol. Same issue with TWRP.

I don't think using the old Titan 1.8 version (no big cores) is a good idea.
[G4 Android Development] kessaras:
can't go through the build process and change it everytime i build to build several different roms.

can't edit build and build only kernel seperately.

those require time and manually do it every time i want to build.

It's easy just to disable big cores in cmdline and every user can do it too.

you need android image kitchen https://xdaforums.com/showthread.php?t=2073775

the android image kitchen in play store can do it too.

1) Unzip/extract the boot.img from the rom and decompile it with the image kitchen.

2) in the split_img folder you will see the boot.img splited. Open boot.img-cmdline like any other simple txt and add:

maxcpus=4

at any place of the line. anywhere in that cmdline you add it, its good.

Recompile the kernel and flash the new boot.img in TWRP boot partition, or fastboot flash boot boot.img

EDIT:
[MENTION=8699949]ThePiGuy[/MENTION], [MENTION=5809770]berkantkz[/MENTION]

good news until now. After changing to g4 ril and adding all asked blobs (more than 8 new blobs)

ril will propably work fine, but i need to make a shim for lte and maybe volte.

writev(3<socket:[298245]>, [{"\1\224\20o\26\347Z\261\340\327\26", 11}, {"\6", 1}, {"RILD\0", 5}, {"dlopen failed: dlopen failed: cannot locate symbol "lte_get_service_object_internal_v01" referenced by "/system/vendor/lib64/libril-qc-qmi-1.so"...\0", 148}], 4) = 165

We will see. I will do this on Wednesday as i said. Ok ? I will share the commit when i'm done.

Gtg to work again.
[G4 Android Development] berkantkz:
You're just awesome. I was going to test out V29a blobs within an hour but I guess I don't need to actually.

It is okay for me of course. No one can force you to do it immediately. You know you can just feel free. Do it whenever you want.

Good luck with work by the way!
[G4 Android Development] mobidor:
Nothing changed. Clean flashed every time. Seems to be MB issue.
[G4 Android Development] deezid:
Thanks, that worked. Even worked doing that modification to TWRP :D
[G4 Android Development] TheLostOne:
Oh, thank you! That's working for me!

Now I hope I'll get more battery life with root and custom ROM ;)
[G4 Android Development] LPCG7:
First of all I would like to express my appreciation towards all contributors keeping the G4 alive through such continuous effort even when LG ended support for this device.

I just UsU-ed my H815 and successfully flashed the 5.3.1 - Cinnabun as per the instructions. However, as some users observed earlier and in my case too, the battery drains quite fast than usual (even when disabled ambient stuff and d2w) and charges slowly (a little over 3 hours from 1% to 100%) (having tried different chargers, cables but alas).

It also came to my notice that the flashlight doesn't work and there might be some bugs in the music app.

Even when idle, my phone tends to get hotter than usual and when in use, it's even more.

So, is there any fix of any kind to provide an even better UX to this near-perfect system?
[G4 Android Development] MichelNijhuis:
Unfortunately, I have the same problem. Fast charge is not working as it should.

The OS is draining the battery in lesser than 3 hours. And now suddenly with a clean flash boot loop issues with Rom aoscp_h811-5.3.1-20180429
[G4 Android Development] ThePiGuy:
Do you have adb on your pc (or root terminal access on your phone)? If so, enable adb in developer options (I can't remember if it is on be default), connect to your pc and ensure it is all authenticated etc. Then open up your terminal/cmd and run

adb root
adb remount
adb shell
top

and give it a few seconds before using CTRL+C to exit out of it. Have a look at it and see how much CPU usage you have and what is using it (use hastebin to share the output from the point you ran the command to the end if you don't understand it)

Edit: got the command slightly wrong :) Should be all good now

Edit 2: if you are doing it on a terminal app on your phone, make sure it has root access and simply run "top" (Ignore the adb commands)
[G4 Android Development] LPCG7:
Did you flash the G4 N modem and baseband package prior to clean flash the ROM as instructed ?

Yes I got terminal access and I'll check it asap, mate.

Thanks.
[G4 Android Development] MichelNijhuis:
Have the same issue, night and try now the official rom.
[G4 Android Development] LPCG7:
Did it and it's the system itself that uses more cpu than the rest, thus drain battery. lol

Guess gotta bear with it and walk with a charger. XD
[G4 Android Development] ThePiGuy:
I mean, that's not normal. Have you tried a full clean install (wipe system, data, cache and dalvik before flashing)
[G4 Android Development] MichelNijhuis:
Hi [MENTION=8699949]ThePiGuy[/MENTION] [MENTION=7342957]LPCG7[/MENTION],

I decide to bring the flash back to the official stable rom for the H811.

We're looking forward for the next release. Since the official rom is few months old: 2018-03-19

Thanks :good:
[G4 Android Development] niccotaglia:
What doesn't work in the latest build?
[G4 Android Development] aha360:
You aren't the only one who has experienced this issue on AOSCP. I have too, in which Rescue Party kicks in, and the only way to fix this is a clean install
[G4 Android Development] terrorgen:
Heck... looks like the battery is the culprit... replaced it with a 5000mAh TQTHL.
[G4 Android Development] cartman_73:
Try to kill system_server process.
[G4 Android Development] timn_13:
loving the rom, thank you for freeing my g4 from the tyranny and laziness of my carrier not once pushing an update from the time i bought it till last week when i flashed this. big thanks to everyone who made it happen and have contributed so much useful knowledge to this thread!!

canadian h812 UsU
[G4 Android Development] michael_0394:
I'm having trouble getting USB tethering and BT hotspot to work I don't know why it's not working anymore.
[G4 Android Development] zeduck:
WiFi tethering is not working on my phone too.

I can activate the function but the network is not discoverable by other devices.
[G4 Android Development] ThePiGuy:
WiFi hotspot is a known bug. Not sure about BT and usb though
[G4 Android Development] zeduck:
Ah OK. Sorry to report a know bug :(
[G4 Android Development] sberta:
USB thetering is working on my H815
[G4 Android Development] michael_0394:
BT and USB tethering were working on 0328 build but starting with 0426 and 0429 builds they no longer works, I even did a clean install. I flashed back to 0328 and it works fine again. How can I take a log to see what's going on?
[G4 Android Development] ThePiGuy:
You could try starting a logcat (adb logcat > my logcat.txt) and then trying to tether before cancelling the logcat with CTRL+C. [MENTION=5461026]kessaras[/MENTION] does strace work with bt and usb tethering?
[G4 Android Development] LPCG7:
Yeah I did a clean install prior.

Also, moments ago, my kernel crashed according to the log. I was browsing when suddenly the screen blacked out and it issued the error.

Any similar case reported?
[G4 Android Development] ThePiGuy:
What model and firmware are you on (kernel panic can be caused by outdated firmware)
[G4 Android Development] LPCG7:
Daamn, so right now I'm on CypherOS 5.3.1 in H815
[G4 Android Development] ThePiGuy:
v20 or v29a firmware

Edit: what was the last LG software you used (the bootloader and modem are not overwritten by cypheros or any other custom rom)
[G4 Android Development] LPCG7:
v29a and last used was stock LG Nougat itself. After I UsU-ed it, I installed the Nougat modem as instructed to run this Oreo version
[G4 Android Development] ThePiGuy:
Ok fair enough I doubt this is the problem then
[G4 Android Development] LPCG7:
the rom is having conflicts with the previous rom?

So what do you suggest?
[G4 Android Development] _theluk_:
Currently still running Nougat (H-ROM) on my H815 but really interested in trying out Oreo. On Nougat as well, the Titan kernel unfortunately has the bluetooth calling issue (bluetooth calling is mandatory for me), which is why I use the stock kernel instead. I wonder if it is possible to use another kernel (maybe the stock N one) with Oreo CypherOS to work around that issue? I assume no (otherwise someone would've mentioned it I guess) and apologize preventively for a potentially dumb question
[G4 Android Development] ThePiGuy:
No that's not what I meant. The v29a firmware is what you want, as older versions can cause issues.

As long as the ROM was clean installed like you said, then the previous rom should not be conflicting with it.

Anyway, I didn't realise you unlocked via UsU. If that's the case, then I can't advise you any more (especially as I am not sure what the restrictions are on a UsU device as opposed to an officially unlocked device and what can brick them)

---------- Post added at 06:24 PM ---------- Previous post was at 06:22 PM ----------

I don't think the issue is with Titan. I currently run LOS 14.1 with titan kernel and BT calling works perfectly. I think as well BT calling on N AOSCP normally works as well
[G4 Android Development] LPCG7:
Okay, thank you for your assistance. I appreciate it.

However, in theory, the only limit I guess is I cannot flash a stock(LG official) kdz on it. Nothing more. Guess I have to keep trying other roms/kernels for the "perfect" one :)
[G4 Android Development] _theluk_:
Thanks for your reply. I of course don't have any proof, but on my H815 the combo H-ROM + Titan kernel has the bluetooth issue, whereas H-ROM + Stock N kernel doesn't. That's why I am wondering if there is another kernel possible to give that a try? AFAIR, someone even posted this kernel relation in the Titan thread (which is why I tries it)
[G4 Android Development] ThePiGuy:
There has been a lot of discussion about the broken BT calling on Oreo AOSCP as that is indeed broken, but the Nougat version works fine.
[G4 Android Development] rocky184:
I agree. Although I'm currently on stock N,there were no issues with Bluetooth calling on this N version, just with O
[G4 Android Development] kessaras:
the kernel is the same in N or O.

the only reason i have 2 branches is to help other devs work too, because we can't sync our moves and free time to work on the same source.

Plus we are all bored to delete a branch and then edit all dependencies and paths.

Problem in bt call is in audio hal. i still dont know how to fix it but soon we will have g5 Oreo and i will test their blobs that may work here.
[G4 Android Development] Minto107:
It must kinda work as my Wear OS watch uses BT tethering to get internet connection and it works flawlessly. I'm on latest build, dirty flash from march one
[G4 Android Development] michael_0394:
H811 or H815? I haven't had time to get log I have h811