[APK] Seeder - Eliminate the lag in your Android device (Needs Root) - Galaxy Note 10.1 Themes and Apps

From here: http://forum.xda-developers.com/showthread.php?t=1987032
I came to that thread via LifeHacker, in which they featured it. I'm going to try this now on my freshly-updated-to-Jelly-Bean Note 10.1.
If you want to share a feedback, please post it here. If you want to thank the developer, suggest something, or buy him a beer, please post it on his thread.
APK: Click here (original direct link from his thread)
lambgx02 said:
Hey everyone,
So, I was experiencing significant lag as we all do from time to time, and decided I was going to get to the bottom of it.
After tracing and debugging for hours, I discovered the source of 90% of Android's lag. In a word, entropy (or lack thereof).
Google's JVM, like Sun's, reads from /dev/random. For all random data. Yes, the /dev/random that uses a very limited entropy pool.
Random data is used for all kinds of stuff.. UUID generation, session keys, SSL.. when we run out of entropy, the process blocks. That manifests itself as lag. The process cannot continue until the kernel generates more high quality random data.
So, I cross-compiled rngd, and used it to feed /dev/urandom into /dev/random at 1 second intervals.
Result? I have never used an Android device this fast. :good:
It is literally five times faster in many cases. Chrome, maps, and other heavy applications load in about 1/2 a second, and map tiles populate as fast as I can scroll. Task switching is instantaneous. You know how sometimes when you hit the home button, it takes 5-10 seconds for the home screen to repopulate? Yeah. Blocking on read of /dev/random. Problem solved. But don't take my word for it .. give it a shot!
Update!
I've built a very simple Android app that bundles the binary, and starts/stops the service (on boot if selected). I'll be adding more instrumentation, but for now, give it a shot! This APK does not modify /system in any way, so should be perfectly safe.
This is my first userspace Android app, so bear with me!
Note that this APK is actually compatible with all Android versions, and all (armel) devices. It's not at all specific to the Captivate Glide.
Caveats
There is a (theoretical) security risk, in that seeding /dev/random with /dev/urandom decreases the quality of the random data. In practice, the odds of this being cryptographically exploited are far lower than the odds of someone attacking the OS itself (a much simpler challenge).
This may adversely affect battery life, since it wakes every second. It does not hold a wakelock, so it shouldn't have a big impact, but let me know if you think it's causing problems. I can add a blocking read to the code so that it only executes while the screen is on. On the other hand, many of us attribute lag to lacking CPU power. Since this hack eliminates almost all lag, there is less of a need to overclock, potentially reducing battery consumption.
If you try it, let me know how it goes.
ROM builders - feel free to integrate this into your ROMs (either the .apk / application, or just the rngd binary called from init.d)!
If anyone's interested, I've launched a paid app on the Play store for non-xda users. As I add features I'll post the new versions here as a thanks to you guys (and xda community at large for being such a great resource). But if anyone's interested in the market's auto-update feature, just thought I'd mention it.
Cheers! :highfive:
Click to expand...
Click to collapse

I don't know if it's a placebo effect, but it seems that enabling this entropy seeder makes the device faster for real ^^

Does this need root?
Sent from my Nexus 4 using xda app-developers app

tuffballa said:
Does this need root?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I forgot to add.

Redemption rom 4.1.2 is pretty quick and only lag was keyboard opening.
This mod keyboard instant opening now .
jje
Sent from my GT-N8010 using xda premium

Post one on the portal has more info .
http://www.xda-developers.com/android/entropy-seed-generator-not-all-its-hacked-up-to-be/
jje

Without reading the portal piece I guess the reason you may perceive speed up as that the device will be spending longer on higher cpu cycles by this polling.
In other words it is not a good thing for battery.
You can try playing with the governor settings to increase responsiveness, but "lag" can be caused by quite a lot of things. Random seeding shouldn't be one of them.
Sent from my GT-N7000 using Tapatalk 2

A lot of developers are stating that this is a fluke on anything running ICS+. Any boost in performance is 99% a placebo effect.

Placebo effect or not, I can notice improvement in the note general operation.
Sent from my GT-N8000 using Tapatalk HD

Disprove it or walk away.
Any dev saying it's a placebo effect needs to hold up data to prove the assertion, otherwise, the dev is just speculating. Being an Android dev can mean a variety of things, so the title doesn't grant authority.
Any dev claiming random data seeding shouldn't have an effect, should contact the APK writer and ask to see the trace logs, i.e. duplicate the experiment and verify the results. Otherwise, see above.
Everyone else, download it. Enjoy a faster UI experience. I confirm it works, which is at least as good as any dev who hasn't tested it.
--#

