yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] deepongi:
not working on cm12... colors all messed up, for ex. OP should have a look at it, when he have some free time to it.

regards.
[G Pad 8.3 Android Development] ckret:
v21

for aosp and cm roms

link in op
[G Pad 8.3 Android Development] SeeMeNoMore:
Hey guys,

Got my gpad couple days ago and I'm getting really tired of that laggy LG ui...

So this kernel is compatible with adrianom's Rom? Since this kernel is based off Franco's it's okay to use his tweaking app? Does your kernel fix those mentioned problems on Rom thread like GPS and back camera?

Sorry that I have to ask but I didn't have time to do the root process etc etc yet :/
[G Pad 8.3 Android Development] sleekmason:
-Deleted-
[G Pad 8.3 Android Development] ckret:
Gps is not kernelsided

Some gpad models have a different camera which hasnt got driver in kernel AND rom wont be fixed in the near future

You can use francos app if you own it or buy it

If you want to flash it over adrianoms rom use the aosp version
[G Pad 8.3 Android Development] vimesUK:
Would it be an issue in going back to build 20 of the kernel, for testing purposes...?

When I flashed build 21, coming from build 20, I then watched several Youtube videos and, at first, I thought that it might have been an issue with the posters recordings but every now and again both speakers made a strong buzz and the video paused and locked. This happened only for less than a second and it took a few times, on different videos that I watched, for me to notice that pattern being repeatable.

Not that it should matter but a couple of vids linked here illustrates that issue for me...

https://www.youtube.com/watch?v=vE-P7zzCCsU

and

https://www.youtube.com/watch?v=PNp2IjVv3HI

...so for me to consider either the ROM (adrianom's Lollipop latest build) or build 21 of this kernel might be influencing that problem I would like to revert back to build 20, should that be fine in flashing an older kernel over a newer one...?

Thanks for the development and sharing of this kernel, most appreciated :)
[G Pad 8.3 Android Development] Deltadroid:
V21 also works with CM11?

So, the CM12 version is also for CM11?

Thanks.

Edit: works great on latest cm 11 nightly. I noticed the kernel version is now 3.4.0. Do you plan on merging the updated kernel version into this or would that break something?
[G Pad 8.3 Android Development] Darkmasterhk:
hi,

just did some benchmarks, normally i don't give much about them, but i wanted to optimize uv setting.

And because as far as i remember in the early days of this kernel some people

complaint about lower scores compared to other. So i thought i share some screenshots, cause since 21 it breaks most of my old records.

about uV:

-100mV possible, but compared to -75mV i lose some points ~1000

settings:

scheduler: row

fsync: off

uv: -75mV 4all

rom: 12-20141208-INFECTED-v500

big thanks [MENTION=2981524]ckret[/MENTION] for all his work :D

and till now it seems like my sd problem is fixed too

(might also be because of the different rom/base)
[G Pad 8.3 Android Development] bjcrj:
Running great on vanir 5.0. Thanks!
[G Pad 8.3 Android Development] Deltadroid:
Oh, it seems this kernel for cm 12 doesn't have the infamous hissing fix included because it was rebased back to stock CM. [MENTION=2981524]ckret[/MENTION] would it be possible to get that fix merged into cm? Thanks for all your help.

Edit: maybe I'm wrong and this kernel is patched because this kernel seems to be fine. I'm not getting any squaking noises out the speakers while playing games. The default cm kernel does that and it's annoying.

Edit 2: knock on doesn't work on cm 11 with v21.
[G Pad 8.3 Android Development] ckret:
well for now i am not planning to go up in linux version

i dont know what the hissing fix is so, maybe if i get pointed to it

about knock on, i dont know why but its not working right yet, iwill look into it when i have time
[G Pad 8.3 Android Development] Darkmasterhk:
sdcard

Hi, it seems my external sdcard is still a bit bugged.

Now, after some sleep, it get automatically remounted,

Which allows me to enter the card again, but sadly also

Triggers the media service.

This one slowes down the tab significantly and runs for a while.

