[MODULES][IOSCHED] CFQ, SIO and Deadline for stock 9.4.3.30 - Transformer TF300T Android Development

I have compiled some ioschedulers for stock ICS 9.4.3.30, they are laudable as module, so you don't need to have unlocked bootloader, only root is required.
How to use it:
1. Download first and unzip to you sdcard http://db.tt/yxQWh77G
2. You need terminal emulator or PC witch adb
3. To load the modules type in the terminal or adb:
Code:
su
insmod /sdcard/cfq-iosched.ko
insmod /sdcard/sio-iosched.ko
insmod /sdcard/deadline-iosched.ko
4. After loading the modules stay in the terminal/adb, now it is time to set you favorite iosched, I prefer sio, for it run:
Code:
echo "sio" > /sys/block/mmcblk0/queue/scheduler
For other replace sio witch cfq or deadline, note the default is noop. And I suggest to set read_ahead to 2048, ASUS set it to 0 witch is a bad idea:
Code:
echo "2048" > /sys/block/mmcblk0/queue/read_ahead_kb
It doesn't give us improved in benchmark, but I my opinion the tablet works better witch sio and read_ahead set to 2048
Note, after reboot you will lost you changes, so you need to redo the procedure.
Send from my ASUS Transformer Pad TF300T

Unfortunately, I just get a crash and a reboot.
Also, I think you forgot a > in your line:
Code:
echo "sio" > /sys/block/mmcblk0/queue/scheduler

Yes, I forget it, sorry. What ROM and kernel are you running? For my it works fine, look at it:
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2

I'm just stock rooted.

But what extacly? ICS, JB? What ICS, for now it is only for ICS 9.4.3.30
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2

Ah, that may be the issue. I'm on JB 10.4.2.13. I didn't notice the version requirement. Sorry!

Yes, that it is, if you wish I can made a version for your JB, but I will have time at weekend, have two exams in next days.
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2

I would be appreciative. Or, if you have a guide somewhere, I could attempt to do it myself

Related

[MOD]^^^AOSP Modifier-Virtuous OC-I/OScheduler Setting ^^^

AOSP Modifier
Control Script Settings
Virtuous oc settings
Virtuous oc enable/disable
Set I/O Scheduler
Enable clean up on boot (Clears LOST.DIR and .trash on sdcard and clears dalvik and caches)
Tested on the latest MIUI Rom.
NEW
Set I/O Scheduler In the control script allows you to pick the default i/o scheduler and shows available i/o schedulers and current scheduler.
Must reboot before setting takes effect
The list shows which one is active with [ ] around the active one so it will look like this with sio:
0 performance
1 [sio]
2 conservative
...
Usage:
Flash zip file
Run terminal type "su" without the quotes
Then type "voc" without the quotes
Make your selections
You MUST enable virtuous oc before and freq settings will work and everything is remembered on reboot.
Enjoy​
Damn brother, 114 views and not one reply, it must be working on theirs too.
This is awesome! Thank you for posting this.
I got an error because my system was read only so make sure you're mounted as rw before you run this.
Sent from my HTC Glacier using XDA App
I need some testers anyone interested ? I'm gonna add my configurator to this device here is the post on it:
http://forum.xda-developers.com/showthread.php?t=1248809
It does ALOT and it should all work here too.
Lmk if anyone is interested in testing this.

[Kernel][ICS] ForzaferrarileoV3.1 | 1.9/1.7GHz version | TWRP | Recovery Indipendent

Hi all , as new year gift I present you my First kernel​
This kernel , it's made for have the best performance and balanced battery consuption :good: , and since this is my first kernel and I'm still learning , any suggestions,hints,tips , are greatly accepted
REQUIRE UNLOCKED BOOTLOADER!!!!!
WORKS ONLY ON STOCK ROM , SO DOESN'T WORKS WITH AOSP BASED ROM(CM9/10,AOSP;AOKP); maybe works with miui , I don't know
I'm not responsible for damage to your device , use it at own risk!!!!
Features:
[V1] Based on .55 stock FW
[V1] Based on Arakmar ramdisk , with all the feature of Advanced stock kernel :CWM recovery , busybox, root , etc... [Very thanks to Arakmar forhis great work!!!]
[V1] BOOT Freq capped at 1512 MHz.
[V1] CPU Underclock/Overclock 30/1900 MHz
[V1] GPU 3D Overclock : 320 MHz (from the original 260 MHz)
[V1] GPU 2D Overclock : 228 MHz (from the original 200 MHz)
[V1] VDD SVS support ( for change voltages of cpu freq )
[V1] ZRam , ZCache and Frontswap
[V1] Snapdragon and other build optimization
[V1] VFP ( Virtual Float Point ) Neon and other optimization
[V1] Enabled Unaligned memory access
[V1] NTFS filesystem support
[V1] UTF-8 codepage support
[V1] Default TCP congestion algorithm shifted to "VEGAS"
[V1] [TEST] Increase max audio volume
[V2] GPU 2D OC to 266 mhz
[V2] GPU 2D scaling
[V2] CPU Smooth scaling (works only with pegasusq and ondemand)
[V2] Added CPU Topology
[V2] Optimized READAHEAD(sd cache) and Writeback Ratio
[V2] 3.0.57 linux upstream
[V3] MPDecision
[V3] RECOVERY INDIPENDENT WITH TWRP
[V3] Glibc
[V3] Small 2D GPU scaling fix
[V3] Optimized RWSEM algorithm
[V3] Other small tweaks
[V3] 3.0.71 linux upstream
[V3.1] Full 2D / 3D scaling fix and tweak : now you can set both using "kernel tuner" app
[V3.1]New logo. Thanks to dpiroto
[V3.1]New 1.7GHz OC version for who gets bootloops
​
More Governor:
[V1] Hotplug
[V1] Pegasusq
[V1] Interactive (Enabled)
[V3] Sakuractive
[V3] Adaptive
More scheduler:
[V1] VR
[V1] SIO
[V1] ZEN
[V3] ROW
LAST version
Download link here :
CWM package ForzaferrarileoV3.1 1.9Ghz fixed bootloops. after flash do a wipe cache and dalvik Link1
Click to expand...
Click to collapse
Download link here :
CWM package ForzaferrarileoV3.1 1.7GHz version (for who gets bootloops with normal version) Link1
Click to expand...
Click to collapse
Older version(not recommended)
Download link here :
CWM package ForzaferrarileoV3 Link1
Click to expand...
Click to collapse
Download link here :
CWM package ForzaferrarileoV2 Link1 (seems not working on some rom )
Click to expand...
Click to collapse
https://www.box.com/shared/mpg41z4c18up9r4lfh58https://www.box.com/shared/mpg41z4c18up9r4lfh58https://www.box.com/shared/mpg41z4c18up9r4lfh58
Download link here :
CWM package ForzaferrarileoV1Link1
Click to expand...
Click to collapse
​
Source here
CREDITS :
Sony for source
Arakmar for his Ramdisk
Amin and Mericon for the help
Dpiroto for the last bootlogo
Nice to see more development.. Thank you very much
Sent from my Xperia S using xda app-developers app
Hey....will give it a try....
thanks
---------- Post added at 09:42 PM ---------- Previous post was at 09:33 PM ----------
seems am getting a bootloop.....
---------- Post added at 09:49 PM ---------- Previous post was at 09:42 PM ----------
seems my phone went bananas........ it started..but after android is upgrading.....went into loop..now stuck on kernel sign.....
any ideas????????
Rom?
Sent from my LT26i using xda app-developers app
What rom are you using?
Sent from my LT26i using xda app-developers app
trying......now
Sent from my LT26i using xda app-developers app
hey every thing works great and and antutu benchmark = 9681 very good but how to use swap and zram ? please give me step by step guide how to use them
elias234 said:
hey every thing works great and and antutu benchmark = 9681 very good but how to use swap and zram ? please give me step by step guide how to use them
Click to expand...
Click to collapse
Swap : http://forum.xda-developers.com/showthread.php?t=1659231
Zram = download terminal emulator
su mkswap /dev/block/zram0
swapon /dev/block/zram0
or create an init.d script
Sent from my LT26i using xda app-developers app
:crying: When a Kernel for Lock bootloader. It's not possible ? You're seems very cooool
MaxPayne3004 said:
:crying: When a Kernel for Lock bootloader. It's not possible ? You're seems very cooool
Click to expand...
Click to collapse
Unlocked bootloader is needed for custom kernel
Sent from my LT26i using xda app-developers app
Forzaferrarileo said:
Swap : http://forum.xda-developers.com/showthread.php?t=1659231
Zram = download terminal emulator
su mkswap /dev/block/zram0
swapon /dev/block/zram0
or create an init.d script
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
hey swap works thanks , but when i put mkswap /dev/block/zram0 it says mkswap : image is to small
and i entered su for root access before excuting this command what to do ?
elias234 said:
hey swap works thanks , but when i put mkswap /dev/block/zram0 it says mkswap : image is to small
and i entered su for root access before excuting this command what to do ?
Click to expand...
Click to collapse
How to make simple ZRAM init.d script 1. Using Root Explorer, got to /sytem/etc/init.d/2. press Menu then create new file 3. paste these in it
#!/system/bin/sh sysctl -w vm.swappiness=40 echo "1" > /sys/block/zram0/reset echo $((50*1024*1024)) > /sys/block/zram0/disksize mkswap /dev/block/zram0 swapon /dev/block/zram0
4. close and save it as 60ZRAM 5. set permission to 777 or "rwxrwxrwx" (tick all) 6. take note: 50 *1024*1024 = 50MB zram disksize. if you want to set 30MB, change 50 to 30.
To check download terminal emulator and type su free
if you see swap memory, that means thats activated
Sent from my LT26i using xda app-developers app
More kernels are always welcome.
Sent from hell using Xperia-S(atan)
[/COLOR]
Forzaferrarileo said:
How to make simple ZRAM init.d script 1. Using Root Explorer, got to /sytem/etc/init.d/2. press Menu then create new file 3. paste these in it
#!/system/bin/sh sysctl -w vm.swappiness=40 echo "1" > /sys/block/zram0/reset echo $((50*1024*1024)) > /sys/block/zram0/disksize mkswap /dev/block/zram0 swapon /dev/block/zram0
4. close and save it as 60ZRAM 5. set permission to 777 or "rwxrwxrwx" (tick all) 6. take note: 50 *1024*1024 = 50MB zram disksize. if you want to set 30MB, change 50 to 30.
To check download terminal emulator and type su free
if you see swap memory, that means thats activated
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
hey it worked thanks a lot and i can feel a little better need for speed most wanted because i have a lot lot of games and nfs mw lags very little but after swap and zram i realized no more lag thanks for this great kernel and thanks for fast replay
test it is good . thanks for sharing
Sent from my LT26i using xda app-developers app
hey,when i Use your kernel... Can i relock my phone????
Hey, very nice kernel, how do I overclock the gpu ???
Please answer, I want more performance for games..
First of all you cannot re lock your bootloader with custom kernel... Secondly gpu is already overclocked... There is no way you can alter it... So stop asking in every thread that could you relock the bootloader with custom kernel...
Hey dev could you please make a kernel with all these features for cm10 as well??we will be glad to have it..thanks
Sent from PAC Xperia S
amey_gangal said:
Hey dev could you please make a kernel with all these features for cm10 as well??we will be glad to have it..thanks
Sent from PAC Xperia S
Click to expand...
Click to collapse
I don't have a lot of time in this period...
Anyway novakernel is a good one, try it :thumbup:
Sent from my LT26i using xda app-developers app

creating boot.img , kernel.img... from rk2918 update.img

how to create kernel.img,boot.img... from rk2918 update.img?
Wysyłane z mojego Pascal za pomocą Tapatalk 2

[KERNEL] Next |Ep7.8 / 7.9| |Ep8.5| |Ep10.4| |Sense / AOSP|

Disclaimer : I'm no developer. I don't know how to write code. Just cherry-pick stuff. Flash at your own risk. Just thought to share.
Huge Credit & Thanks to these guy/lady :
LorD ClockaN, Thömy, n3ocort3x, maxwen, franciscofranco, faux123, Xmister, show-p1984, lyapota, tbalden, metallice, tripnraver,Christopher83, AICP Team, p880 devs, all rom/kernel developer, all guide author and the community.
Were tested before release. But not fully on sense. AOSP my daily driver.
Feature
Govenor : + smartmax, smartmax eps, gaming, intelliactive, wheatly
Scheduler : + BFQ, ROW,SIO,VR
Extra : GPU overclock (default at 520), LP core overclock (640) Undervoltage (LP,GPU,RAM,MPU,CORE), Sweep to Wake (S2W), Double Tap to Wake (DT2W), pocket protection, LP core interface, Button backlight brightness, button blink notification
*Do Not Repack For CpuQuiet Version*
Sense / Aosp
Cpu Quiet : Ep 7.8 / Ep 7.8 OC / Ep 7.9
MPdecision : Ep 8.5 / Ep 8.5 OC
Intelliplug : Ep 10.4 / Ep 10.4 OC/Ep 10.5/Ep 10.5 OC
Older Released : Kernel Folder
Change log see post #2
How to flash:
For S-OFF
1. Download ZIP file and put to SD card
2. Flash ZIP from recovery
For S-ON
1. Download ZIP file and extract kernel\boot.img to Kernel Flasher fastboot dirrectory on the PC
2. Put ZIP file to SD card and flash from recovery
3. Reboot to bootloader and flash kernel by Kernel Flasher from PC
Next Kernel Source
> Be gentle
Changelog
Best Trade Hotplug Commit
Cpu Quiet/Intelliplug Commit
MpDecision Commit
Next Kernel Parameter (init.d script)
#!/system/bin/sh
# **************************************
# init.d script for Next kernel
# **************************************
#***************************
# Cpu Freq & Governor Setting
#***************************
# Gov = ondemand, performance, interactive, smartmax, smartmax_eps, intelliactive, gaming, wheatly
#echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
# Freq min = 51000, max = 1600000
#echo "51000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#echo "1600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#*******************
#Sweep2Wake Setting
#*******************
#enable=1, disable=0
#echo "0" > /sys/android_touch/sweep2wake
#echo "9" > /sys/android_touch/s2w_register_threshold
#echo "325" > /sys/android_touch/s2w_min_distance
# Sweep direction
#echo "1" > /sys/android_touch/s2w_allow_stroke
#enable=1, disable=0
#echo "0" > /sys/android_touch/doubletap2wake
# 0 = use whole screen
#echo "1300" > /sys/android_touch/doubletap_barrier_y
# Duration between tap, min = 120, max =350
#echo "150" > /sys/android_touch/doubletap_duration
#echo "150" > /sys/android_touch/doubletap_threshold
#enable=1, disable=0
#echo "0" > /sys/android_touch/pocket_detect
#*********************
# LED button
#*********************
# Enable=1, disable=0
#echo "0" > /sys/class/leds/button-backlight/slow_blink
# Value Min=0 , Max=225
#echo "225" > /sys/class/leds/button-backlight/button_brightness
#******************
# Touchscreen
#******************
# Enable=1, disable=0 - for multitouch issue
#echo "0" > /sys/android_touch/calibration_control
#*******************
# Audio Freq
#*******************
# Enable this if playing music stutter
#echo "204000" > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq
#*******************
# Cpu Freq Hard Cap
#*******************
#echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap
#******************
# CpuQuiet
#******************
#To limit how much cpu online, min=1, max=4
#echo "4" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/max_cpus
#echo "1" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/min_cpus
#******************
# Mp Decision
#******************
#To change those frequencies echo the cpu number + the frequency in khz.
# To verify [ cat /sys/kernel/tegra_mpdecision/conf/boost_freqs ]
#echo "0 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "1 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "2 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "3 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#To limit how much cpu online
#echo "4" > /sys/kernel/tegra_mpdecision/conf/max_cpus
#echo "1" > /sys/kernel/tegra_mpdecision/conf/min_cpus
#****************
# Frandom
#****************
# Script to launch frandom at boot by Ryuinferno @ XDA
#insmod /system/lib/modules/frandom.ko
#chmod 644 /dev/frandom
#chmod 644 /dev/erandom
#mv /dev/random /dev/random.ori
#mv /dev/urandom /dev/urandom.ori
#ln /dev/frandom /dev/random
#chmod 644 /dev/random
#ln /dev/erandom /dev/urandom
#chmod 644 /dev/urandom
can i install aosp one on cm10.1 ?
Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway *
deathgame said:
can i install aosp one on cm10.1 ?
Click to expand...
Click to collapse
Ops...don't have time to test on cm10.1..sorry..you could try repack and report if it run ok. Why don't jump to cm10.2? It pretty stable now.
humzaahmed155 said:
Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway *
Click to expand...
Click to collapse
My aim to help sense user so n3o can focus on aosp. .. It my daily driver..I can live with minor bug. Now I'm using custom cm from temasek. Need halo. Jump to aicp when they release.
Sent from my HTC One X using Tapatalk
Thanks I'm on viperx I will flash it and post back my thoughts nice to see things happening on our hox at last
Sent from my HTC One X using Tapatalk
Finally. Great.
All booted fine can I ask for some info on the new smartmax eps governor please
Sent from my HTC One X using Tapatalk
Smartmax eps = extreme power saving
Great Work...Atlast you've posted your kernel in XDA...
Congrats....As said in G+, very happy to see your first kernel here... I hope your kernel would surely help a lot of Users and Devs here...
Keep rocking... :highfive::highfive::highfive:
Ram
Just flashed your kernel on CM11, runs exceptionally faster than stock, only issue was when I was installing the kernel I realised the updater script isn't compatible with the new KitKat recovery, so I had to flash back to twrp to get it running
Sent from my HTC One X using Tapatalk
Aweseome u made it. Just a little info for AOSP/SENSE. U will need 2 defconfigs. Where in AOSP one for example # HTC_PNPMNGR is not set (what fixes core usager on AOSP) u will need it in SENSE defconfig set to HTC_PNPMNGR=y (otherwise u could run into issues). There is a lot of other stuff disabled in our AOSP defconfig, you should re-enable that for sense (SENSE PLUS is such a value, just check git waht thömy and me reverted and revert it back for Sense version)
Keep the kernels coming :highfive:
Smartmax seems a bit slow I tried to play temple run but it as to chuggy and system stalled for a few seconds also ui is not very responsive hope this helps
Sent from my HTC One X using Tapatalk
needs adjustments for tegra, what i expected, its too conservative
On demand seems normal no issues that I can notice
Sent from my HTC One X using Tapatalk
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?
Sent from my HTC One X using XDA Premium 4 mobile app
Has anyone else had issues waking the phone up?
Sent from my HTC One X using Tapatalk
Edit: it seems as if it was just cold temperatures preventing the phone from turning on
myheroduane said:
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its there but its off by default.
You can enable it with trickster mod for example.
Gesendet von meinem HTC One X
Using your Kernel right now, Thanks for another option in Kernel Flashing
Using smartmax and rest pretty much default. Running nice so far.
Thanks again and good luck for your development. :good:
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks
Sent from my HTC One X using Tapatalk
smeejaytee said:
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
Some info
By everyday use I don't see much different.