7April said:
Any dev saying it's a placebo effect needs to hold up data to prove the assertion, otherwise, the dev is just speculating. Being an Android dev can mean a variety of things, so the title doesn't grant authority.
Any dev claiming random data seeding shouldn't have an effect, should contact the APK writer and ask to see the trace logs, i.e. duplicate the experiment and verify the results. Otherwise, see above.
Everyone else, download it. Enjoy a faster UI experience. I confirm it works, which is at least as good as any dev who hasn't tested it.
--#
Click to expand...
Click to collapse
Have *you* checked logs to see what's happening as you claim you can see a performance hike.
I tried it on 3 devices earlier, all did exactly what I suspected. Pushed the cpu time up quite a bit, but that's what this does. It's forcing an io which causes the cpu to ramp, so of course it feels more responsive, it's starting from a higher cpu clock and less time in the lower click rates.
One of my services it caused serious slow down, die to pegging the cpu as it didn't play nicely with the particular aml quadcore governor.
Sent from my GT-N7000 using Tapatalk 2

fards said:
Have *you* checked logs to see what's happening as you claim you can see a performance hike.
I tried it on 3 devices earlier, all did exactly what I suspected. Pushed the cpu time up quite a bit, but that's what this does. It's forcing an io which causes the cpu to ramp, so of course it feels more responsive, it's starting from a higher cpu clock and less time in the lower click rates.
One of my services it caused serious slow down, die to pegging the cpu as it didn't play nicely with the particular aml quadcore governor.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Couldn't agree more with your comments, I also tested this on a variety of devices and got exactly the same results, on one of my devices I was loosing 5% battery per hour!

seeder is working on all devices?

xda just had an apology article for featuring this lol

Related

Known Android Myths

