yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] flobbb:
Why don't you improve Fm Radio to use it in all custom rom? It woluld be perfect if we have all the base features of this phone on any rom.
[G4 Android Development] ThePiGuy:
We use the nougat kernel from the F500K (I think) which did not have FM radio. It's an unfortunate consequence of using the most up to date LG blobs
[G4 Android Development] steadfasterX:
Yea and I still don't get the need for fm radio these days.. :eek:
[G4 Android Development] polfrank:
I don't think the sources of h815 had fmradio included. Am I wrong? Think of earlier releases like LOS14.1 before Titan, which didn't have fmradio also.
[G4 Android Development] ThePiGuy:
I think they switched to the same nougat base that titan uses when it came out. Other than that I don't know
[G4 Android Development] flobbb:
Is there a way to flash a zip with radio fm? I would like to have all the base feature like radio fm, ir blaster ecc. on the new roms, Thanks for your works
[G4 Android Development] steadfasterX:
LG fm can't work in custom ROMs. If you depend on that go stock.

There are simple technical reasons for that. LG apps and some part of the framework are proprietary and so we can't build that. So all blame again goes to companies doing closed sourced software development..
[G4 Android Development] obvious:
1. Fire up IDA Pro

2. Hack all the things

3. Profit

;)
[G4 Android Development] kessaras:
stop using deprecated stuff. dont bring up the thread , its only for stock based roms that development stopped many months go (close to a year).

our custom roms use up to date kernel and Titan is the default kernel in all roms. So.... STOCK only.

[MENTION=239639]obvious[/MENTION] , (2) we don't do hacks here, we are good boys :P
[G4 Android Development] a tiny ant:
*chants* Post from the oldest of ages, rise up to the top of the pages!

It's been a while, but how exactly are the bluetooth issues with Nougat stock related to the audio? My problem was that my Bluetooth headset only randomly connects and that the phone doesn't update the connection status, thinking it's still connected when the headset has been powered off. When it played audio it sounded fine.

I've been on pure stock v29a but I want to use your kernel again.
[G4 Android Development] ThePiGuy:
Oreo has an issue where calls coming through a BT headset sound robotic and distorted. Nougat should be fine in that respect
[G4 Android Development] grantdb:
No issues on stock v29a
[G4 Android Development] a tiny ant:
Yeah me neither on stock however with the Titan kernel Bluetooth functionality goes down.
[G4 Android Development] tmihai20:
I had Titan kernel with v29A and Bluetooth was working. There are several versions of the kernel, make sure you are installing the stock one. Try searching this forum for solutions, I remember others complained about it, but they found a fix. I am not using v29A anymore and I cannot help.
[G4 Android Development] grantdb:
That's what I meant. Stock ROM (v29a) Titan kernel (1.8).
[G4 Android Development] grantdb:
For example of a setup that kicks ass on performance and ok for battery life see my post here:

https://xdaforums.com/g4/general/h812-ultimate-custom-settings-tweaks-t3804224/post76846178

Nuff said,

Cheers!
[G4 Android Development] jmarius:
delete
[G4 Android Development] ThePiGuy:
What ROM. Download the zip, extract it and flash the boot IMG in twrp to your boot partition
[G4 Android Development] jmarius:
Sorry for a stupid question. Now using "H-ROM V30 PORT V2.2" ROM. When select image-new.img in kernel folder, need select partition to flash Image:

-Boot

-System Image

-Recovery

Choose which one?
[G4 Android Development] tmihai20:
[MENTION=5165545]jmarius[/MENTION]: where is that img coming from? If it is a boot image, then obviously you should choose boot.
[G4 Android Development] jmarius:
I try do how say [MENTION=8699949]ThePiGuy[/MENTION] "Download the zip, extract it and flash the boot IMG in twrp to your boot partition". I Download the zip name "Titan_kernel_H815_N-No_Big_Cores_v1.7.zip" extract upload folder in phone, go to TWRP->Install->Titan_kernel_H815_N-No_Big_Cores_v1.7-> press install image ant show then image-new.img when press that have this choices?

Or need just upload .zip file and just flashed? :D
[G4 Android Development] chifta:
hello people :)

I'm new on lg g4 xda forum..

which kernel flash on my g4 h815,los or no big cores?

now use Lineage 15.1 but I want to test RR and AospEx.

when download .zip with kernel,do I must unzip and then flash image file to twrp?

and one question for boot and modem,which flash and how flash it on my 815?

thank you all in advanced and sorry for my english

best regards :)
[G4 Android Development] Ashish_117:
Will this work on LOS 15.1 g4 VS986

Planning to flash a custom kernel on my g4 VS986 running LOS 15.1. Can i use this kernel?
[G4 Android Development] ThePiGuy:
No. Titan is preinstalled on all Oreo ROMs. Any downloads from here are N only
[G4 Android Development] Ashish_117:
I am running LOS 8.1 with stock gapps installed but i don't have Trusted Face option in smart mode.
[G4 Android Development] NickName777:
Is possible to have a version with the possibility of modify cpu voltage? Now running latest aoscp N and I’m trying to catch up the most possible battery life..
[G4 Android Development] kessaras:
It's lowest possible by default. 1mv lower and you will have random crashes
[G4 Android Development] NickName777:
Got it. I've asked because I know (in the computer and laptop world) that every CPU is different so maybe I can target a lower level than another one (lucky CPU).
[G4 Android Development] kessaras:
nah, it will do more damage than good. since 2012 more than 5k g4 ended dead because of a crap CPU, you better not test voltages. And everyone else too, don't get any strange ideas.
[G4 Android Development] polfrank:
But has it been LG's fault or Qualcomm's? Just wondering...

(Sorry for the off topic)
[G4 Android Development] kessaras:
I don't know who assempled the motherboard.

The problem was not on the cpu chipset. The problem was at the cpu installation.
[G4 Android Development] ufocus:
LG played it safe with 808 because of 810 overheating problems and my guessing is that by design these chipsets have problems. Most OEMs tried to overcome them in different HW revisions but not all succeeded.

The answer to your question is BOTH.
[G4 Android Development] Minto107:
None succeeded tho. Only one who succeeded was Samsung by using their own Exynos chip instead
[G4 Android Development] princearic:
Dead link

Anyone happen to have the latest Nougat Titan kernel lying around on their phone or something that they could link up? Deleted my old copy and download link on thread seems to be dead. I think the latest version was 1.8 I believe.

Thanks!
[G4 Android Development] kinuris:
Link is working for me. Tap on the folder name text, not the icon. No ofense, just trying to help
[G4 Android Development] princearic:
Thanks for checking so I at least know it's working for someone. Still getting a bad gateway so I'll try again later.

*********

False alarm. Seems to be alive again.
[G4 Android Development] rachek:
Hi,

Please help. I flashed this kernel to my h185. (official bootloader unlock - twrp - install image-new.img - boot)

My problem: At low battery levels (15-25%), the phone restarts and does not boot. I can only recover if I reflash the stock rom from twrp. I aslo tried the 1.7, 1.8 versions.

ROM: V29a stock nougat

TWRP: 3.3.1-0-g4

Thanks
[G4 Android Development] alberteske:
I think it is more battery problem: it happens to me without this kernel after 3 year with the same battery.
[G4 Android Development] kessaras:
yeah definately battery.

you need new battery. This one is dead.
[G4 Android Development] raptorddd:
could we have an updated kernel for stock LG users.
[G4 Android Development] kessaras:
But update how ?

The LG rom didn't get an update since ape age. I can't update here the kernel. It will break stuff.

To add a kernel patch , it also needs the framework , the Hals, the tools, everything to support it.
[G4 Android Development] raptorddd:
the new commits from laos wont work.?
[G4 Android Development] kessaras:
I don't think so.

But gimme a week and I will flash at my device the stock rom and see which commits can be merged here too and which can't.
[G4 Android Development] raptorddd:
all right thank you. if it works good if not then no problem.
[G4 Android Development] Heraku:
Do I need to be rooted for this kernel? Do I need to be able to use kernel audiator?

What am I missing out of, if I don't root?

---------- Post added 14-09-2019 at 12:08 AM ---------- Previous post was 13-09-2019 at 11:53 PM ----------

Do I need to be rooted for this kernel? Do I need to be able to use kernel audiator?

What am I missing out of, if I don't root?
[G4 Android Development] sa4zet:
thx
[G4 Android Development] steso90:
hello!

Is it possible to add support for nethunter ?

I dont understand how to compile kernels.

Have a great day

Edit:

I tried to make my own nethunter kernel and every try is resulting in error 1 "unsupported devices"

Any idea why?

@kessaras
[G4 Android Development] kessaras:
what do we discuss about here ?

its kernel related.

also the name mate ! its <something>.boot.img , i wrote it to make it easy to understand
[G4 Android Development] stefan.kurz:
Coding wasn't never one of my Interests, but i should have to know it.
[G4 Android Development] stefan.kurz:
I don't know what you did, but it works. Bt works well.
[G4 Android Development] kessaras:
Thank you for feedback.

Merging now new Bluetooth in github
[G4 Android Development] RealCaracas:
Hello!... Just to comment that since v1 through v4 I haven't had any issues with Bluetooth... 815H.. Freedom ROM V7.5

What I have detected is that on my pocket the device turns on... Its like it detects my leg movements as touches ... It never happened to me on MM....
[G4 Android Development] MaZier:
Yes i had notice the same (but im using H-ROM G6 port by Astrako), the device turn on in my pocket
[G4 Android Development] sirsomething:
Like it's being discussed in Freedom ROM post, it's probably the sensor min distance that's too low. kessaras said he'll have a look at it :)

It also happens with me but during calls it works fine so lets just wait.
[G4 Android Development] MaZier:
Sorry i dont follow the thread... Thank you!!
[G4 Android Development] doiutzu:
My screen doesn't turn off when I close the circle cover. It turns on but doesn't turn if. The image disappears, like a black screen but it isn't off. Take care if you have a smart case. Also double tap to wake dost work for me. Double tap works to turn off the screen.

These are the only problems i have with v4 and g6 port rom
[G4 Android Development] kessaras:
cover sensor and keep tapping the screen. sometimes sensor is not working like its not there.

i will try this next week to find the culprit in drivers.

It's a problem that was here in MM too. I checked drivers and they are exactly the same.

We carry this issue for a long time.

you understand ofc that here is the kernel thread ?

If there was a problem with the display drivers we wouldn't have noticed it already ?

Not kernel related.

EDIT:

[MENTION=7218718]MaZier[/MENTION],

fixed

https://github.com/Suicide-Squirrel...mmit/59f2b4254fd1be424bcd16f802169b3a3420ddff

With tomorrow Sunday update to v5 fix will be in.

More specificaly,

the code was fine. But some devices maybe from some hit somewhere , got damaged at the sensor.

Me i only increased it's gain by only a little and it's minimum threashold.

Also,

Pocket Mode is slow to kick in after the sensor detects, 2 seconds around. Thats a rom issue , issue of the app that handles the pocket mode.

It's not exactly an issue, it's how that app works.
[G4 Android Development] doiutzu:
I didn't notice this problem( the one with the smart cover) until v4 so i assumed is kernel related. I'll post this in the Rom thread.

Thanks and btw I'm not a kernel dev like you, so I don't fully understand what bugs are kernel related:rolleyes:
[G4 Android Development] MaZier:
Thank you man!! I really appreciate your work for us!! I hope you keep doing it!

[MENTION=5461026]kessaras[/MENTION] can u implement sound control like imperium kernel? I'd really like to have it because sometimes i need it and with nougat i don't have it?

But if it take so much time to do it, leave this request... Thank you anyway!
[G4 Android Development] kessaras:
yeah thats easy

but at the next update. we must have something to wait for , if i add everything in one shot , the next update will come next year lol.

also ill be bored to death in my free time if i do everything in one shot
[G4 Android Development] MaZier:
Yes hahaahhah

I really want you put it if you can! Thank you!!
[G4 Android Development] stefan.kurz:
After a long time not using the phone double tap to wake doesn't work. It seems that it depends on deep sleep. Is this a known bug? Is it related to this Kernel?
[G4 Android Development] kessaras:
>Update to v5/v3<

-Fix bluetooth car media connect issue

-Rewrite the whole bluetooth drivers

-Slightly modified Governors

-Fixed Cpu Boost

-Fixed Cpu Input Boost

-Fixed Cpu stats and added trigger

-Fixed Cpu Frequency table

-Removed lame LG boot optimisations, added safe default mine.

-Update blu_active governor to the newest:added fastlane

-Update Conservative gov. to make better use of Big cores

-Increased prox.sensor gain and threashold
[G4 Android Development] raptorddd:
thanks :highfive:
[G4 Android Development] stefan.kurz:
? What does it mean?
[G4 Android Development] doiutzu:
Do you read even 2 or 3 posts above when you ask something?
[G4 Android Development] kessaras:
Here it is.

Ήχος (Hxos) = Sound

For the next update , next Sunday :p
[G4 Android Development] MaZier:
Finally i will have it!! ? Really thank you man!!
[G4 Android Development] doiutzu:
Much better battery life with v5

Screen of drain is 0% in gsam :laugh:
[G4 Android Development] kessaras:
Ye it's great indeed ! I'm impressed here too.

But in general you will have little more battery drain on v5.

