yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] Articudos:
@bedalus

I reported long ago, But couldn't get answer:o

This kernel is not compatitable with official miui(china) and causes bootloop..

IMHO, boot.img type causes that issue(or kernel restriction like jellybelly:eek: )
[Nexus S Android Development] slipkory:
how to enable fastcharge on this kernel?
[Nexus S Android Development] leap_ahead:
4.5.1b no fc !!! thanks bedalus
[Nexus S Android Development] DarkhShadow:
Build the kernel from source with fastcharge patch

Sent from my Jelly Nexus S
[Nexus S Android Development] :
Stick with the stable v4.5 for now.

I already have, but it's disabled in the config. I'm going to wait for 3.0.43 then release a test version with it enabled

Thanks for re-reporting, sometimes I miss things the first time around. I'll have to take a look at their ramdisk to see if there's anything different in there.

Has anyone has success with any miui version?
[Nexus S Android Development] Articudos:
3.0.43 Already released!:)

Miui Official caused bootloop(afaik, everyday), but Miuiandroid one was OK.
[Nexus S Android Development] leap_ahead:
4.5.1b is 3.0.43 rc
[Nexus S Android Development] :
Yes, I was messing around with the 3.0.43 pre-release patch, but I'll revert that and go with the official. I'll see if I can sort that out now.
[Nexus S Android Development] :
TESTING VERSION: v4.5.2 is here

Download via the version matrix link: http://goo.gl/HvUrp

-Mainline update to 3.0.43

-IDLE2 enabled

-Free RAM down to 395MB for camera stability

IDLE2 may cause excessive drain during sleep (please give feedback on this).

To disable:

echo 1 > /sys/module/idle2/parameters/disable
[Nexus S Android Development] leap_ahead:
i disable idle2 to fix the crt off lag !!

you can make one without the idle 2?
[Nexus S Android Development] :
You could use the one from the last page, v4.5.1b

If you don't mind, could you see if the battery drain is normal with IDLE2 disabled?
[Nexus S Android Development] gregorypeg1000:
Do i have to disable idle2 every time i reboot the phone?
[Nexus S Android Development] joeyddr:
Any 4g love yet?
[Nexus S Android Development] dinos3:
ARM: 1350mV

INT: 1100mV

now stable 1200mhz on air kernel, big thanks for posting voltages :)
[Nexus S Android Development] leap_ahead:
sorry i flash back to 4.5.1b ...i dont use the idle2
[Nexus S Android Development] hiphopboy:
Ctrl lag when off and battery drain on 4.5.2
[Nexus S Android Development] :
I was kinda expecting that. What if you disable IDLE2? Is the drain and lag gone?
[Nexus S Android Development] ignito-nexus:
http://db.tt/TBw0ywGi

I just got a reboot with rasbean+marmite 4.5 ondemand deadline+no BM tweak T_T
[Nexus S Android Development] :
Go to the downloads page, see OP for the link!

Thanks for reporting back!

It's the PVR driver again, looks like when they bumped up to triple buffering they introduced some bugs. I'm sure there will be a driver update at some point.
[Nexus S Android Development] ignito-nexus:
Didn't google disabled triple buffering in jro03l..?
[Nexus S Android Development] sperelli:
it drains and that much! 1 min screen off it gave -2% of battey... :(

i'll keep on testing with DI2 on, in case it is the change from a non-blx (Mk23) to a blx kernel, to give jumps of battery %---

i'll report back
[Nexus S Android Development] hiphopboy:
Yes will gone
[Nexus S Android Development] alen1901:
Time for bedalus to compile v4.6 without Idle2. ;)

Sent from SpeedMachine i9023
[Nexus S Android Development] sperelli:
30 mins of gameplaying and the battery drained from 51% to 14%...

that's not any blx....

sorry guy!

:fingers-crossed:
[Nexus S Android Development] :
I've observed IDLE2 draining fast. Now I'll disable via sysfs and see...
[Nexus S Android Development] ignito-nexus:
Did jro03l commits(ramdisk) included this kernel..?
[Nexus S Android Development] asphantix:
v4.5.1 is great. Butter, great battery and the camera works without any issues.

But I noticed, that my wifi signal gets cut really often. This mostly happens when I use a custom kernel.

And the sound allways cracks/stutters when I'm listening to music while I download files via wifi. Is this normal?
[Nexus S Android Development] towelboy:
I'm having very bad battery drain with 4.5.1. 9h battery from full with half the time the music playing. I blame idle2.
[Nexus S Android Development] towelboy:
Pic
[Nexus S Android Development] qu3becker:
Well, 4.5.1 doesn't have idle2 enable so it can't affect your battery stat... Except if you enabled it or Bedalus built a special version with it enabled.

