Obihörnchen
Dauer-User
- 786
saturn_de schrieb:This is a self compiled Kernel from these sources. It's a fork of the kernel source git plus some performance tweaks and minus a bad patch, which turned out to drain the battery.
The initramfs (source) is a modified CF-Root v4.1 of the KG1.
I added some /proc and /sys tweaks in init.rc (github of the initramfs):
Code:+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand + write /sys/block/mmcblk0/queue/scheduler noop + write /sys/block/mmcblk0/queue/read_ahead_kb 512 + write /proc/sys/vm/highmem_is_dirtyable 1 + write /proc/sys/vm/dirty_writeback_centisecs 1500 + write /proc/sys/vm/laptop_mode 5
This probably works best with Villain ROM 2.0 [2.3.4] and the XXKG1 radio image.
History:
Version 1.1:
- added touchscreen fix suggested by vincenzo91.
Version 1.2 :
- now based on CF-Root 4.1 (was 4.0)
- cherry-pick'ed some fixes from cfs-exp branch of ninphetamine github
- removed "setprop dalvik.vm.execution-mode int:fast", which prevents JIT
- changed touchscreen MOVHYSTI to 5 from 0 (15 original)
Version 1.3 :
- removed bogus /sys, /proc settings
- use /init from KG1/CF-ROOT
- set readahead to 512kb
- enabled fuse, so you can use "ntfs-3g" to mount a NTFS drive
There is also a variant with MOVHYSTI set to "0" (Backslash-1.3-HYST0). Let me know, if you have those touchscreen problems with either "0" (HYST0) or the "5" in the normal kernel.
So how does it look like? See the attached image (FastDormancy was not turned off, because it got better in 2.3.4)
Benchmark CF-Bench Pro v1.1
Interpretation left to the reader...
Code:Stock CF-Root KG1: | Backslash-1.3: Native: 11256 11478 11172 | 11566 11360 11414 Java: 3155 3235 3071 | 3411 3240 3327 Overall:6395 6532 6311 | 6673 6488 6561 read: 553 535 540 | 564 571 570 write: 138 180 176 | 181 181 173
[20110713][Backslash-1.1 XXKG1][CF-Root v4.0] Kernel - No more battery drain - xda-developers
Zuletzt bearbeitet: