yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] tmihai20:
[MENTION=5461026]kessaras[/MENTION]: I am not a fan of the Pixel or similar launcher that comes with AOSP related Roms (even LineageOS), I think they are ugly on screen with high DPI like the G4 (I had a Nexus 5, I liked a lot the interface back then, before Pixels appeared). I love what LG has done with V30, the little details that blend perfectly , dialer included. I would love to have the V30 UI on my G4 and have everything working (FM Radio included). I am not using bluetooth at all, I may use BT more after I buy a fitness band like Xiaomi Mi Band 2. Even the G6 has a very ugly UI now, very similar to G4 on Nougat. Let's just hope that LG will release an official KDZ at some point for the G4, even some sources for Nougat, so you guys can have a good base to work with.
[G4 Android Development] tulen_kobi:
Oh, sorry for the wrong topic, I meant for the ROM.

Thank you for your answer, from what I read I thought that I need to edit the manifest manually.
[G4 Android Development] kessaras:
hmm. do you know what OMS is or being in love with LG made you forget about that ? :D

you can paint the UI with whatever way you like. You can also install any launcher you like.

You can also paint settings, clock, all stock apps.

Stop being in love with one rom, open your eyes and widen your horizons so that you can look into the future (lol !)

< also i can change the default launcher, but i won't, as 1st of all the rom has to look the way i like it before it looks like the way people like it haha !! And i like evolution. When this launcher will be outdated and a new one comes, then i will change again to the new >

you can edit it manually too, but if the dependencies are wrong, then they will replace everything you wrote in the local.

so its better you check and edit and add the needed repos in the dependencies.

~And please if there is something else about the rom, lets go to the rom, not in the kernel~ keep things clean
[G4 Android Development] tmihai20:
[MENTION=5461026]kessaras[/MENTION]: I know I can change the launcher (doh!), I know I can change the theme, but I do not want to use the same launcher on all my devices (I use Nova Launcher on my MediaPad M3 already). I do not like other launchers than Nova Launcher (I know I may sound crazy). It is not that, I like the graphic style on the stock LG Rom. I never was in luv with LG, I am trying to experience new things on Androids to have a better understanding of what it can do. I am also not 100% convinced with AOSP or LineageOS. I prefer custom Roms based on the official Rom for my devices and I have done that since my first real Android.

It all is just a matter of preference. I will stop with the offtopic now :) Thank you for what you are doing for us.
[G4 Android Development] kessaras:
>>>>>> Titan kernel v1.6 <<<<<<

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

>>>>>> Titan kernel v1.6 <<<<<<

Added security patch 2017-10-05

security patch level—Vulnerability details

The most severe vulnerability in this section could enable a local malicious application to execute arbitrary code within the context of a privileged process.

CVE-2017-9075	A-62298712	EoP	High	Network subsystem

sctp: do not inherit ipv6_{mc|ac|fl}_list from parent

SCTP needs fixes similar to 83eaddab4378 ("ipv6/dccp: do not inherit

ipv6_mc_list from parent"), otherwise bad things can happen.

https://git.kernel.org/pub/scm/linu.../?id=fdcee2cbb8438702ea1b328fb6e0ac5e9a40c7f8

**Many Thanks for all your donations. Much appreciated
[G4 Android Development] czarnasm:
may i flash this kernel to any rom i want?
[G4 Android Development] kinuris:
No. This kernel can be flashed to any ROM derived from LG official Nougat, the

unofficial

LOS 14.1, and the [MENTION=5461026]kessaras[/MENTION] Cypher OS, because it needs the new bootloader and the v29 modem firmware, and some specific blobs.
[G4 Android Development] tmihai20:
[MENTION=8281409]czarnasm[/MENTION]: this kernel has 2 versions: one for the stock based LG Roms, one for the AOSP/LOS ones. Choose carefully the version from the download folder.
[G4 Android Development] lapist:
Thanks, good to see security patches in the kernel :) However the phone shows that the security level is still from July 2017 - that is something which only LG can update in ROM (I am using stock v29)?

I upgraded from 1.2 to this 1.6 and it works fine. With 1.2, it happened once that the phone died when the battery was at 14% - I was afraid that I got a bootloop, but it was probably just low battery issue - charging the battery fixed it.

Which options did you tweak in 1.5 with "Blu_active: Less powersaving" ? Fastlane still seems to be off...
[G4 Android Development] kessaras:
Stock based can't take security patches. Only LG can do that.

