[KERNEL][WIP] Classic Sense Kernel v1.5 [JUL 22 2012][GINGERBREAD][SENSE]

Search This thread

volk9029

Senior Member
May 10, 2011
3,128
2,699
Brooklyn, NY
Besides the fact that I seem to be only periodically getting SBC to work correctly, I just now discovered that when I make video recordings there is no sound.

Unfortunately, it's looking like I'm gonna have to go back to the stock kernel.

edit: Well, I jumped the gun...the sound had nothing to do with hardware or software. The 'record with audio' box got unchecked somehow. But, I'm still only successful with SBC about 50% of the time. Not saying it's the kernel's fault...I'm sure it's my phone...or the operator!

Have you used the phone while charging? Anyway rebooting the phone will get sbc working again.

Sent from my lair.
 

pennie77

Senior Member
Mar 15, 2011
77
25
Guitarified said:
Besides the fact that I seem to be only periodically getting SBC to work correctly, I just now discovered that when I make video recordings there is no sound.

Unfortunately, it's looking like I'm gonna have to go back to the stock kernel.

edit: Well, I jumped the gun...the sound had nothing to do with hardware or software. The 'record with audio' box got unchecked somehow. But, I'm still only successful with SBC about 50% of the time. Not saying it's the kernel's fault...I'm sure it's my phone...or the operator!

I don't know if it's just my phone or not but my sbc would stop working about half way through the night but during the day while using it on the charger the sbc would work perfectly and by mistake I left my phone set to stay awake while charging at night and the sbc worked all night so I have been doing that since with no problems.
 

Guitarified

Senior Member
Sep 9, 2010
491
135
48
Adrian, MI
www.guitarified.com
I jumped over and checked it too... Lol.. I was wondering if you would be willing to try something if you haven't already... Before you are ready to charge it for the night, can you reboot the phone, let it settle for a couple minutes, then plug it in and see if it charges throughout the night..

I have been doing that but will gladly do it again tonight and report back exactly what happens.

Sent from my PC36100 using XDA
 

HoDawg

Senior Member
Apr 18, 2011
146
11
Orlando
I don't know if it's just my phone or not but my sbc would stop working about half way through the night but during the day while using it on the charger the sbc would work perfectly and by mistake I left my phone set to stay awake while charging at night and the sbc worked all night so I have been doing that since with no problems.

How would I know if SBC is working?

Sent from my PC36100 using xda premium
 

Guitarified

Senior Member
Sep 9, 2010
491
135
48
Adrian, MI
www.guitarified.com
Well, SBC seems to be working today. As I said, it works about half the time. Last night I rebooted, waited a few minutes, plugged in and ignored it. It sat on the charger for about 8.5 hours. I unplugged and it stayed at 100% for about 1.75 hours and it's just now at 99% after several incoming texts and connecting to wifi to check XDA and a couple other things. Now we'll see how long it lasts throughout the day.
 

HTCEvo4G3D

Senior Member
May 15, 2011
213
14
It should stay +ma after reaching 100%

So what does it mean when the number is negative like this? Although it's not at 100%
6b30402e-8f97-74aa.jpg


Sent from my Anthrax fresh out the envelope infected OG Evo
 

pennie77

Senior Member
Mar 15, 2011
77
25
HTCEvo4G3D said:
So sbc is working? :D

Sent from my Anthrax fresh out the envelope infected OG Evo

Set BMW to monitor without widget or place a widget on your homescreen then charge overnight and check your history in the morning to see if it stayed positive after reaching 100% if it does then you are good to go
 
  • Like
Reactions: HTCEvo4G3D

travisw0204

Senior Member
Mar 1, 2008
1,908
1,108
I've noticed that when my battery is fully charged, I have a BMW alert to let me know that it is fully charged, it goes to zero and stays there until I unplug. Is this a feature of my battery circuitry stopping the flow of current to the phone since it's fully charged and avoiding overcharging the battery? I know some people have complained about that and thinking SBC is not working. Mine usually starts off in the high 340 ma and then drops all the way down to zero when its fully charged. It will stay on zero until I unplug it. If what I'm thinking is accurate then this is the most sophisticated kernel out right now. Great job ca1ne. This thing rocks. My battery stays on 100% for at least 3 hours and that's with sending a few texts and updating my weather.
 

Vyrus69

Senior Member
Aug 25, 2011
466
132
Miami, FL
www.djmarcalexander.com
Ok so all of the mount issues I mentioned in the Underworld thread, none of those apply to the classic.

So I'm sticking to the classic for good, I don't mind not having the other governers to be honest. On demand for me lol :D
 

mbm951

Member
Apr 3, 2012
18
1
I am running swag x and classic 1.1, is anyone else unable to use wireless tether with this kernal. The app was running great with swag and freedom. I flashed this kernal and it stopped working. I really like this kernal, just wondering if anyone else experienced this issue?
 

Ken C

Senior Member
Mar 5, 2011
848
184
Samsung Galaxy S10
I am running swag x and classic 1.1, is anyone else unable to use wireless tether with this kernal. The app was running great with swag and freedom. I flashed this kernal and it stopped working. I really like this kernal, just wondering if anyone else experienced this issue?

