yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] sleekmason:
if you could reboot, and try it again, it would be much appreciated. I noticed that it takes a bit of pressure to get it to respond, where maybe it shouldn't because, if you're not really thinking about it you should just be able to hit it real quick and get in. Anyway, if you will check that first, I will then also see if I can find the sensitivity for that particular setting and get it up a little :)
[G Pad 8.3 Android Development] SCWells72:
Works fine after reboot. Weird. Stand down...nothing to see here! Thanks for the great support!
[G Pad 8.3 Android Development] sleekmason:
Lol! I'll still check out the sensitivity settings if they are separate from the overall tablet.

Let me know how you like interactive as default, and what kind of battery life you are getting!
[G Pad 8.3 Android Development] sleekmason:
UPDATED LollipopSleekai4.3

Now using Linaro toolchain 4.9.3 Dec.2014 Linaro has optimizations the google toolchain doesn't, though actual benificial changes are open to debate. There may be some.

I added Five new IO Schedulers for you guys to play with. Use TricksterMod App to change around and see what you like. Row is still default. Find out which is the best for battery and performance and let me know!

Added an optimization to writeback to delay until the screen goes off, possibly giving better performance and battery. Seems to be the case.

More to come! Enjoy!
[G Pad 8.3 Android Development] techinv:
Well, since no one else has chimed in, I have to say that 4.3 is working very well for me, and just a bit snappier using on demand rather than Wheatley. I'm not the best at battery observations, but it certainly doesn't seem worse than before.
[G Pad 8.3 Android Development] sleekmason:
Well, Have made a few optimizations to Linaro, as well as enabling nwfpe and nwfpe_xp, which, are settings for Floating Point Emulation. (look it up.)

I havent uploaded another kernel with those options enabled yet. There are still a couple of changes to make before uploading a new version.

That being said, along with some of the changes i have made earlier, here are the benchmark scores I currently have using antutu. Do they really mean anything? eh... maybe.

Total score; 29,014
[G Pad 8.3 Android Development] sleekmason:
which kernel version? It should now be Interactive as default.
[G Pad 8.3 Android Development] techinv:
Yep, my mistake. It's interactive, I'm using version 4.3.
[G Pad 8.3 Android Development] sleekmason:
Excellent:)
[G Pad 8.3 Android Development] sleekmason:
UPDATED 23 DEC 14

I have incorporated Userspace Voltage Control by faux123. The settings for this, along with a couple of others can be found using Trickstermod App from the play store. Look in "Specific" for the settings to change

What settings are best? you tell me! I am kinda digging it though. Might be better battery life if you are carefull not to over do it.

If you set values too low, your tablet will shut down. Do NOT have trickster change these values on startup until you are sure everything is groovy.

I also implemented NWFPE in Floating Point Emulation, along with a couple other optimizations for Linaro. Better? Sure, why not.

Also made optimizations to memcpy for the cortex A15, which we have. Also changed one of the values from an incorrect 32 bit, to the correct 64 bit, and some other values.

More to come! Hit the thanks if you like all this. Makes me work harder!

Subscribe to this thread and get instant emails when something new comes out. Regards,
[G Pad 8.3 Android Development] sleekmason:
For my own kernel, I am using interactive and row, have both my init.d script (first page) and zip align, and have only changed three voltage numbers, as they are the ones I use the most.

For 384000 -- I use 550000

For 1026000 -- I use 900000

For 1566000 -- I use 1000000 this is my underclock highest frequency in my init.d script

I havent bothered to change any of the other frequencies

You should not go any lower than 500000. There should be failsafes in place to not allow anything below 500000 or above 1200000. That said, I certainly wouldn't raise the voltage anyway, and the jury is still out as to whether it really saves enough battery to matter.
[G Pad 8.3 Android Development] sleekmason:
UPDATED -25 DECEMBER 2014 CHRISTMAS RELEASE!!

And what a release it is!

Have added Frandom, which is much faster than Urandom - Provides speed increase.

Fsync control using Trickstermod on/off -see "specific" in Trickster Model for this, and several other settings. Stability vs speed.

More logging disabled -speed increase.

reverted a small fix to NWFPE to decrease kernel size.

More A15_cortex optimizations.

More writeback optimizations.

MemUtils -memcpy - completely revamped for speed.

Enabled non-cacheable streaming enhancements -For speed and stability

Compiled with o3 optimizations for even further optimizations.

Turn off Fsync for speed increase. up to you, but faster if you do. Noticeable.(recommended)

*Note - This does allow for data loss if your tablet powers off unexpectedly, but only within seconds of a data change, when saving a file, etc. For normal use it's not really a factor. Mine is disabled, and the difference shows in opening/closing apps.

This kernel now ROCKS!!! Check out my new antutu score, 30724

Merry Christmas!!

There is still more to do including Gamma Control and maybe some networking tweaks.

Show your support by offering your thanks! Also, Tell me what you think!!

Regards,
[G Pad 8.3 Android Development] techinv:
Sleekmason:

Gotta hand it to you! A Christmas night release! Thanks for your work to keep this tablet humming. Loaded the latest and turned fsync off. I don't run many demanding apps, but I use Candy Crush to help me gauge performance. It does seem a couple of ticks faster in opening and also screen transitions.

Keep up the good work!
[G Pad 8.3 Android Development] SCWells72:
Between lollipop and your kernel the GPE is ridiculously smooth! Nice work, as always!
[G Pad 8.3 Android Development] sleekmason:
Updated 27 Dec2014 - Added version 4.7.1, with fsync default to off.

I think the tablet runs a lot smoother without the fsync and a lot faster. Anyway, for those that want smoother performance, this is a good choice.

I know I don't like having to change settings at every reboot, this release takes care of that. The only thing it doesn't take care of is the undervolting, which I will not change with any default numbers lower than what the tablet comes with. That will be up to you.
[G Pad 8.3 Android Development] sleekmason:
Thank you, and I agree! Here are some interesting facts as well:)

4.7.1 is the 48th iteration of this kernel, with well over 60 distinct changes from the stock kernel and 36 different commits posted to github, each adding some unique characteristic, a beneficial change. (4.7 has some cool numbers associated with it as well).

The hardest ones for me were of my own making. Using sed, a programming language, to make changes to the ramdisk on the fly, I was able to add the Bluetooth tethering, and allow interactive to be the default governor.

Also, for those not using my script, you should think about doing so. It only makes a few changes, and smooths out the device even further with no detrimental loss of power. It is the 88sleektweaks script for use in init.d. You can find it on the second post.

by the way, all of this work has been accomplished on a ****ty 5 year old laptop. You don't need some top of the line system to make things better for others. It might take a little longer to compile, but the end result is the same.

Anyway, let me know if there is something specific you guys want and I will try to accommodate. . . All 50 of you! Lol.
[G Pad 8.3 Android Development] techinv:
A couple of questions. I'm running the STericson Busybox Free app, ver 1.22-1; but I don't have the /system/etc/init.d folder. Is there another version of Busybox that's recommended and/or is something wrong with my installation?

Also, once I figure out this issue, do you just copy the 88sleektweaks script to init.d and change the permissions as mentioned in the second post?

Thanks
[G Pad 8.3 Android Development] sleekmason:
Hi! for best performance you should use the latest kernel 4.7. 1. And then for init.d, you have to make the folder yourself in /etc (/system/etc). Unzip both the 88sleektweaks zip and the zip align zip to expose the actual scripts. Then place 88sleektweaks and the zip align script in init.d, check your permissions, and reboot!

The busybox you are using is fine:)
[G Pad 8.3 Android Development] sleekmason:
Let me know how much of a difference (if any) it makes to you. It certainly seems to to me. It's not huge but like everything else, it adds up!

If I can get some good feedback, I could probably script it into place.
[G Pad 8.3 Android Development] techinv:
Man, it seems like you never sleep :) , but I'm grateful for the speedy response as usual. I am using 4.7.1.

I have another question/problem now that I know is simple, but I can't seem to figure it out. Both rootexplorer and ES File Explorer won't let me create the init.d folder. Rootexplorer is telling me that the filesystem is read-only.

I can remember from much older versions of Android that there was a program that allowed you to mount / as read/write, but I'm not seeing any option like that in any of the apps on the G Pad. Suggestions for resolving this?
[G Pad 8.3 Android Development] sleekmason:
if you are rooted, you should be able to read and write to any file in your system! I use the program Root Browser as my file explorer. And in root Browser, all you have to do is hit the Add button and create a folder named init.d in /etc.
[G Pad 8.3 Android Development] sleekmason:
You could also open a terminal emulator, su to root, and type

