yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] forgetmyname:
Bug: screen timout during call

Hi,

Noticed a bug during phone calls:

1. Call number.
2. The call is connected, and in this case entered into an IVR system.
3. During the wait for the required IVR response, the screen is turned black due to the proximity sensor registering the user is close to the screen.
Clearing the sensor the screen appears again.
4. After approx 20 seconds, (still awaiting to enter the desired IVR response), the screen turned black, even if there is no object to trigger the proximity sensor.
At this point if is impossible to display an image on the screen, thus making it impossible to register keys (on the dial pad) for the IVR.

This is not related to the IVR, but likely the proximity sensor incorrectly registering events, failing to register the sensor is not now clear, or crashing.

This is an intermittent bug, so can sometimes be reproduced.

Is this a known bug with CM or Insanity?

Regards.

---------- Post added at 04:14 PM ---------- Previous post was at 03:53 PM ----------

Update: I have comes across a similar post on cm forum regarding this with another handset, so this may be related to CM7 stable.

http://forum.cyanogenmod.com/topic/...to-respond-after-calling-or-receiving-a-call/
[Galaxy S II Android Development] enel_:
I'm still a GSI owner but may be very soon a GSII owner so I have a few questions. I'm very very long with insanity and I don't have any question about Insanity but about the camera. With GSI + Insanity CM the camera is not that good like GSI + Samsung rom, but what's the case with GSII + Insanity CM?

Is there vodoo color and sound support for the GSII? And is the Ninphetamine kernel the best for Insanity CM or the stock one?

Sorry for these stupid questions but I'm still in the GSI world and don't know that much about this world =D

EDIT: Sorry, a big mistake, Ninphetamine is not for CM7, only Samsung Rom. Sorry sorry sorry...
[Galaxy S II Android Development] nitr8:
Hi are you on a captivate? If so, this is SGS II specific and there are some captivate specific things that might not be here. I don't recall people having these issues you have...
[Galaxy S II Android Development] forgetmyname:
Hi,

This is on the i9100 international version (one sold within the EU.

Also, I noticed tgat sometimes the opposite happens: The captivate buttos remain lit. Again a reboot solves it ;)
[Galaxy S II Android Development] Plopz:
Out of curiosity, what is your screen-off timer set at? It might be as simple as the phone not registering any input into the phone for a long enough time, thereby turning the screen off.

This is gross, but is it possible that it's summer where you live and there might be dried sweat residue blocking the sensor. It's happened to me a few times, Australian summers get extremely hot and it only takes 6 or 7 seconds of phone-to-ear contact for sweat residue to appear on the phone. :P
[Galaxy S II Android Development] forgetmyname:
Hey, I do gross:)

Screen timeout is 30secs., wichh I shall change to min and report back.

Proximity sensors work perfectly apart from during call.

Off topic:

For info: After two nights of use I get 9 hours of battery life with this rom. No O/Clocking. Radio KG3. I did not wipe battery stats.

Is there a preferred radio?
[Galaxy S II Android Development] gippy2:
9hours what usage time or total time?

Either aint great unless yer playing games and watching films lol. If its total time there's definately something wrong. Have you checked to see if the phone goes into deep sleep at all.That's a start?
[Galaxy S II Android Development] forgetmyname:
9 hours total time, including standby. Tasks yesterday with approx times:

3 x phone calls (3 mins 10 mins 7min)

Downloads over 3G: approx 20Mb

K9 Mail push service

Plume updates (every 2 hours)

Weather widget update (every hour)

Surfing with stock browser: 1 hour

Today:

Full charge at 100% until 0900 hrs. Went to work, and send 1 email. Read 3 emails. Rest of time is standby. At 10:35 battery = 88

Thus: 1 hour 30 mins of usage eats 12% of battery.

Today's battery usage:

2h4m47s on battery

Display 42%

Browser 17%

Mobile Standby 12%

Android System 7%

K9-Mail 6%

Phone Idle 4%

Scrollable News 3%

Dialler 2%

I don't know how to verify if the 'phone goes into deep sleep. How could I check?

(And having to reboot every couple of hours because the menu keys disable themselves, is starting it irritate me :( but the in-call sound quality is far clearer than Samsung stock. )
[Galaxy S II Android Development] krarvind:
CPU spy.

Battery is easy 2 days for me with your kind of usage.
[Galaxy S II Android Development] forgetmyname:
installed CPU Spy beta 0.3.1 (this is from Aptoide).

Time in State

1200Mhz 4%

1000Mhz 1%

800Mhz 2%

500 Mhz 1%

200Mhz 59%

Deep Sleep 31%

Unused CPU states 1600, 1400Mhz

Uptime: 1:32:47 (from Settings -> About -> Status)
[Galaxy S II Android Development] krarvind:
200 Mhz at 59% seems little suspicous.
[Galaxy S II Android Development] forgetmyname:
Is there a way to find out what is using this CPU state? e.g which processes keep it in it; What is it doing?
[Galaxy S II Android Development] gippy2:
Its not spending enough time in deep sleep, ive just turned my screen off and will take a screenshot in 10 mins. System panel should do the trick Im not sure if there is a free version though

---------- Post added at 01:52 PM ---------- Previous post was at 01:50 PM ----------

How we getting on with the custom name ?;)

EDIT - @forgetmyname

Lol I couldnt get my phone to deep sleep cos I installed Go Locker last night. Just uninstalled and left the phone for 6 mins.
[Galaxy S II Android Development] pvillasuso:
My settings:

Modem: KI4 [ known to be the latest , and the less battery eater ]

here: http://bit.ly/qzSTaL

Kernel: Siyah v2.2 beta11 [ for now, I always try @gokhanmoral new stuff ]

here: http://bit.ly/vBeeKC

Read the change log

, before using this

CPU [ under: settings / insanity settings / Performance]

Governor : ONDEMANDX

Min cpu: 100

Max cpu: 1000

2xBattery app

Here: http://bit.ly/ruE4qz

******

I get an excellent battery life, with this combo !
[Galaxy S II Android Development] forgetmyname:
I've installed KI4 and System Panel with monitoring enabled. I shall see how it goes and then perhaps later install the kernel Siyah v2.2.
[Galaxy S II Android Development] gippy2:
Be careful with the siyah kernel and the modem ki4 I found consumed a bit more battery for me. Its certainly not a one size fits all, so experiment. kH1 seems best for me on orange uk. I now use green power to control the data and saves me a bit more in battery.
[Galaxy S II Android Development] _Garry_:
well you dont need siyah kernel.

I get +48hrs lifetime on insanity kernel with daily usage of some calles and text msgs. nitr8 allready posted a screenshot that its possible ^^

On heavy usage the phone only lasts around 10hrs (mainly playing some games like Shadow Gun, Samurai Vengeance II, Riptide and NFS-Hot persuit.)

For my network KI3 or KH3 are the best. the rest are killing my battery even when i do nothing.

@Nitr8:

i wonder if i have to redownload Nitrality when i like to buy it ^^
[Galaxy S II Android Development] gippy2:
Can I make a suggestion, any more talk about battery etc should be opened in the Q&A thread and not development. Its clearly not rom related and nobody wants to be getting pissed off right folks. :p
[Galaxy S II Android Development] TrOjAnUK:
Nope.. the file you buy from market is basically a licence file which installs as well.

Any issues please ask..

TrOjAn

---------- Post added at 01:43 PM ---------- Previous post was at 01:42 PM ----------

WHAT!!!!! You want to keep the rom thread just for the rom.. OMG, whatever next.

TrOjAn
[Galaxy S II Android Development] _Garry_:
ah. thx for the info. i will do a fresh install of insanity...i caused some fc B/c of my changes XD and then buy it.

why keep the battery stuff away from insanity thread? we are talking about insanity and the battery life.^^

other roms = other battery usage/perfomance.
[Galaxy S II Android Development] TrOjAnUK:
The problem is ALL the different configurations.. battery life is user dependent and if Im honest I dont really care what the 1000`s of insanity users are doing with their phones.

nitr8 and I both use the phone in a very similar way so the rom is geared to our use.. if someone wants to use a different kernel or other tweaks they have found that do magical things that is impacting on the roms battery life thats nothing to do with us.

The thread is for the rom not how good your battery is or is not.. 48 hours is easily achieved on this rom, I was streaming live TV last night for 40 minutes, I made 2 calls, I used whats app and gtalk to talk to my brother and he sent me 3 pictures, battery went from 100% to 74%, 12 hours later battery is at 59%.

TrOjAn
[Galaxy S II Android Development] _Garry_:
Well i dunno how you use your phone. And it doesnt matter. Solong i can get +48hrs with my sgs2 i'm happy. Maybe i should aim for +72hrs, but for this i think i could even sent my phone in fly-mode and place it somewhere untouched XD

But i just bought Nitrality. Wanted to buy the Insanity-Donation too but i pressed 1time to much by mistake and now its canceled. Need to wait one damn week to purchase it again.
[Galaxy S II Android Development] dzel:
Never thought of flashing this..i got bored with sammy rom and flashed anyway, wow..fast and smooth..from scrolling to keyboard typing just super responsive!..

coming from cognition no problem..went smoothly..

cm7 themes on the market works great on this rom..im using the black themes and now the phone looks bad ass from my previous black sammy rom..

one question though,how do i get google search working again?ive downloaded from market..fc everytime i launch it..

sorry if the question been asked again ya..

now i can sit back and wait for an update here:)

Thanks for the Insanity man!
[Galaxy S II Android Development] blogbytes:
I would like to know the same

My battery life also averages on 8-10 hours after a full charging cycle on this rom. I am on KI3
[Galaxy S II Android Development] TrOjAnUK:
Install google apps, that will fix all things google. if your battery only lasts 10 hours then you either have an issue or you are using the phone constantly.

There is an average of 18 to 48 hours inn this thread
[Galaxy S II Android Development] antiochasylum:
+1

Average 18-20 for myself. Longest was 44.

---------- Post added at 04:30 PM ---------- Previous post was at 04:22 PM ----------

1000 posts!!!!!11!!!!!1!!!1 lol
[Galaxy S II Android Development] ghiri:
Back to insanity

I used to be a big fan of Insanity on SGS. At the beginning I didn't use it on my SGS II but now I'm pretty sure I'm not going back to another rom. I installed also on my girlfriends SGS.

No lag, good battery life => best rom ever! Thank you nitr8.

My battery life with medium use, KG5 modem, UV and 200-800 Mhz (I don't need more for internet, sms, calls, no games):
[Galaxy S II Android Development] nitr8:
ghiri wb man.
[Galaxy S II Android Development] forgetmyname:
Wow. I don't know how u guys are doing this.

I did a factory reset, and charged the battery to 100%. Then I watched a video for 43min (doctor Who HD avi) with MX video Player, hw mode). Battery dropped to 13%.

Stock samsung &nimphetamine kernel gave of 18hrs of normal use (so, no games nor video). I shall wipe the battery stats.

Cheers for all your advice.
[Galaxy S II Android Development] v.vibrate(ANNOY 0):
This ROM has made my SGS2 Experience a Happy One - Any hope for USB Host Adjuncts?

In the opening line of this thread, one of the stated objectives was to create a ROM that facilitates, among other things, listening to music on the plane.

I have to say that I travel a lot and appreciate this.

However, I suspect it quite likely that most of us who have this phone, esp. those who are feeling confident to flash ROMs like insanity ii, are quite aware of the really poor DAC implementation at the hardware level and the ensuing jitter and intermodulation distortion. -No amount of EQ tweaking seems likely to help a jittery low power pll.

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

That being said, the interfaces and sheer design beauty of programs like UberMusic cause me to think twice about simply buying a dedicated device (one only look at the Cowon C2 to see and example great quality sound, but crap interface).

Seems to me that a WIN/WIN might be a scenario where an external USB DAC/Headphone amp could be added to the SGS2 via the USB interface.

A thread where there has been some discussion on this point:

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

I would love to be able to integrate a FiiO E7 with the SGS2 through the USB interface, for example.

I apologize if this is boring or off-topic. I guess I'm a built guilty of seeing the genius manifest in this forum and of hoping that giving it a nudge in the kernel development direction could lead to happy musical outcomes.

Again, I expect nothing. I am very happy with this ROM and with my SGS2 running on it.

Just wondering what you guys think...
[Galaxy S II Android Development] Rodrigo Vilhena:
Very quiet here today.:D

I was having a problem with echo in my SG2.:o I thought that it was a ROM problem, than I did a fast search google, and found more people with the same problem as I in my country.:( Anyway I decided to change and test other ROM. :eek:

But the problem wasn't resolved.:o I keep searching and then I founded that the problem was my back cover protection.lol:D

I removed it and problem resolved.:p wtf how could I imagine that!!!:rolleyes:

Just sharing this stupid problem with you guys.

Have a nice weekend!:cool:

Regards.
[Galaxy S II Android Development] pittas:
Either you need to re+calibrate your battery stats, or simply your battery is faulty.

Its not normal to get from 100 to 13% with 45min video.

In my experience 20min video drops my battery to 6-10% depending on quality of video, screen backlight level etc.
[Galaxy S II Android Development] _Garry_:
i think so too. Charge your phone overnight. Next day you go into CWM and reset battery stats.

but i have same experience like pittas about 20min movies. in my case they are mkv files with subtitle ( japan movies aka animes with english subs). I use mobo player.

Sent with an insane SGS2 crosing time and space.
[Galaxy S II Android Development] ghiri:
I am trying Siyah kernel now and I can't disable the touchkeys light from Settings. I have searched in /system for some file which controls this setting but I could not find anything.

There is a file /system/usr/keylayout/sec_touchkey.kl with the following code:

key 158 BACK VIRTUAL

key 139 MENU VIRTUAL

Does anybody now how I could totally disable the touchkeys light? Thank you in advance.
[Galaxy S II Android Development] antiochasylum:
No disrespect to nitr8, Much love :D

However I was bored, between browsing google and some image tweaking...made a new boot animation.

http://www.youtube.com/watch?v=yGCpwCcJEYg
[Galaxy S II Android Development] krarvind:
Looks good mate. May be nitr8 will want this.

Sent from Insane SGS 2
[Galaxy S II Android Development] antiochasylum:
Maybe! Lol. I like it :-)

Sent from my Insanity powered SGS2
[Galaxy S II Android Development] bclark:
Post it for us? I'd use it
[Galaxy S II Android Development] xeq544:
Im kinda new to SGS2 (been using SGS with insanity and insanity cm for a long time!), can anyone recommend me any good kernel ? Im currently flashing insanity and Im deciding between tegrak and mirage S2. Im looking for good battery life for now.
[Galaxy S II Android Development] Dioser:
Stock is quite ok, 8hours on, calls on speaker 17min = 3% drain ;)
[Galaxy S II Android Development] tids2k:
The script for wiping the device isn't working right now. I hope debs come up with some different approach.
[Galaxy S II Android Development] Dioser:
Or just wipe your self thru cwm? :)

I did so 5 times now, no problems..
[Galaxy S II Android Development] xeq544:
Had the bootloop issue too, just wipe system, data and cache through CWM. Flash insanity and bam ! :)
[Galaxy S II Android Development] TrOjAnUK:
http://insanity-dl.nfye.com/list.php?dir=rom/&file=insanity-ii-001-b1.zip

TrOjAn
[Galaxy S II Android Development] avetny:
ok wipe everything

wipe catch

wipe dalvik

go to mount remount

wipe catch

wipe system

wipe data

flash rom, enjoy
[Galaxy S II Android Development] xeq544:
Hmm my modem stayed the same as on my stock 2.3.3 rom KE4. Any way to flash modem adittionaly ?
[Galaxy S II Android Development] Dioser:
Your da man!! :D DL instant!

Hmm.. still KG2 LOLs

Btw, had tried the one from you link as well, all says KG2 here
[Galaxy S II Android Development] lynx2k50:
Hey trojan.

Have you looked up the log from jcmatos and found something which caused the loop?
[Galaxy S II Android Development] xan:
I've had many fcs on boot after going form A1 to A2, after that from A2 to B1.

They are caused by permissions problem (not *nix ones - file owning and chmod stuff, but android ones).

I didnt find any fixes for these, all sources I found say: reinstall the FCing app.

I think its fixable, there were times it was possible to flash another build without having to wipe.
[Galaxy S II Android Development] Dioser:
Haha.. M8, my m8 dear god.. Having no problem in flashing this, was asking bout your issue with 182DPI :D
[Galaxy S II Android Development] xeq544:
After playing with the rom a bit I must say its really great work, but I knew Itll be great after my experience on SGS. Though, few issues remaining:

-Didnt flash any modem or kernel( I had to apply tegrak kernel) And my modem is still KE4

-Extremely laggy browser (like 1fps) Any tips to fix that ?

Cant say anything about battery life yet, but its really solid for 3rd release. Will be donating soon :) Cheers
[Galaxy S II Android Development] Dioser:
Go try boat browser, until fixed m8 runs fluid here

Sent from SgsII insane using XDA Premium App
[Galaxy S II Android Development] TrOjAnUK:
Indeed we have, permissions issue as reported by others.. looking into it as we speak.

TrOjAn
[Galaxy S II Android Development] lynx2k50:
Thanks mate. Nice to hear. Believe me, if you fix this error nobody will stay in bootloop.
[Galaxy S II Android Development] nitr8:
Going over the install script i cannot see anything wrong with the wipe or flashing kernel & modems

if [ -e "/sdcard/insanity/wipe" ]; then
#	rm -Rf /sdcard/insanity/wipe
date >> /sdcard/insanity/wipe
wipe="true"
else
wipe="false"
fi

so therefore if /sdcard/insanity/wipe is there then it will wipe your phone:

For teasing purpose i have hashed out the initial remove of /sdcard/insanity/wipe and added the date,

So those people who have /sdcard/insanity/wipe and say its not wiping please cat /sdcard/insanity/wipe and see if there is a date in there?
[Galaxy S II Android Development] Dioser:
@Nitra8 - Just another question, all links gives me KG2?

Talked to TrOjan bout it yesterday, he was thinking it looked like, today, 3days old old one? But this is what I get when DL from all links KG2:confused:

It runs pretty flaws the KG2 tho. Just won't feel like I'm sitting all back in the class :D

Besides, Pssst "did you miss post 178?" :cool:

Insane in the membrane, Insane in the brain, Salute! :D
[Galaxy S II Android Development] nitr8:
hay dude, sorry man its hectic here ATM i did miss 178 sorry :( Once again thank you dude! thumbs up

The latest beta is defiantly KG3, so where are you getting this from?
[Galaxy S II Android Development] lynx2k50:
Some news concerning the permissons bug?

Really want to try the rom.
[Galaxy S II Android Development] antiochasylum:
http://db.tt/h2zI4YMw

Copy paste with root explorer /system/media

Or old school

adb remount

adb push bootanimation.zip /system/media

adb reboot

Sent from my Insanity powered SGS2
[Galaxy S II Android Development] bclark:
Just needs a little animation cleanup but otherwise pretty cool
[Galaxy S II Android Development] Dioser:
Make it black dude :D

Mine still cooler lol

Sent by satellites from insanity
[Galaxy S II Android Development] _Garry_:
[root] live dmesg by Chainfire is the best bootanimation ^^
[Galaxy S II Android Development] antiochasylum:
Lol why everything gotta be black?

I'll see what I can do today.

Sent from my Insanity powered SGS2
[Galaxy S II Android Development] nitr8:
maybe it iz coz i iz african?
[Galaxy S II Android Development] antiochasylum:
African Version.

http://db.tt/dluHU27Z

Same as previous to install.

Sent from my Insanity powered SGS2
[Galaxy S II Android Development] gippy2:
Oooh been looking for a half decent insanity boot. The other one worked fine but this should be better as I like the darker flavor lol. Thanks

EDIT ~ worked a treat looove the dark it drives me insane.
[Galaxy S II Android Development] Tricky103:
will this be the last build until cm9?. Not that i am using it, but i was waiting for the next one :)
[Galaxy S II Android Development] TrOjAnUK:
LOL.. your a card, no, there will be more builds.

On another note.. insanityICS, sounds like a plan :)

TrOjAn
[Galaxy S II Android Development] krarvind:
TouchKey

Over the last couple of days, my touchkey/softkey will stop working all of sudden while i am using the phone . Only a restart of the phone will get it working again. Happens 2-3 times a day. Attached is a logcat of the latest occurence. I don't know if i see anything odd, may be another set of eyes would be helpful? I am on 54 with stock CM kernel, no uv, oc. etc.
[Galaxy S II Android Development] antiochasylum:
Why do we get paper cuts?

Its a tree's last revenge.

Next time a bully asks for your lunch money, tell them you left it on their mothers nightstand.

Thread is dead! Lol

Can we get a wha wha!
[Galaxy S II Android Development] JuanDeaux:
something big is coming dont worry, everyone is getting to hot to eat ice cream, look at the commit list, im just waiting for them to quit adding stuff so I dont have to interrupt my pr0n
[Galaxy S II Android Development] _Garry_:
argh...i was happy that it was quit here. but after the last post i cant wait for next build. damn you.

Sent with an insane SGS2 crosing time and space.
[Galaxy S II Android Development] nitr8:
Doing a build for you folks now..
[Galaxy S II Android Development] Dioser:
and is already working flawless :D
[Galaxy S II Android Development] _Garry_:
a "normal" build or insanityics :D

btw: there is anew kernel called "void". i think the concept would fit for insanity. sad its not for aosp roms.

Sent with an insane SGS2 crosing time and space.
[Galaxy S II Android Development] krarvind:
Here as well. I created my own based on the changes made in the latest nightly. :)

Sent from Insane SGS 2
[Galaxy S II Android Development] Tricky103:
Rocket dial is a great alternative dialer

Nice ROM, feels great.
[Galaxy S II Android Development] Tricky103:
One thing I do like about Cm7 is being able to turn off lock screen, this is under tablet tweaks in settings. it looks like that part has been removed.
[Galaxy S II Android Development] v.vibrate(ANNOY 0):
More External DAC meanderings...

I've had a brief email exchange with supercurio where he says that while he has succeeded in connecting an external DAC to the SGS2, the problem lies in getting the sound to reach the connected USB device.

If I understand well, this implies that application development is required to send the PCM data to the attached USB device.

I am beginning to appreciate why my original post on this topic was resolutely ignored...

Any comments, or should I simply shut up about this here and report back if / when I find a solution?
[Galaxy S II Android Development] Tricky103:
Yes please ;)
[Galaxy S II Android Development] krarvind:
Looks like it has been taken out in this build. I am pretty sure 54 had it.

Sent from Insane SGS 2
[Galaxy S II Android Development] a1exander:
Actually there are TW roms where you can do this. In every rom that includes jkay Deluxe settings (for instance Checkrom RevoHD).
[Galaxy S II Android Development] Tricky103:
i thought you get a choice of glass or asop.

Edit, just restored, thanks 'none' selected.