yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] Modded Darts:
Request

Motley could you add voltage manipulation and the ability to control which cores are active ie the companion core or the other 4.
[Asus  Eee Pad Transformer Prime] RubenRybnik:
+1 ... Either the few kernel devs for the Prime are on vacation together or maybe their waiting for the updated kernel ;o)
[Asus  Eee Pad Transformer Prime] RubenRybnik:
Wow ... nice update! What are you looking for from testers? General feedback, logcats on boot? Or just logcats after something is unexpected? I'll try this tonight, but I'm running AOKP so info to match that
[Asus  Eee Pad Transformer Prime] boynamedstacy:
Great to see you back, sir motley! Been looking forward to a new build man, thank you for this! I too an running AOKP and will test her out as soon as I can.

EDIT: I am using a 64GB model. Should I hold off from testing? I wouldn't consider myself an "experienced" tester :-/
[Asus  Eee Pad Transformer Prime] zeus34:
Testing

AOKP38 Prime 32gt

*Boot ok

**kernel works just fine no crashes

***Overclock mod ok

Big Thanks Motley your hard work
[Asus  Eee Pad Transformer Prime] jermaine151:
Good job Motley!
[Asus  Eee Pad Transformer Prime] rift999:
Thanks for the update. Not many kernel devs for the TFP. Thanks for helping us out.
[Asus  Eee Pad Transformer Prime] umneycreep:
Wifi still not working on Gummy... If you look at the wifi list screen it is flicking on and off really fast... strange...
[Asus  Eee Pad Transformer Prime] gunz.jones:
B38

1.3 ghz oc

CFQ

Ran at 1.8 also. It is running amazing. No SOD yet as on the old kernel. No BT issues that cause resets either. Will report back in a few days. Thanks muchly for the update.
[Asus  Eee Pad Transformer Prime] _motley:
Thanks jermaine, hope you are doing well!

Thanks, glad to hear we are good on AOKP

Hi boynamedstacy, thanks for cheering me to come back haha. I can create at boot.blob based install for you. Those always work right for you right? You are an experienced user I know :)

Just looking for anything you can find, report, or suggest. Hopefully we won't have booting issues etc.

Thx, you are welcome. I would spend more time doing it if I had the time.

Thanks for the feedback. Gotta a fix for you. The kernel is looking for the nvram.txt file in the /data directory in the Gummy/EOS based kernel config. Here is an updated zip that also includes the file in /system/etc where my kernel is looking for it.

