FORUMS

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

[KERNEL][GB/SENSE] 2.6.35.10-g3f43272 [v06] | OC1152 | LZMA | fixes +addtl modules

581 posts
Thanks Meter: 873
 
By snq-, Retired Recognized Developer on 17th April 2011, 02:33 PM
Post Reply Subscribe to Thread Email Thread
(modifications/addons for the _closed_source_ 2.6.35.10 htc kernel - for rom maintainers)

PATCHED KERNEL IMAGE

v01:
  • lzma-compressed kernel
  • o/c: 128MHz, 245MHz, 384MHz, 576-1152MHz (stepping: 38400kHz)
  • u/v: svs (@128000kHz: 950mV, @245000kHz: 975mV, @384000kHz: 1000mV, @576000kHz: 1075mV, @614400kHz: 1100mV, @652800kHz: 1100mV, @691200kHz: 1125mV, @729600kHz: 1150mV, @768000kHz: 1175mV, @806400kHz: 1200mV, @844800kHz: 1225mV, @883200kHz: 1250mV, @921600kHz: 1250mV, @960000kHz: 1275mV, @998400kHz: 1275mV, @1036800kHz: 1275mV, @1075200kHz: 1275mV, @1113600kHz: 1300mV, @1152000kHz: 1300mV)
  • cpu vdd regulator constraints expanded (800..1350mV)
  • patched out "Take the fastest speed available at the specified VDD level" (=full freq tab)
  • pre-cracked perflock (no need for perflock disabler module)

v02:
  • patched cpufreq code: set default cpu frequency constraints: 245..998MHz (with v01 cpu freq jumped to 1152 during the boot process)

v03:
  • trackpad-to-wake support (oj will not choke after a while when screen is off)
  • workaround for non-standard (extended) batteries (devices w/ stock htc battery are not affected)

v04:
  • 2.6.35.10-g308ba26 base (new leak) with the same mods as v03

v05:
  • fixed htc akm8973 ("compass") driver (read more)

v06:
  • 2.6.35.10-g3f43272 base (official gb update)

download: zImage-v06 (flashable v05-to-v06 kernel image+modules update package here)


--

MODDED WIFI DRIVER
  • min rssi threshold for scan results lowered (-88dBm -> -108dBm)
  • don't send "rssi low" events via wireless_send_event()
if you have messed up your framework/calibration file/etc with other "fixes", revert them

download:
2.6.35.10-gdd56551: bcm4329.ko
2.6.35.10-g308ba26: bcm4329.ko


ORIGINAL WIFI DRIVER

download:
2.6.35.10-g3f43272: bcm4329.ko


CIFS
Quote:

# insmod /system/lib/modules/nls_utf8.ko
# insmod /system/lib/modules/cifs.ko
# busybox mount -t cifs -o user=lolwut,password=hackme,uid=1000,gid=1015,file _mode=0775,dir_mode=0775,iocharset=utf8,nodfs //192.168.40.10/public /sdcard/smb/public

(removed slow_work_* dependencies and patched with 2.6.31 oplock code)

download:
2.6.35.10-gdd56551: nls_utf8.ko, cifs.ko
2.6.35.10-g308ba26: nls_utf8.ko, cifs.ko
2.6.35.10-g3f43272: nls_utf8.ko, cifs.ko


EXT4
Quote:

# insmod /system/lib/modules/jbd2.ko
# insmod /system/lib/modules/ext4.ko
# busybox mount -t ext4 /dev/block/mmcblk0p3 /cache/lolwut
# busybox mount | grep mmcblk0p3
/dev/block/mmcblk0p3 on /cache/lolwut type ext4 (rw,relatime,barrier=1,data=ordered)

download:
2.6.35.10-gdd56551: jbd2.ko(dependecy), ext4.ko
2.6.35.10-g308ba26: jbd2.ko(dependecy), ext4.ko
2.6.35.10-g3f43272: jbd2.ko(dependecy), ext4.ko


TUN
Quote:

# insmod /system/lib/modules/tun.ko
# ls -l /dev/tun
crw-r----- vpn vpn 10, 200 2011-04-17 14:06 tun

