yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] mikemech:
Can you let us know which version of AOSCP solved the heating issue?

The official one:	CypherOS	5.3.1	official	h815	2018-03-19 00:55:28

Or the one on steadfasterX's server: aoscp_h815-5.3.1-20180506-unofficial.zip

Including the aoscp_h815-6.0.0 release that kessaras is working on, there are three builds to choose from..... So which AOSCP is most stable? (maybe I shouldn't be posting that question here :confused:)

Personally, I am still using H815 with an Official LOS nightly (unfortunately not maintained :crying:) that is actually working excellent! But yes, I still haven't decided which build to move to....

Anyway, big thanks to all maintainers, developers and supporters of the G4 here at XDA! :highfive:
[G4 Android Development] ThePiGuy:
Ok first things first, this question would be better asked in the AOSCP thread, so any more questions and you should ask there.

However, I'll give you a brief answer here.

The official version is ancient and buggy, so I wouldn't recommend that one. 6.0.0 is a new beta one that is still in testing. It lacks some features of 5.3.1, and some people are experiencing bugs with it at the moment (although some aren't, so you might or might not if you use it)

The latest 5.3.1 on [MENTION=5545101]steadfasterX[/MENTION]'s server is the most stable. It only has broken BT calling (so do all oreo distributions including my unofficial LOS 15.1), broken WiFi hotspot (although a fix was discovered yesterday so that will be merged soon) and a dodgy mobile network connection (it is a bit slow to connect on boot and very occasionally won't connect at all - a reboot will fix it)
[G4 Android Development] mikemech:
Many thanks to your quick answer ThePiGuy, you're really a big help! I enjoy reading the messages you leave on various forums and all the support you give to so many people including Noobs and lurkers like myself :D!!

Despite reading through 1000+ posts, I didn't yet realize that ALL oreo distributions for LGH815 have broken BT calling.... I cannot imagine how to survive with all the broken Oreo pieces that you list above so I'll keep my focus on LOS 14.1 for the moment.

So are you still using "LG G4 H815 Officially Unlocked running LOS 14.1 with Titan Kernel" as your daily driver? I think you built it yourself, correct? If so, does it work better than the ones from steadfasterX (leech.binbash.it:8008/lineage/nougat/h815/) or genesixx (host.llamasweet.tech/genesixx/LineageOS/h815/)??
[G4 Android Development] ThePiGuy:
Yes I build it myself. It's mainly so I have more control over my builds.

Titan kernel is much more up to date than the LOS sources as [MENTION=5461026]kessaras[/MENTION] and [MENTION=5545101]steadfasterX[/MENTION] have been patching and optimising it, so I would definitely recommend it over stock LOS sources.

I actually don't know what sources [MENTION=5545101]steadfasterX[/MENTION] uses in his unofficial builds - I think it is probably LOS device tree (with modifications) and titan kernel - [MENTION=5545101]steadfasterX[/MENTION] if I got his wrong please correct me. Assuming that this is correct, then these should be identical to my locally-built one.

Genesixx's unofficial builds I believe use all stock LOS sources including the outdated kernel so effectively those are the same G4 sources that are in the build you are running now but with updated generic LOS sources

Edit: include steadfaster in the kernel optimisation list :)
[G4 Android Development] steadfasterX:
The LOS 14.1 builds on my server are quite outdated and were build at a time kobtul developed too. He stopped the development and I stopped the builds.
[G4 Android Development] elrasho:
I'm confused on what to do. Shall I upgrade to the LOS 15.1 ROM or stick with this one? 14.1-20180510-UNOFFICIAL-h815?
[G4 Android Development] ThePiGuy:
It depends what you want. LOS 15.1 has 2 main bugs at the moment. Torch tile doesn't work (easily fixed with an app) and BT calling (e.g. through a car hands free) is broken.

If those don't matter to you, then LOS 15.1 is actively being worked on with bugs being solved and security patches updated, rather than this one which is no longer maintained
[G4 Android Development] ThePiGuy:
Ignore this - accidental duplicate post
[G4 Android Development] elrasho:
Thanks for the info. Is the battery life better on LOS 15.1? I'm getting about 4.5 hours screen time with 14.1
[G4 Android Development] ThePiGuy:
That's very good for a G4 :) I believe due to oreo and the fact titan is very efficient that it is better than N (I'm actually running N despite helping with the O rom because I really need BT calling, so I can't provide personal experience)
[G4 Android Development] owlery_hk:
Has the genesixxbf weekly builds been stopped...?
[G4 Android Development] ThePiGuy:
It does look like it. Anyway, other than generic lineage improvements you aren't getting much from them any more (there are no g4 optimisations going in now).
[G4 Android Development] mikemech:
Even receiving generic improvements only would be fine with me. So I consider this to be bad news..... :crying:

So did these generic LOS improvements include updates of Android security patches?
[G4 Android Development] ThePiGuy:
The short answer: no, not really

The long answer: the android security patches are divided into two different sections - kernel patches and rom patches. So yes, you will be getting some patches as they are aosp flaws, but most of the patches are kernel patches which you will not be getting.

Have you thought about going Oreo? Those are currently maintained
[G4 Android Development] mikemech:
The problem for me with Oreo ROMs is that BT calling doesn't work..... After all, being able to make phone calls is one of the features I'd like to see in a phone :rolleyes:

So my focus will remain on N for as long as that issue is not resolved. Actually, I guess this applies to many G4 owners wanting to use the G4 on a daily basis :laugh:
[G4 Android Development] ThePiGuy:
To be fair, that is exactly the reason why I am still on N
[G4 Android Development] mikemech:
Yes you mentioned that in an earlier post. And as I think that BT calls are a big item for many users, I wonder if it is possible to keep some minimum support for N going (even at a low level) while other key devs (including yourself) are fixing key issues on O....

Are you regularly updating your builds of LOS with the TITAN kernel for your own use? Or are you stuck on an older build too? Of course my next question would then be if you can make and share regular builds so the general public can keep getting the generic LOS14.1 updates on N ;)
[G4 Android Development] ThePiGuy:
Mines a few months old now (I did it in a VM which I have now removed). I can see about getting updates out but they would be irregular updates posted in a Google drive folder :)
[G4 Android Development] mikemech:
Doing an update once every 1-2 months is sufficient for me and pulling the file of the cloud instead of a server is ok too :good: Are others interested too or is it just me?

I guess these would be required:

- twrp-3.2.1-PREVIEW-109_g4_N

- v20A Bootloader and modem

Anything else?
[G4 Android Development] ThePiGuy:
TWRP version doesn't affect anything (unless you're using oreo as you need 3.2.1 for it to flash). Btw new versions are out (PREVIEW 123 and official has also been updated - beware that the official won't have correct time with nougat roms though)

Yes, MM (v20) firmware is needed. I have no idea when (or if, I'm a bit tight for time at the moment) I will be able to do anything but keep an eye out
[G4 Android Development] mikemech:
Thanks a lot! And take your time, I'm not in a hurry :cool:

In fact, should BT calling get solved for O, I'll probably go with that :D Slim chance but who knows?
[G4 Android Development] ThePiGuy:
Hopefully not a slim chance :D

It's what we are working on now, but unfortunately we need a log from a OnePlus2 running LOS 15.1 and so far we haven't got one (we're basically at the mercy of the OP2 thread as none of us have OP2's)
[G4 Android Development] elrasho:
What modem ROM does this use? Is it V29a? I've noticed my signal goes really poor in areas where I used to get full signal on stock MM
[G4 Android Development] ThePiGuy:
The modem is not overwritten when you install a custom ROM. So the one you are using is from the last LG firmware you had installed
[G4 Android Development] elrasho:
Thanks for the quick response, not sure why I'm getting poor signal sometimes. Might be my carrier :/
[G4 Android Development] owlery_hk:
Thanks for the reply.

Yeah I think monthly patches are sufficient.

I just want to keep the security patches updated, and I flash titan kernel on top of this build anyways.

I used to use the llama sweet kernel as my daily driver because that includes cpu hotplugging to save some battery.

however that became incompatible with the new firmware (camera would FC), so I switched to titan.

Besides the lack of hotplugging, so far i am liking it!

Maybe I give the o builds a go when I have time, because I do not need the blue tooth function.

In fact don't think I have anything other than the G4 that has blue tooth...

If magisk and xposed are all working then, I am all for it!
[G4 Android Development] elrasho:
My phone is charging at 2,100mA but it still says "charging slowly" at the bottom when I turn the screen on. How do I enable Quick Charge 2.0 in this ROM?

Also looking at the post above, am I supposed to be flashing to a newer Kernal after I installed the ROM? The Kernel I have is 3.10.84-gd25caae7761
[G4 Android Development] ThePiGuy:
My phone always says charging slowly - I've never tried it with a quick charger though. The G4 Los kernel is very outdated now and it is recommended to switch to Titan as it is still maintained
[G4 Android Development] elrasho:
Thanks, is this the one I need? https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679
[G4 Android Development] ThePiGuy:
Do you have a UsU device? If so, then that's the right link.

If not, then it's this thread

https://xdaforums.com/g4/development/g4-t3667878
[G4 Android Development] elrasho:
Ah thanks! Mines not UsU, I unlocked the bootloader using LGs official site as I'm in the UK
[G4 Android Development] sejmand:
I'm still on the latest official Lineageos version. My phone is heating and the battery-management was not the best.

Which kernel and Ron do you suggest, because official Lineageos seems dead for the h815.
[G4 Android Development] ThePiGuy:
For kernel, I definitely recommend Titan. It is more optimised and secure than the LOS kernel.

For a ROM, it depends on your needs

Oreo is a work in progress - both LOS 15.1 and AOSCP (version 5 and 6) have the same bugs (bt calling and torch tile are broken, and the audio is going through a major revamp so is currently a bit buggy). However, the audio bugs other than bt calling should be fixed soon so go for Oreo if those don't matter to you.

For everything except encryption working, go for AOSCP N (@kessaras's unofficial hosted on steadfasterX's server)
[G4 Android Development] sejmand:
Thx a lot. I will give it a try.

First I had do do a backup and transfer all the stuff to my new OnePlus 6 .

Than I take the aosp build....
[G4 Android Development] elrasho:
Does updating the kernel factory reset the phone?
[G4 Android Development] ThePiGuy:
Depends how you do it.

Flashing it shouldn't (always make a nandroid backup first though in case something goes wrong).
[G4 Android Development] elrasho:
Flashed it using TWRP and it worked :) It shows this under my Kernal version
[G4 Android Development] ThePiGuy:
Decent. Btw what did you download and where from. That version looks pretty out of date.
[G4 Android Development] elrasho:
From this link: https://xdaforums.com/g4/development/g4-t3667878

I clicked on the Kernal Folder hyperlink and browsed to: https://androidfilehost.com/?w=files&flid=222451
[G4 Android Development] ThePiGuy:
Ok I'm going to see if we can get a more up to date Titan build for LOS users
[G4 Android Development] elrasho:
Oh thanks! That would be awesome :)

