yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] sleekmason:
Great! Thank you. I'm going to overclock to 450 rather than 487. I guess it will either be stable or it won't. I'll run it for a few before I release it. Honestly, I haven't run into a game or other situation where lag was an issue, but hey, it's there:)
[G Pad 8.3 Android Development] sleekmason:
Well, GPU overlooking isn't going to happen. No noticeable gain and seems to cause small screen disruptions when scrolling. So.... No.

I still need to know if exfat works or not. Please test by reformatting an SD card to exfat and see if it functions properly!
[G Pad 8.3 Android Development] sleekmason:
UPDATED - 1-14-2015

Both versions updated for proper module support.

Please tell me if exfat is working!!
[G Pad 8.3 Android Development] sleekmason:
UPDATED LOLLIPOP5.2 AND KITKAT 7.8

These are finally set and acceptable in my mind. Got rid of the extra exfat module and code to keep it lean and used further optimizations for GPU and ext4. These run great. I'll keep up all 6 kernels for a while. The last two had the added exfat support, but being without an SD card with exfat, I am unable to test to get it working properly.

Also, this was added code, and I've been told that exfat does work in the stock kernel? So... Don't know why it wouldn't work in my kernel as there have been no changes regarding file systems or anything else that could affect it's use.

Also, in the stock kernel I don't see any code for exfat support so I find it strange that it was working at all!

Soooo.... We've got ourselves a winner for now, and it's time for me to get back in the woods! Enjoy! Best regards, sleekmason

P. S. Not seeing much activity on the Cyanogenmod front, but the code is almost ready to go on github if somebody wants to give it a whirl. Search for "palman" to see current progress or to help out. If we get it, I'll probably work on that kernel too... Well, maybe.
[G Pad 8.3 Android Development] galaxys:
Have fun in the woods sleekmason! I'll try LP5.2 since I'm now on lollypoop! :D I only use internal sdcard and the cloud on the v510 pad...
[G Pad 8.3 Android Development] sleekmason:
I need somebody with a sd card formatted exfat to try to activate exfat support in a terminal on their device. This means making sure you have either LollipopSleekai5.0 or KitkatSleekai7.6 installed as they are the kernels with exfat support Compiled in.

from a terminal emulator as root do:

su

To get root access, then:

insmod /system/lib/modules/exfat_fs.ko

insmod /system/lib/modules/exfat_core.ko

to activate the modules.

Then check to see if you can read/and/or/write to your sd card.

You can get a terminal emulator app from the playstore. If this works, I can hard copy the commands into the ramdisk and we will have exfat support.

I could really use the help on this, as I do not have access to any sdcards formatted exfat. Thank you.
[G Pad 8.3 Android Development] sleekmason:
UPDATED 1-20-2015 LollipopSleekai5.7 and KitkatSleekai8.0 -

Both updated with support for exfat YES! IT WORKS!! WHOOO!!! and a small optimization for ext4. Also, I reverted fsync default back to "on". Turn off in Trickstermod for faster file performance at the risk of data loss upon a crash. Had this happen to me and had to restore in twrp. Granted, I'm messing with my tablet a lot but be warned!
[G Pad 8.3 Android Development] sleekmason:
Updated 22 January 2015 Sleekai8.1Both.

Both kernels updated to Fsync off (again) and a couple of small changes to code. Also changed the versions to match numerically.

Also added a new 88sleektweaks file for init.d that has preset values for voltage control undervolting, See second post for instructions and zip file. Use Trickstermod if you want fsync on, or use the previous version that has it enabled by default.

I am trying to get away from using TricksterMod as there seems to be some sort of glitch. Not a big deal, just a deal. This kernel is set up the way I want it to be. I am using init.d for voltage control. Gotta love/hate thing with fsync. Like having it but don't like how it affects performance. Anyway, this is probably one to hold on to. Regards,
[G Pad 8.3 Android Development] sleekmason:
Cyanogenmod for the V510 is Here!! http://xdaforums.com/lg-g-pad-83/orig-development/rom-cyanogenmod-12-lg-g-pad-8-3-gpe-v510-t3011130

FYI My Lollipop kernel DOES work with Cyanogenmod12 for the GPE.

If you choose to use my kernel in Cyanogenmod make a backup of boot in twrp first, just like you did before. This way if something goes wrong you don't have to re-flash everything.
[G Pad 8.3 Android Development] cyho11:
exfat working

thanks sleek!

A quick question, I have trickster MOD installed but I don't seem to be able to change the gamma, brightness or contract? I can only see the color correction options.
[G Pad 8.3 Android Development] sleekmason:
Yeah, gamma is a no go for now. Maybe later . . .?
[G Pad 8.3 Android Development] Lttlwing16:
Sorry if I'm misunderstanding, but in regards to the lollipop version of the kernel is gamma corrected (as is listed in the features on the OP), but just not adjustable? I've read through and saw you were employing some help from Franco with the issue, but was still unsure where this stands.

Thanks !
[G Pad 8.3 Android Development] sleekmason:
franco first agreed to take a look, but then blew me off. Kind of disheartening.

Since then, I figured out how I can get it done. When the google developers did the GPE they used some commits that changed a couple of files. I could change those files back and then do the commits for gamma correction, but I didn't really see the point once I thought about it. The screen looks pretty good to me.

so what that means, is that if I get a wild hair up my ass I might do it. But probably won't.

I wrote a how-to on building kernels if you would like to give it a go. Link is in my signature.
[G Pad 8.3 Android Development] Lttlwing16:
Hey man thanks for the explanation, and your efforts. Unfortunately, I was looking for some help with the gamma/screen calibration, and apart from building my own kernel (which would be horrible BTW) you, to my knowledge had the only game in town. Maybe CM12 can offer a solution!

You might also kindly consider removing gamma correction (at least for the lollipop kernel) from the features section of the OP , to avoid having to retell this story too many times. But of course that is your call!

Thanks again!
[G Pad 8.3 Android Development] sleekmason:
I may give it a go. Might be a few days. It will either work or it won't.
[G Pad 8.3 Android Development] Lttlwing16:
That'd be great if you do, and are able to get it to work!
[G Pad 8.3 Android Development] ckret:
the only way to add gamma correction is to use faux123 commits

https://github.com/faux123/flo_nexus7/commits/lp_rel/arch/arm/mach-msm/msm_kcal_ctrl.c

you cant simply add francos way to the gpad
[G Pad 8.3 Android Development] sleekmason:
Yeah, I'm back to faux.. I have the commit from oubeichen compiled in and working. It bothers me that the files are not in mach-msm/lge, but rather just mach-msm.

Do I need your other changes to msm_kcal_ctrl.c initially to get it working? Or are those just fixups specific to your kernel that I can patch later?

And then I need all of the commits in your link above as well? And, do they work with the "standalone" that oubeichen implemented?
[G Pad 8.3 Android Development] sleekmason:
Okay, I see that they do... I will add those commits as well.
[G Pad 8.3 Android Development] sleekmason:
Okay, everything is in place correctly, with no remaining cruft from the original gpe kcal.

But, faux still does not work:( attached is what I get. is there some trigger I need to put in my kernel so that it is recognized by his app?
[G Pad 8.3 Android Development] ckret:
did you add it to your defconfig?

CONFIG_UPDATE_LCDC_LUT=y
CONFIG_LCD_KCAL_STANDALONE=y
[G Pad 8.3 Android Development] sleekmason:
Yes of course. All the commits are patched correctly, with no remaining original files. The tablet is solely on faux commits for LCD etc...
[G Pad 8.3 Android Development] sleekmason:
I have begun working on a CyanogenMod kernel. Will open a new thread later.

Compiled with latest linaro and it already takes out the lag:)
[G Pad 8.3 Android Development] ckret:
as i saw on your git you added the changes correctly

but did you also include the mentioned changes to your defconfig?

it is located in "arch/arm/config/palman-defconfig"

else it wont work

and as i see from your screenshot the "msm_kcal_ctrl.c" was not compiled

if it was compiled the app would recognize it
[G Pad 8.3 Android Development] sleekmason:
Yes, added during 'make menuconfig'. Don't know why it won't see it. The tablet wouldn't work without it so it's definitely configured correctly.

I will try again with the cyanogenmod kernel source a bit later.
[G Pad 8.3 Android Development] ckret:
you have to add it to the "palman-defconfig" by hand

and then run "make palman-defconfig" before compiling

this applies to anything which has config options
[G Pad 8.3 Android Development] sleekmason:
No, this is the purpose of using make menuconfig, so you don't have to hard code into the defconfig.

Dude, I appreciate your concern, but I do know what I am doing concerning kernel compiling. I would not have accomplished what I have without knowing something about it. If it is not working then there is another reason why. I'll either find it or I won't.

