yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] guevor:
New version.

The interactive governor is modified so it can see the i/o as busy cpu. Should be tested to see if have some impact. By default is working as usual and to activate this function, have to be configured from the cpufreq structure (where other parameters exists). Something like:

echo 1 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

from a root terminal.

There are other minor changes to cpufreq.

The problem with the docking/undockig states should be resolved.

Other changes are to the dock + suspend problem.

Also is there a new attempt to AOKP 38.
[Eee Pad Transformer Android Development] guevor:
I'm glad for it.

You mean the codecs?

If so, yes, you can install, and the role of codecs, is to encode/decode media formats such as h264 video, mp3 audio, etc. ..
[Eee Pad Transformer Android Development] devilpera64:
Have you thought to ZRAM, cache rearrange and a RAM-DRIVE? :) However is a beautiful option this better control on the CPU workload..certainly opens a way for optimizations on individual cores.!

Edit: i'm using your last tip and it's great! seems to use better CPU :-)
[Eee Pad Transformer Android Development] cholywell:
I am happy to report the AOKP version is working great. Wifi fully funtional. Thank you so much!
[Eee Pad Transformer Android Development] mjb413:
Agree working perfectly. Made my morning thank you.
[Eee Pad Transformer Android Development] guevor:
Thanks for reporting.

Ideally, use CleanCache, but involves many changes to the system and end up with a full 3.1 kernel that I can not boot and there is no way of seeing that fails, so I have go back.

Well, will see where I can go, but I think the ram is low to use ram disk, well, I'll see.

So far I've added another important change in the PCIE and I hope that does not produce any side effects, but what is fixed among many other changes, is another bug that existed when suspend.

Other than that, I must say that this version I have gotten so far is my best result in antutu, 5950 at 1.2Ghz.

If it works reasonably well this will be the V22.
[Eee Pad Transformer Android Development] gkillerx:
since v18 it's already running butter smooth with ARHD but still loving the performances increases! It's even so much better I underclocked it for just internetting etc and as I watch youtube pimp my cpu changes to YouTube profile and overclocks it to 12000 mhz and BFQ profiler, NO LAGG! I F*kng love you (no homo lol)
[Eee Pad Transformer Android Development] devilpera64:
Is active last CPU I/O workload control? :-)

---------- Post added at 04:23 PM ---------- Previous post was at 03:56 PM ----------

Edit: it's not turned on automaticaly and i receive a performance bump when i enable it on Terminal (antutù: from 7400 to 7800). Are increased IO reading i think. Can you provide to insert it automatically on startup? :-) however this 21.10 is stable ;-) what change have you made on PCI bus?
[Eee Pad Transformer Android Development] woti23:
does the kernel have a file size limit for ext4, i have a 60GB file on an external harddisk, which shows only as 3GB and can t be opened (works fine in ubuntu)

the only idea i have what else it could be is the busybox ls command?
[Eee Pad Transformer Android Development] tsachi:
I''ve been using this for a few hours and it seems very stable. Battery drain is low, as it has been for me since 17. VPN works well and dock recognition seems ok
[Eee Pad Transformer Android Development] guevor:
It is possible that busybox is not compiled with LFS support, the truth is I do not tested it.

Has anyone tested with large files?

As it is very easy to activate, for now I leave without enabling waiting for more opinions, because it may increase battery consumption.

On changes in the PCI, I basically backported the code from kernel 3.1 with the latest fixes from nvidia.
[Eee Pad Transformer Android Development] gkillerx:
how did you turned it on.

using:

echo 1 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

?

if so, is this persistence after rebooting ?
[Eee Pad Transformer Android Development] guevor:
Yes, this is the command to enable it (need to be root, so type su before). And no, need to be made after boot. May be in a init.d script.

Tomorrow if I have time I can make a .zip to install from the recovery a init.d script to leave it permanently.
[Eee Pad Transformer Android Development] gkillerx:
Please, that would be very cool ;)
[Eee Pad Transformer Android Development] jtrosky:
In case anyone else needs this type of VPN functionality (or in case it helps Guevor figure out what may be causing this), here is what I found out. After flashing the latest kernel (21.10), I found my VPN didn't work via stock interface anymore (AnyConnect was still installed though). So, I actually tried to connect via AnyConnect, which results is a license failure, BUT after that, my VPN works via the stock interface ok.

