yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kinuris:
In terms of temperature, Magisk vs Supersu makes for me a great difference. I was not charging, so you can supose how hot it went up. So, its catched and clear for me. Supersu is the way for my G4.
[G4 Android Development] raptorddd:
tried magisk and i see cores in high freqs...

if am not mistaken i remeber that for magisk you need logcat on ot logd.. if its off then it heats up..

qith superSU no problem at all.
[G4 Android Development] kessaras:
>>>>>>> Titan kernel v1.2 <<<<<<<

Improve bluetooth performance: connect faster and better audio quality

Bluetooth: Fix Device Disconnect on idle timeout

Removed usused/useless kernel modules

Ext4 file system improvements

https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4/commits/nougat-stock
[G4 Android Development] kinuris:
It's a pity. I really like to see the power of RR working with your kernels and new developments for this phone. Revolution Remix was my preferred ROM before you come with your kernel and ROMS.

By the way, Titan 1.2 it's working ok for me.
[G4 Android Development] 94burns:
Fantastic, will try now.
[G4 Android Development] obvious:
So, if using Magisk (in this context) then we should probably keep logging enabled?
[G4 Android Development] tmihai20:
I think we need logcat enabled to pass SafetyNet. I did not disable logcat, I am using Magisk 14.0 and I do not have any battery drain or high temperature on mine.
[G4 Android Development] raptorddd:
if am not mistaken yes... otherwise freqs stay higher and never at 384 mhz at a idle..

---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------

am loving it. very smooth. :highfive:

very very happy with it.
[G4 Android Development] Raiyan862:
Running Freedom Os 7.5 and Titan kernel 1.2. I think as a 3gb ram phone there is no need of zram. It takes 700mb of ram. Tried to disable it but can't. Is there any way?
[G4 Android Development] kessaras:
Drop swappiness to 0. Then the only thing you lose is just a part of the file system.

I don't disable this because some apps like that one with the stupid Pokemons and other game apps need more ram
[G4 Android Development] conar:
Had tried v1 previously but was having lots of issues with Bluetooth connectivity to my Tomtom Spark watch and my MI Band 2.

Stock kernel worked fine weeks on end

Installed v1. 2 yesterday and everything ran fine all day but when I woke this morning the MI Band had disconnected and only a reboot would resolve.

If this happens again is there anything I can grab log wise that could help?

Thanks for the great work!!

***Edit***

Can confirm that the issue still exists. When the Miband or Tomtom Spark go out of range only a reboot will allow them to reconnect.
[G4 Android Development] kessaras:
Los based Titan kernel is up.

Important:

Keep a backup of your current kernel or boot.img before flashing in case it won't boot.

They are testing builds, i don't know what works and what doesn't work.

1. if flashlight toggle works there report it to me so that i know where to look to fix it in my AOSP builds.

2. if bluetooth works there and connects to all devices or not again report it to me.

If something else doesn't work, let me know.
[G4 Android Development] Marchinho6:
Titan 1.2 work very well on your rom, no lag, no battery drain. Perfect. I dream the kernel with Radio driver. However, thanks for you hard work. :good:
[G4 Android Development] Ciccius-IT:
1.2 on Astrako H-Rom G6 port

Still have many Bluetooth issue. Even now I unlocked in phone that was for about an hour on a desk and it tells me that it is connected to my headset, that I switched off when at home. I had to switch BT off and on on the phone and then it realize that no BT headset was connected.

This happens many times in a day. Also happens that when I switch on my headset it doesn't connect to phone until I woke him up and connect manually.

Just to report.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Termehansen:
Testing LOS kernel now... So far booted but no reaction on pushing torchlight - toggle doesn't change state and no light... I have no Bluetooth devices around here to test.

LOS 20170926
[G4 Android Development] lbnd:
Tested with LOS official 10.10.17, Magisk, 20p bootstack. Flashlight toggle doesn't work, and the phone can't find my bluetooth speaker. Also got some quite severe, continuing stuttering right after it booted. I forgot to take logs, apologies. I can test again tomorrow if you'd like and get logs.
[G4 Android Development] kinuris:
Hey there. Wiped all (coming from Freedom). Installed last LOS+Titan test for LOS. Boot ok. Bluetooth ok (only 2 devices, speaker and tomtom watch, but detect and sync). What does not work:

torch. I can see the toggle, but nothing happens when I touch

camera: tried LOS default and Snapdragon one, FC both.

