yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] :
5 hours of light usage screentime with this kernel (mostly browsing, twitter, an hour of YouTube) and still with 15% left. Nice battery life! Great job bedalus!
[Nexus S Android Development] gregorypeg1000:
2g?3g?clocks and governor? Mine at 200/1200 smartassv2 with 3g cant get more than 14 hours with maybe 2 hours on screen time.
[Nexus S Android Development] xjerlzx:
Tell me, how do I know u don't know. There are a lot of new people here. If u find it annoying just don't reply. Lol
[Nexus S Android Development] gregorypeg1000:
Is there a way to set the lowest frequency on euroskank at 100mhz?? The lowest i can set it is 200mhz.
[Nexus S Android Development] :
No I was at home with WiFi. Using 200/1000 ondemand deadline. I definitely can't get that time with 3G as I'm on mobilicity and we all know how bad their coverage is (well at least if you love in Canada :p)

Using CNA ROM, marmite 4.2 ( haven't tried 4.3) and applied black infinitum theme, the dark setting might help with screen battery consumption.
[Nexus S Android Development] :
How are you trying to set it? If you avoid trying to set it, the default is 100mhz, that will be used.
[Nexus S Android Development] CrackerTeg:
59 hours of uptime since flashing of bigmem patch and still minimal lags. No reboots and amazing battery life. bedalus, is idle2 implemented in the test kernel or will it be in the next version? Also, will fast charge be implemented?
[Nexus S Android Development] gregorypeg1000:
I have tried with nstools,with the performance tab and with setcpu.Even if i dont try to set it, i see at cpu spy that 100mhz is unused.
[Nexus S Android Development] migz012788:
Any good combo governor and scheduler for gaming? I dont overclock
[Nexus S Android Development] anshumandash:
Does 4.2 include Bigmem? What happens when you flash the bigmem patch? Does it add bigmem or remove? Sorry if these are already answered :p
[Nexus S Android Development] polobunny:
That's a known problem when using NStools and having it installed/start at boot. If you rom has init.d support, use a script instead.
[Nexus S Android Development] mondo107:
thanks for this amazing kernel!
[Nexus S Android Development] gregorypeg1000:
I tried that too.I dont have nstools installed now.Even with script with or with not the minimum freq line it doesnt work at 100mhz.
[Nexus S Android Development] polobunny:
Are you checking using CPUspy or SetCPU or your ROM performance settings? You don't want to be using any software that could force 100Mhz because it will likely end up being at 200MHz. With CPUspy you can simply monitor if the 100MHz state is being used.
[Nexus S Android Development] gregorypeg1000:
I check using cpuspy.I said that i tried with nstools and setcpu.When i saw that they dont work i unistalled them.
[Nexus S Android Development] sdhanjal15:
Morfix changed his colors. Take look?
[Nexus S Android Development] caliban2:
Removed the min-freq line from script as well?
[Nexus S Android Development] xjerlzx:
Just use the default settings,its good enough to drive my gta3 =] and most games

---------- Post added at 12:51 AM ---------- Previous post was at 12:49 AM ----------

Yea, nope it won't remove nor add it just solves some bugs.
[Nexus S Android Development] rrohanjs:
4.2 is working so well with miui, i'm amazed .. using smartassv2/deadline

today i dint use the phone much so i got about 20hrs on it and its still got 62% left .. thats really good
[Nexus S Android Development] Blackcrx:
I thought everyone was starting to revert back to 3.0.31 for reliability and speed?

I was hoping for a 3.0.31 with BLN and BLD
[Nexus S Android Development] polobunny:
Read the thread from the last post to the first post and you'll understand Bedalus and what he has done to end up with 3.0.38 as his base.
[Nexus S Android Development] Blackcrx:
actually i have been following his work from the start. i have been switching back and forth from his kernel and matrix for some time now

from what i gather he had issues with .35 and .40 gave him reboots

.38 was the last known good base, other than his previously tested .34

there was also a v4 test which he used .31 to test stability which had no reboot reports. this would make me think it was a good base

maybe you can help fill me in on whatever info i'm missing and why .38 is being used please
[Nexus S Android Development] italia0101:
Btw quick FYI for anyone interested. Setting the transition effects to .5 really makes the phone seem like it flies . Going back to 1.0 feels slow
[Nexus S Android Development] Blackcrx:
actually i turn off my window and transition animation. give it try
[Nexus S Android Development] polobunny:
You forgot to read the few pages part where he slowly started merging mainline that applied to Nexus S and not experiencing any instability, neither on his own or from his users.
[Nexus S Android Development] italia0101:
Tried it . I missed the lil animation though. Maybe slower but smoother