(I'm having some GB of pictures on it)
[G Pad 8.3 Android Development] ckret:
yes i noticed this one as well

my guess is that its related to the rom

i am using the v510 sd card driver which i guess is working fine for the gpe and also should work for us but sadly isnt

eventhough it feels like it is a bit faster and better than our driver
[G Pad 8.3 Android Development] Deltadroid:
I was talking the other day about a "squawk" noise out the speakers that randomly occurs while playing video games with the default cm 11 kernel. Then someone said to me that they called it the "hissing fix" and that someone had already submitted a patch for it to cm but it was never merged. They also said that both ckret's kernel and Rick Roll's kernel both fix the problem. Initially I was just concerned that this fix got rebased out when going to cm12. I wish I could give you more than that. It seems to me like it's an issue with the video drivers since it only occurs when playing graphical games.

Although, I'm not seeing any sound problems yet with kernel v21.
[G Pad 8.3 Android Development] ckret:
are you using cm or aosp?
[G Pad 8.3 Android Development] Deltadroid:
CM 11 nightly right now.
[G Pad 8.3 Android Development] ckret:
i must admit that i dont experience any sound bugs

the only game i play is the springfield game with very low sound :D

i will still look into problems if reported and experienced... cm is kinda meh...

they wont often accept changes and i dont want to bug with them and i am just compiling this kernel for myself to squeeze everything out of this device

right now i am running a modified kernel with gpu only running on touch, hope to reduce batteryconsumption and smooth user experience
[G Pad 8.3 Android Development] Deltadroid:
I haven't experienced any sound bugs with any of your kernels either. I also understand how difficult it can be to get things merged into cm. I was just thinking that since cm 12 is coming, now would be the time to make sure it's working correctly in the stock CM sources. I really appreciate your work on this. :)
[G Pad 8.3 Android Development] ckret:
i wish they would implement everything "clean" but they dont

if you look into the last commits for the touchscreen driver there are so many unneeded changes, atleast ricardo could have sorted them out

or even the device tree has a "fstab.gvar" which should be "fstab.awifi" but nobody cares because it works
[G Pad 8.3 Android Development] vimesUK:
mmm still getting the random, it seems, buzzing from the speakers whilst watching YouTube videos. Any ideas please.?
[G Pad 8.3 Android Development] ckret:
rom?
[G Pad 8.3 Android Development] vimesUK:
All noted in post number 223 .

Thanks for your consideration.

I have uploaded a video of it here and you can hear it at around 16 seconds or so, this one being only a small buzz but you'll get the idea....

[YOUTUBE]nUaEhe26dN8[/YOUTUBE]

hope that helps :)
[G Pad 8.3 Android Development] ckret:
did you experience it with rom kernel?
[G Pad 8.3 Android Development] vimesUK:
No I didn't notice it with the ROM's default kernel.

I have just gone back to build 20 of this kernel and as yet it seems fine with no buzzing BUT I have just started to watch some YouTube vids and so I will report back in a little while.

As noted in post 223 there is a momentary pause which is equivalent to the length of the buzz. A short buzz and a shorter, almost unnoticeable, pause.

I have watched several YouTube vids and if there has been any buzz it has been extremely small.

Going back to the ROM's kernel (which I believe is built upon your own) and it seems absolutely perfect with no buzzing at all. This is how it was before trying these kernels here.

IIRC it also made a buzzing sound when on build 21 and playing World of Tanks. It does not happen when using the default kernel with the noted ROM.
[G Pad 8.3 Android Development] Deltadroid:
I've noticed that sometimes my torrents fail because my sdcard gets unmounted when the device is in sleep mode. The downloads have never failed while the device was awake. Could there be some kind of bug the makes the sdcard remount when the tablet is in sleep mode? I'm testing with CM11 and V19 of mani kernel. I don't recall having this problem with the stock kernel.
[G Pad 8.3 Android Development] ckret:
try this one

http://d-h.st/eLog
[G Pad 8.3 Android Development] vimesUK:
I have downloaded it to try shortly, many thanks for your assistance in this matter :)

Prior to you doing this I have just flash (to test)....

Still on 4.4.2 base

Latest nightly Cyanogenmod 12 (Infected's builds)

Std CM 12 GAPPS

Your build 21 of the CM 12 Kernel

Up to now running YouTube videos it is perfect and has not buzzed or micro-stuttered (when buzzing) at all. But I will test a little while longer. Then I'll nandroid that up and restore my backed up nandroid of the AOSP ROM by adrianom and then install the build 22 of your Kernel and report back.

Thanks again for what you have done and hopefully the above might be helpful to you and others :)

I will report back with my findings.

I will also test build 22 (just posted) for the CM 12 as that has also been updated.

I am getting a little maxed out on YouTube now ;)
[G Pad 8.3 Android Development] ckret:
i think i know why the buzzing appears

cm added some changes about alsa sound controller and i just applied it to the aosp rom

i have to look into them later

so i may still occur on the aosp rom
[G Pad 8.3 Android Development] vimesUK:
Thanks for that and your findings.