In kernel yeah I can add security patches. In framework or in any other path , how?

Click on the commit in GitHub and read what I changed please. The reason I have everything in plain view is that I don't have to write a lot.
[G4 Android Development] mekz77:
Could we just have a link to download the zip file (for flashing in twrp) please?

I have a stock g4 nougat rom installed and would like the kernel but can't find any link for a simple download....
[G4 Android Development] Ciccius-IT:
You have to clic on Kernel Folder link to Android File Host. There you will find all kernel files to download.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] jovanv:
With stock nougat (v29a), flashed Titan 1.5 few days ago, lost bluetooth with my hands-free in the car. Worked with stock. Tried to pair again but no success. So, I think I'll roll back to stock kernel, unless there is a trick to make it work...

As far as I can tell from the changelog in github, Titan 1.6 would not solve the BT problem, but I may give it a try tonight.
[G4 Android Development] jovanv:
Update: flashed Titan 1.6, managed to pair the device with the car BT. It looked OK for a few minutes but then it dropped the connection.

Is there something like a timeout after non-activity for the BT? There should not be such a timeout when the BT is connected to a handsfree system.
[G4 Android Development] Minto107:
There isn't. Even if you're not connected but Bluetooth is enabled any device can connect with it without problem. I don't know what's ur problem as it works great with Volvo Sensus Connect system
[G4 Android Development] troullis2004:
BT also works fine with Opel BT Intellilink.
[G4 Android Development] jovanv:
Well, yesterday and today it looks good and connects to BT with no problems, and keeps the connection on. I have not changed anything, neither have rebooted the phone, so it must be some transient effect. But it's all good now.
[G4 Android Development] Samrach Kem:
Hi, does it stop the bootloop?
[G4 Android Development] tmihai20:
There is a special flavour of the kernel that disables the power cores (No Big Cores version). If you can flash it, then you would be able to use the phone, but everything would be a lot slower, because the phone would be turned into a dual core Android. This should be done while the G4 is fully functional, not after it gets the bootloop.
[G4 Android Development] obvious:
I don't notice any lack of GUI speed or smoothness with big cores disabled
[G4 Android Development] Ciccius-IT:
Even because it's now a quad-core, not a dual-core.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] popy2006:
Hey guys,

is the BT issue with LE devices (pebble or other wearables) fixed in newer versions?

Old versions had a issue that the connection was dropped and couldn't reconnect without new pairing.

Thx pOpY

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kurdt666:
No, problem is persist (

Seams, It is difficult fix it without kernel sources
[G4 Android Development] popy2006:
Thx for the info!

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] patato21:
I can't find anywhere what linux kernel this kernel is running. I'm looking of an upstreamed kernel for my H811 LG G4, possible 4.13
[G4 Android Development] kessaras:
you are looking for balls because you read it in crdroid thread where gib linked in kernel.org.

you have no knowledge on that but you keep looking. you r not gonna find it , because this is wrong.

lemme explain now so you know ;)

you can't go to a higher linux kernel.

3.10.X is your max.

3.10.84 is the version here but version is merely a number which can be edited. https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4/blob/aosp/Makefile

see that 84 ? i can change it to any number. i can even show you that you use kernel 9.9.9. Numbers are fake.

if you check my commits in github and the commits in kernel.org you will see that even if it shows 3.10.84 its up to date to today.

Because i update it myself ! i no need to merge from kernel.org. i manually update it or cherry-pick when the coding is huge.

so dont look in numbers and trust this punk here ;) (me)
[G4 Android Development] kessaras:
>>>>>> Titan kernel v1.7 <<<<<<

A new build is up !

Changelog:

- arm:dt:msm8994 Correct regulator timming …

This commit fixes the wrong regulator value in the LG sources.

It fixes a rare case of kernel crash upon boot.

Some may have come upon it, some may not.

- CONFIG_PERF_EVENTS_USERMODE=y | Fix battery stats error …

This commit fixes a stupid battery api error.

It wasn't really an error since the perfd worked, but why have that error spamming the log if we can fix it

- cpufreq: Fix and clean up show_cpuinfo_cur_freq() …

Fixes the currect frequency shown in apps. The current freq display is more accurate and faster.

- cpufreq: conservative: Allow down_threshold to take values from 1 to 100

Allow users to lower the Conservative governor threshold to 1.