Try the same thing with 4.5.2 that has idle2 enabled and give some feedback.
[Nexus S Android Development] 309041291a:
Overview.

Graph.

Screen.

My phone went into SOD after a phone call again and when I booted I lost 2 hours of general (mostly idle) use from my battery graph. So I'd say I used the phone for w little more than 12 hours and got about 5 hours and 15-25 minutes of screen use all together. 2G data, 3G used for 20 minutes or so (YouTube videos).

All settings below. 5 hours has been hit on JB.

Nexus S. (GSM i9020a)

Paranoid Android (2.0 - 4.1.1)

Marmite Kernel (4.5 - Bedalus)

Ondemmand (Screen On) (800/100)

SmartassV2 (Screen Off) (400/100)

Deep Idle (N/A - Deadline)

BLX (98 - Inverted Apps)

Black Exodus (Stock Voltage)
[Nexus S Android Development] :
Here is my battery graph for IDLE2:

About halfway along, I update from 4.5.1 to 4.5.2, and the drain is obvious. Then about halfway along the IDLE2 slope, I disable IDLE2 using the sysfs switch. As you can see, it continues to drain badly.

I will disable it, and release 4.5.3 without IDLE2
[Nexus S Android Development] :
Uh... not that I know of. Can you tell me where you heard this?

Here: http://xdaforums.com/showthread.php?p=29974198 ?

It says it's not disabled :confused:

I don't know about wifi dropouts, I think it seems the same as ever... a bit weak! The drivers were changed, so there should be less errors. It seems strange that it would happen with custom kernels. What about Terry Hau's Simple Kernel? That one is identical to stock with very minimal changes.

Music shouldn't stutter. Perhaps try switch between CFQ/Deadline to see if one is better.
[Nexus S Android Development] :
v4.5.3 is here: http://goo.gl/HvUrp

-Pulled links for v4.5.2

-Disable IDLE2 (battery drain still there)

The only difference between this and v4.5 is the mainline update, and some android/common stuff for wifi. It should be stable, but I'll withhold judgement pending further feedback.
[Nexus S Android Development] :
5 hours screen on time is good for JB, nice work!

About your SOD. I sometimes find that my phone is locked up while asleep, but if I persist with the power button, eventually it wakes up. I think this only happens when using the Deadline scheduler. If you are getting frequent SODs, try CFQ, and if it helps, please feed back on the thread!
[Nexus S Android Development] towelboy:
Sorry not 4.5.1 but 4.5.2 with idle2 enabled! My fault
[Nexus S Android Development] Maximilian Mary:
Bedalus, do you know approximately how much free disk space is required to build your kernel, aside from the 800M for the kernel source? I'm trying to figure out how big I need to make my Ubuntu image.
[Nexus S Android Development] :
Just ran Disk Usage Analyser, and my system occupies 8.4GB of space, and I keep things pretty clean... so you might want at least 10GB for the system. Also, I have 20GB of swap, which is probably overkill, but the more you can spare the better, especially if you later go on to building ROMs.

When I first started using git, I didn't know what I was doing at all, and I had local copies of a lot of different sources, and my kernel folder took up 100GB!

BTW who's that picture of?
[Nexus S Android Development] kwibis:
Saint Maximilian Mary Kolbe
[Nexus S Android Development] anshumandash:
I am quite happy with 4.5.1. It is really smooth and stable. Did not need to even reboot since I flashed. I want to thank you for your great work and a great kernel. You & your kernel rock.

I saw you have release 4.5.3 & thinking of trying it. In the description of download site, once it says IDLE2 is enabled & then it says disabled. Just wanted to confirm if this is disabled in this version. Don't want to flash it if it has IDLE2 enabled.
[Nexus S Android Development] :
I enabled it in v4.5.2 but disabled it in v4.5.3

There are just a few security and stability updates from android/common and the Linux mainline added. It should be perfectly stable as v4.5. There has been no negative feedback, so I'm pretty happy with it! (No IDLE2 - But I am still working on this mod)
[Nexus S Android Development] asphantix:
my wi-fi problems are also gone for me in v4.5.3 and the browser loads faster
[Nexus S Android Development] italia0101:
Such a good kernel dude... I'm still running v4.5. .. check out this image ....

Havent restarted it so long and its still running as smooth as ever
[Nexus S Android Development] :
Thanks for the feedback! It's good to see it spending twice as long at 100MHz as the other active states combined.
[Nexus S Android Development] Cloedu72:
Ununderstandable Message 3 / Lid is licked ??'

Im running CNA 3.4.1 and tryied to install Marmite 4.5.3. Im getting on the OTA Version and "all other ROM" Version the same Message:

Executing under CWM 5.8.0.2

Ununderstandable message 3

lid is licked

Is there anything wrong or is this just a Joke?

I guess the correct Version for CNA is "all other ROM"?

Claude
[Nexus S Android Development] kwibis:
This is just a joke lol
[Nexus S Android Development] incarnation95:
Awesome guide thank you....

Can anybodybtelk me whats thebdifference between.inlime kernel building and using a prebuilt while compilin a rom and how these two waysnare followed? Been looking for it for days... Maybe if someome could teach me :) or link me to a guide..

Thanks in advanxe... Any help ll be appreciated:)
[Nexus S Android Development] leap_ahead:
bedalus what you think about PowerHaL from thalamus ?
[Nexus S Android Development] kodora:
Hey Bedalus, I´ve been using your kernel for a long time and only from v4.5 I have got rid of battery drain. But at the same time I have been dealing with random reboots and freezes.. Could you please check my last_kmsg and tell me if it´s due to ROM or kernel. I have been trying to have the most stable configuration (ROM, Apps, kernel version) before report back to you. At this moment I´m on lastest rasjellybean and runnig v4.5.3.
[Nexus S Android Development] gregorypeg1000:
the best i can get from my battery.How does it look? CNA 3.5 and marmite 4.5.3

21h and 15minutes uptime with 2h and 26m on screen. The straight line was when i was sleeping.Mainly on 2g.4-6 hours 3g.
[Nexus S Android Development] giannis_mathiou:
Bedalus, thank you so much for all your efforts and for your great kernel. It combines really great with CM10 Nightly and game me the best battery life I had on Jelly Bean.
[Nexus S Android Development] kwibis:
With cm10 and 4.5 kernel I just got 15.45 hours on time with 3.45 hours of screen on! It's getting better and better :d

Sent from my Nexus S
[Nexus S Android Development] dosesdoyle:
Are you on the latest nightly?
[Nexus S Android Development] :
I once built a pure AOSP ROM, and the source included the kernel too. You might be able to configure it to skip building the kernel, but the kernel doesn't take much time compared to the ROM. There are not many developers who produce custom ROMs with their own kernel customisations (but here's an ICS example: Crossbones v0.3.0 by mwielgosz http://goo.gl/REuyq) ...so if you are more interested in ROM development, it is common just link in the OP which kernels you recommend.

You will have to look for more guides I think. Usually asking in Q&A section is a good idea. Good luck!

My only reservation about it is that I already have a customised version of ondemand that I'm very happy with, and I don't want to mess with it. I did once try one of franciscofranco's tweaks, but it produced slightly worse performance. How does this PowerHal work? Do you have a link to it?

I think it looks okay. If you want more battery life, follow the link to my research in my sig.

Good!
[Nexus S Android Development] :
I've experiences odd freezes that do eventually clear when using deadline, can you try CFQ?

This last_kmsg shows no kernel error, but if you get more reboots, please upload again. :)
[Nexus S Android Development] leap_ahead:
I think power hal boost ondemand ... download here http://xdaforums.com/showpost.php?p=31351993&postcount=1188

Infohttps://github.com/thalamus/android_powerhal
[Nexus S Android Development] :
Oh yeah, I remember this. Yeah, the method is like the JB interactive governor, with a CPU frequency boost triggered by touch. A while ago I included interactive as an option, but I didn't find it as smooth as ondemand. And it was considerably worse on the CPU usage, which will eat battery. I see no need to bring this feature in.

If anyone can get three identical Nexus S's together, they can perform a triangle test where one of the phones has the interactive governor, and two have ondemand. Get a large queue of people to decide which phone has the smoothest user interface (keeping the governors a secret of course). If the number of people choosing interactive is less than 33% then interactive has scientifically failed to distinguish itself!
[Nexus S Android Development] xjerlzx:
So just place power.herring.so into hw file? Reboot the phone?

Edit: oh wao I just felt my nexus s fly
[Nexus S Android Development] kodora:
Thanks for your help! :cyclops: I´ll try CFQ and report back ASAP!
[Nexus S Android Development] kodora:
Bedalus, changed for CFQ and just had another reboot. Last_kmsg is attached. Curiously when the phone rebooted I was texting. I use Go sms and Touch Pal Keyboard. Got to try if it isn´t the keyboard or the sms app.. Also I installed an app called bootlog uptime that had generated me a report on the reboot. I´ll try and look at it and understand what happened. Thanks for all you help! ;)
[Nexus S Android Development] xjerlzx:
Hey I used to had that. But after a clean installation of my ROM again the reboot disappeared. Clean installation = (format everything>install ) do it twice. > fix permissions.
[Nexus S Android Development] mr.haqeem:
really? can feel the diff? ondemand gov only?
[Nexus S Android Development] xjerlzx:
Ya a lot smoother for me BTW I'm on slimbean. U need to remove power.default.so then place power.herring.so. then reboot

For me I changed power.default.so rename to power.default

When I did not removed the power.default.so function. It made my phone unable to sleep
[Nexus S Android Development] mr.haqeem:
sound nice. im gonna try it. should i change the permission too aite?
[Nexus S Android Development] xjerlzx:
I dint change, u could... just in case hahas.
[Nexus S Android Development] mr.haqeem:
hahaha...okep :cowboy:
[Nexus S Android Development] leap_ahead:
Guys power.herring.so and power.default.so is not the same !!! and you must have the 2 files !!! just put the power.herring.so on system lib hw and its ok !!!
[Nexus S Android Development] xjerlzx:
but if both are there I get this weird screen auto on bug. I removed it everything was fine... its just a trail and error on my side =x
[Nexus S Android Development] leap_ahead:
after restart is everything ok for me ...

if you open the default.so with notepad and herring.so you will se that its different ....
[Nexus S Android Development] xjerlzx:
Okay. Firstly... Sorry for the wrong info people.

Secondly, I went to change permissions for power.herring to be same with power.default. reboot my phone. The weird auto screen on bug is gone.

Not sure if I did the right thing though

I was running my phone for last few hours without power.default... with no issues at all..! now I really wonder what does that do ahaha

But better to leave it there though.
[Nexus S Android Development] _yaz_:
@bedalus

i've got completely confused with it ...

how do you make it, exactly ? scripting or direct overwriting ? if any, does it need reboot ? just ask, because i havn't found any difference bw on and off idle2.

by checking the sysfs i found that the default value of "disable idle2" was 'N' (???). is it ok ? and what is the correct value for disable ? 'Y' or '1' ?

rather, it seems you didn't switch anything. and it accords to my experience. using the command (switch) you gave above does not seem to affect anything. consumption seems to be the same in any state.

again, i can't see significant difference bw 2 and 3. somehow i feel 3 more responsive but maybe just a feeling. regarding the consumption, about the same.

when did you make these updates, exactly ? in 4.5.3 or earlier ? may it be the reason of smoothness i felt ?

sorry for this picking but i was quite curious abot the new idle2 implementation that was told to be very batt saving when listening music or phone calling while screen off but a bit more drainy in sleep. well, amof, i haven't found anything ...
[Nexus S Android Development] leap_ahead:
dont worry you fix the problem now !!! but i dont know where we can see if the file is working ....
[Nexus S Android Development] anshumandash:
I think this power.herring file is a joke by Thalamus.
[Nexus S Android Development] :
the default value of "disable idle2" was 'N'

This means Not Disabled

To disable, echo 1 (use terminal)

However, even if you disable it, drain is still there.

i can't see significant difference bw 2 and 3. somehow i feel 3 more responsive but maybe just a feeling. regarding the consumption, about the same.

v4.5.3 has IDLE2 removed, no other difference

when did you make these updates, exactly ? in 4.5.3 or earlier ? may it be the reason of smoothness i felt ?

Update of Android/common and Linux mainline was at v4.5.2

sorry for this picking but i was quite curious abot the new idle2 implementation that was told to be very batt saving when listening music or phone calling while screen off but a bit more drainy in sleep. well, amof, i haven't found anything ...

I measured the drain using an amp meter, for music it saves power. All other times it uses more power. Either thalamus or myself will eventually solve this problem.
[Nexus S Android Development] caliban2:
Sweet. Never had that problem with video-recording that's been reported, until today. Also, those PVR-bugs in log are a first. (today's cm10-nightly, marmite 4.5.3)

Do I get this right, cfq seems to be stable opposed to deadline?

Edit:

Of course, can't reproduce it. *sigh* 5 videos and no problem so far.
[Nexus S Android Development] alen1901:
Reboot your phone and try to record again, maybe it will FC. Just a thought. On some video on youtube, guy said he rebooted phone and Gallery FC after video was gone. But i dont mind that "bug", i dont really record with phone. :p

Sent from SpeedMachine i9023
[Nexus S Android Development] kodora:
Already done that.. This time just didn´t fix permissions, but will do it and see what happens. Thanks!
[Nexus S Android Development] leap_ahead:
guys is safe to oc to 1.2Ghz this kernel ??