I have just restored the AOSP build, is it still worth me reporting the testing with the version 22 kernel.....?

Edit. As you thought it still buzzes with the AOSP build and playing YouTube videos when tested with the build 22 kernel.

Do you feel that this is a ROM problem that the AOSP Dev needs to resolve rather than a kernel issue...?

Just find it or how it did not buzz, but limited testing really, on the std kernel with that ROM. Maybe it would if I had tested for longer...?
[G Pad 8.3 Android Development] ckret:
it is related to the alsa controller

i have no time right now to revert those changes for now just use cm :D
[G Pad 8.3 Android Development] vimesUK:
Sure, thanks for your assistance.

I have gone back to the CM nandroid backup. But would build 21 of your kernel be preferred over the build 22, as that was made prior to finding the issue...?
[G Pad 8.3 Android Development] joseph168:
I lost root after flash v22 with CM12. Any advice?
[G Pad 8.3 Android Development] tmihai20:
Is the AOSP version compatible with the official LG ROM? This kernel looks very interesting.
[G Pad 8.3 Android Development] kaosb0x:
I did to :(
[G Pad 8.3 Android Development] vimesUK:
If you lose root then install the SuperSU zip in recovery. Just search on XDA at the time of noting this it is at version 2.37. There is a beta version 2.39.

It is even better than the Superuser that comes with CM12, but disable that one first.
[G Pad 8.3 Android Development] Deltadroid:
I don't mean to quote myself but..

Would it be possible to build a kernel that still supports the 4.2.2 base files? I believe that the 4.4 mixed base that everyone is using is causing the sdcard to be unmounted while the device is in sleep mode, which makes it impossible to reliably download files onto the sdcard while the tablet is sleeping.

There are sdcard problems inherited by the 4.4.2 OTA.
[G Pad 8.3 Android Development] vimesUK:
Those would not be my findings....

I have found an inconsistency with the SD Card mounts and unmounts and at one time it was getting pretty bad for me. Often this would be when the tablet was woken from sleep.

But I have found that since using this kernel and the Infected CM 12 nightly builds it has been absolutely perfect, obviously using a 4.4.2 base.

I'm using a 32GB class 10 card made by Integral and it has, as yet, never unmounted. Prior to that card I had a 16GB Sandisk Ultra and that too was perfect.

Even using the AOSP LP build and this kernel it would be an issue with the card often unmounting..
[G Pad 8.3 Android Development] Deltadroid:
It would be interesting to be able to compare both kernels where the only difference is between the supported firmware base. Just a good test case. The official cm is based off 4.2.
[G Pad 8.3 Android Development] Darkmasterhk:
I don't think it's related to the base, after all it worked perfect on cm11 (mani < v20)

and the sd problem doesn't appear when using red kernel (should be the same base [4.4.2])

Plus:

so it seems atm the driver doesn't work as expected.

Edit: [MENTION=5227588]Deltadroid[/MENTION] i saw you posted the same question on red kernel, did you get the sd problem with it too?

cause to test the sd issue, i'm using it for some days now and the sd problem never happens.
[G Pad 8.3 Android Development] Deltadroid:
I've experienced many unmounts with both kernels (red kernel and mani) using 4.4 base, but I've also had a few unmounts with 4.2 base when moving large amounts of data on the card. It just seems much less of a problem when I use the 4.2 base.
[G Pad 8.3 Android Development] Darkmasterhk:
oh ok so we speak about different issues then, i'm talking about sleep unmounts not copy, sorry^^

about what filesize do your errors happen?

just tried one 1gb single file and about 1.4gb pictures copied 5times perfectly (5x sd->internal / internal->sd / pc->sd)

even with display off
[G Pad 8.3 Android Development] ckret:
the difference between base 4.2 and 4.4.2 on the kernelside is only one value for screenbrightness

https://github.com/drbeat/kernel_lge_v500/commit/ea739038e70bcfd2becc5bcd460293a73806cc2b
[G Pad 8.3 Android Development] Deltadroid:
Thanks ckret. I should really setup a machine to build on. Problem is my ubuntu is using 32 bit libs and in order to switch over to 64 bit, I'm gonna need to format. :)

But, if you have some spare time, maybe you could just do one test build for us to try? Thanks again for all your help. I will keep trying to narrow down the problem. Everyone says that it started when 4.4 was released.
[G Pad 8.3 Android Development] Zeljko1234:
Indeed, sd card unmounting started with 4.4 official update.
[G Pad 8.3 Android Development] Deltadroid:
I think we are still talking about the same thing. The disk unmounts while the tablet is sleeping.

It happens when I copy a few gigs to my raspberry pi with samba using root explorer while the tablet is in sleep mode.

It also happens when I do torrents while the device goes to sleep.

It doesn't unmount if I don't let it sleep while doing the examples above.
[G Pad 8.3 Android Development] muiriddin:
I first noticed unmounts, related to device sleeping with the official 4.4 release from LG. I have posted several different things I have tested in a separate thread(see below). My initial problems did appear to be a card that was dying. My latest card (32gb Samsung Class 10) is not the problem. I have found that several roms do have a problem, but I do not use my sdcard that heavily in scenarios like you describe. How are you using root explorer while your tablet is in sleep mode? Is this scripted somehow? Any additional way that I can try and test to get something that reproduces so we can send it to LG would be of interest. Currently I'm using Infected's build of CM12 and this kernel and have not noticed a "bad removal" as recorded by the sd card monitor app.

I apologize for derailing the thread further we probably should continue this conversation over in the following thread here:

http://xdaforums.com/lg-g-pad-83/help/external-sd-card-g-pad-try-to-clarify-t2794258
[G Pad 8.3 Android Development] Zeljko1234:
Actually, unexpected sd card removal started with editing one file on stock kk rom to make card writable. If you remember, kk made sd card read only.
[G Pad 8.3 Android Development] Deltadroid:
I believe the card in kk was not read only. It just had a group missing from the permissions. This was just a stock Rom bug.
[G Pad 8.3 Android Development] Zeljko1234:
True (not really difference) but after changing permission, unexpected removals started. I'm 99.99% sure. Right now I'm not able to test but if anyone can could lead us somewhere.

Edit: No, no stock rom bug. That's kk "feature".
[G Pad 8.3 Android Development] ckret:
i am on cm12 and v22 of kernel and not a single dismount

i can revert that single commit but as i said it only defines how the backlight controls the brightness
[G Pad 8.3 Android Development] Deltadroid:
Oh, I understand what you mean, that the kernel is still testable with the other firmware. It's just a little difficult to see because of brightness issues. I will test further. Right now, I'm still on CM11 official nightly and the problem seems fixed now that I reverted back to 4.2 base.
[G Pad 8.3 Android Development] Feed Me:
Battery life is great with your kernel :)
[G Pad 8.3 Android Development] Deltadroid:
I just realized that my new 64 gb sdcard is formatted as exfat. It works mostly, but now I think that is the cause of all my problems. Maybe there is no problem with the base or the kernel. I feel pretty stupid that I never saw that. Should I just try to format the card within the device? That makes it fat 32 I guess.
[G Pad 8.3 Android Development] Zeljko1234:
I've formatted sd card within device and still having unexpected removals.
[G Pad 8.3 Android Development] Deltadroid:
You should try formatting the card with cwm. I still had issues after formatting it with twrp.
[G Pad 8.3 Android Development] Zeljko1234:
Have you tried? I've formatted in with Android... Now I have to change recovery to format sd card?!
[G Pad 8.3 Android Development] Deltadroid:
Well, I usually do all my formatting in the recovery, not within android itself. You can format using both twrp and cwm, but cwm seems to work better at formatting for some reason. Maybe something broke in twrp because twrp has additional support added.
[G Pad 8.3 Android Development] Zeljko1234:
Can you please confirm that formatting with cwm solve unexpected sd card removal?

