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

Search This thread

anderl78

Senior Member
Jul 18, 2008
2,044
965
Hello snq-,

still reboot issue with latest GB kernel with latest radio:

Code:
 [37338.411071] [SMD]ARM9 has CRASHED
[37338.411193] [SMD]smem: DIAG '[WCDMA] 12:26:46 FATAL:  (WCDM:PFault :00017) (0)
[37338.411193] '
[37338.411468] 
[37338.411560] Restarting Linux version 2.6.35.14-snq-111003

Sent from my HTC Desire using XDA App
 

p53

Member
Jan 20, 2007
47
5
Hi snq,

I had tried both kernel 928 and latest 1003. My desire ran smoother on both kernel with LD 3.3.3 Rom. However, both versions got stability problems! 928 gave boot loop randomly (idle or not) while 1003 gave Freeze (got 2 times in 3 hrs), both needed battery pull out to solve.

Waiting for new release. Thanks for your hard work!

Sent from my HTC Desire using XDA App
 

gambit3rd

Senior Member
Jul 10, 2008
111
10
Still using 111003.
My Desire, IC 1.1.4, is running since kernel release. Never had a reboot for now.

I browses web a little more, tried Google Maps and Sygic.

It seems that phone is draining battery again after receiving a call. But I think issued this using a taskmanager...

A part from this, I'm having no problems at all. Phone isn't lagging, no hiccups, no nothing. Very usable.

I'm using Juwe Ram Script, too, and vdd values are custom. 128-245 screen off, 128-1113 (my cpu doesn't like 1190 oc... I have to set VDD to 1350 to gain stability for that freq. But it is not rock solid). Conservative governor.
 

tlexul

Senior Member
Aug 21, 2009
109
34
Karlsruhe
e-tel.eu
After changing the stock (froyo) kernel with 111004 I got two freezes so far. One of the times I was listening to some music, the second time immediately after I connected the phone to my computer (while opening my eBook reader).

On my laptop, this is what I see now (using openSuse):
<snip>
[ 64.434089] usb 2-2: device descriptor read/64, error -71
[ 64.637035] usb 2-2: reset high speed USB device using ehci_hcd and address 2
[ 69.748154] usb 2-2: device descriptor read/64, error -71
[ 74.959042] usb 2-2: device descriptor read/64, error -71
</snip>

The phone is now with the backlight on, the "charging LED" is on and it stays like this no matter if I plug/unplug the USB cable or press any hardware key on it.

Is there any chance this is somehow related to the MicroSD? Running with a class 4 16GB SanDisk microSD
 

Alex-V

Inactive Recognized Developer
Aug 26, 2008
9,516
5,256
Can a kernel tweaked to get a better framerate in vdeorecording..?

Original from Lee:
"Bitrate can be affected by tweaking media_profiles.xml alone, in GB too, and yes, the kernel does come into it - video decoders & encoders"

http://forum.xda-developers.com/showpost.php?p=16054873&postcount=5

Because of the problems in sense 3.5...and if it can be tweaked/patched...can you make this possible..?

with kind regards..Alex
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
After changing the stock (froyo) kernel with 111004 I got two freezes so far

dtvak.gif


reverted all upstream patches, reverted smartass, reverted to an older toolchain (gcc 4.5), added only tobi's stuff

bravo-2.6.32.39-snq-111005.zip (again, this is for froyo)
 

bangduck

Senior Member
Aug 28, 2011
129
11
Hi I have latest snq kernel and IC 1.1.4
I use smartassV2 as Scaling 245-998 and ScreenOff with smartassV2 245-384.
Now i have laggs with the Sense clock.

Any idea?
Sent from my HTC Desire using XDA App
 

tobi01001

Senior Member
Dec 4, 2008
258
64
Munich
Hi I have latest snq kernel and IC 1.1.4
I use smartassV2 as Scaling 245-998 and ScreenOff with smartassV2 245-384.
Now i have laggs with the Sense clock.

Any idea?
Sent from my HTC Desire using XDA App

I would remove the screen off profile and let SmartassV2 do its job. It is written for this... Tbh, I don't use SetCPU profiles at all. I only use it to adjust min/max frequency... (may use a script in the future)...

Sent from my HTC Desire using xda premium
 

jory9

Senior Member
Sep 22, 2010
1,103
133
Snq, i got random reboots using 10911 , with supernova xtreme rom, is this kernel related ?

Greetz

Sent from my HTC Desire using XDA App
 

bangduck

Senior Member
Aug 28, 2011
129
11
I would remove the screen off profile and let SmartassV2 do its job. It is written for this... Tbh, I don't use SetCPU profiles at all. I only use it to adjust min/max frequency... (may use a script in the future)...

Sent from my HTC Desire using xda premium

Ok thank you!!
Sent from my HTC Desire using XDA App
 

tobi01001

Senior Member
Dec 4, 2008
258
64
Munich
I had another one in the afternoon.
last_kmsg at the same place.
Different kind... Something about alarm devices failed...

Mind sharing it? Since sensor driver is almost done, I have some interest to look a bit....

I still experience those random "soft reboots".. It's not a complete freeze nor a full reboot. Could not find anything useful in the logs...

Sent from my HTC Desire using xda premium
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
Mind sharing it?

1)
>> **** DPM device timeout: curcial_oj (curcial_oj)
>> kernel BUG at drivers/base/power/main.c:627!

(suspend/resume timeout: c006eee4 irq_exit > c006e9fc __do_softirq > c00747bc run_timer_softirq > c02cae40 dpm_drv_timeout > c002f4cc __bug)

2)
>> pm_op(): 0xc02c8538 returns -16
>> PM: Device alarm failed to suspend: error -16
>> PM: Some devices failed to suspend
...
>> No errors detected

(c02c8538 is platform_pm_suspend())


bravo-2.6.35.14-snq-111005.zip
^pm related patches + hopefully better logging
 

tajimura

Senior Member
Dec 25, 2009
983
202
32
Tashkent
Having soft reboots with 1003. Usually during charging. Also everytime prior to reboot bottom part of the phone goes very hot, and as I know, that's where radio hardware is.

Wrote the post on ma lovely Desire using XDA App.
 

bangduck

Senior Member
Aug 28, 2011
129
11
Having soft reboots with 1003. Usually during charging. Also everytime prior to reboot bottom part of the phone goes very hot, and as I know, that's where radio hardware is.

Wrote the post on ma lovely Desire using XDA App.

Same here

Sent from my HTC Desire using XDA 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 <[email protected]>
    # 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 [email protected]) 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)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone