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

Search This thread

backfromthestorm

Senior Member
Jul 2, 2011
756
270
47000 places at once.
I calibrated the battery with battery calibration app multiple time, I'm thinking is a kernel related thing cause is always shutting down at 10%

Sent from my HTC Desire using Tapatalk
try charging to only 10 - 20%, and using till its flat a few times. Also, when you do charge it to 100%, make sure you disconnect it pretty soon after and don't plug it back in until its flat. Letting it charge from say, 95 to 100 etc a few times puts the calibration right out.
 

rjvrijn

Senior Member
Sep 12, 2009
104
8
In my phone and 110911 the max volts is 4187, min 3405 and my phone turn off by 14% battery (I calibrated battery). What have I do with my phone to turn off by below ex. 10%? I use only snq kernels - is it depend on ver. of kernel?

It happens to be that I have 2 desires. Both with leedroid 3.3.3 r5, both are pvt4 batch.

For one I use snq kernel. The other gingercakes 0.8a. The one with gingercakes stop charging at 4.182mV, the one with snq at 4.206mV. I'll reflash the first with snq 's kernel to see if it makes any difference.

(never checked the first before so perhaps it was from the beginning and is it hardware related.)



Sent from my HTC Desire using XDA App
 

rjvrijn

Senior Member
Sep 12, 2009
104
8
The one with gingercakes stop charging at 4.182mV, the one with snq at 4.206mV. I'll reflash the first with snq 's kernel to see if it makes any difference.

Flashing another kernel did not make any difference. In fact the desire I didn't change stops now at 4.192mV. Nothing changed, no reboot since it charged to 4.206.

Perhaps there are some apps that interfere with it...

Sent from my HTC Desire using XDA App
 

NeoEpsilon

Senior Member
Aug 2, 2010
75
15
About the charging thing...
I think the battery "swings" in certain value that it considered to be full...
In most cases My Desire charges to 4187mV, though it occasionally stops at 4182mV, and maxed at 4197mV...
I never saw it charge over 4197mV though... :rolleyes:
And this is monitored since Froyo days...
Even with snq-'s 110929 kernel, it still behaves the same... :D
 

tobi01001

Senior Member
Dec 4, 2008
258
64
Munich
It happens to be that I have 2 desires. Both with leedroid 3.3.3 r5, both are pvt4 batch.

For one I use snq kernel. The other gingercakes 0.8a. The one with gingercakes stop charging at 4.182mV, the one with snq at 4.206mV. I'll reflash the first with snq 's kernel to see if it makes any difference.

(never checked the first before so perhaps it was from the beginning and is it hardware related.)



Sent from my HTC Desire using XDA App

You may swap batteries between both. Then have a look how they behave.
Also, batteries wear out over time. I already have the second one after one year. This gave me more "additional" battery life than all the tweaks and kernels out there :D

So I doubt its kernel related...

Sent from my HTC Desire using xda premium
 

bangduck

Senior Member
Aug 28, 2011
129
11
Tonight i go sleep at 2am with 100% battery and wake-up at 7am with 48% :S.

I'm running only sleep as an droid? The sleepvoice was off, only the buzzer was on? That is the Problem for this during batterylife?

Sent with worst english from my HTC Desire using XDA App
 

erklat

Senior Member
Nov 14, 2010
2,444
455
My Desire ALSO shutsdown at 10% (sometimes even higher)... I'ts been doing this since I "play" with kernels and Gingerbread roms. Never saw that on Froyo.

bye!

This. Mine kept turning off at 8%. Not on thalamus kernel. I couldn't remember the last time I saw 2% on the indicator the first day I switched to Oxygen.

Check what's been using the most in battery stats? It maybe kept awake by an app.

Apps which don't release wake lock are extremely rarely displayed in the battery stats.
Out of my head I can say Google+ with instant upload, Maps if kept in the foreground, widgets which sync often all drain battery as hell.
 
Last edited:

3f1f37

Senior Member
Feb 16, 2011
1,548
1,205
Cape Town
I was still using 111005 and while phone was charging I had a reboot. Not sure what the cause was but the battery was almost at 100%

Flashing new kernel now

Sent from my HTC Desire using xda premium
 

alidsd

Senior Member
Jun 10, 2011
471
255

TomLeeDesire

Senior Member
Aug 3, 2010
1,058
147

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