yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] ArielTM:
Maybe a little bug?

when I go to Settings>Motion and I try the panning feature I get an FC from the motion settings.

And another request. Please add the modded phone.apk with the call recording feature.

Thanks!!! Great Job!!
[Galaxy S II Android Development] jasontschan:
For the FC problem, pls wipe cache & dalvik cache again, when I encounter this problem, I always use this method to reslove

For the call recording, you can find it from market, there are serveral apps exsited already
[Galaxy S II Android Development] hax1:
just flashed it as I had the same problem, works awesome now, had GPS in <5 seconds, when it took ages before with the ninphetamine ... could be a bug in np 2.02 ? speedmod kernel seems to work fine so far.
[Galaxy S II Android Development] huzz:
Trying cognition after some time. Loving it, seems very good till now. Though I was wondering can I just upload the respective apk's on UOT for theme-ing?

Cheers.
[Galaxy S II Android Development] mach0boi:
Framework-res.apk is fine. I was using it. Dunno about systemui :)
[Galaxy S II Android Development] jonny68:
do you mean in scaling or profile off?

In scaling it's no problem at all as many people use the setting Min 200 - Max 800 maybe screen off you might have a point, im going to leave it at 500-500
[Galaxy S II Android Development] jonny68:
OK reporting back on my second test on battery life from version 1.15 and im delighted to say it has exceeded my expectations, the only things different are im using the latest Ninphetamine-2.0.2 Kernel, i had SetCPU set at - Scaling - On Demand - Min 200 - Max 1200 - Profile Off - Min 500 - Max 500 - Priority 100 - On Demand, i cheated a little, when the battery was at 36% on Juice Defender Plus which is usually set to balanced i set it to aggressive and it appears to have saved even more battery.

This is with medium internet usage, about an hour of music, 2 calls and about 7 texts, the Android OS is still high but most people have this and until a proper fix is found there's nothing we can really do about it, i deleted the battery stats when i started and the battery was at 100%, the 2 widgets i have on my screen which are goal.com and Engadget where not there before in my previous test which makes this even more impressive, i had data enabled all the time,Wi-Fi,GPS,Bluetooth all turned off, i also froze Maps as i found that was eating up a lot of battery.

So here are the screenshots, just over 28 hours in my opinion is brilliant the best battery life ive ever got from a smartphone,suffice to say i shall be sticking with 1.15 for now, in my tests for those who are regular on this thread you can see that version 1.15 has undoubtely got the best battery life, ive tested from 1.15 to 1.30 extensively and this is my second time to test 1.15 and it comes out on top.

:)
[Galaxy S II Android Development] zambara:
I'm using all of those and still can"t see the UV setings in SET CPU...
[Galaxy S II Android Development] m0rtiis:
Update SetCPU.

Sent from my GT-I9100
[Galaxy S II Android Development] zambara:
THX for that !
[Galaxy S II Android Development] :
Running cognition 1.31 with ClockworkMod Recovery 4.0.1.4 KERNEL and got my battery to last:

1day and 14 hours! Keep up the good work!

(My battery lasted during that time and playing, surfing the web and with 5 calls and 15 sms, and 1 mms) :)
[Galaxy S II Android Development] the_Calen:
200mhz is the normal screen off rate, so why change it to 500mhz? i have set it to 200-500mhz on demand, works like a charm.
[Galaxy S II Android Development] zambara:
I use Min 200-Max 500 on screen off and i don't have any problem.
[Galaxy S II Android Development] kbiz90:
jonny68, the default scaling on the SGS2 is 200 - 1200 MHz On Demand. You are not underclocking at all when your screen is on with your current setting. LennyUK recommends 200 -800 MHz On Demand or Conservative with the screen on.

Your screen off setting should be 200 - 500 MHz Conservative. When you set a min of 500 MHz you are draining more battery because most of the time the SGS2 will naturally stay at 200 MHz when the screen is off.

Also, looking at your battery graphs, it looks like you phone is awake for long periods of time when the screen is off. You should install BetterBatteryStats off this site and make sure the apps that are keeping your phone awake are apps that your really want.
[Galaxy S II Android Development] eeebbr:
maybe any one know how to use the cognition with the villian feature of the rotating menu and main screen.

I find this ROM to be the best battery ROM for my SGS2 and i want to use it but the features of the menu and the 5 shortcuts on the bottom of the screen are really helpful for me.

is it the launcher pro that is responsible for this?is it a pushed APK?