Updated generic kernel zip: View attachment motley_tfp_generic_3.0.3_with_nvram_file.zip (note to other don't use this for AOKP or stock!)

Let me know how it works for you.

Awesome gunz, thanks for the feedback.
[Asus  Eee Pad Transformer Prime] newellj79:
I'm running aokp b38. I had already flashed the optional aokp cfq scheduler. After flashing this, I get a boot loop. I'm sure it's something to do with the cfq patch because the same thing happens when trying to flash older kernels of yours that worked great prior to the cfq patch. I'm dying to try this though so I'll ditch the cfq patch for now to see if it works. The cfq patch makes a big performance difference though. If it is indeed the patch causing the problem is there anyway to get a version of the kernel that works with it?
[Asus  Eee Pad Transformer Prime] _motley:
Hi, yes this doesn't surprise me since the default i/o scheduler in my kernel is cfq. If you remove and stop the insmod from loading the unneeded cfs kernel module, I think it will work.
[Asus  Eee Pad Transformer Prime] newellj79:
Ok. Got it all booted up ok aokp 38. Had to create the 51overclock script in init.d/, changed the 3 to a 5 trying for 1.8, and I'm stuck at a max of 1.6. Which is better than the 1.5 I was at. Am I missing something?
[Asus  Eee Pad Transformer Prime] boynamedstacy:
Motley, I would totally love it if there were a version for the 64GB unit! Why is it that the storage size matters anyway? Just curious.

Sent from my Transformer Prime TF201 using Xparent ICS Tapatalk 2
[Asus  Eee Pad Transformer Prime] _motley:
Hey guys, I have updated post 803 with an AOKP-only blob based install that should work for 32 or 64GB primes: http://xdaforums.com/showpost.php?p=27014792&postcount=803

This install also sets the OC frequency to 1.7 by default since it overwrites the stock cpu_overclock script. The reason why it is likely going back to 1.6 is because this script is running after the 51overclock script or perhaps you have some other mod installed to OC? If the later is the case, then you may need to uninstall that (Dr Wowe etc.).

The reason the 64GB tablet fails using the anykernel method is because one of the command line tools in the anykernel package doesn't like disks that large for some reason. Jermaine figured this out with you at one point I remember.

Just flash the aokp build 38 zip again if you want to go back to stock and you won't lose any settings etc.
[Asus  Eee Pad Transformer Prime] newellj79:


Thanks motley. The blob based install worked great!
[Asus  Eee Pad Transformer Prime] qubz:
Just flash the aokp zip?
[Asus  Eee Pad Transformer Prime] notoriouspk:
Running Aokp build 38 with motley alpha 3 kernel 1.7.zip tablet runs hot v hot.I hope we get to use the kernel at 1.5 CPU.....1.7 is pushing it as a result prime gets hottt! Thanks for the kernel :)
[Asus  Eee Pad Transformer Prime] _motley:
For AOKP, you can easily set it at 1.4 or 1.6 as shown in the init.d scripts below. As for the heat @1.7, what is it that you do that gets the tab so hot?

If you do a lot of gaming or video watching for long duration, you are better off running at 1.4 or 1.6. You will still get the benefit of the other optimization and features within the kernel.

If you use the performance governor, it will get hot. You should stay on the interactive governor for daily use.

When the tablet does get hot, it will throttle down to 1.3 (EDP feature in tegra) until the temp recovers.

Double check your init.d script implementation. For AOKP, make sure you have just one init.d script in /system/etc/init.d doing the cpu initialization (cpu_overclock is the default file/script name for AOKP that you should use, so you you don't also need 51overclock as shown in my example that you may use on other non-stock ROMs such as EOS or CM9.

I am currently on AOKP 38 as well and last night I did a lot of browsing and ran an Antutu benchmark using the interactive governor and it didn't get very warm. However, I know that everyone does use their tablet in different ways.

cpu_overclock For 1.6:

#!/system/bin/sh
echo 3 > /sys/module/cpu_tegra/parameters/system_mode
echo 1300 > /sys/kernel/tegra_cap/core_cap_level
echo 0 > /sys/kernel/tegra_cap/core_cap_state
echo 0 > /sys/devices/platform/tegra_grhost/enable_3d_scaling
echo 10 > /sys/module/cpu_tegra3/parameters/mp_overhead
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_1
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_2
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_3
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_4
setprop power.saving.mode 1
setprop persist.tegra.NV_FPSLIMIT 0
setprop persist.sys.NV_FPSLIMIT 0
setprop persist.sys.NV_POWERMODE 0

echo 1600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo N > /sys/module/cpu_tegra3/parameters/no_lp

cpu_overclock For 1.4:

#!/system/bin/sh
echo 0 > /sys/module/cpu_tegra/parameters/system_mode
echo 1200 > /sys/kernel/tegra_cap/core_cap_level
echo 0 > /sys/kernel/tegra_cap/core_cap_state
echo 0 > /sys/devices/platform/tegra_grhost/enable_3d_scaling
echo 10 > /sys/module/cpu_tegra3/parameters/mp_overhead
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_1
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_2
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_3
echo 9999999 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_4
setprop power.saving.mode 1
setprop persist.tegra.NV_FPSLIMIT 0
setprop persist.sys.NV_FPSLIMIT 0
setprop persist.sys.NV_POWERMODE 0

echo 1400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo N > /sys/module/cpu_tegra3/parameters/no_lp
[Asus  Eee Pad Transformer Prime] _motley:
Yes, but you may want to modify the cpu_overclock init.d script afterwards as I showed in the previous post if you don't like 1.7GHz.
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
On AOKP b38 would like to flash this using the blob file...but the only other time I've used a blob is to downgrade via cmd lines...Would the following be correct to get this up and running? Place blob on SD

su

dd if=/sdcard/blob of=/dev/block/mmcblk0p4

and reboot

*would also be bad ass to be able to run the zram script....some guidance on exactly how to do that would be great.
[Asus  Eee Pad Transformer Prime] newellj79:
Just download the zip and flash in your cwm/twrp.
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
Hahahah..I'm such a fool...always gotta complicate things...ty
[Asus  Eee Pad Transformer Prime] KOCTA:
Dear _motley,

would you be so kind to include support for QF9700-based Ethernet adapters in your kernel? Source and guide could be found HERE. When I tried existing .ko I got messages "version magic '2.6.36.3 SMP preempt mod_unload ARMv7' should be '2.6.39.4+ SMP preempt mod_unload ARMv7'" and "Unknown symbol __bad_udelay".

Yes, I use your old kernel, my Prime is 64Gb with stock rooted firmware. Also waiting for a blob for stock FW ;)
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
OW!!! Ouch...my fingers burn...LMAO...

You've outdone yourself motley...smooth as butter. Marked improvement over stock and from what I remember also over your older version.

Browser is super fast, everything is crisp and responsive...nice work.

Now to figure out how to run some of the scripts for tweaking....
[Asus  Eee Pad Transformer Prime] anoneemooz:
Nice nice. Was getting worried about development halting. I've just been lurking here hoping for some news in the kernel front. Glad to see this! Will test now on AOKP b38 :)
[Asus  Eee Pad Transformer Prime] boynamedstacy:
Damn, bootloop... Tried flashing the new zip on my 64GB TP and got stuck at the unicorn screen. Rebooted into recovery and flashed AOKP b28 again and I am all good now, but no Motley kernel :(
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
Did you get rid of the CFQ mod?...I flashed b38 to bring it back and then flashed motley running just fine. ....Try it again, if you flashed 38 and not restored it.
[Asus  Eee Pad Transformer Prime] boynamedstacy:
Yup, user error. I totally forgot about the cfq mod. Thanks bro!

See Motley! I told you I want very "experienced" :p
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
Any time man...motley's has cfq cooked right in...browsing is just as fast, if not faster...I keep saying it, dev'ing for this device is getting better and better -- Jerminae's AOKP and Motley's kernel has got me damned pleased I went with the prime.
[Asus  Eee Pad Transformer Prime] CekMTL:
_motley !!!!!!!!!!!!!!!!!!!!!

Yiiiiiiiiihaaaaaaaaaaaaaaaaaaaa

Working insanely ossom with my heavily modified & hacked & scripted WSG 0.0.6 .... the icing is now the zRAM.... buuuffff....

Am running SMOOTHLY more than 70 processes INRAM, and not a single one is being killed..... INSTANT multitasking (yes yes I know it's a tablet and NOT a PC... but now it runs BRUTAL!).

Am learning to code in android so I can release a proper app that will do a lot of things, hope I will succeed!!!!

ZRAM is soooooooooooooooooo sweet!!!!, and the rest of mods and updates to your kernel are great!!!!

THX MAN, will be checking the git to learn from the best!!!!

PS: oh and I forgot to say that all these programs are instant, and at the same time tTORRENT PRO is smoking in the background with 4 dl @ 1,5-2 Mbytes (going to ext USB HD)... ALL at the same time.... wuuuuhuuuuuuu

Enviado desde mi Transformer Prime TF201 usando Tapatalk 2
[Asus  Eee Pad Transformer Prime] gunz.jones:
Loaded the new blob bettor work and it reboots fine. Will check CPUspy when I get home to see what it scaled to and for deep sleep. Will post screens as well.
[Asus  Eee Pad Transformer Prime] Tempie007:
Just installed it on androwook 1.1, feels really snappy.

Will report issues.

edit ; zram enabled
[Asus  Eee Pad Transformer Prime] yumms:
Wow zram makes everything so smoothly. So this is what its like owning an iPad haha.
[Asus  Eee Pad Transformer Prime] RubenRybnik:
Running AOKP with CFQ scheduler. I know I need to uninstall CFQ before this, what's the best way to do that? Remove the modules for the scheduler and temporarily set it to deadline or noop so the kernel install will overwrite it?

Thanks, been hearing lots of good things about this kernel, great work Motley!
[Asus  Eee Pad Transformer Prime] gunz.jones:
Run the install of the rom you are on, then flash the kernel. It won't effect your settings for the rest of the rom.

Edit: Had an SOD. Came home from work and had to hard reset to get it back up.

b38

Docked, 32bg

No SD at the moment.

MicroSD 16gb

Kernel 3.0 for AOKP

No extra scripts running.
[Asus  Eee Pad Transformer Prime] newellj79:
Yep, just reflash the rom. Make sure you flash gapps to so you have them. Don't wipe anything. You will be all set.
[Asus  Eee Pad Transformer Prime] RubenRybnik:
Thanks all, flashed and up and running, looking good so far, but a little to early to tell anything definitive. Will update after a good days use :o)
[Asus  Eee Pad Transformer Prime] benefit14snake:
My main man motley is back! Haven't touched my prime much since your thread has been idle. Can't wait to try the new goodies out! Glad to see you are doing well.

Sent from my B38 MAXX!!
[Asus  Eee Pad Transformer Prime] notoriouspk:
running AOKP build 38

ok here is what i did just replaced the 1.7.zip overclock file for AOKP with the one above that says "cpu_overclock For 1.6" ... cpu spy says 1.3 80% of the time and every now n then it will jump to 1.4

first run ANTUTU @ 1.3 10401

Dont flash the cfq for build 38 if u wanna use motleys kernel otherwise u get into boot loop

here is what u need to do

just flash build 38

flash gapps

let it boot once

then flash motleys kernel(kernel has cfq built in) for Aokp

easy!

everything seems to be running smooth and a lot COOLER thanx man!
[Asus  Eee Pad Transformer Prime] ThunderRootedDragon:
Okay came home and have somethings to report:

Flashed b38 to get rid of the cfq mod courtesy of Jermaine

Flashed motley's latest this afternoon via blob...no issues, but didn't run much

Home...immediate random reboot...--light browsing on rootz via stock browser and than in dolphin and got lock ups and random reboots each time...tried playing with an app and prime became unresponsive (screen froze) and random reboot.

Flashed b38 and gapps and now reporting....

-my hat goes off to you motley...chalking it up as a random bug and running again tomorrow.

*edit...wondering if a kernel ever decides not to play nice with an app? I did download tasker and configured 3 automations involving a play between hardware and software and toggling gps and wifi...is it possible for kernel and such actions to even conflict?
[Asus  Eee Pad Transformer Prime] gunz.jones:
This is the promised screenshot with init.d script adjusted for 1.8. No big heat spikes yet. Some slight issues with Splashtop Gamepad THD with testing, but that could have been ****e home network issues and weather (electrical storm in East Texas). May be due to the 1.8 OC, will keep testing it. Going to play some games. Good work, again.
[Asus  Eee Pad Transformer Prime] dagrim1:
Cool, running fine with Androwook 1.1!

About the zram script, just copy the lines in a file called '91zram' which is placed in etc/init (and make sure properties are set to rwxrwxrwx)?

Or is there something more to it...

And how can I test if it is actually working?
[Asus  Eee Pad Transformer Prime] KOCTA:
Tried to return the original kernel via restore from recovery backup and got a bootloop :( can't ever enter to recovery. I can enter to fastboot only or wipe userdata. Will try to flash kernel via fastboot. Any other suggestions?

Resolved using instruction HERE. Wiped all before I succeeded. Alas, I didn't copy nandroid backup to microsd and lost everything :(
[Asus  Eee Pad Transformer Prime] Tempie007:
That is what i did yes, i used Android Script Manager to make sure the script ran fine first ( https://play.google.com/store/apps/details?id=os.tools.scriptmanager&hl=nl )

Make sure BOOT and SU button are enabled on the script.
[Asus  Eee Pad Transformer Prime] dixxa:
and what can you see in a terminal when you type: " uname -a " ?

my tab says Linux localhost 2.6.39.4+ #34 SMP PREEMPT Fri Apr 6 09:56:04 EDT 2012 armv7l GNU/Linux

shouldn't it says 3.0.xxx ??
[Asus  Eee Pad Transformer Prime] _motley:
Thanks for all the feedback, I didn't expect this many people to jump on an alpha:o Sorry if I haven't responded to all of you personally, but I will try to answer the questions that seem applicable to everyone. I'll stop by as I have time.

For something like this, sometimes the best way is to just reflash the current rom you are on and then gapps (if applicable). It will replace the kernel, wifi modules etc. and hopefully fix you up without you having to wipe your user data. I wouldn't wipe data for a kernel change typically, but you can try if you are still stuck.

To tell if ZRAM is working, browse to /sys/block/zram0 and open the file "disksize" with a text editor. If the value inside the file is not 0, then it was initialized. The other files in this folder can give you status of what it is doing etc., but I won't go into all of that here.

Yes, thanks for helping. This is currently the best way to enable ZRAM, run the script as "su". The init.d script isn't going to work for everyone because of the permissions required. The ramdisk init files would need to be modified to set the permissions on the zram0 sysfs node before init.d runs.

The is the same problem with KSM. If it isn't being initialized in the init, then its hard for regular users to take advantage without using a script manager. For ROM builders and cooks that include the kernel, they can implement a better process to initialize these things a boot time or set looser permissions so init.d will work as expected.

Hey there CekMTL, my hardcore tester is back! Thanks for all the feedback. You are too kind;)

Yes, once the CFQ module .ko file(s) are moved out of the folder where it is being loaded from, it won't collide with the built-in CFQ functionality. With this kernel, a module is not required, so it won't overwrite anything.
[Asus  Eee Pad Transformer Prime] KOCTA:
dixxa: No, it's 3rd version of Motley kernel, not 3.x Linux (Android) kernel branch.

_motley, thanks, I've updated my post. Will you make blob for 64Gb Primes on stock FW? Or AOKP blob fits to stock ROM too?
[Asus  Eee Pad Transformer Prime] dixxa:
root@android:/ # ls -l /etc/init.d

ls -l /etc/init.d

-rwxrwxrwx root shell 1591 2008-08-01 14:00 10-virtuous-optimize_performance

-rwxrwxrwx root root 1231 2012-06-07 12:28 91zram

-rwxrwxrwx root shell 1410 2008-08-01 14:00 97zipalign

-rwxrwxrwx root shell 557 2008-08-01 14:00 98permissions

-rwxrwxrwx root shell 110 2008-08-01 14:00 99test

root@android:/ # ls /sys/block

ls /sys/block

loop0

loop1

loop2

loop3

loop4

loop5

loop6

loop7

mmcblk0

mmcblk1

root@android:/ #

And I do not have a zram0 file so could someone explain what is the exact install procedure.

I'm not a noob in android or linux so I don't mind technical explanations. :)
[Asus  Eee Pad Transformer Prime] CekMTL:
Thx _motley!

Any way I can help, you know you got it!!

And hopefully I will be getting up to speed on compiling kernel and doing my own "mad professor" tinkering.

For now system is running smooth.

Made some very heavy changes in my OS to allow me to run a HUGE amount of processes/apps, and me being in control of what processes get killed.

No more need to fiddle with OOM values & stuff like that.

Anyways, I've got a huge amount of ideas to tweak the os to insane levels, and want to incorporate all that in an app that will take care of all.

It will be as easy to use for someone that doesn't have a clue, or for someone that knows precisely what he is doing, and it should run on all ICS's and all brands.

Multitasking now is INSTANT and the feeling is ossom to say the least (no more waiting for Browser+ to get reloaded, coz stupid ICS decided to kill it just to increase file cache...stupid stupid stuuuupid!), and ZRAM has increased that feeling to new hights!!!!! :)

Enviado desde mi Transformer Prime TF201 usando Tapatalk 2
[Asus  Eee Pad Transformer Prime] Tempie007:
It's not a linux 3.* kernel , its Motley 3.0.0 based on the 'old' kernel.
[Asus  Eee Pad Transformer Prime] RubenRybnik:
What is the correct way to enable zram on boot with AOKP? disksize is 0 after rebooting? I know I can run manually after boot, but would be nice to set it auto.

EDIT: Nevermind, stupid user error( execute bit wasn't set ( 755 now ) ) thanks.

EDIT 2: Scratch that, set perms correctly( usr/grp as well ) reboot, still disksize cat's as 0

EDIT 3: Ok using SM Script Manager to run it, works now( look forward to testing :o) ) but would still love to know how to set without ScriptManager at boot for my own curiosity :o)
[Asus  Eee Pad Transformer Prime] paddycr:
Hey Motley - great work on the kernel as usual. I re-flashed Eos last night and I see that no one has reported whether the kernel works with this rom. I will report back later...

Are you planning on releasing your Galaxian Soup rom for the TF201? I am sure that there are a ton of people on here who would welcome another rom however "experimental" it is!
[Asus  Eee Pad Transformer Prime] PapaSmurf6768:
Hey motley,

Just reporting something; I'm having the same problem that I had with 2.6.11 on the Alpha 3 kernel (stock ROM by the way). Every now and then while watching a YouTube video, the tablet reboots. It could also do it during other stuff too I guess, but I mainly watch videos so that's when I notice a reboot. 2.5.8 is what I'm using now, and doesn't seem to have any reboots. Hope you can figure something out!
[Asus  Eee Pad Transformer Prime] _motley:
EOS works great, I am running it right now since that is where I did my last bits of testing. Just flash the zip from this post for the generic kernel:

http://xdaforums.com/showpost.php?p=27014792&postcount=803

I may release the Galaxian Soup rom, but I don't have time to maintain it. I want to get all the dock keys working at least before I would think about it. The good news is another on our team just got the tf300t and we are working together on some stuff that will be interchangeable to some extent.

This will requires some changes to the init scripts in the ramdisk. You have to extract the boot.img, edit the init script with a command to set proper permissions on sysfs. Then, you repackage the boot.img and generate a boot.blob that can then be flashed with CWM. After this, the init.d script should be able to work on its own at boot time. I will see if I can do this for the stock ROM soon and post the blob. It will be hard for me to do this for all ROMs though since new versions come out all the time and you don't know when the ramdisk changes too. ROM devs or cooks that include the kernel will easily be able to do this if they want.

I have seen issues like this as well. This kernel seems to be better for me, but i will do more testing in this area. It may just be the roms that I run (usually mine, AOKP, or EOS). I used to run stock, but i typically don't anymore.

P.S. I have seen in the general section where many running stock also had these problems. I definitely would like to know what causes them. You may want to try to run a slightly higher voltage in your cpu3.sh.
[Asus  Eee Pad Transformer Prime] paddycr:
Thanks Motley - it is working great on Eos. I hope that you release the rom but certainly understand your reservations. Seems like a bit of a pain in the ass being a dev lol!