yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] italia0101:
yep been using it all day with so far no issues!

is there anyway to make it use 400mhz when doing other tasks other than music when the screen is off , like syncing
[Nexus S Android Development] jojoost:
So theres no losing of connectivity anymore just like with 2.5?

---===:::Greetzz, jojoost:::===---
[Nexus S Android Development] italia0101:
Been running it all day , and I have not had that issue , I used to with deep idle though
[Nexus S Android Development] jimdem:
Hi guys! I've tested 4.4.5 but sometimes the phone hanged for some seconds. I waited and then it was fine. I've never had any issues till now. And I can't give you any last_ksmg etc. because it never rebooted or there was a need to remove the battery. I'm back to 4.4 which is perfect. Anyway, thanks a lot for your kernel bedalus. You're doing fine. Keep up the good work ;)
[Nexus S Android Development] FirePoncho86:
I assume DI is on by default in 4.4.5?

Also Bedalus, great Kernel once again! I've never been able to OC on my poor little ns. The Hummingbird just couldn't handle it...that is..until Marmite! Now I run stable at 1200! Thanks!

Sent from my nexus s eating jellybeans in the matr- er...uhm...Marmite ;)
[Nexus S Android Development] jojoost:
I also don't know how to enable it.. :confused:

And it feels good to have your phone running stable when its oc'd, not??
[Nexus S Android Development] italia0101:
Its on by default .... and its idle2, not deep idle anymore

If you wanna see its stats use terminal emulator :

cat /sys/kernel/debug/idle2/error_stats

C2 and c3 are like top on and top off
[Nexus S Android Development] jojoost:
Thanks! And I'm reeaaalllyy sorry that I called it Deep Idle and not IDLE2... but still thanks for the info!
[Nexus S Android Development] italia0101:
Lol I wasn't trying to be a tit saying that , I just thought I'd correct ya ;)
[Nexus S Android Development] jojoost:
Okay! And once again, thanks for the info!
[Nexus S Android Development] italia0101:
No worries
[Nexus S Android Development] miklosbard:
My phone sometimes just puts the brightness to max without a reason and I have to lock and unlock the screen to make it act normal again. Anyone else noticed it? Stock rooted jb, marmite 4.4.5
[Nexus S Android Development] :
Sounds like a bizarre bug. Have you got auto brightness on?
[Nexus S Android Development] alen1901:
Somebody on v4.4 with codename android 3.4.1, after recording video, Gallery force closes?

Sent from SpeedMachine i9023
[Nexus S Android Development] :
I can't remember when I included the bigmem patch, but you may need to flash the zip from the OP

EDIT: No, actually it's already got it. Probably try fix permissions, wipe cache.
[Nexus S Android Development] :
Stock Users: http://d-h.st/VVD

Re-download please. You have MTP in your ramdisk! This will prevent IDLE2 from working. The above version fixes this.

Sorry about this mistake. But I've re-written my build script, so this can't happen again.
[Nexus S Android Development] alen1901:
I allready did, so its probably rom problem. Tnx

Sent from SpeedMachine i9023
[Nexus S Android Development] jimdem:
Oops! Something went wrong. I am using the latest cna and marmite 4.4. While I was dragging an icon, suddenly the phone hanged and the colors started to fade until the screen was completely black. Then it rebooted. Now everything is fine. Here is the last_kmsg http://db.tt/1l8SMJra
[Nexus S Android Development] xjerlzx:
Wao this is amazing. SLIM BEAN, NO MORE ANDRIOD OS BUG!

V4.4.5 slimbean 2.1

What I did,

1) format,EVERYTHING... IN CWM

2) shut down phone, it now enters fast boot only

3) flash newest cwm

4) flash slimbean 2.1 + addons

5) flash Marmite v4.4.5

6) wipe cache/ dalvik cache + fix perm

Note: I edited the apps within slimbean and addons rom , removed all the stuff I don't use(Google calender etc...) and also switched a .TTF file in fonts to enable my phone to read Chinese =]… hope this helps the slimbean users out there using marmite
[Nexus S Android Development] KrisMurdrum:
Was hit with a SOD on 4.4.5 on Dario/RasCarlo's earlier...

Had been running this kernel for about 10ish hours, during which I was getting better than normal battery. The last two and half hours before sod I was listening to music, and then while on break I was browsing fb and Tapatalk too. Got off break and two minutes later there was this snapping sound and music stopped. Checked the phone and yup sod alright. Left the phone alone for five minutes before pulling battery and rebooting. No last_kmsg though... No hiccups since then

Carved into Runes with my Magic Rune Stone.
[Nexus S Android Development] :
Maybe a fluke. See how it goes.
[Nexus S Android Development] :
Here's the problem:

PVR_K:(Error): SGXOSTimer() detected SGX lockup (0x10feb tasks) [1383, drivers/gpu/pvr/sgx/sgxinit.c]

Your graphics chip went bananas. It's probably just one of those one-off flukes. I highly recommend you update anyway! I'm very happy with v4.4.5 (there's no MTP though)
[Nexus S Android Development] italia0101:
Flashed .... quick question though . I was on your previous stock version and was collecting stats in error_stats for all states . Does that not mean its working
[Nexus S Android Development] :
That sounds correct. I forgot to remove MTP, which prevents the CPU from entering the C2 and C3 states. But it's fixed in the version you downloaded. You should be able to get stats now.
[Nexus S Android Development] jimdem:
Thank you for letting me know! ;) But i can't update. Despite being super with the 4.4.5, the phone hangs sometimes for almost 1 minute and then it is working fine. It doesn't do that when idling but when i use it.
[Nexus S Android Development] :
Interesting. Has anyone else had this?
[Nexus S Android Development] micha3lvd:
Nope just the animation bug. Have been testing it yesterday had no issues whatsoever..
[Nexus S Android Development] KrisMurdrum:
Just had another crash. This time I was able to pull a last_kmsg

Carved into Runes with my Magic Rune Stone.
[Nexus S Android Development] doc_v15:
My battery life using Marmite 4.3 in MIUI JB rom

with SmartassV2/Deadline :D

20hrs of usage with 23% left :D

Thanks Bedalus!
[Nexus S Android Development] asphantix:
I re-downloaded it and I still don't have the animation bug on my i9023 (w/ stock ota)
[Nexus S Android Development] :
I can see this is an IDLE2 issue, so I've passed it to thalamus.

Thanks for posting in the right place. :good:
[Nexus S Android Development] miklosbard:
yes, tried rebooting but the problem didn't go away, however after the night's sleep it seems to be gone.

Although I tried airplane mode for the night, and my phone was fully awake all that time. I will try changing my rom to aokp and will report back. https://docs.google.com/file/d/0B1Xsjf3Wm3TqTUpWME8yTXN3WlU/edit this was with 1:30 screen on time
[Nexus S Android Development] :
Yes, my phone was awake all night too, on airplane.

Any other users getting this?

You need to update your share settings on the google doc to 'anyone with the link'
[Nexus S Android Development] miklosbard:
Yeah, done it now. Somehow when I acces Drive from phone it doesn't do the job.
[Nexus S Android Development] :
The CRT animation fix is there for 9023 users.

However, IDLE2 seems to have introduced a certain 'weirdness' that makes the animation seem a bit jumpy.
[Nexus S Android Development] :
Updated OP :D

There is now a link to a google docs spreadsheet that will contain all the versions and changelog from now on. This makes it easier to organise the four separate downloads that are now necessary!
[Nexus S Android Development] miklosbard:
Btw about the versions: I noteiced that in 4.4.3 Mz phone was using 100 Mhz as lowest freq, but with 4.4.5 it uses 200 instead(Cpu Spy). First I thought it's nstools bug, but then I realized I was using nstools on 4.4.3 as well. Is it only my device or it has something to do with the new code?
[Nexus S Android Development] :
Read JokerAce's guide: http://xdaforums.com/showpost.php?p=30087898&postcount=1311

100MHz is available. Attempting to set it breaks it for some unknown reason.
[Nexus S Android Development] spupuz:
can't download from dev-host today stange.... :/ i would like to download versuib all_rom 4.4.5 to test it.
[Nexus S Android Development] siddhesh.raikar:
Nice kernel. 4.4.5.. idle 2..

Jus a small bug.. when the screen is off the whatsapp notification which vibrates twice is a Lil off.. vibrates once and the second time it almost doesn't.. works fine when screen on..

:)

Sent from my Nexus S
[Nexus S Android Development] :
That probably explains the long periods of awake. Just toggle wifi on and off after booting. Should fix the issue for now.
[Nexus S Android Development] 309041291a:
Terrible idle with on demand. Trying smartassv2 now.

Nexus S. (GSM i9020a)

Paranoid Epsilon 1.2(1.992 - 4.1.1)

Marmite Kernel (4.4.5 - Bedalus)

Ondemmand (800/200)

Deep Idle (On - Deadline)

BLX (98 - Inverted Apps)

Black Exodus (Stock Voltage)
[Nexus S Android Development] unlinker:
Yeah me too. It's perhaps related to the last post of bedalus (thalamus) ?
[Nexus S Android Development] italia0101:
Yea I saw this .... I'm getting a lot more top off c3 ... after doing the WiFi trick
[Nexus S Android Development] miklosbard:
same goes for Talk here

EDIT: even the first vibration is barely noticable
[Nexus S Android Development] italia0101:
Anyone else got audio out_2 wake lock?
[Nexus S Android Development] caliban2:
Bedalus, just watched the phone reboot, full one this time starting with google-logo and entering sim-unlock.

Here's last_kmsg. At line #1088 the untracked pids start, from there you'll see the drama unfold, ending in a kernel panic at #1307. :)
[Nexus S Android Development] italia0101:
Code push for idle2 just FYI
[Nexus S Android Development] :
I'm still not sure the untracked processes are significant. But it's the graphics driver to blame for the initial unhandled bug. I think we are in need of a driver update or something.
[Nexus S Android Development] caliban2:
Or it's caused by idle2 or bigmem. Has graphics driver been updated recently?

Only thing that's odd is that the phone hasn't been on so long, about two hours. Normally, if it acts up, it's after 24 hours plus...
[Nexus S Android Development] :
The PVR bug seems to be semi-random. I suspect it's because the drivers are new. There is a lot of new going on with the triple buffering and VSYNC, so there will probably be more graphics driver updates at some point.
[Nexus S Android Development] Blackcrx:
can someone please confirm the location of the "last_kmsg"

/proc/last_kmsg? I can see "kmsg" but i can not see "last_kmsg"

i had a couple of freezes with 4.4.4 and both times no last_kmsg

I literally just flashed 4.4.5 coming from matrix 23 and about 10mins in everything froze. did a battery pull and again no last_kmsg
[Nexus S Android Development] :
I'm hopefully putting out a new version in a short while.

/proc is the right directory. If you see no last_kmsg there is none. Sometimes there will be one left there from when you flashed a zip in recovery. This one might still be there after a random reboot because the kmsg might not have been copied over. It's worth checking the first few lines to make sure you see the right kernel version (i.e. bedalus, not kalimochoaz) before posting.
[Nexus S Android Development] xjerlzx:
Though android is bug is gone...

My phone keeps rebooting by itself every time when I press the lock button while I'm in an application

I wipe dalvik cache and cache, fix permissions

So far so goood no reboots yet

Anw link for v3.4 as per one of the popular older version is down

EDIT: still having reboots
[Nexus S Android Development] XxSilent22xX:
I love this kernel. I did some heavy usage on my phone today, it did not last as long as i had hoped but it still did pretty well imo. i also didn’t know about the wifi issue untill about a hour ago but i think i toggled my wifi at least once today. Here are some screen shots of my usage.

Kernel 4.4.5

Screen on time - 4 Hours 20 mins :)

Music - 3 Hours

Android OS - 5%

Android System - 5%
[Nexus S Android Development] :
http://goo.gl/HvUrp

v4.4.6 is here!

-Merged in a bit of stuff from android/common

-Changed to anykernel script!

Anykernel script method means the kernel uses the ROMs existing ramdisk. To ensure maximum compatibility with your ROM, you may want to consider one of the following options:

a) Reflash ROM, flash new kernel

b) Extract boot.img from ROM.zip and flash using fastboot

c) Extract boot.img from ROM.zip and insert into any previous marmite version and flash

...this will replace my hybrid ramdisk with the ROM's intended ramdisk. Better for compatibility, and also means less uploading for me! Works with stock OTA too.
[Nexus S Android Development] Blackcrx:
Your Google doc says idle2 v360. I assume you mean v370 right?

---------- Post added at 06:20 PM ---------- Previous post was at 06:09 PM ----------

Oh. Do we still need to toggle WiFi?
[Nexus S Android Development] tchaari:
I just noticed considerably higher battery drain with 4.4.5 than 4.4.

With 4.4 i lost 5% in 8 hours idle.

With 4.4.5 I left the phone with 13% and found it off after 8 hours.

Maybe Idle2 isn't that perfect yet.
[Nexus S Android Development] CrackerTeg:
If you weren't playing music, idle2 means nothing. It's the replacement for deep idle.

On another note, loving this new version bedalus.
[Nexus S Android Development] MrBigWaffles:
Is deep idle/idle2 only useful with music?

I've heard it was useful while any tasks was being accomplished while the screen was off, like when downloading files.
[Nexus S Android Development] FirePoncho86:
I'm getting bad battery life..but my phone gets better after a few charge cycles..so we'll see! :D

Sent from my nexus s eating jellybeans in the matr- er...uhm...Marmite ;)
[Nexus S Android Development] xjerlzx:
Phone still reboots while I off the screen when a game is running... sometimes music apk also causes it to reboot
[Nexus S Android Development] dosesdoyle:
3.5

I'm still rocking v3.5 and I'm seeing some pretty awesome battery life with moderate usage.

deadline/ondemand 200/1000. pretty darn smooth as well. i also have deep idle enabled with no problems.
[Nexus S Android Development] MrBigWaffles:
Is that all just idle time? I find these battery screenshots kind of useless without the screen on time.
[Nexus S Android Development] Jamalsid:
You sir I believe are mistaken. I'm pretty sure that idle2 will save CPU cycles when performing any task with the screen off. Saying it only works if playing music is a common misconception. I'm sure Bedalus or someone else will correct me if I'm wrong.

You're right
[Nexus S Android Development] asphantix:
I agree. 4.4.5 really drains my battery.

Now flashing marmite_v4.4.6

my favourites so far: 3.5 and 4.2
[Nexus S Android Development] :
That's almost right. It saves power by turning off parts of the processor.

IDLE2 v0.370 is not in the latest test version. I'm waiting for thalamus to re-enable the audio hooks, otherwise it won't do anything while music is playing back
[Nexus S Android Development] Articudos:
Do I have to change "bluetooth quick switch adapter" to "false" like DeepIdle?
[Nexus S Android Development] :
No. It's not necessary with IDLE2
[Nexus S Android Development] :
IDLE2 is still a work in progress. I'm going to update the version matrix with some up-to-date MTP builds with ILDE2 disabled.

Also, since switching to PM_FAST, wifi drain will be higher.
[Nexus S Android Development] italia0101:
Is idle2 ,0.370 not good?
[Nexus S Android Development] :
I think it's a stepping stone. thalamus is trying to eliminate bugs, so preventing top=off use while audio is active will help establish whether bugs exist there
[Nexus S Android Development] :
Here is v4.4.6 for MTP: http://goo.gl/HvUrp

-Merged android/common

Please can someone confirm MTP is working and post back? I can't check myself right now as my phone is tied up testing IDLE2 v3.70 + bugfix. Thanks!

Also, can someone try airplane mode for a few hours and make sure the device is not spending long periods awake?
[Nexus S Android Development] caliban2:
Will do. I'm getting a lot of batt-drain in standby with 4.4.5 and .6, went from 50% to off in 7 hours... Been running stock-kernel of Jellybro for the last 2 hours and lost only 3%. In betterbatterystats I can see a lot of alarms caused by some time-tick with marmalite. Let's see if it's caused by idle2.
[Nexus S Android Development] :
Thanks again for your help!
[Nexus S Android Development] caliban2:
MTP is working. What's new is that it coexists with USB-debugging now, while connected as a media device one can log on to adb shell just fine. Transferring a 350mb-file took about a minute, so that translates to ~6mb/s.
[Nexus S Android Development] dosesdoyle:
I'll post another screen shot with on screen time later today.
[Nexus S Android Development] gmorel4:
4.4.6 with MTP only available on stock?
[Nexus S Android Development] miklosbard:
the vibrating notifications are still not working properly on 4.4.6 and I got a Google services wake lock as well, but that's probably just the random factor.
[Nexus S Android Development] kkkhattak:
Can you add this to your kernel or not "FAST AC Charging"
[Nexus S Android Development] S7icky:
Loooooove this kernal.

Thanks for your hardwork.

battery life is awesome... kinda nice not having to worry about carrying my charger around with me
[Nexus S Android Development] alen1901:
As early stated, no. :)

Sent from SpeedMachine i9023
[Nexus S Android Development] kwibis:
Bedalus, running your latest 4.4.6 with rasbeanjelly. This is what better battery stats gives after 8 hours of on time.

Don't really now what the power manager does.
[Nexus S Android Development] jojoost:
Idle2 v0.370 is out bedalus!

---===:::Greetzz, jojoost:::===---
[Nexus S Android Development] :
I built a version with IDLE2 v0.370 and I'm testing it today. The audio stuff is still removed, but I've tested it with audio anyway, and I see good TOP=OFF stats. Perhaps I've misunderstood what's happened in the code revision.

Anyway, the issue with the system being awake seems to have cleared up which is nice. I'm testing it in airplane now.

If I have the energy after work I'll get the ammeter out and do a proper measurement.
[Nexus S Android Development] jojoost:
Thanks, and Bedalus, do you know a good rom to use this kernel with, I have a flashaddict and I need new crack :$ .ow, and if anyone else knows a good rom, I would be glad to hear!

---===:::Greetzz, jojoost:::===---
[Nexus S Android Development] Blackcrx:
not sure if it is just me again but i have the android os battery drain back with 4.4.6 and CNA 3.4.1-nightly
[Nexus S Android Development] kwibis:
Try out rasbeanjelly from Rascarlo maybe you've tried it already but haven't had my phone that fast since ever :D check fitsnugly website

---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------

Try to do a clean flash
[Nexus S Android Development] Blackcrx:
hmm.. odd. did a reboot and not its gone. this android os bug thing is confusing. haha
[Nexus S Android Development] jojoost:
What about hybrid epsilon?
[Nexus S Android Development] 4tticuz:
Euroskank 20120814 FTW

Best ROM so far
[Nexus S Android Development] Blackcrx:
nevermind, drain is back. dropped 15% battery in an hour.

back to marmite 3.5
[Nexus S Android Development] towelboy:
Yup I'm still on 3.5 too. Still waiting for a good version to retire 3.5 :p
[Nexus S Android Development] FirePoncho86:
I'm still enjoying 4.2. I've tried newer ones, but haven't enjoyed as much!
[Nexus S Android Development] caliban2:
Looking very good indeed!
[Nexus S Android Development] :
EDIT, uploaded a test version with franco's ondemand changes, but pulled it again because it's rubbish!
[Nexus S Android Development] pan1980:
which program do you use for i/o benches ?
[Nexus S Android Development] :
For this particular one, I used antutu, but only the db io, sd write and read io. These tests are too short to get an accurate measure, but if you run them repeatedly, you can get a good idea of the average, and also information about how consistent the results are.

Today, I've run another program called SD Card Tester, which basicly writes a test file of arbitrary size to the flash memory. Unfortunately, franco's tweak led to very slow continuous writes.

I'll probably end up pulling noop to be honest.
[Nexus S Android Development] :
You might be interested in this...

I applied the deep idle patches to a test branch of my kernel this morning.

The first thing I noticed was some serious fu*kage with the misc driver, which I have fixed. The said f*ckage could well have been causing instability as a sleeping function was being called from an atomic context, which is not good. How nobody found that before now, I will never know.

I also tested the stuck at 200MHz min issue and I couldn't reproduce it. It always seems to go back to 100. For info, that is checking via the command line, I don't have any CPU manipulation apps installed. Perhaps it is the app causing the issue. I know nstools jams the frequency at 200MHz min for some obscure reason.
[Nexus S Android Development] pan1980:
i agree, with your latest kernel i get about 6MB/s write.

with matrix 22 and deadline i get about 9MB/s.

matrix 22 again about 9MB/s.

your kernel run at 1.2GHz

matrix at 1.26 with 105 liveoc

Cache size 4096.

on demand at both kernels.
[Nexus S Android Development] Articudos:
Edit: I just read OP. Sorry:o

Thanks for the awesome kernel!:D
[Nexus S Android Development] :
I agree. Noop has been removed, so have franco's ondemand tweaks.
[Nexus S Android Development] :
I'd like to have a look at your fixes. And probably pinch them...

I can reproduce the 200 MHz issue by running a graphics benchmark and rebooting in the middle of it. But I'll disable nstools, and see...

EDIT: Yeah, it's nstools. That's good news, I can live without it.
[Nexus S Android Development] :
Sure. Just had a random reboot though, clearly caused by deep idle. Gonna take a look at the code and see why it is being invoked when it shouldn't be.

After finding what I found, which was easily noticed by having a some debugging flags enabled in kernel hacking (as devs should when they are testing things/writing code!) I don't really trust the rest of the code to be correct either...so I'm going to take a look and resolve the issue hopefully.

I'll publish my fixes once I've finished.
[Nexus S Android Development] JokerAce:
Love this helpfulness around XDA.
[Nexus S Android Development] apatal:
+1 ;)

Sent by a Pacifist from a Nexus S
[Nexus S Android Development] djees:
Only one thing i miss is the fast charge mod to use this kernel
[Nexus S Android Development] :
Sorry, this is a personal kernel I built for myself, I'm just sharing. If I don't personally use it, I'm not adding it.
[Nexus S Android Development] :
Here we have v1: LINK DOWN... hold tight...

Stable!

...and noop is gone.
[Nexus S Android Development] raulillo88:
Works good with jelly bean¿
[Nexus S Android Development] :
It doesn't even work good with ics. Too much marmite in there.
[Nexus S Android Development] caliban2:
Same as 0.9.5 or worth flashing? :)

Try it yourself? Maybe. (Matr1x is reported to work, so maybe this does too)

As long as there's no official rom, you can't expect compatibility.
[Nexus S Android Development] :
Sorry, just hang on... need to reupload. Yes, get this one. It's got some debug stuff removed. Hopefully means a slimmer kernel.
[Nexus S Android Development] apatal:
Congratulations on getting to v1.0! :)

I see you've struggled getting here but I'm sure it'll be all worth it.

Cheers!

Sent by a Pacifist from a Nexus S
[Nexus S Android Development] Blackcrx:
call me crazy but i am actually trying air kernel again. i had a bad experience a while back but i figure i have tried matrix (22.5 and 23), marmite (every single one), might as well give air another shot. currently running air #186, seems ok so far