or is there any thing else?
[Galaxy S II Android Development] jonny68:
Yeah i was previously using 200 - 800 i just wanted to see how it went with 200-1200,no doubt ill change back to 200-800.

.

OK noted on this.

I already did but wasn't overly keen on that app but i did notice that App Brain was one of the culprits so i deleted it, that app wasn't particularly one i need.

In general though i think that is fantastic battery life,and who knows with more tinkering about i might even improve on that.;)
[Galaxy S II Android Development] kbiz90:
Yeah, launchers are responsible for the way the desktop looks and operates. Try Launcher Pro, ADW Launcher, or Go Launcher from the market.
[Galaxy S II Android Development] kbiz90:
I like 200 - 1200 MHz On Demand when the screen is on and 200 - 500 MHz Conservative when the screen is off. Personal preference, of course.

I would give BetterBatteryStats another try. Your phone is awake waaay to much. Mine is never awake.
[Galaxy S II Android Development] eeebbr:
thanks for the answer.

i was stupied enough to freeze with titanium back up the launcher and now im stuck of the boot animation.

i dont want to lose app data on the moving to the cognition but i cant use back up from vilian because of MD5 mismatch.

i opened a question on Q&A, if anyone knows ill appreciate it.

http://xdaforums.com/showthread.php?p=16106227#post16106227
[Galaxy S II Android Development] jasontschan:
just boot into the cwm, then restore from your nandroid backup

if you don't have any backup, just flash the rom again what you are using right now(without wipe data)
[Galaxy S II Android Development] peterperfect:
Im tuning mine now! Thanks!
[Galaxy S II Android Development] peterperfect:
Great text! Using it as my baseline from now. Thanks.
[Galaxy S II Android Development] eeebbr:
didnt work, its stuck on the boot animation again.got an idea?

i wonder if theres a way to use the CMW restore option from vilian to cognition?

it would make my life so much easier instead of using titanium back up for every app
[Galaxy S II Android Development] peterperfect:
Not agree. Why should underclock on main profile? You will never use your phone full potencial then..

My sets in priority order:

Main profile: 800-1200 (on demand)

- Charging: 800-1200