Next time I'll use RR to test. Gonna make it my default system to test things easier.
[G4 Android Development] kessaras:
whats 20p bootstack ?

if its the firmware, please use 29a. kernel is based on 29a so you may have more bugs that the expected ones.

Strange. here all camera apps work. Titan never had issues there.

Your los build before was the official or the unofficial latest with the new sources ?

And thank you all. Thats more like it :D

After i collect info i will know where to look to fix those small but annoying bugs
[G4 Android Development] stratonz:
Hi Kessaras, tested on latest AICP 7.12 official: boot ok, camera (LOS, Snap, Footej, Open camera, and more others) doesn't work (black screen then crash), torch toggle exists but doesn't work. All sensors seems to work. Aida64 said to me that camera "not found". I'm still trying to compile your sources by myself (also to help you testing some modifications, if I can...) but I don't know if you use a personal command line or a specific shell script... my attempts don't build a correct packed image of the kernel. :(
[G4 Android Development] kessaras:
Thank you guys. Those were enough infos. I found where the problem is and on Sunday when i update everything i build, all functions will be working.

**

It's fixed. i now want to add back as many features i can.

The biggest mistake was that i started at first developing for Stock based roms , but stock from AOSP and LOS are much different here in this phone. So my kernel had those 2 conflicts and 1 kernel crash.

Now all are fixed and im just adding back all the kernel modules. So if i have time maybe even tonight ill make a new build.

==

Same for my roms. Flashlight is back and bluetooth connection is not "picky" anymore.
[G4 Android Development] kinuris:
Off topic. How to know my baseband. In settings-about I cant see v29a or v20p.....just a long string with no sense form me
[G4 Android Development] kessaras:
settings -> about only show what the build.prop has in. these can be faked anytime.

there is no real way to see the baseband. its just that in stock based roms you see the info of build.prop again and the stock one has info of the rom baseband.

but thats not your baseband.

your baseband is the one you flashed. if you dont remember whats your baseband just dirty flash the firmware you want or need. And then remember which one you flashed (modem and bootloader)
[G4 Android Development] kinuris:
Ok. I was thinkig that you can flash módem firmware with a ROM. So, if your Freedom ROM was working I have to supose that is v29? Anyway I'm gonna flash v29 again
[G4 Android Development] kessaras:
freedom doesn't flash firmware. its only rom and kernel
[G4 Android Development] kinuris:
Ok. I Flashed your v29A package Now lm in v29A. No doubts. Thanks
[G4 Android Development] lapist:
I just flashed this kernel and it looks nice. Is it possible to tweak CPU voltage somehow? I would be interested in undervolting in order to decrease battery consumption. Although I don't have voltage tab visible in Kernel Adiutor...

Would you recommend switching I/O scheduler from CFQ to FIOPS for both internal storage and external storage? I have read that it should be better than CFQ...
[G4 Android Development] kessaras:
its undervolted by me by default. i will not add voltage table for user/root access because this phone motherboard has problems. in a mistake the phone is history.

cfq here it tweaked. both are fine for minimal use and cfq is for heavy use too. zen for games.

EDIT:

while i was experimenting with voltage i must also inform you that in a small amount of voltage drop i lost sim access,signal, everything. No sim.

Ofc fixed it. but this phone motherboard is crap.
[G4 Android Development] lapist:
Thanks for a quick reply. Good to know that it is undervolted already and that it is better to keep away from playing with voltage :)

OK, so both tweaked CFQ and FIOPS are equally good for daily phone use? Do you suggest increasing read-ahead to e.g. 1024 kB from 512?

I am also wondering about option "Schedule workqueues on awake CPU to save power" - some guides suggest to enable it, some to disable, but mostly it is not described much...
[G4 Android Development] kessaras:
default is the best for average use. if you r not a hardcore gamer no need to do anything at all.

EDIT:

i use the phone too and i like it a lot, so i always keep the best default for average use but i give to gamers the control to get some "more", until the point thats safe. Something not safe for this motherboard is off limits.
[G4 Android Development] thermskin:
Latest version 1.2 works extremely well. Battery is excellent in moderate usage (browsing web, messaging, BT).

Thanks for the update [MENTION=5461026]kessaras[/MENTION]!

