Archive for November, 2010


-acpuclock-7×30: borrow power collapse logic from msm/scorpion acpuclock .35

-merged (from cyanogenmod htc-kernel-msm7x30):
-set USB_ANDROID_RNDIS_WCEIS
-Add USB_ANDROID_RNDIS_WCEIS option.

Note:
This is a Work in Progress. Undervolt/Frequencies will be adjusted over the next coming weeks, as well as merging in further optimisations/tweaks from the DS/Nexus .35 release.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

boot-cm_2632.26-oc-uv-xtra-neon_fp-113010.zip
Download: boot-cm_2632.26-oc-uv-xtra-neon_fp-113010.zip

lib-2632.26.tar.gz (kernel modules)
Download: lib-2632.26.tar.gz

——–

Source:
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
https://github.com/coolbho3k/vision_oc_kernel
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.

-revert
increase softlockup_thresh to 90

-set TINY_RCU

Note:
If you want to use NFS, please push the contents of the .zip below to kernel/fs within /system/lib/modules/KERNEL_MODULES_FOLDER

nfs_32b.zip
nfs_32a.zip
nfs_32b_radio2708.zip

Known Issues:
-At sleep, you may not get all the way down to 122, although this is what has been specified. This is being investigated.
-For builds lower then Froyo (i.e. Eclair), when USB is plugged in, vold will SIGSEV.
-After unplugging from USB, please reboot to prevent excessive battery drain. *This is being worked on.

——–

-XTRA contains:
*ondemand governor default; only performance,interactive,ondemand and userspace governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support (excluding network)
*v4 block device and data integrity support
*errata 411920 applied

32B:
boot-cm_2635.9_ds_32b-oc-uv-xtra-ram-fp-113010.zip
Download: boot-cm_2635.9_ds_32b-oc-uv-xtra-ram-fp-113010.zip

32A:
boot-cm_2635.9_ds_32a-oc-uv-xtra-ram-fp-113010.zip
Download: boot-cm_2635.9_ds_32a-oc-uv-xtra-ram-fp-113010.zip

32B (Must be on New SPL + Radio 2708 Combo):
boot-cm_2635.9_ds_32b_radio2708-oc-uv-xtra-ram-fp-113010.zip
Download: boot-cm_2635.9_ds_32b_radio2708-oc-uv-xtra-ram-fp-113010.zip

——–

Source:
https://github.com/cyanogen/cm-kernel-exp
http://github.com/pershoot/kernel-2635
http://github.com/CyanogenMod/cm-kernel
http://github.com/pershoot/ds-kernel-2635
http://github.com/pershoot/ds-kernel-32a-2635
http://github.com/toastcfh/htc-2.6.27-heroc
http://github.com/pershoot/ds-kernel-32a
http://github.com/bcrook/32A-EBI1
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-2.6.34-test2
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=summary
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.35
http://github.com/ezterry/kernel-biff-testing
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://github.com/intersectRaven/ir-kernel

——–

Instructions:
Flash the .zip through recovery

then

Install SetCPU 2.x (by coolbho)
Autodetect, Min: 122, Max: 576, onboot, ondemand
Do not enable or setup Advanced

Note:
If you are coming from a previous oc-uv kernel, then please go in to SetCPU and raise the min bar up and then down back to 122.

Optional: You can setup profiles, but if you receieve lag, please be sure that your device is not stuck on a low frequency due to one of the profiles you have set and or due to cpufreq and SetCPU ‘oddness’.

-revert
increase softlockup_thresh to 90

Known Issues:
-**The first time you launch camera, you may experience a delay of up to 3-4 seconds after snapping a picture and being returned to the camera. If this is the case, exit out of the camera app by hitting the back button and re-enter it, and it should be reduced to 1-2 seconds**
-Camera will not work unless you are using CM6, CM6 Nightly or Enom’s Latest
-For builds lower then Froyo (i.e. Eclair), when USB is plugged in, vold will SIGSEV.
-You may receive “ACPU unable to set …” here and there. This is currently being worked on.

**May not be an issue with current. Re-evaluating.

——–

-XTRA contains:
*userspace governor default; only interactive,ondemand and userspace governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support (excluding network)
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