[Q] Interactive Governor tweaks?

Has anyone found better parameters to run the interactive governor on? Maybe a script? L Speed Mod only tweaks OnDemand so is there an interactive tweak?
Ntrasme said:
Has anyone found better parameters to run the interactive governor on? Maybe a script? L Speed Mod only tweaks OnDemand so is there an interactive tweak?
Click to expand...
Click to collapse
here is my interactive setting..
I didnt touch max cpu and min cpu clock..
using noop i/o for both internal n external..
and using SManager apps widget to trigger the script i made.. or u may use terminal emulator with su command and just copy paste this settings below..
echo "97" > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo "960000" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo "40000" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo "35000" > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo "0" > /sys/devices/system/cpu/cpufreq/interactive/boost
echo "80000" > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo "0" > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy
echo "80000" > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
echo "90 300000:45 729000:65 960000:70 1500000:90 1800000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo "20000 960000:60000 1500000:20000 " > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
its currently stable enough for me, rom is still snappy without any lag..and my ze551ml never gets overheat because my device seldomly reach 2330mhz..
do give it a try first but dont blame me if its not perfect haha.. im just too bored on waiting for someone to develop custom kernel for our device..thats why i keep trying to tweak the stock kernel interactive governor to gain more battery life..
Could you give me a quick rundown? I see that you are boosting the frequency under load. And you are boosting it less when the screen is touched?
Is it possible for you to edit the script so I can use it on my 1.8ghz Zenfone? Sorry, I don't know how to write a script for the governor.

Categories

Resources