T.
[G4 Android Development] lapist:
OK, thanks. I don't play games much so I will keep things on your default mostly. I just bumped "Input Boost Frequency Core 1" to 864 MHz (perhaps even more would be smoother, while decreasing Input interval as 1000ms is a lot higher than stock default 20ms), as scrolling the text in Chrome is not very smooth on 672 MHz...
[G4 Android Development] Laurence_jj:
Blue tooth disconnects and then won't connect until restart. Otherwise working like a dream!!
[G4 Android Development] stefan.kurz:
I don't now... I have nothing changed...so what am i using?
[G4 Android Development] kessaras:
lol

do in phone terminal

su

cat /proc/mounts

and read the output for external sd cards partition format or show me here the output
[G4 Android Development] stefan.kurz:
It shows a lot...
[G4 Android Development] kessaras:
wait for v2
[G4 Android Development] stefan.kurz:
Flashed it right now. Goes really fast.
[G4 Android Development] lu-oggersheim01:
V2 works fine. Thank you

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] MaZier:
How i can get root?

Is better Magisk or SuperSU with this?
[G4 Android Development] Cimabu:
I am using Magisk 13.3, it works amazingly ;)
[G4 Android Development] MaZier:
Thanks!! Because i had problems with SuperSU... Like i installed it and the app doesnt appear when my phone reboot... I will try with Magisk and install the V2 of the kernel
[G4 Android Development] stefan.kurz:
If i wanna change from supersu to magisk, is a clean flash necessary?

---------- Post added at 03:26 PM ---------- Previous post was at 02:47 PM ----------

I noticed that i have no longer root since i installed the kernel. Is twrp also replaced?
[G4 Android Development] MaZier:
No twrp still there, isnt touched... Simply root isnt implemented in kernel... You only just need to install SuperSU or Magisk's zip in twrp and you will get root :good:
[G4 Android Development] stefan.kurz:
Till i flashed this Kernel i had supersu. Is it possible to flash magisk without deinstall supersu?
[G4 Android Development] denied1977:
After installing v2, when i download supersu from play it doesn't recognize root - any other method to install supersu? Thanks :)
[G4 Android Development] stefan.kurz:
Flash a zip in recovery

---------- Post added at 05:46 PM ---------- Previous post was at 05:02 PM ----------

I flashed the supersu zip. Caused bootloop. Flashed the v7.5 dirty. That was my rescue cause i didn't make a backup.
[G4 Android Development] TOMPPIX:
is it possible to disable the big core's with this kernel?
[G4 Android Development] kessaras:
yeah, now with v3 that i finished inserting the most wanted modules, removed unused ones and improved stability, i will add a build with big cores disabled.

[MENTION=5585630]TOMPPIX[/MENTION] LOL

Not even the Host doesn't want this :D:D:D

In 45 minutes then
[G4 Android Development] stefan.kurz:
Is root included?
[G4 Android Development] Cimabu:
No, it's not. You have to choose and flash it
[G4 Android Development] stefan.kurz:
Which supersu is recommended. The 2.46.zip causes Bootloop with the v2 kernel after flashingvin twrp.
[G4 Android Development] Litderose:
As I said in another thread, I use the v2.82 zip and everything is ok for me (but i'm using stock kernel atm).
[G4 Android Development] kinuris:
This is one of the things kessaras has fixed for the next release. So..... Here we go!
[G4 Android Development] kessaras:
Fixed builds for LOS based and AOSP based are up.

No kernel crashes anymore or any flashlight problem.

Bluetooth though still has problem. So i guess its not from kernel sources. Could be a blob issue. We will see.
[G4 Android Development] stratonz:
Hi Kessaras, unfortunately camera problem persists. You'll see the buttons etc, but instead of images appears a black screen, then app crashes... :( I've tested on latest AICP and LineageOS.
[G4 Android Development] kessaras:
Unfortunately for you here it works.

What aicp r you talking about ?

Aicp doesn't have updated to v29 sources. Only me and genessix personal builds have new sources.
[G4 Android Development] tmihai20:
You have made this kernel compatible with LOS??? That would be absolutely awesome, I am not using it because of the Camera App that is far from the Stock One in every way.
[G4 Android Development] stratonz:
Ah, ok. I must have missed something along the way... :confused: I'm using the 2017-10-11 AICP rom by thermskin and the 2017-10-10 official lineageos. I've seen now the unofficial lineageos by genessix... Are your personal AOSP builds, with updated sources, downloadable somewhere? Excuse me but I can't find them in your thread. Thanks a lot!
[G4 Android Development] kessaras:
sais who ?

And for what reason do all this effort when there is no official v29 or v30 sources ? we could just stay on v20 sources.

Los since 2 years was using MM blobs and sources because LG was too slow to release them. So thats why camera was on lower quality.

Now nougat with nougat blobs and sources has the same camera quality with the stock.

You have to read more what we write , since we write it.....

And you know what ? New google camera and Snapdragon Camera apps are far better than the LG stock app and offer more. So..........

for now only aoscp unofficial only.

im working on LOS with OMS support too but have to solve java errors only and then its ready.

whichever rom on v29a you flash mine or genessix , you definately have to check post no2 on aoscp and use new google cam app, or new gapps cam , or new snapdragon cam.

new aosp cam apps kick ass
[G4 Android Development] tmihai20:
[MENTION=5461026]kessaras[/MENTION]: I had no idea that this is the case for the new LOS Roms. If you developers are not telling us that, we the users cannot know (I did not know). Please point us to a LOS Rom that works well with your kernel. I already have the modded Google Camera that works on other devices than Google's own Nexuses and Pixels. Where can we find the Snapdragon Camera you are talking about?
[G4 Android Development] kessaras:
thats a conversation here in los and aoscp and titan kernel since 2 months :D

also post no2 :D

EDIT:

always read below op. we usually use it for news or something to inform users because op is clearly only for instructions
[G4 Android Development] tmihai20:
[MENTION=5461026]kessaras[/MENTION]: I just flashed Freedom Rom and your kernel. I am getting myself up to date now :D Thank you so much for this.
[G4 Android Development] kinuris:
This is the best combination I've found for G4 by now, and by far. But I can't wait to see what [MENTION=5461026]kessaras[/MENTION]have done with his AOSP based ROM next Sunday, and what can he do with LOS and Titan!! :cool:
[G4 Android Development] tmihai20:
I would love to know the thread where the apk for Snapdragon_Camera_2.0.002_(eng.root.2963d85.032417_054504-00) is taken from. I just flashed Freedom ROM, I will do tests some other time. I will also test the Snapdragon Camera from the first page.
[G4 Android Development] kessaras:
https://github.com/amirzaidi/SnapdragonCamera

i added some more things here locally and packed it to installable apk.
[G4 Android Development] lbnd:
LOS 10.10.17 build here with 29a modem and bootloader and Magisk. Used the no big cores version.

-Bluetooth works, finds and connects to my speaker, and it plays! I've heard some clicking noises from the speaker while I didn't play anything, could be just paranoia. But it works! :D

-Flashlight toggle doesn't work.

-Camera doesn't work. There's something right at the top of the logs, and Footej says specifically "Camera HAL encountered error". Mind you camera worked in the previous Titan build.

Log: https://www.dropbox.com/s/fbkjyxcfy0km0xs/201710131152.txt?dl=0

I'll continue to use this today and test it. Cheers!
[G4 Android Development] kessaras:
But rom must be compiled with 29a blobs too.

Bluetooth working is not a shock.

You probably not use my rom or genesix personal los rom so you are with the old blobs :svetius: right ?

At least you just proved that I was right. The problem is in blobs and I have to find where

Edit:

And thank you. Having a 2nd opinion is good. Now I know for sure that I have to search in blobs to fix the Bluetooth.

Camera works on 29a based Los and AOSCP, flash one of these or wait some more days until I have time to take a closer look in the new blobs.

**Caution:

LG G4 doesn't have official support since codeworkx left. Thats a long time ago. And genesix also stated that he moved on to op5.

This means that official repos are close to two years old (MM sources and blobs and commons).

As a result all official roms for g4 are using those outdated repos. The camera quality is lower but you have bluetooth working.

Now the new ones have absolutely best camera quality same as stock based roms, but there is still a blob issue to be fixed for the bluetooth to connect to all devices.

So ,

1) first of all you can't use Titan kernel with roms based on v20 repos *And ofc im not gonna build a kernel outdated , we already have llama sweet kernel which works flawlessly and by making a Titan kernel based on old sources , it would be at the end a copy/paste of the llama sweet kernel. So forget Titan kernel to work with the old sources.

2) don't expect official roms to use unofficial repos, so don't expect an official update. They may still some build, but they use outdated repos.
[G4 Android Development] tmihai20:
I think we need to use builds from here for [MENTION=5776465]genesixxbf3[/MENTION] personal builds where Camera should work https://host.llamasweet.tech/?dir=genesixx/LineageOS/h815 (cc [MENTION=3691377]lbnd[/MENTION]).
[G4 Android Development] kessaras:
yeap.

