yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] waau:
Hey there, made a test build based on Gamma for the D855

Synced with LOS upstream

Crypto and misc improvements

Disabled touchboost (smooth enough without it)* Edit: I was too overconfident disabling it, expect a new build with it enabled in a few hours ; Edit2: Added a build with touchboost enabled.

Source

https://github.com/wau7/D85X-Kernel-Gamma
[G3 Android Development] Breaksense:
Using LOS with Gamma Kernel. I'm having a very poor battery life. I mean it is so bad that it's discharging while charger plugged in. Wtf did you change, I have a v2.3 and it works flawlessly but anything new, just pure torture for my battery. I can't believe I'm the only one. I have a "clean" ROM, just clean LOS and this kernel. Oh and when in full load it's overheating badly, like thermal control doesn't kick in...

Offtopic: If anyone can recommend me nice, clean, stock kernel which has KCAL Driver, I would really appreciate it. That's the only reason I use this kernel. Damn LG and their LCDs...
[G3 Android Development] eric93se:
I would really like the 500mA charging rate when connected to a PC get bumped to 1000mA. :D
[G3 Android Development] cimdrap:
I know that fast charge isn't enabled here because of battery degrade. This is true for fast chargers hardware side (wall chargers for example) on compatible devices.

AFAIK Kernels can just enable the usb fast charge and cannot change the whole maximum amount of input amperage, so there is not degrade danger at all and it could be enabled safely allowing us to charge the device via usb
[G3 Android Development] EternalFlame:
http://xdaforums.com/showpost.php?p=67487792&postcount=667
[G3 Android Development] cimdrap:
I'm just talking about USB charge that could be allowed to arrive at 1A, leaving the AC as it is. We would not give more amperage that it's stock enabled to.
[G3 Android Development] EternalFlame:
Did you read it? :p

Just go into /sys/kernel/fast_charge/force_fast_charge via root manager set this to 2 then go to /sys/kernel/fast_charge/usb_charge_level and change it to 1000.

Re-plug your USB cable and voila, if you reboot the device though you have to do it again.
[G3 Android Development] cimdrap:
Sorry I don't speak English very well and technical languages are even worse to understand sometimes... BUT... i downloaded an app that should enable fast charge if there is a kernel with that option and it resulted that this kernel has not the fast charge disabled... it is totally absent.

Well this what i understood at least.

Anyway it should be good leaving it there but disabled by default and letting people enabling it optionally with a kernel manager or a third party app like acc lite in the post you linked

EDIT: indeed there is not fast_charge path in sys/kernel directory
[G3 Android Development] EternalFlame:
[MENTION=3392625]cimdrap[/MENTION]

No problem its cool dude and i get it, my bad, i did not check it out if the folder is there and i´m currently not using this kernel :)
[G3 Android Development] ceza1380:
Dude, you have the English knowledge of the queen of England. Your English is not bad.
[G3 Android Development] cimdrap:
:laugh: well i learned it listening to the music and reading this forum (as you can see from my subscription age), so i know a lot of words, but put them together it's another matter
[G3 Android Development] tigger360:
Hi people. Using this kernel with cleaNos and it is running quite well. I only have one issue. When I try to use Spirit FM to listen to offline FM radio, the phone randomly reboots. Anyone have this issue or know how to solve it? Thanks.
[G3 Android Development] minhas729:
Support application:

Please support vs985 if it is easy for you.

Will be waiting for kind answer from op.
[G3 Android Development] bayad:
No, it won't work with stock 6.0 roms because it's an AOSP Kernel :)
[G3 Android Development] Omar-Avelar:
You're right -- let me check that!

I will be out of town in the next couple of days, I will check next week to see how feasible that is along with the D850
[G3 Android Development] minhas729:
Take your time.

If want its testing before. Just PM me anytime.

(I am the team member and media head of cleaNos 7.0 mentioned above.)
[G3 Android Development] cimdrap:
Please add usb fast charge. Charging from PC is a pain (0.5A is too low)
[G3 Android Development] nkirk:
Just to report. V7.1 is working fine with yairs cleanOS ota5. Where can we find the change log? D855 user
[G3 Android Development] foxtaur:
USB fastcharge would be great. Srsly its a removable battery, you can replace it with another if it dies out. I would agree that inclusion of feature is damaging on a phone with a non-removable battery but fastcharge was always that, an option to flick on if one desired. Nobody is forced to turn it on.

