Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,437 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
snq-
Old
(Last edited by snq-; 4th August 2011 at 11:35 AM.) Reason: new kernel image: v06
#1  
snq-'s Avatar
Retired Recognized Developer - OP
Thanks Meter 869
Posts: 581
Join Date: Aug 2010
Lightbulb [KERNEL][GB/SENSE] 2.6.35.10-g3f43272 [v06] | OC1152 | LZMA | fixes +addtl modules

(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
The Following 106 Users Say Thank You to snq- For This Useful Post: [ Click to Expand ]
 
Alex-V
Old
#2  
Alex-V's Avatar
Recognized Developer
Thanks Meter 4162
Posts: 7,958
Join Date: Aug 2008
wow thanks

The good old modules

good work

with kind regards...Alex
 
Nekromantik
Old
#3  
Senior Member
Thanks Meter 188
Posts: 4,207
Join Date: Apr 2010
Location: Worthing
can we flash the governors into any of the Desire S Roms?
 
foobar66
Old
#4  
Senior Member
Thanks Meter 29
Posts: 158
Join Date: Jan 2011
Thanks snq.

Did you compile these from source? If so, can you pls provide link to kernel source.
HTC Desire, rooted, S-OFF, with Ubuntu fonts -> dead
HTC Flyer WIFI, rooted, S-OFF, HC, Ubuntu fonts -> sold
Samsung Galaxy S4 I9505, rooted.
 
Alex-V
Old
#5  
Alex-V's Avatar
Recognized Developer
Thanks Meter 4162
Posts: 7,958
Join Date: Aug 2008
download file: cpufreq_interactive.ko is the same as cpufreq_smartass.ko


with kind regards..Alex
 
KennyDumah
Old
#6  
KennyDumah's Avatar
Senior Member
Thanks Meter 119
Posts: 884
Join Date: Oct 2010
How do we enable them?
Copied already all of them to modules.
And now?
Devices:
HTC Desire
HTC Sensation XE
Nexus 4
Nexus 5
 
KennyDumah
Old
#7  
KennyDumah's Avatar
Senior Member
Thanks Meter 119
Posts: 884
Join Date: Oct 2010
Or could someone compile a kernel with that modules?
Devices:
HTC Desire
HTC Sensation XE
Nexus 4
Nexus 5
 
Muxeu
Old
#8  
Muxeu's Avatar
Senior Member
Thanks Meter 137
Posts: 459
Join Date: Jul 2010
Location: Kharkov
Quote:
Originally Posted by Alex-V View Post
download file: cpufreq_interactive.ko is the same as cpufreq_smartass.ko
cpufreq_smartass.ko
HTC One 801E
 
KennyDumah
Old
#9  
KennyDumah's Avatar
Senior Member
Thanks Meter 119
Posts: 884
Join Date: Oct 2010
Quote:
Originally Posted by KennyDumah View Post
Or could someone compile a kernel with that modules?
No one?
Please?
Devices:
HTC Desire
HTC Sensation XE
Nexus 4
Nexus 5
 
Droidzone
Old
#10  
Droidzone's Avatar
Recognized Developer
Thanks Meter 2180
Posts: 5,466
Join Date: Sep 2010
Location: Kerala

 
DONATE TO ME
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.


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

Advanced Search
Display Modes