Haven't tried tethering, and not sure if they're related. But I've been having my 3g acting a little quirky.
Running Mike3.11
Classic 1 sbc
Experimenting with smurfed settings

Sent from the Dark Side Of The Moon
 

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    Classic Sense Kernel

    This kernel started out of a request from tommytomatoe to have a stock kernel with sbc optional. So here I present a stock-"ish" kernel for gingerbread. Hopefully this will fill a niche where either the end user who likes the stock kernel, as well as the user who has issues getting custom kernels to run will both have something to flash that gives them that little bit extra without going overboard. There is no overclocking in this kernel, nor undervolting. This is for a stock experience with a few tweaks.

    What's in this Stock-"ish" kernel

    Stock Kernel 2.6.35.10
    Enabled Wireless N
    Powersave Governor enabled
    Perflock Disabled
    HDMI Fix
    GPS Fix
    3 Point Touch Check
    10 Point Touch
    Superior Battery Charging (SBC)
    Audio Boosted with On/Off Toggle (default setting is on)
    Fast USB Charge with On/Off Toggle (default setting is off)
    Reduced Wifi Voltage
    Front Facing Camera Fix (should work on all gingerbread sense)
    CIQ Disabled
    Fix for those having issue with hostpot
    Enabled EXT4 Support (applied performance patch)

    Instructions

    Apply with your preferred custom recovery and clear Dalvik Cache/Cache.

    For SBC
    It seems to help if you wipe Dalvik Cache/Cache.
    And make sure the phone is fully booted before plugging it in.

    For Audio Boost to turn on and off
    Code:
    Audio Boost On
    echo 1 > /sys/kernel/audio_boost/aboost
    Audio Boost Off
    echo 0 > /sys/kernel/audio_boost/aboost
    Query Audio Boost Status
    cat /sys/kernel/audio_boost/aboost
    For USB Fast Charge to turn on and off
    The below code will toggle it in the terminal, but a cool way to turn it on and off would be to support the original dev who put this mod together, chad0989 by purchasing his widget that controls this version of usb fast charge as well as the patch version. LINK TO WIDGET
    Code:
    USB Fast Charge On
    echo 1 > /sys/kernel/fast_charge/fast_charge_usb
    USB Fast Charge Off
    echo 0 > /sys/kernel/fast_charge/fast_charge_usb
    Query USB Fast Charge Status
    cat /sys/kernel/fast_charge/fast_charge_usb

    File Descriptions

    The Non-SBC Version of the Kernel
    classickernelv#.zip

    The SBC Version of the Kernel
    classickernelv#-sbc.zip

    Credits

    I am grateful to all, from the developers, to the end users who
    provide the feedback and use what is created.

    More specifically (in alphabetical order) I would like to credit
    the following developers for their work.

    barnacles10
    cayniarb
    chad0989
    detcup4evr
    drellisdee
    faux123
    lithid
    ms79723
    netarchy
    paulmck
    TeamWin
    tiny4579
    toastcfh
    ziggy471

    Also I would like to thank 2 alpha testers who kept me going

    swagstr
    tommytomatoe

    Also I would like to thank the tester for the ffc fix

    buckhunter (test all 4 options I wanted to check)
    sclarktay4

    Disclaimer

    As with all things, not every variant can be accounted for. Please use at your own risk. I am not responsible for any damages/bricks/etc that may accompany use of this kernel.

    Bug Reporting

    Post a reply in this thread or pm me, and I will do my best to assist and/or correct bugs.

    Update History

    v1.5
    Enabled EXT4 Support (applied performance patch)

    v1.4
    Changed Audio boost to on/off toggle
    USB Fast Charge and on/off toggle

    v1.3
    CIQ Disabled
    Fix for Hotspot for some users

    v1.2
    Front Facing Camera Fix
    Compiler Optimizations

    v1.1
    Boosted Audio More
    Reduced Wifi Voltage

    v1.0 - Initial Release.
    Stock Kernel 2.6.35.10
    Enabled Wireless N
    Powersave Governor enabled
    Perflock Disabled
    HDMI Fix
    GPS Fix
    3 Point Touch Check
    10 Point Touch
    Superior Battery Charging (SBC)


    Links

    classickernelv15.zip
    md5: c522f5d213069899528e3c5147e6271a
    classickernelv15-sbc.zip
    md5: 2de0f7b3c3df360a8f427266a27bdbde
    Old Links

    classickernelv14.zip
    md5: 0d2ea9654c5ab89ab03f8bfc5a8a5f73
    classickernelv14-sbc.zip
    md5: 7a2358e5403328ae71197264cb51ce31

    classickernelv13.zip
    md5: 64613e676fa14e39680ddd5fb5eaa2fb
    classickernelv13-sbc.zip
    md5: 854ab7405da435de27d59b791d9f73e7

    classickernelv12.zip
    md5: 89fbe977334cbc01696cd5a799116b47
    classickernelv12-sbc.zip
    md5: 26b9fe8d017a900a8ea178a674ecff8f

    classickernelv11.zip
    md5: 34a152540ff4816f564d304dbf5570dc
    classickernelv11-sbc.zip
    md5: eb2ebfb127e8de3dfeff44e2fe75b89f

    classickernelv1.zip
    md5: 100206d020655c3b57b6c0e325efae6c
    classickernelv1-sbc.zip
    md5: c9358099b966c2b9ea330a52ebb082e9

    Github
    13
    SBC info

    With most current development moving on to newer phones, I very much appreciate the folks that do still dev for our old Evo 4G's. I have one of the 003 hardware revisions that just get crappy battery life no matter what, but I've just learned to live with it (extended battery & chargers everywhere). I did notice long ago, back when Froyo was the shiznit, that SBC kernels helped more than would seem logical, and I'm very glad to see it available in a current, GB Sense kernel.

    Now to share some of the SBC wisdom that was shared with me by the kernel devs of that time period:

    1. When using an SBC kernel, any and all forms of battery calibration are now moot. The trickle charging of an SBC kernel does that better over one night than is possible using any normal calibration method.

    2. Everyone suggested installing Battery Monitor Widget, which I have been doing for over a year. I leave the bottom and top values at default (current battery charge % & current mA charge), but remove the battery image in the middle and have that displaying the current battery voltage (mV).

    Note: if you have an extended, higher capacity battery (1700 - 3500 mAh), be sure to go into the settings for the Battery Monitor Widget and change the battery capacity from the default 1500mAh to the value of your battery.

    3. Charge the battery until it has been showing a consistent charge rate ranging from 2mA - 6mA. Now, leaving the phone plugged in, reboot into recovery and wipe the battery stats. Boot the phone back up, let it charge until it's at the same rate as before, and you're done.

    None of this information is new, secret, or of my own creation. I just hoped to create a simple post that would provide usable info about using SBC kernels. There are a couple of possible or at least theoretical caveats to using an SBC kernel so I'll share those as well.

    1. There are L-Ion battery experts that say that doing this will shorten the life of the battery. This may be true, but based on the increase in daily, usable battery life I saw using these kernels, if it killed my battery every 6-months I'd still use them. However, the fact is that I'm still using the same extended battery that I purchased as soon as they were available, so I've not experience any dramatic shortening of battery life.

    2. Some of these same battery experts say that using SBC kernels can be a safety hazard, and that they can make the batteries catch fire or explode. I might have bought into this were it not for the fact that every L-Ion battery has a protective circuit built into it to prevent this from occurring. Also, in all of these claims I've as yet to ever see a name of someone that this occurred to, nor seen a single post by someone that had this occur.

    There were a few instances long ago of android phone batteries exploding; in one case the user was actually killed. However, in each of the cases that I read about, there were three things in common. First, all of these phones were from the same manufacturer. Second, the users were using the phone while plugged into the chargers. Third, and pay close attention here...none of these folks were using SBC kernels. SBC kernels didn't even exist yet.

    If anyone has any additional and/or corrective related information, I welcome it. The more accurate the information we all have is the better off we all are.

    Thank you for your time.
    8
    reserved.


    random commentary

    My fiirst time posting a kernel or anything of this type, please let me know if i messed up the updaterscript, (spelling errors, upload doesnt match my md5, etc)... thank to all who tested.
    8
    updated OP. New version Classic V1.2

    Includes the front facing camera fix.
    also includes compiler optimizations.
    6
    Ok I have a fix attempt for the Front facing camera... I had tried the code changes before, but I would get Media force closes and camera force closes.. But then I thought to myself, perhaps the fcs are from the data residing on from the apps and they would need to be cleared...

    So this is what I did, flashed a brand new install of a 4.67 rom (i used boot manager slot so I didn't have to clean out the phone rom), cleared system/data/cache and flahed the rom and flashed the kernel right after without booting first, loaded up the rom and no force closes...

    Now if someone is willing to test out this kernel (I used classic since its the least modified from source, so its a more stable testing base) to see if when using google hangout and 4.67 ota based rom if the receiver sees the you flipped/mirrored as well as your own display, please PM me... I'm only looking for a couple people to test it out...

    I also want to test how to get it to run without force closes on an already installed rom.. I'm thinking maybe clearing data on camera app and media app, rebooting to recovery immediately, clearing cache and dalvik cache, flash the modified kernel, clear cache and dalvik cache again to be sure, then reboot.

    Finally if both those work and get hashed out, then I want to see if someone with can do the two above procedures with a 4.54 ota based rom and see if it gets a flipped camera/video, or does it work for both 4.54 and 4.67 (i want to find out if I need to provide 2 seperate variations of each kernel for different otas or not)

    So in essence I'm looking for testers to do 3-4 things... one is to see if the kernel modification works to begin with on a clean install and if that works, then I want to see how we can get it to work so someone doesn't have to do a clean install... and to see if it borks on 4.54.

    Please only pm if you are willing to test it out... if it is successful, no worries I will release an update for Classic Sense and Underworld Sense.

    Thank you again to all who have shown interest in the kernels I have been compiling, and thank you to the testers and those who leave comments letting me know how its running (for both this kernel and underworld)