yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] fiddy619:
This is a known Linux speed tweak, and i found it on the epic 4g thread (my son has one, and I loaded CM9 on his phone) that was started by marcusant. So, i'm really just sharing the info with the Evo community, but I truly think it is quite valuable info, and will likely work on any Android based device since as stated earlier it is a Linux tweak. This has only been tested on ICS, and GB, but I'm pretty sure results will be the same with Sense...

This is what i did, and for those of you that want to add it yourself, just add this code...

net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1

to a file sysctl.conf (you can use root explorer to make a new file, or whatever file manager tool you like) then using root explorer copy the file and navigate to /system/etc/ mount as r/w and rename the original sysctl.conf file to sysctl.conf.bak, then paste the one you originally copied (you can add the lines of code to the original file if you are using a edited one already). Then change ownership to root/root, and permissions to rw/r/r, then mount back to r/o, and exit root explorer, and reboot. If it works you should notice your browser opening pages faster, the market much faster, and of course speed test will be faster.

I was pm'd this as a way to get this properly working on ICS. Thanks ratkiley

This is highly unlikely, but if this somehow breaks your device I am in no way responsible... Just had to put that out there...

For ICS users you might need to use THIS method, or you can update your services.jar file HERE (compliments of Papa Smurf151 Thread).

Flashable Zips are below...
[EVO 4G Android Development] sclarktay4:
/system/etc/ does not seem to be the location on Sense based Roms. Do you have any information on where it is on Sense Roms?
[EVO 4G Android Development] mkc90:
Can somebody make it a flashable zip:)))
[EVO 4G Android Development] fiddy619:
I'm currently not using a sense rom, but i will see what i can find...
[EVO 4G Android Development] fiddy619:
Added a flashable zip, Let me know if you have any problems.

Forgot to sign the zip, should be good now...
[EVO 4G Android Development] Sinyc:
So just flash, how would we undo? Just make a backup of the original file?

Thanks.
[EVO 4G Android Development] fiddy619:
I extracted a sense rom (Derps), and i did see a /system/etc directory, however, i did not see a sysctl.conf file. You could try putting the file in that directory, and it may do the needed adjustments upon boot. Again, i'm not a sense user, but It is still a linux base, so the adjustment "should" still be possible...
[EVO 4G Android Development] fiddy619:
I'll make a undo .zip, just give me a minute...
[EVO 4G Android Development] HipKat:
Cool beans, Fiddy., I was gonna create the file, but you just saved me time and that's always a good thing
[EVO 4G Android Development] fiddy619:
OK, both flashable zip, and flashable undo zip are in the OP. The flashable zips are based on a stock file, so if you are using a modified sysctl.conf file, this will set you back to stock, so I would suggest just adding the lines manually if you are using a modified sysctl.conf file. You can easily check this by just navigating to your /system/etc/ location with a file manager (i suggest root explorer), and just checking the size of your sysctl.conf file, if it is 0kb, then it is stock, and flash away. If it has any size value at all, then it is modified in some way, and as stated earlier I would suggest manually modifying your file.
[EVO 4G Android Development] Sinyc:
Tried flashing and said aborted, can't find update script or something along those lines.
[EVO 4G Android Development] fiddy619:
I'll check it out in a few, gotta go pick up the wife...

Just uploaded some new ones, give that a shot...
[EVO 4G Android Development] storm68:
Just now flashed and aborted on me also... Hhhmmm, any ideas?
[EVO 4G Android Development] fiddy619:
You could try toggling signature, that should get it working, but I'm not with my computer right now, so I'll have to look into it later. Sorry about that, if anyone wants to make a flashable zip in the mean time i'de appreciate it.

Sent using my Cyanogized Monster EVO via Tapatalk 2
[EVO 4G Android Development] storm68:
Yeah that's the first thing I did but no go, thanks though.... :)
[EVO 4G Android Development] Diablo67:
This is what the file is for....

The sysctl.conf is a configuration file for "sysctl" which is an interface for dynamically changing kernel parameters in the Linux OS. The configuration file contains the following elements, vm.min_free_kbytes, vm.dirty_ratio, vm.dirty_backgroud_ratio, vm.vfs_cache_pressure, vm.oom_kill_allocating_task. There are many other elements within the file, but we will be primarily focusing on these specifically (the vm prefix stands for virtual memory). The sysctl.conf file should be located in /etc (/system/etc) by default. To enable it you need your ROM to execute "sysctl -p" somewhere during the boot process (or shortly afterward).

I havent found it in the system/etc/init.d folder on GB/Sense.It is in ICS system/etc./init.d folder though.
[EVO 4G Android Development] the.emilio:
Wouldnt that be similar to the kernel tweaks from Car o Dope?
[EVO 4G Android Development] Sinyc:
Its pretty much adjusting these values, with some ip4 tweaks too.
[EVO 4G Android Development] neno2323:
This happened to me also. So I checked my folder ( read op ) and sure enough my sysctl folder had something in it. SO I moved them per root explore and all is good..
[Android Q&A, Help & Troubleshooting] husnir92:
Hi!! I'm now using galaxy y s5360. These days my phone keep rebooting itself after i connect the phone to pc by usb. I'm afraid it is because the v6 supercharge thing thats make that way. Plez if anybody know something.
[Android Q&A, Help & Troubleshooting] RoberGalarga:
Remove SuperCharger (run again the script) and try again...
[Android Q&A, Help & Troubleshooting] XtrKiL:
If still doesn't work, run an adb logcat and paste it.
[Motorola Droid RAZR] brunswick000:
Does anyone have any idea exactly what could be deleted from the stock rooted 2.3.6 Rogers ROM. I want to get rid of as much MOTO and other bloat as possible. I have found with other phones that when you start deleting systems apps it can really mess with the phones operation overall.

Minor example would be my deleting the stock gallery in favour of Quick Pic. When in the camera app you can't view the pic from the thumbnail. It looks only for the gallery app. Minor. I've already deleted all the Rogers crap. I just want to get it as basic as possible without having to flash a custom ROM.
[Motorola Droid RAZR] blueis300:
this might give you a general idea. Its in the development forums.

http://xdaforums.com/showthread.php?t=1341770
[Barnes & Noble Nook Tablet] gorelow:
i installed cwm and cm7 is on the sd card definitely. i go to install zip from sd card and it just hangs on the screen with the orange circ arrow and the hat on it. when i flash with my phone it shows everything whether theres a zip file or not. does it matter that i have a 32 gb card?
[Barnes & Noble Nook Tablet] gorelow:
i just put it on my internal hard drive and flashed from there. i keep trying to tap the android and it wont respond the change language bar opens so i know the touch screen works and the android responds when touched but wont go to the next screen . any help?
[Barnes & Noble Nook Tablet] gorelow:
no need for help i just flashed again and it worked
[EVO 4G Q&A, Help & Troubleshooting] 88exp88:
I need a good gaming with good batterylife. Thanks in advamce .
[EVO 4G Q&A, Help & Troubleshooting] fitz420:
Reloaded? I don't think anything is lighter and faster. If u have a thing for sense id go with classic.
[EVO 4G Q&A, Help & Troubleshooting] 88exp88:
Reloaded is what I was thinking. I play games not meant for the evo like king of fighters android and mass effect infiltrator.
[EVO 4G Q&A, Help & Troubleshooting] Evocm7:
I don't believe one of those exist? :screwy: correct me if im wrong but these phones just can't good life with games
[EVO 4G Q&A, Help & Troubleshooting] 88exp88:
I wasn't hoping for amazing batterylife. And there are always governors like smartass and power saver.
[EVO 4G Q&A, Help & Troubleshooting] Evocm7:
That is true. But any modern sense roms that I used to use when I had my EVO just didn't offer performance or battery life. I love sense but performance and battery life just weren't there. Cm7 always played everything well for me and good battery life though
[EVO 4G Q&A, Help & Troubleshooting] fitz420:
That is true. With new governors like Brazilian wax and wheatley in mason kernel you have even more options for speed vs battery life. This setup of Mason+reloaded+vipermod is gonna get u the best bettery life and performance. I've flashed almost everything and highly doubt it'll get better.
[EVO 4G Q&A, Help & Troubleshooting] JollyGrnReefer:
You can get good battery life gaming on your EVO. You pretty much have only two options to choose from:

1. AOSP rom and use wheatly governor

2. Senseless 1.0 rom (Alter is the best) underworld kernel

Don't forget to use chainfire3D app, and try not to overclock unless you need the performance boost.
[EVO 4G Q&A, Help & Troubleshooting] 88exp88:
Just in case anyone was wondering I tried out all the sugestions . But be live it or not team dirts cm9 ran games the best. I was running gta 3 on medium setting smoothly.
[EVO 4G Q&A, Help & Troubleshooting] Firdosh:
I was playing fifa 12 on D.I.R.T's ICS 9 w/ mason v1.5, seemed pretty responsive and did not lag
[EVO 4G Q&A, Help & Troubleshooting] 88exp88:
yeah the ROM is amazing
[T-Mobile Samsung Galaxy S II SGH-T989] rastlin:
ok, heres one for you...my phone is stock (please dont laugh) and not rooted....i was messing around on it (like i normally do) and placed it back into my jacket pocket. The next time i removed it from my jacket pocket and turned it on i had noticed that it no longer vibrates. Now it didnt suffer any trauma, or any spills in fact i am really careful with it..moving on i reset the phone and nothing....pullled out the battery.....nothing...turned off haptic feedback and turned it back on.....nothing.....moved all the siders and made sure it was on max.....nothing.....pulled the battery yet again and still nothing.....i am not sure what the heck happened....i am open to any suggestions....
[T-Mobile Samsung Galaxy S II SGH-T989] _ice_:
Does your vibration motor click? If not it must be a software/ kernal issue. Root your phone, wipe, cleanse the kernel and flash new rom. My vibration motor went out on my old Nokia n95 and the vibration would click instead. And I never dropped it! Had to take the housing apart and saw that a small piece of plastic broke off and jammed the motor.
[T-Mobile Samsung Galaxy S II SGH-T989] rastlin:
No, it doesn't even do that....it does nothing as if I had it off.....I even ran a AA battery to the leads and nothing....I think it's time to make arrangements cause it had died...
[Acer Iconia A500] nicoled985:
Ive googled this and im just getting confused on how to unroot this thing. Im no stranger to rooting and flashing ( my samsung infuse 4g is rooted and flashed with miui) but i keep getting confused in these other threads
[Acer Iconia A500] NYYFan325:
If she wants to update and since the tablet is already rooted why not throw a recovery on it (if its not) and flash a custom ICS rom and give the better then stock performance?
[Acer Iconia A500] kakodemon:
But, what is your problem? When you do a OTA update, ull just loose ur root. Also, as said above, u should try a custom ROM, coz some of them are really much better than stock(like FLEXREAPER).
[Acer Iconia A500] dabl8:
If you put Cyanogenmod there is a setting to disable root for apps and/or adb
[Acer Iconia A500] ziggy34:
Check this thread, might be an easy way for you.