boot-cm_2635.9-oc-uv-xtra-btn-aud-ram-neon_fp-113010.zip
Download: boot-cm_2635.9-oc-uv-xtra-btn-aud-ram-neon_fp-113010.zip

——–

Source:
https://github.com/cyanogen/cm-kernel-exp
http://github.com/pershoot/kernel-2635
http://github.com/CyanogenMod/cm-kernel
http://github.com/pershoot/nexus-kernel-2635
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.35-wip
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.35
http://github.com/xdabravoteam/cm-kernel
http://github.com/ezterry/kernel-biff-testing
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://github.com/intersectRaven/ir-kernel
https://github.com/thelogin/n1batcal

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
It is highly reccomended that you either use SetCPU to toggle your governor to either ondemand (reccomended) or interactive (in testing) or use sysfs to echo the value to cpufreq.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use ondemand CPU governor

-switch to zinx’s implentation of GAN_ETH
-add in CPUFREQ downsampling factor (from 2.6.36 – merged in by cyanogen) – cpufreq_ondemand
-update ds2784_battery with ‘Timeout poll, fix AEvolt dmesg output’
-increase softlockup_thresh to 90
-set IPV6 and INET related to be built-in

Known Issues:
-**The first time you launch camera, you may experience a delay of up to 3-4 seconds after snapping a picture and being returned to the camera. If this is the case, exit out of the camera app by hitting the back button and re-enter it, and it should be reduced to 1-2 seconds**
-Camera will not work unless you are using CM6, CM6 Nightly or Enom’s Latest
-For builds lower then Froyo (i.e. Eclair), when USB is plugged in, vold will SIGSEV.
-You may receive “ACPU unable to set …” here and there. This is currently being worked on.

**May not be an issue with current. Re-evaluating.

——–

-XTRA contains:
*userspace governor default; only interactive,ondemand and userspace governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support (excluding network)
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

boot-cm_2635.9-oc-uv-xtra-btn-aud-ram-neon_fp-112810.zip
Download: boot-cm_2635.9-oc-uv-xtra-btn-aud-ram-neon_fp-112810.zip

——–

Source:
https://github.com/cyanogen/cm-kernel-exp
http://github.com/pershoot/kernel-2635
http://github.com/CyanogenMod/cm-kernel
http://github.com/pershoot/nexus-kernel-2635
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.35-wip
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.35
http://github.com/xdabravoteam/cm-kernel
http://github.com/ezterry/kernel-biff-testing
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://github.com/intersectRaven/ir-kernel
https://github.com/thelogin/n1batcal

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
It is highly reccomended that you either use SetCPU to toggle your governor to either ondemand (reccomended) or interactive (in testing) or use sysfs to echo the value to cpufreq.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use ondemand CPU governor

Update (filename has not changed; re-download and re-flash):
-hardcode base in radio2708 update.zip

…..

-switch to zinx’s implentation of GAN_ETH
-add in CPUFREQ downsampling factor (from 2.6.36 – merged in by cyanogen) – cpufreq_ondemand
-set default max bootup clock to 528
-increase softlockup_thresh to 90
-set IPV6 and INET related to be built-in
-add in a seperate kernel for those on new spl + radio 2708 combo (32b)

Note:
If you want to use NFS, please push the contents of the .zip below to kernel/fs within /system/lib/modules/KERNEL_MODULES_FOLDER

nfs_32b.zip
nfs_32a.zip
nfs_32b_radio2708.zip

Known Issues:
-At sleep, you may not get all the way down to 122, although this is what has been specified. This is being investigated.
-For builds lower then Froyo (i.e. Eclair), when USB is plugged in, vold will SIGSEV.
-After unplugging from USB, please reboot to prevent excessive battery drain. *This is being worked on.

——–

-XTRA contains:
*ondemand governor default; only performance,interactive,ondemand and userspace governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support (excluding network)
*v4 block device and data integrity support
*errata 411920 applied

32B:
boot-cm_2635.9_ds_32b-oc-uv-xtra-ram-fp-112810.zip
Download: boot-cm_2635.9_ds_32b-oc-uv-xtra-ram-fp-112810.zip