Hello I usually don't post stuff like this, but whenever I see someone answer something, they are not telling the fact, but the myth. These myths are well known "solutions", but never work, since they're myths So I'm here to tell most of the myths that people are spreading... If you have any other myths that you'll like to talk about or if one of my myth is false, feel free to post about it . So without farther ado, lets get started
Task Killers: As much as this is obvious, people still uses it. So much, that it is annoying. Android handles apps and tasks well. However, there is an exception, and that is when the app constantly freezes or crashes and you need to restart it. If that's the case, there's a "Running Apps" section, where you can force close apps under system settings. So you won't need 3rd party Task Killers, EVER
Battery Calibration (Draining then fully charging): People thinks that this is good for your battery life, but it isn't. The only thing that this does is make the system read the battery percentage more accurate. Doing this once per month might help you improve read battery % better, but it isn't necessarily at all.
Wiping battery stat when the phone doesn't charge up to 100%: This myth is quite annoying. I dunno about other forums, but in Galaxy Nexus forum, quite a few people use this myth as a answer. Wiping battery stats DOES NOTHING to how system reads battery%.
Anti-Virus app: This is another myth that is obvious, but used by many people. You don't need anti-virus apps, unless you download a lot from untrusted source (4shared, because it is uploaded by people, not the company). If you know (And you SHOULD) what you're downloading, anti-virus is nothing.
Benchmark: People get so hyped about benchmark results... And I dunno why... It's just a number, I tell them. It wouldn't matter in daily usage, I tell them. But they do it anyways... Benchmarks are just numbers people. My Gnex can be as smooth and fast as GS3, but have a significant difference in benchmark tests.
Quad-core is faster than dual-core: While this isn't a myth, it isn't 100% correct either. You see, in daily usage, the phone only uses and needs a little bit of CPU power. For example, Facebook app doesn't use full 4 cores. That's just plain silly. However, when it comes to heavy gaming, yes, that 2-extra cores will help. But overall in daily usage, you're not gonna miss almost anything, because you have dual-core...
You need to clear cache and dalvik when updating/flashing a custom kernel: This is not true. I flash Franco kernel without clearing anything with NO problem.
You need to fix permission whenever you dirty flash: I don't hear that too often, but people still believes in it. Fixing permission isn't necessarily, unless you're experiencing random force close or crash.
Turn GPS off when not using: You do not need to do that at all. Phone only turns on the GPS when it needs to. For example, when you open map app, you'll see the GPS icon on the status bar, but when you exit out, you won't see it anymore. This means that the GPS radio is off. OFF. No need to waste your time turning it off and on.
Switch to 2G (Edge) when screen off to save battery: This is probably one of the biggest mistake people do to save battery. Yes, 2G does consume less battery than 3G, but constantly switching between them just burns the battery. It is just pointless if you ask me. Either stick with 3G, or stick with 2G. Constantly switching between them will be the worst choice.
Undervolt as much as you can to save battery: This is not true. Undervolting to a certain point can help you extend your battery life, but doing it too much will drain more battery instead of extending it. Also it makes the phone less stable, so make sure you know what you're doing and don't undervolt like crazy
iOS apps are more optimized than Android, and is more stable: This is part true but mainly not. Yes, dev only needs to worry about 2-3 screen size when making apps, which means that apps can be optimized for the screen size, but that doesn't mean much anyways... Also did you know that iOS apps crash more than Android? Now you know
iOS is better than Android : Lol wut?
Hope that cleared few things up. Again, if you got a myth of your own, feel free to post it in the thread!
kyokeun1234 said:
Hello I usually don't post stuff like this, but whenever I see someone answer something, they are not telling the fact, but the myth. These myths are well known "solutions", but never work, since they're myths So I'm here to tell most of the myths that people are spreading... If you have any other myths that you'll like to talk about or if one of my myth is false, feel free to post about it . So without farther ado, lets get started
Task Killers: As much as this is obvious, people still uses it. So much, that it is annoying. Android handles apps and tasks well. However, there is an exception, and that is when the app constantly freezes or crashes and you need to restart it. If that's the case, there's a "Running Apps" section, where you can force close apps under system settings. So you won't need 3rd party Task Killers, EVER
Battery Calibration (Draining then fully charging): People thinks that this is good for your battery life, but it isn't. The only thing that this does is make the system read the battery percentage more accurate. Doing this once per month might help you improve read battery % better, but it isn't necessarily at all.
Wiping battery stat when the phone doesn't charge up to 100%: This myth is quite annoying. I dunno about other forums, but in Galaxy Nexus forum, quite a few people use this myth as a answer. Wiping battery stats DOES NOTHING to how system reads battery%.
Anti-Virus app: This is another myth that is obvious, but used by many people. You don't need anti-virus apps, unless you download a lot from untrusted source (4shared, because it is uploaded by people, not the company). If you know (And you SHOULD) what you're downloading, anti-virus is nothing.
Benchmark: People get so hyped about benchmark results... And I dunno why... It's just a number, I tell them. It wouldn't matter in daily usage, I tell them. But they do it anyways... Benchmarks are just numbers people. My Gnex can be as smooth and fast as GS3, but have a significant difference in benchmark tests.
Quad-core is faster than duel-core: While this isn't a myth, it isn't 100% correct either. You see, in daily usage, the phone only uses and needs a little bit of CPU power. For example, Facebook app doesn't use full 4 cores. That's just plane silly. However, when it comes to heavy gaming, yes, that 2-extra cores will help. But overall in daily usage, you're not gonna miss almost anything, because you have duel-core...
You need to clear cache and dalvik when updating/flashing a custom kernel: This is not true. I flash Franco kernel without clearing anything with NO problem.
You need to fix permission whenever you dirty flash: I don't hear that too often, but people still believes in it. Fixing permission isn't necessarily, unless you're experiencing random force close or crash.
Hope that cleared few things up. Again, if you got a myth of your own, feel free to post it in the thread!
Click to expand...
Click to collapse
Some interesting stuff
Sent from my SGH-T989 with Cyanogenmod 10 Alpha Power.
Quad core uses more battery than dual-core: this confusion comes from the intuition that "you'd need more power to run 4 of them". In fact, the results are closer to the opposite: on those rare occasions where multiple cores are used, they allow for faster processing (hence more sleep) and less intensive. Mostly, however, it just doesn't make a difference.
sent from my Galaxy Nexus "the most tweakable iPhone yet"
kyokeun1234 said:
Benchmark: People get so hyped about benchmark results... And I dunno why... It's just a number, I tell them. It wouldn't matter in daily usage, I tell them. But they do it anyways... Benchmarks are just numbers people. My Gnex can be as smooth and fast as GS3, but have a significant difference in benchmark tests.
Click to expand...
Click to collapse
Stop embarrassing yourself
A lot of ppl ask me for benchmarks in my roms lol, but I tell them this all the time
Sent from my PG86100 using xda app-developers app
jaw2floor said:
Stop embarrassing yourself
Click to expand...
Click to collapse
How am I embarrassing myself?
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
Interesting and fun facts!!!!!
Love this, nice tread
Sent from my GT-I9300 using xda app-developers app
Chono631 said:
Love this, nice tread
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank you
hankbizzo5 said:
Interesting and fun facts!!!!! dual core lol.....
Click to expand...
Click to collapse
LOL just noticed that :laugh: silly me. Editing right now. Sorry, English is my second language
Added some more stuff! Hope you guys like it!
I like it but the only one i disagree with is -
"Turn GPS off when not using"
I turn mine off when not using it for navigation because i dont want apps......yes that ive given permission to......to access my location.
Nothing to do with battery.
But good list!
Jrhoop said:
I like it but the only one i disagree with is -
"Turn GPS off when not using"
I turn mine off when not using it for navigation because i dont want apps......yes that ive given permission to......to access my location.
Nothing to do with battery.
But good list!
Click to expand...
Click to collapse
GPS is a huge battery hog, I make roms, I run the tests, and my testers test, they experience a couple hours extension worth of battery life without it on
Sent from my PG86100 using xda app-developers app
A myth by many people. Here, it is.
iOs is better than Android XD
Sent from Hell!!
.xxx. said:
A myth by many people. Here, it is.
iOs is better than Android XD
Sent from Hell!!
Click to expand...
Click to collapse
HA! It's so good, I HAVE to add it to the post!
kyokeun1234 said:
HA! It's so good, I HAVE to add it to the post!
Click to expand...
Click to collapse
You shouldn't. BEWARE, they will SUE you for taking their name in PUBLIC FORUM
Sent from Hell!!
.xxx. said:
You shouldn't. BEWARE, they will SUE you for taking their name in PUBLIC FORUM
Sent from Hell!!
Click to expand...
Click to collapse
Lol. I posted just for giggles
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
kyokeun1234 said:
Lol. I posted just for giggles
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
Click to expand...
Click to collapse
Giggles but truth xD
Sent from Hell!!
We should send these in to mytbusters so they can prove/disprove the facts. I personally use appkillers because the newer ones to make a difference on my underpowered P500. While these apps to start up, they consume less memory when started in the background and allows for faster start up once killed by the task manager.Android does have impressive memory management, but nothing is infallable.
Battery stats is just silly, if you keep charging till 90% then unplug, you can make it appear that your device can run for days on one charge, so that is very misleading.
Benchmarks are worth noting when it comes to gaming performance. On my device ICS definatly scores lower than gb, yet it runs smoother day to day. Playing games is tragic simply because the drivers are an issue on this device for ICS.
You dont need to clear the dalvik cache or normal cache to flash a kernel, the kernel modules are loaded at boot. The linux core behind android was designed this way. Clearing them when you flash to a different rom eg: AOKP to CM9 its a good idea to flash the cache since this could retain incompatible files between roms.
Myths arent annoying, people clinging to them for no reason is annoying.
cornelha said:
We should send these in to mytbusters so they can prove/disprove the facts. I personally use appkillers because the newer ones to make a difference on my underpowered P500. While these apps to start up, they consume less memory when started in the background and allows for faster start up once killed by the task manager.Android does have impressive memory management, but nothing is infallable.
Battery stats is just silly, if you keep charging till 90% then unplug, you can make it appear that your device can run for days on one charge, so that is very misleading.
Benchmarks are worth noting when it comes to gaming performance. On my device ICS definatly scores lower than gb, yet it runs smoother day to day. Playing games is tragic simply because the drivers are an issue on this device for ICS.
You dont need to clear the dalvik cache or normal cache to flash a kernel, the kernel modules are loaded at boot. The linux core behind android was designed this way. Clearing them when you flash to a different rom eg: AOKP to CM9 its a good idea to flash the cache since this could retain incompatible files between roms.
Myths arent annoying, people clinging to them for no reason is annoying.
Click to expand...
Click to collapse
I also had P500 and app killers did almost nothing at all... Maybe it's just me?
That's not what I've meant when I said about battery stat.. Some people's phone just doesn't simply charge all the way up to 100%. And others just tell them to clear battery stat, which does nothing...
Benchmarks ARE pointless in my opinion. I personally don't think that noting Benchmark scores are needed... Also they are not very accurate either. What I mean by that? Well, in real life (including gaming), even if you overclock, the performance isn't so huge. But in Benchmark scores, little overclock increases the score a lot.
I know myth itself isn't annoying, but people spread them. Like crazy. And that's what irks me

