yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kessaras:
No. That was only for Stefan to see if he has hardware problem.

Pocket mode is part of the lock screen and it will always have 2 sec delay to start. The only thing I could do and I did was to increase the prox sensor gain to give a little sooner the command to keyguard to go into pocket mode.

Huge difference. But it's up to you if the battery life will be better or not.
[G4 Android Development] jurastefo:
Hello is big different between stock vs titan kernel. Which is the biggest different battery life,fast or what? Now I using G6 port from Astrako
[G4 Android Development] stefan.kurz:
I tried los and double tap to wake has the same mistake. Works well when the Phone is not in deep sleep. If it is it doesn't work most of the time.
[G4 Android Development] Gigio755:
Because a good kernel/software (everything) is a good one when you release it to use "as it", not that user should tune it after with dozen of unknow settings (without any suggested settings in OP) :eek:

"As it" is pretty laggy and unusable for everydays

i think a lots of users don't care if they need to do 10 things after with kernel auditor to see it rolling pretty well, don't you think? :rolleyes:

so if it will be good and flawless "as it" just installing it and without tuning it after, i will upgrade it

It's just my opinion :fingers-crossed:
[G4 Android Development] kessaras:
Ok.

Don't expect any update with everything turned on by default. It's user side to tune his phone the way he likes not developer side to tune. Developer creates and user tests and enjoy.

The developer doesn't suggest and doesn't trigger on everything. I can't satisfy all the world.

The same way you r not satisfied with some settings triggered off by default , some are not satisfied by them triggered on.

Right ?

So if I trigger everything on someone else will want them off. I don't play games here , I'm developing and get busy with codes only. I don't tune phone to play Pokemon or game of thrones or I don't know what !!!! ;)

And finally check the thanks meter of the thread.

Have you seen another kernel nougat ?

No. You know why ? Because I took f500 sources and h815 Ramdisk and built with zero bugs (from my side. LG bugs were there).

45 thanks when this kernel is used by h815 and h811.

Only 45 people appreciated this on a whole planet among g4 users. Tell me one reason then why not abandon this and develop for my other phone OP3T.

Don't ask me to tune please. Its user side.
[G4 Android Development] stefan.kurz:
It's your choice and i think you r right if you talking to the average user. But you have to notice this is xda. You won't see many average users here. Most of the members have fun with tweaking and playing nerd stuff. Otherwise i would have a stock phone and would have no idea how to install twrp or a custom rom.

---------- Post added at 07:16 PM ---------- Previous post was at 07:13 PM ----------

Right...but i like got! [emoji41]
[G4 Android Development] sirsomething:
I tell you one reason. If you stop the development for this phone I'll have to buy a new one and I don't really want to spend that kind of money right now xD

I think you give too much credit to thanks. Most people just come here because they are not satisfied with their phone and want something better. They don't really care about giving thanks and appreciation to the devs but I can guarantee you they are much happier then they were before using your ROM. I know it's unfair not giving thanks and appreciation but it's the same here and for any phone, it's just that other phones have more people using and so the number of users that give thanks is higher but the percentage compared to the number of people that use it is not.

My point is: a lot of people are enjoying it and you should be proud of your work even tho you don't get enough recognition. I know it's hard but you really are making us happier! :good:
[G4 Android Development] raptorddd:
agree with you theres search. i think the way you have standard kernel is correct. if its laggy choose another governor. play around we dont use phone the same. so it upto us to find out what best work for us some do light user other heavy mulstitasking others gaming.. . keep up the great work kessaras. :good:

[MENTION=5343361]Gigio755[/MENTION] https://androidmodguide.blogspot.mx/p/blog-page.html
[G4 Android Development] stefan.kurz:
Where you bought? Made it by your own or sent the phone in?
[G4 Android Development] Faultles:
Sorry for the off topic if it is, but I noticed a bit of a larger drain in the battery after v6 update and I thought hey, I've meant to change my battery with a new one for awhile so I did. But with the new battery I noticed anomalies. I charged it to 100%, it dropped quite fast. I left the phone on 11%, found it half hour later on 19% without putting it on charger haha! Is that normal with new batteries? Bear in mind I charged it to 100 and I did a calibaration. Will it get normal after a few 100-0 uses?
[G4 Android Development] kessaras:
Don't know either.

I'm too focused on fixing LG source bugs.

Me I havent noticed anything yet. Battery tests can wait for at least little later after I fix everything I can fix. Ignore it for now and don't worry in the end it will be fine.

