yashsingh1/xdaforums huggingface dataset:
[TouchPad Development] shumash:
[SKZ Update] 28 DEC 2016

Update available.

CHANGELOG

-> 28DEC16
- Merge upstream
- Add invisiblek's [I]enable CONFIG_UID_CPUTIME[/I] commit
- Match smartmax and smartmax_EPS get_cpu_idle_time function code

Enjoy
[TouchPad Development] elginsk8r:
where is the kernel source?
[TouchPad Development] shumash:
Posted on OP
[TouchPad Development] brchickery:
What I/O scheduler would you recommend Shumash?
[TouchPad Development] shumash:
tripindroid or fiops
[TouchPad Development] shumash:
[SKZ Update] 02 JAN 2017

Update available.

CHANGELOG

-> 02JAN17
- Set boot frequency to 1728 KHz
- Enable gpu 2d frequency to 267 MHz

Enjoy
[TouchPad Development] shumash:
[SKZ Update] 03 JAN 2017

Update available.

CHANGELOG

-> 02JAN17
- Merge upstream
- Compile with O3 optimizations
- Restructure 3d_pdata to improve graphic performance

NOTE: The graphics seem to be smoother, but I had some spurious reboots before it smoothed out. YMMV, but keep trying before reverting to a previous build.

Enjoy
[TouchPad Development] shumash:
[SKZ Update] 04 JAN 2017

Update available.

CHANGELOG

-> 04JAN17
- Add optimized SHA256 arm crypto routines (improves encryption performance by up to 20%)
- Add voltage interface

NOTE: The cryptographic routines increased the Antutu score by about 3%. The voltage interface allows you to change the voltages associated with each cpu frequency, BUT MESSING WITH THE VOLTAGES IS POTENTIALLY DISASTROUS, FROM SIMPLE FREEZE OR REBOOT TO FRYING YOUR VOLTAGE REGULATOR. DON'T USE THIS UNLESS YOU KNOW WHAT YOU ARE DOING!

Enjoy
[TouchPad Development] shumash:
[SKZ Update] 05 JAN 2017

Update available.

CHANGELOG

-> 05JAN17
- Move wireless regulator timeout to power efficient workqueue
- Add Link Time Optimization support
- Fix PCC disablement
- Distinguish skz kernel localversion from ev stock

Enjoy
[TouchPad Development] Steelskinz:
Thanks. Could you put in First post the best config for your kernel ? :)
[TouchPad Development] jerryatherton:
I get an error while installing zip with last two builds and last nightly. Any help appreciated.
[TouchPad Development] shumash:
You've got zip file signature verification turned on. Turn it off. I don't sign the zip's.
[TouchPad Development] shumash:
There is no "best" configuration. It depends on whether you're after performance, game playing, browsing, low power consumption, etc. The idea behind this kernel is to allow you as much flexibility as possible for you to set it the way you want. Play with the settings and decide. That said, my personal config is:

max freq: 1836

min freq: 192

max 2d gpu: 266

max 3d freq: 320

cpu governor: smartmax or dancedance

gpu governor: simple

io scheduler: noop EDIT-2/16/17: latest changes suggest we use the simplest scheduler possible

misc: kernel samepage merge-on, schedule workqueue to save power-on
[TouchPad Development] jerryatherton:
Thanks, great kernel
[TouchPad Development] shumash:
[SKZ Update] 11 JAN 2017

Update available.

CHANGELOG

-> 11JAN17
- Revert 'Move wireless regulator timeout to power efficient workqueue' & 'Fix PCC disablement' and rebase
- Merge upstream
- Update smartmax governor

NOTE: The two reverted commits screwed up the performance badly, so gone. I've discovered this Gov Tuner app. It seems to work although I'm still testing it out. For those of you who don't know how to tune the governors and want to take a pretty safe chance, try it and report back.

Enjoy
[TouchPad Development] HP_TOUCHPAD:
I can confirmed that this kernel works perfectly with the latest Evervolv 7.1.1.

Is amazing how stable it is. But it will not work on all the Touchpad and that is not due to software but hardware. If you try to change the setting to max 1836Khz and the device freeze then your processor ( as there where made by different manufactures ) will not work on this speed. It is not the Kernel but the hardware.

From the WebOS days, there was an Alpha Kernel ( F15C Eagle ) from uNIXpSyCho that will push it to 1.9GHz. ( both cores)

I do not know if the same speed could be accomplish with the Android Kernel, but the processor will work on 1.9GHz !