Seeder by lambgx02

As we are too well aware, the A700 isn't the quickest tablet around. A problem fixed quite largely by using the Cool One firmware and the Tegra OC kernel. But there is something else you could try; Seeder which has recently garnered quite some attention.
http://forum.xda-developers.com/showthread.php?t=1987032
I couldn't notice too much difference in my short time using it. Launching and using Chrome might be a little quicker and Maps may be a little faster but some have reported large gains with it, so why not give it a shot? nb. It requires root. And do let us know here and in the original thread how its goes for you.
ps. Seeder seems to turn itself off after resetting the device so be sure to check if it is turned on.
AETAaAS said:
As we are too well aware, the A700 isn't the quickest tablet around. A problem fixed quite largely by using the Cool One firmware and the Tegra OC kernel. But there is something else you could try; Seeder which has recently garnered quite some attention.
http://forum.xda-developers.com/showthread.php?t=1987032
I couldn't notice too much difference in my short time using it. Launching and using Chrome might be a little quicker and Maps may be a little faster but some have reported large gains with it, so why not give it a shot? nb. It requires root. And do let us know here and in the original thread how its goes for you.
ps. Seeder seems to turn itself off after resetting the device so be sure to check if it is turned on.
Click to expand...
Click to collapse
I'm currently running IconiaN 2.4 and I installed Seeder a little while ago via CWM and tried a few things. Maps is definitely faster like most have said. I played a couple games and I found Edge and Edge Extended to be roughly the same, Pitfall is the same, Beach Buggy Blitz is the same, and so is Sword and Sworcery. TigerArcade (a Mame type emulator) runs WAAAY better now, not sure why, but it might be because the games I'm playing use a caching system to load on the emulator. I'm going to try Need for Speed Most Wanted as that ran like garbage last time I played it and I hope it may be slightly better this time around. Non gaming apps: Youtube is lot more responsive than it used to be, ES File Explorer seems faster as well, not 100% sure, Android Browser and Chrome both seem roughly the same but haven't done extensive testing. Lastly unlocking and hitting home from within apps is definitely smoother and faster like others have been saying.
My recommendation is to go ahead and give it a go as it seems like its worth it, plus if there are updates to it that make it any better you can just CWM those right over the current version with no need to wipe cache or data at all.:cyclops:
Thanks for recommending this. Will try.