Edit: [MENTION=6574732]Faultles[/MENTION] I forgot to write the most important.

I'm not a hardware expert but I know a few things.

Battery now is too new. After a few cycles it will be like all g4 batteries. A stock 3k mah battery that will run 100 - 0 in a day or half day.

Always a battery in the beginning holds more than normal but later.....
[G4 Android Development] stefan.kurz:
[MENTION=5461026]kessaras[/MENTION]

Does the screenshot are the right to see whats going on with my sensor and display?
[G4 Android Development] cineq:
I bought frame with LCD assembly on most popular Polish online market Allegro (http://allegro.pl). The price varies from 50 to 60 Euro. I suppose you can easily find similar auctions on ebay.

I replaced it by myself, because it is quite easy. You will find video tutorials on youtube (https://www.youtube.com/results?q=lg+g4+screen+replacement).

Anyway the only "harder" operation is to unstick some parts (camera, vibration motor etc), but the rest is a very simple job. You just have to be gentle and not to scratch/tear of some parts (main camera module lenses, cables). And remember to transfer all rubbers and IR lens, as not every YT video shows this part!

The first LCD assembly I got from retailer was bad (double tap ok, but touch worked in center of the screen only). The retailer send me another one and it has been working fine for 2 weeks. The problem with the first one was very strange, because there was no problem with touch with charger connected! So I assume our LCD with touchscreen is liable to some failures.
[G4 Android Development] kessaras:
as you read too, pocket detection failed.

there is nowhere in the log a proximity sensor reading.

If there was, you would see: proximity sensor : blah blah blah -> pocketmode enabled or true -> then something about keyguard locked

###################################

[MENTION=976442]tulen_kobi[/MENTION] , those r the latest security patches that apply for us.

we dont have f2fs to add the latest backport f2fs.

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

https://github.com/Suicide-Squirrel...mmit/cd1ae5151c0bd7443e6700176ad85d23d49d672f
[G4 Android Development] Gigio755:
First calm down

you ask me the reason why i revert back to v5 and i only replied to you with my personal opinion, but evidently you are not able to read,accept and respect different opinions replying some childish things about "play pokemon or game of thrones" : it was not necessary

i don't expect anything from you, you are The coder, i'm The user (newbie user peraphs) and i just told you my difficulties :rolleyes:
[G4 Android Development] raptorddd:
you read link i gave you? theres reference of what each governor does.

if you want fast phone. use both blueactive, go to governor tunables.. in fast lane it says 0 type 1 and in threshold has 50 if its too much place 25. for both big and low cores.

easy. just editing 2 simple lines.
[G4 Android Development] Gigio755:
Yes really thank you for the link, I thank you before with the button and I will try to do what you suggest. I really appreciate someone explain what to do :good:
[G4 Android Development] kessaras:
thats what is the kernel thread for ;)

report kernel related issues and discuss kernel related things.

you can ask anything. just don't ask me to tune. if i tune , tomorrow someone else will want a different tuning
[G4 Android Development] Faultles:
[MENTION=5461026]kessaras[/MENTION] Which scheduler would you recommend for a light use of few apps? Like I've read deadline seems nice overall or perhaps Zen? Thanks in advance :)
[G4 Android Development] kessaras:
New update ! re-started counter and deleted history, read post #2.

Changelog :

Security patches:!

-BACKPORT: ext4: fix data exposure after a crash

-BACKPORT: FROMLIST: pids: make task_tgid_nr_ns() safe

-v4l2: fixed persistant error

-usb & led: move hub init and LED blink work to power efficient workqueue

-ElementalX: Add elementalx governor

-Elementalx: tune it for g4

-blu_active: check to avoid kernel crash

-Bluetooth: Properly check L2CAP config option output buffer length

-Voltage: reduce CPU retention voltage and slightly the max drain

-Voltage: Droped voltages more

-LED: A little bigger led cycle and a little lower led brightness

-Interactive: remove all log spams

-cpu_boost: boost only if boost for cores is not disabled and only if it's time is not = 0.

fiops

zen -> gaming

cfq -> overall

deadline is a good overall too, but cfq here is tweaked already in kernel and there is no overall io that can work better than that.

fiops is for light very light usage of the phone. example, use it to read news, browse to web , messages and some photo shot sometime.
[G4 Android Development] mortirolo:
Hello Kessaras.

I just wanna give thanks for your job on an older phone such G4 and ask you why the latest version doesn't follow previous numeration, last one (the one i have) was v6. Also i can't see older ones on the repo folder.

Regards from Spain.

Enviado desde mi LG-H815 mediante Tapatalk
[G4 Android Development] kessaras:
you are browsing from xda app ?

the title of the post said read post #2.

As of now all lg bugs are gone and kernel is more stable than the stock from lg so i restarted counter and deleted history; there is no reason for that history anymore. Eh, i also wanted the same counter for both variants cause sometimes in pm's or in Tg we get confused !

The only thing thats not working is the radio cause sources r from f500, i hope soon we get the international sources.

P.S.

I love this phone ! It may be old but it's better than most of the phones in the market even now. If only we had a 3500mah battery........it'd be my best !
[G4 Android Development] mortirolo:
Thanks for your quick explanation! I'm browsing through Tapatalk and on tittle of thread appears V.1.0.

Then i understand that the V 1.0 is the same as V.6 or is an update ?

Thanks.
[G4 Android Development] kessaras:
update. i would never change the number and still have same build inside. that would be lame of me !
[G4 Android Development] grinch247:
Formatted SD card and titan is running perfectly ???????
[G4 Android Development] grinch247:
We really do appreciate all your work brother ?
[G4 Android Development] jurastefo:
Is some compare battery life between stock kernel vs Titan kernel?
[G4 Android Development] mjheid.muc:
Could you fix that problem with the sensor that resulted in app starts etc. while carrying in a pocket or bag?

I don't remember which one it was?
[G4 Android Development] kessaras:
Battery life overall is the same. I increase performance but I gain from other things.

Not in kernel level. Pocket mode in roms has 2 sec latency that results in unlocking.

In kernel I could only increase sensor gain and I did.

Then pocket mode which is embed in lockscreen app takes sensor value and give command to keyguard to lock.
[G4 Android Development] akorenyok:
Thank you very much Cat with a cigarette !!!

:хорошо:: D
[G4 Android Development] Bullnados:
Nice job, will test this vt30 port

In the normal version 2 Big Cores are disabled right? And in the other version all big cores are disabled?

Is stable date 04.09? Cause upload date is 16.09?
[G4 Android Development] kessaras:
Thanks to [MENTION=5776465]genesixxbf3[/MENTION], Titan can now work with Los based roms too.

I will add proper thanks givings to OP and you can test titan anytime.

Uploaded h815 and after i test h811 you will find it in kernel folder.

H815:

https://androidfilehost.com/user/?w=settings-dev-files&flid=216107
[G4 Android Development] genesixxbf3:
So sim works right ?
[G4 Android Development] kessaras:
yes,

its perfect !

Everything works up far until now.

EDIT:

but i will need a few logcat for the camera. 1st build at least is stable.
[G4 Android Development] stefan.kurz:
Do you mean the stock cam
[G4 Android Development] genesixxbf3:
Will test with my kernel then let's see
[G4 Android Development] kessaras:
lol.

hi, yeah. Everything works except camera and ADB doesn't ask for permission.

[MENTION=5776465]genesixxbf3[/MENTION], besides those 2 its so stable that doesn't even give an :Error.

09-17 16:42:31.634 7175 7175 E mm-camera-img: module_imglib_create_topology:742] Can not init the module imglib_trueportrait
09-17 16:42:31.635 7175 7175 E mm-camera-img: frameproc_comp_reload_lib:1049] Error opening frameproc library libmmcamera_stillmore_lib.so error dlopen failed: library "libseemore.so" not found
09-17 16:42:31.635 7175 7175 E mm-camera-img: frameproc_comp_load:937] cannot load libmmcamera_stillmore_lib.so
09-17 16:42:31.635 7175 7175 E mm-camera: module_imgbase_init_imglib_stillmore:2207] Error rc -6
[G4 Android Development] genesixxbf3:
Camera used to work fine on my build
[G4 Android Development] kessaras:
but had no sim. at least we have a progress here :D

