yashsingh1/xdaforums huggingface dataset:
[Nexus S 4G Android Development] badhairguy:
I've tried every possible combination of governor and scheduler, I've tried stock clocks, stock bus speed and clock of 1460MHz, and up to 105 (1533MHz). I was off work for the day and stuck watching my infant son so I had nothing better to do except for try different settings.

I was trying to do a direct comparison with my old quadrant results, so I repeated each of the settings 4-5 times in a row to get an average, rebooted and tried another 4-5 times, and even tried disabling all my widgets, live wallpaper, and force closing background application. The best quadrant score I could muster was at 105% overclock/1533MHz, vr scheduler and performance governor and it was 2700 with an average of 2575. On 17.5, I could get consistent 2800s, but I digress.

The real issue is with the UI lag. While it is not constant, I am very attentive to how the phone runs and with 18 I am seeing stuttering while switching homescreens, 1-2 second freezes in the messenger apps, slight stuttering in the launcher, and the on screen keyboard stays on screen for 1-2 seconds after I hit the home button (the wallpaper and icons load behind it though).

It isn't causing me anxiety or heart attacks or anything, I just thought I would share my experience. And to answer a previous question, I am very happy with the stock experience that this rom gives me, but I am not attached to it per se; I just don't really like all the clutter that most of the other roms add.
[Nexus S 4G Android Development] Skunk Ape1:
If I were you I would do a cwm backup of your system and give the rom I'm linking to you a try. I find it very smooth and I'm normally under clocked to 800 and it is still almost butter... But if you demand speed you would be better off on gingerbread as all ICS roms have some stutter.

http://xdaforums.com/showthread.php?t=1486202
[Nexus S 4G Android Development] chalan30:
I'm using selective live oc at 105 with my low target at 10000 and the high target at 1200000. Stock voltages. What are you setting your max frequency at?
[Nexus S 4G Android Development] chalan30:
I don't know which other roms you've tried but along with skunks suggestion, I'd recommend bugless beast for a good stock ROM replacement. He generally doesn't add many frills. And his roms are super clean. My surprise experience has certainly been codename 1.5.5 even with all the options its really fast for me in terms of ui smoothness, and you can turn off or just not enable most extra features. Full wipe is necessary though. I'm currently playing with aokp 28 matr1x cfs ondemand 105/1050 and its been really smooth, I really like the option to reduce the milliseconds to wait to rotate the screen. This makes it seems even faster.
[Nexus S 4G Android Development] Skunk Ape1:
I think live overclock sucks... The only use it has for me is when I want a little more than the 1460. and only for bench marking.
[Nexus S 4G Android Development] Shadow Death:
To worry over a 100-200 drop in points in a Synthetic benchmark program is kinda... ehh.... Synthetic benchmarks don't have any reflection on real world usage or gaming. This applies to desktops, laptops, and mobile devices. Synthetic benchmarks are designed for one thing.. stress test the crap out of what you run it on. Games and software intended for every day use are designed, most of the time, to be fast and stable. They are typically streamlined to run as smooth as possible on your machine or device. 100-200 points in a Synthetic benchmark wouldn't really be a noticeable impact in your every day usage of the device.
[Nexus S 4G Android Development] chalan30:
change swap file size

if i want to change the swap file size, as in make it smaller like 100 Mb instead of 200, could I just change that one line in the script from 200000 to 100000 and delete the current swap file and reboot?
[Nexus S 4G Android Development] Skunk Ape1:
Sounds like it would work. If you try it and it works, be sure to post the results.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] chalan30:
playing around i stumbled across this little command

su

swapoff /data/swap

and guess what? it turns swap off...... mind=blown

lol
[Nexus S 4G Android Development] mixtapes08:
What happen to your system now?
[Nexus S 4G Android Development] chalan30:
100 Mb swap file

This is what i did to make my swap file smaller. it wouldnt stick just by editing it on the phone so i started playing around.

To stop swap from running i ran the following

su
swapoff /data/swap

then i deleted the swap 55swap script in init.d and the 200mb swap file in data/swap. Next i connected the phone to my comp and opened the Matr1x 18 cfs kernel zip (double click, NOT UNZIP) with win rar and browsed to the swap file in mathkid's kernel located in system/etc/init.d and then i extracted just the swap file to my computer and added .txt to it so i could edit it as a text file (I deleted the original 55swap from mathkids kernel right inside winrar so that only .DS_Store remaind in init.d). so the swap script now looks like this:

#!/system/bin/sh
#
# 55swap - creates /data/swap (if necessary) and enables swap
# Also adjusts minfree accordingly. Swap file is [B]100MB[/B]
#
if [ ! -f /data/swap ]; then
busybox dd if=/dev/zero of=/data/swap bs=1k count=[B]100000[/B]
busybox mkswap /data/swap
fi
swapon /data/swap
echo "500,1000,20000,20000,20000,25000" > /sys/module/lowmemorykiller/parameters/minfree

I only changed two things. "Swap file is 100MB" and 'count=100000". i wanted to test 100 mb so its the count is 100000.

I then removed the .txt extension of the script i edited so it was just 55swap again and dragged it right onto the open winrar window and placed it back inside of system/etc/init.d in place of the one i deleted (right next to .DS_Store). then after it was done i exited winrar. The kernel never came off of phone, only the swap script that i extracted and edited. so after this was done i just exited winrar and booted into recovery wiped dalvik cache as always before flashing and reflashed the kernel. Now when i run the free command from terminal i see my nice smaller swap file running.

peace

davey

PS. im sure theres an easier way so more advanced ppl please tell me how lol!

---------- Post added at 02:00 AM ---------- Previous post was at 01:57 AM ----------

nothing really. This just stopped the swap script from using the swap file.

This turns swap back on

su
swapon /data/swap
[Nexus S 4G Android Development] TransWarp:
You can use adb push to copy the edited file from PC back to the phone without reflashing. Or, grab Android Commander, which is pretty useful when I'm feeling lazy! androidcommander.com
[Nexus S 4G Android Development] SA-07:
v18.5 coming soon!
[Nexus S 4G Android Development] NS4G.John:
EDIT: I hate you. Haha. I can't wait!
[Nexus S 4G Android Development] SA-07:
Check my edit lol... I was trying to prank chalan.. but it backfired ;)
[Nexus S 4G Android Development] chalan30:
hahahahahaha why are you messing with us MK? lol!!!!!!!!!!!!!1

---------- Post added at 02:12 PM ---------- Previous post was at 02:11 PM ----------

DOOOOOOOD!!!!!! hahahahahahaha lol good one!!!!!!!!!!!

---------- Post added at 02:13 PM ---------- Previous post was at 02:12 PM ----------

prank failed! lol
[Nexus S 4G Android Development] Skunk Ape1:
You're a real funny guy MK....:D
[Nexus S 4G Android Development] ArnoutVos:
Same here. Today, I got 3 serious freezes: the phone hangs for 10 seconds to 1 minute, no screen updates. Luckily I got CPU Overlay turned on, and just before and right after the freeze I noticed that the mmcqd was the first or second process ordered by load.

This process is related to the (internal) SD card.

When I returned home I did a adb shell session and noticed the mmcqd process had sometimes the "D" status (which means it's waiting on IO, IOWait).

I'm not sure this is a symptom of a bad internal SD card (then I'm screwed). Or is mmcqd also used for writing to the /data partition?

After a reboot the phone is always fast and has no lag. After a few hours it starts to slow down. After 24 hours it's that slow that a reboot is required to make phone calls in a normal way.
[Nexus S 4G Android Development] chalan30:
which rom and which scripts are running?
[Nexus S 4G Android Development] NS4G.John:
You may just be screwed :(

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

This person problem was solved by switching SD cards. Unfortunately we don't have that option.

I'd call sprint and get insurance if you don't already have :p.
[Nexus S 4G Android Development] ArnoutVos:
CNA (Codename Android) 1.5.5. No scripts (I think?), just the defaults from the ROM.

Today I got another freeze. It started with a responsive phone. Then I started Google Maps (which is for me the test for this problem).

After that, for minutes the phone was totally unresponsive. Screen stays off even if you press the power button. Sometimes the screen gets one single update, which is not enough to make it readable. Multiple ANR's in Google Maps.

root@android:/ # uptime
uptime
up time: 16:09:00, idle time: 09:31:17, sleep time: 04:38:16

I noticed that besides mmcqd, also kswapd/0 is at the top of the process list (CPU Overlay, ROM feature). mmcqd and kwsapd/0 were fighting for the first position in the process list. A lot (30 or more) other processes were running (far more than normal).

And then from one second to another, all lag has gone and it's like nothing happened, kswapd is not showing up and mmcqd is sometimes showing up but at the bottom of the list (which is normal I think).

So that brings me to the topic of swapping. And indeed, a massive amount of memory is swapped out:

root@android:/ # free
free
total used free shared buffers
Mem: 362048 356732 5316 0 1980
-/+ buffers: 354752 7296
Swap: 199996 121772 78224

Which commands should I use to further investigate this problem? Maybe this is not SD card related, but a memory leak or something like that?
[Nexus S 4G Android Development] Shadow Death:
What you are experiencing sounds like the sleep of death. Try bumping the min clock speed from 100 to 200.

Sent from my Nexus S 4G
[Nexus S 4G Android Development] dscatto:
So, I'm not the only one! I haven't tested anything in depth, but my phone does the same thing! It happens, 9/10 when running more than one thing. For instance, if I'm listening to music & a call tries to come through, or I'm using navigation & I want read read a new text. When I do a fresh install of a ROM everything runs great but then things start to slow down, considerably! It's happened to me on CM9, Crossbonnes, & AOKP (which is what I'm currently using). I've also tried various kernels & it happens with those as well, much less this one, but still happens. The only difference between your experience & mine is that a reboot doesn't help my cause. It only seems that after my phone gets to a certain point where it is so slow that it's basically unresponsive & I have to pull the battery because I'm waiting forever for the phone to do anything, that the phone becomes quick again & the cycle starts all over. I'm just glad that I'm not crazy or the only one!
[Nexus S 4G Android Development] TransWarp:
I had similar issues with CNA 1.5.5 and Matrx 18.0cfs. It was weird how the phone would go into death mode for 30-120 seconds and wouldn't respond to anything. But then it would mysteriously come back to life. There were also a lot of FC's and WinAmp just wouldn't play without sounding like a scratchy record. I flashed 17.5cfs last week and the phone's been running great.

I flashed 17.5 before chalan30 posted the command to disable the swap feature. I would've tried that first if I was still running 18.0.
[Nexus S 4G Android Development] Killasmoke:
Go to your settings click on developer opinion & see if you have don't keep activities box checked if you do unchecked it & reboot
[Nexus S 4G Android Development] SA-07:
I'm thinking of getting rid of swap for 18.5. What's the consensus ;)
[Nexus S 4G Android Development] enosh816:
I would say ditch it.
[Nexus S 4G Android Development] tommy0823:
Dump it. I've had some issues w only v18. Every one before that was great.
[Nexus S 4G Android Development] SA-07:
Final decision: goodbye swap
[Nexus S 4G Android Development] Sc4ryB3ar:
If you get rid of swap, dies that get rid of zram?
[Nexus S 4G Android Development] SA-07:
nope
[Nexus S 4G Android Development] Sc4ryB3ar:
Cool :)
[Nexus S 4G Android Development] theSlack:
Eagerly awaiting 18.5.
[Nexus S 4G Android Development] Skunk Ape1:
Lol... I think you just made a bunch of guys happy...

____________________

Just Flash It !!!
[Nexus S 4G Android Development] w8setter:
Yes he did...

Teabaggin drob311 4 tha hell of it
[Nexus S 4G Android Development] NS4G.John:
I haven't had any of the issues anybody's had. No skipping music or freezing clock no performance decreases or anything.

Its so strange that some people have issues and others don't.
[Nexus S 4G Android Development] treyweez11:
Sounds extremely gay lol. Btw 18.0 is running good on miui v4
[Nexus S 4G Android Development] Skunk Ape1:
Not as gay as that damned pink ass unicorn that used to be the kangs boot animation... :D

____________________

Just Flash It !!!
[Nexus S 4G Android Development] treyweez11:
Lmfao no not as nearly gay as that. I remember the first time i flashed that kang stuff . As soon as I seen that gay ass horse I pulled my battery and flashed GOMEZ's LOTA lol
[Nexus S 4G Android Development] dragas89:
So....Version 18.5? Just sayin...take your time, but hurry up! ;)
[Nexus S 4G Android Development] SA-07:
please stop doing that...I'll release when I get time
[Nexus S 4G Android Development] treyweez11:
Ooooooohhhhhhhhhaàaawwwwwww. Laid the smack down on yo candy assssss lmfao.
[Nexus S 4G Android Development] dragas89:
I was hoping for
[Nexus S 4G Android Development] JohnCorleone:
So will this be the first kernel with fast charge added in? :)
[Nexus S 4G Android Development] chalan30:
it might seem funny but its really not funny to ask for updates and ETA's. Its really an unspoken rule you just dont ask. Especially since MK is in school and busy as ****, and he actually reads his threads and wants to avoid user issues. It takes time because he wants to put out a good product. Keep that in mind please.
[Nexus S 4G Android Development] jamesrenn:
Not sure which ICS ROM and Kernel to install

Which ROM are you using ?

I'm using the CyanogenMod-7.1.0.1-NS4G with the built in kernel based off of the 2.3.7 Rom and it's pretty good.

I would like to try out ICS.

Thanks,

James
[Nexus S 4G Android Development] bearsblack:
Funny u say this. I rooted and installed aokp on a friends ns4g yesterday and scared him saying I think u got a virus now on the boot ani... lolol.

Free bump :)

.kang
[Nexus S 4G Android Development] stellar:
Damnnn that post you quoted was from November! Lol :) I think he sold his NS if I remember a thread about it right haha. But if your looking for a good ICS ROM try CodenameAndroid :D
[Nexus S 4G Android Development] SA-07:
Looking for a tester that knows how to use fastboot and adb. Pm me email id
[Nexus S 4G Android Development] SA-07:
18.5 most likely coming out tomorrow
[Nexus S 4G Android Development] NS4G.John:
Looking forward to it!
[Nexus S 4G Android Development] Snuffalofagus:
Same here. I'm getting enormous amounts of lag on 18.0. I believe its a kernel problem, but I'm not entirely sure. Its never happened before. We'll see in the next release
[Nexus S 4G Android Development] SA-07:
Which is why I said I'm disabling swap.
[Nexus S 4G Android Development] travisd4est:
I've never had any issues with 18.0 Or any to be honest. Math, your kernels are the only ones that actually get along with my ns4g haha. never boot loop or froze. (that wasnt user error)

Loving your work man.
[Nexus S 4G Android Development] vinnypel2ella:
Anyone using this with gummnex 0.9.0? Do you also have UI lag? I was using v18.0 with EliteMod and it ran better than any other ROM I've tried. Looking forward to v18.5!!!
[Nexus S 4G Android Development] JohnCorleone:
What's EliteMod?
[Nexus S 4G Android Development] vinnypel2ella:
Remember the first gummynex that mobile_sensei posted in the 4g dev forum? Well he started putting his own mods and stuff in the gummynex rom so I think kejar wanted him to change the name and he named it EliteMod. It was the rom with the glowing blue accents to certain UI elements and on screen buttons. It was a great rom, really quick, awesome looking, a ton of customization settings, and so so smooth!
[Nexus S 4G Android Development] JohnCorleone:
Damn, I don't know if I ever got a chance to try that! I have to search my archives. If I don't have it, I may PM you to ask for a link if it isn't too much trouble
[Nexus S 4G Android Development] Skunk Ape1:
Damned... You'll flash anything won't you? :D

That's alright, so will I.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] SA-07:
Don't be a hypocrite now... look at your sig ;)
[Nexus S 4G Android Development] JohnCorleone:
Edited....thanks MathKid!
[Nexus S 4G Android Development] SA-07:
Yessir! Or some roms have it built in (like aokp)
[Nexus S 4G Android Development] JohnCorleone:
Damn you are quick! Lol...you beat my edit
[Nexus S 4G Android Development] Snuffalofagus:
So.. (might be stupifquestions, but) what are the schedulers for? What do they do? Do they have an effect on the battery and/or performance?
[Nexus S 4G Android Development] derekwilkinson:
google it

.......
[Nexus S 4G Android Development] Sc4ryB3ar:
Where did the zram option go?
[Nexus S 4G Android Development] SA-07:
Oh yeah I got rid of that...
[Nexus S 4G Android Development] Sc4ryB3ar:
Bummer, I like how extra zippy it made it :) although that being said, this is very nice and zippy! Thanks :)
[Nexus S 4G Android Development] JohnCorleone:
I am seeing the same...feels very snappy
[Nexus S 4G Android Development] stellar:
Very smooth indeed, does the fast charge mod only work when in USB charging or is it universal(wall plug ins)? Thanks for the kernels MK! :)
[Nexus S 4G Android Development] chalan30:
fastcharge has worked for me best on codename 1.5.5 (and nightlies) bc CNA has an actual toggle whereas AOKP you have to reboot to enable and disable fastcharge. Gummy and others without the built in option you will have to use a widget like the one from fastcharge's developer chad0989, or change the values manually or with a script.

https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5pbmNyZWRpY29udHJvbC5mYXN0Y2hhcmdld2lkZ2V0Il0.

---------- Post added at 07:06 PM ---------- Previous post was at 07:03 PM ----------

only while plugged into USB... then it makes the USB charge fast more like a wall (AC) charger. But i noticed that it varies between computers. for instance, it wont charge at all on my rinky dink mini form factor computer at work but it works great on the USB on my big ass home computer.
[Nexus S 4G Android Development] vinnypel2ella:
No prob
[Nexus S 4G Android Development] rift999:
Lol MK I can always count on you releasing a new kernel the night before an exam. A great way to procrastinate....
[Nexus S 4G Android Development] NS4G.John:
Same here haha. But its a great way to procrastinate!!
[Nexus S 4G Android Development] tommy0823:
running great. Thanks m.k. great kernel as always.
[Nexus S 4G Android Development] chalan30:
Testimonials from real live Matr1x 18.5 users:

"Before Mathkid's kernels came along my phone was like a go cart, now its more like a koenigsegg agera"

"The only thing better than a Matr1x kernel....... is another Matr1x kernel 18.5 CFS FTW!!!!!!"

"Matr1x 18.5 is even better than se.........."

okay okay enough joking around. Freaking nice work again Shankar!
[Nexus S 4G Android Development] dscatto:
So far so good! Seems to be running a lot better! Let's hope it stays that way! I'll know for sure after a week or so.
[Nexus S 4G Android Development] w8pusha:
Well this a very noticable increase in performance damn!

>The reincarnated w8setter<
[Nexus S 4G Android Development] Spectra20:
Alright, so its time I jump in.

After lots of reading, and trial and error, i installed CNA 1.5.5 and matr1x 18.0 using CWM.

After seeing 18.5 released I gave it a go which brings me to my first post.

I downloaded 18.5, copied it to the sdcard.

Booted up into recovery, wiped Dalvik cache and selected the 18.5 kernel.

Then this:

E:Can't open /sdcard/Matr1x-bfs_v18.5.zip
(bad)
Installation aborted.

Normal for a bad download? Just get it from a mirror? Something I am doing?
[Nexus S 4G Android Development] SA-07:
Yeah bad download
[Nexus S 4G Android Development] Spectra20:
That was it. FWIW, Had to go to a mirror, the files from the site (yours?) weren't coming down entirely.
[Nexus S 4G Android Development] Skunk Ape1:
I got it from his site 1.5 hours ago and had no issues....

Edit... Oh NO!!!! My phone is bootlooping like crazy..... Must be the bad download!!! Oh ****!

Naaa... Just Kidding.... This kernel is working marvelously, absolutely marvelously!

Great Work MK!!!!!
[Nexus S 4G Android Development] chalan30:
i got a bad download once, so i spanked it and it started behaving...
[Nexus S 4G Android Development] travisd4est:
Loving this! Great job man.
[Nexus S 4G Android Development] SA-07:
Thanks! ;)
[Nexus S 4G Android Development] BigUps:
Download kept failing on my phone, but persistence paid off and it finally worked. Very snappy kernel. Great job MK.
[Nexus S 4G Android Development] travisd4est:
The gf is jealous lol she wants this kernel. Smart girl. Sad she's on the evo
[Nexus S 4G Android Development] SA-07:
You could let her borrow your phone hahaha
[Nexus S 4G Android Development] bpd1069:
Tight tight tight!!!
[Nexus S 4G Android Development] NS4G.John:
It lagged on first reboot, but then I rebooted again, and what do you know! I hit mach speed! 18.5 ROCKS MK!! Did this delete my swap file, I know you disabled it, but i cant find the swap file on my phone to delete it, because if i remember right it was 200mbs and I don't need it floating around.
[Nexus S 4G Android Development] chalan30:
look in /data if its not there its gone
[Nexus S 4G Android Development] travisd4est:
hahaha naw. she can wait till i upgrade to the one that has LTE on it lol. then she can have this.
[Nexus S 4G Android Development] MrDrumngun:
So how much faster is the charging now with 18.5?
[Nexus S 4G Android Development] travisd4est:
well i personally havent stop watched it yet but i noticed a change. I got the incredicontrol wig. also.

:)
[Nexus S 4G Android Development] Moecephus:
I was running 18.0 and no disrespect, but it was pretty laggy and tended to randomly reboot alot....but THIS version is blowing the cover off my phone!!!!! I'm like a little kid right now!! Thanks for bringing my phone back to life
[Nexus S 4G Android Development] tommy0823:
Great kernel mathkid. Been running it since yesterday, and 0lag, super snappy, and very responsive. Great job as usual.:cool:
[Nexus S 4G Android Development] skyheli:
MathKid95... This 18.5 is amazing on my phone. I had all kinds of issues with 18. This 18.5 makes the phone so smooth with no errors like I had before. Much Thank YOU's !!!!
[Nexus S 4G Android Development] jeffreynothing43:
I actually totally agree...this is a huge difference from 18. Awesome kernel!!
[Nexus S 4G Android Development] Epic_VS:
Is this compatible with cyagenomod 9 v4(4.04)?
[Nexus S 4G Android Development] SA-07:
Yea
[Nexus S 4G Android Development] jaestreetss:
been running this for about 4 hours and its better than 18 but 18 was already good.... so does it get better than this mk?

sent from my so icey ns4G
[Nexus S 4G Android Development] enosh816:
great kernel.....as usual.

I'm having a brain fart. where do i find the settings for the usb charging thing.
[Nexus S 4G Android Development] derekwilkinson:
https://play.google.com/store/apps/...5pbmNyZWRpY29udHJvbC5mYXN0Y2hhcmdld2lkZ2V0Il0.