This is your 1st time everyone having fastlane.

Fastlane is a faster input boost but it stays there for as long as there is a load.

Your phone now matches speeds of the newer phone but with the cost of slightly more battery drain.

If you want to balance it a little you can disable input boost to 0ms and down fastlane threshold to 25.
[G4 Android Development] ozantankus@hotmail.com:
i İnstalled (no big cores).No big cores v5 better than normal v5 Version ? (by battery )
[G4 Android Development] Minto107:
Is it the faux sound control? I'd suggest using Boeffla sound, faux doesn't work that well on our device and I don't think anyone has tried Boeffla on G4 before ;)

Sent from LG G4 with G6 UX6.0 ;)
[G4 Android Development] MaZier:
Nope! Is a setting implemented in kernel and the screenshots are about kernel adiutor and with it you can modify the settings about the sound
[G4 Android Development] TOMPPIX:
yes, having big cores disabled should give you better battery life.
[G4 Android Development] tw9:
I'm not saying there is something wrong with bluetooth drivers, it could very well be a problem with my phone or watch, but I'm still having some issues with it connecting to phone, like the connection occassionally drops or the app can't sync data with the watch etc.....

I did a logcat log and although I don't know anything about kernels and bluetooth, but what seemed suspicious to me was repeated entry with could not find callback wrapper

So as I said, I don't know if it is normal or what or if it is a real problem, complete logcat attached.
[G4 Android Development] kessaras:
No bug mate.

BluetoothLeScanner(4788): could not find callback wrapper , is when the app is calling the bluetooth scanner to go off because it didn't find what you were looking for after some time interval X.

Many watches can't connect to many phones ... its common issue all over.....

Did that android watch ever connected with g4 and when ?
[G4 Android Development] tw9:
Alright, thank you for the clarification :)

The watch did connect just fine before with stock kernel, I will try version 2 of your kernel and will see, if it is any better.

Btw. what would be the correct way to go back to stock kernel?
[G4 Android Development] kessaras:
Nope. Big cores are only working when the small can't handle the load, to speed up the loading.

And what happens if the loading is 2 or 3 sec slower ? You still spend the same battery juice waiting 2 sec more.

Those builds for no big cores are for the LG G4 with a motherboard problem only. Those who have a motherboard problem, they already know it and use those builds.

lol, why don't you talk to me directly in tg ? :D

I will check it out ;)

And .....................

Finally i fixed the input boost guys.........

https://github.com/Suicide-Squirrel...mmit/0497624fd5fde2b75501e53b62f56753cdde6315

line 506+: input_boost was taking multi_boost value when the time of input boost was bigger than multi. that was nonsense. Removed those lines.

Also i tuned input boost to respond faster on touch. So...... next update will also have fastlane default OFF to conserve some battery and its up to you after testing it in v5 if you like it to re-enable it.

extract boot.img of the stock rom and flash it in TWRP as boot.

yes please check once the version before i change bluetooth drivers to connect to stefan car, lol.

though i can hardly imagine that i can fix it to connect to everything on earth :p
[G4 Android Development] tw9:
So I did flash the version 4 and so far it seems to be working ok, thanks for your work :good:
[G4 Android Development] kessaras:
oh wait a minute.

watch connects on v4 at which the car of stefan doesnt ?

damn............ wtf :cyclops:

i will try do some more research during this week until next sunday
[G4 Android Development] stefan.kurz:
Mine worked with v4 and the BT fix you made.

---------- Post added at 04:19 PM ---------- Previous post was at 04:08 PM ----------

I tried with Kernel of v7.5 Freedom Rom. It's the same. Seems that double tap to wake doesn't work in Nougat based Roms when used in deep sleep. I think it works in mm Roms. [MENTION=5461026]kessaras[/MENTION]

Is this repairable? If so, will you fix it?
[G4 Android Development] TOMPPIX:
you learn something new everyday. :p

I actually use the no big core version because i don't like having my phone running hot.
[G4 Android Development] polfrank:
Is the temperature difference so noticeable?
[G4 Android Development] raptorddd:
i think its hardware sensor or screeen.? if you go MM LP or N its the same . mine turns on while in pocket movement . before it did not wakeup but turn off screen always. now it super sensitive. i keep one finger or palm on screen and its on. u turned off by using anycut from playstore and found knock on. i disable it.
[G4 Android Development] stefan.kurz:
I can't believe it's related to Hardware cause all works fine if the Phone isn't in deep sleep. Maybe a agressive doze Mode fault. This seems to have a software reason.