- Screen off: 200-200 (reference: http://xdaforums.com/show...&postcount=651)

- <30% Battery: 200-1000

- <50% Battery: 800-1000
[Galaxy S II Android Development] dyl666:
Guys sorry if this is a noob question, but there's something that confuses me conserning undervolting.

I can go into SetCPU and set all of my voltages to 1mV, apply them and everything works normally, the stress test runs without problems and the phone works without any problems at all. Before setting the voltages, I set the CPU frequency to let's say 1GHz min/max and set the governor to performance. Everything just works!???!? Since I dont' think this is possible, can anyone tell me what I'm doing wrong. I'm pretty sure it shouldn't operate on 1mV, so can it be that the voltage settings are doing absolutely nothing?

Also, before anyone asks, yes I'm rooted and SetCPU does have superuser permissions, the frequencies work 100%, but this voltage thing is confusing me.
[Galaxy S II Android Development] jasontschan:
before restoration, do u have wipe cache & dalvik cache?
[Galaxy S II Android Development] kbiz90:
peterperfect, you gain nothing by increasing the min from 200 MHz. Every profile should have a min of 200 MHz. Just open SetCPU to the Main tab and watch it drop to 200 MHz after you don't touch the screen for five seconds. Then click it again and it instantly reacts.

My recommendation is to always keep the min at 200 MHz.
[Galaxy S II Android Development] shakaw:
The min voltage is capped to some value I dont remember, maybe around 800. Check kernel thread for exact number
[Galaxy S II Android Development] eeebbr:
i didnt so far because i thought that it would kill all of it and i wouldnt be able to do it. i will try though now..and will back up the decision by titanium back up
[Galaxy S II Android Development] dyl666:
Thanks, checked it and you're right it says 800 - 1500 mV.

So does that mean I can run all the frequencies @ 800mV if I don't experience any problems? Just seems weird that I don't need seperate voltages for each frequency.
[Galaxy S II Android Development] peterperfect:
Sorry dud, just typed the wrong text. Where it said 800 should be 200. My min are always os 200. Thanks for calling my attention on that.

Here go the correct setup:

Main profile: 200-1200 (on demand)

- Charging: 200-1200

- Screen off: 200-200 (reference: http://xdaforums.com/show...&postcount=651)

- <30% Battery: 200-1000

- <50% Battery: 200-800
[Galaxy S II Android Development] shakaw:
You do need to define a voltage for each freq in setCpu, and that voltage has to be between 800 and 1500
[Galaxy S II Android Development] kbiz90:
No problem. Just didn't want others to go down the wrong path. :)
[Galaxy S II Android Development] jonny68:
But you will not notice any difference whatsoever if your main profile is 200-800, even Pulser the developer of Villian ROM said this, there really is no noticeable difference at all.
[Galaxy S II Android Development] jonny68:
Yes i might do that, im still amazed i got the battery life i did though even with the screen awake so much, it's not as if i just left the phone on standby i must have used it for over an hour at various different stages on the net and an hour of music, calls and texts and general playing around with the phone.
[Galaxy S II Android Development] Rockin_Zombie:
Loaded the rom with NeonGT theme, so far so good, battery drain is in acceptable range.

I have one question, is thee any mod to get rid of the annoying low battery popup message?
[Galaxy S II Android Development] kbiz90:
I recommend you charge the phone before you go to bed, delete battery stats, and check the wakelocks tomorrow morning. I wonder what's gnawing on your battery?
[Galaxy S II Android Development] jimmymagix:
I'm also having the GPS problem. No lock after 5 minutes = massive frustration!
[Galaxy S II Android Development] peterperfect:
No difference between 800 and 1200 at top of main profile? Really doubt about it.

Just posting my correct setup above again so people dont go the wrong way, i mistyped on the other post:

Main profile: 200-1200 (on demand)

- Charging: 200-1200

- Screen off: 200-200 (reference: http://xdaforums.com/show...&postcount=651)

- <30% Battery: 200-1000

- <50% Battery: 200-800
[Galaxy S II Android Development] eeebbr:
thanks a lot buddy.

it made me so frustrated.

work like a charm
[Galaxy S II Android Development] victorwalter:
Copied! :D

Let's try.

[]s

VW
[Galaxy S II Android Development] kbiz90:
Should be:

- <30% Battery: 200-800

- <50% Battery: 200-1000

No?
[Galaxy S II Android Development] peterperfect:
Yes, im a dumbass that write everything wrong! :mad:

Sorry for that folks:

Now the correct correct setup that I use: :D

Main profile: 200-1200 (on demand)

- Charging: 200-1200

- Screen off: 200-200 (reference: http://xdaforums.com/show...&postcount=651)

- <30% Battery: 200-800

- <50% Battery: 200-1000

Ps.: Must respect priority order

Side note: Im currently having some lag on unlockin the screen using pattern probably because of the low clock locked on screen off. Trying to fix that tuning the sampling rate on advanced tab. Come back to you when I got it made.
[Galaxy S II Android Development] jonny68:
personally i cant notice any difference and if you ask Pulser or others they'll tell you the same.
[Galaxy S II Android Development] peterperfect:
you telling that is no diference between a 800mhz and a 1.2 ghz phone?
[Galaxy S II Android Development] yaronAD:
My Battery drains >> cos of 2

Google service

s:

> network-location

> network location-cell-update

How can I disable them ? and what are they connected to ?:confused:
[Galaxy S II Android Development] lfcorullon:
I hate the stock mms.apk!

I've extracted mms.apk from another rom, based on cognition, and renamed the stock app. It works! But everytime I reboot my phone, the white background returns and preferences of this app are restored... Damn!

I'm back to this terrible stock mms.apk!
[Galaxy S II Android Development] sidenine:
Why not just try GoSMS or Handcent? More flexible, and you can alter the themes to customize the layout. Free in the market!
[Galaxy S II Android Development] lfcorullon:
I'll try. Thanks.
[Galaxy S II Android Development] CaspaTheGhost:
No, he simply means there is no discernable difference between them...
[Galaxy S II Android Development] robstunner:
Download the CM7 MMS.APK and replace it in the system/apps folder. 194% better than the stock apk.
[Galaxy S II Android Development] 0355:
From where if I can ask?
[Galaxy S II Android Development] jonny68:
precisely....
[Galaxy S II Android Development] mi3x:
oK, I got a swype problem. Installed the rom, all fine, but now I cant find my language in swype (romanian).

Can I take the app from other rom and put it in here? Would that work? And if that can be done, how can I open up the rom (example litening, which had romanian in swype) to extract it?

Please help. Thanks!
[Galaxy S II Android Development] maxwarp79:
I did a full wipe of my phone and I full flashed version 1.31, the I restored my apps backup made with Titanium Backup 3.9.0.1 PRO, the apps were restored but I lose market link (the option for link in Titanium was selected). How can I solve this problem? :confused:
[Galaxy S II Android Development] zambara:
Try to delete data from the market app. In setings-Applications-manage applications.

It worked for me....
[Galaxy S II Android Development] shakaw:
You need to copy swype.apk from /system/app and libswypecore.so from /system/lib

You can probably extract them directly from the zip and push to appropriate locations.

I personally just copied them with root explorer from when i had stock kf3 and been using them ever since...
[Galaxy S II Android Development] sidenine:
You can find step by step instructions here: http://xdaforums.com/showthread.php?t=1068733
[Galaxy S II Android Development] DarkDvr:
Anybody found a solution to home button and wake lag?

On Cognition 1.31 (and same on 1.15) phone is very responsive and fast, except for two things:

- 0.5 to 1 second delay when using home button to return to home screen (when actively using phone). Consistent, always happens. Both on 1.15 and 1.31, and on VillainROM before that. Always happens, regardless of apps/ram usage, etc.

- 2 to 3 second delay when waking up the phone. No overclocking, no UV. No SetCPU app at all. Always happens, regardless of what's running or happening.

These two things annoy the holy jesus out of me.
[Galaxy S II Android Development] robstunner:
Must be a hardware thing. I either am not bothered by it to the point of not even noticing, or just don't have it.
[Galaxy S II Android Development] robt772000:
It's not a hardware thing. CM7 is instant when using the home button when the phone is awake.
[Galaxy S II Android Development] robstunner:
Meh. I'm on Cog since its birth and never noticed.
[Galaxy S II Android Development] DarkDvr:
"never noticed" and "not there" are 2 different things.

For me the delay makes the phone feel sluggish and non-responsive. I find myself avoiding the home button. Never had this problem with any other android phones.

I'm guessing it's software-related.. it's like phone is waiting to see if it'll be a "long-press" or simple push of a button. As if it reads the condition of a button for a second or so, and then determines what to do.

Super-mega annoying.
[Galaxy S II Android Development] _stefans_:
I find it extremely annoying, noticed from the first time i got the phone. Shouldn't this be rather easy to fix? (compared to all the other mods i mean..)
[Galaxy S II Android Development] Forsh:
This isn't a fault - it's a very important design feature. When inactive for a certain period of time the phone will power down and go into a deep sleep mode to conserve battery. It takes longer for the phone to wake from deep sleep cause it has to power back up again.

Press the right keylock button now to turn the screen off, wait one second, then press home key. Phone screen comes on instantly.

Now press right keylock and leave the phone for two minutes. Press home button, phone screen will come on after 2-3 seconds. The phone went into deep sleep from inactivity.

Don't like that? Fine. Search around and i'm pretty sure there's a mod available to prevent the phone using the deep sleep feature. But prepare to increase your battery usage considerably.

I can only assume that the screen powers on instantly in CM7 cause it doesn't have the deep sleep function, which probably attributes to the poor battery life reported.
[Galaxy S II Android Development] Eddiemc:
Yes, it's the samsung firmware that is at fault. It is waiting to see if there will be a double keypress on the home button..

This is what is causing the delay. The voice speech recognition is hardcoded into the rom, so even if the actual app is gone, the rom still is waiting for a potential doublepress to activate it.

Perhaps some dev can find the command and delete it?

------edit

And this has nothing to do with processor deep sleep.. This issue mentioned in the last few posts happens when going from active phone, say surfing the net, and going back to home screen through home button.

This is home button delay, the other one is wake up delay. Both are there by design, but home button delay is not needed in cognition;-)

Sent from my mind using telepathy
[Galaxy S II Android Development] Forsh:
That doesn't make sense. Think about it logically. Surely the rom is waiting for the double press whether the screen has been off 1, 2 and 1000 seconds. Then why does it turn on instantly with one press when it the screen has only been off for a very short time?

EDIT

Ah, just seen your edit! You're right; I misunderstood which lag was being referred to.
[Galaxy S II Android Development] code72:
There is "Softlocker free" on market to disable deep sleep mode (to prevent wake up delay, not home delay)
[Galaxy S II Android Development] DarkDvr:
OK so we determined that there are two delays:

* Wake Up delay - due to deep sleep, saves battery.

* Home button delay - this happens when using the phone and just wanting to return to home screen. Caused by Samsung's code?

First one I can live with to improve the battery life.

For the second one since we dont have the voice app, I'd say we just file it as a bug. Hopefully, designgears or kernels chefs can fix this.
[Galaxy S II Android Development] spokelaban:
Hello,

I have problems connection to WiFi with v 1.31. If I set an ip for my device it works good but when trying to get ip via dhcp it isn't working so good. It just trying to get an ip but it dosn't get one from the dhcp server on the WiFi. I have tested on two different wifi:s that I got it to work on the version I have before (1.07, been away that's why the big different between versions). Is this a know error and if so how can I fix it?
[Galaxy S II Android Development] code72:
Clear Data on Market should work (goto Settings-Applications-ManageApplications-All and search Market, then press Clear Cache and Clear Data)
[Galaxy S II Android Development] tbong777:
Me neither. I don't worry about minutiae...Things don't have to happen instantly. Sometimes DG goes to fix something dumb like a little lag on open and can crate other issue much more ominous
[Galaxy S II Android Development] DarkDvr:
You bought a dualcore monster of a phone for $700+ because "things don't need to happen instantly"?
[Galaxy S II Android Development] jeffojeff:
I also don't have this issue. Max waiting for me in both cases is 1sec or even below it.

But I also do think that these lags are definitely hardware issue. We know all the ROMs based on samy firmware have this issue but also CM7 which is sammy-free has these "lags", too. Provided CM7 has it, it is hardware thing or it's just me again not to be able to encounter the lags on even CM7
[Galaxy S II Android Development] skeptic1007:
Question on battery life

Dear All,

I decided to play a bit with battery monitoring on my phone. I run Cog 1.31.

My SetCPU settings: Main 200-1200; Profiles: Charging conservative 1200-200, pri 50; Screen off conservative 200-500, pri 49; Battery <30% conservative 200-800, pri 48; Battery <50% conservative 200-1000, pri 47.

The phone has always WiFi on, Bluetooth off, GPS off, Mobile data off (and on as needed). I do not run at this moment Juice Defender. CPU Spy confirms the phone enters Deep Sleep.

Battery Monitor Widget shows that most of the time my screen is off, the phone is at anywhere between -20mA to -65mA. I almost never see it at -5mA. What may be the reason? Keeping WiFi on even when screen is off?

On a different note, does Juice Defender (any version) really help? What settings do you actually use?

Thank you.
[Galaxy S II Android Development] yaronAD:
how can I monitor >> why my phone is awake through night?:confused:

or screen off ?

also my wifi is awake for hours! and through screen off

(and I'm using Green power app)

what is the way to discover exactly why?:confused:
[Galaxy S II Android Development] shawn_pro:
guys from where i can get stock 2.3 theme for Cognition with CM7 battery. Really appreciated.
[Galaxy S II Android Development] aly19:
http://xdaforums.com/showpost.php?p=15818170&postcount=2
[Galaxy S II Android Development] 0355:
Either "wake up delay" or "home button delay" are not bugs but rather "features by design".

I agree that the home button thing maybe could be fairly annoying (and indeed it is...).

Otherwise in the case of screen awake delay is really a "plus" rather than a "minus", as it helps (I suppose a lot, in my opinion...) to increase battery life.

As stated before by someone else you can always prevent the phone going into deep sleep mode with some nasty (to me) application on the market.

That definitely will lower your time on battery.
[Galaxy S II Android Development] XA-R01:
Flashed cm7 rom, then flashed cognition rom. I decided to keep the cognition since cm7 still lack lots of features.
[Galaxy S II Android Development] blickmanic:
same here, flashed back to cognition last night, camera sucks on cyanogenmod at the moment
[Galaxy S II Android Development] fuhrli:
Hey I´m on Cognition S2 1.31. Every time my Browser crashed after 10 seconds
[Galaxy S II Android Development] harukikujo:
Awesome Rom.

i just have to say this. i probably have been using this rom since it's creation and i'm impressed by the battery life and it's overall daily performance.

just wanted to report my stats.

it's been about 5hrs 15 mins of battery usage and i'm on 90% battery.

Android OS @ 25%

Display @ 24%

Android System @ 12%

Maps @ 11%

Dialer @ 11%

Cell Standby @ 10%

Phone Idle @ 7%

Voice Calls @ 3%

I'm using Juice Defender Ultimate to help with the extension of battery life, with the help of SetCPU as well.

Underclocked tremendously (and yet stable)

SetCPU Profiles

Screen off 200 - 500 (ondemand)

Battery >101% 200 - 800 (ondemand)

Voltages

200 - 825

500 - 900

800 - 975

Daily Usage includes:

talkbox messenger, whatsapp, twicca, facebook, web surfing, loads of sms, few calls (less than 10), and about 10 minutes of Robotek HD.

kudos to @designgears from singapore!