download:
2.6.35.10-gdd56551: tun.ko
2.6.35.10-g308ba26: tun.ko
2.6.35.10-g3f43272: tun.ko


CPUFREQ: POWERSAVE, INTERACTIVE & SMARTASS
Quote:

# insmod /system/lib/modules/cpufreq_interactive.ko
# insmod /system/lib/modules/cpufreq_smartass.ko
# insmod /system/lib/modules/cpufreq_powersave.ko
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
interactive smartass powersave userspace ondemand performance

(you don't have to pass symbol addresses)

download:
2.6.35.10-gdd56551: cpufreq_interactive.ko, cpufreq_smartass.ko, cpufreq_powersave.ko
2.6.35.10-g308ba26: cpufreq_interactive.ko, cpufreq_smartass.ko, cpufreq_powersave.ko
2.6.35.10-g3f43272: cpufreq_interactive.ko, cpufreq_smartass.ko, cpufreq_powersave.ko


PERFLOCK DISABLER (c) Michael Huang <coolbho3000@gmail.com>
Quote:

# insmod /system/lib/modules/perflock_disable.ko

(you don't have to pass symbol addresses)

download:
2.6.35.10-gdd56551: perflock_disable.ko (you don't need this with the pre-cracked kernel image above)
2.6.35.10-g308ba26: perflock_disable.ko (you don't need this with the pre-cracked kernel image above)
2.6.35.10-g3f43272: perflock_disable.ko (you don't need this with the pre-cracked kernel image above)


BTRFS

download:
2.6.35.10-gdd56551: btrfs.ko
2.6.35.10-g308ba26: btrfs.ko
2.6.35.10-g3f43272: btrfs.ko
Last edited by snq-; 4th August 2011 at 11:35 AM. Reason: new kernel image: v06
The Following 107 Users Say Thank You to snq- For This Useful Post: [ View ]
 
 
17th April 2011, 02:44 PM |#2  
Alex-V's Avatar
Recognized Developer
Thanks Meter: 4,843
 
More
wow thanks

The good old modules

good work

with kind regards...Alex
17th April 2011, 02:46 PM |#3  
Senior Member
Flag London
Thanks Meter: 201
 
More
can we flash the governors into any of the Desire S Roms?
17th April 2011, 02:58 PM |#4  
Senior Member
Thanks Meter: 32
 
More
Thanks snq.

Did you compile these from source? If so, can you pls provide link to kernel source.
17th April 2011, 03:00 PM |#5  
Alex-V's Avatar
Recognized Developer
Thanks Meter: 4,843
 
More
download file: cpufreq_interactive.ko is the same as cpufreq_smartass.ko


with kind regards..Alex
17th April 2011, 03:15 PM |#6  
KennyDumah's Avatar
Senior Member
Thanks Meter: 127
 
More
How do we enable them?
Copied already all of them to modules.
And now?
17th April 2011, 03:17 PM |#7  
KennyDumah's Avatar
Senior Member
Thanks Meter: 127
 
More
Or could someone compile a kernel with that modules?
17th April 2011, 03:23 PM |#8  
Muxeu's Avatar
Senior Member
Flag Kharkov
Thanks Meter: 139
 
More
Quote:
Originally Posted by Alex-V

download file: cpufreq_interactive.ko is the same as cpufreq_smartass.ko

cpufreq_smartass.ko
17th April 2011, 03:43 PM |#9  
KennyDumah's Avatar
Senior Member
Thanks Meter: 127
 
More
Quote:
Originally Posted by KennyDumah

Or could someone compile a kernel with that modules?

No one?
Please?
17th April 2011, 04:29 PM |#10  
Droidzone's Avatar
Recognized Developer
Flag Kerala
Thanks Meter: 2,244
 
Donate to Me
More
Hi snq. Sorely need a kernel for the new gingerbread sense with support for ext 4.that's the only problem that prevents me from uploading a new starburst..

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
Post Reply Subscribe to Thread

Tags
2.6.35.10, compass fix, gingerbread, kernel, modules, sense
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes