yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] morfic:
this is how my phone acted before 13 and 14

and check git again, pushed both samsung.git (current) and trinity-ns.git (WIP)

i keep nothing, just administrative tasks are often neglected
[Nexus S Android Development] Jonathon Grigg:
Thanks, I will take a look when I get back from a school 30 year celebration thing. I will try a few separate options in a test branch as well.

Sent from my Nexus S
[Nexus S Android Development] :
Check your pm

Obscurely referenced from the fifth dimension on my Nexus S
[Nexus S Android Development] nonoheran:
hope to see this fonction in Bugless Beast V. GPA19 kernel !!!!
[Nexus S Android Development] reddv1:
With latest bug fixes top-on and tip-off are always 0 and if I use the camera and put the phone to sleep for more than a few seconds I get a SoD
[Nexus S Android Development] Jonathon Grigg:
I find the 0 stats on Franco kernel 6/11 and I had the sleep issues on my near stock kernel, which is similar to Lucid in principles so maybe there's something else missing in our kernels. But the 0 stats is definitely on other kernels too.

Sent from my Nexus S

Edit: just thinking about the changes in the latest bugfixes and putting together my personal experience, I'm thinking maybe the new wake-up sources are actually stopping idle and deep idle? I have been listening to music for hours now and battery has dropped at the same pace as no deep idle, I've made sure its enabled and also opened and closed camera once or twice. Plus with the changed wake-up sources, maybe something doesn't work correctly when the screen is off in a more stock kernel.
[Nexus S Android Development] albundy2010:
I am running morfics tuev that has up to date deepidle fixes.

I can not stream music via Bluetooth with deepidle and the stock music player and Pandora. Probably everything else as well but that's all I tested. I did not try another player. The phone is also plugged into to a car charger at the time.

This is not normal intended behavior correct? Bluetooth and when charging the phone is not supposed to enter deep idle right?

I do have the Max freq tweak turned off but I did test this with setcpu set for 880 Max and min with the same result on different governors.

EDIT. All works as it should with deep idle disabled. On cm7.1 stable.
[Nexus S Android Development] morfic:
paired my JF3 with the nexus S after rom install, i can confirm it can not keep the stream going, playing with stock player.

EDIT: That is with maxfreq on.

ROM: Pure Bionix (AOSP based)

While playing a 28 second clip:

http://pastie.org/2823386

I plugged it into usb to grab something with adb lolcat, the screen turned on very delayed while the audio stream continued to stutter, no stuttering while screen was on, then stuttered again when screen was turned off.

This was a single occurence, normal behaviour: Stream plays fine when plugged into usb, been doing a few screen on/off/on/off cycles, first occurence was a glitch or inattention on my part.
[Nexus S Android Development] got2best:
Sorry for the off topic but don't u love the JF3 they r awesome!
[Nexus S Android Development] morfic:
Best birthday present wife ever bought me, she finally shopped for the geek!
[Nexus S Android Development] Ezekeel:
After some testing and from the experience in my daily usage I have decided to put RTC TICK back in as a wakeup source. There were still some rare problems when waking up the device with the power button and some other strange issues. Unfortunately this will decrease the effectiveness of DEEP IDLE while listening to mp3, but user experience is more important to me than battery savings. But as always this is up the kernel devs to decide if they want to include it or not.

This time there will not be any patch. I have set up a git repo for all my tweaks. Each mod has its own branch to keep the tweaks cleanly separated and one can simply pull the latest patches from the corresponding branch.

https://github.com/Ezekeel/GLaDOS-nexus-s/tree/deepidle
[Nexus S Android Development] FloHimself:
I've experienced the same issues with power button to wake up the device... :(

For those who still want patches, just take the commit url:

https://github.com/Ezekeel/GLaDOS-nexus-s/commit/689b1a72f4ce198b53e94b4cc8a38ab23c1ce707

and append '.patch' to it:

https://github.com/Ezekeel/GLaDOS-nexus-s/commit/689b1a72f4ce198b53e94b4cc8a38ab23c1ce707.patch
[Nexus S Android Development] morfic:
Think we could use RTC_TICK only on BT and maybe others, but not use it as wake up source otherwise?

If not I'll build a BT streamer kernel, but leave RTC_TICK off in the regular kernels.

Thanks for all your hard work, finally got to test latest patches at work, better battery life and no wake up issues.

I added voltage control and liveoc afterall, testing suggests that those who now still have rare issues should try tweaking up voltages.

110% oc at default volts on "teuv" runs, but you will eventually get SoD or reboots (short after screen is turned off)

Just something to consider, since no two phones are alike.
[Nexus S Android Development] beetlo:
I've had the phone freeze a few times with apps that keep the screen on. The most important being navigation. I'm not sure if deepidle causes it, but I do know it doesn't happen when I use a kernel that doesn't support it.
[Nexus S Android Development] sweetpiggy:
EDIT: SORRY, i don't used search button :)

i have to launch camera app to make deep idle work? it's this a tounaround for some bug? thanks

hi, i'm using this rom:

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

but deep idle seems not working for me :( (and seems to work for other people with same rom)

deep idle is on:

Uploaded with ImageShack.us

time in deep idle stats is 0 for top=on and top=off :(

Uploaded with ImageShack.us

any suggest for investigation? :(

could be, this issue, caused by some of my apps?
[Nexus S Android Development] R-TEAM:
Hi,

he,he - have just found the nice NStools app and have found the same problem ...

Have NSCollab 1.0.50 with MaTriX10.0.

Null Deep-Idle .... (only "normal" idle stats ...)

So it is not ROM related ...

Regards

R-TEAM
[Nexus S Android Development] Ezekeel:
FloHimself has found the root of this problem. Read the last section of the initial post for a detailed description and solutions.
[Nexus S Android Development] arifhn:
it would be nice if you can create submenu config for wakeup source

just an idea :)
[Nexus S Android Development] R-TEAM:
Hi,

THANKS Ezekeel :)

Its now working.

Regards

R-TEAM
[Nexus S Android Development] reddv1:
SOD

Can anyone help figure out why I'm getting SOD every time I turn off the screen for a few seconds when Deep Idle is enable. I have narrowed it down to the kernel configuration file. I use the default herring_defconfig. Attached is a diff pastie of the config file I use and Ezekeel's GLaDOS config file. Any help is apprecciated.

http://www.pastie.org/2836167
[Nexus S Android Development] FloHimself:
The GLaDOS config works, but yours is not?
[Nexus S Android Development] reddv1:
Yeah, that's right. Both configs compile the kernel successfully, but with herring_defconfig I get SOD everytime I turn off the screen.
[Nexus S Android Development] FloHimself:
Does it work when you remove the CONFIG_S5PV210_CORESIGHT option?
[Nexus S Android Development] reddv1:
I'll try that later today and get back to you, I'm away from my computer. Thanks for looking into it.
[Nexus S Android Development] sakisds:
It seems I am still getting TOP=0. I completely removed Talk (since I don't use it) so the source of my problem is obviously not that. Any ideas?

(Running NSCollab last version with Matrix 10.5 CFS if it matters)
[Nexus S Android Development] FloHimself:
What do you mean by TOP=0? Please always post the output of:

adb shell cat /sys/class/misc/deepidle/idle_stats
[Nexus S Android Development] sakisds:
$ cat /sys/class/misc/deepidle/idle_stats
idle state total (average)
===================================================
IDLE 458574ms (1ms)
DEEP IDLE (TOP=ON) 0ms (0ms)
DEEP IDLE (TOP=OFF) 554239ms (3530ms)

Sorry, I should have said TOP(on) = 0 or something.
[Nexus S Android Development] polobunny:
That's normal. You'll only see value in this row if you use bluetooth or GPS.
[Nexus S Android Development] sakisds:
Thanks a lot for clarifying.
[Nexus S Android Development] dingdonghei:
Hmmm.. I've just started looking in to deep idle, and admittedly I haven't read the entire thread, but my stats are weird, something is wrong.

IDLE = 0

DEEP IDLE (TOP ON)=0

DEEP IDLE (TOP OFF)=0

Im on francos kernel and petes bugless beast. Battery is draining very fast as well.

I've opened and closed the camera, but no idle mode.
[Nexus S Android Development] :
That's normal for Franco's, doesn't mean it's not working

Obscurely referenced from the fifth dimension on my Nexus S
[Nexus S Android Development] dingdonghei:
Allright, thanks :)

So, there's no way to check idle stats on francos?
[Nexus S Android Development] Flying Fox:
There is a way - with his test-kernel from today: http://xdaforums.com/showpost.php?p=19186033&postcount=1610

So I suppose that it will go with his next update.
[Nexus S Android Development] dingdonghei:
Awesome. My phoine has never been better. Ezeekiel, franco and pete know their ****. I'm guessing battery life will get better after a few more charging cycles.
[Nexus S Android Development] reddv1:
That did it, Deep idle works perfectly now! No more SOD!

Can you explain what the coresight option is and why it was causing trouble?

Thanks again man.
[Nexus S Android Development] Ezekeel:
ARM Coresight is a debugging feature (http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.coresight/index.html). When S5PV210_CORESIGHT is set, arch/arm/mach-s5pv210/coresight.c is additionally included, which puts some additional code on top of the CPU suspend/resume functions, probably to count some stats. This seems to be buggy. Since it is a debugging feature there is no need to include it in a production kernel.
[Nexus S Android Development] thoth77:
Google Talk

Download and Flash on cwm (http://goo-inside.me/gapps/ 20110828 versions)

Google Talk without Video Chat version

[URL="http://dl.dropbox.com/u/11341924/Talk_without_Video.zip"]http://dl.dropbox.com/u/11341924/Talk_without_Video.zip[/URL]

Google Talk with Video Chat version

http://dl.dropbox.com/u/11341924/Talk_with_Video.zip

Switching between two versions, "Settings -> Applications -> Manage applications -> "All" ->Talk -> Clear data"
[Nexus S Android Development] matmat07:
I'm getting random reboot when deepidle if active. I've got no overclock or liveOC and voltage are set back at stock ones. I'm on latest brainmasters MIUI and Matr1x. Reboots happens when screen if off, when I guess it is in deepidle. Bluetooth is working, i'll try overnigth with it off in case..
[Nexus S Android Development] caleb1783:
Hey Ezekeel,

I found another solution to this problem.

Especially for those who still want video functionality of Gtalk.

Use Titanium Backup to change Talk to "User App" & move to sd card.. then restart phone.

and didle works on me from the start.

---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------

hmm...

it seems didle stops as soon as i run gtalk... then, you gotta turn stock cam on and off...
[Nexus S Android Development] FloHimself:
Ezekeel: I've reverted the wakeup source configuration to the initial implementation.

This works fine on my device and I've got the suspicion that this results in longer deep idle times,

although I've no idea how much this really differs from the other wakeup source configuration.

I haven't experienced any issues with clock, power button, bluetooth, gps etc, yet.
[Nexus S Android Development] Tzorg:
How did you managed that? I have the pro version, I tried and it claims that was successful but the face icon remains red and still reports as a system app.
[Nexus S Android Development] Yusei:
even removing talk my phone takes to long to enter in deep idle
[Nexus S Android Development] caleb1783:
thats odd.. i m usin the free version from xda forum... and it worked fine for me... did u try restartin ur phone?

but don spend too much time on it... once u start gtalk manually, the bug comes back...

Sent from Divinus Nexus S...
[Nexus S Android Development] MultiCulti:
not sure, but is it possible, that deepidle deactiveda itself, if bluetooth is switched on?

that would resolve the "headset" issue ... correct me if i'm wrong

beamed in from my Nexus S on CM7.1.0.1 using my brain
[Nexus S Android Development] roshga:
Go-around "fix" to the "Cam Bug":

As you know the 1.3v of Google Talk with Video calls loads at startup with the module of the camera, which causes us to be have to open/close camera to make sure deep-idle state works.

well, for those of you who don't care about the video in the google talk app the solution is simple, just flash the 1.3v of google talk WITHOUT the video calls!

take the zip file attached here, flash it through the recovery. That's it.

I know it solves nothing but the people who don't use Google Talk's video feature can enjoy this.
[Nexus S Android Development] matmat07:
Feels like being ignored -_-

Here my 2 problem so far, which seems to be connected.

1. When bluetooth is off, vibration from text message get's cut and doesn't behave properly.

2.When bluetooth is on, I get random reboots when not using the phone

I'm with brainmaster's MIUI and Matr1x kernel, no overclock, voltage back to stock, and confirmation from NSTools that deep idle is working.
[Nexus S Android Development] Ezekeel:
Try the reference kernel in my sig.
[Nexus S Android Development] matmat07:
Never noticed you had your own kernel. I've got it on right now, and it seems I can't change voltage WITH setcpu, is that normal?
[Nexus S Android Development] Ezekeel:
Tried it and I still get 7ms for mp3 playback and 19ms for FLACs just like the current implementation.

No. That should work.
[Nexus S Android Development] some_random:
I am having the same problem can't see voltages in setcpu with your kernel but I can when I'm running trinity... however I can edit them in nstools so it not a huge issue.

I am however getting the vibrate issue that someone was talking about back up a little.. any insight as to why the vibrate is so flaky with deep idle? sometimes I can hardly feel it in my pocket even if I manually change the vibrate notification to be longer in the message app
[Nexus S Android Development] matmat07:
Me again. Thank you for telling me i'm not alone :P

I've tried your kernel ez, and I tried to change to bfs for once just in case. Still had the same issue (and felt really slow compared to cfs). I'm trying cfs now to be sure, gonna come back on it later today.
[Nexus S Android Development] Tzorg:
Latest update of Titanium is working now :)

I'll check whether this trick works for me and report.
[Nexus S Android Development] Ezekeel:
I have looked into the problem with the vibrator and I will post a test kernel in the GLaDOS thread in a few minutes for which this issue should be resolved. Please test it and give me feedback in the GLaDOS thread.
[Nexus S Android Development] reddv1:
Can an app be opened and closed with init.d script, so we don't have to open and close the camera everytime we reboot our phones?
[Nexus S Android Development] Maximilian Mary:
Don't be too quick to open the camera. On cyanogen kangs, the camera sensor is staying on after you exit the camera app.
[Nexus S Android Development] timeToy:
This issue has been tracked to be related to Google Talk with Video chat support, if you do not need the video chat feature, then you can use the normal Google chat that do not create the issue with the camera. Check this (all the way at the bottom of the thread: http://xdaforums.com/showpost.php?p=18299324&postcount=1)

Download a CCW installable "normal" Google Talk here: http://xdaforums.com/showpost.php?p=19229839&postcount=535
[Nexus S Android Development] caleb1783:
i uninstalled gtalk to get rid of the camera bug for once and for all,

but i noticed something strange..

i received an gtalk message notification on my phone!

it shows up on the notification bar, but i cannot open it.

I have to clear it to make it dissappear.

my friend used BB gtalk to send me the msg...

can anyone confirm?

---------- Post added at 07:07 PM ---------- Previous post was at 07:01 PM ----------

come to think about it... this isnt your problem, ezekeel.

anyways, i thought maybe if i can receive a message, it still activates camera on startup...
[Nexus S Android Development] mattia.b89:
hi to everybody, i'm new here

and i have an hint: can add at the bottom of the first post the link for downloading GTalk without video

thanks
[Nexus S Android Development] waterface:
Cerca "Gtalk_without_video", qui o nel thread del kernel di franciscofranco, il post con il link ti esce subito.
[Nexus S Android Development] polobunny:
Just had a crash, likely due to deep idle. Using Franco Nov 17 kernel with NSCollab 1.0.50, looked at my phone and it was burning hot and the colors were all messed up, looping the Aperture science boot screen.

Deep idle was enabled, never got crashes like this with deep idle disabled. :(

Not sure where I should start to troubleshoot this.
[Nexus S Android Development] mike216:
Is your minimum at 400?

NSCOLLAB / BEST DAMN PHONE BECAUSE WE HAVE THE BEST DAMN DEVELOPERS!
[Nexus S Android Development] polobunny:
200. Changes nothing on the performance from what I gathered.
[Nexus S Android Development] Ezekeel:
If there are problems and you suspect one of my tweaks to be the cause try GLaDOS and see if the problem persists. If with GLaDOS everything is fine, the problem is not with my tweak and you can give the corresponding dev this info so he can figure out what causes this by comparing the two sources.
[Nexus S Android Development] polobunny:
I'll get back to GLaDOS for testing purposes. I'm having a feeling this won't work. I told you, I've never been lucky with deep idle. :p
[Nexus S Android Development] jeffreynothing43:
Thank you for this. I was looking all over for it...I don't use video chat, and if I ever need to I can just flash Gapps anyhow. You rock thank you.
[Nexus S Android Development] polobunny:
Just got a reboot earlier with 1.8 while I was playing xbox. Stock voltage, no liveoc, same issue as always. Phone was burning hot and looped the boot screen in weird colors like someone messed with the gamma. Lazy with deepile enabled, 200-1000. Maxfreq was off.

What can I do to troubleshoot this?
[Nexus S Android Development] franciscofranco:
Do you have any profiles associated to your cpu speed? Like with setcpu etc...
[Nexus S Android Development] simmer14:
shocked here
[Nexus S Android Development] polobunny:
Nope, no profiles are set.
[Nexus S Android Development] XxSilent22xX:
Phone was fully charged watched a couple of YouTube videos then went to bed around 95% battery woke up to 80% battery.

Deep idle - enabled

Governor - lazy

Cpu - 400/800

Max freq - enabled

Volts - stock

Sent from my Nexus S
[Nexus S Android Development] Ezekeel:
I would try another ROM. I am running Koush's alpha 8/9 for two days now and besides the known problems this is the most stable ROM I have used since I left CM7.01. If you do not need USB mass-storage I highly recommend trying it. Also if you do not need BT you can manually disable (break) it so DEEP IDLE with TOP=OFF is properly used (see GLaDOS ICS kernel thread).
[Nexus S Android Development] phone_user:
Turning on force gpu rendering in the development settings causes some apps UI crash. Did you find a solution to the problem? Or the apps does not yet support the function...
[Nexus S Android Development] djjonastybe:
I went to bed wit 35% woke up middle of the night during a random reboot, and then in the morning I noticed 15% battery life.

Deep idle - enabled

Governor - lazy

Cpu - 100/1200

Max freq - enabled

Volts - stock
[Nexus S Android Development] cluster2a:
Hey, I am using the ROM NexusBeam 4.1.0 with GLADDOS 2.6.

My deep_idle stats are:

idle state total (average)

================================================== =

IDLE 16153ms (0ms)

DEEP IDLE (TOP=ON) 8581ms (18ms)

DEEP IDLE (TOP=OFF) 0ms (0ms)

I am wondering if this is ok, because in this thread TOP=ON is usually 0 and not TOP=OFF.

BT and GPS are off.

I hope someone can explain it to me :)
[Nexus S Android Development] phone_user:
GLaDOS thread
[Nexus S Android Development] trailblazerz11:
Is there any reason why deep idle would stop working after awhile?

I manually disabled the ICS bluetooth, but it only deep idles the first few screen-offs, afterwards just normal idle. It works again after reboot, disable bluetooth but ..
[Nexus S Android Development] tonno16:
is this nstools?? What apk is??

I'm using kernel streamline speedy-3

When I go to nstools-->cpu and type on "idle statistic", apk crash so I cannot watch the dates.
[Nexus S Android Development] lukappaseidue:
Ciao tonno, ti crasha perchè il deepidle implementato da eugene è diverso da quello di Ezekeel. Prova con CPUSPY per monitorare l'attività. E' di default.... :)
[Nexus S Android Development] tonno16:
Thanks....Did you read my mp??
[Nexus S Android Development] KobiP:
Hmm, same for me here...

Samung Galaxy S (I9023)

ROM: CyanogenMod R0 a20p1

KERNEL: Netarchy Nexus

RADIO: I9023XXKI1

BUILD: IML74K
[Nexus S Android Development] white00gt:
so should work on my ics (onecosmic) captivate with my i9000 bl?
[Nexus S Android Development] devcager:
Hi,

sorry for bothering. My English and knowledge are not so good to understand the whole article.

My problem is that when I had the "Deep Idle" feature turned on, some of the apps were opening with extremely long lags (2-5sec). I turned it off my phone is much more quicker and I do not have to wait 4 seconds just to open simple call log. BUT my battery consumption is MUCH more bigger when the device is idle. Is there any possibility to improve this battery life without the deep idle feature on? I use AOSP+ 2.3 and Glados 2.7 kernel.

Thank you
[Nexus S Android Development] trailblazerz11:
Glitch pre3 supported it but ice Bluetooth quick switch breaks it. Dunno if changed in onecosmics. Not on cm9. For now hopefully...
[Nexus S Android Development] cspiby:
This will be really good for tablets, maybe be able to reach iPad-esque standby times?
[Nexus S Android Development] Harbb:
The major benefit here is while it is doing something with the screen off, i.e. finding location, music, bluetooth, etc. It can boost music playing time by 50% (as seen) as long as the screen is off, but once nothing is being done and the phone/tablet is doing nothing at all, it will go into deep-sleep, which saves far more power and is already implemented in most, if not all, android devices.
[Nexus S Android Development] cspiby:
How do you debug deep idle when it doesn't work?
[Nexus S Android Development] trailblazerz11:
Actually besides saving power with music,bt and GPS by using deep idle top=on, deep idle goes further in power saving than deep sleep when doing nothing at all . Top=off powers down the CPU and other hardware rather than deep sleep setting cpu clock to 0 which was the whole point of the mod since deep idle was never implemented.
[Nexus S Android Development] Harbb:
The bolded section i highlighted is describing the IDLE state (re-read the OP). Deep Sleep shuts off the cpu at the minimum to my knowledge.
[Nexus S Android Development] trailblazerz11:
Im was under the impression Deep Sleep and Idle are the same, just a mix in vocab since Ezekeel never mentioned Deep Sleep in his post.... He also mentions that powering down hardware(like CPU) was never implemented before this..Which is the purpose of this mod

"only the most rudimentary power saving state IDLE is actually implemented in the kernel. And for this IDLE state no parts of the hardware are powered down; the only thing that essentially happens is that the CPU clock is set to zero.

For the real power savings to kick in, one would have to power down parts of the hardware (at least the CPU) and that is exactly what the DEEP-IDLE state is supposed to do. Unfortunately this was not implemented."