Thanks anyway!

Each to their own !
[Nexus S Android Development] :
Everyone just copied thalamus. Not that that's a bad thing. Thalamus has cherry picked patches up to 3.0.40, but i can't do that, so I've I'm just merging from the mainline as one normally would. My current personal test version is up to .41 and seems fine! Been running for over a day.
[Nexus S Android Development] :
I switched from thalamus' base to a stock base, now the reboots are gone, and so it seems are the mainline merge issues.
[Nexus S Android Development] :
Me too! :)
[Nexus S Android Development] :
Lol, my last three replies were to the same person, but i just want to say to everyone how good it is to see people helping each other, and taking the time to explain things other users have missed.
[Nexus S Android Development] asphantix:
4.2 is running great so far. Good battery also. BLN leds going off after a timeout is the default behavior? Why not the other way around? And will there be a stable release of 4.3 soon? Just asking since 4.3 testing won't boot with stock ota.
[Nexus S Android Development] Blackcrx:
sounds good

I actually went back to your v4 test2 that was .31 with bln for fun. seems just as fast as 4.2

can't wait for more releases to pop up

---------- Post added at 04:37 PM ---------- Previous post was at 04:35 PM ----------

thats what xda is all about to me. helping each other out and to learn new things with out being richards
[Nexus S Android Development] :
Here is v4.3

Merged up to mainline 3.0.41

-Stock OTA Only: http://d-h.st/luP

-All other ROMs: http://d-h.st/Kkr

Interested in the latest testing versions? See: http://xdaforums.com/showpost.php?p=30695406&postcount=1890
[Nexus S Android Development] Blackcrx:
shouldn't swagger be enabled by default?
[Nexus S Android Development] :
Unfortunately, once you turn it on, it's difficult to turn off.
[Nexus S Android Development] :
Yes, I prefer it that way. You can change it by echoing 1 to blink_finalstate

And Stock OTA 4.3 is just released! :D
[Nexus S Android Development] Maximilian Mary:
Data speeds going to crap could be the result of your data cable going to crap - especially if it comes & goes. OEM Sammy cables are not particularly durable, to say nothing of the ones they sell at 7/11 & Walmart. A good quality cable can make all the difference. Iirc, USB 2.0 is 200 Mbps. I'm talking a 200 MB lecture series in around 10 seconds, and backing up your entire sdcard in under a half hour.

As far as I'm concerned, Micro & soft are not words I'd want describing the contents of my underwear ... or my software.
[Nexus S Android Development] polobunny:
Except I'm using 3 different cables and they all give the same result. :p

I've found a solution however, not requiring MTP, but a 99 cents purchase. Multi Mount SD-Card fixes all my transfer woes. Strangely enough when transfering something it will "stutter" but it's still heaps faster than using the embedded Android mount prompt, will not unmount the SD card on your phone (à la MTP) but won't break IDLE2 (unlike MTP!). Hurray!

https://play.google.com/store/apps/details?id=com.rafoid.multimountsdcard.widget

Edit: The Lite version might be more than enough for anyone, by the way. It's absolutely free.

https://play.google.com/store/apps/details?id=com.rafoid.multimountsdcard.widget.free

Edit 2: I think the swagger code could be optimized a bit.
[Nexus S Android Development] CrackerTeg:
Yet another developer adding swagger to their baby. Why does one, such as myself, need swagger in their phone when we already have plenty of swagger on our own? Just sayin.
[Nexus S Android Development] doc_v15:
Stupid noob question, what is kernel swagger? What does it do?
[Nexus S Android Development] polobunny:
As in specifially in an engineering way or as in "as a whole" for the common? To give you the big picture, it adds swag. This has been made popular by the AOKP rom toggle that could toggle swag on and off and it's a great thing to see it included in a kernel finally.
[Nexus S Android Development] MrBigWaffles:
"adds swag''

Feels like I'm listening to a bad rapper. What does it actually do? Or is it just a joke?
[Nexus S Android Development] asphantix:
Does anyone know how to enable init.d on the stock rom? Seems like marmite doesn't execute my init.d script on my device. Am I missing something?
[Nexus S Android Development] MrBigWaffles:
Your attached file isnt showing up...

edit: NVM, i guess this whole "swagger" thing was indeed a joke.
[Nexus S Android Development] jayjay3333:
http://rootzwiki.com/topic/19449-what-is-that-swagger-toggle-for/page__st__60
[Nexus S Android Development] gregorypeg1000:
Yes.I finally found what i was doing wrong.I had forgotten the set one boot option in cm10 performance tab checked...Really noobish move :/
[Nexus S Android Development] polobunny:
I'm pretty sure I mentionned that earlier. :p
[Nexus S Android Development] Blackcrx:
Not sure if its the extra swagger of 4.3 or the update to codename 3.3.0 but my phone is running super smooth.

Awesome work as always.
[Nexus S Android Development] anshumandash:
I am going to flash it today on Black Bean. While there is not enough information on what Kernel Swagger is going to do, I think I may not be able to enable it and take advantage of any good feature it might provide. :silly:
[Nexus S Android Development] doc_v15:
Marmite v4.3 is awesome! But where do i get swagger settings in?
[Nexus S Android Development] xjerlzx:
Is there idle2 in v4.3?
[Nexus S Android Development] rrohanjs:
dint use the phone much as was out with my gf all day :p

but was amazed how long my phone lasted and still its not only stand by time i got 2hrs 30 mins screen time too and 2hrs 30mins of voice calls

kernel - marmite 4.2 smartassv2/deadline
[Nexus S Android Development] matatr0n:
What theme is this ?

/edit: ah, i see its MIUI
[Nexus S Android Development] rrohanjs:
its not a theme, its miui jb rom
[Nexus S Android Development] :
That looks like a useful tip. Thanks! And yes, swagger is currently at version 1. Plenty of optimising to be done!
[Nexus S Android Development] :
I can add init.d support to the kernel, but I'm not sure it'll work because i think the ROM also needs to support it. But I'll happily built a test version for you to try. I'll pm when it's done
[Nexus S Android Development] :
If you're using AOKP, you can enable it in toggles. Then you can toggle it on and off easily. Since my version is "in kernel" it's a bit more awkward, you have to use a /sys switch. You can issue the command in terminal, or put it in an init.d script.
[Nexus S Android Development] :
Thalamus is still optimising that, and the source isn't available yet, but he's been in touch, and the remaining issue is stability.
[Nexus S Android Development] caliban2:
... or use root explorer to manipulate the switches. ;) (great if it's just one or two for testing something)
[Nexus S Android Development] JokerAce:
I can't believe I spent 30 mins searching wtf swagger does. :rolleyes:
[Nexus S Android Development] asphantix:
That's very kind of you :victory:

I feel your pain dude. I passed through the same since AOKP let us turn our swagger on.
[Nexus S Android Development] :
Haha, the testimonials section is up: http://xdaforums.com/showpost.php?p=30539588&postcount=1698

Keep the testimonials rolling in guys!
[Nexus S Android Development] JokerAce:
Nuuuuuuuuuuuuuuuuuuuuuu *hides my face*
[Nexus S Android Development] towelboy:
So I just typed enabled swagger through terminal emulator, I still can't see how my phone just got swagged up O.o
[Nexus S Android Development] :
Check the commands you used are correct:

http://xdaforums.com/showpost.php?p=30539588&postcount=1698
[Nexus S Android Development] towelboy:
Yeah I used the one to enable it, and also should I put any spaces in between the command? First time using the terminal emulator, can't wait to see what swagger does :D
[Nexus S Android Development] :
The only spaces needed are after echo, 1, and >
[Nexus S Android Development] alen1901:
For me, v3.5 is still the smoothest and fastest kernel. 4.3 stable is not that good. Hm

Sent from SpeedMachine i9023
[Nexus S Android Development] :
Even if you can't get init.d to work in the stock ROM you could work around it by renaming your init.d script by adding .sh on the end. Then use root explorer to create a shortcut. It'll put an icon on your desktop that you can use to execute the script manually once you've booted.
[Nexus S Android Development] :
Have you tried enabling swagger?
[Nexus S Android Development] JokerAce:
*Swagging into the room.."

Mr Bedalus, may I know what gov are you using? And I demand your init.d script as a template for me (smartassV2 preferred).

"Swagging around"
[Nexus S Android Development] towelboy:
Ok I just enabled and rebooted but I don't see a difference? :confused: sorry for being such a noob!
[Nexus S Android Development] :
I see swagger is working well for you :D I use the default settings, i.e. ondemand, deadline.

I think I uploaded my init.d script somewhere earlier. I'll see if I can find it. I'll post the link here if I can find it.
[Nexus S Android Development] :
No problem. Just find a body length mirror and walk towards it.
[Nexus S Android Development] towelboy:
I now know what it means to have swag :D
[Nexus S Android Development] JokerAce:
I found that during a search. But thought you might have use smartassV2. :D
[Nexus S Android Development] :
I would if i was playing a game.
[Nexus S Android Development] kancrutt:
i cant find "Touch wake" in any ICS & JB kernel. any chance?

Sent from my Robot Ijo
[Nexus S Android Development] JokerAce:
Can I use the template from here? For the smartassV2. The codes seems very little tho..
[Nexus S Android Development] :
I'm not adding it. I set my screen timeout to 5 mins, which is just as effective.

I'm surprised no one else has added it though.
[Nexus S Android Development] :
Oh, sorry, i misunderstood your original question. You need:

echo smartassV2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

...in the script.
[Nexus S Android Development] Kitch16:
I was gunna complain about video playback not working, then I was a good boy and read the OP :) Great job with the kernel
[Nexus S Android Development] :
You may have been one of the 3 or 4 unlucky ones who downloaded the first link i posted. The updated link includes the patch. But well done anyway for referring to the OP first before posting!
[Nexus S Android Development] JokerAce:
Swagger think you can help me see if my code will work alright?

#!/system/bin/sh

echo smartassV2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo deadline > /sys/block/mtdblock4/queue/scheduler
echo deadline > /sys/block/mmcblk0/queue/scheduler
echo 0 > /sys/class/misc/backlightdimmer/enabled
echo 0 > /sys/class/misc/backlightnotification/enabled
echo 0 > /sys/class/misc/backlightnotification/in_kernel_blink
echo 0 > /sys/class/misc/backlightnotification/max_blink_count
echo 0 > /sys/class/misc/backlightnotification/blink_finalstate
echo 95 > /sys/class/misc/batterylifeextender/charging_limit
echo 800000 > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq
echo 800000 > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq
echo 800000 > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq
echo 80 > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load
echo 45 > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load
echo 200000 > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step
echo 400000 > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step
echo 20000 > /sys/devices/system/cpu/cpufreq/smartass/up_rate_us
echo 40000 > /sys/devices/system/cpu/cpufreq/smartass/down_rate_us
[Nexus S Android Development] :
Seems fine, but if you are using the default values for smartass, then they don't need to be in the script.
[Nexus S Android Development] JokerAce:
Oh.... those are what I found as default. Are those values the jewels of your research? :D
[Nexus S Android Development] gmorel4:
Is there anything the comes up to prove that swagger is on?
[Nexus S Android Development] JokerAce:
I can't get the script to work with smartassV2. It keeps reverting back to Ondemand, and when using CPUSpy, it says "Error" for the scaling frequency. And boot time was very long too. I removed the script for now.

I also removed the default values from the script. Take a look at a attached, let me know if you know why. Else, I am gonna suspect it's ROM.

P.S. does it matter which information are "echo" into the same first? I noticed the NStools scripts had scaling freq echoed last, but for me I bring it forward.. Does it matter?
[Nexus S Android Development] JokerAce:
Your phone and yourself will start to swagger vigorously.
[Nexus S Android Development] Articudos:
IMO, users are not familiar with scripts, so New nstools or marmite controler is definitely needed:D

BTW, I cannot feel swagger effect;)

Just got SoD in V4.3, but couldn't get last_kmsg, because I pulled out battery. Adb reboot didn't worked also.

But I guess this is ROM issue...;)

BTW, I changed my username..
[Nexus S Android Development] Jamalsid:
Just got a reboot with v4.3. Didn't get a last_kmsg sorry! Will try if it happens again.
[Nexus S Android Development] jojoost:
Problem with Swagger is, is that the CPU frequency is being kept high at 1000mHz, so the full idea behind "project Butter" is gone because the idea was to keep the frequency low when you when you're not needing it, and pump it up when touching the screen, to save battery, with Swagger, the frequency is always high, so there's a lot of battery waste... Great idea Bedalus, but not something for me.
[Nexus S Android Development] alen1901:
Nope. I dont swag. Me and my phone are cool the way we are. v3.5 FTW. :D

Sent from SpeedMachine i9023
[Nexus S Android Development] kwibis:
The swag of this kernel is really showing off :D first time that I got these stats with jelly bean AND SO SMOOTH.
[Nexus S Android Development] towelboy:
You can change your name? :eek:
[Nexus S Android Development] asphantix:
had just a reboot with v4.3. Too bad I'm too dumb to get the kmsg (adb won't let me, I think it's because that adb secure thingy). last_kmsg had nothing special in it.

Anyways with 4.2 I never had a single reboot.
[Nexus S Android Development] alen1901:
Just to share this. :)

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

Sent from SpeedMachine i9023
[Nexus S Android Development] :
When you look in the mirror, do you now have Gold Teeth? If so, swagger is on.

You can also take out the max frequency line, because the default max is the same. It does matter what order you do things sometimes, like if you set the frequencies you want, then set a new governor, the frequencies would be set to the defaults.

I bet it wasn't a SOD. I bet if you'd waited long enough, it would have woken up. I had the same thing happen once. Possibly a ROM issue. Not sure though.

If your phone is stuck at 1GHz, this is not a swagger issue.

Immediately after you have a reboot, try to copy the last_kmsg to a zip and upload it.

This reminds me of when Ezekeel published a toolchain myth-busting thread. Also thalamus pointed out that LCD UV is pointless somewhere in one of his threads. It's nice to see useless-crap-removal being tested, although afaik no-one claimed that would improve anything, except annoying clutter.

When I was regularly benchmarking stuff, I also liked to repeat the tests. There tends to be some variability in tests because the OS may be doing stuff behind-the-scenes, and it interferes with getting a pure result.

I personally always run tests over-and-over until I see the mean and the median converge to within 1% to establish confidence that my data is normally distributed. Then I can use standard deviations to predict expectations. 2 standard deviations allows you to predict what result you would expect 95% of the time. 3 SDs would give 99.7% of the time.

Incidentally in the test I ran for CFQ vs Deadline, Deadline wins using 2 SDs, but CFQ just edges into the lead at 3 SDs due to its excellent consistency.

If anyone is interested in how benchmarking ought to be done, I wrote a thread about it: http://xdaforums.com/showthread.php?t=1478384
[Nexus S Android Development] Blackcrx:
anyone know what causes "Android OS" wake locks? kernel or rom? getting 25% of battery usage
[Nexus S Android Development] :
I think it must be a ROM issue, because I've only got 25 minutes of Android OS usage for 22 hours uptime, 1h30m screen on time.
[Nexus S Android Development] Blackcrx:
I got 9 hours of up time and Android OS shows 20m CPU and 35m keep awake, 25% battery usage. Rebooted and tried fixing permissions in CWM, not sure if that did anything tho. I guess I can wait till tomorrow and see if it settles. It was around 10-15% before when i was on marmite 4.2 and matrix 22.5

must be that extra swagger
[Nexus S Android Development] :
My Android OS is not showing any time for keep awake. My Android System has 'keep awake', but the OS has only CPU.
[Nexus S Android Development] Muvolt:
Got v4.3 with Androxide 3.1 for 7 hours...everything runs ok...but it's a little slow..is it possible to make a 65fps version like r_data did with air kernel?
[Nexus S Android Development] :
Sorry, that's a battery killer.
[Nexus S Android Development] Muvolt:
You can build an optional version if that's not too much work...Air kernel with 65fps was never a battery killer for me though...
[Nexus S Android Development] :
This is a personal project. I'm just sharing. I'm happy to hear suggestions, but be prepared to get a no.
[Nexus S Android Development] Muvolt:
:laugh: Ok Bedalus! You make nice kernels anyway! Thanks!
[Nexus S Android Development] sdhanjal15:
Bedalus? Just wondering....can you quickly look at the new morfic colors ? Hes updated them for jb just wondering
[Nexus S Android Development] kancrutt:
there is a quick way to add this feature? :cowboy:
[Nexus S Android Development] rrohanjs:
would swagger work on miui jb rom ? even i want that walk :D
[Nexus S Android Development] xjerlzx:
Is there an actual performance increment with swagger? Actually I still don't get what it is
[Nexus S Android Development] irishrally:
No, it's a played out joke that just got revived.
[Nexus S Android Development] xjerlzx:
Ohh haha kk thanks
[Nexus S Android Development] sidnoit22:
Good work with 4.3 just came from AIR KERNEL and marmite is lot smoother and SWAG SWAG SWAG SWAG. :cool:
[Nexus S Android Development] caliban2:
I'm starting to get "slightly" annoyed by the word "swag"... :p

Nothing bad to report with 4.3 since release.
[Nexus S Android Development] pan1980:
bluetooth doesnt work for me too.

slimics and 0.9 kernel here.
[Nexus S Android Development] caliban2:
Bluetooth still broken on v0.9.1.
[Nexus S Android Development] Icecoldmeat:
Yep, but I don't care that much.

Sent from my Nexus S©
[Nexus S Android Development] :
Ok, I'm going to look at Bluetooth once smartass is sorted.

EDIT: https://groups.google.com/forum/?fromgroups#!topic/android-building/vxlhnJUW3_U

The answer is here... I just need to do a little fix to bring bluetooth back I think.
[Nexus S Android Development] :
I think cfs is probably worth including. I'll look into it.