blobs , commons, and sources have to be v29a.

Also to flash those roms you have to be on modem and bootloader 29a.

All these have to be to an agreement.

Same thing ofc is for all phones, its just that here we forgot what its like to do a firmware update since LG never did that lol!

And still don't............ althought they promised us v30 official sources, they gave up on that , they never gave us the sources and we use the f500k korean sources. so........... its logical now that i have to find where exactly is that blob issue with the bluetooth. when i have time i will find it.

EDIT: [MENTION=2782481]tmihai20[/MENTION] ,

apparently [MENTION=5776465]genesixxbf3[/MENTION] has already fixed the blob issue with the bluetooth so i don't need to do anything more :p

https://github.com/genesixx/proprietary_vendor_lge/commit/5390df5614c81f3ab6302a6a07ce5f12ad011014

Just now that i built AOSCP locally , bluetooth works.

So bluetooth must work on genesix latest unofficial too , or if his build isn't yet up, at his next one , bluetooth will work.

~Cheers , bugs fixed. Say and click a thank you to genesix for his last moments on LG G4 !

The only roms right now on G4 that use the new sources and have a perfect camera quality are genesix unofficial and mine.

Titan kernel will only work there , don't get confused and flash Titan on outdated roms.

CU all on Sundays updates.
[G4 Android Development] lbnd:
Alright my bad, I had assumed this blob business had to do with kernels only, and LOS based included LOS official. Now I see!

Eagerly awaiting your LOS with OMS support then, thank you for your efforts. Will test other coming builds when I can.
[G4 Android Development] kinuris:
As I understand, genesix has no published any unnoficial ROM, only the official ones for LOS and RR. Am I wrong? So the only disposable are yours.

So thank you again ;)
[G4 Android Development] kessaras:
The link to genesix unofficial is in his official. Read OP carefully always.

That's where a couple of posts up , he found the link. Otherwise nobody would know where they are :D

Mine works too. On Sundays update Bluetooth will work
[G4 Android Development] kinuris:
Got it! Now gonna try unofficial LOS with your Titan 1.2 and Snapdragon camera :good:

Edit: opps I must use the test kernel. Waiting for Sunday........
[G4 Android Development] kessaras:
which test kernel ?

i said

https://xdaforums.com/showpost.php?p=74137985&postcount=382

and blob bluetooth problem is fixed. on sunday's update bluetooth will work on aoscp too.

i don't see any test anymore
[G4 Android Development] Ciccius-IT:
Kessaras sorry for asking for stock (I understand you're working hard on AOSP and LOS), but BT is fixed or is gonna to be also for stock and Freedom roms?

As you know now I'm trying H-Rom G6 port with Titan 1.2 and I'm having BT issues everyday. I have planned to come back to Freedom.

Thanks.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] kessaras:
did stock ever had bluetooth problems ? nobody reported anything to me.......

by the way , g6 port has blobs from g6, v30 rom from v30 and so on...

the roms dev did his best but g4 is not g6 or whatever.
[G4 Android Development] kinuris:
Nah nah I just like to play with these things. I was thinking in the test you send us to find if it worked with LOS. As said, waiting for Sunday release.
[G4 Android Development] Ciccius-IT:
On stock and Imperium never had issues with BT. But on Freedom yes, with default kernel and with Titan too. That's why I asked you if they're solved with last kernel update. You mentioned various BT fixes but not sure if you are talking also for stock based rom or only for AOSP / LOS.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] kessaras:
If stock doesn't work for you it's never gonna work.

Sources are from f500 Korean. I didn't understand at first what you meant sorry
[G4 Android Development] Ciccius-IT:
No, on stock and Imperium (stock based but MM, you know) BT works perfectly.

Issues started when I first try Freedom. Then I tried G6 port and it worked. But I like toooooo much your kernel, so installed on G6 port and BT issues started again. I told you some lost behind but probably you didn't saw.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] kessaras:
Didn't you say earlier that you had Bluetooth issues on stock too nougat too ?

If that's the case then I told you I can't do anything to fix that.

If your Bluetooth works on G6 port but not with stock g4 rom then what can I do ?

Use G6 blobs to build g4 rom AOSP or remove g4 blobs from stock LG rom and use G6 blobs ?

I hope you understand what I say.

Explaining even more.

Bluetooth issue was on blobs not in kernel. Sources have exactly the same Bluetooth files as on MM sources. There is no change in Bluetooth here.

The change is in blobs and I can't use G6 blobs.