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

Search This thread

futureng

Member
Jan 22, 2009
31
0
2.6.35 'How do I use oxygen at or Cayongen. Because when I installed those published here, have a continuous problem. For example, the camera does not work or have problems with wireless.
 

Komadyret

Senior Member
Aug 7, 2010
481
49
2.6.35 'How do I use oxygen at or Cayongen. Because when I installed those published here, have a continuous problem. For example, the camera does not work or have problems with wireless.

May the reason be that this is a Sense kernel? ;p
Your problems with oxygen and cyanogen may be solved with a non-sense kernel...
 

mayurh

Senior Member
Jul 8, 2010
1,564
85
Johannesburg
Snq nice work dude
One question IM using robo rcmix s , v 3 of your kernel,
Sometimes when my phone is in standby the data connection gets inactive n when I wake device it comes on again, could it b the kernel?

Sent from my HTC Desire using XDA App
 

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
Hi, please could you add swap support for this kernel as it would really help us with memory issues on sense 3, thanks

HTC Swyped from my Sense 3 Desire using XDA Premium
 
  • Like
Reactions: NeoPhyTe.x360

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
Hey guys, I just brought my voltage mod over to the Desire. On the EVO, I didn't support Sense kernels since there was already a voltage mod for Sense. I can bring support for my scripts to the Desire I just need some people to test. Please PM me so I can get this working for you guys :)
 

Anakha56

Senior Member
Aug 10, 2008
927
132
Durban
Not sure if it is related to the ROM or the kernel. Insertcoin (talking about the one in my sig) ROM's use this kernel as do the majority of Sense ROM's and we have run into a slight problem. The car dock's are being picked up as USB chargers not AC chargers, so under heavy use: navigation the battry is discharging faster than it can be charged. Just bringing it up...
 

Alex-V

Inactive Recognized Developer
Aug 26, 2008
9,514
5,254
Hi, please could you add swap support for this kernel as it would really help us with memory issues on sense 3, thanks

HTC Swyped from my Sense 3 Desire using XDA Premium

a very good idea...is it possible..?

with kind regards..Alex


Please..if you can...we really need swap..with the new gingerbread sense hd roms...

with kind regards...Alex
 

idanfima

Senior Member
May 18, 2010
241
93
Kefar Shmuel
Please..if you can...we really need swap..with the new gingerbread sense hd roms...

with kind regards...Alex


I offered the idea of swap to damo on the sense 3.0 post long time ago.
And the only problem for what I know is that we cant do it without the source code.
But! maybe -snq is able to do it, by the way, the other option is compcache maybe that will help us to.
 

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
I offered the idea of swap to damo on the sense 3.0 post long time ago.
And the only problem for what I know is that we cant do it without the source code.
But! maybe -snq is able to do it, by the way, the other option is compcache maybe that will help us to.
I am uploading my data2ext+ rom right now which helps a lot, makes things really fast and rosie almost never crashes

HTC Swyped from my Sense 3 Desire using XDA Premium
 
  • Like
Reactions: NeoPhyTe.x360

Alex-V

Inactive Recognized Developer
Aug 26, 2008
9,514
5,254
I offered the idea of swap to damo on the sense 3.0 post long time ago.
And the only problem for what I know is that we cant do it without the source code.
But! maybe -snq is able to do it, by the way, the other option is compcache maybe that will help us to.

Ok thx for info :)

with kind regards..Alex
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
new kernel image (v05):

fixed off-by-one bug (missing value for register H1Z@0xc4) in latest htc akm8973 driver that caused calibration failure in akmd
(that funny HOFFSET*.z values in /data/misc/AK8973Prms.txt)