EDIT:

Stock based users please have a boot.img backup before flashing the new build.

It's not tested on stock since i was too busy with los and aosp roms.

So if there is any issue please, flash your backed up boot.img and report to me to fix it right away

EDIT 2:

as reported below from [MENTION=8040256]Dade97[/MENTION] (Thank you for reporting it)

it boots fine. so go ahead and flash without fear
[G4 Android Development] Dade97:
Flashed over freedom rom and everything ok for now :good:
[G4 Android Development] hc192:
Hello, my rom is h815 v29a, last time I flashed v1. 6

Camera was crashed, any update on the v1. 7?
[G4 Android Development] Dade97:
Camera Never crashed with any versions of this awesome kernel.
[G4 Android Development] oTeMpLo:
How to enter recovery mode with 29a bootloader ?
[G4 Android Development] tmihai20:
V1.7 Titan kernel plays well with H-ROM V30 PORT V2.0 (FYI).
[G4 Android Development] raptorddd:
kernel and camera dont see a connection. camera is rom related.

by the way H811 1.7 works fines.
[G4 Android Development] kessaras:
thats what you get when you flash whatever makes an eye contact.

camera crash is rom related as being told.

camera not connect is blobs related.

camera BAD quality is blobs related.

camera not connect + kernel crash + reboot + cant save + i dont know what all together and always with a kernel panic = kernel related.
[G4 Android Development] orhtun01:
So far.. No issues with H-Rom 1.1. working like a charm. And it feels smoother. Thanks.
[G4 Android Development] lapist:
I am on holiday in carribean, I turned my G4 off to insert local SIM card,but it doesnt start since then...It shows LG logo for some time, then white screen with android logo appears with text Android is starting, percentage goes very slowly to 100% and then it reboots again...

I can start TWRP, So I tried to download No big cores kernel and install it, but the problem still persists. ..

Do you have any idea what could I do to have my phone at least in partly usable state? I am a bit lost without it while traveling..

I have v29a stock ROM installed with 1.7 no big cores kernel now and I dont have access to any PC here....
[G4 Android Development] kessaras:
well since i got no idea how you got there and what caused it, the only things you could try and ONLY if you haven't flashed any mods, is to wipe /data , reboot to twrp, flash again the kernel, and wait until it finish caching the apps and pray it will start....

if the problem is from something that effected the /system partition, then the only thing that can be done, is to reflash the rom, but i bet that now its too late and you dont have a full twrp backup in your storage...
[G4 Android Development] ufocus:
Happened to me 2 or 3 times on nougat, wiping dalvik\ART cache, cache fixed it and boots just fine. Keeping a working backup on the phone's storage is a good idea, this saved my ass countless times.
[G4 Android Development] sirsomething:
The same happened to me. Had to fully wipe the phone and clean flash freedom rom/ kernel

No idea why it happened. Maybe to many dirty flashing could have caused it but it's fine now
[G4 Android Development] lapist:
So clearing cache+dalvik didn't help, but finally wiping data partition from TWRP helped and the phone started properly. Although it was quite painful to install and configure apps here with almost no wifi connection available..

Hopefully LG will release some final Nougat ROM that will not have such issues..
[G4 Android Development] kessaras:
Is out there anyone who encrypts stock based nougat rom ?

v29a stock based ROM + Encryption ???

**Caution: When you encrypt, forget TWRP. And its better you use the stock LG recovery instead.

Because TWRP with our Nougat blobs and device tree is not yet ready for encryption.

After reading that, if you have encrypted or if you want to encrypt, pm me to send you a build for a test.

Important. Encrypting MAY DELETE all your /data. Keep a backup of all the important stuff.
[G4 Android Development] dszymek:
Which one i better (battery life)for V30 port? 1.6 or 1.7.
[G4 Android Development] Rhese:
Hello, looks like new magisk 14.5 version trigger a kernel panic at boot, anyone experiencing the same issue?
[G4 Android Development] kessaras:
im not magisk developer.

magisk 14.5 is beta. if nobody goes there and report the kernel panic or whatever you see, then the next magisk stable for lg g4 will cause a kernel panic.

so whoever needs it, head over there and report it.
[G4 Android Development] lapist:
My phone usually dies at around 10% battery level without shutting down properly (it just turns black)..is it caused by something in this kernel, it is it battery calibration?
[G4 Android Development] kessaras:
forget it , the kernel is absolute and used already by every g4 on this planet or its being used at least once.

Also read this because i cant post it everyday and in all my threads

https://xdaforums.com/showpost.php?p=74584343&postcount=2
[G4 Android Development] TOMPPIX:
is it possible that a kernel can **** up lte advanced (4g+) in some way?

if not, then i need to have a talk with my carrier since i used to get 4g+ at home but not anymore.
[G4 Android Development] kessaras:
Lol. Definitely carrier thing. Here 4g+ is fine .

Maybe they have an issue with an antenna
[G4 Android Development] joriq:
no calibration, no kernel issue, just ~2 yrs old battery, have it replaced :p
[G4 Android Development] Minto107:
Of course not. Also depends on ROM. I only had LTE+ on stock official ROM. Any custom ROM breaks LTE+ for me
[G4 Android Development] gtsetsen:
Tried the kernel on H-ROM G6 port but got bootloop.

Fortunately I had backed up boot partition.

Anyone else had the same issue?

Note that I haven't flashed N bootloader (but didn't have to)

EDIT: the file I used is Titan_kernel_H815_N_LOS_Based_v1.7

EDIT2: just realized I've flashed the wrong version (LOS) Trying the correct one...

EDIT3: everything worked fine! :))
[G4 Android Development] tmihai20:
It happened to me once, I flashed the LOS version on LG based Rom. I only realized the second time I was about to flash it, LOS appears the first in the list in TWRP.
[G4 Android Development] Faultles:
Hello everyone! I seem to ran into an issue. I factory reset my phone from the LG settings and not from the recovery, and when I tried to install the new Freedom v7.5 it just installs and when I restart, I get sent to TWRP again and not booting up the phone. I did all the wipes in the recovery pre installing the rom. Any thoughts why does that happen? :/
[G4 Android Development] ufocus:
In TWRP's thread for our device, find the latest beta version for stock ROMs. Maybe this will help. For explanation in the thread you'll find.
[G4 Android Development] straightup:
How can I tell if the Kernel is successfully flashed? When I go to Settings -> General -> About Phone -> Software info I can see only this:

So I'm not pretty sure if I succeeded to flash the kernel.
[G4 Android Development] lbnd:
Hi [MENTION=5461026]kessaras[/MENTION],

Any chance you would consider adding WireGuard support (see XDA thread) to Titan? It's a kernel-side implementation of a VPN protocol. As I understand it it works as a kernel module, and should require very minimal maintanence.

Thanks, wish you the very best!
[G4 Android Development] kessaras:
Can add.

It is a kernel module indeed but it's instructions explain how to add it in repos so it is built automatically with rom.

So I need to find a way to build it in a different way when I only build kernel , so that you can all use it with stock based roms too.

So for now , (but not now because I'm not home)

i will add it in my roms (kernel) AOSP and Los.

Later for stock based too.

3.10.84 is the stock from LG and an app like kernel adiutor can show more detailed info.
[G4 Android Development] raptorddd:
he said to use kernel auditour from playstore there you will see the date as theres no 1.7 you also should see palavras. and date. it was like 15 days ago when he released. in kernel uaditour you can change each cpu mghz max frequencies change governors faster or battery friendly and many other settings

tune to fast or tame for more battery.

for all this read this

https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[G4 Android Development] kessaras:
[MENTION=3691377]lbnd[/MENTION]

Here you go. Piece of cake. And maybe later if I have time I'll build new kernel version for all roms.

https://github.com/Suicide-Squirrel...mmit/63a486767001ad5565b9c9133e142d1b8b4ee527
[G4 Android Development] obvious:
Wait, so does this mean we can boot standard Oreo image on G4 using wireguard enabled kernel? surely not?
[G4 Android Development] kessaras:
Huh?

Wireguard is VPN kernel module
[G4 Android Development] obvious:
Heh please slap me with a kipper. I somehow got wireguard confused with project treble.

How does that even happen?

https://www.xda-developers.com/stock-android-oreo-huawei-mate-9-project-treble/
[G4 Android Development] kessaras:
>>>>>> Titan kernel v1.8 <<<<<<

New build is up !

People on stock based flash with caution.

Please have a boot.img available to dirty flash in case v1.8 fails to boot.

The new VPN module is under developement and it's the first time we use it here.
[G4 Android Development] lbnd:
Thanks! LOS boots successfully. Though I'm unable to try Wireguard at the moment as the necessary binaries (to appear in /system/xbin) are not there, this being a kernel update only that's expected. Is it set so that those will come with the next ROM update?

I just might try my hand in compiling those binaries only, if possible. Should be instructive :)
[G4 Android Development] raptorddd:
thank you boots on stock N h811 rom.
[G4 Android Development] kessaras:
thank you for feedback. nice to know its safe.