Lg g3 batteries go for cheaps now and if you cant find one you can find a zerolemon or equivalent one online and prices for alternative have dropped substantially. I don't see what all the fuss about not including fast charge. Yeah it kills the battery. Big whoop. It takes a while to kill one anyways.
[G3 Android Development] nkirk:
No need of fast charge imo, it's difficult to source genuine batteries outside US anyway. Please make it optional if added.
[G3 Android Development] cimdrap:
There would be a danger only if we increase the speed in charging through the wall charger. Our phone can safely be charged at 1.3A (if i recall it right). Via USB it charges at very lower rate that could be safely increased to 1A (and it still would be under the stock rate), so there is not a problem
[G3 Android Development] cimdrap:
Is this thread working? I saw there are updates in the download page, but there is not an announcement or a changelog... Is the kernel automatically updated everyday even with no substantial changes?
[G3 Android Development] :
Have you tested v7.4 on ota6?
[G3 Android Development] Omar-Avelar:
This is very nice, I will be leveraging these to my builds now too :) nice findings on the SHA256 optimizations btw
[G3 Android Development] waau:
I missed some of them, but here's a squash

Also you need the CONFIG_HAS_MACH_MEMUTILS=y defconfig flag to enable Motorola's memcpy enhancements

I have my doubts but I think that KSM might be the culprit, try the version in the attachment if you are on the D855
[G3 Android Development] jeebspawnshop:
Thanks for helping out with kernel enhancements :good:

Regarding KSM; it has historically been problematic across every phone and every kernel I've tested and fiddled with. It provides minimal memory gains while causing instability and some unnecessary battery drain. Even UKSM achieved little more than this.
[G3 Android Development] :
Quick question, should I be dirty flashing my ROM to get back on my "stock" kernel before flashing new versions of this kernel?

i.e. - I'm on version 66 of gamma, and want to go to 67.

Or can I just flash the new version over the old one?
[G3 Android Development] Omar-Avelar:
I've incorporated some of your commits and changes into the last v67 zip... but Kernel manager is now reporting that the temperature of the CPU is 0.05-0-07 C which I believe could be a quirk coming from one of the commits... I will investigate further as I get more time during the week (tight weeks to come).

Keep an eye on your phone thermals with this test versions just in case and let me know if you indeed find what's happening! :)
[G3 Android Development] waau:
KSM is somewhat a necessary evil, since there are variants of the G3 with 2gb of RAM

Strange, AIDA64 reports it just fine

Edit: btw there are some derps in the msm: memutils: memcpy, memmove optimization commit.

Keep the defconfig one, revert the rest of them, and merge this one instead https://github.com/wau7/android_kernel_lge_msm8974/commit/03f507548f37bb93741732b4f7affa56bea0c898

git cherry-pick --strategy=recursive -X theirs 03f507548f37bb93741732b4f7affa56bea0c898
[G3 Android Development] ceza1380:
This is a Kernel Auditor app issue. Last update broke the app thermal values.
[G3 Android Development] KevinX8:
Same even on stock kernel I have the issue
[G3 Android Development] Omar-Avelar:
Thanks all... and I will update the next version with the proper memcopy and crypto changes from you... thanks for checking on things carefuly
[G3 Android Development] waau:
Uploaded a fixed version if anyone wants to use it

Source
[G3 Android Development] jlb1959.01:
I use auditor mod and have no problem??.
[G3 Android Development] Breaksense:
Flashed. Seems better. Though Kernel Adiutor still shows KSM enabled. The thermal issue remains. Can't figure out the fast overheating... One clue I got is that even on powersave governor the phone heats up, meaning it's the GPU? Maybe 620 is a bit too much?
[G3 Android Development] waau:
Try disabling KSM via Kernel Adiutor, using the phone while charging seems much cooler for me with it disabled. Keep in mind that there's no memory deduplication without KSM and you might experience some increased memory usage. Either that or tweak it also via KA.

Bumping the "Sleep between scans"/ksm_thread_sleep_millisecs value to 5000ms should do the job, also don't forget to tick the "Apply on boot" setting.

As for the GPU clock speed, it runs on slightly lower voltage than stock on most freqs so it should be fine.

Welp, mine gets borked if I get it from Play
[G3 Android Development] jlb1959.01:
see that's what happens when people don't do their home work

1st, there are many many many kernel auditor,kernel auditor,csk kernel auditor apks on android file hosts

2nd, most,I say again most people don't mess with raising or lower GPU settings as that's what causes bootloops,black screens etc,that well documented on xda777 kernel where person after person complained about battery life,black screen as well as bootloop.