So, after some testing, I found that AnyConnect actually installs a "tun" module after trying to connect with it (can see the module with "lsmod"). Once that module is loaded, the stock VPN interface works fine. I did verify that the "tun" module was not present before trying to connect with AnyConnect.
[Eee Pad Transformer Android Development] Gary13579:
This isn't really a bug. The kernel includes a tun module, but it's up to the ROM to load it. If you wanna skip the AnyConnect crap, just run "modprobe tun" as root when you start your tablet, or make an init script for it. This is needed for most VPN functionality on most Android devices, inc my own OpenVPN setups.
[Eee Pad Transformer Android Development] jtrosky:
But I guess my question is this - if it were a ROM issue, then changing the kernel shouldn't matter, right? I don't have this problem if I use the stock kernel on the exact same ROM (rooted stock).

Or is it really just a 'default difference' between the kernels? Although, I'm 99% sure that the stock kernel doesn't list the TUN module either, even when the VPN works...

I will still remove AnyConnect and reboot to see if "modprobe tun" works as well - if that works (regardless of why) that would be a better option than relying on AnyConnect! :-)

Thanks for the reply.

EDIT: Ok, so I did some further testing - flashed back to stock .24 kernel and found that there is no "tun" module listed with "lsmod" even though the VPN works fine. If I manually try to load the "tun" module with "modprobe tun", I get "modprobe: 'tun.ko': invalid module format".

However - you are 100% correct in that I don't need AnyConnect at all - simply doing a "modprobe tun" on Guevor 21.10 makes the VPN work perfectly.

Almost sounds like the tun module is now built into the ICS kernel and there is no need to load it.

Regardless, I'm just happy it works now! Thank you very much for the "modprobe tun" tip!!
[Eee Pad Transformer Android Development] tsachi:
There are 2 ways to handle the tun module, through the kernel or through the ROM's init.d.

The tun module is referenced by this kernel, and I'm pretty sure that it was compiled with the source. It may be that anyconnect updates that reference to add their own module on the system level.

Edit: just saw your edited post. It does confirm that the tun is in the kernel and you just need a system side reference to activate it.
[Eee Pad Transformer Android Development] DH-:
I have the latest Megatron ROM with the latest of your kernel (21.5 for Megatron). When I disable wakelock, I have a SOD or a RR within 15-20min. Is there a log file or something I can send you to help with solving these issues? :)
[Eee Pad Transformer Android Development] DammedKiller:
Guevor can you upload a file adapted to Megatron ROM?
[Eee Pad Transformer Android Development] atomic339:
Can someone give his UV setting for example?
[Eee Pad Transformer Android Development] bosert:
Works perfectly on my Gnufabio release candidate 3.

Thanks a lot.
[Eee Pad Transformer Android Development] atomic339:
Where can I find the newest version?
[Eee Pad Transformer Android Development] frost866:
why latest version doesnt work with cm9 nightly? the wifi doesnt work any help ?
[Eee Pad Transformer Android Development] gideo:
21.9 seems smoother than 21.10 but they both have great battery life and are very stable on aokp b37
[Eee Pad Transformer Android Development] bsoplinger:
I'm pretty sure Guevor himself listed the default UV values and the ones he uses on his machine. I remember looking at his posting and changing my values to match and they've worked well for me.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Eee Pad Transformer Android Development] jdcnosse:
CM9 did something. Try using the Megatron ones. Megatron is based off CM9, and those ones have been tweaked so the wifi works.

---------- Post added at 08:47 PM ---------- Previous post was at 08:43 PM ----------

The brand-new-ist one is here: http://xdaforums.com/showpost.php?p=27182349&postcount=1734

but the newest one confirmed to work is on the main page (21.4)
[Eee Pad Transformer Android Development] finalhit:
may i ask why the first post is still set to 21.4? are the newer versions not considered stable or something?
[Eee Pad Transformer Android Development] farsight73:
The newest version found in this thread pages are mean for tester and report back quickly..