Edit: Just to let you know I've moved over to AOSP CyperOS Nougat ROM
[G4 Android Development] ThePiGuy:
Ok that's Titan anyway. For anybody else that wants Titan kernel, use the latest from here ([I've removed the links for the moment as I don't think the kernel works properly])- massive thanks to [MENTION=5545101]steadfasterX[/MENTION] for building and hosting this (I believe it is actually the Oreo kernel ported down to Nougat)

At the moment this is untested so make sure you do a full nandroid backup before you flash it. I'll test it tomorrow but if you want to test it before then, let me know if it is ok

Edit: removed the kernel links due to issues with it currently
[G4 Android Development] steadfasterX:
Yes that kernel contains all the oreo glory but for N :)

Have fun!
[G4 Android Development] elrasho:
Tempted to back to Lineage OS 14.1 now lol Thanks for all your efforts :)
[G4 Android Development] Netsab:
Hi!

I'm a complete newbie in kernel world.

You mean that who have this ROM can install this kernel?

Is it the same process flashing a Zip?

Regular backup in TWRP is enough safe to rollback if I've got troubles?

I tried to find answers in the thread but people seems to have so much Android skills than me and I didn't understand all i read...

I use Magisk, no encryption and a microsd, is there more precautions to take?

Thanks in advance.
[G4 Android Development] elrasho:
I'm kind of a nobbie too but I recently flashed my Kernal to the TITAN one. All I did was copy the .ZIP file to the SD Card of my phone, then reboot to recovery and flashed the .ZIP file from the SD Card. Make sure you take a backup of your phone first (I used the backup feature within TRWP)
[G4 Android Development] ThePiGuy:
This new one isn't a zip. I believe you flash it to the boot partition (I normally build it in, so I'm not experienced in just replacing the kernel:))

What I would do - boot to twrp, copy it to internal storage, find it in twrp and you should get the option to flash it to a partition - choose boot

As [MENTION=1736477]elrasho[/MENTION] said though, make a twrp backup in case something goes wrong
[G4 Android Development] obvious:
You have to change "select zip" to "select img" too in twrp. Yep, it's boot partition
[G4 Android Development] Netsab:
Thank you so much guys.

Can I just backup boot partition or all?