My lack of knowledge about github commands, or the fact that I ask questions should not be misconstrued that I am an idiot.

I believe that my kernel, the benchmark scores I have achieved, and the kernel guide I wrote speak enough about my capability. Yes?

I've got it from here but thank you for your concern. Your assertion that working with the gpe kernel is somehow easier than the 500 isn't accurate, and belittles my accomplishments. Those items I don't have in my kernel are either because I don't believe they are neccesary, or don't work as of yet. I'll either figure it out or I won't. Regards,
[G Pad 8.3 Android Development] sleekmason:
New CyanogenMod kernel built with CyanogenMod sources HERE
[G Pad 8.3 Android Development] Lttlwing16:
Sleekmason, your KK kernel has the ability for gamma correction/control? I'm thinking of backing down to 4.4.4 and using that kernel while you continue to work through the lollipop gamma implementation and CM 12 works out the sync bugs.

Thanks again!
[G Pad 8.3 Android Development] sleekmason:
Nope! But maybe the Cyanogenmod kernel will. I'll know more in a day or two.
[G Pad 8.3 Android Development] Lttlwing16:
Gotcha, I'll keep my eye out. Went ahead and took the plunge anyway. Unlocked, TWRP'ed it , backed up everything and am now running your LP kernel over stock. I am very impressed. Keep up the good work!

LG much have not spent much time optimizing this device, as the screen calibration was off, and obviously the stock kernel could have had some work.
[G Pad 8.3 Android Development] sleekmason:
Of interest... The Cyanogenmod kernel works on lollipop as well. Would love somebody to compile the two for performance and battery and let me know what you think.

There should be too much difference but I think the Cyanogenmod kernel may be better... Hmm... Let me KNOW!
[G Pad 8.3 Android Development] sleekmason:
Xposed for lollipop is available for download HERE

THIS IS AN ALPHA BUILD! Meaning it may contain bugs...
[G Pad 8.3 Android Development] sam10000:
Been using SkeekAI kernel KK 8.1 for some time and very happy with it. Just a short note to again thank sleekmason for his superb work.

Incidentally, the (KK) Xposed framework is fully compatible with the SleekAI kernel, isn't it? Thanks.
[G Pad 8.3 Android Development] galaxys:
Yes it is compatible... enjoy.
[G Pad 8.3 Android Development] sleekmason:
Just got another 8.3 gpe. Came with 5.1 on it. No issues rooting, installing recovery, and putting this kernel back on. The init d file makes a difference as well.
[G Pad 8.3 Android Development] sam10000:
Hi

Still using Kitkat with the sleekai kernel and other mods in this thread. Is there a Stagefright patch for Kitkat which can be flashed in recovery, or must I upgrade to 5.1? For the latter route, is it necessary to first flash back to stock Kitkat GPE?

Thanks in advance.
[G Pad 8.3 Android Development] sleekmason:
My last reply in the "roll your own kernel" thread will give you all the info you need on building for the 500

Our gamma problem was solved by simply compiling with the eabi4.7 with the Gamma patch in the kernel turned on. You can access my github at

https://github.com/sleekmason/lg-gpad-custom-kernel

Best of Luck! - Sleekmason
[G Pad 8.3 Android Development] schalmers:
Thank you Sleekmason, I will do as you suggest and change the format to fat32 and see if that resolves the issue. Need to get access to my PC so it will be later before I get results. I will let you know. Thank you, Shaun
[G Pad 8.3 Android Development] schalmers:
UPDATE: All worked after reformatting the SD card as Fat32, I have now flashed your kernel to the tablet permanently. You might want to mention in the OP that the kernel does not support exFat formated sd cards. Thanks again
[G Pad 8.3 Android Development] sleekmason:
As the initial trouble is with Sandisk 64 Gigabyte SD cards formatted to exfat, I would need confirmation of failure with other cards formatted exfat as well. As of now, this is a sandisk problem and not a kernel problem.

I'm glad you have it working and like the kernel!
[G Pad 8.3 Android Development] cdkg:
Great kernel. Please keep up the good work. Too few v510 devs. Your work is very much appreciated.
[G Pad 8.3 Android Development] sleekmason:
New Kernel.

Sleekai4 offering init.d support and access to root through adb. Plus, on the second post is the how-to on using init.d and a script to zip align your apps on boot.
[G Pad 8.3 Android Development] gunnyman:
Excellent
[G Pad 8.3 Android Development] sleekmason:
-Update-