Thanks Shumash for your work !
[TouchPad Development] shumash:
One of my earlier 2.6.35 kernels ran up to 2157kHz (not GHz). I've tried to push this one to 1890 (1.9), but it's not stable. If it won't work on my TP, I won't publish it.
[TouchPad Development] HP_TOUCHPAD:
I can tested it, you can push it all the way to maximum limits. I get the tablet cold enough to handle the burst of speed.

The governors have mature enough that you can assign the maximum speed only for very short amount of time, it will be a short burst ( for a quick push) but not to run it all the time.

I am willing to risk it, do not worry you won't be liable !
[TouchPad Development] shumash:
[SKZ Update] 20 JAN 2017

Update available.

CHANGELOG

-> 20JAN17
- Add new original medusa governor
- Add lionheart governor

NOTE: To my knowledge, the Touchpad is the first Android device to have the medusa governor (more info here.) It is very smooth and energy efficient, has no tuning parameters, and scores high on Antutu. If you use it, be sure and set the minimum frequency to no less than 384KHz. It offlines one of the processors when the screen blanks, and 192KHz causes the TP to freeze. It's still somewhat unstable and a WIP, so don't be surprised if your pad reboots or freezes.

Enjoy
[TouchPad Development] HP_TOUCHPAD:
I tested the new CPU Governor Medusa running on the Evervolv 7.1.1 nightly built 01/20/2017 with Kernel Adiutor 218.

It does work and the second core does goes offline often.

But be very careful not to set the minimum frequency lower than 384MHz, because the tablet will freeze and reboot and it could get into a reboot loop.

Great job for providing another exclusive to the one and only most up to date device in the Milky Way Galaxy of Android devices, the HP TouchPad !
[TouchPad Development] shumash:
[SKZ Update] 22 JAN 2017

RETRACTED

Update available.

CHANGELOG

-> 22JAN17

- fix medusa governor freezes

- fix SECTION_MISMATCH errors during compile

Enjoy
[TouchPad Development] HP_TOUCHPAD:
Tested just now:

You can change the minimum speed to 192 and it will allow without freezing.

But wait and see after it goes to sleep, it won't wake up and then it will reboot after a while.

The first core stays at 1836, the second core goes from Off to 1836 when need it but happens fast.

Even using it, gets a reboot. Not stable on my side.
[TouchPad Development] shumash:
DERP
[TouchPad Development] shumash:
You still need to set the minimum frequency no less than 384KHz. Other freezes were caused by the governor code overriding the tuneable minimum with the policy minimum. I've had it running in sleep for anywhere from a few minutes to six hours, and it wakes without fail. I'll keep my eye on it, though.
[TouchPad Development] HP_TOUCHPAD:
Set the minimum to 384, stable.

But core 1 stays at 1836 at all times.

Core 2 goes offline and comes on but at only 1836, no other speeds are use.
[TouchPad Development] shumash:
You're right. It still freezes. Back to the drawing board
[TouchPad Development] HP_TOUCHPAD:
Is running fine at 384 minimum.

But why Core 1 stays at high frequency 1836 at all the time.

Core 2 does not scale it goes from off to 1836 then off.

I do not think the CPU is scaling, it maybe the cause of freezing stuck at 1836.
[TouchPad Development] shumash:
[SKZ Update] 23 JAN 2017

Update available.

CHANGELOG

-> 23JAN17

- fix medusa governor freezes

- fix SECTION_MISMATCH errors during compile

NOTE: I've been running the medusa governor under various loads and conditions, including long periods of deep sleep, without problem. You still need to set the minimum no lower than 384KHz, but otherwise, it appears to work well.

EDIT: And just like that, it freezes. Use it, don't use it, your choice.

Enjoy
[TouchPad Development] HP_TOUCHPAD:
I tested it and it does work. But I think that the reboots seems to be the Kernel Adiutor App, If you change the CPU governor it will freeze and reboot.

Once is set and has been working then the system is stable.

Also I was searching for the Medusa CPU Governor Tunables as you can select for how long Core 2 stays offline, I did not find anything but I found this which I think is interesting:

https://athena.smu.edu.sg/mobisys/backend/mobisys/assets/paper_list/pdf_version/paper_11.pdf
[TouchPad Development] shumash:
A similar algorithm is used by medusa to calculate the load and optimal number of online processors. I also experienced the Kernel Adiutor freeze and was able to get the governor working. But when the tablet transitions from screen off to deep sleep, it freezes and can't be awakened. Deep sleep is governed by another process, and I think medusa doesn't properly handle the restart. I'm working on it.
[TouchPad Development] WildKun:
I dirty flashed 23/1 through twrp(3.0.2) onto one of the last builds of evervolve 6.0 and rom stuck on boot. Any suggestions on where I done guffed?

Also tried flashing 20/1, same.
[TouchPad Development] shumash:
It's not for use with 6.0. It's for 7.1.1. I'll update the OP.
[TouchPad Development] WildKun:
Oh ok, thanks for information.
[TouchPad Development] HP_TOUCHPAD:
I have been running mesuda on Kernel Adiutor all day today with no issues, it goes into deep sleep and wakes up many times with no problems.

If you try to change CPU Governor to something else, then you get the freeze and reboot, this could be an issue with Kernel Adiutor transitioning from medusa to something else I do not know. But is 100% stable, it will help to know the medusa governor tunables settings, I changed it and can see that the second core stays off longer and the speed changes also.
[TouchPad Development] shumash:
Glad to hear it's working for you. Mine still freezes after a long period of deep sleep, i.e. 4 hours or more. Try changing fthresh to 700, it improves stability. Everything else in the kernel works fine, so others should just avoid using the medusa governor if they're not adventurous. Expect an update today.
[TouchPad Development] rob_z11:
Can you give us the kernel for 6.x please. 7.1.1 is nice, but I can't make it run as smooth as 6.x until 7.1.1 gets there.
[TouchPad Development] BGrosse:
Did you try the latest 7.0? This runs absolutely great and stable for me. Nothing to blame about there. No need to go back to 6.x (at least for me). Maybe you can give it a try...
[TouchPad Development] rob_z11:
I am running it, and it appears to be OK, but still feels sluggish after all the recommended changes for kernel mods.
[TouchPad Development] shumash:
The short answer is no. I won't build what I can't test. I'm not going to install 6.0 just so I can test a new version of the kernel, then have to reinstall 7.1.1. There are other many other issues with having to keep track of the sources for different versions of Android.
[TouchPad Development] rob_z11:
No, i am not suggesting to build new kernel. If you have the older version, i am willing to try it.

I am on 7.1.1,and will keep tinkering it until it gets less sluggish.
[TouchPad Development] shumash:
[SKZ Update] 25 JAN 2017

Update available.

CHANGELOG

-> 25JAN17
- Merge upstream
- Clean up medusa governor min frequency code and set some tuneables

NOTE: The kernel is stable, but the medusa governor is a WIP, so don't be surprised if your pad reboots or freezes if you use it. Any other governor will work just fine, but I would really like to make medusa usable, so I'm going to leave it there for testing purposes.

Enjoy
[TouchPad Development] HP_TOUCHPAD:
I have been using 7.1.1 ( the latest nightly ) it is smooth as butter, fast and stable. In my opinion way better than 6.

---------- Post added at 10:44 PM ---------- Previous post was at 10:42 PM ----------

Will tested it now, the other build has been running for 17 hours with 99% Deep Sleep and I have been checking from time to time to see if it comes on and it does.
[TouchPad Development] rob_z11:
I am not saying that it is not smooth for you, but just wondering what you use your touchpad for?

For me, exact setup similar to your kernel mods, and 2 gig of system partition, it runs sluggish... I mostly use to listen podcast using Bluetooth and latest nightly..
[TouchPad Development] HP_TOUCHPAD:
You can use it for everything, run all Microsoft Office Products , Excel , World, Powerpoint, One Note.

Listen to music with the best Beats audio speakers ( is extremely loud for a tablet )

You tube videos non-stop.

Games, play them and use max setting...

You can do it all, now what kind off GApps do you have install?

---------- Post added at 11:37 PM ---------- Previous post was at 10:53 PM ----------

Up and running with the latest version of Evervolv nightly from the 23.

But I just had a STONE cold freeze, had to do a hard reset.

You can not select 384 as the minimum frequency, it will revert back to 192 and the options for the CPU are not available any more, they are not showing at the bottom of the CPU Governor Tunables. It shows as running very efficient, Core 1 192 and 384, Core 2 is offline most of the time. If it will run with those frequency that will be great.
[TouchPad Development] rob_z11:
I am running pico 7.1 Gapps from opengapps.org. I can't even imagine running those apps as it is bit sluggish... It is usable for small apps like podcast and YouTube is sluggish to load..
[TouchPad Development] shumash:
What are you using to monitor the cores? I've got a kernel log with the crash, so hopefully I can determine what caused it.
[TouchPad Development] HP_TOUCHPAD:
I use Kernel Adiutor and it shows the Core 1 when idle at 384Mhz and Core 2 offline, then it scales you see all the activity live.

I left it on deep sleep and it did not woke up had to do a force reboot. I think you over clean the code, like I said previously you can not change the minimum frequency to 384, is set to 192Mhz no matter what.