32A:
boot-cm_2635.9_ds_32a-oc-uv-xtra-ram-fp-112810.zip
Download: boot-cm_2635.9_ds_32a-oc-uv-xtra-ram-fp-112810.zip

32B (Must be on New SPL + Radio 2708 Combo):
boot-cm_2635.9_ds_32b_radio2708-oc-uv-xtra-ram-fp-112810.zip
Download: boot-cm_2635.9_ds_32b_radio2708-oc-uv-xtra-ram-fp-112810.zip

——–

Source:
https://github.com/cyanogen/cm-kernel-exp
http://github.com/pershoot/kernel-2635
http://github.com/CyanogenMod/cm-kernel
http://github.com/pershoot/ds-kernel-2635
http://github.com/pershoot/ds-kernel-32a-2635
http://github.com/toastcfh/htc-2.6.27-heroc
http://github.com/pershoot/ds-kernel-32a
http://github.com/bcrook/32A-EBI1
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-msm-2.6.34-test2
http://android.git.kernel.org/?p=kernel/experimental.git;a=shortlog;h=refs/heads/android-2.6.34-test2
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=summary
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.35
http://github.com/ezterry/kernel-biff-testing
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://github.com/intersectRaven/ir-kernel

——–

Instructions:
Flash the .zip through recovery

then

Install SetCPU 2.x (by coolbho)
Autodetect, Min: 122, Max: 576, onboot, ondemand
Do not enable or setup Advanced

Note:
If you are coming from a previous oc-uv kernel, then please go in to SetCPU and raise the min bar up and then down back to 122.

Optional: You can setup profiles, but if you receieve lag, please be sure that your device is not stuck on a low frequency due to one of the profiles you have set and or due to cpufreq and SetCPU ‘oddness’.

Update (11/27 (re-download and put in place)):
-go back to g_battery and g_notifications (local)
-set battery first in handle_speaker_light_locked condition
-set colorRGB to green only for notifications

……

Update (11/27 (re-download and put in place)):
-replace g_notification with g_notify
-don’t explictly set colorRGB to a value and get it from state->color
-make g_battery a proper pointer
-re-order condition (in handle_speaker_light_checked for notifications
to be first, then nest battery underneath
-add ‘state’ to function (handle_speaker_light_locked).

……

Update (re-download and put in place):
-set colorRGB to green only when there is a notification

……

This fixes Speaker LED Notifications on CM6.1 for Vision (G2).

Behavior:
If it is plugged in, the light will stay solid (charging).  If a notification comes in with the screen off, it will blink green.  If you turn on the screen, the charging light will come on.  If you don’t acknowledge the notification, when the screen turns off it will blink green again.

When it is not plugged in, notifications will blink green only when the screen is off.

Known Issues:
-low battery will blink green instead of amber.
-if you reboot while you are under 10%, low battery state won’t trigger the LED notification. The next notification you receive, it will be triggered.
-if you plug it in below 10% and unplug, the amber led will stay lit (solid) until it is over 10%. you will not receive any notifications to the LED until it is over 10% in this state.

——

Download:
lights.vision.so

——

How-To Install:
Method 1:
adb remount
adb push lights.vision.so /system/lib/hw/
adb shell chmod 644 /system/lib/hw/lights.vision.so
adb shell reboot

Method 2:
Open a terminal
cd /sdcard
wget http://droidbasement.com/g2/system/lights.vision.so
su
mount -o remount,rw /system
cp lights.vision.so /system/lib/hw/
chmod 644 /system/lib/hw/lights.vision.so
reboot

Source:
https://github.com/pershoot/vision-lights

Update: 11/27 (filename has not changed; re-download and re-flash):
-adjust DEF_SAMPLING_DOWN_FACTOR

……

-adjust cpufreq_ondemand thresholds
-fix CONFIG_MSM_CPU_FREQ_ONDEMAND_MIN in defconfig (cyanogenmod htc-kernel-msm7x30: 05779ec62a6d0395753f)

-merged (from cyanogenmod htc-kernel-msm7x30):
b7b58238b1d4eaea5ca1 (mm/vmscan.c: fix mapping use after free)
a303ab988c9f0f9f5a69 ([CPUFREQ] ondemand: Refactor frequency increase code)
1141d3835c8e77c9af30 ([CPUFREQ] Fix ondemand to not request targets outside policy limits)
f42aec3d630473c6c3b1 ([CPUFREQ] add sampling_down_factor tunable to improve ondemand performance)
df7b5ed093cd751691e6 (cpufreq: ondemand: Add filter for input events)
2fcc08ccde47a3388e45 (cpufreq: ondemand: Featurize the input event handler)
80c4db03daf0d4da08bf (cpufreq: ondemand: Set sampling_down_factor to 50)
057e167b56204e0762ab (ext4: Bring ext4 in line with 2.6.32.26)

Note:
This is a Work in Progress. Undervolt/Frequencies will be adjusted over the next coming weeks, as well as merging in further optimisations/tweaks from the DS/Nexus .35 release.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

boot-cm_2632.26-oc-uv-xtra-neon_fp-112710.zip
Download: boot-cm_2632.26-oc-uv-xtra-neon_fp-112710.zip

lib-2632.26.tar.gz (kernel modules)
Download: lib-2632.26.tar.gz

——–

Source:
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
https://github.com/coolbho3k/vision_oc_kernel
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.

This adds simultaneous handling of notifications to the Speaker LED while charging, on CM6.1.

Behavior:
If it is plugged in, the light will stay solid (charging). If a notification comes in with the screen off, it will blink green. If you turn on the screen, the charging light will come on. If you don’t acknowledge the notification, when the screen turns off it will blink green again.

When it is not plugged in, notifications will blink green only when the screen is off.

——

Download:
lights.msm7k.so

——

How-To Install:
Method 1:
adb remount
adb push lights.msm7k.so /system/lib/hw/
adb shell chmod 644 /system/lib/hw/lights.msm7k.so
adb shell reboot

Method 2:
Open a terminal
cd /sdcard
wget http://droidbasement.com/g1/system/lights.msm7k.so
su
mount -o remount,rw /system
cp lights.vision.so /system/lib/hw/
chmod 644 /system/lib/hw/lights.msm7k.so
reboot

Source:
https://github.com/pershoot/dream_sapphire-lights

-increase 1017-1075 to 1075mv
-increase 1.49 to 1300
-add back in 1.51 and set to 1300
-increase max mv to 1300

Note:
This is a Work in Progress. Undervolt/Frequencies will be adjusted over the next coming weeks, as well as merging in further optimisations/tweaks from the DS/Nexus .35 release.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

boot-cm_2632.26-oc-uv-xtra-neon_fp-112510.zip
Download: boot-cm_2632.26-oc-uv-xtra-neon_fp-112510.zip

lib-2632.26.tar.gz (kernel modules)
Download: lib-2632.26.tar.gz

——–

Source:
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
https://github.com/coolbho3k/vision_oc_kernel
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.

Update (the filename has not changed; re-download and re-flash):
-remove FAIR_SLEEPERS

……

-acpuclock: increase low end by .25 and raise <900 to .25 to accomodate the increase. remove 1.51. -net: wireless: bcm4329: remove DHD_DEBUG_TRAP for now -lower threshholds to around half of what was included in ingo molnar/peter zijlstra minimum scheduling granularity patch and increase nr latency to 6 from 5 -disable FAIR_SLEEPERS Note: This is a Work in Progress. Undervolt/Frequencies will be adjusted over the next coming weeks, as well as merging in further optimisations/tweaks from the DS/Nexus .35 release. -------- -XTRA contains: *ondemand governor default; only ondemand, userspace and performance governors *BFQ I/O Scheduler *some more cgroup options *namespaces support *v4 block device and data integrity support *3d register driver *erratas 430973, 458693 and 460075 applied boot-cm_2632.26-oc-uv-xtra-neon_fp-112410.zip Download: boot-cm_2632.26-oc-uv-xtra-neon_fp-112410.zip

lib-2632.26.tar.gz (kernel modules)
Download: lib-2632.26.tar.gz

——–

Source:
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
https://github.com/coolbho3k/vision_oc_kernel
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.