I have just released a kernel that is installable through recovery. See opening post for details. sleekai4.1r - sleekmason
[G Pad 8.3 Android Development] schalmers:
Hi Sleekmason,

1st of all thank you very much for your great development on the v510, been using your v3 kernel for about a week now and very happy with it. I have a question on the new v4 flashable zip version. in the OP you mention that if we flash the zip the only way to return to Stock Kernel is through TWRP backup restore, it would not be possible anymore to flash the original kernel using Fastboot?

fastboot flash boot boot.emmc.win

Can you explain why fastboot would no longer work?

Thank you,

Shaun
[G Pad 8.3 Android Development] sleekmason:
howdy, I was just keeping it simple for those who don't know how to use adb. You should still be able to flash anything you want using adb it is just that I was unable to get an original stock image to work in a flashable zip.

So yes, fastboot will still work even if you use the zip image.

I have adjusted the OP to show just that.
[G Pad 8.3 Android Development] schalmers:
Ok thank you for the clarification, I was just trying to understand why the fastboot method would no longer work. Now that I understand, I can try v4 :)
[G Pad 8.3 Android Development] schalmers:
Hi Sleekmason, I have now installed the v4 kernel and zipalign script in init.d folder. I changed the permissions to 755 (RWXR-XR-X) and rebooted but how do I know it is really working? I tried to run Antutu benchmarks to see if it made the device faster and I was actually the same slightly slower. Is there anyway I can verify that it is working correctly?
[G Pad 8.3 Android Development] sleekmason:
If you look in /data, at the bottom where the files are, you should see two files concerning the zip-align.

To get an accurate benchmark, fully charge your device, leave it plugged in, and start the benchmark then, after the device has cooled off.

I haven't benchmarked the 4.1R, only the 4.0(adb). The 4.1r modifies the ramdisk on the go to accomplish the same thing the sleekai4 already has enabled on the ramdisk. I don't believe there should be any difference, I just like adb better. Seems like I have more control.
[G Pad 8.3 Android Development] schalmers:
Thanks, I see the zipalign.db and zipalign.log so I can confirm it is working. I will run the benchmark again later after charging. I am really happy with your kernel and the development and support you are providing to us v510 users. Thank you.
[G Pad 8.3 Android Development] sleekmason:
I would love to hear a report back from anybody using the zip from recovery option.
[G Pad 8.3 Android Development] mpmilestogo:
I meant to update this but work seems to get in the way. I actually started using my gtab again after your kernel came out and first installed using ADB/fastboot. I decided because I am lazy I guess to use the recovery option this last time and it worked great! I don't install the recovery so end up booting it up only and then copying the recovery file over using adb push and then installing it from the temporary recovery instance. It all worked exceedingly well and I checked the Settings for the kernel and all is good.

Just some basic comments. The latest kernel has some nice gamma by default and the battery seems much better. Performance seems to have gained from stock significantly. I would love to have the double tap to wake option if possible. I really enjoy the elementalX kernel on the Nexus 7 2013 with that feature enabled.

As far as using the recovery option to install the kernel, it went just the same way as doing any other flashing with twrp except I don't have the recovery installed. I may mess around next with the zipalign stuff since the device now has init.d support baked in :)

Thanks for bringing me back to the tablet. I had kinda lost hope that the 510 would ever get a kernel that would allow better use than what I thought sometimes was almost a miserable experience with the default.
[G Pad 8.3 Android Development] sleekmason:
Thank you very much for your in-depth review! I'm glad it is working out for everybody. I wonder if a rep from LG is aware that I solved their gamma problem. Maybe!

Anyway, more to come!
[G Pad 8.3 Android Development] peacewise:
Thanks so much for putting this kernel together - looks like a great feature set. I flashed the latest r version in recovery, wiped cache and let everything settle. However, I'm unable to read my sdcard - is there a setting or something I need to change? Thanks.
[G Pad 8.3 Android Development] schalmers:
If your SD card is exfat you should reformat to fat32.I had the same issue and this fixed it for me. What is the make and capacity of your card? I have a Samsung 64gb that was ok on rooted stock kernel but not on this kernel until changed to fat32. The improvements in the kernel are worth changing the file system.
[G Pad 8.3 Android Development] peacewise:
That's probably what it is - it's a 64gb Sandisc that I used straight out the box. Besides large file ability, is there anything I'd lose reformatting to fat32?
[G Pad 8.3 Android Development] sleekmason:
no, shouldn't be. It's kind of a strange deal with the SanDisk cards. There are numerous complaints of the 64 card not working correctly with other devices. And apparently not with my kernel using exFAT, though this really doesn't make any sense. As far as I know no other cards are affected.