http://xdaforums.com/showthread.php?p=26618772
[Acer Iconia A500] nicoled985:
It won't allow her to update, keeps showing the bee and the triangle
[Acer Iconia A500] ultramag69:
So download Iconia root, install and run if you're on pre 3.2... Gives you the option to unroot...
[Acer Iconia A500] nicoled985:
I did but it says unable to unroot :(
[Acer Iconia A500] BrianDigital:
it might be more trouble than its worth, vache might have a stock rooted ICS update with root.
[Acer Iconia A500] mikerowes69:
This is about 3 builds back from ICS. Install the stock rom in CWM recovery and will put you back to complete stock. Then do the updates. :rolleyes:

http://www.fileserve.com/file/QMhMbFs/Acer_A500_7.006.01_COM_GEN2.zip

http://www.fileserve.com/file/QMhMbFs/Acer_A500_7.006.01_COM_GEN2.zip
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Not sure if it's me but figured I'd ask the community. Has anyone been getting worse battery life after flashing ICS? I came from UnNamed rom with Entropys daily driver and had about 40% after 17 hours on a daily basis (2 and a half hours screen time texting, web, XDA, etc)

Switched first to shostock 2, and ended up knocking down to 50% under 8 hours with the same amount of usage, flashed on over to phonebricker with siyah and same thing. Anyone else having similar drainage?
[AT&T Samsung Galaxy S II SGH-I777] BROKKANIC:
Currently running SHO2 V3. Battery lifes been great for me.

No more wakelocks. I can go to bed at 100% and wake up 8-10hrs later and be at 97%
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
I'm not getting any Wakelocks either. Battery's amazing when the phones locked. But it's the drain when the screens on that baffles me :confused:
[AT&T Samsung Galaxy S II SGH-I777] votinh:
Someone reported having superior battery life with ICS on Shostock, Bricker or AOKP.

I, in the other hand, never have a great life on it. Considering light usage, getting 20 hrs max (where I used to get close to 48 hrs) including roughly 2 hrs screen on and 2 hrs talk time. Not great at all, but not bad, I can survive.
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Exactly! I know others who all have these amazing battery stats yet for some reason I just don't. Couldn't figure it out for the life of me when I haven't been doing anything different. Was beginning to think maybe I'm just enjoying ICS a little too much and need to put the phone down..:D

Sent From This Thing in My Hand
[AT&T Samsung Galaxy S II SGH-I777] BROKKANIC:
Probably has a lot to do with the oled screen. It has to suck more juice than the standard lcd
[AT&T Samsung Galaxy S II SGH-I777] Fusion777:
I was getting 30+ hours a charge easily on GB if I sidestepped a few battery killers. I get nowhere near that on any of the ICS roms but it's worth every juice sucking second. I love it.

Sent from my iPad using Forum Runner
[AT&T Samsung Galaxy S II SGH-I777] mattdm:
So an i777 running Gingerbread has an LDC screen and an i777 running ICS has an OLED screen?

What you're saying is true, but it has nothing whatsoever to do with this thread.
[AT&T Samsung Galaxy S II SGH-I777] BROKKANIC:
Lol. You're right. Sorry, just one of those random thoughts that unfortunately made print.

Sorry for the blonde moment. :D
[AT&T Samsung Galaxy S II SGH-I777] Jive1983:
I second that, try shostock v3, I am getting similar battery life with shostock. V2 I used to get 15 hours now it gone up to 25-30 hours.
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Thank you very much for your input. I was running on shostock v2 and was unhappy with the battery life. I'll have to look into V3 since I haven't tried it. I'm currently on phonebricker and Its gonna be hard leaving the kitchen app...tough decision

Sent From This Thing in My Hand
[AT&T Samsung Galaxy S II SGH-I777] tqian86:
I use phone bricker 2.7 as a daily driver and the battery life is pretty decent. The MIUI port seems to do even better (I uninstalled it because somehow it was unpredictably laggy). Might as well try those too.
[AT&T Samsung Galaxy S II SGH-I777] damon20r:
I started running AOKP about a week ago and my battery life improved quite a bit over the rooted stock rom. But I never have had very good battery life out of the stock rom anyways, except for maybe day or two after a factory reset, I would have OK run times until that dreaded wakelock kept sneaking back in the picture. AOKP has been much more consistent for me and I have easily been lasting 16-18 hrs with light/medium use and atleast 40% remaining. I'm running Siyah kernel. I haven't tried any other roms.
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
I think I'm gonna be going back to gingerbread for about a solid week to see if it really is ICS. Used to get amazing life on GB, then switched to ICS and my battery went to hell.so I got an extended battery and all that did was basically give me close to what I got on gingerbread, so the inconsistencies are starting to bother me a bit. Maybe I'll return to ics sometime in the future to see if anything changes. It's been fun though, and there's a lot of things that I'm going to miss....Oh well :(

Sent From This Thing in My Hand
[AT&T Samsung Galaxy S II SGH-I777] Felix2402:
I did this too but ended up realizing that battery life was actually better on ics. I've had the best results with aokp and phone bricker (not w/siyah).
[AT&T Samsung Galaxy S II SGH-I777] wamster:
i've found that using gingerbread roms gave me better battery life :)

unnamed and unoriginal are good choices
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Yeah I've Been back on unnamed today and so far so good. Battery life seems to be an improvement than it was on ics
[AT&T Samsung Galaxy S II SGH-I777] wamster:
Definitely. Are you using unnamed 1.3.2 or 2.2.1?
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
I'm on 2.2.1, that was my daily driver when I first rooted. Never let me down :D

Sent From This Thing In My Hand
[AT&T Samsung Galaxy S II SGH-I777] jpmaster96:
ICS VS GB

I thought Gingerbread had much better battery life so i switched to shostock 1. However, the battery life there was about the same as shostock 2. My recommendation is to severely underclock it (200 mhz) when the screen is locked. i can go for hours and only use 1 or 2 percent and the battery will be left for you when the screen is on which is when you need it. AOKP + Fluxi= awesome
[AT&T Samsung Galaxy S II SGH-I777] wamster:
I'm on the same one! Which kernel do you use?
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Hmm right now Im using whatever kernel was included in the rom which I think was entropys DD?

Sent From This Thing In My Hand
[AT&T Samsung Galaxy S II SGH-I777] wamster:
Same here. I usually change mines to the latest entropy
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
Agreed. While there are many things I miss about ICS, my phone is much more stable now on GB without a doubt. Used to have this horrible problem on ICS where besides lots of force closing, I got this problem where my lock button wouldn't put the phone to sleep, but caused a bootloop instead. Maybe after att releases the ICS update and someone makes a deodexed rom similar to unnamed, I'll switch back to ICS :D

Sent From This Thing In My Hand
[AT&T Samsung Galaxy S II SGH-I777] Im Blown SVT:
My battery life was better with GB and unnamed 2.2.1, but I sure do love this ICS on Shostock 2 (whatever is newest for the day) and will sacrifice the battery for the ICS features. I usually just disable the wireless network when I'm at work and typically use my phone for texting and pdf's that are on my sd card...this REALLY helps my battery life.
[AT&T Samsung Galaxy S II SGH-I777] Steelhog:
I have been getting phenomenal battery life running Shostock2 since it was released. Have run every version as soon as he updates and never had a SOD or FC ever and never had anything resembling poor battery life.
[AT&T Samsung Galaxy S II SGH-I777] mbrothers:
Good looking battery graph! Mine looks pretty similar although it took a bit of experimentation with some different roms and kernels to get there.

Currently running Task650's AOKP and the Fluxi XX kernel by ktoonsez. My battery life seems to be about as good as it ever was on any of the GB roms I ever used.
[AT&T Samsung Galaxy S II SGH-I777] mattgyver:
I agree with the others.. ShoStock2 (ICS) v3 has been great. With light usage, and the proper settings, I am getting minimally a day and a few hours (roughly 25-30 hours) to almost a full 2 days (around 42 hours).

Check your wifi settings to make sure wifi isnt always on. Same with GPS, BT, etc.. Also, snag BetterBatteryStats from a post on XDA (its free for XDA members - just search the forums for it) and see what is causing any drain..

I won't go to any other rom because Sho is usually on top of everything!
[AT&T Samsung Galaxy S II SGH-I777] Phalanx7621:
I know many people who get two days of battery life on ics roms with moderate usage. So to say "its ics omfg I'm going back to gingerbread" really isnt accurate. For YOU it may not give good battery life. But u have to ask yourself something. Did u do a full wipe coming from a different rom or between base changes as is suggested? Have u tried different kernels? Did u read up on those kernels and the governors and io schedulers? Did u undervolt or underclock? U may have had apps which suck your battery that others didn't have. So to sum up, there are so many variables in what causes battery drainage, let's not just clump it altogether and say its ICS. I use AOKP by Task and couldn't be happier with my battery life.
[AT&T Samsung Galaxy S II SGH-I777] ChocolateSnow:
I agree with you completely on all of your points and I would just like to apologize if at any point I made it seem like I was bashing ICS. I absolutely love it. I had done all the things you stated in your post and you are right,for me personally, ICS seems to drain more of my battery than GB did when I made no type of modifications to my day to day routine or internal set up, which is what prompted me to go back to GB, and I seem to be doing better on GB. That's just me for whatever reason, and I'm okay with that. I merely created the post out of curiosity if it had happened to anyone else.

Sent From This Thing In My Hand
[AT&T Samsung Galaxy S II SGH-I777] elherr:
For truly stellar performance you need Cupcake.
[AT&T Samsung Galaxy S II SGH-I777] Sandcrab:
I agree with the battery drain on ICS. That is probably because I run Serendipity 8.2 and it gets

excellent

battery life for my usage.

I use my phone heavily for email and phone calls throughout the day and I can usually get all the way through a full day with one charge.

With ShoStock2 I was having to watch everything carefully and charge halfway through the day.

For me, the battery savings are worth all the features of ICS that I am giving up.
[AT&T Samsung Galaxy S II SGH-I777] Ziuck:
I had been running ShoStock2 and at the end of a 14 hour day I would have 45-50% battery life left.

I switched to AOKP and I am at 30-35% after a 8 hour day! I have tried many different kernels and settings. I can't seem to get good battery life out of this ROM.

Both ROM's I run the same apps and everything.
[AT&T Samsung Galaxy S II SGH-I777] Jive1983:
I have been shostock and I am getting stellar battery life.. But my use is moderate and I keep the screen brightness to lowest as possible. Screen was the major batterly killer for me when I put in Auto mode it kills the battery.
[AT&T Samsung Galaxy S II SGH-I777] clay101eve:
Im running PhoneBricker/CherryPicker and my battery is about 25% on avg at the end of a light/moderate day.

Hmmm...

Clay