The first post as you mention 21.4 is considered safe and good to go for flashing and daily basic use..
[Eee Pad Transformer Android Development] thejust:
decided to remove my screen off profile after seeing this and wouldn't you know it haven't had a RR or SOD since.
[Eee Pad Transformer Android Development] sidneyk:
I had to revert back to version 21.7 build 589 as version 21.10 was still having issues with Netflix video freezing up after awhile. 21.7 played several hours without a hiccup. When the video freezes up, dmesg shows something about nvmm-avp service not being able to sync or loosing it's connection or something. I still need to remember to capture that if it happens again, sorry. I also reflashed the new nvidia codecs again at the same time in case the Revolver patch may have changed any of that.

[EDIT] actually, I guess it also happens with version 21.7 also. Here is my dmesg file captured right after the video freeze in Netflix :

http://db.tt/G7vvXGnU
[Eee Pad Transformer Android Development] tanguita:
I have ARHD and 21.10 but when I do modprobe tun, it says: "modprobe: chdir(/lib/modules): no such file or directory"

Any one know what's the issue?
[Eee Pad Transformer Android Development] guevor:
I'm thinking going back to set the tun not modular. The last time I made it to see if it was the cause of the problem with the VPN, coincided with another problem, so I thought mistakenly that it was best left modular.

To load the modules you can use:

insmod /system/lib/modules/tun.ko

I looked at the log, and see that in the second 880 initiates a video decoding, which stops at 924.

In the second 886 is a message that is not normal (misc nvmap: nvmap_unpin_ids: mediaserver unpinning invalid handle c3d6e560), but otherwise quite typical of a video decoding. Will look about this message.

It seems the video decoding continued about 40 seconds after the message so may be it does not have anything to do.

Whatever the cause, in principle with this log I have no clear cause. It seems that the program stopped the decoding, so perhaps in the system log (logcat) has more information about it.

As for putting on the first page new releases, versions adapted to megatron, aokp or others, etc. .. I have the file download space full, so I have to delete some previous version every time I want to upload one, so I have to think about how to make it better.

Perhaps put new versions on different posts (as actual intermediate test versions) and link on the first page?
[Eee Pad Transformer Android Development] atomic339:
on AOKP b38 with 21.10 get a lot of SOD's
[Eee Pad Transformer Android Development] guevor:
So you can help I need more information. The problem happened in the previous version?, or since what version? (to think about it because of some change) or may have been always (so something is not fixed)

What frequency/voltage used, may have to raise the voltage.

Nor does it indicate whether or not use the dock, SD, microSD, or is TF101G or TF101.
[Eee Pad Transformer Android Development] bsoplinger:
My $0.02 on this is that I like what you're doing now. Releases meant for testing or for addressing a specific bug sprinkled through the thread and "generally useful" kernels in the OP.

Sent from my HTCEVOV4G using Xparent Purple Tapatalk 2
[Eee Pad Transformer Android Development] guevor:
Compiled with the tun non-modular.

My idea is that if the VPN works,will put this version on the first page as the V22, because to me it worked perfectly after trying intensively. In any case if different comments could confirm that the change in V21.10 causes problems, will remove that change.
[Eee Pad Transformer Android Development] thejust:
I'm using AOKPCB R2.1 (AOKP B38) with 21.10 (aokp) and its been perfect for the last two days or so...

what version you using? did you wipe dalvik and cache?
[Eee Pad Transformer Android Development] jtrosky:
Just flashed and tested 21.11 - works perfectly for me with my IPSec Xauth PSK VPN! No longer need to do a "modprobe tun" - thank you *very* much, @guevor - donation forthcoming! :-)

EDIT: Donation sent! Thanks again.
[Eee Pad Transformer Android Development] atomic339:
Don't have problems on previous versions which work on b37, because it's first working on b38.

Tablet is only WiFi with micro SD and I use dock but I get SOD with dock and without. I will try to remove micro SD

When I installed v21.10 I didn't have problem for 1 or 2 days but I want to change set cpu app to pimp my cpu app and re flash kernel too of course with cache wipe. But I don't think is caused by this because on set cpu I tested OC and UV and have a lot of freez so I didn't worry about SOD and maybe I don't remember.

I use deflaut setting interactive/sio. Now I change to cfq and try OC to test.

Yesterday I tried your settings for interactive "io_is_boost" to set "1" and got first SOD which I remember. But after reboot this setting was setting to "0" automatically and get SOD too.
[Eee Pad Transformer Android Development] guevor:
Well, if it worked well in B37, we should be able to get the same with B38, except if for some changes on that version is more easily produced some of the problems now unlocated (which would be weird since there are people who have no problems).

Anyway, you first have to rule out possible problems, for example with overclocking or undervolting, maybe there has been a problem with Pimp My Cpu and has created a wrong voltage profile.

Theirs would be trying to test a situation as stable as possible (perhaps set the limit at 1000 MHz and leave the default voltage) to see if the problem persists and if so, could try to compile a version without some changes to see if works best.

Glad to help.

EDIT:

I just created the package to enable at boottime the new governor interactive option.

I'm with hurry and I could not test it now, but should work without problems, it is a simple script to set to 1 the option from init.d
[Eee Pad Transformer Android Development] atomic339:
Can you tell me what your setting is?

Thanks guevor I will try
[Eee Pad Transformer Android Development] inigoml:
21.10 and SOD continues. Only v20 and default stock kernels seem to be free of SOD

Revolver 4.0.3 RC3, dock and B60

By the way, only SOD when docked. After reboot dock battery was always depleted.
[Eee Pad Transformer Android Development] surtrafl:
Just to know, this kernel supports loop devices?
[Eee Pad Transformer Android Development] taptotap:
no sod, but lost deep sleep (at least partial)
[Eee Pad Transformer Android Development] tsachi:
Works with anyconnect.

Thanks
[Eee Pad Transformer Android Development] maciek82:
Strange. Started getting authentication problem via wifi after upgrading to 2.11.
[Eee Pad Transformer Android Development] droyd4life:
Flashed latest version, no WiFi?

I'm on AOKP build 38 and I flashed 21.4, now my WiFi isn't working at all... I wiped data and it's still not working, any fixes?
[Eee Pad Transformer Android Development] gkillerx:
Guys when flashing make sure to wipe cache and dalvik this will fix most problems !
[Eee Pad Transformer Android Development] sidneyk:
Netflix video freezing

I am now on version 21.11 build 607 and have experienced the Netflix video freezing again. I started from a fresh reboot and the video was fine for about 30 minutes or so. When I started another video right after, it froze a couple minutes into it. I then ran alogcat right after and saved the output with debug level logging and raw format.

http://db.tt/6SVLvqwA
[Eee Pad Transformer Android Development] guevor:
I looked over the log, and the first thing I saw is that the mediaserver failed. What I see is that open a codec with parameters of 640 x 480, Baseline-profile level 3.0, and that when it fails, has recieved a different frame size. I have not clear that the origin is in the kernel, is more like an uncontrolled problem in the system or application. Perhaps the kernel may influence that situation to occur. Will continue to seek information
[Eee Pad Transformer Android Development] sidneyk:
Maybe a Netflix issue. Before their last update I used to see some weird artifacts between scene changes, like it it was confused about how to scale and would try to blow it up and then bring it back down to a different size, just slow enough that you could see it transitioning. Since the update, if video is actively playing, I don't see more than a slight glitch between scene transitions. Quite possibly Netflix has more work to do. As before, when I get the freezes, if I clear out running tasks it is sometimes OK for awhile, so maybe it's also not too efficient with memory. Thanks for looking though.
[Eee Pad Transformer Android Development] strker45:
i deleted the modules and reinstalled your kernel and all was well. but i had to disable my init.d script this enabled the modules so one of the modules included is the problem.
[Eee Pad Transformer Android Development] justmara:
after a while using TF101G CM9 with test8: deep sleep works, but still random reboots in sleep mode. once in an hour or two. limited o/c to 1.0ghz but still get some reboots in standby mode.

and here comes the funny part: it turned off when i plugged in charger. and it freezed three times when i tried to boot with charger plugged in. only when i unplugged it - it booted normally o_Oa
[Eee Pad Transformer Android Development] atothis:
Excellent kernel, smooth, fast and no reboots so far at any frequency I tried.

As a side note: I forgot my TF @1.7, I was running Splashtop to watch TV, and after 1 hour of watching it freezed and rebooted. It was f** hot lol, but I think it lasted even too much at that extreme frequency :p

TF101, Test8 on CM9 29 Mar ROM.

Thanks guevor!
[Eee Pad Transformer Android Development] Nebucatnetzer:
Do you already tried how it goes after a full wipe? You can still restore the backup if it didn't help.
[Eee Pad Transformer Android Development] guevor:
Updated first post.

