I always knew this phone had some pretty good hardware, I always wondered why it felt so sluggish though. I feel like the second core is off most of the time though. I used kernel tuner and changed the scheduler to deadline and turned cpu1 on, I left the governor as is. You guys might wanna try it. Swype for me is now lag free, and opening up gallery is buttery now. I can't wait for this custom kernel to be released and see what this phone can really do!
^ original post ^
setting cpu1 on and changing scheduler
Remember, you need to be rooted!
As for setting the scheduler, I made an init.d script with these two lines:
[HIGH]echo "scheduler-name" > /sys/block/mmcblk0/queue/scheduler;
echo "scheduler-name" > /sys/block/mmcblk1/queue/scheduler;[/HIGH]
This sets the scheduler both for internal memory and the sdcard. As for which scheduler you should use, refer to this post: http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
:I went with deadline, but it's all personal preference.
References/sources:
http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
http://androidforums.com/motion-4g-all-things-root/693252-guide-unleash-dual-core-enable-cpu1.html
I've added copies of my own files for those of you who just want to "drag and drop"
^ original post ^
setting cpu1 on and changing scheduler
Remember, you need to be rooted!
As rhino889a and Sepero mentioned the goal is turn on CPU1 by this command echo 1 > /sys/devices/system/cpu/cpu1/online and apply it on boot.
2. Locate init.qcom.post_boot.sh in /system/etc folder with your root browser (I used Rom Tool Box)
3. Create a backup file of this (i.e. init.qcom.post_boot.bak)
4. Now Modify the original init.qcom.post_boot.sh file
5. Our Board is msm8960. Find msm8960 related code block.
case "$target" in
"msm8960")
...
...
;;
esac
6. At the end of case block you see below.
chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
chmod 664 /sys/devices/system/cpu/cpu1/online
7. Add echo 1 line. Change chmod 664 to 444
chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
chmod 444 /sys/devices/system/cpu/cpu1/online
8. Save the file. Make sure your change is applied.
9. Restart the phone.
10. After restart, check if CPU1 is online. You can use app or open up /sys/devices/system/cpu/cpu1/online and see if its value is 1
11. If you don't like this feature, remove modified lines (remove echo 1 line. Change chmod 444 to 664) or delete .sh file and rename .bak file to .sh. Make sure restart the phone.
As for setting the scheduler, I made an init.d script with these two lines:
[HIGH]echo "scheduler-name" > /sys/block/mmcblk0/queue/scheduler;
echo "scheduler-name" > /sys/block/mmcblk1/queue/scheduler;[/HIGH]
This sets the scheduler both for internal memory and the sdcard. As for which scheduler you should use, refer to this post: http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
:I went with deadline, but it's all personal preference.
References/sources:
http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
http://androidforums.com/motion-4g-all-things-root/693252-guide-unleash-dual-core-enable-cpu1.html
I've added copies of my own files for those of you who just want to "drag and drop"