i will try to remove the powerHaL and oc to 1.2 to see the different ..
[Nexus S Android Development] mr.haqeem:
hmm...now what do u mean by that word? after lots of confusion,please make it clear as crystal
[Nexus S Android Development] anshumandash:
What I meant is nobody in xda has figured out yet if that file does anything good to the phone or adds anything to kernel performance.
[Nexus S Android Development] caliban2:
You got it all wrong, problem wasn't FC of gallery - the phone froze while recording and then rebooted by itself. I already tried to reproduce the error, but so far I've successfully made 10 videos without a problem.

What's new for me are those pvr-messages in log, but I think bedalus knows them.
[Nexus S Android Development] mr.haqeem:
Hmm...ur quote is reasonable. Im also nver heard of it n cant c any people discuss bout it. I tried it but got one freeze,dunno its related or not but nver had freeze with this kernel b4. Neway,its not hurt to try.
[Nexus S Android Development] kwibis:
Maybe it's like the kernel swagger :D

Sent from my Nexus S
[Nexus S Android Development] xjerlzx:
I got nth so far... but its noticeably smoother
[Nexus S Android Development] polobunny:
Bedalus, would you be against fine tuning your color values a bit? I like the kernel, but the colors are washed out. A good example of nearly perfect accuracy colors is the CM setting "Natural" with CM settings for Color multipliers tuning and Color gamma tuning. Nevertheless it's still slightly too yellow so there's a need to adjust blue very lightly. But it's a much better start. :)

See this blogpost for the settings I am talking about:

http://capsuleos.blogspot.ca/2012/05/tuning-pentile-screens-on-cyanogenmod.html
[Nexus S Android Development] mr.haqeem:
its not im disagree with u but i cant imagine anymore how u describe that "smoother" coz with marmite kernel on its own,i already feel the butter. can u?
[Nexus S Android Development] towelboy:
Yes very stable.
[Nexus S Android Development] gregorypeg1000:
Mine freezes at 1200mhz,so you cant know until you test it on your device.
[Nexus S Android Development] :
Quote from the article:

I have a problem with the article for this, because it oversimplifies the situation. For a start, it fails to mention there are double the number of green pixels. It misses that blue light has a shorter wavelength, so at the same amplitude would carry greater energy compared to red or green, and doesn't say anything for the transducer efficiency of the individual pixel pigments. It's nothing like as simple as 'large pixels are more luminous'.

Since the article opened badly, I couldn't bring myself to read it. But I take your point anyway because I use voodoo colour to tweak the RGB settings, so I don't actually use the values that are default with the kernel. I'll see about adapting them, and you can let me know how it went.
[Nexus S Android Development] xjerlzx:
Very commendable battery life on v4.5 3hrs screen on, 26% 11hours standby. 3g was passively on for 2hrs/3hrs on screen on time
[Nexus S Android Development] :
Here is a pre-release of v4.5.4:http://d-h.st/h3p

Not for 4G or Stock ROMs

Changelog:

-I altered the colours as per polobunny's suggestion, feedback welcome

-I hacked IDLE2 to only be active for music, in an attempt to cure the battery drain

If you have a nice flat section in your battery graph, then you can flash this, and leave your phone asleep (with the same radios on) and compare the drain. Make sure you test for enough hours, e.g. 4 or more; +feedback please!
[Nexus S Android Development] sdhanjal15:
I'll let it idle during school and see what goes down. Thanks bedalus!!! Whata bro!
[Nexus S Android Development] Imppy:
Will test it overnight!
[Nexus S Android Development] sdhanjal15:
I was about to send a text and the screen did some wierd ****" so I pulled the battery and rebooted
[Nexus S Android Development] kodora:
Also happened to me.. Do you have any sms or keyboard apps installed?
[Nexus S Android Development] sdhanjal15:
I had swift key. But I was typing with the aosp keyboard
[Nexus S Android Development] polobunny:
Thanks bedalus. I should have mentioned that I was talking about the UI of the settings and where they were located rather than the article itself (which I just googled). Didn't read it myself neither did I expected you to haha! Sorry for wasting your time with that.

It would be nice if you could look into it. The colors aren't atrocious like the stock ones (oh god the yellow) but they're definitely pale in comparison of what is achievable with samoled screens, even without oversaturating. Without full voodoo control (gamma purposely broken) there's very little achievable by the end user to adjust them sadly. :)

On an unrelated note, I lost around 4% of battery during work, time which the phone was idling obviously. 4% over the course of 8 hours? You won't see me complaining.

Edit: you are too fast! I didn't even notice the test version. Will reboot and flash as soon as I'm done with this delicious steak haha!