Logically formatting from Android should be the best for OS itself.
[G Pad 8.3 Android Development] Deltadroid:
I will report back after a day or so to make sure.
[G Pad 8.3 Android Development] Zeljko1234:
Thanks. I have 64 GB sd card, almost full. Copying, flashing cwm, formatting, copying back takes time and right now I'm pretty busy.
[G Pad 8.3 Android Development] ckret:
if you are on cm12 it is because we cant yet write to the sdcard in cm12

so it wont dismount occasionally
[G Pad 8.3 Android Development] bjcrj:
What ROM can we write to the SD card on?
[G Pad 8.3 Android Development] Deltadroid:
After 24 hours of intensive sdcard usage with downloading torrents and moving files around directly on the sdcard, I've not had any problems with my system freezing up since I've formatted my sdcard with cwm. I'm very pleased. That exfat 64 GB card was mounting and working, but it really caused strange lockups with my system. I assumed that if I had a sdcard formatted as exfat, that it would not even be mountable. But, exfat does mount with cm, although it just isn't reliable.

If your sdcard doesn't have a "LOST.DIR" in the root directory, then it's not fat32. If you have a new 64 GB sdcard, then it is most likely default formatted as exfat.
[G Pad 8.3 Android Development] Zeljko1234:
In which format is now your sd card? Fat32?
[G Pad 8.3 Android Development] Deltadroid:
Yes it is fat32 now. That is the only format option in cwm.
[G Pad 8.3 Android Development] muiriddin:
I had never considered the problem might be what program I used to format the card with. I'm going to have to pull out my old "bad" card and test it with a cwm based format...
[G Pad 8.3 Android Development] domg73:
I found what looks to be the cause of bad external sd removals and found a solution... I posted the details here:

http://xdaforums.com/showpost.php?p=57632532&postcount=136

Dev may include it into his kernel if he wants...

Let me know if it works for you guys...
[G Pad 8.3 Android Development] ckret:
i cant extract your zip

it may be corrupt
[G Pad 8.3 Android Development] domg73:
As written in my post it's not a zip... just remove the .zip extension...

The forum won't let me upload a file without an extension...
[G Pad 8.3 Android Development] ckret:
oh ok didnt read everything because your findings gave me an idea

i updated the sleepmodes to aosp versions (gpev510, flo and mako have all the same modes)

https://github.com/drbeat/kernel_lge_v500/commit/b636a01a07f81f4874857022d84a18a4a6041c80

and compiled here a version from my testbranch

if someone can try it and report back

for cm: http://d-h.st/euB
[G Pad 8.3 Android Development] domg73:
Too bad I'm still on kitkat... hope this works for you guys....
[G Pad 8.3 Android Development] ckret:
cm kernel should also work on kitkat and lollipop

nothing changed on ramdisk/partitiontables
[G Pad 8.3 Android Development] vimesUK:
Would that work with Infected's latest CM12 build as it seems to be based on 5.02...…?

As for testing is it just general type use of testing etc.....?
[G Pad 8.3 Android Development] domg73:
Oh didn't knew that... I will test and report then...
[G Pad 8.3 Android Development] ckret:
yes it will also work on 5.0.2 :D
[G Pad 8.3 Android Development] vimesUK:
Not sure what is happening but downloaded four times now and each time the file is only 24kb ....?

Edit. Downloaded fine when changing from Dolphin browser.
[G Pad 8.3 Android Development] Darkmasterhk:
just flashed it, lets see what happens :D

will report back later.
[G Pad 8.3 Android Development] domg73:
Ok test kernel installed... but all power states are enabled... including the C3 (Power Collapse).

C2 (Stand Alone Power Collapse) wasn't available on mani_v19 I was using before....

Let's see....
[G Pad 8.3 Android Development] ckret:
i enabled c2 state

and disabled "suspending" on c3 states

so it wont unmount sdcard (hopefully)
[G Pad 8.3 Android Development] vimesUK:
Did you ever find anyone having unmounting issues when using your previous builds and CM 12.....?

For me it has always been perfect with either a 16gb Sandisk Ultra or a 32gb Integral class 10 card.
[G Pad 8.3 Android Development] domg73:
Hmmm maybe I'm missing something here...

in power_collapse/suspend_enabled I have " 1 " on all cpus...

Does the test kernel just ignore it?
[G Pad 8.3 Android Development] ckret:
oh well i see,

the ramdisk is set to have it enabled :/

i will look into that the next days

cant work on it right now

but if you have suspend_enable to off the unmounting should be gone
[G Pad 8.3 Android Development] TheTeek:
I am on cm11 and with kernel v23test, the micro stutters are back.
[G Pad 8.3 Android Development] Mononon:
AOSP works fine.
[G Pad 8.3 Android Development] Deltadroid:
I tried v22 mani kernel (cm version) with latest official cm11 and everything seems to work well, although, knock on is not working.

Thanks!
[G Pad 8.3 Android Development] Schrotty35:
Which version i need for 5.0 aosp?
[G Pad 8.3 Android Development] ckret:
aosp is not supported right now
[G Pad 8.3 Android Development] Schrotty35:
Ok the kernel is not lollipop ready?
[G Pad 8.3 Android Development] Darkmasterhk:
It is, but cm12 only ATM.
[G Pad 8.3 Android Development] Deltadroid:
I just wanted to mention in this thread that ive created a 4.4.2 firmware base update package for european devices using the v50020B Great Britain image. The bootloaders are not the same as the US versions. I've been testing the euro firmware with this kernel and its working very well on my v500. I even think the sdcard is working better for some reason.. its worth more testing though because the differences are big when i compare the files using a binary diff tool.

http://xdaforums.com/showpost.php?p=57849051&postcount=69