---------- Post added at 03:27 AM ---------- Previous post was at 03:23 AM ----------

It is usable for everything, guarantee! Do you wipe format everything when installing the new ROM? Do you do the install 100% clean of everything?
[TouchPad Development] rob_z11:
Yes, I clean the data, system and both cache when I went from 5.x to 6.x or 7.1.1..

I have also resized partition for system to 2 gig. Will keep tweaking..
[TouchPad Development] shumash:
[SKZ Update] 26 JAN 2017

Update available.

CHANGELOG

-> 26JAN17
- Revert clean up medusa governor min frequency code
- Revert merge upstream

NOTE: The 25JAN17 update has been deleted. The inability to set the minimum frequency above 192 is a problem created by an Evervolv commit, not one of the SKZ commits.

Enjoy
[TouchPad Development] HP_TOUCHPAD:
Currently using Evervolv nightly built 2017-01-26 with the New Medusa Governor 26 Built Overclock Kernel, it allows for the setting to be done but after a couple of minutes it will freeze or reboot. The same happens with the 25 Built. I guess it will be best to wait and see if Evervolv will revert the changes to allow selecting a higher minimum frequency.
[TouchPad Development] shumash:
I can change the minimum frequency with the latest build. Check and make sure you have the latest because I replaced an earlier 26 build with a later one.
[TouchPad Development] HP_TOUCHPAD:
It was on Deep Sleep all night long, I just check now and it came back with no issues. After doing some basic checking on Kernel Adiutor App it crashed and reboot it. It does not seem to be an issue with the 192MHz frequency but the ON and OFF feature of the medusa governor. I will guess that the processor is getting turn off either too quickly before completing the task causing the reboot, like a power cut off. I see that you have set the fthresh to 700 KHz, can you leave all the tunables to default. That way I can play with the settings, because I can not change it. It could possible be a simple tweak to give more time for Core 2 to go offline, because it comes on and off too quickly.
[TouchPad Development] shumash:
You should be able to change the tuneables in the Kernel Adiutor cpu settings page just below the governor selection to what you want (I can.) The 700 is in the recommended range, so I'm leaving it there. Unfortunately, my tab must have some processor problems because one doesn't offline. Play with the settings and report what works best.
[TouchPad Development] HP_TOUCHPAD:
I can change the governor tunables, I was looking for information of what those settings will do, but because Medusa is new there is nothing about it out there that I could find. The only core that goes Offline is Core 2, Core 1 can never go offline, that will kill the heart beat and reboot!
[TouchPad Development] shumash:
For those of you who would like to get some additional power savings along with decent performance:

In Kernel Adiutor, select any governor you want (except medusa) in the CPU page and set your minimum and maximum frequencies. Select the CPU Hotplug page and enable Intelliplug, then set the CPU Threshold to about 700. CPU two will offline similarly to the medusa governor, saving significant power.
[TouchPad Development] HP_TOUCHPAD:
It does work! That is great information! I selected dancedance governor and did the change and now Core2 goes offline, just like in Medusa but without turning the Tablet into stone!

---------- Post added at 11:21 PM ---------- Previous post was at 11:19 PM ----------

I did test the 20 and 26 dated Kernel version using Medusa and both created multiple reboots. I think Medusa needs more time to mature for now!
[TouchPad Development] shumash:
[SKZ Update] 27 JAN 2017

Update available.

CHANGELOG

-> 27JAN17
- Fix medusa governor freezes by locking cpu_up/down

NOTE: My HP has been using medusa for several hours now in normal and deep sleep. No problems

Enjoy
[TouchPad Development] Razor512:
I wish a kernel like this were available for the jcsullins Android 4.4.4 build.

While I like some of the newer builds on their own, I have run into their memory limitations.

Seems builds newer than Android 4.4.4, simply use too much RAM, where I can't run a video player while using the chrome browser at the same time, without chrome constantly complaining that it couldn't complete an operation due to low memory.

Using BSplayer and chrome so that I can stream media from my NAS while using chrome. With the more overclocking oriented kernels, though I am able to smoothly play some HD videos where on software rendering, the device is just borderline too slow to handle it while using the browser.
[TouchPad Development] shumash:
The kernel in this ROM is capable of overclocking both the cpu and gpu. It's the best PAC-ROM I ever offered.
[TouchPad Development] HP_TOUCHPAD:
Tested the 27JAN17 version with the latest nightly of Evervolv 01-27-2017. When I select Medusa everything is fine, but if I try to change the governor the system crash immediately. In my opinion all these CPU Governor are only presets to make it easier to change performance by the regular user. There are so many options to tweak, but if you know what they do more power to YOU! Lesson learned with the IntelliPlug under CPU Hotplug, it will take offline Core2 when not need it on any Governor. I am sure there is a way to create a custom Governor and save it as a profile also you could have many profiles that gets activated by the time of the day, just like you do with your home thermostats you select the desire temperature depending when you are home. You have your Awake profile, optimize for internet speed early morning, then your boost profile maximum performance by midday then your battery saver profile to make it home and your last internet speed boost, then finally your sleep mode, all of it activated by the time the user wants to!
[TouchPad Development] Razor512:
Edit: hmm, I tried a bunch of different gapps builds, and none of them seem to offer the chrome browser, and any attempt to install it from the play store, results in the chrome browser crashing as soon as it is launched.

"Unfortunately, Chrome has stopped."
[TouchPad Development] shumash:
Don't know if Chrome worked originally, but you can try these.
[TouchPad Development] Razor512:
Hmm, still can't get it working.

I am currently messing around with the 1/28/17 nightly build of android 7.1.

the memory usage is still high, though everything works except google calendar. Other than that, I also tried the kernel out, and while I can adjust the top clock speed to 1.83GHz, though I can't change the minimum clock speed from 192MHz.
[TouchPad Development] shumash:
That's a problem created by evervolv, not this kernel. I'm not sure which of their commits caused it.
[TouchPad Development] HP_TOUCHPAD:
I am using the nightly build 1/28/17 7.1.1 and with overclock Kernel, under running services in Developers options I have:

System 229 MB

Apps 44 MB

Free 555 MB

I personally think that the rom is consuming very low memory and 555 free is plenty!
[TouchPad Development] Razor512:
Hmm, I am seeing similar results, it seems like under android 7.1.1 even if there is some free memory left over, chrome is still more likely to complain about lack of free memory. it is as if the device is pretending that it has less RAM than the tiny amount that it really does have.
[TouchPad Development] HP_TOUCHPAD:
Disable apps that you do not need, keep in mind is a tablet not a smartphone. Get a firewall App and allow internet access only to the App you use, the less the better. Once the tablet is connected to WiFi, it behaves completely different it becomes another Zombie control by its master "google"
[TouchPad Development] shumash:
Chrome is deprecated. Try Android Webview.
[TouchPad Development] richtw:
short feedback on kernal

Not sure if this will help - running evervolv 1/15 nightly release. When using your kernal from 1/11 I can set to minimum of 384. When running your kernal from 1/27 the 192 default did not change. I saw you indicated that the issue was an evervolv commit, but thought I would share since on my TP I only changed your kernal and not evervolv. Thanks for all your work on this, it's appreciated!!
[TouchPad Development] shumash:
When I merged a bunch of evervolv commits, the problem appeared. When I reverted them, it disappeared, but since I don't want to get out of sync with them, I've left the commits in this kernel. If I have the time and the inclination, I may try to find out what's causing it.
[TouchPad Development] shumash:
[SKZ Update] 08 FEB 2017

Update available.

CHANGELOG

-> 08FEB18
- Remove medusa governor (for now)
- cpufreq: Optimize cpufreq_frequency_table_verify()
- msm: kgsl: fix sync file error handling

Enjoy
[TouchPad Development] garux:
Is it possible to create your SKZ Overclock Kernel as an .apk file?
[TouchPad Development] shumash:
no.
[TouchPad Development] shumash:
[SKZ Update] 09 FEB 2017

Update available.

CHANGELOG

-> 09FEB18
- Revert all ev lz4 and zram commits

NOTE: Reverting these commits restored the ability to change the minimum frequency. To minimize the lags in the ROM, use the ROW (or deadline) scheduler.

Enjoy
[TouchPad Development] garux:
Please excuse my ignorance, I'm trying to fully understand how to make the best use of your overclock kernel:

1. In the Toolbox, under Performance, are you making changes? If you're making changes, what changes are you making?

2. While using the Kernel Adiutor, do you do 'apply on boot', just use for monitoring or do you make any changes to Kernel Adiutor at all?

3. Do you do all your changes of the kernel in your overclock kernel or via the toolbox?

4. Once you create a new overclock kernel, just re-flash it via TWRP.
[TouchPad Development] shumash:
Please read the OP carefully. It answered many of the questions you asked. It wouldn't hurt to do some basic research before asking questions.
[TouchPad Development] garux:
Could you please tell me where the Level 2 frequency boost is located?
[TouchPad Development] shumash:
If your question is whether you can set it, you can't.
[TouchPad Development] garux:
Thanks for getting back to me.