https://gist.github.com/genesixx/803d64ed6248ee033c2b

same bug 2 years ago at line 1666
[G4 Android Development] genesixxbf3:
That's just LG crap blobs referenced doesn't not even exist

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[G4 Android Development] kessaras:
any idea how we can fix this ?

it's totally a ghost bug. This lib is nowhere to be found and i can't even find it's dependancies in the cam app
[G4 Android Development] genesixxbf3:
it's not a bug. It's just log crap
[G4 Android Development] kessaras:
so thats it ?

we choose sources, either no sim either no cam ?

i can't accept that :P

there must be some way around this
[G4 Android Development] genesixxbf3:
Hum?

Cam is working here

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[G4 Android Development] kessaras:
los official ? RR 7.1.2 doesn't.

gives the above error.

it needs this module ?

https://github.com/Bigcountry907/HT...r/modules/imglib/modules/module_imglib_defs.h
[G4 Android Development] genesixxbf3:
Cause you need lastest blobs as it's not merged yet only my los work
[G4 Android Development] kessaras:
lol !

Ok....!
[G4 Android Development] genesixxbf3:
give a try to LOS to see if sim work
[G4 Android Development] Gigio755:
really thank you about this blu_active governor indications, i just love how it runs everything and battery life. I placed thresholds on bigcore to 30 and littles to 40 :fingers-crossed:
[G4 Android Development] mjheid.muc:
That means only LG can fix it?
[G4 Android Development] kessaras:
No.

It means that LG has to fix it.

That's how it works. That's exactly what ota is for not to push 2 security updates in a year and goodbye ?
[G4 Android Development] mobidor:
Huge battery drain over night (15% in 6 hours)!
[G4 Android Development] kessaras:
Good :good:

I hope you can find what's causing it. Here I can get through the day with 5 to 7 hours sot easy.

Better find it otherwise you will have to take the charger with you.

Added screenshot from yesterday , this one I showed in a team of devs i participate. I hope that screenshot is enough as an answer.
[G4 Android Development] marn3us:
Wow great result!! Can I ask you what ROM you are using?
[G4 Android Development] kessaras:
RR but I have no cam yet. I wait for genesix to update his blobs or me to fix sync errors and finally sync and build.
[G4 Android Development] Litderose:
Hi Kessaras, may I ask you which version of RR you are using ? Official or unofficial ?

Thanks !
[G4 Android Development] 94burns:
Hi guys, flashed the kernel along with v30 port and I'm getting these qpnp and Wlan wakelocks. Any ideas? Thanks
[G4 Android Development] kessaras:
7.1.2 latest

search here https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4 with keyword wlan_rx and if you find that wakelock show it to me too.

Maybe you want to have wifi always on ? There should be something then that keeps wifi always on otherwise it will go off.

And there is something that keeps wifi on but its in rom not in kernel.

Use wakelock blocker and block it IF you find it......... then go give 5 stars rating to that "app sucker" ?
[G4 Android Development] andrewfx1:
Φίλε μου με τις αλλαγές που έχει το kernel σε εμάς με προβληματική motherboard που χρησιμοποιώ μόνο 4 πυρήνες κάνει το κινητό αισθητά πιο αργό..δοκίμασε το με 4 πυρήνες και θα δεις..φλασαρα πάλι το κανονικό με 4 πυρήνες και πάει πάλι σφαίρα!

Στάλθηκε από το LG-H815 μου χρησιμοποιώντας Tapatalk
[G4 Android Development] kessaras:
[MENTION=4296077]andrewfx1[/MENTION],

Don't use Greek. Unicode in XDA app has trouble with Greek.

Decrease the timer rate of the governor.

I can't tune the kernel for 4 cores , cause 6 cores will have huge battery drain.

At least decreasing the timer rate will do the trick.
[G4 Android Development] SunBlaze:
Hi,

I've just updated my G4 (H815) to A29 Nougat and installed Magisk.

running the SafetyNet check fails on ctsProfile, which I think comes from the unlocked boot-loader.

Which brings up my two questions.

1. Is your Kernel reporting the Bootloaderstate to the OS so SafetyNet is triggered?

2. Can I even use your Kernel since you Folders on AFH state either AOSP or NoBigCores?

-> so since I run on stock ROM I can't use AOSP and would have to use only the small cores?
[G4 Android Development] Minto107:
1. It's ROM issue that's a shame you didn't read about the issue, it's already solved by flashing safetynet fix in magisk

2. You can run this kernel on stock LG ROMs, on AOSP/LOS or run it with only small cores, especially for people with malfunctioning motherboards
[G4 Android Development] Ciccius-IT:
Tried, but Magisk give me error in zip elaboration for every module that I try to download, and can't solve this issue. Any suggestion (OT)?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] SunBlaze:
Try to manually create a Folder named MagiskManager on your internal storage
[G4 Android Development] kessaras:
Yes. Use magisk thread for magisk bug or safetynet fix pass for safetynet pass issues !

I'm not the guy for fixing everything !

My part it's done and you have zero bugs.

....

What magisk version are you using and it doesn't let you install modules ? Magisk 14 running here it's great.