original (objdump output, comments by me)
AKECS_GetData() inlined in akm_work_func() @0xc024d3d4:
c024d3d4: mov ip, sp
c024d3d8: push {r4, r5, fp, ip, lr, pc}
c024d3dc: sub fp, ip, #4
c024d3e0: sub sp, sp, #8
c024d3e4: sub r5, fp, #28 @ r5: buffer
c024d3e8: mov r1, #4 @ r1: RBUFF_SIZE
c024d3ec: mov r0, r5 @ r0: buffer
c024d3f0: bl c01ab3a0 @ < memset(buffer, 0, RBUFF_SIZE) < one too few actually, should be RBUFF_SIZE+1
c024d3f4: mov r0, r5 @ r0: buffer
c024d3f8: mov r1, #4 @ r1: RBUFF_SIZE
c024d3fc: mvn r3, #63 @ same as mov r3, 0xffffffc0, and 0xc0 = AKECS_REG_ST
c024d400: strb r3, [fp, #-28] @ buffer[0] = AKECS_REG_ST
c024d404: bl c024d2b4 @ < AKI2C_RxData(buffer, RBUFF_SIZE) < one too few actually, should be RBUFF_SIZE+1
c024d408: cmp r0, #0 @ checking ret val
c024d40c: blt c024d450 @ goto fail
c024d410: ldr r4, [pc, #88]
c024d414: add r0, r4, #44 @ r0: &sense_data_mutex
c024d418: bl c03a7ad4 @ mutex_lock(&sense_data_mutex)
c024d41c: ldm r5, {r0, r1} @ copy buffer into r0,r1
c024d420: mov ip, #1
c024d424: mov r3, #0
c024d428: mov r2, ip
c024d42c: str ip, [r4, #76] @ atomic_set(&data_ready, 1)
c024d430: str r0, [r4, #68] @ r0 (contents of buffer) into sense_data (part 1)
c024d434: strb r1, [r4, #72] @ r1 (contents of buffer) into sense_data (part 2)
c024d438: mov r1, #3
c024d43c: ldr r0, [pc, #48] @ &data_ready_wq
c024d440: bl c0072038 @ wake_up(&data_ready_wq)
c024d444: add r0, r4, #44 @ &sense_data_mutex
c024d448: bl c03a6f58 @ mutex_unlock(&sense_data_mutex);
c024d44c: b c024d458 @ ...proceed with enable_irq, etc...

modified
...
c024d3e8: mov r1, #5
...
c024d3f8: mov r1, #5
...
c024d42c: str r0, [r4, #68]
c024d430: str r1, [r4, #72]
c024d434: str ip, [r4, #76] @ data_ready: 1
...


remove b0rked calibration file (might be optional)
recalibrate your compass
outdoor calibration highly recommended (magnetic interference)
 
Last edited:

jeffreyljb

Senior Member
Dec 7, 2007
590
15
HongKong
Hey robo
Here our sense king snq- release new kernel version,I think you are going to work on new ROM version.



new kernel image (v05):

fixed off-by-one bug (missing value for register H1Z@0xc4) in latest htc akm8973 driver that caused calibration failure in akmd
(that funny HOFFSET*.z values in /data/misc/AK8973Prms.txt)


original (objdump output, comments by me)


modified



remove b0rked calibration file (might be optional)
recalibrate your compass
outdoor calibration highly recommended (magnetic interference)



Sent from my HTC Desire using XDA Premium App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    (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
    # 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
    # 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
    # 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
    # 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>
    # 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
    29
    hey, sorry for the lack of input, i'm busy fixing the vdd issue
    there will be a separate thread for this serie of kernels w/detailed features/info +modded sources
    27
    new kernel image (v05):

    fixed off-by-one bug (missing value for register H1Z@0xc4) in latest htc akm8973 driver that caused calibration failure in akmd
    (that funny HOFFSET*.z values in /data/misc/AK8973Prms.txt)


    original (objdump output, comments by me)
    AKECS_GetData() inlined in akm_work_func() @0xc024d3d4:
    c024d3d4: mov ip, sp
    c024d3d8: push {r4, r5, fp, ip, lr, pc}
    c024d3dc: sub fp, ip, #4
    c024d3e0: sub sp, sp, #8
    c024d3e4: sub r5, fp, #28 @ r5: buffer
    c024d3e8: mov r1, #4 @ r1: RBUFF_SIZE
    c024d3ec: mov r0, r5 @ r0: buffer
    c024d3f0: bl c01ab3a0 @ < memset(buffer, 0, RBUFF_SIZE) < one too few actually, should be RBUFF_SIZE+1
    c024d3f4: mov r0, r5 @ r0: buffer
    c024d3f8: mov r1, #4 @ r1: RBUFF_SIZE
    c024d3fc: mvn r3, #63 @ same as mov r3, 0xffffffc0, and 0xc0 = AKECS_REG_ST
    c024d400: strb r3, [fp, #-28] @ buffer[0] = AKECS_REG_ST
    c024d404: bl c024d2b4 @ < AKI2C_RxData(buffer, RBUFF_SIZE) < one too few actually, should be RBUFF_SIZE+1
    c024d408: cmp r0, #0 @ checking ret val
    c024d40c: blt c024d450 @ goto fail
    c024d410: ldr r4, [pc, #88]
    c024d414: add r0, r4, #44 @ r0: &sense_data_mutex
    c024d418: bl c03a7ad4 @ mutex_lock(&sense_data_mutex)
    c024d41c: ldm r5, {r0, r1} @ copy buffer into r0,r1
    c024d420: mov ip, #1
    c024d424: mov r3, #0
    c024d428: mov r2, ip
    c024d42c: str ip, [r4, #76] @ atomic_set(&data_ready, 1)
    c024d430: str r0, [r4, #68] @ r0 (contents of buffer) into sense_data (part 1)
    c024d434: strb r1, [r4, #72] @ r1 (contents of buffer) into sense_data (part 2)
    c024d438: mov r1, #3
    c024d43c: ldr r0, [pc, #48] @ &data_ready_wq
    c024d440: bl c0072038 @ wake_up(&data_ready_wq)
    c024d444: add r0, r4, #44 @ &sense_data_mutex
    c024d448: bl c03a6f58 @ mutex_unlock(&sense_data_mutex);
    c024d44c: b c024d458 @ ...proceed with enable_irq, etc...

    modified
    ...
    c024d3e8: mov r1, #5
    ...
    c024d3f8: mov r1, #5
    ...
    c024d42c: str r0, [r4, #68]
    c024d430: str r1, [r4, #72]
    c024d434: str ip, [r4, #76] @ data_ready: 1
    ...


    remove b0rked calibration file (might be optional)
    recalibrate your compass
    outdoor calibration highly recommended (magnetic interference)
    21
    bravo-2.6.35.14-snq-110919.zip

    353w6f.jpg


    (to test w/o flashing it unpack zImage from the archive, adb reboot bootloader, fastboot boot zImage (you can't use wifi until the next reboot though))


    optional wifi-n addon
    20
    wow i really need to catch up on comments here

    in the meantime:
    bravo-kernel/bravo-2.6.35.14-snq-111011.zip
    wifin_update-2.6.35.14-snq-111011.zip (optional wifi-n addon)

    bravo-2.6.35.14-snq-111011-no2wcr.zip (w/o callrec support)
    wifin_update-2.6.35.14-snq-111011-no2wcr.zip (optional wifi-n addon for the version w/o callrec support)