yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] thoth77:
"DeepIdle on by default" version

Dear Mathkid95

I appreciate v9.0 and succeeded in enabling deepidle with script file.

But Many Korean fans have difficulty in editing "sys/class/misc/deepidle/enabled".

Would you please release "DeepIdle on by default" version with v9.0 :)
[Nexus S Android Development] from1989:
e~~~reboot your phone the deepidle works too??
[Nexus S Android Development] thoth77:
Yes

After reboot, I checked with terminal and android mate.

I used this script file.

http://dl.dropbox.com/u/11341924/90deepidle
[Nexus S Android Development] from1989:
i can not reach your photos ~just tell me it works??my reset when i reboot
[Nexus S Android Development] thoth77:
Works well after reboot

See this post

http://xdaforums.com/showpost.php?p=18517999&postcount=3543
[Nexus S Android Development] eiabea:
same here, after a reboot deep idle is disabled
[Nexus S Android Development] from1989:
to make a new file in 90deepidle??
[Nexus S Android Development] thoth77:
Yes

Or add

# enable deep idle:

echo 1 > /sys/class/misc/deepidle/enabled

to the one of existing files in /system/etc/int.d
[Nexus S Android Development] from1989:
use which app to make a new file?
[Nexus S Android Development] gouthamsn:
just not able to set liveoc via anything ... it reboots ... :( any suggestions?

do I have to increase voltage before liveoc? if so could someone please provide me the settings ..
[Nexus S Android Development] thoth77:
Download My link and delete ".txt"

Place it /system/etc/int.d with root explorer

Permission samely with other files in that folder

reboot and check
[Nexus S Android Development] mixtapes08:
uhm is your post scripts is the same as what mathkid intruction on how to enable deep idle? got me confused of your instructions and mathkid instructions..
[Nexus S Android Development] from1989:
cool!!!i did it! thanks a lot
[Nexus S Android Development] mixtapes08:
another question can we use screen off profile when we are using deep idle mod? tnx in advance..
[Nexus S Android Development] thoth77:
The same
[Nexus S Android Development] thoth77:
OK

Let's give thanks to developers :)
[Nexus S Android Development] zauberflo:
Hi!

I Use the stock rom and have no init.d folder. What should i do to get a autostart of deepidle?

Thx! Greetings Florian
[Nexus S Android Development] thoth77:
Hm...

custom rom supports init.d

or

Wait "DeepIdle on by default" version kernel
[Nexus S Android Development] arthofer:
Would there also be a way to use this on miui? Sice miui got no int.d folder or i'm not able to find this...
[Nexus S Android Development] thoth77:
Would be

What version of MIUI?

I know MIUI based on CyanogenMod

CM supports /system/etc/int.d
[Nexus S Android Development] superfloup:
There is an init.d folder in MIUI, you can find it in : /system/etc/ (as all other custom ROMs ...)
[Nexus S Android Development] d_phekt:
Flashed 9.0 on the latest MIUI and got a few random reboots. Didn't mess with any oc/uv settings. Basically flashed and let it sit, then noticed my phone rebooting. Back to 8.5 for me.
[Nexus S Android Development] arthofer:
checked it again, it's the latest miui version, but i cant go to

/system/etc/init.d -> no such file or directory -.-
[Nexus S Android Development] slayerXcore:
its not under system. its /etc/init.d
[Nexus S Android Development] thoth77:
Stable Deep Idle

My device does not deep-sleep anymore. :)

I do not have to pull the battery.

We need "Deep Idle On by default" also.

Just in case, please release "on by default" and "off by default" two versions.
[Nexus S Android Development] ro_explorer:
I've moved to this kernel as a test (one week ago) and I think I'll stick with this :).

Ver 9.0 is working great for me. I've enabled the deep idle and it seems stable so far (since this morning). I've also put the maximum freq to 1200 and overvolted a little for that freq. from 1315 default to 1350 (I was getting random reboots on the default voltages).

Thank you for this great kernel.
[Nexus S Android Development] thoth77:
Original MIUI not modified does not support int.d

Sorry

Use modified version of MIUI support int.d
[Nexus S Android Development] al_madd:
Which mininum frequency and maximum frequency work better for this version???

my minimum frequency 100mhz...seems to drain a lot...
[Nexus S Android Development] ro_explorer:
I'm getting ~0.8% consumption per hour in stand-by mode, with deep idle and deep sleep activated, wi-fi off while screen off, 2 push e-mail accounts and 3G network.

Minimum freq. set to 100, maximum at 1200. For the 1200 clock I had to overvolt a little in order to get rid of the random reboots.
[Nexus S Android Development] al_madd:
off your 3G...

set your wifi policy to never...
[Nexus S Android Development] from1989:
i use miui supported
[Nexus S Android Development] Black Coffee:
Tried v 9.0 along with a fresh install of latest BM MIUI ROM, At first phone went dead, then did a battery bull and after switching on, reboots happened 2 to 3 times.. Back to 8.5 !
[Nexus S Android Development] SA-07:
Ahh ok!!
[Nexus S Android Development] SA-07:
Btw next version will have it on by default
[Nexus S Android Development] casca:
Is it easy enough for you to make a 9.0.1 version with it enabled?
[Nexus S Android Development] SA-07:
Just follow the echo command lol

Its not that hard :D
[Nexus S Android Development] SA-07:
echo 1 > /sys/class/misc/deepidle/enabled
[Nexus S Android Development] k4str0:
Had a random reboot on v9.0 BFS at 100/1000 with the SMARTASSV2 governor and DEEP IDLE enabled. Upped MIN to 200mhz and haven't had a reboot yet (but I'll keep testing). When looking at the voltages in SetCPU, both 100mhz and 200mhz use 905 mV. Is there really any disadvantage to using 200mhz min if they are using the same amount of voltage?
[Nexus S Android Development] SA-07:
There is definitely a difference, but I don't feel that there is a disadvantage...

What you can do is raise the voltage for 100 to 950 and run it and see
[Nexus S Android Development] gouthamsn:
Could you please answer these two for me ?

1) How to enable liveoc .. I tried terminal... File editor .. The system hangs when I write in a value to the file

2) Does deep idle get disabled on reboot?
[Nexus S Android Development] SA-07:
1. Raise voltage and use sys/class/misc/liveoc/oc_value and use that

2. Yes, unless your rom supports Init.d which then you can follow thoth's instructions on making it stick
[Nexus S Android Development] al_madd:
Enabled Deep Idle

Here my voltage

No random reboots so far....
[Nexus S Android Development] SA-07:
Alright sweet!
[Nexus S Android Development] as6:
get LiveOC and DeepIdle permanently enabled

Get the Script Manager app from the market.

Make a new script and set it to run as root and at boot.

for LiveOC: echo 110 > /sys/class/misc/liveoc/oc_value

for DeepIdle: echo 1 > /sys/class/misc/deepidle/enabled

btw. maybe it's not bad to understand some of these commands for terminal

what if somebody tells you to write rm -rf / in terminal emulator

btw.btw read at least the posts since the last update, there are on every page the same questions
[Nexus S Android Development] casca:
No problem with doing that, it's just that it would be quicker :)

On the other hand, by not having it enabled by default on installation, you are actually giving a chance to choose whether to enable it or not, and to use your kernel either way, in case deep idle is buggy for instance (which I'm hoping not!!)

Thank you for answering all of the questions(even the dumb ones!!:D)

Now, really nice would be a
[Nexus S Android Development] SA-07:
Yeah, I have it enabled by default now. But I will think about it for next release...not sure

Lets see how it pans out for a while
[Nexus S Android Development] k4str0:
I just had my first data freeze on this kernel. The data seems like it's connected but unresponsive when it happens. A reboot clears it up though. Not sure what is causing it but I've only experienced it kernels with Deep Idle enabled (this kernel and morfics). I've disabled Deep Idle for now.

Edit: I meant deep idle, not live oc. :-) dyslexia.

Anyone else experience this?
[Nexus S Android Development] mixtapes08:
How can i easily know if its working? What battery monitoring app would you recommend.. ive follow ur instruction by changing the 0 text to 1 in deepidle in misc.
[Nexus S Android Development] Ser Gilgoroth:
Just had this happen, enabled Deep Idle and data failed to work.

Edit: Not sure if it matters, are you using CFS or BFS?
[Nexus S Android Development] casca:
it's best to know which one is it (CFS or BFS) , for me for instance, it made difference with the BLN notifications and stock rom!

EDIT: what happened with the CFS download link? it's broken on mediafire...
[Nexus S Android Development] Ser Gilgoroth:
True, BFS here.
[Nexus S Android Development] SA-07:
Hold on please with the dload links,

I had to fix something for the 4g users

its gonna be back up in about 5 min
[Nexus S Android Development] casca:
if I understood properly the differences from CFS and BFS,

CFS will probably be less buggy then BFS.

EDIT: sorry math I thought you didn't know it yet ;)
[Nexus S Android Development] SA-07:
Ok download links are back up.

**THIS NEW VERSION HAS DEEP IDLE ENABLED BY DEFAULT**
[Nexus S Android Development] thoth77:
LiveOC enable script file

http://dl.dropbox.com/u/11341924/58liveoc

/system/etc/int.d/58liveoc

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

http://xdaforums.com/showpost.php?p=18383836&postcount=3350
[Nexus S Android Development] mixtapes08:
What governor do you recommend?
[Nexus S Android Development] k4str0:
My data freeze occurred on v9.0 BFS kernel with deep idle enabled. I believe its deep idle that is the problem with the freezing data, as I had the same issue on morfic's kernels (which have them enabled by default on experimental). I disabled deep idle and haven't had a problem with data connection freeze.

Hoping that mk, morfic, ezekeel can get to the bottom of the data freeze issue which seems to impacting quite a few people (see morfic's kernel thread).
[Nexus S Android Development] SA-07:
Yeah I will talk to ezekeel don't worry
[Nexus S Android Development] antoniouslj:
Well this is odd... I flashed the kernal this morning and it's been running great until now. I'm getting continual random reboots when moving around in the OS. I am on 9.0 CFS and have had deep idle running all morning. I'm also not overclocking it... it's set to the default 100/1000 w/ Ondemand governor.
[Nexus S Android Development] ro_explorer:
I saw this kernel is slightly undervolted. Maybe that is the cause. I also got some random reboots until I've increased a little the voltages. You can use Proton Voltage Control .. great free application from the market. You can try to use it with "suggested" voltage values an see if the reboots will go away.
[Nexus S Android Development] SA-07:
Its because of deep idle haha
[Nexus S Android Development] gioyann:
going smooth without touching deep idle and with LAZY governor, which seems absolutely the best!
[Nexus S Android Development] al_madd:
deep idle seems drained a lot battery...

using cpu spy...cpu frequency always at 100mhz compare to v8.5 always deep sleep
[Nexus S Android Development] SA-07:
Lol how ironic. It is supposed to help increase battery ;)
[Nexus S Android Development] al_madd:
agreed

last time Im using lazy a little bit laggy..

lazy v9 is very smooth...:D:D

Me also disabled deep idle
[Nexus S Android Development] SA-07:
Haha nice!!!
[Nexus S Android Development] mike216:
Is deep idol disabled by default? Hope so

Don't think its worth all the trouble

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
No no its enabled by default lol
[Nexus S Android Development] SA-07:
This is so weird. I've been running my phone with ondemand at 1.3ghz with deep idle enabled and have had no issues at all lol
[Nexus S Android Development] tylercarter:
Lazy and vr @ 800mhz. No probably at all. Had it capped @ 1.46 for a few hours and didn't even notice by looking at the battery.
[Nexus S Android Development] got2best:
I'm sorry.. this is a serious n00b question I am sure.. but what's the difference in CFS and BFS .. and which should I use.. I am on the i9023 fuzz's kang.. sorry for the n00b question.
[Nexus S Android Development] al_madd:
How about battery life??

Me also no issue...

Just I think drained battery more....

why I think??( dont really use deep idle for 24 hours)

Just because in 30 minutes drained my battery 8-9 %(screen off,no music,no download only wifi)
[Nexus S Android Development] SA-07:
Try ondemand governor and see
[Nexus S Android Development] al_madd:
You can ask at google.com

try both....different handphone different performance...;);)
[Nexus S Android Development] SA-07:
http://forums.miuiandroid.com/showthread.php?3520-Difference-Between-BFS-amp-CFS
[Nexus S Android Development] al_madd:
minimum freq you recomended??
[Nexus S Android Development] SA-07:
I use 1300/100

But it is different for each phone
[Nexus S Android Development] al_madd:
Ok...

flash deep idle enabled by default

CPU 100/1200

gov: on demand

charge to 100%--> wipe battery stats( before this trying latest talon kernel)

around 8 hours I will give feedback...hopefully this will save a lot battery...:D:D:D
[Nexus S Android Development] SA-07:
Haha me too!!
[Nexus S Android Development] arshad14:
Has anyone been able to get Google Wallet to install? It worked for me on Matr1x 8.5 but not 9.0 :-S
[Nexus S Android Development] SA-07:
Rom issue :D
[Nexus S Android Development] insomnia48:
Hello people,

A bit off topic here, but I have a question I just can't find an answer anywhere! When you create an init.d script (for ezekeel's mods) what number should you put at the begining of the filename? And can you name it whatever you want?
[Nexus S Android Development] SA-07:
I would just use the echo command ezekeel writes in all of his threads
[Nexus S Android Development] insomnia48:
Yeah but you need to write it everytime you reboot! That's why there's all this hype about init.d scripts!
[Nexus S Android Development] SA-07:
Ohh right
[Nexus S Android Development] markywylder:
This may be a dumb question.....but how exactly do you toggle deep idle on or off?
[Nexus S Android Development] SA-07:
It is enabled by default, but go into

Sys/class/misc/deepidle/enabled and change it to 0 if you don't want it anymore
[Nexus S Android Development] atn0716:
This kernel+deep idle is amazing. I'm running with 1200 _ 100, conservative only lost 30% for the pass 6 hours. I mainly text and on call for about 45 minutes during that 6 hours. I don't have any reboot so far. Everything is smooth sailing. Thanks a lot for your work.
[Nexus S Android Development] arshad14:
Cool Thanks.
[Nexus S Android Development] mixtapes08:
sir.. do we need to select conservative governor to activate the deep idle mod? or is it enable in any governor?
[Nexus S Android Development] SA-07:
Enabled by default
[Nexus S Android Development] mixtapes08:
thanks.. im running your kernel for 3 hrs with the default ondemand governor.. and for those 3 hrs of screen off. i haven't lost any percentage in battery.. superb kernel and mod ^_^.. thanks.
[Nexus S Android Development] got2best:
So deep idle doesn't effect any thing like gtalk or anything right? Background stuff that runs while the screen in off?
[Nexus S Android Development] SA-07:
No I don't think so
[Nexus S Android Development] got2best:
Can u explain what it exactly does?
[Nexus S Android Development] Ser Gilgoroth:
I had a totally different idea how CFS and BFS worked. I may try the CFS version and see if it cause a data freeze and or lock up at 1460. Be a little while though.
[Nexus S Android Development] SA-07:
It basically powers down parts of the phone and puts em in the deep idle state to reduce power consumption. Basically more toawards the CPU, not specific apps
[Nexus S Android Development] got2best:
So it wouldn't effect the wifi if I have it set to always on right? .. sorry for all tthe questions.. its just I don't get good reception at my house and I rely on having it on in the background for gtalk and other things to work.
[Nexus S Android Development] SA-07:
It doesn't for me
[Nexus S Android Development] al_madd:
No problem for wifi..

but for 3G connection maybe have some problems
[Nexus S Android Development] SA-07:
Maybe
[Nexus S Android Development] mike216:
Hey all mad,Reflash your favorite modem I'd bet it fixes it!

For whatever reason I have to do this also no matter what kernel I try or my data gets flaky but it works every time

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
Mike you gonna try v9.0? ;)
[Nexus S Android Development] got2best:
Loving version 9 have not sewn any problems at all! :)

Running CFS version with newest kang from fuzz on my i9023 ..
[Nexus S Android Development] Ser Gilgoroth:
Just flashed CFS, I will let ya know how it all goes!
[Nexus S Android Development] SA-07:
Thanks!!
[Nexus S Android Development] Ser Gilgoroth:
Thus far it is working well. I was able to run a benchmark at 1460, though I will likely keep my phone at 1200. You said on the CFS Deep Idle is auto enabled, correct?
[Nexus S Android Development] SA-07:
Yep ;)
[Nexus S Android Development] jeffkhlam:
going to flash v9.0. how do i enable/turn on deep idle? please let me know. thx in advance.
[Nexus S Android Development] mike216:
On it rite now my friend rock solid so far. I wanted to wait until I figured out how to get rid of all the old files from previous kernels but I said F-it and flashed loving it on o ondemand,thanks MK deep idol is enabled so I'm curious to see how much battery I have in the morning with my data off sitting all night

I hope we can bring this over when ICS makes its way

See the new prime it looks good but big! Oh well be great for gaming and the first OS that can actually take advantage of that dual core. Its all about the code

off to bed but thanks once again MK nice work as usual

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
It is enabled by default.

Thanks mike!
[Nexus S Android Development] jeffkhlam:
sorry, one more question, im updating from v8 to v9 now, should i wipe cache and davik? always get confused when/what i should wipe when upgrading rom/kernel. thx in advance.
[Nexus S Android Development] SA-07:
yupyup just make sure to wipe dalvik cache and u should be good
[Nexus S Android Development] mike216:
Bumped up my voltages a little even thought everything so far is flawless but just didn't like my 100 and 200 that low but I use a lot of videos and music so I think it might be a good idea

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
Why are your colors a little brighter than other kernels I like it but what sets your apart from others? I had no idea the kernel could control colors but after flashing many different kernels that's one thing I noticed

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] ro_explorer:
Deep idle doesn't work nice for me. It is stable, no reboots ... BUT ... overnight batt. drain was 30% instead of the usual 6%. Same stuff running, same rom, same kernel. The only difference is the deep idle being set to on last night.

So .. giving this battery stuff I'll stick with the deepidle OFF.
[Nexus S Android Development] mike216:
Wipe your battery stats there's a good chance you have flashed kernel after kernel or roms and need to wipe if you haven't already

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] ro_explorer:
Already did that ... deepiddle is really draining more when nothing is running in the background (except the usual services).

Reading the original deepidle mod thread it seems that this mod is aimed at reducing battery drain while there is an active process in the background , like music player.
[Nexus S Android Development] SA-07:
Oh ok...yeah you can disable it that's fine
[Nexus S Android Development] SA-07:
Oh yeah since its on by default it is going to be enabled again after a reboot. So just use the echo command or adb and it should stick
[Nexus S Android Development] mike216:
Could you put the exact command to enter in terminal emulater in case in doesn't work out for is noobs?

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] rrohanjs:
when should u wipe the battery stats, when fully charged ? 94-96 % ?
[Nexus S Android Development] SA-07:
echo 0 > /sys/class/misc/deepidle/enabled
[Nexus S Android Development] SA-07:
You don't have to lol
[Nexus S Android Development] al_madd:
Im using KF1..

do you really think I need to reflash my modem??

Im a little bit afraid will lost my signal....
[Nexus S Android Development] rrohanjs:
but he just said if u flash roms n kernels then u have to ..
[Nexus S Android Development] SA-07:
It is completely optional.

If you want to, go ahead tho
[Nexus S Android Development] mike216:
I just did and have no problems what's so ever but like I said its worked for my flaky data issues in the past I like KD1,try it you'll be ok

You wont even loose your data tweak if your on a rom like nscollab that has the tweak in it

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
I'm telling you of you want optimum battery life your going to have to wipe your stats

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] rrohanjs:
thats y i asked when shud i do it, after complete charging ?
[Nexus S Android Development] mike216:
What governor is going to work best for battery? The conservative tweaked version that morfic put together or does deep idol work fine on all governors

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
Get the charge as high as you can 95 96 is ok but from what I understood this should let is get to 100% with the CM battery tweak I thought

After you charge then run it down to 1% before throwing it back on the charger

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
Prolly lazy or ondemand
[Nexus S Android Development] SA-07:
It will go to 100%
[Nexus S Android Development] mike216:
Wow dude interactive is a FN beast on this kernel it throttles the processor like it should be rather than letting it come all the way down like ondemand

Hey folks if you want performance choose interactive governor

LOVE THE NICE BRIGHT COLORS LOOKS GORGEOUS

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mixtapes08:
im having same issue when i first flash v9.0 what i did is i reflash the kernel and everything seems to be working also deep idle.. so awesome.. no bsods,fc and random reboots so far. ^_^
[Nexus S Android Development] Dirtyfrank26:
Is there a wiki or something that let's you know what all the different governors do? I would like to know.

Thanks
[Nexus S Android Development] mixtapes08:
sir Math did you adjust the colors on this kernel? i've noticed it too.