3rd. each update effects every model differently,,my case 62 work great battery life and very responsive,last 3 updates I quickly deleted because of terrible battery life.
[G3 Android Development] marcdw:
[MENTION=7308571]jlb1959.01[/MENTION],

LOL, dude, kick back a little. As you can see waau knows what's up. Evident by some of his mods.

Some of us have been around a long time but still like to mess around and tweak until we break something. That's half the fun and part of experimentation.

Don't worry too much about what "most people" do or don't do. A lot expect things to work great out of the box. If it doesn't they'll either complain or flash another kernel, hoping that will work better. Configuring and tweaking is not their thing.

Example: crDroid had kernels based on both aCC and CSK. Lots of options and fully configurable. Didn't matter to most though so Gamma was flashed for instant gratification.

Anyway, lighten up a bit, have fun, and enjoy. ;)

LG G3 D851, Mahdi KitKat ROM, microG Project (NoGapps), MultiROM, Tapatalk 4.9.5
[G3 Android Development] jlb1959.01:
@ times when helping some one and they insists wrongness you got to express. myself survey,look up,review then try,not just down load and complain when no doubt they never knew a thing they were or are doing,I gladly love new advanced ways to improve ALL our devises,I learnt 6,7 yes ago from 2 well known developers to ask,review,re review,research again then ask legit questions,I've bricked,totallybricked,and learnt from scratch how to rebuild,and to end my rant,many developers need and like good persons,giving good advise not people doing trial and error then asking for help.as for your later part in crdroid,that's been my per peeve for a year,as again 4,5 yes ago no one would get advise or help if they installed other than the gapps,ROM.now moderators let a lot ride,don't blame the ROM developer for persons installing experimental aops then ask for help.great ROM,toooo many wanna be developers after the fact.

now I can lighten up,my point is doing home work,then ask,then install..

sorry mate,and mates, ya'l have a great day.

and this is a good kernel,I constantly have problem with heating up,and I use the same daily driver,I go back 4 updates ago and got fantastic performance,and pretty good battery. last 3 updates notvwell for vs985..sorry for correct spell.
[G3 Android Development] waau:
The poster that I've replied to implied that the heating issue is because of the slightly overclocked GPU, however, the peak frequency of the GPU, 620, runs under lower voltage than the stock one that is 578, less voltage less heat right? See for yourself https://www.diffchecker.com/aVwzfjmF. Anyways, I'm not having this argument.
[G3 Android Development] jlb1959.01:
not starting an argument,,well stated on many many forums the 620 is cause of over heat as well as uc to 27.

---------- Post added at 06:56 PM ---------- Previous post was at 06:39 PM ----------
[G3 Android Development] jlb1959.01:
OK,to better explain,again,without using auditor to change the GPU setting the last 2 updates are as attached,the 389/27 gives me 5 hrs sot,vs the previous 620/27 that gives me 3 .6 hrs sot..no need for anything above 578 if your going to use the lower end of 27.. The heat difference is 10 degrees from the most recent to the one before,no I do not consistently upgrade if I find the proper kernel.the most recent update is great for my vs985 and more to the point I don't have to mess with the GPU setting at all.hope I didn't offend you,but i myself enjoy a kernel that I research,down load and only concern is the kernel gov that best suits the ROM,not having to mess with GPU drastic settings,meaning anything above 578 needs several days of use to set up properly..my previous upgrade 64.0 fave me 5-51/2 hrs sot and great performance,only 8 hrs use of the newest upgrade is slightly better with both performance and battery,might add that 64.0 is set to 578/200. Don't quite know how I got into this whole thing,was trying to point out that 600/27 is far too drastic,sorry if I offended anyone..

The new update is great..
[G3 Android Development] nytebird:
Latest version /70.0.0 is great on my device/D851 Best one for me for in awhile .. Cool to the touch Fast and smooth Am going to stick w/this .Will check back in week if anything changes.Thanks!

Sent from my D851
[G3 Android Development] Bi0haZarD:
[MENTION=5103965]Omar-Avelar[/MENTION] Quick question: is it really necessary for D855 32gb/3gb ram for KSM to be enabled by default? I have disabled KSM to save some battery juice since 3gb of ram are enough imho ;)
[G3 Android Development] KevinX8:
2gb is plenty aswell imo, anything less than that would probably need ksm tho
[G3 Android Development] Lucks1710:
Run fulmics 7.6 ?
[G3 Android Development] Bi0haZarD:
Omg read the OP title with CAPITAL letters: AOSP