mkdir /system/etc/init.d
[G Pad 8.3 Android Development] techinv:
Interesting stuff.... I am rooted. I just downloaded Root Browser and was able to create the folder. But I couldn't with the other 2 file managers, even though both have root capabilities. Oh well.....will install the tweaks and give some feedback tomorrow.
[G Pad 8.3 Android Development] sleekmason:
I know! Right! I had the same problem with ES File explorer. Root browser seems to work much better. Thank you for the feedback!
[G Pad 8.3 Android Development] NHLWil:
Even though you're rooted and it will ask for permission when creating a file in /system, ES File Explorer has write permissions turned off by default. You'll need to go to Tools and turn the "Root Explorer" option on before you'll be able to write to /system.
[G Pad 8.3 Android Development] techinv:
I had that option turned on last night and still could not create the folder. I did notice though that the option was turning off after each attempt. Root permission was definitely granted to the app however.
[G Pad 8.3 Android Development] ikogsakanding:
How to root on lollipop?
[G Pad 8.3 Android Development] sleekmason:
Download SuperSU beta from here on XDA. Please refer any other questions you may have to the appropriate section. This thread is about the v510 kernel only, and while once in a while other issues are discussed, they always revolve around the kernel. Thank you for understanding. Regards,
[G Pad 8.3 Android Development] techinv:
Installed both the sleek tweaks and the zipalign script and they do smooth things out a bit, as you suggested. Like you said, the little improvements add up. I'm very happy with the performance and responsiveness that I'm getting.

Once again, keep up the good work. Happy, healthy, prosperous New Year to you Sleekmason and to everyone else here!
[G Pad 8.3 Android Development] timeslip1974:
Amazing job and as a plus has given me an extra 10 fps in world of tanks!
[G Pad 8.3 Android Development] sleekmason:
UPDATED -- KITKAT KERNEL ...WHOOO!!!!!

Tired of Lollipop yet? ;) I just updated the KitKat kernel to all the options that the Lolipop kernel has except for the addition of the Wheatley Governer, cause it kinda bites, and the extra IO Schedulers because none seem to work as well as row.

Knock on enabled by default

sweep to sleep - option

Fast charging

Voltage control

Sound control

Screen control

Fsync option

Row IO

Interactive Governer

Bluetooth and USB tethering

Init.d support

Frandom instead of Urandom

NWFPE (Floating Point Emulation)

Lots of Debugging Removed

Optimized Compiler Options

Lots of other Optimizations

And More!!

Everything else is there!! And it is fast!!! Will get an antutu score after a while, but even hot, and not charged, scored in the mid 28000's. I expect an equal score to Lollipop even though it's Dalvik instead of ART. We will see soon;)

Edit** Antutu score = 29,893. That's a keeper:) close enough to the Lollipop score to feel pretty good about it:)

Xposed is back on baby!! lol.
[G Pad 8.3 Android Development] Schrotty35:
Will test now.
[G Pad 8.3 Android Development] sleekmason:
It looks like you have both devices? Anyway, let me know what you think!
[G Pad 8.3 Android Development] sleekmason:
Thank you! And to you as well. Glad everything is working well for you! Updated the kitkat kernel as well today.
[G Pad 8.3 Android Development] galaxys:
Since I'm still on kk, I'm going to take the updated kernel for a spin. cool
[G Pad 8.3 Android Development] timeslip1974:
Is there anyway to restore the original kernal aside from reflashing lolipop ? Love the new kernals features but the battery drain is realllllllyyyy bad
[G Pad 8.3 Android Development] sleekmason:
Huh, didn't notice that myself. You can restore your backup of boot that you made before you flashed my kernel.
[G Pad 8.3 Android Development] sleekmason:
Let me know what you think. Seems much smoother to me. Tell me if you notice the screen being brighter. The way I was able to get knock-on default was to add a whole page of code from the lollipop kernel. For some reason, the original KitKat didn't have it, and in the lollipop kernel it was not on by default.
[G Pad 8.3 Android Development] sleekmason:
out of curiosity, which version were you running? Because if it was the Wheatley as default I would agree with you. If you haven't tried the latest version, maybe you should.
[G Pad 8.3 Android Development] SeeMeNoMore:
This seems nice. Is there really no way to port this over to the aosp v500 version ? :/
[G Pad 8.3 Android Development] sleekmason:
Sure! If you have Linux installed, you can use the 500 kernel source and make one! Look in my signature for "Roll your own kernel" or the link in the op.
[G Pad 8.3 Android Development] SeeMeNoMore:
oh never saw that on the phone. will give this a try when i get some spare time. thank you!
[G Pad 8.3 Android Development] galaxys:
After som KK usage:

- seems smoother

- knock on works

- screen looks slightly brighter

Are there color profiles available?

-not sure about battery

Phone Idle was up to 27% in Battery stats, which means it's not in deep sleep....

Also is CPU Freq range 1026-1728 correct? Mine now seems to always run high 1728! Thought before it would idle down to 384?

I plan to move to LP soon...

Keep up the great development
[G Pad 8.3 Android Development] sleekmason:
Thank you! These are the things I need to know!

I will look into the deep sleep and the lowest frequency. Somethings not right there. In trickster under info it shows it entering deep sleep, and in the moving bar graph under info it shows CPU 0 going down to 384, but under general, it reverts the lowest back to 1026.

Check out the screenshot of trickster.

The only changes to color will have to be made through trickster and saved on reboot.
[G Pad 8.3 Android Development] sleekmason:
Battery is okay as well. Just went over 7 hours screen on time with 17% left over. Details are in the general section under a new post called battery life.,
[G Pad 8.3 Android Development] sleekmason:
I had posted the latest Lollipop Benchmarks using Performance and Row, and scored 31,526

I decided to do the same with the KitKat kernel using Row and Performance with undervolting and my 88 sleektweaks script and got 31,173. Dalvik may be slower, but not by much!

This, coupled with decent battery life using interactive and row, the ability to use Xposed, and not having to use the horrible Lollipop interface, make it a cinch for me to know I'm sticking with KitKat at least until Xposed is available with Art. I will keep updating both as anything new comes along, or I find some bugs that need to be stomped on:)
[G Pad 8.3 Android Development] sleekmason:
UPDATED - KITKAT SLEEKAI7.1KK

Changed the default knock-on to off after experiencing some issues after device goes into deep sleep.

Using my app in the third post still works, and well! It must be reenabled after every boot but it only takes a second.

Also made one change to Netspeed and one change to writeback, removed an unneccesary option that may use memory for the framebuffer, and also checked out using --fastmath optimizations for the floating point and enabled using ofast optimization.... probably okay, but I still like the nwfpe option better. The defaults are also okay, but why not smoke em if ya got em?

Anyway, everything is pretty much the same except for the knock-on bit. I'm looking at tweaks using init.d for net /wifi optimizations, and have found a few that may be better, maybe not. Let me know if you are interested. Sometimes less is more:)
[G Pad 8.3 Android Development] peacewise:
I appreciate you working on the Lollipop kernel even if you're not using it. L is way smoother (especially when scrolling) than KK for me, so even without Xposed, it's a better experience. Choice is good.
[G Pad 8.3 Android Development] sleekmason:
Choice is good:)

The latest KitKat kernel performs extremely well. Much smoother, better performance.

I will continue work on both kernels, and Really I need feedback more than anything else. What do you like about it? What don't you like? How does it compare to stock? Is there some option you guys would like? Something removed?

Does the lollipop kernel have an issue using knock-on after deep sleep the way the KitKat kernel does?

The more feedback I get, the better the kernel gets. I may decide not to do something if I think it won't help, but I will consider it.
[G Pad 8.3 Android Development] galaxys:
Just flashed 7.1 KK and all seems well so far! Will watch speed & battery for a few days... Thanks
[G Pad 8.3 Android Development] sleekmason:
Good to hear. Dont know if there will be any more updates. Both are running extremely well, with many options to choose from. Just tried loading in gpu overclock, and another governer, and regular overclock.... and.... NADA!! Those were the only things I might have added and I dont think they were necessary at all. Maybe more development later;)

For now, guess these are the stablebuilds!

Maybe somebody else wants to try;)

I was waiting for Cyanogen mod to come out for the device, but after looking at the github of the person who was going to do it... nothing new since dec 22? like that. Anyway, Maybe I'll do more then. Having the ability to cherrypick from cyanogenmod would be pretty cool.

Are you finding the new kernel a bit smoother? I think battery is better as well.
[G Pad 8.3 Android Development] sam10000:
Just re-visited this thread. Great news! Thanks, sleekmason.

Newbie question: Is it necessary to uninstall KnockOnly and take other preparatory steps before flashing 7.1 KK? Staying with KitKat for now.

Thanks.
[G Pad 8.3 Android Development] sleekmason:
Nope! Everything should work as expected.
[G Pad 8.3 Android Development] galaxys:
Yes, 7.1kk seems smoother and no battery problems! Sweet

That's a bummer that nothing happened with cyanogen github for us. I'm thinking about trying LP out since I finally have my Nexus5 setup with a custom LP rom! What's best way to do it on v510? Restore someone's twrp backup? Reroot?
[G Pad 8.3 Android Development] sleekmason:
http://xdaforums.com/lg-g-pad-83/development/v510-gpe-4-4-4-ktu84p-l002-stock-twrp-t2797883

Download the lollipop image, place it in the " backups" of twrp ( internal sdcard), and flash. Directions on the site.

Make a backup before you do anything. I recommend a backup at both internal and external locations.

Not terribly impressed by lollipop. But the kernel I built for it works well.
[G Pad 8.3 Android Development] cyho11:
Lexar SD card 64GB

Thanks for the kernel Sleekmason.

The only issue so far is KK won't mount/read my 64GB Lexar SD. I reformatted it to fat32 and it fixed the issue, but the 4gb file limit inherent in fat32 is a slight bother. Any chance you can get 64GB SD exfat working on the kernel?
[G Pad 8.3 Android Development] sleekmason:
I think so.

Will you test a kernel for me?

I will upload both Lollipop and Kitkat versions shortly to the OP. NEED TESTERS!!!
[G Pad 8.3 Android Development] sleekmason:
UPDATED 11 January 2014

BOTH KITKAT AND LOLLIPOP Kitkat 7.3 and Lollipop 4.7.4

Updated both versions to use exfat. I don't know if exfat works or not NEED TESTERS!!

Please let me know!!

Also, minor net changes. compilation changes. slub changes. David Bowie Changes
[G Pad 8.3 Android Development] sleekmason:
Looks like there are about four of you who have the new Lollipop kernel with the kitkat kernel inside the zip script with it hehe. Sorry about that. Doesnt affect anything. The proper files still get used. Its like a stray cat ya cant get rid of;)

Anyway, if that bugs you, the affected Lollipop zip was done between 11:00 and 5:00 on 11 January 2015 Looked like only four of you uploaded it. You can tell by looking at the size of the zip. if it's over 15mb, feel free to replace the zip. what is actually loded onto your boot is still just the lollipop kernel.

It has since been corrected. - regards

AND Still need to know if exfat is working. Don't use windows myself, and dont work with large files on my device. So, Let me know!!
[G Pad 8.3 Android Development] sleekmason:
[MENTION=4939189]aicjofs[/MENTION]

I'm looking into raising the thermal limits, and as you said earlier, awifi raised theirs considerably. Under board-palman.c there have been no changes to the gpe, and the limit is 60 as shown:

static struct msm_thermal_data msm_thermal_pdata = {
.sensor_id = 9,
.poll_ms = 250,
.limit_temp_degC = 60,
.temp_hysteresis_degC = 10,
.freq_step = 2,

I am going to add gpu overclock at 487 if it shows to be stable, and am uncertain if I SHOULD raise the thermal limits, but looking at the difference in awifi, it looks like the 15 degrees I am proposing won't be any problem at all.

So, the question I have is:

Will there be any benefit to raising this value in regards to gpu overclock,

and, can I simply make the adjustment under board-palman.c, either by changing from 60 to 75 or even doing the if/else that awifi did?

Or, do I need to change something in one of the 8064.c files under mach-msm?

Best Regards, Dave
[G Pad 8.3 Android Development] aicjofs:
I'm guessing if palman isn't throttling as is(stock), then you can raise the GPU speed and not run in to thermal issues based on how awifi performed. So I don't think you need to mess with the kernel temp settings initially.

Get a temp monitoring app and a benchmarking app that can use all four cores effectively. Antutu works well for the benchmark, I think with kernel tuner you can also see CPU speed with temperature. Start the benchmark and quickly switch to temp monitoring, Antutu continues to run(have to switch really quick because things will get laggy). Check how high the temp goes, and see if you have any throttling. The awifi can usually stay out of throttling the first run, but if you start another one back to back you will sometimes hit the limit. A more scientific way is to use ADB terminal and look at sysfs values. I can't remember off the top of my head which ones, and I don't have my tablet with me.

Anyway, I know for sure that on awifi the thermald was set more aggressively then anything in the kernel so it was the limiting factor, not kernel settings. It's effect can be directly observed by "stop thermald" if you are at the limit. I would make your GPU changes and leave everything else as is, and test(with GPU benchmarks this time), only go back and change temps if it has to be done.