Test9 has introduced many changes. It may be much more problematic than previous as have changes on many fundamental parts that affects states of cpu, frequency changes, suspend and other.

I made ​​more changes, but were giving me problems and have left out.

It takes a long time to make changes, make that compile without errors :-), install, test that everything works well, and start again with another change, so for now I prefer to publish these and see if there are problems that I have not detected.

I await your comments
[Eee Pad Transformer Android Development] guevor:
That should not happen. Although it might create a kernel limited to those values, that does not erase the fact that should not happen.

I usually look too cpu spy, and I've never seen (since the fix in early versions) to use frequencies that should not and many many hours of use.

I use os monitor (sure there are others) and allows me to view and change the limits of the frequencies of both cores, there may be some discrepancy between cores.

I hope we find the cause.
[Eee Pad Transformer Android Development] guevor:
The next step would be to check which. May be bcmdhd.ko
[Eee Pad Transformer Android Development] guevor:
That sound really extrange. With my TF101 this don't occur. Can some other with TF101G check it?.
[Eee Pad Transformer Android Development] Nebucatnetzer:
What would happen if you make your kernel so that it works everytime with ricardos ROM?

Would that brake it for other devices?
[Eee Pad Transformer Android Development] guevor:
Oops that hurts.

1 hour at 1.7Ghz is a long time, certainly the battery would suffer as well the tegra2.
[Eee Pad Transformer Android Development] SWEagle:
On test9 now. Will report lator. Folks are forgeting "stay awake". That did it for me... Kernels are stable if you do that!

For along time i didn't see so many updates... Love it! :)
[Eee Pad Transformer Android Development] guevor:
Should check to be sure. I'll do some testing.
[Eee Pad Transformer Android Development] Nebucatnetzer:
test9 works quite well from what I've seen so far. Just the Wifi is broken because IIRC Ricardo uses a different Wifi driver.
[Eee Pad Transformer Android Development] guevor:
I sent you a pm to test.
[Eee Pad Transformer Android Development] Nebucatnetzer:
I'm already testing^^
[Eee Pad Transformer Android Development] guevor:
Test9b is a modified test9 to make wifi work on CM9 and continue working on Revolver. Please, test with other roms and report.
[Eee Pad Transformer Android Development] j3tt3:
I disabled "control cpu frequency" on Battery Saver Pro. No reboots OC'd at 1600. Battery life is cool at 33% left in more than 15hrs of continous use with open yahoo messenger / Skype (video call is ok now), 2 back ups, cpu tests (quadrant 3500+ and antutu 7300+) every 3 hours (lol.. to check if it crashes).

Reboot happens only once (in Test8) and everything has been been fine.

Now Im going to flash Test9.
[Eee Pad Transformer Android Development] cr_972003:
I didn't get the reboots but my TF101G was locking up during boot when I had the dock attached and being charged. This was with version 7 and 8 from the CM9 ROM thread. Funnily enough version 4 from that thread did boot when docked and charging.
[Eee Pad Transformer Android Development] sbiriguda:
Mind pushing all commits for those versions as well? The repo on github is still on the commit for Test8.
[Eee Pad Transformer Android Development] shadrach47:
Thanks, this fixed my Wifi problems on AOKP. 9b is working great!
[Eee Pad Transformer Android Development] Thing O Doom:
Its definitely the app, before the last update by netflix (Fixed it for me) I would have to select a movie, pause, go portrait, press sleep button, then unlock in landscape mode. Then it'd work perfectly xB Now I don't need too anymore though.
[Eee Pad Transformer Android Development] devilpera64:
Guevor another time USB on the dock won't recognize Removable Media. I attached you a logcat.

https://rapidshare.com/files/1981536687/Log.doc

I'm using your last 21.11
[Eee Pad Transformer Android Development] cholywell:
21.4 wasn't compatible with AOKP. the first version to support AOKP was 21.9. Scroll back a couple pages and find the latest version 21.11 and it will work.
[Eee Pad Transformer Android Development] thejust:
I'm using interactive, sio, 1200 max no profiles and guevors voltages

Hope it helps!
[Eee Pad Transformer Android Development] AllanJacques:
strange as it may seems, after 21.4 every kernel hangs sometime, even thought they are faster...

I really would like to have their speed and 21.4 stability...
[Eee Pad Transformer Android Development] droyd4life:
thanks!