Jeeeezzz...
[G3 Android Development] seanskiT!:
Read and research. Been asked and answered many times.

NO....this is for AOSP not stock bassd.
[G3 Android Development] Chazy12:
it's possible to set thermal throttling to 75° with this kernel?!

thanks

---------- Post added at 09:12 PM ---------- Previous post was at 08:19 PM ----------

I'm using this kernel and kernel auditor but I don't see the temperature setting.

just Temperature Throttling but I can't set the temperature..
[G3 Android Development] eric93se:
V71, D850, all cores are on regardless of settings.
[G3 Android Development] :
I had been on version 66 running crDroid v3.5 as my ROM on my vs985 and everything was great. Very snappy performance. Tried the latest version yesterday and a lot of the snappiness went away. The phone got laggy. It took an especially long time for my keyboard to open when using my messaging app or anything else where I would enter text. Tried version 68 as well with the same results. Also, on version 66 when I charge the phone the charging info on the lock screen always says 4mA, 5.0V or something close to that. With the later versions it was saying 40mA, 118mA, 27mA....all kinds of different readings I had never seen before. Charging speed didn't seem affected though. It should be noted I flashed back to the stock crDroid kernel by dirty flashing the ROM before flashing gamma kernel each time.

I'm back on version 66. Just thought this info might be helpful for future builds.

Still really like this kernel!
[G3 Android Development] AqCwW:
Dear dev, could you please add the support for f400 branch? There're still a huge number of f400 users out there. We need this super kernel!! Many thanks!!
[G3 Android Development] waau:
There's no core hotplugging on the latest version (71/72) since Intelliplug got reverted.
[G3 Android Development] eric93se:
V73 required a battery pull, D850 RR Rom (also had to reflash magisk 13.3, my rom did not come with root, just the manager).

MpDecision is overriding Bricked Hotplug. I don't know if this is a rom issue or not. Also setting CPU upper limit does not hold, goes to max on it's own.

Rebooting phone, I get MpDecision and Bricked Hotplug both turned on, resulting in one core moderated and the other three maxed.
[G3 Android Development] eric93se:
V74 is running good on my D850. One issue is that it boots with Performance CPU governor, someone without kernel tuning software will have high battery drain. One change to Hot Plug I made was to increase Idle Frequency to 1036MHz to get cores to unplug faster.
[G3 Android Development] Breno Spangler:
I'm testing the 80.1 version with the 30M driver and WOW, quite a performance boost from 78v

Never had similar performance on a nonstock rom+kernel combination.

I ran antutu before an after with great results.

With v78 I was getting what as the standard on my device on aosp 7.1.2, around the 54k mark.

With v80.1 and 30M I got 64k, with out changes on any kernel parameters.

Keep up the good work my friend!
[G3 Android Development] Omar-Avelar:
I've added support for the Adreno-MOB30M GPU userspace drivers which are the latest drivers for the GPU that are available. Before adding this support it would display errors while displaying YouTube videos, and in some miscellaneous parts of rendering.

I will keep flashing of the GPU updated drivers optional yet as some of you guys test it further. But so far I have used it for 4 days without issue. Let me know how it goes for you guys :)

If you need to download the flashable updated drivers I wrote the following under features in the OP:

Updated the KGSL drivers so that we can use the Adreno userspace drivers version Adreno-MOB30M-for-LG-G3-AOSP.zip
[G3 Android Development] eric93se:
D850, RR 8/14 ROM, 80.1 kernel, mob30m driver, newpipe YouTube app, instant soft reboot.

How do I revert the driver? Just reflash the kernel?
[G3 Android Development] EmanuelCN:
in Viper Os 3.0 7.1.2 with this gpu driver and last kernel from 15.08.2017 gamma kernel . When i open a youtoube video i got soft reboot .
[G3 Android Development] Omar-Avelar:
Reflash the ROM + The Kernel *.zip.

I might need to test it then further, I used the updated drivers on LineageOS without any issue so it might be that there are some codecs still that might cause trouble or that the ROM layout of the files on non-LineageOS is different... I will wait and see if someone else with LineageOS posts positive results, and then I can have some data to investigate! :) Thx for the feedback
[G3 Android Development] ceza1380:
Did you see any improvements? Did you use YouTube app or it gets reboot even on Browser?
[G3 Android Development] souler456:
I saw that updated GPU driver issues from way back then, dunno when it was, but I remember thay you have to do a clean flash, then flash that updated GPU for it to work fine... as far as I remember...
[G3 Android Development] EmanuelCN:
Same i found another driver( v141) youtoube work but when i open camera soft reboot . when i open my phone in secure mode camera work fine but i can't play games or another i have only stock apps from android .

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

i use youtoube app

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

But how did u get this score 68k i got only 59 k max ... and i my phone is not fluid same like with solid kernel with 1440p resolution works super smooth

---------- Post added at 02:06 PM ---------- Previous post was at 02:06 PM ----------

But how did u get this score 68k i got only 59 k max ... and i my phone is not fluid same like with solid kernel with 1440p resolution works super smooth

---------- Post added at 02:24 PM ---------- Previous post was at 02:06 PM ----------

Now youtoube videos works but when i open camera ... soft reboot .
[G3 Android Development] Breaksense:
It's been bugging me for a while now... any chance of seeing a changelog?
[G3 Android Development] Breno Spangler:
No problems with youtube not on the camera side of things here.

Did not reflash ROM, just Kernel, Driver, Kernel. ( Did this to test before and after the driver, nothing else).

The phone feels warmer, though.

What app do you use to edit kernel settings, is it kernel auditor ( I do not like it really much) or something different?
[G3 Android Development] eric93se:
Tried again with full clean install, no joy with the advanced driver. I will send a PM with logs.
[G3 Android Development] Breno Spangler:
Update, I also got softreboot with youtube, bot not with every video, seams that the problemas is related to vp9 playback.

I will testes more and report.
[G3 Android Development] gregsoir:
delete
[G3 Android Development] Breno Spangler:
Ok now camera is not working anymore.

I restored the my nandroid backup from just before my first boot on the 80.1v with 30m driver, and for my surprise it did not work from the start... Go figure... Maybe this log can help,

If I made any mistakes on the logging part please correct me.

My gess is that the logcat will not be of any help since it is taken after the reboot, but I have bare some hope on the dmesg
[G3 Android Development] velkeibalesz:
I still use the v44 version of this kernel since months. The best for me. Simple, Good battery life, no overheat, very good performance. But i will try the latest version. :)
[G3 Android Development] showgood163:
VS985 + AICP 12.1 + gamma kernel 80.1 + gpu lib

soft reboot after click on a youtube video

will try full wipe and clean installation
[G3 Android Development] jlb1959.01:
#66.0 seems to work best for my vs985,,performance+battery wise..
[G3 Android Development] Tunghur:
Same for d851

Enviado desde mi LG-D851 mediante Tapatalk
[G3 Android Development] gazcony85:
Download link not working
[G3 Android Development] seanskiT!:
Did you use download tab at the top of the thread? Look above op, if on your device, may have to load in browser.
[G3 Android Development] gazcony85:
OK Got it, thanks
[G3 Android Development] eric93se:
Changelog for v81? :)
[G3 Android Development] kerimcem:
82 youtube not work...
[G3 Android Development] elhennig:
Here it works ok
[G3 Android Development] kerimcem:
youtube app...Adreno-MOB30M-for-LG-G3-AOSP.zip
[G3 Android Development] xfim:
Are you using that extra adreno driver? What version did it work on well and what rom?
[G3 Android Development] kerimcem:
yes adreno gpu driver ...80 81 82 83 not work ....youtube app..d855
[G3 Android Development] xfim:
yeah.. it wasnt supposed to work on aosp roms anyway lol. what rom are you using?
[G3 Android Development] kerimcem:
r.remix
[G3 Android Development] xfim:
You can be happy it even works :D
[G3 Android Development] eric93se:
Full clean install

D850

RR 9/20

driver

kernel

Magisk

Spotify login screen gives instant forced reboot, tried again and same. NewPipe youtube app, when clicking on play, forced reboot.

PM'ing you Dmseg and logcat.

* Does the kernel have to be flashed before the zip??
[G3 Android Development] anrcy:
USB Keyboard integration

[MENTION=5103965]Omar-Avelar[/MENTION] (or the current dev)

Is there any way to integrate the android-keyboard-gadget (hxxps://github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch) into your kernel? I'd try myself, but I have no clue how to do it :o

Also I'd like to ask where I can find the latest sources of the kernel? Last version on github is from 13th August '17, or did I miss something?
[G3 Android Development] eric93se:
Tried again, rom, kernel, driver, magsik. Same results.