Lag *fix*

This supposed lag fix has blown up over at r/android. I tried it on my G2x and it for sure booted up the launcher faster on startup. Check it out!
http://forum.xda-developers.com/showthread.php?t=1987032
Sent from my LG-P999 using Tapatalk 2
Thanks for sharing, looks pretty promising. Going to test it out for a bit .
I was wondering if this matters whether CM7 or cm10?
Thanks for sharing this. Installed the apk and it seems a little quicker with things, but that might just be in my head.
I'm not sure if it ****s on your battery life or not, seems like my battery just demolished itself, but now that I think about it I got 6 hours on 52%
Thus why I don't have it
Sent from my LG-P999 using xda app-developers app
I tried it for couple hours and it doesn't seem to work for me.
Sent from my LG-P999 using xda app-developers app
Everything seems pretty good for me. I'll post back in a couple days to say if it's held up.
Sent from my LG-P999 using xda app-developers app
I've installed it last night. My usual morning lag that I experience wasn't there so I believe there is some merit to what this mod is supposed to provide. I'll be tracking the battery life, as that's more important to me than a reboot once a day.
Yes I can also confirm that this app works. Even makes one of my slowest apps (amazon appstore) open much faster. Everything is a bit quicker.
My only concern is battery life, which I am going to be testing over the weekend. Loving the mod so far though.
I can verify this works well use to take close to a minut to load my xda ap lol. Not so any more. Also switching from app drawer to home screen, no lag. I used v6 supercharger for a while and i think that for now im just gonna use this. My phome is much more responsive than it use to be, especially when opening my settings menu. I will be paying attention to battery as well. Thanks for your work.
Edit. My cpu clock speed magically set it self to 1552. Dont ask me how that happened cuz i dont know. Now normally at this speed my phone would freeze. How do i know this? Cus its happened on more than one occasion. I dont overclock anymore because of it. I ran this app all day with no adverse effects. I cant say one way or another if this app works because i dont know when my phone was set to overclock. With the controversy surrounding this.... Im glad i didnt pay 1.50 for it or id feel like a really dumb***
Sent from my LG-P999 using xda app-developers app
RC calls BS
https://plus.google.com/115049428938715274412/posts/GWr72W9zmY2
From his post:
"So to be clear... IMNSHO, the recent entropy pool fad is bull****. The only users of /dev/random are libcrypto (used for cryptographic operations like SSL connections, ssh key generation, and so on), wpa_supplicant/hostapd (to generate WEP/WPA keys while in AP mode), and the libraries that generate random partition IDs when you do an ext2/3/4 format. None of those 3 users are in the path of app execution, so feeding random from urandom does nothing except make random... well... less random
The only conceivable reason some devices may feel faster is because by constantly polling the PRNG, it keeps the device's I/O in constant use (which in turn, depending on device, will make the CPU stick to higher clock frequencies to keep up and/or ramp up the IO scheduler)."
Yes it's bullish**. The whole explanation for this mod doesn't make sense and I just can't figure out how this would help at all. As RC said excellently, it would simply prevent I/O functions to go to sleep and keep your CPU higher. TL;DR : Raise your CPU clocks, change your I/O scheduler and you'll get better performances.
One more thing... I dont know when my phone was set to overclock but here are some interesting screen shots for you.
This is a 1500Mah stock battery. The original batter. I got with the phone over a year ago btw.
Something to cbew on i think. My phone has never run this well. Wtf?
Sent from my LG-P999 using xda app-developers app
Apparently everyone in that thread still thinks it works... I don't think they read Ricardo's post. Someone should keep posting it lol.
jryan388 said:
RC calls BS
https://plus.google.com/115049428938715274412/posts/GWr72W9zmY2
From his post:
"So to be clear... IMNSHO, the recent entropy pool fad is bull****. The only users of /dev/random are libcrypto (used for cryptographic operations like SSL connections, ssh key generation, and so on), wpa_supplicant/hostapd (to generate WEP/WPA keys while in AP mode), and the libraries that generate random partition IDs when you do an ext2/3/4 format. None of those 3 users are in the path of app execution, so feeding random from urandom does nothing except make random... well... less random
The only conceivable reason some devices may feel faster is because by constantly polling the PRNG, it keeps the device's I/O in constant use (which in turn, depending on device, will make the CPU stick to higher clock frequencies to keep up and/or ramp up the IO scheduler)."
Click to expand...
Click to collapse
Isn't faster performance accomplished by keeping the I/O constantly running and the CPU at higher clock speed than it would otherwise be?
Call me crazy but using this made my phone constantly stay in deep sleep! I've never, ever seen my phone stay asleep for so long and so consistently before.
buru898 said:
Call me crazy but using this made my phone constantly stay in deep sleep! I've never, ever seen my phone stay asleep for so long and so consistently before.
Click to expand...
Click to collapse
Does it ever wake up ?
Sent from my LG-P999 using xda app-developers app
New2my8125 said:
My only concern is battery life, which I am going to be testing over the weekend. Loving the mod so far though.
Click to expand...
Click to collapse
I've been using this mod for a little over a week. While RC might be right about what this mod really is doing, my phone hasn't been snappier. As for battery life, I've lost about 10% more battery a day using this. I've got the Anker 2800mWh battery, and at the end of the day I'm usually sitting around 55-60% battery remaining. On hard use days I'd be around 30% battery remaining. Overall I'm still getting a full days use out of the phone.
If someone could suggest what scheduler I should use (instead of this mod) then I'd gladly try RC's suggestion and see if he is right as well.

Possible I/O lagfix (from nexus 7/OneX forums)

http://forum.xda-developers.com/showthread.php?t=2104326
Hi,
Saw this on reddit this morning, as no one's posted it yet I'd just like to offer it up as another potential lag-fixer.
The source of the problem is that internal storage is not properly TRIMmed when needed. You can find lots of information on XDA - http://forum.xda-developers.com/show....php?t=1971852 and http://forum.xda-developers.com/show....php?t=1929021 for example. It is also well-known fact that running fstrim Linux tool from time to time fixes the issue until internal memory runs out of free blocks. Other solutions like mounting with -discard or disabling fsync may be dangerous.
LagFix is a user-friendly implementation of fstrim utility. It allows you to select which partitions to trim (you should leave defaults unless you know what you are doing) and run the process easily.
Please note that fstrim output depends on kernel and device. It works fine unless you see errors. You might see big amounts of bytes, zero amount or repeating amount. All are fine! Read fstrim manual to understand why all these outputs are valid.
It is also advised to reboot your device after the TRIM process so that kernel could reinitialize block data.
App is free and is available in Play Market. Current version is 1.0.
P.S. If your ROM mounts /data with -discard then this app is NOT needed! Mounting with -discard causes brickbug on some devices, so I DO NOT advise using -discard.
Click to expand...
Click to collapse
Link on Play: https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix
I applied it on my rooted, locked tf700 and, well, nothing bad happened. I am on the .25 update, which I feel made overall app-opening a little smoother, so I can't tell if this makes any noticeable difference, but it certainly doesn't seem slower after applying it. The dev says that if you run androbench after applying the fix i/o read should be higher, if anyone could run a few benchmarks of before/after it would be appreciated! I've never really placed much faith in benchmarks so didn't bother doing it myself.
Hope this benefits someone!
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
I downloaded and installed it. Ran it, rebooted. It did trim, but the jury is still out on whether this actually helps or not. It's too freshly booted to really judge the effects properly, so I'll have it settle in and report back.
It didn't break my 700 -- that's a good thing to start with.
MartyHulskemper said:
I downloaded and installed it. Ran it, rebooted. It did trim, but the jury is still out on whether this actually helps or not. It's too freshly booted to really judge the effects properly, so I'll have it settle in and report back.
It didn't break my 700 -- that's a good thing to start with.
Click to expand...
Click to collapse
Yeah, I was reluctant to be the first one to try it on an infinity... But it worked out for the better, I think. Now I don't know if the .25 jb update or this is to thank for the better performance. It should hope up till the 4.2 update at least! Quite pleased with the .25 update
Sent from my Galaxy Nexus using Tapatalk 2
Just tried it. Could be my imagination, but my tablet seems snappier.
I am not convinced that it will have any effect: TF700's Hynix eNAND flash is eMMC 4.41 compliant, which does not have DISCARD command, the equivalent of SATA's TRIM command. The DISCARD command is supported in eMMC 4.51 compliant flash but I don't know if the Kingston flash in Nexus 7 is eMMC 4.51 compliant. Even if it does TRIM the TF700, probably it will have little effect if you have alot of free space left as it does not affect the garbage collection significantly. One would hope that TRIM should already be done dynamically within the file management software as it would reduce write amplification factor, hence improve write speed performance?
Kraka said:
I am not convinced that it will have any effect: TF700's Hynix eNAND flash is eMMC 4.41 compliant, which does not have DISCARD command, the equivalent of SATA's TRIM command.
Click to expand...
Click to collapse
According to the spec, eMMC 4.41 supports TRIM - what's the difference between TRIM and DISCARD?
I read that eMMC 4.41 also supports "background operation" and "high priority interrupt" - these sound much more interesting related to lag than TRIM. Do you have any idea if these features are already used in the TF700's Linux kernel (or even at all in any kernel)?
faq in op link said:
Which devices are affected?
It is known by now, that Nexus S, Galaxy Nexus, Nexus 7, Nexus 4, Nexus 10 and HTC One X need regular trimming. It is also believed that all pre-ICS devices used different memory and they do NOT need it nor support it. Pre-ICS support will be dropped in version 1.2. Other 4.0+ devices? Well, test it! And report if it really helps - your device will be added to the list.
How to properly test it?
Use AndroBench app before using LagFix and after. You only need micro test. Look for Sequential Write values. Reading from memory is NOT affected, because reading does not involve writting and only writting triggers search party for free memory blocks.
Click to expand...
Click to collapse
For anyone looking for early confirmation of impact.
I think I'll give this a try. I have some hefty typing lag. I thought one of the first updates had gotten rid of it, but it came back, it was just temporarily relieved by the fresh reboot then. If it does help, it'll probably be a month before I confirm anything, just to avoid giving/having false hope . Thanks for posting op hope it works.
Edit, sorry, just noticed OP already mentioned androbench.
Edit 2: Saw no change in my androbench write speed. Sequential write was something over 5MB/s, random write was .15MB/s both before and after running it, and again after rebooting. lagfix claimed to have trimmed successfully. If anything, it felt more laggy for a while after running it. I'm an OS update or two behind FWIW, just installed Jelly Bean a month or so ago. I like to let everyone else test the updates before I install them. I'll probably run another bench this evening. :shrug:
fsTRIM = AWESOME fix - on CROMI, OCed kernel, fsync disabled
I just download the fsTRIM app and it worked with CROMI, OCed kernel, and fsync disabled. Will seem laggy right after runnng it, just reboot as soon as you do and things will be deffinitely running smoother and slightly faster now. Noticing less keyboard latency even as I type this out. I suggest trying it out.
UPDATE - Seriously try this **** out. Keyboard typing is radically smoother in browser, evernote, and google drive. Less latency between multi touch gestures ive set up in GMD Gesture Control as well. App opening is still instantaneous. Loading big web pages is definitely quicker. Will time boot and other things and update again soon.
Update - Opening large files and youtube is faster. large pdfs load faster. everything is really....snappy, and.....smooth.....best of both worlds. things were already pretty snappy and smooth with CROMI, didnt think they could get better but it has. I time everything as well to compare. I could barely time it after this fix as everything is basically instantaneous. Havent tried writing/moving large files on internal storage yet, will test soon, this is distracting me from my homework too much lol.
It works for me I can now download files and move them without having my tablet unusable until it's done.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
Just installed this.
Will give it a go...
lucius.zen said:
...
Click to expand...
Click to collapse
You posted the same content in two other thread sof you own making, and in this one. One helluva way to get to 2000 posts without interjecting anything actually useful. Neitehr is this post, I will mention myself, but please keep a lower profile next time.
So far I haven't noticed any difference at all. I'll give it the rest of the day and if I don't feel there is any change I'll just uninstall.

[GUIDE] Get rid of lag for your Galaxy S4 - Rooted phones only - Seeder.apk

So I keep hearing complaints about "lag" with the Galaxy S4. Some of you have it and some don't.
Well, debloating your ROM (removing junk apps that you don't use) will typically reduce lag since these extra apps aren't fighting for system resources. But that doesn't work for everyone.
Another thing to do is to flash an AOSP (android open source project) ROM. These ROM's (including gapps) are usually less than 300MB in total size, while a stock or even debloated stock TouchWiz ROM are almost always 800MB to 1.3+GB in size.
Another thing you can try is to install "Seeder". Some folks will suggest it doesn't really do anything for you. Some others will say it uses up a lot of battery. So I guess every application is different. Because for me, even with an AOSP ROM, I seem to get slightly faster system response time when I click on something. And I've left my phone alone over eight+hours and checked battery useage and don't see Seeder anywhere taking up any battery.
Here is the Seeder main application thread. There, you can "thank" the developer (lambgx02) and also ask questions about the app. You can also download Seeder from that thread for free.
http://forum.xda-developers.com/showthread.php?t=1987032
Or, you can be a nice person and "buy" the app from the Play Store. At less than $2, it's not very expensive.
https://play.google.com/store/apps/details?id=com.lcis.seeder&hl=en
You can either read about how/why the app works or doesn't. Or you can try it for yourself.
For me, it's a must-have on the S4 since even AOSP ROM's still have a small amount of lag when compared with the smoothed-out ROM's on the S3.\
REQUIREMENTS:
-Rooted ROM
-Canadian or USA or Euro S4's, it works for all of them.
-TouchWiz or AOSP, it doesn't matter which.
So, here's how to install it:
1) Download Seeder to your internal or external SD card. It doesn't matter where.
2) Using Root Explorer (or your file browser of choice), locate and click on the seeder.apk.
3) Select "Install".
4) Select "Install" again.
5) Click "open".
6) Read the disclaimer and click "OK".
7) Grant root permissions:
8) Make your settings identical to mine (to start with). I've actually since changed mine from "Moderate" to "Aggressive" because I noticed no change in battery life. So, why not.
9) Now reboot.
10) Wait two minutes after the phone comes back up (to allow background start-up processes to finish) and start using phone normally.
Good luck, hope it works for you as well as it works for me. This is not a "cure-all" for lag, but it should help speed up an otherwise healthy system.
Don't expect miracles either. Only a really fubard'd ROM might show HUGE differences. But this app will probably help a little bit.
I had tried this program on my ATT GNOTE after the new JB update that seemed to slow everyone's phones to a crawl. It did help somewhat, but not enough for it to become bearable.. Caved and bought the S4. Seems like the app DOES work.
This app is a myth that has been busted even by the xda portal.
http://www.xda-developers.com/android/entropy-seed-generator-not-all-its-hacked-up-to-be/
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Try this instead
plwalsh88 said:
This app is a myth that has been busted even by the xda portal.
http://www.xda-developers.com/android/entropy-seed-generator-not-all-its-hacked-up-to-be/
Click to expand...
Click to collapse
I endorse the posting of this link. I actually intended to do so in the OP when I was typing up the original post (and lost it all to a BSOD).
The article refers more to the theory behind the "fix".
But end results are end results, and the app works for some people. It also does not work for some other folks.
Like I said in the OP, try it and see how it works for you.
CZ Eddie said:
I endorse the posting of this link. I actually intended to do so in the OP when I was typing up the original post (and lost it all to a BSOD).
The article refers more to the theory behind the "fix".
But end results are end results, and the app works for some people. It also does not work for some other folks.
Like I said in the OP, try it and see how it works for you.
Click to expand...
Click to collapse
Right, and it shows that the theory behind the "fix" is flawed, having no effect on app execution. The only positive performance you're seeing is a result of boosting CPU speeds. It's not saying you're not seeing results. It's just that you're seeing them for the wrong reason; the same of which can be achieved by changing your CPU governor.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
plwalsh88 said:
the same of which can be achieved by changing your CPU governor.
Click to expand...
Click to collapse
Negative. Because I've seen results on top of overlocking and governor changes.
CZ Eddie said:
Negative. Because I've seen results on top of overlocking and governor changes.
Click to expand...
Click to collapse
I highly, highly doubt any other positive effects can be discernible on top of overclocking.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
The system lags because touchwiz has many many features beyond those that you can just simply remove with titanium backup and such, there are a lot of features;what they seem to call them. That adjust color and lighting beyond ambient at all times no matter what. Samsung needs to release an update which I know they're cooking up, that optimizes these resource hog and debugs that are constantly running in the background... Let's just hope we get it soon and not have to wait till 4.3 to get it. The only way to get rid of all of the lag is to switch to also otherwise there will always be a tad amount of it, until samsung fixes it themselves; there's only so much developers can conjure up
The only way to get rid of the lag is by installing a custom ROM, either AOSP/AOKP or a TW based ROM like Omega or Winam. Then installing a custom, polished kernel like KT's kernel. Then disabling the scroll cache.
That makes this thing run like it should have in the first place.
Yeah seeder sucks sorry to say its not actually doing much.

Categories

Resources