( Also I want to inform for one thing - Everyone not you )

Magisk 13 worked so good because I was there in magisk thread helping them with bugs. For magisk 14 I didn't even try to help them.

When there is a new magisk beta , at least 1 person from each device is enough to help everyone run without bugs.

But.... I can't always be everywhere... Magisk , image kitchen, freedom rom, Titan , and I try at the same time in secret to make my own Roms with SlimRom ((trying)). Errrrr...ok.... I'm human lol !

Next time (build) cooperate with XDA devs and help them to have everything working without bugs.
[G4 Android Development] Ciccius-IT:
The problem is with Magisk 14.

I know you can't help us for this issue, and I didn't ask for it before. I just wrote because an answer on Magisk to another guy.

Many thanks to you for your work. We all appreciate what you're doing sure.

P.S.

One thing, bugs with BT are here. Ask me if I can help you in some way.

Inviato dal mio LG-H815 utilizzando Tapatalk

---------- Post added at 10:09 PM ---------- Previous post was at 10:07 PM ----------

Great! Worked!

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] kessaras:
And i wish i can fix it..... i asked for logcats but i never got them....

As i said before the only thing you can do is,

1) Tell me if an older MM kernel used to work with that device.

2) give me logcats.

First clean log using logcat -c, then

start taking a log using the

logcat *:E command to log only errors and try re-produce the error (connect to the device blah blah blah) ctrl+C to stop logcat and send it to me.

adb logcat *:E > {path where to be saved}/logcat.txt
[G4 Android Development] Ciccius-IT:
Before I was using Imperium ROM and kernel, last version, and all works great.

I will send you logcat asap.

Could I use logcat app from play store?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[G4 Android Development] thermskin:
Hi [MENTION=5461026]kessaras[/MENTION],

here is a BT logcat whan scanning for my mi band 2.

T.
[G4 Android Development] kessaras:
Of course !

I hope the app can log only errors otherwise I'll get the whole Bible in a txt lol !

Edit:

Latest imperium has same drivers.... LG only changed an integer and reverted them.

Maybe your problem is in a file in rom or in a lib. I'll take a look this weekend that I will have time to download our old MM 20p.

Also gimme that logcat. It doesn't harm to take a look at it.
[G4 Android Development] akorenyok:
removed
[G4 Android Development] Ciccius-IT:
Tfhjng to pair my old Nissan Qashqai BT radio. http://cloud.tapatalk.com/s/59c6dd8d2eeaa/2017-09-23-19-32-50.txt

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] eejee:
Attached a log with four attempts to connect with Bluetooth device (Jabra headset). The second attempt failed, the others went ok.
[G4 Android Development] Ciccius-IT:
In kernel adiutor i noticed that big cores stays always active at 50'% of load. On conservative governor this make that frequency of cores stays at minimun, but if I choose another governor (I tried blu active, interactive and elementalx) they go up to max frequency all the time.

Did anyone else noticed this? Or it's a problem only of my setup?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] kessaras:
You remember that you did not want to update ?

Go to the op click on the link where you can see my everyday work and go back to September 11. Fix is there :)
[G4 Android Development] RogerBoy123:
Stock huh? So I can't flash it on LineageOS 14.1?
[G4 Android Development] kessaras:
not yet. i have built once but its not tested as i have no time.

working on aosp now. you will know when, it will be announced.
[G4 Android Development] Ciccius-IT:
Uh!?

Me?!

I'm not the person you're talking about.

I'm not a developer, I can't understand a single thing on your github ☺

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] a tiny ant:
So one thing I didn't find very clear, even from the first page, is this kernel meant for people with motherboard issues or for people trying to prevent it?
[G4 Android Development] marn3us:
This Kernel is meant to be an amazing kernel if you are using stock Nougat on an unlocked G4. That's it ;)
[G4 Android Development] kessaras:
Great news guys.

Just booted aoscp after fixing many bugs.

Special Thanks to [MENTION=5545101]steadfasterX[/MENTION] for his guidance, I couldn't do it without it since until recently I was new to all this.

To [MENTION=5776465]genesixxbf3[/MENTION] for all his hard work to bring us updates to blobs and device common parts.

And ofc to me for working so many hours on this...!

Soon you will all have

Titan kernel for aosp/los based

Official updated AOSP

and ....... ;)

Last picture shows that video rec and save work with Titan.

Semi-last picture shows that I use Titan this moment .
[G4 Android Development] Litderose:
This is a really good news.

Thank you for your tenacity !