Do I use the link in this last page? (the file isn't named titan)
[G4 Android Development] ThePiGuy:
I would imagine just boot is probably fine seeing as you are flashing boot.
[G4 Android Development] Netsab:
Damn it !

After first boot, all seems to be ok untill PIN request and suddenly Kernel Crash.

Second boot, stuck on Lineage boot. I waited for 10 min but nothing...

And now I'm not able to back in twrp with volume down and power button...

Pretty disturbing...

EDIT: Ok I'm in TWRP and I restore, I hope LOS will boot this time...

EDIT2: Booting still very long, i'm waiting...
[G4 Android Development] ThePiGuy:
Did you ever solve it? And I'm assuming that kernel didn't work
[G4 Android Development] Netsab:
I restored the boot partition, but no complete boot of Lineage. And the phone comes really et strangely hot.

Go back to TWRP and dirty flash last zip of LOS I have un my phone.

First boot after flashing is always long, I'm waiting, again..
[G4 Android Development] ThePiGuy:
Hm...I'm surprised. I would've thought flashing a backup of boot would've solved it. Anyway, hopefully a dirty flash will
[G4 Android Development] Netsab:
Still no complete boot, I'm kind of lost
[G4 Android Development] ThePiGuy:
I'm really sorry then. I have no idea

[MENTION=5545101]steadfasterX[/MENTION] is very good at this - maybe he knows what to do

Edit: also, I'll take the kernel link down for the time being as well so this doesn't happen to anybody else
[G4 Android Development] Netsab:
(almost) good news

I try to restore a 1 month ago backup.

Data partition fails to restore (extractTarFork()) but boot et system succed. And Los boot completely this time. I try to restore once again my backup And if it fails, I will flash the LOS 14.1 with Titan.

Edit : or not, standard LOS 14.1 seems to be more up to date

Edit : and now, got new pb, play store crashes, I can't install anything. I wipe system, data and cache, flashed last LOS and Gapps. I'm blocked now. Again.

Édit : i had to wipe infernal storage, Ply Store crashes no more
[G4 Android Development] steadfasterX:
i hope you use the latest TWRP version?? 3.2 official is out

besides that what are the first 3 digits of your device serial? take out the battery and find it on the sticker.

.
[G4 Android Development] Netsab:
My serial starts with 602

I've got TWRP 3.1.1-1
[G4 Android Development] steadfasterX:
your TWRP is outdated. Upgrade twrp in any case:

https://xdaforums.com/g4/development/recovery-twrp-3-touch-recovery-t3442424/post76617247

its quite too early to say that but all devices up to including 602 are still affected by the ilapo. from 603 upwards they had changed the mainboard manufactoring which fixes the issue with a 95% rate (ofc there are no valid stats anywhere but thats what can say from my experience).

the fact that restoring a previous known-to-work backup does not solve your issues leads to the conclusion it must be something else then the kernel. Besides the ILAPO it could be a corrupt storage or even (unlikely but possible) damaged internal flash.

.
[G4 Android Development] mikemech:
So what's ILAPO again? The LG bootloop problem? I thought that was not a big issue for 600 or greater (produced from 2016 onwards)?

I sure hope so as I have a 601....
[G4 Android Development] ThePiGuy:
I believe it is the boot loop problem. Btw, if you want [MENTION=5545101]steadfasterX[/MENTION] to see your reply you should mention him (as I have done) or quote his post when you reply
[G4 Android Development] steadfasterX:
ILAPO = http://bfy.tw/IPAQ

they started to implement the fix at the beginning of 2016 - so serials 60x upwards.

the problem with this is there are more then one factory producing the mainboards and it takes time to actually change the process. so the serial is not a 100% measurement. you can have a 600 which still has the issue and one which is fixed.

Personally i would assume everything from 603 upwards is quite safe (means 2-3 months from the time they started to implement the fix) with respect of the time it takes to change a complete manufactoring process, delays, etc.

.
[G4 Android Development] mikemech:
[MENTION=8699949]ThePiGuy[/MENTION] Thanks! Will pay more attention in future......
[G4 Android Development] Netsab:
Ok, but know all works, as I said I had to wipe my internal storage (bye-bye my SMS, silent backup never works when needed ). Still no Titan kernel for me but now I'm a little scared of getting "big" changes on my phone again, I need it daily driver.

Yesterday I tried with the TWRP app, but no update was detected for the G4.

If you tell me, I won't get any troubles flashing new twrp, may I'll try during next week-end. If it's kind of risky, I'll try when 15.1 will be more stable.
[G4 Android Development] steadfasterX:
If you need a reliable backup then it is a must to upgrade TWRP. that's completely independent from any further actions if you flash a ROM or not the version you are using has many bugs and some of them are critical.
[G4 Android Development] mikemech:
So which TITAN Kernel would currently work best with LOS14.1?

An old one from Kessaras : https://androidfilehost.com/?w=files&flid=213170

or a more recent one from [MENTION=5545101]steadfasterX[/MENTION] from his binbash page? The problems reported above obviously worry me....

Any recommendations?
[G4 Android Development] ThePiGuy:
For the moment hang on. The above was a bit experimental (Oreo downported to Nougat). I'll see if I can get a proper N Titan kernel for those that need a stable N build
[G4 Android Development] steadfasterX:
I tested that and found its not the kernel. It's ROM related. The kernel is running fine..

But for anyone being scared just hanging on is fine ;)
[G4 Android Development] Netsab:
Ok so I felt like Indiana Jones and I retried.