Yes those are added in my roms already but will come with the next scheduled update since its not something of a very high priority.

I will add them in Freedom too when i have time so that we have a stock based too that can support that module.

Security is something we always need.

EDIT: [MENTION=3691377]lbnd[/MENTION],

i will proly this week create a flashable .zip for these. i think its better this way.

Everyone will be able to add it flashing it in TWRP in any rom, in [MENTION=6917540]Astrako[/MENTION] roms too.
[G4 Android Development] troullis2004:
Well done Kessaras! How do we make use of this VPN implementation? Do we need to install any extra app?
[G4 Android Development] Minto107:
Will check it in a second ;) why are you worried? :D

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] lbnd:
You first need to have access to a VPN provider that uses Wireguard. They'd give you a configuration file which you'd use with the Wireguard app. (That's on alpha testing at the Play Store, see their XDA topic.) If you don't have access to such a provider yet I suggest you run your own server, shared servers are okay, and make use of the Streisand project, which would set everything up for you.

Again thanks [MENTION=5461026]kessaras[/MENTION]!
[G4 Android Development] Minto107:
Flashed 10 mins ago, left it to boot properly and damn. This one feels way smoother and faster than 1.7

Funny enough, I started playing with governor settings to achieve smoother and more fluid experience, now there's no need. Great job kessaras!
[G4 Android Development] zx2c4:
Nice to see you've integrated WireGuard. Let me know if you have any trouble; happy to help. I've listed this on the second post of the main WireGuard thread.
[G4 Android Development] inhib:
[MENTION=5461026]kessaras[/MENTION] Thanks for this update. Just flashed it on my H-ROM V30 2.1 and it works perfectly.

Since I have not rooted my device and so I can't use kernel auditor, wich governor is set by default ?

many thanks again
[G4 Android Development] tmihai20:
Just wanted to report that 1.8 is running smoothly on my G4 with Freedom Rom 7.5. Careful what version you are flashing, it happened to me once.
[G4 Android Development] MatteoB92:
How is performance compared to LG MM stock?

I read camera quality is nearly the same..

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] tmihai20:
Performance is better than MarshMallow stock, interface looks a lot better. Camera is also at least as good as on Marshmallow.
[G4 Android Development] lbnd:
Wireguard binaries

For those who want to try Wireguard right away I've compiled the necessary binaries, which is a first for me :) Works on my H815 with LOS, though this should be distro independent. Should work with all arm64-v8a systems with API>=24.

Either flash the attached zip with TWRP (thank kessaras for this) or extract the binaries to /system/xbin and set permissions to 755. Cheers!

(Sorry for going somewhat off-topic, this is rather exciting!)

Again see Wireguard thread for more info. The Play Store link to the app is there as well.
[G4 Android Development] kessaras:
its not off topic. since its a kernel module, its in topic.

only debugging has to go to the right thread. Thank you for this, it saves some time :) .
[G4 Android Development] bodonance:
For me v1.7 and v1.8 fails to boot ... How to ?
[G4 Android Development] saksoo:
v1.8LOS version does not boot in latest unofficial RR, tried 3 times. v1.8 normal in v29 works perfect and smoothly.
[G4 Android Development] kessaras:
go with the same root you already use.

you can't trade between root methods without first clearing completely the already installed. it will cause bootloop.
[G4 Android Development] stefan.kurz:
Just flashed the v3 with the right supersu. First v3, supersu, boot. Started well but now i got the message that sd card is damaged. I should format...
[G4 Android Development] kessaras:
Don't format it.

at v2 was working ?

EDIT:

I had enabled encryption for external sd cards.

Removed it and uploading now again.

v4 is up.

I fixed again the exfat. (but i dont have a sd to test it, thats a problem)

Added correct kernel build info sources.

And some Good News.

Tomorrow H811 will have Titan Nougat kernel.

I found compatible ramdisk thanks to [MENTION=5308112]raptorddd[/MENTION] for flashing and testing builds