[KERNEL] [2012-01-12] V2.0 FM Kernel based on 2.6.35.14 [Beta]

Search This thread

fards

Inactive Recognized Developer
Fards,

Are you going to upload your kj6 patched kernel? I flashed this kernel on the kk1 rom and it is running great. Looking forward to trying your kernel too.

Sent from my GT-N7000 using Tapatalk

If I can work out why the simcard isn't working...

trying a build on unedited git clone to check.

{edit} nope, not playing at all.

river source, can you just check your git push please? in case something went wrong.
I'll start digging through mine.
 
Last edited:
  • Like
Reactions: StNickZA

SergioBigred

Senior Member
Jan 30, 2011
105
10
01log is the name of the script.


Do you have WLAN enabled? Do you use the Battery Monitor Widget? Both can cause high Android OS Usage.

Are you sure about wifi? In the battery help Samsung says that if you use it instead of 3G you battery consumption will be lower.

I am also using Battery Monitor Widget, do you suggest to remove it? It would be such a pity if a monitoring app for battery is draining it! :confused:
 

fards

Inactive Recognized Developer
Are you sure about wifi? In the battery help Samsung says that if you use it instead of 3G you battery consumption will be lower.

I am also using Battery Monitor Widget, do you suggest to remove it? It would be such a pity if a monitoring app for battery is draining it! :confused:

wifi is a much bigger battery drain here, than cell, but can you keep on topic ;)
 

StNickZA

Senior Member
Dec 1, 2009
556
155
Auckland
Today was better, battery-wise; about 4% per hour. Granted, my usage was low.

The difference today was that I set the Wifi sleep policy to "when screen is off".

I believe that the signal strength plays a large part in how badly wifi drains the battery, and in many cases, with a strong Wifi signal, one may find that it uses lower consumption than 3G. At my office, I have particularly bad Wifi reception where I sit, which could explain a lot.

Nevertheless, Android OS is still the highest consumer of my battery according to the stats, which is not what I expected from a 2.6.35.14 kernel.
 

zsolti256

Senior Member
Sep 13, 2010
538
100
I have kj4 rom. I have just flashed kj6 modem, and this kernel, ill report back on the battery useage, before i had 15-20% android system os consumption and bad battery life. Im very interested in the interactive governor it is much faster too!
 

fards

Inactive Recognized Developer
A Clean Checkout works fine for me.

nope not playing here, getting unknown baseband yet your kernel works fine

the Makefile suggests you're using codesourcery toolchain, I'll check that one as I've used linaro 4.6 and . prebuilt 4.4.0 (and 4.4.3)
(btw your script and Makefile have permalinks) ;)
 
Last edited:

jezza333

Senior Member
Jun 12, 2010
104
8
I flashed the new kernel but didn't notice any difference straight away. I watched a few TV episodes before going to sleep and after waking up, battery usage had hardly dropped over the night. After fiddling with the device, battery usage has risen to previous 'Android OS' bug usage.

I left Wifi on overnight too [as I did with my S2], so I don't believe this is causing the drain. Android OS has now risen in the battery usage stats... this bug should've been ironed out before Samsung released the Gingerbread firmware.
 

RashaMatt

Senior Member
Jul 5, 2010
604
70
Hi, I'm interested in learning about kernel and ROM building - can anyone suggest a good beginners resource?

I have plenty of experience programming, a little *nix experience, but i don't have a Linux installation - can the development and builds be done in windows?
 

fards

Inactive Recognized Developer
Hi, I'm interested in learning about kernel and ROM building - can anyone suggest a good beginners resource?

I have plenty of experience programming, a little *nix experience, but i don't have a Linux installation - can the development and builds be done in windows?

No. You need Linux, even if its in a vm..

Try the android source page for starts, or have a search on here, there's quite a few tutorials
 
  • Like
Reactions: RashaMatt

RiverSource

Senior Member
Sep 22, 2010
187
299
the Makefile suggests you're using codesourcery toolchain,
Kernels build with Codesourcery didn't work for me, they don't boot. Even the boot animation does not appear. I'm not sure about the reason, maybe the ABI.

I've used linaro 4.6 and . prebuilt 4.4.0 (and 4.4.3)
Linaro 4.6 ends up in a Boot Loop after boot animation. Linaro 4.5 is the best. Android gcc 4.4.0 and 4.4.3 work also, but CF bench decreases about 2000 points (Linaro optimizes better).



I left Wifi on overnight too [as I did with my S2], so I don't believe this is causing the drain.
It is. Even Android OS consumption grows rapidly if Wifi is on. Depp Sleep ratio also sinks considerable. I don't know why, but Wifi is a battery killer on the Note.
 

fards

Inactive Recognized Developer
bcm4330 is it same chip as in sgs2 ?

maybe worth checking the bcm bin firmwares from all the current releases?


for anyone building of your github..

they need to add initramfs/lib/modules/ folder manually if using the build.sh


hth :D
 
Last edited:

spekesel

Senior Member
May 19, 2008
61
7
Over 1 day on the battery.

OK, as I said before, good battery life now.

Check this out, this is my normal usage (I don't phone with this very much). more note taking and doodling during meetings :)

Still got 13% left.
 

Attachments

  • SC20111116-152839.jpg
    SC20111116-152839.jpg
    33.7 KB · Views: 261
  • SC20111116-153000.jpg
    SC20111116-153000.jpg
    19.5 KB · Views: 240
  • SC20111116-152853.jpg
    SC20111116-152853.jpg
    20.6 KB · Views: 213
  • SC20111116-152934.jpg
    SC20111116-152934.jpg
    12.6 KB · Views: 206

fards

Inactive Recognized Developer
hope riversource doesn't mind.

Here's a test kernel with TUN and CIFS as modules and interactive as default

I can't test either tun or cifs.,

tun was built in, but didn't seem to be loading for some people.
extract to sdcard and install with CWM

now on to seeing what can do to push this a bit more..

Nice to see you merged the KJ6 diffs in riversource :D
 

Attachments

  • zImage.zip
    5.6 MB · Views: 30
  • Like
Reactions: Techvir

fards

Inactive Recognized Developer
tempted to try the Glonass gps option :D
http://en.wikipedia.org/wiki/GLONASS

built, and booted, need to test it, but got 3d fix accurate to 16m inside the concrete roof here at work in under 1 minute (wifi fix immediately)

do get a downloading icon on the status bar with the glonass (but that could just be wifi location)..
 

Attachments

  • GloNass_zImage.zip
    5.6 MB · Views: 20
Last edited:
  • Like
Reactions: Techvir
tempted to try the Glonass gps option :D
http://en.wikipedia.org/wiki/GLONASS

built, and booted, need to test it, but got 3d fix accurate to 16m inside the concrete roof here at work in under 1 minute (wifi fix immediately)

do get a downloading icon on the status bar with the glonass (but that could just be wifi location)..

I thought it was built in.

Sent from my GT-N7000 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 63
    Hello,

    I want to publish the first public beta of my Kernel. It is based on 2.6.35.14 and should reduce the Android OS Battery usage. The Kernel is based on CF Root Kernel.

    As always: You are responsible for your phone. Don't blame me, if something goes wrong and you loose the photos from grandmas birthday or brick your phone. I have warned you! The Kernel is in very early stage and has been tested only by me so far.

    Features:
    • 2.6.35.14
    • Root
    • CWM5
    • Compatible to Chainfires CWM App
    • Reduced Debugging and Logging
    • Interactive Governor enabled (but not set as default. Use SetCPU).

    NEW Version 1.2:
    - Based on KJ6 Sources
    - optimized compiler flags
    - bug fixing

    NEW Version 1.3:
    - OC/UV Support (100 - 1700 MHz, SetCPU and Voltage Control)
    - additional governors (ondemand, ondemandx, interactive, interactivex, smartass, smartassv2, performance, powersave, conservative, Lagfree, Lazy, Savagedzen, Lulzactive)
    - Tegrak 2nd core Support
    - I/O schedulers: BFQv3, SIO, CFQ, deadline, VR, noop
    - some tweaks and bugfixes

    NEW Version 1.3.1:
    - Removed some Optimizations in order to fix the Camera Bug

    NEW Version 1.4:
    - added 50 MHz
    - Fixed Bug which caused removal of CWM Manager
    - EFS Backup reworked
    - intellidemand govenor added
    - added Version Number in Version String
    - Fixed Camera Bug finally
    - Deactivated GPU Undervolting
    - Some tweaks added again, which were removed for 1.3.1

    NEW Version 1.5:
    - Optimizations in Schedulers and Governors
    - Maybe Bluetooth Streaming Bugfix

    NEW Version 1.6:
    - Voodoo Louder support
    - Optimized schedulers
    - new MALI drivers
    - more logging and debugging (due to voodoo louder)

    NEW Version 2.0:
    - complete reworked cpufreq (incl. Abyss Smooth Scaling support), no more 50 MHz support
    - Lulzactive V2 inkl. Tegrak support
    - xz compression
    - optimized configuration
    - tun, ntfs, fuse support
    - amazing performance improvement

    The configuration is more or less Samsung Stock (except debugging, logging and the governor). Maybe I will optimize it in the future. The CWM App from Chainfire is not included, but should work on this kernel. I suggest to first flash a CF Kernel in order to root your phone and get the CWM App. After that you can flash this kernel. I recommend the CWM Manager App for flashing activities.

    Please report bugs. I had a problem with endless USB Port Suspend / Resume cycles during testing, which caused the phone not to enter the deep sleep. Maybe the reason were to optimistic compiler options (it did not occur in the last 24 hours).

    I would also appreciate, if you compare battery lifetime with Stock kernel. The battery statistic tells, the Android OS Usage is reduced, but results this really in a longer battery lifetime? Please observe and report.


    For the Developers: The Sourcecode.
    https://github.com/riversource/Galaxy-Note-Kernel
    6
    V2.0 online in first post.
    4
    Hello,

    I want to publish the first public beta of my Kernel. It is based on 2.6.35.14 and should reduce the Android OS Battery usage.
    It does not reduce Android OS battery usage at all - 2.6.35.12 only hides it.

    http://git.kernel.org/?p=linux/kern...it;h=a3fe22ee824895aafdc1b788e19c081a2e6dd9da is the one that makes Android OS battery usage disappear from Settings->About->Battery Usage (How do I know? git bisect is your friend!)

    As you can see, that is only an accounting/reporting patch - it doesn't change the amount of time spent in interrupt handlers during suspend/resume at all, nor does it affect the amount of battery used during suspend/resume.

    Best example, one can cause frequent resume/suspend cycles which shoot AOS through the roof as follows from a Linux machine:
    Code:
    ping -i 5 <wifi ip address of the device>
    You will see that whether you are on .7 or .14, battery drain will be the same, but the percentage of AOS usage reported will be MUCH lower on 2.6.35.12 and above.

    Edit: Also, as far as implementing 100 MHz and 50 MHz, I strongly suggest you read section 6 of the paper on idle states (clock/power gating) that Ezekeel links here - http://xdaforums.com/showthread.php?t=1431105&page=9
    4
    V1.4 is online in first post.
    4
    Read this sticky for very good explanations on most if not all governors and schedulers.

    http://xdaforums.com/showthread.php?t=1369817