Wake up during pocket movement could relay on google smart lock. It has a special feature. In German it's called Trageerkennung. I don't know the English word.

Google says wear detection.
[G4 Android Development] cineq:
This is hardware issue. I had similar problem. Double tap to sleep was working every time, but wakeup function stopped working completely a few weeks ago. Before it was working sometimes at some areas of the screen.

I bought frame with LCD assembly and replaced it. Now double tap to wakeup works every time.

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Android Development] TOMPPIX:
under load it is.
[G4 Android Development] eriuzz:
the kernel work well on despacito rom on the h811 but the charge rate is kind of slow or its only me ?
[G4 Android Development] raptorddd:
i beleive its slower. but if its charging at lower voltages is good for battery life and it last longer . slow charge helps for longer SOT.
[G4 Android Development] stefan.kurz:
Really weird. Since this morning it works again. I got a Remembering from the Calendar. Since i receive double tap to wake works again. But for how long?
[G4 Android Development] kessaras:
Until the pocket mode which is implemented in LG lock screen go crazy again.

Thanks to LG good support with otas and fixes we may get it fixed in the afterlife. So ignore it
[G4 Android Development] stefan.kurz:
Although it is a software Problem. cineq told me it is hardware caused.
[G4 Android Development] kessaras:
Could be too But pocket mode app isn't doing any better.

If the software has a bug you can't really know if it's the one or the other.

Pocket mode bug is in g4 since lollipop.

Out pocket mode was always slow. 2 seconds delay to kick in. Those 2 seconds are enough for something to touch the screen.

Use password to lock the screen and u r fine.

Edit:

Me I can see if it's hardware issue or not.

Do adb logcat while you cover and uncover the prox sensor for 15 seconds and send it to me to look
[G4 Android Development] eriuzz:
It's too slow that I have to put on airplane mode
[G4 Android Development] genesixxbf3:
Wait ! does it mean that SIM isn't working ?
[G4 Android Development] stefan.kurz:
I try to do so.
[G4 Android Development] stefan.kurz:
Here is the logcat. I cover and uncover 2 Times to make sure you can see the differences. Thx for your support. U are really a nice Admin helping me a few times saving my Phone and make it run better. :good:
[G4 Android Development] kessaras:
You used "Mac" decoding.

Edit it and save it as plain text but without decoding.

Its not editable unless I install decoders here
[G4 Android Development] stefan.kurz:
First of all thx for your support. I have no idea what you r talking about. I opened cmd as Admin, created a log with

adb logcat –v threadtime > c:\adb\log.txt

and put it in a zip file.

What should i do? I googled a lot, but this is like chinese to me....:confused:
[G4 Android Development] kessaras:
You logged out a book ?

adb logcat > <path to pc where you want it>\logcat.txt

For a few seconds only cover/uncover many times the prox sensor. A few seconds only. Don't send book ?
[G4 Android Development] stefan.kurz:
Sry... it runs just a few seconds, but i get a book....
[G4 Android Development] RealCaracas:
We can also use an external app like Gravity Screen to keep the screen turned off... I have installed and it works...
[G4 Android Development] mjheid.muc:
I think the pocket issue is much better with v5.

I carry my cell around a lot during work and haven't had one problem all day.

With Freedom v7.5 and kernel v5
[G4 Android Development] marn3us:
[MENTION=5461026]kessaras[/MENTION] I've been using your v5 kernel since the moment of release and I have to say it is really running fast and smooth after a couple days. Thank you VERY much for your hard work and great job!! :)

I am really liking blu_active but I am not sure if you recommend this or intelliactive (which I really liked on Llama Sweet Kernel). Do you have any suggestions?

Also, I feel the kernel is almost perfect as it is now (amazing job!) but the icing on the cake would be adding Zen v2 I/O Scheduler... That would be so great :D

Thanks again and keep up the great work!
[G4 Android Development] kessaras:
[MENTION=5439136]marn3us[/MENTION], Added.

https://github.com/Suicide-Squirrel...mmit/e5c54f762c3132cff24b59ef11753e05a06005f7

I can't suggest anything. All I can say is that v5 tests fastlane+input boost+Multi boost. That's why it runs so smooth.

On v6 I will default turn off a few and let you all turn on what you like.

Additionally

Input boost is already fixed for next build and the frequency you choose for small and big cores will work.
[G4 Android Development] Minto107:
Sorry I'll tell you more in TG later this week [emoji14] a lot of school work already haha

Sent from LG G4 with G6 UX6.0 ;)