yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] st33med:
Because, the scheduler is INSTALLED in the kernel. You don't NEED ATP to install any SIO or CFQ modules nor set it.

Apps like No-Frill Cpu control or Voltage Control check and see what schedulers are installed, usually with this kernel you have NOOP, CFQ, and SIO, sometimes deadline. I would recommend setting the SIO scheduler instead of CFQ now since with 3.0.6.9, we no longer have inconsistent and slow IO speeds. CFQ is designed for slow IO, so SIO and NOOP will perform better than CFQ typically.

The version that you install with ATP is not designed for non-stock and it is highly recommended to install something else to manage schedulers.
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
Listen you're on your own now, do whatever you want. I give up.
[Asus  Eee Pad Transformer Prime] bedoig:
Only played with it for about 30 minutes, but didn't notice any wifi issues. Toggled it on/off a couple times with no issues. CM9.
[Asus  Eee Pad Transformer Prime] nightmarept:
I`ve tried the new 3.0.6.9 but i have no deep sleep. returned to 3.0.5 and is working again.
[Asus  Eee Pad Transformer Prime] _motley:
Thanks for the feedback on the latest alpha. I believe I have a good idea on where to look for the issues and will report back as soon as I can.
[Asus  Eee Pad Transformer Prime] st33med:
Thanks, we appreciate it! I enjoy the faster speeds. I still get an ANR every once and awhile. So ASUS/Nvidia has to deal with that.

---------- Post added at 07:34 PM ---------- Previous post was at 07:24 PM ----------

Additionally, you may find some moolah coming your way. ;) You're practically doing Asus' job, not to really knock their efforts. Just I have a feeling they are way understaffed especially in the software division.
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Can confirm on stock version 3.0.6, turn off wifi, wont restart without reboot. Reverted to 3.0.5.
[Asus  Eee Pad Transformer Prime] st33med:
For those who want to enable SIO easily with this kernel go here and flash the sio-script.zip file in CWM/TWRP.
[Asus  Eee Pad Transformer Prime] mazubo:
Doesn't this new build enable sio already?
[Asus  Eee Pad Transformer Prime] _motley:
3.0.6.10 released to hopefully address deep sleep and wifi issues.:cowboy:

Let me know how it goes!
[Asus  Eee Pad Transformer Prime] st33med:
SIO is included, but not enabled. CFQ is the default scheduler. I make it so people don't have to use an APK to do stuff or fiddle around with the terminal to enable SIO at boot.
[Asus  Eee Pad Transformer Prime] skarfreak:
confirmed.. wifi fixed... able to toggle off and on...

Thank you so much motley..

---------- Post added at 04:04 AM ---------- Previous post was at 03:59 AM ----------

so i got SIO enable on ROM toolbox KERNEL TWEAKS, and flashed SIOSCRIPT to by viperboy edit, is this ok already?
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Zram

Hey Motely,

Can you comment on zram? I'm slightly confused, I have a file in int.d zram91, do I run the script on the OP? The confusion is that it has zram90 in it....
[Asus  Eee Pad Transformer Prime] st33med:
Sure, if you mean ROM toolbox is not setting it on boot but just confirming it is SIO. I assume the script makes SIO default at boot (or maybe it installs a module too, which makes it kinda redundant since the kernel already has it included). My method is just more straight-forward and simple, IMO.
[Asus  Eee Pad Transformer Prime] _motley:
This is AWESOME, thanks dude!:good:

I was able to duplicate/fix the deep sleep issue. I expect the wifi issue is related...the MMC/SDIO/SDHCI are tightly integrated with wifi. At least I hope! The wifi issue again exposes differences in our hardware. I am soon going to put in some debug messages at boot that helps us better ID the hardware we are running SoC, WiFi, MMC etc.

Hi, this is included already in the stock full ramdisk install. I have updated the OP to make it clear now, thanks. Otherwise, it is up to the ROM dev to provide the modules. These modules live inside the ramdisk in the stock ROM (sbin), but some ROMs like AOKP have taken them out of the ramdisk and placed them in the normal modules folder (system/lib/modules).

It will be interesting to see how this improves things across the board for the different models and serial number classes etc.. Better hardware can hide the sins of poor software. And, poor software can amplify the sins of poor hardware. Either way, at least we have the latest MMC stack now and are in a better position to troubleshoot and move forward.

Second that. Both are important. High benchmarks are cool, but mean nothing if the user experience is not good. I'm definitely in a quest for both!

Sorry I wasn't clear on this. The private alpha 3.0.6 I sent out to the testers didn't have the MicroSD card working. 3.0.6.9 did, but it also introduced some bugs. 3.0.6.10 will hopefully solve those issues.

Hey chugger, the guys are giving you good advice. Here is the difference. The stock Prime kernel doesn't have SIO built into the kernel binary, but it does have other i/o shedulers built into the kernel. Kernel modules can be provided to plug-in to the kernel and provide other features/drivers. ATP Tweaks is cool for stock rooted ROMs since it provides the SIO module and is able to load and and tell the kernel to switch from the default scheduler to SIO (or the others).

This kernel already has SIO,cfq, noop, and deadline built into the kernel binary. It doesn't need the kernel modules provided by ATP tweaks. However, the default scheduler is CFQ, so if you want to change to SIO, you need a script or a tool to do this. ATP Tweaks is not the right tool, but st33med is now providing a script to do this.

The 91zram script was provided in some of the early alpha zips...this is probably where that script came from. Not sure about the 90, maybe its provided by your ROM. Which ROM is that? Nice to see it implemented.
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Installed .10 now, wifi on off works, any secret to achieving deep sleep?
[Asus  Eee Pad Transformer Prime] SOTK:
Not sure if this is an AOKP B40 bug or a Kernel bug but my Bluetooth won't turn on either in settings or by clicking the toggle switch in the Nav bar.
[Asus  Eee Pad Transformer Prime] _motley:
Its possible we still have a bug here depending on whether or not you have an SD Card mounted. Do you have a MicroSD card to insert? See if it sleeps after you insert it.

BT is working fine on stock at least...I was just able to link up to my phone.
[Asus  Eee Pad Transformer Prime] SOTK:
Thanks. I rebooted the TP and its working just fine now. Go figure!

By the way, awesome work on this kernel, Motley! Thank you very much. You've breathed new life into this thing!

Note: Real world performance is definitely noticed but I'm not seeing the kind of benchmark I/O results I thought I'd see. Just an interesting side note. I am seeing fairly consistent results across several benchmark runs and suites but not a drastic improvement from previous iterations of your kernel (or compared to yours or others current findings). I'm not hung up on this as my real world performance seems improved. I know that's what is most important but I guess expected a little higher I/O scores on par with what you or others have already reported.
[Asus  Eee Pad Transformer Prime] airbillion:
Hey motley great kernel! Thanks for all your hard work! Just want to let you know that I have not been able to go into deep sleep mode with or without a micro sd card installed.
[Asus  Eee Pad Transformer Prime] knives of ice:
Wi-Fi broken for me on .10 aokp I had no problems on .9
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Ejected sdcard... rebooted, let it sit no deep sleep, inserted sdcard rebooted no sleep I can only get down to 102....
[Asus  Eee Pad Transformer Prime] demandarin:
i finally took the plunge and unlocked and flashed a rom. im running Androwook with Cayenne heat(1.7ghz) and your 3.05 alpha kernel. running great so far! i also implemented your zram with smanager to run and load on boot. used rom toolbox to select sio and for it to run on boot also. im good to go. Loving the rom n kernel.

stock doesn't even compare to the custom scene.
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Glad to see you on board Demandarin.... curious what did you do exactly to make zram work? pm or post whichever ya like....

stock doesn't even compare to the custom scene.
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
You create a file name as you want, with this inside:

#!/system/bin/sh

# auto zram activation init script with busybox search

# by show-p1984

echo "[90ZRAM]: Firing up /system/etc/init.d/90zram";

if [ ! -e /sys/block/zram0/disksize ] ; then

echo "[90ZRAM]: ERROR unable to find /sys/block/zram0/disksize";

echo "[90ZRAM]: Is this a ZRAM kernel?";

echo "[90ZRAM]: ZRAM NOT ACTIVATED. (404)";

else

#find busybox in /system

bblocation=$(find /system/ -name 'busybox')

if [ -n "$bblocation" ] && [ -e "$bblocation" ] ; then

echo "[90ZRAM]: busybox found in:" $bblocation;

echo "[90ZRAM]: Setting ZRAM disksize.";

echo $((100*1024*1024)) > /sys/block/zram0/disksize

echo "[90ZRAM]: Starting ZRAM...";

bblocation=${bblocation%/*}

cd $bblocation

./busybox mkswap /dev/block/zram0

./busybox swapon /dev/block/zram0

echo "[90ZRAM]: ZRAM activated.";

else

echo "[90ZRAM]: ERROR! busybox not found!";

echo "[90ZRAM]: Is busybox installed? Symlinks set?";

echo "[90ZRAM]: ZRAM NOT ACTIVATED. (404)";

fi

fi

Save it to /system/etc/init.d/

Check/set permissions to rwx r-x r-x

Reboot

If you don't have a working init.d use Script Manager to launch the file after each boot.

The code is in OP....

EDIT: if you run CM9, open the file:

/system/addon.d/50-cm.sh

At the beginning you have this part:

list_files() {

cat <<EOF

etc/hosts

etc/init.d/99Tweak

EOF

}

Just add a line between the two EOF (under etc/hosts) with the file path without '/system/ ' to have it restored after ROM update. Check executable permissions after saving the file.
[Asus  Eee Pad Transformer Prime] cyiam40:
Welcome aboard! I was wondering how long you were going to be able to resist...LOL.
[Asus  Eee Pad Transformer Prime] thierry_hd2:
Wookie Fan

Hello Motley,

I am still confused about which version of your kernel I should use on the Wookie 2.0 ROM. I want to upgrade to your latest kernel.

Out of the 4 versions which is the one we should use for Wookie?

It would be nice if you could mention the Wookie ROM next to the right kernel in the OP.

Thanks in advance

P.S.: I used the search function but I couldn't find a clear answer on this topic.
[Asus  Eee Pad Transformer Prime] Bastaerd:
It is simple. You need the stock kernel since Androwook is based on stock Asus .28 ;)

Just installed 3.0.6.10, will run some benches when I am home. Wifi switching on/off has been fixed, awesome work _Motley!
[Asus  Eee Pad Transformer Prime] newellj79:
Holy shiz! I don't believe it... good for you! On another note. Can anyone confirm that deep sleep is working on aokp using the 6.10 kernel? I was downloading torrents all night so I can't verify it either way yet.
[Asus  Eee Pad Transformer Prime] skarfreak:
Wifi fixed... no deep sleep... but i think im all good... great kernel mr motley. Keep it up.

Updare: tried youtube, no sound, all media too, no sound. Just rebooted, still no sound..thanks...
[Asus  Eee Pad Transformer Prime] _motley:
Awesome, welcome to the dark side. Or wait, maybe it is the opposite! Either way, its great to have you.

Weird, but no other sound problems have been reported. The changes I am making shouldn't affect this area of the kernel. You may want to reflash the ROM you are on to see that helps.

Looking into the sleep issue, my guess is that it will also affect AOKP too. Looking to hear others from AOKP to whether wifi is working or not and whether you used the Full ramdisk zip for AOKP or the anykernel zip for Stock/AOKP. The tf201 device tree hasn't changed in the aokp git and it still uses the stock kernel. In that, I don't think we should have any problems here. Id really like to verify that we are over the wifi issue with .10 and then I can concentrate solely on the sleep issue. At least we idle at 102Mhz for now in .10, it could be worse.
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Deep sleep on androwook

I flashed this kernel :z_motley_anykernel_stock_and_AOKP_3.0.6.10.zip and there is no deep sleep. I tried booting with the sdcard in, I tried with sdcard out but it didn't make a difference. The wifi si fixed though which is much more important :D
[Asus  Eee Pad Transformer Prime] newellj79:
Motley... I used the aokp kernel for build 40. Wifi is working just fine but so far no deep sleep. I am NOT experiencing any sound problems as reported by another user. As always, thank you for making our primes fly. I hope to be upgrading to the infinity when it is released in a few weeks (ha!, we will see how that goes). Any chance of you doing some work on it?
[Asus  Eee Pad Transformer Prime] _motley:
Thanks guys, that is what I am hoping. In my mind, there should be no sound issues and I am fairly certain that the wifi issues should be cleared up now.

Not sure about the infinity, we'll see. If the kernel is nearly identical, I could likely support both with some simple kernel config switches. Its not much fun to try to support a device that you don't have if things would get too complicated though. I will be looking at the kernel source no matter what:good:
[Asus  Eee Pad Transformer Prime] notoriouspk:
Using 3.0.6.10 for AOKP running smooth but NO DEEP SLEEP. Thanks!
[Asus  Eee Pad Transformer Prime] Subsonic44:
CPU Spy shows that I have 0 time in deep sleep, but 80% of the time I'm in 102 mhz. Just curious what the system speed is in deep sleep?
[Asus  Eee Pad Transformer Prime] jiffy1080:
I can confirm no deep sleep on Androwook 2. I guess most likely all stock ROMs though.

-My build.prop thinks I'm a GT-I9300 but alas this is still my OG Epic 4G with CM9
[Asus  Eee Pad Transformer Prime] fordwolden:
My microsd won't mount. Did the full wipe zip and flashed androwook with 3.0.5 then wiped cache/dalvik and flashed 3.0.6.9/10 (tried both). Everything else is smooth. Dock SD mounts automatically. Got a C2O.... Prime.
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Has to be your install or the card isn't fully seated. I am running the same rom/kernel and it sees my micro sd no problem. Try a reboot with the card in.
[Asus  Eee Pad Transformer Prime] nibblet787:
Hi motley,

I've been following your work since you began. I'm hoping you can help solve my problem with random reboots that I've had with every one of your kernels. I have absolutely no problems with the stock Asus kernel, but with yours I experience reboots on both AOKP and Androwook roms, as well as on Balance and Performance modes. I even went as far and tried the changes you listed for cpu3.sh (I even tried tinkering with the other cpu files, but have since reverted all changes back), but nothing fixes it. I love your work in every other respect, but when I can't even get through reading an interactive book with my infant son without a reboot, then I'm sad. I've also tried capping the cpu clock in the cpu files and also in setcpu, but also without success. The same goes for trying different schedulers. As far as hardware specs go, I have a 64gb prime. I'm attaching a link to a logcat, but I'm skeptical that it has anything useful in it.

Also, the reboots occur often with apps like Splashtop THD, but it's not uncommon for it to happen while I'm just browsing the forums here or anywhere else, too. Yesterday, for example, I played Machinarium for hours without incident. Today, it rebooted twice after playing for less than a half hour. I can't find a common thread in any of it.

http://db.tt/DJmHi9ZJ
[Asus  Eee Pad Transformer Prime] fordwolden:
That's the thing, I tried rebooting both with and without the card. Tried both ntfs and fat32 formatted cards as well. It looks like it mounts but when I look in the "removable" folder it's empty. If I push the folder icon in the quick launch menu it disappears and if I go to settings and storage it just says "mount storage device" and nothing happens when I press that.

Could you give me a quick walkthrough on how you flashed it so I can replicate it?
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Sent you a pm.....
[Asus  Eee Pad Transformer Prime] fordwolden:
Just did my third full wipe with zip. This time I flashed and booted the rom, set it up and restored apps with TiBu, microsd working fine. Still lose my microsd when I flash 3.0.6.10 though. Strange, will have to investigate further! :-)
[Asus  Eee Pad Transformer Prime] thierry_hd2:
Hello,

I had the same issue as you. Random reboot on Androwook and motley kernel. I read from someone that he also had the same issues. He found the problem was that he used backup to restore its applications. I did the same. So, I took it the hard way and I installed the rom again. I installed all the applications one by one. I lost my scores in games, ... The end of the story is: NO REBOOTS. I cross my fingers. My Plex video player crashed everytime. It didn't crash a single time yet.

I have a 32GB TFP.
[Asus  Eee Pad Transformer Prime] Bazel:
I also have problems whith microsd IT won't mount.
[Asus  Eee Pad Transformer Prime] nibblet787:
Man, I'm getting to the point where I'm almost desperate enough to try your suggestion... I use Titanium Backup, but only for user apps. What I really don't understand is if it's the way my apps are restored, then why does this problem not carry over into the stock kernel? I've done clean wipes before every install, but might try doing a clean rom install and only reinstall something like Splashtop (from the market, not TiBu) and see if I can get it to reboot. Thanks for the input, you've given me something to work with!
[Asus  Eee Pad Transformer Prime] skarfreak:
Update: sound issue; i just reboot it, i guess it's all fine, twas nothing to do with your kernel i guess... sorry for the trouble...
[Asus  Eee Pad Transformer Prime] Gage_Hero:
Just for the record, did a full wipe, installed wook 2.0, let it settle in, let the apps download, backed up then applied the new kernel. No issue with wifi, external sdcard or sound. Only thing missing is the deep sleep.
[Asus  Eee Pad Transformer Prime] nibblet787:
Well, I did a compete wipe and reinstall of Androwook 2, but didn't reinstall any other of my apps except Splashtop (along with whatever comes with Androwook). Things seemed to be going fine for awhile, but it eventually froze and rebooted once again. I even left out TiBu too, just to make sure I had the most minimal installation...

I chose Splashtop as my test because it definitely happens with that app most often. However, I honestly don't believe the root of the problem has anything to do with that app specifically (I also happen to use that app like 80% of the time). So, once again, I'm back to square one with nothing to show for it. Still hoping that motley can somehow shed some light on this issue.
[Asus  Eee Pad Transformer Prime] notoriouspk:
DEEEEEEeeeeeEeeeeP Sleep missing rest seems Good Thanks!
[Asus  Eee Pad Transformer Prime] romeo57:
Same here. Microsd won't mount. Also, sound's seems to be quieter.

Sent from my GT-I9300
[Asus  Eee Pad Transformer Prime] fordwolden:
What's your serial? It was mentioned it could be relevant. I think I've flashed in every thinkable way now! :-)
[Asus  Eee Pad Transformer Prime] Gage_Hero:
SDcard

You guys that are having sdcard issues, anyone tried flashing motely's 2.6.1 or 2.5.8? It might help, might not... but since you have tried everything else.....
[Asus  Eee Pad Transformer Prime] fordwolden:
I use the 3.0.5 and it mounts just fine with that, and that's still a funky kernel so I'm in no hurry!
[Asus  Eee Pad Transformer Prime] gunz.jones:
Using 3.0.6.10 with AOKP 40 running at 1.7 with SIO. Super smooth. No crashes so far. MicroSD mounts fine. Using Dice to watch episodes from it. Very good work, the same as always. Thank you muchly sir for the continued support.

For those judging the 201 to the 300/700, the 700 would not be much of an upgrade other than ram. The 300 is a downgrade from this device, even with the upgraded ram type, as it uses a cpu with slower i/o than the tegra 3 used in the 700 and 201. Stick with this or go with the 700.
[Asus  Eee Pad Transformer Prime] _motley:
Thanks for all the feedback on 3.0.6.10. I hope to be able to find time to research the deep sleep issue soon. We are so close...grrrr! At least, we have v3.0.5 to fall back on.

The cpu clocks should be allowed to be stop until interrupted (and not just stay at the lowest cpu frequency like we are seeing). When I released, I was at fooled by CPU Tuner that showed me "offline" time and I had thought this was the same as deep sleep in CPU Spy, but obviously it is not.

As for the MicroSD cards not working and flakiness seen there....I had a card from my my old Nook Color and was using with older versions of the kernel that worked fine. However, this card would not mount correctly (had to do it manually). Once mounted, it would seemingly work. However, once any load was put on it, it would fail. I put it back in my Nook and formatted from there (not sure of the partition type). Since then, it works fine all the time and mounts perfectly every time. Thought I would share.

For those of you looking at github and compiling your own builds, here are some details on where I

think

the problem resides after some initial troubleshooting. Let me know if you have any ideas or input!

Tablet attempts to go to sleep, but pm notify for mmc doesn't seem to get dispatched /mmc/core/core.c (mmc_pm_notify). This is where the delayed work is scheduled and wakelocks are released.

Asus has 3 work queues, one for each drive. The other tegra3 kernels I look at typically only have one queue which is kind of odd, sharing one queue for all work. When I try one queue as in the Nvida source, it doesn't seem to work and the tab goes to sleep and won't wake up.

wakelocks are set for mmc0, mmc1, and mmc2 so that mmc delayed work can be scheduled gracefully via work queues before the tablet is allowed to go to sleep.

Comparing with 3.0.5, Better Battery Stats, shows these 3 wakelocks to be the culprit (mmc[n]_detect).

mmc1 (SDCard on dock) comes from a host that is also connected to WiFi (embedded SDIO card). Support is provided by kernel config CONFIG_MMC_EMBEDDED_SDIO. Asus considers this as built-in and it is somehow related to the problem I think. I am getting a lot of calls from mmc_release_host() in /mmc/core/sdio_irq_thread.c back to mmc_host_do_disable() core.c. Seems to be excessive chatter, but I am not 100% sure.

Asus has also implemented WoW (wake on wan). At first I though this was the issue, but I don't think so.

Problem is similar to this, but it is quite the same. Still in interesting read since the issue resides in the same area (http://lists.linaro.org/pipermail/linaro-dev/2011-July/005808.html)
[Asus  Eee Pad Transformer Prime] Vanto:
:D

May be this is completely out of order:cyclops:

but, have a Huawei E173 USB 3G dongle and I can NOT connect it> No matter what I've tried it just won't go thru

so,

I was wondering is it some how kernel related, this problem of mine

or mayB something can be done about it
[Asus  Eee Pad Transformer Prime] tylermaciaszek:
I'm no kernel expert or know the least about developing or code so i couldn't help with the deep sleep, but this kernel is amazing I must say that. Only thing is when watching youtube for long periods of time it freezes up and reboots.
[Asus  Eee Pad Transformer Prime] st33med:
Are you sure about the slower io on the CPU? Last I checked, all the tablets have the same Tegra 3 processor, just clocked at different rates. TF300T is similar to the Prime, the only differences are that it has DDR3 memory, brightness maxes out to 400 nits (I think), and lower clock speed. Oh, and a plastic cover instead of the sexy, shiny spun aluminum shell. :D