if there is somebody using a Samsung 64 with exFAT could you confirm whether it works or not?
[G Pad 8.3 Android Development] schalmers:
Peacewise, I made a mistake and my card is also SanDisk, not sure why I wrote Samsung...

Sleek Mason, wish I had another brand to help you test but I have only been buying SanDisk for years
[G Pad 8.3 Android Development] 1barlog17:
So I just flashed the Zip in Recovery and I'm not sure how to tell if it did anything. Am I missing a step? Do I need to install a separate app to adjust the screen? I am noticing now that the screen brightness is dimming and getting bright randomly as if I have auto brightness enabled, but I don't I have it set all the way up. This is my first time messing with my Kernal, please let me know if I did something wrong.
[G Pad 8.3 Android Development] sleekmason:
what you are describing, is thermal throttling on your device. You can try to take the device off of the auto brightness and that should solve your problem. The bigger question is why it is doing it at all and I don't know the answer to that.

The kernel, if anything should run slightly cooler than the stock kernel. I would look at what other programs you have running to find out what is making your device hot.

are you using a lot of root apps? If so which ones? Do you have settings for your system that would make it run hot? did you just benchmark the device?
[G Pad 8.3 Android Development] sleekmason:
-Updated-

Added an init.d file for better battery. While it isn't perfect, it is an improvement.
[G Pad 8.3 Android Development] 1barlog17:
That's the weird thing is that I do have auto brightness turned off and it's doing it with it off. I'm not running anything special, pretty much stock, I've changed my soft keys but that's it. I ran it on AnTuTu and got around 2600 when before I was getting around 2750 Thanks for the help and your work on this
[G Pad 8.3 Android Development] sleekmason:
change back to the stock kernel and if it still does it, then it's not a kernel problem, and at least you'll know that much. Let me know.
[G Pad 8.3 Android Development] 1barlog17:
Yeah that's exactly what I decided to do and it still seems to be doing it... You think I have a faulty unit?
[G Pad 8.3 Android Development] sleekmason:
Man!, I think I would back up everything and do a factory reset. I've not had any other reports of anything like that. I've probably flashed my kernels a hundred times or so to test and retest with no issues. It doesn't sound good. But there is hope. Maybe it is a program interfering in some way and a reset will fix it.

Please keep me posted anyway. Best of luck!
[G Pad 8.3 Android Development] peacewise:
Thanks guys, reformatted my sdcard to fat32 and everything is groovy now. Thanks for your work!
[G Pad 8.3 Android Development] sleekmason:
Seems there is a problem uploading large files for the moment . . .
[G Pad 8.3 Android Development] Canadoc:
Going to add the battery saving script to test on my v500.

Other than unzipping and changing permissions after putting it into init.d folder it's there anything else to do?

How will I know anything had changed if I did it right?
[G Pad 8.3 Android Development] sleekmason:
make sure to change supersu to root on boot as well. To see if there are any changes you can open up the script after rebooting and simply follow the path of one of the changes to see if the number has changed. The simpler way is if you have trickster mod install to see if the CPU frequency has changed.

If you follow the directions there shouldn't be any problem, that is, if init.d is enabled on your device. good luck! And let me know how it goes!
[G Pad 8.3 Android Development] Canadoc:
Will do. Did not modify SU yet and checking Trickster mod did not show a change I don't think. What values should have been changed?

Does your script just under clock? Change governor. ...?
[G Pad 8.3 Android Development] Canadoc:
Just noticed I have super user not super su.don't see that option to start on boot
[G Pad 8.3 Android Development] sleekmason:
If you download SuperSu from the playstore, it should replace Superuser, and from my understanding is the preferred app to use for root.
[G Pad 8.3 Android Development] Canadoc:
Ok did that.will tour back battery life after a few cycles. What should be changing in trickster mod
[G Pad 8.3 Android Development] sleekmason:
Trickster only shows change to CPU freq to 1566. The other changes can be seen by following the path within the script. Small changes make a large difference. There are many possible changes using init.d. that doesn' t mean you should, and I didn't change more than a few.

Try it and see if you like it. If you don't, simply remove it from /etc/init.d.

I may make more changes later after doing some more research. For now, I feel pretty good with what I have.