Flash the last twrp through the TWRP, success! And time is OK.

Flash kernel, first ok till PIN request, freeze and crash (picture I took the first time in the attachment).

Restore boot partition, infinite boot (in fact, I just wait 5min cause it was already too long it should be).

Have a full restoration, boot ok (thanks to new TWRP I suppose)
[G4 Android Development] ThePiGuy:
What bootloader and modem version (what was the last official LG software you had installed)
[G4 Android Development] Netsab:
I know I flashed something before flashing 14.1 but I don't remember what. May be my screenshoot could help you.
[G4 Android Development] ThePiGuy:
No that will be the same regardless of modem and bootloader versions.

When you power on your phone, do you get a whole screen prompt saying your bootloader is unlocked or does it say it in small white writing at the top left with the normal LG logo below?
[G4 Android Development] steadfasterX:
Install SALT. Connect device in dl mode.

Make a screenshot of the SALT main gui.
[G4 Android Development] Netsab:
I got whole screen prompt
[G4 Android Development] ThePiGuy:
You can double check with SALT (that will give a definitive answer) but that sounds like v29a (which is what we want)
[G4 Android Development] Netsab:
Could it be Kernel Audiutor the guilty?
[G4 Android Development] doicheman:
no new builds

I noticed we are hitting about a month without anything new on genesixx build page. Is the 14.1 being phased out in favor of 15 on the forum?
[G4 Android Development] ThePiGuy:
Well...it's a different team of developers.

Just remember, 15.1 has one major bug currently - bt calling doesn't work. Other than that, it gets security patches and optimisations unlike the builds genesixx was providing (they got generic ones but no G4 specific ones)
[G4 Android Development] doicheman:
No worries man. In fact, congratulations on your build, it really is impressive! As soon as it irons out the bugs that you all are working hard on it, I will jump into it. :good:
[G4 Android Development] ThePiGuy:
All the credits go to [MENTION=5461026]kessaras[/MENTION] and [MENTION=5545101]steadfasterX[/MENTION] really though ;)

They did all the hard work porting Oreo to the G4 - I just got it working with Lineage
[G4 Android Development] lq092009:
lineage-14.1-20171107-nightly-h815 rom file Please let me know if you have a backup link
[G4 Android Development] elrasho:
This ROM has been updated but nothing in the OP about it. Go to steadfasterX server and you can get a new ROM dated 03 April 2018 :)

I've installed it and when launching you will see lots of notifications in "pirate language". This is because it's an UNOFFICIAL ROM, to get rid of it simple boot into TWRP and go into Terminal and type setprop persist.lineage.nofool true. Then reboot and it's gone :)
[G4 Android Development] ThePiGuy:
Nah that was built during the 2018 Lineage OS april fools week (hence why lineage.nofool removes it)

That build is older than the one on genesixx's build server (although he has discontinued builds now), but it does use titan
[G4 Android Development] elrasho:
Ah so am I better off using this one as the Kernel is more upto date?
[G4 Android Development] ThePiGuy:
Titan is more up to date than the lineage one (which hasn't been updated for months). It's up to you as to whether you want generic fixes or kernel fixes.

I assume you didn't like Lineage 15.1 (no problem if you didn't - that's why custom ROMs are so great as you get to choose what you prefer)
[G4 Android Development] elrasho:
15.1 was OK but found it laggy and was giving me weird colours (for example when you have those people in aline and it says finalising setup, the white background was a bit yellow). I think my phone doesn't like it lol

Can I ask what you mean by generic fixes and kernel fixes? Could I install the Genisis version and then install the TITAN kernal from http://leech.binbash.it:8008/kernel/h815/lineage/nougat/ ?