yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] It_ler:
I have some suggestions to you - look at the Wakelocks above:

1. Google Talk

Disable Talk (log out and disable auto log in option), if you do not need Talk running during the night.

2. Facebook

Disable (or Uninstall) Facebook, if you do not need it running during the night.

3. Network location locator

Goto Settings menu => Location and security => Disable the use of wireless networks.

4. Fast dormancy

If your mobile provider/carrier does not support fast dormancy, disable it.

Dial *#*#9900#*#*, then click disable fast dormancy, if available.

5. Radio interface

If you do not need the radio for sleeping, disable/stop it.

Hope that somethings will help you to gain a better battery life.

Good luck !

---------- Post added at 08:37 AM ---------- Previous post was at 08:27 AM ----------

I list these benchmarks results only for informational reasons.

After seeing some benchmark results of other users, I run those tests on my phone and listed the result/scores for myself.

After feeling to give something back to hardcore and other users posting interesting information in this thread, I decided to post my whole comparison result list to share my experiences and numbers.

It is not for convincing reasons ... only for information.

And everyone has to draw his own conclusions.

As I wrote before, for me the battery saving performance is more important than benchmark results, too.

As long as the phone is smooth and stable, I am happy and try to find the best kernel / ROM combination for optimal battery life for my "normal" usage on my phone.

So, I absolutely agree with you.
[Galaxy S II Original Android Development] alexkno:
So you have 2h vbus present - means your charger was connected. Maybe you charged to 100% but not until you got battery full notification. Thus phone doesn't go to deepsleep but cpu stays on 200MHz.

svnet dormancy - means you have something sending/receiving data. Whenever this happens for a certain time (I guess 6 seconds) your phone is awake. Having a look on the count (more than 900times) it seems something is opening a internet connection every 40 seconds. So put away widgets (especially weather) from launcher and/or reduce syncing intervalls from your apps.

so for your next cycle: charge to until you receive battery full notification, only then remove charger. Or reboot phone after removing charger before notification.

Additionally (even more important) remove all widgets from launcher that may use internet and switch for all apps and syncing accounts the update to one hour or more. This should remarkably lower the svnet-dormancy count and with that also the time and so keep your phone in deep sleep much longer. If it helped for a cycle you can add one widget after the other to check whether it reoccurs
[Galaxy S II Original Android Development] jonny68:
Thanks for your assistance guys i haven't got much time to respond in detail right now but i will later this evening.:)
[Galaxy S II Original Android Development] marsexpress:
I had this exact problem with test 12, been running k2 18 final since release and thought it was all good, then just an hour ago this exact same thing happened to me again.

Fyi you shouldn't need a battery pull; press and hold the power button until the phone switches off then switch back on.
[Galaxy S II Original Android Development] LauCass:
With older ROM and speedmod kernel it worked to tick and untick "USB Debugging", but not anymore. I still get adb error after doing this.

I'm not using Virtualbox, I running on real PCs (1 on XP and the 2 others on Win7) and I rarely use the emultator.
[Galaxy S II Original Android Development] lrcquest:
plan to flash checkrom for 2.3.6 with speedmod k2-18. can someone elaborate in steps to achieve this?? Wouldn't mind full wipe. Currently on KK5 as seen in sig.
[Galaxy S II Original Android Development] KeesStolk:
From page 1 at http://xdaforums.com/showthread.php?t=1312240

Q: I'm coming from a different ROM how can i install this ROM ?

A: Follow the steps below

Get into the CWM recovery

Wipe Data/factory reset

Wipe Cache

Wipe Dalvik-Cache

Wipe Battery Stats

Wipe Data/factory reset

Wipe Cache

Wipe Dalvik-Cache

Wipe Battery Stats

Install the wipe version of this ROM

Worked for me.
[Galaxy S II Original Android Development] :
Spoon feeding the lazy :)

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] lrcquest:
there isn't a wipe version for the 4.0 so, can proceed with no-wipe???
[Galaxy S II Original Android Development] Tyrol:
To wipe, just do a factory reset before flashing the ROM.

-----------------------

Tapatalking to the beat on Galaxy S II.
[Galaxy S II Original Android Development] Hacre:
How'd you get around this breaking the front facing camera?
[Galaxy S II Original Android Development] ZiCoN:
Agreed.... Most of the time people are kind and helpful... generally very professional, but there are "types" in here too....

I'm not a programmer, but love what the Dev's are doing. I help where I can, to make this a "time off" like it is for me... I'm 2nd and 3rd level supporter all the way, but my day job is truckdriving, and weekends are with my wife and daughter...

Kepp it clean and professional..... (tellin' my self that I'm not sounding like an old fart) :D
[Galaxy S II Original Android Development] noky76:
Can I use the kernel with cyanogen7 rom?
[Galaxy S II Original Android Development] eybee1970:
For all of you asking themselves how to flash this great piece without losing cwm...its pretty easy: just extract the tar with winrar or in rootexplorer then flash the zImage using cwm-app by using 'flash kernel'...that simple
[Galaxy S II Original Android Development] mach0boi:
Too bad my rom doesn't have CWM app :(
[Galaxy S II Original Android Development] ZiCoN:
You can find it on the Market
[Galaxy S II Original Android Development] eybee1970:
Then flash cf root kg2 with odin on your rom...afterwards you have cwm and can flash this kernel as i described
[Galaxy S II Original Android Development] rockky:
Here Here!

Great ambiance here....(Evo3D?...A virtual Jerry Springer show).
[Galaxy S II Original Android Development] bruflot:
I'm a little confused

Can I use a different kernel over a custom Rom? I'm using Lite'ning, and I would like to have both :confused:
[Galaxy S II Original Android Development] ZiCoN:
As long as the kernel you're interested in, is an Android 2.3 (gingerbread) kernel, it

should

be ok :)

But READ what the OP says..... this one doesn't have Clock Work Recovery, so at this point, so no flashing from what you have.

But it has been stated that if you extract the .tar file and flash the image file through CWM app, it should work.... I haven't tried it yet, so I can't personally confirm it :) But I wouldn't be worried :)
[Galaxy S II Original Android Development] tkalli:
Thanks, hardcore.

Tried all the kernels on my SGS and always came back to Speedmod.

;)​
[Galaxy S II Original Android Development] shawn_pro:
Thanks a TON hardcore, we all warmly welcome you.

Please continue your hardcore magic in SGS II.
[Galaxy S II Original Android Development] Jens0609:
The great master is back. many thanks
[Galaxy S II Original Android Development] sunwee:
wow fantastic! i only used speedmod for sgs1.....

now i can continue the tradition in sgs2!!
[Galaxy S II Original Android Development] gtda:
Cant wait to see this for KG2/KG3

love ur kernels hardcore
[Galaxy S II Original Android Development] AMoosa:
Would love to see this on KG2 or 3, with CWM and BLN built in. Just like you did on the Galaxy S. Welcome hardcore.
[Galaxy S II Original Android Development] veyka:
We need an official KG 2.3.4 release before we can get the sources for it so custom compiled kernel can be rebased
[Galaxy S II Original Android Development] BoneMo:
so XXKG2 is not an official 2.3.4 rom ?
[Galaxy S II Original Android Development] mach0boi:
He was talking about the 2.3.4 source code. Samsung hasn't release it yet. Custom kernels are based on 2.3.3 :)
[Galaxy S II Original Android Development] nofam:
So true! :D My heart skipped a beat when I saw this thread!! :p
[Galaxy S II Original Android Development] elnoxvie:
Thanks bunch. You rock. ^^
[Galaxy S II Original Android Development] gil80:
@hardcore

I've been using your great kernel for the last couple of days. But it seems that the screen sensitivity fix you implemented is a bit off. For example when i scroll through xda forums with xda android app there is a delay as shown in the youtube video of the original post for the screen sensitivity thread.

This is true to all apps.

Is there an app to test this issue?
[Galaxy S II Original Android Development] crs87:
does this work together with litening rom 4.2??
[Galaxy S II Original Android Development] asgard:
Unfortunately 3 reboots in as many hours with T18b on freshly installed Cognition 1.31 ( a ROM which I've used flawlessly for the past few weeks).

Sorry I can't be specific other than useless but reliable feedback.
[Galaxy S II Original Android Development] alcurtis93:
No rebooted here on touch extreme rom with t28b
[Galaxy S II Original Android Development] 212121:
thanks for this wonderful kernel.

I hope aigual or better than K17

rom crisquelon with v10.1, 1 day testing, games, gps etc. ..

to wait 2 cycles to stabilize battery charge.:eek:
[Galaxy S II Original Android Development] abhiwltya:
hey buddies...dumb question i guess but tell me

I have stock kf3 rom in india .So can i install this kernel...will it work with kf3 .

And will it work with stock ke8 and KG5 as well.
[Galaxy S II Original Android Development] Cygnuss:
Kernels work with any rom so no problem there...
[Galaxy S II Original Android Development] m0rtiis:
That is not entirely true. But for the sake of simplicity I'll say that any kernel based on Samsung's sources will most probably work with Samsung roms. ;)

Sent from my GT-I9100
[Galaxy S II Original Android Development] golf60:
Is there a chance for voodoo support? Sound and color...
[Galaxy S II Original Android Development] briko78:
Would appreciate it as well!
[Galaxy S II Original Android Development] Cygnuss:
undervoltage support would be nice
[Galaxy S II Original Android Development] gil80:
- Touchscreen sensitivity fix from vitalij (set to 10)

setting to 0 or 5 makes it smoother/more sensitive?
[Galaxy S II Original Android Development] tcortinag:
Sound its not possible, SGS2 has another sound chip, so no voodoo sound, I don't know about color.
[Galaxy S II Original Android Development] cr0wnest:
+1 for this and undervolting!
[Galaxy S II Original Android Development] lindsaytheflint:
Yes, undervolting would be a bonus.
[Galaxy S II Original Android Development] EarlZ:
Is it even out for the S2?
[Galaxy S II Original Android Development] beaver2233:
that's a negative...
[Galaxy S II Original Android Development] alcurtis93:
Really like this kernel, buttery smooth and good battery life :) used your kernel since sgs :) can't wait to get it like k13e is on the galaxy s :) thanks hardcore
[Galaxy S II Original Android Development] Chanz09:
Results for k2-18 Final. Amazing figures again check the third picture for the usage. There was still a huge wakelock again last night that i cannot find on betterbatterystats. i posted the partial wakelock and kernal wakelock this time. if anyone can tell me what it is?
[Galaxy S II Original Android Development] alexkno:
Seems to be only wrong figure in the graph. There is according to the real numbers nearly the same time for display and awake, additionally during the time where wakelock is shown you seem not to loose juice, So all good
[Galaxy S II Original Android Development] mdbde:
Could you post a screenshot of your display time?
[Galaxy S II Original Android Development] obionenairobi:
I had exactly the same yesterday and it freaked me out.

I came to work with still 50% battery and after 2 hours, with just one short phone call, I heard the beep to charge the phone. When checking I omly had 4% left and when I checked the batery usage the graph showed the steapest drop in battery I ever had.

I checked BBS for wakelocks but there was nothing????

After charging the phone I went into recovery code to clear dalvik and battery stats. Today the behaviour was normal. I am keeping an eye on it for the moment
[Galaxy S II Original Android Development] shawn_pro:
Last night i had a dream about speedmod releasing K2-19 Test 1. Please hardcore let my dream come true.

By the way K2-18 is rocking.
[Galaxy S II Original Android Development] Chanz09:
display time 6h 23m

talktime 2h 5m

wifi 31m
[Galaxy S II Original Android Development] poochie2:
How can I keep/get CWM5 and use his kernel?
[Galaxy S II Original Android Development] Chanz09:
So we should not trust the graph?
[Galaxy S II Original Android Development] kel1ng:
Maybe for ICS?
[Galaxy S II Original Android Development] jonny68:
1 - I already had Google Talk frozen in Titanium Backup so it couldn't be that.

2- I usually log out of the facebook app so my fault there i forgot to.

3- I always have wireless networks enabled as i have my weather on 2 hour sync so it's not something i would not use.

4 - Fast Dormancy - i thought i had this disabled but i obviously didn't thanks for that

5- Radio Interface - Thanks for this i didn't even realise i had this set to play in the background, i have disabled this now.

@ alexkno - yeah i need to examine these wakelocks closer to establish what exactly they are

Thanks for helping:)
[Galaxy S II Original Android Development] shahulvm:
Hi hardcore, i find Android System taking more cpu in idle mode on the latest kernel.. so going back to K2-18 test 12 as it was one of the best from you..

many thanks :)
[Galaxy S II Original Android Development] iggybuenaventura:
Test 12 maybe best in battery but according to hardcore it could be unstable.

"Originally Posted by hardcore

test12 has a bug where I miscalculated the way the cpu hotplug timer works, so it has extremely long cpu hotplug timer checks. it is much less smooth or consistent versus the later versions."
[Galaxy S II Original Android Development] shahulvm:
I do understand that...but i was getting around 2 days of battery with that... so I shall stick with it.... finally a bug to help me out :p
[Galaxy S II Original Android Development] gorillaCF:
have u tried dump and check on the dump file?

in the dump file, u can see a section at the end on Services that is not shown in the app itself.

from there, see what are the processes that are active for the longest duration, which causes ur phone to be awake all the time.

i found out the waking root cause thru BBS dump file.
[Galaxy S II Original Android Development] Vahidmoby:
i'm totaly agree with u :D

but if u have some free time, Trying k2-18 test 17

for me test 17 just like test 12 ( maybe its better )

BTW

worth to give it a shot ;)
[Galaxy S II Original Android Development] Chanz09:


Here is the services section in the dump file

======== Services ======== Active since: The time when the service was first made active, either by someone starting or binding to it. Last activity: The time when there was last activity in the service (either explicit requests to start it or clients binding to it) See http://developer.android.com/reference/android/app/ActivityManager.RunningServiceInfo.html system (com.google.android.backup.BackupTransportService) Active since: 11 s Last activity: 11 s Crash count:0 system (com.android.internal.service.wallpaper.ImageWallpaper) Active since: 12 s Last activity: 12 s Crash count:0 com.android.systemui (com.android.systemui.statusbar.StatusBarService) Active since: 12 s Last activity: 12 s Crash count:0 com.android.phone (com.android.phone.BluetoothHeadsetService) Active since: 11 s Last activity: 13 s Crash count:0 com.sec.android.inputmethod.axt9 (com.sec.android.inputmethod.axt9.AxT9IME) Active since: 12 s Last activity: 12 s Crash count:0 com.google.process.gapps (com.google.android.gsf.gtalkservice.service.GTalkService) Active since: 23 s Last activity: 6 h 41 m 44 s Crash count:0 com.android.phone (com.samsung.sec.android.application.csc.CscUpdateService) Active since: 19 s Last activity: 19
[Galaxy S II Original Android Development] hardcore:
There is not so much difference between the last k2-18 test 17 and the final K2-18.

I'm getting great battery life with K18, so maybe you might want to try it out for a few days first. I think battery life takes a few cycles before we can make comparisons.
[Galaxy S II Original Android Development] alexkno:
yeah, but as the worst thing on your phone seems the svnet-dormancy I'd really advise to figure out which app is triggering the internet connection.

Maybe you can use droidwall or whatever to block suspicious apps from using internet and see what is responsible.

With KK5 and K18 I had now about 5h display (auto brightness), 42h on battery with wifi (12h) and 3G (20h) and sync (FB, google talk, gmail) on all the time on 2000mAh. So thanks hardcore! Very good Kernel for speed AND battery
[Galaxy S II Original Android Development] coolfire:
Exactly! Some people may have forgotten about giving time for the battery to settle down with the new kernel. :)

Sent from my SGSII
[Galaxy S II Original Android Development] RageO:
I don't see a working data connection, that explains it...
[Galaxy S II Original Android Development] FrenchSparda:
With stock battery im getting 4h30 display with heavy usage...5hours with 2000ma battery isnt so good unfortunately :(
[Galaxy S II Original Android Development] bryant_16:
Same here too.. :(
[Galaxy S II Original Android Development] pixiebob:
i'm totally agree with you.in sleep mode i lose nothing. k18 is the best kernel battery life i have tried.

i advise the application "app quarantine" with that you can disable app(system/regular) that consume battery like google talk or google maps for example
[Galaxy S II Original Android Development] alexkno:
yeah, but considering several reboots with dalvik cache delete etc and about 10% rest battery it's ok, as I could have had 5,5h display without problems and this is about the 20% you should get with 2000mAh battery
[Galaxy S II Original Android Development] chrisjcks:
@Hardcore

Supercurio has increased the volume of our SGS2 whilst keeping the quality excellent - can we see this implemented into speedmod?
[Galaxy S II Original Android Development] ImSherlocked:
I used Kernel cleaning script and installed SpeedMod K2-18. My phone seems to be f*cked up. It's responding like resistive touch screen! Scrolling is painfully slow. I tried cleaning cache and dalvik and reflashing the kernel.

Any solutions?
[Galaxy S II Original Android Development] ithehappy:
K2-18 is great

Never said my feelings about K2-18 final. Well here it is, I am impressed as usual. Screen Shot says it all.

• As you can see fantastic Deep Sleep. So ▲

• Another confirmation of great Deep Sleep, NO awake. So another ▲

• Battery Stats, overall.

• Display on time of 3 hours with almost half juice left, so you can figure out the math of total display on time. So a big ▲

• No childish Dark background used either in desktop or in any other apps, surfed with default browser for 15+ minutes.

Other than the above GPS was on the whole time, no lag seen anywhere, smooth and fast as usual.

All I can say as of now is K2-18 Final is GREAT kernel, usually released by Hardcore. Keep up the good work.
[Galaxy S II Original Android Development] netban:
Do I need to backup or do anything before flashing this kernel?
[Galaxy S II Original Android Development] ithehappy:
NO. Why would you do that? :confused:

Just use the

Kernel Cleaning Script

, run it via Recovery, then install the Kernel, it will just save the time of manually wiping Dalvik Cache and etc. Please find it from here, too lazy to search it for ya.

Is that while you are charging the phone or all time?
[Galaxy S II Original Android Development] netban:
Thanks for the quick response ithehappy (<-- Cool name :D), I'm quite new to this but have read plenty of guides on the practical side but lacking in the theory. So backups are important but before you flash ROM (not kernel), I think I get it now :)

Thanks, Rizur.
[Galaxy S II Original Android Development] jonny68:
Thanks to lt_ler and alexkno for the advice i followed and last night on standby with data enabled i lost 8% in 7 hours 25 minutes which is pretty good and deep sleep was at 92% so overall after all this is excellent for battery life, as many have already said give it a few cycles and then see.
[Galaxy S II Original Android Development] lifenight:
I tested most kernel on my gs2 but your kernel is the best, thank you !
[Galaxy S II Original Android Development] komsa:
my experience with "test 12" :

......testing the final version K2-18 at the moment....... :)
[Galaxy S II Original Android Development] poochie2:
Is there any version of this kernel with oc/uv control as optional?
[Galaxy S II Original Android Development] nikzDHD:
Check out phenomenonal kernel in android dev based on speedmod.
[Galaxy S II Original Android Development] mrcreativity:
Would it be possible to integrate this volume fix un the next stable release please?

https://github.com/project-voodoo/mc1n2_voodoo

I would be really grateful as would most others.

Thank to Supercurio.
[Galaxy S II Original Android Development] jsompis:
+1 it will be a new greate feature.
[Galaxy S II Original Android Development] hello_dbm:
Any suggestions for modem in India
[Galaxy S II Original Android Development] ImSherlocked:
Thanks, It happens while charging. Weird I don't remember it happening before. In the past, prior to using kernel cleaning script, I used the phone while charging a lot.
[Galaxy S II Original Android Development] MistahBungle:
Would people please quit pasting screenshots into posts ? :mad: Scrolling thru half a page of pasted images to get to the next post is a pain in the arse and it takes two seconds to upload them as attachments.

Show some consideration for your fellow XDAers please.
[Galaxy S II Original Android Development] :
Guys out of curiosity (trying to learn something more specific about kernels..) what are cpu hotplug parameters in k18? Loadh and loadl I mean. In phenomenal kernel thread there are different opinions and I would like to know the real thing :)

K18 is getting better everyday in battery consumption!! :))

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] qureyoon:
I believe it's 60 - 20
[Galaxy S II Original Android Development] hardcore:
The lower load value is not used in this version. I've made a lot of changes to the hotplug logic. The best way to understand it would be to look at the source code.
[Galaxy S II Original Android Development] ithehappy:
I agree completely, pardon me for posting them in a bad way on last page, actually I didn't have PC that time.

@Hardcore:

Even I am on the list to request you to add Supercurio's louder script in your Kernel, if possible. You probably know how crap the hardware of GSII is :(

Will look forward to your response.

Thanks in advance.

Swyping from my GT-I9100 via Tt
[Galaxy S II Original Android Development] MistahBungle:
You my friend, are forgiven. Your fine contributions to this thread (and many others on this board) far outweigh a once off where you didn't have access to a PC :D
[Galaxy S II Original Android Development] shawnaye:
experienced the black screen once for like 10 mins today. was impatient and decided to power off
[Galaxy S II Original Android Development] mariotme:
Just encountered the same thing Using k2 18