yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ju1da:
Check the tweak

This link may help you to check the different before and after installing the tweak and run a command: cat /proc/sys/kernel/random/entropy_avail

open this link: http://xdaforums.com/showthread.php?t=2077086&page=16

Read at Post #152 by Zen Arcade

Note: Very useful for my SE arc s, but I don't see any different on my Nexus 7
[Android Software/Hacking General [Developers Only]] andrasandhi:
i found this.

is that related with this apk??
[Android Software/Hacking General [Developers Only]] elitevet:
What app is this, please?

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] kepaware:
System tuner

Enviado desde mi Nexus 7 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] zephyr83:
Do file apk work on all device? I have Xperia pro with Rom UHD and lupus v9 kernel and I don't see different with seeder!
[Android Software/Hacking General [Developers Only]] vNa5h:
Does this work for ZTE Blade
[Android Software/Hacking General [Developers Only]] zephyr83:
I installed apk and I enable it but I don't see difference!
[Android Software/Hacking General [Developers Only]] seedrom193:
nice

thank you very much for this beautifull and very usefull app ....

working good on my pop-plus (gt-s5570i);)
[Android Software/Hacking General [Developers Only]] andrasandhi:
not related but relevant/similar.

ok, thats fair sir :thumbup:
[Android Software/Hacking General [Developers Only]] ivcarlos:
new test

Playing a half an hour with Galaxy Note 10.1 (N8000) with 4.1.2 GER without "Seeder 1.1".

Used apps:

maps, gmail, settings, phone, airplane mode on/off, wifi, the sims free play, uTorrent, BetterbatteryStats, RootExplorer.

And in result i take 800 reads in "/dev/urandom" and only 7 reads in "/dev/random" (log in attachment).

definitely this "problem" doesn't exist.

Ivan
[Android Software/Hacking General [Developers Only]] atomic339:
So I have to install apk and flash seeder.zip?

Where can I find seeder_v6.zip?
[Android Software/Hacking General [Developers Only]] naughty6t9:
No u have to use any one

Here u go.. Seeder6.zip

Next time Use Search button on top of thread.. it will save ur and others time :)
[Android Software/Hacking General [Developers Only]] elitevet:
If you'd read some more you would know that /dev/urandom depletes /dev/random prior to generating it's own content and that there are means in the kernel to access /dev/random in a way you can't catch from userspace. Please, leave the technical investigation to people who are qualified to perform it. You just confused people more with your posts.

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] bobfleming:
Possibly me being dense today, but I see no instructions in post #1.
[Android Software/Hacking General [Developers Only]] cocchiararo:
Touché

Enviado desde mi Nexus 7 usando Tapatalk 2

---------- Post added at 10:01 AM ---------- Previous post was at 09:47 AM ----------

and... Where did you read such a thing?

The second value, I believe, is the one think was to be set to 1377 for keeping max entropy (the write one). Will have to search to complete

Enviado desde mi Nexus 7 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] fulloflove:
so what is the use of the zip and patch file
[Android Software/Hacking General [Developers Only]] ivcarlos:
Final comment

Hum...

ok.

i leave you with your ignorance...

i dont loose my time with a problem that not exists...

and finally, you don't know what he's talking...

how much you are gain with this placebo?

You do not know me, do not know what I know and know so little of my qualifications ...

regards and so long...

Ivan
[Android Software/Hacking General [Developers Only]] pepoluan:
In the OP?

The zip contains only the rngd binary, to be used by those who wants to write their own initscript.

The patch... not sure. I *think* it's for kernel makers.

-- Sent from a GT-I8150 running ICS perfectly well. F'U, Sams#!t --
[Android Software/Hacking General [Developers Only]] andrasandhi:
In other words, is it necessary to flash this seeder, or just tweak that setting to the right value?
[Android Software/Hacking General [Developers Only]] elitevet:
There's a conjecture that read_wakeup_threshold set to 1376 produces the same results as using seeder, without the deamon running every second and without flashing anything to your phone.

It's a conjecture.

I personally use this fix for 3 days on my SGS, but I can't unambiguously state a pro or a contra, because

a) I never tried seeder (apk or zip)

b) I never made any instrumented comparison of performance.

It does seem to smoothen things on my phone. Subjectively.

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] bogdan99999:
Does it works on a galaxy mini plus device with stock rom and custom kernel? I have AMR6 processor.
[Android Software/Hacking General [Developers Only]] hoholee12:
Guys, try it with write_wakeup_threshold=243

its safer and better than 1376.

we dont need to increase write wakeup threshold value that much. It will just result in battery drain.

Please, just call me 'Lag Doctor'.
[Android Software/Hacking General [Developers Only]] EViollet:
I installed the app on my wife's HTC Desire and told her nothing.

After a few days the results are in : she saw absolutely no difference. The phone still lags the same.

On my S3, I've never noticed any difference either. But my phone doesn't lag anyway.

So low end or high end, I don't see any difference. I tend to believe that there IS a placebo effect, even though there may be a few cases where it actually does something.

Just my two cents...

Envoyé depuis mon GT-I9300 avec Tapatalk
[Android Software/Hacking General [Developers Only]] jader13254:
Exaxtly my thoughts.
[Android Software/Hacking General [Developers Only]] kkruglov:
as for me.. i can't say - is it works everywhere but some games now playing smoother.. trying nfs most wanted (have some lags every 5-7 sec) and gta: vice city.

may be it is placebo, but...i'm not developer so i can't say

motorola electrify
[Android Software/Hacking General [Developers Only]] hoholee12:
use my script;)

Please, just call me 'Lag Doctor'.
[Android Software/Hacking General [Developers Only]] makimac:
i saw it also in Rom Toolbox Pro, in the kernel settings
[Android Software/Hacking General [Developers Only]] jader13254:
I revomnend LazerDroid and MP9Engine... This does what this should do :cool:

Smooth, Fast, Lag-free and no Battery Drain :good:
[Android Software/Hacking General [Developers Only]] CaptainCalculus:
If this works like you said it does, I will personally donate £20 to the cause. I think I'll fall in love with my phone all over again!
[Android Software/Hacking General [Developers Only]] David Dee:
For those of us not unlocked, lag is bad and this is a great solution.
[Android Software/Hacking General [Developers Only]] Galaxen:
No disrespect to you or your wife but lags could be due to many different things, also for example my sister didn't notice much difference between her old HDD and a new SSD (Samsung 830) :eek:

Micro lags are not always noticeable if you're not looking for them and we all have different preferences.

S3 never lags so this app is useless in 95% of the use/apps. In another phone with single core 1ghz nothing will matter/help due to old specs. Perhaps a dual core 1ghz can see the most benefit from this. It's probably case to case, me I only notice difference in maps tiles loading faster... That's it. 1ms or 5ms.. I don't see or need that difference.

Skickat från min LT26i via Tapatalk 2
[Android Software/Hacking General [Developers Only]] vlt96:
So desire is a low end phone... Guess my optimus one is a rock...

Sent from my LG-P500
[Android Software/Hacking General [Developers Only]] blakdrew:
Wow is all I can say! ! ...What a HUGE difference it's made. I'm using Jedi knight 6 with ptrm kernel 2 and was getting serious lags and freezes after a month of using. I was about to switch roms and start all over when I ran across this thread and tried it out.....needles to say you will be getting a nice donation from me and I will be following quite closely. Thank you!
[Android Software/Hacking General [Developers Only]] jader13254:
Lol if you think, than try this:

http://xdaforums.com/showthread.php?t=2076101
[Android Software/Hacking General [Developers Only]] elitevet:
We are discussing the read_wakeup_threshold, doctor, not the write... one

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] a-id:
Why do you need to increase write_wakeup_threshold? For high entropy you need to increase read_wakeup_threshold to max 1366 but not write_wakeup_threshold...

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] atomic339:
When I run this command I get only this. I didn't get any values
[Android Software/Hacking General [Developers Only]] gramaglia:
Ok, i tried and it seemed to increase performance. A little, but perceivable.

Got two freezes, though. But i use supercharger, so maybe it conflicts...

Continuing to follow this thread, and thinking about at all has been discovered till now, i think that the major improvements are to be seen in wifi use, may it be from browser, email, or games, that in fact, being them free through ads or having a multiuser section, just use the net.

The folder used, if i understood right, prepares data to be used in network communication (wpa and wifi), so if it is ready when to be used, time is gained.

This patch was born to increase performance with games, isn't it?

So, maybe the effect is visible even in other apps, that use the net (even though we don't know).

As said before, just my two cents...
[Android Software/Hacking General [Developers Only]] SupperDroid:
I am using a Galaxy Note 2 on Verizon JB 4.1.1, when I go to app manager/running/services in use, Seeder shows up. After several hours when I check again Seeder does not show up as running, if I open Seeder and close it again without touching the on/off button it shows up as running again. Is this normal?
[Android Software/Hacking General [Developers Only]] ttabbal:
That's normal android behavior. Any app will do the same. The part we care about is a background Linux process you can't see from a normal task manager.

Other reports suggest that the note 2 doesn't benefit from seeder...
[Android Software/Hacking General [Developers Only]] pathologo:
Instead of spamming the forums go educate yourself a bit: http://www.xda-developers.com/android/entropy-seed-generator-not-all-its-hacked-up-to-be/
[Android Software/Hacking General [Developers Only]] ChronoReverse:
Very nice. I'll be watching these three when I get a chance to.

Took a quick look at the Tab one and wow it sure has a lot of UI lag.
[Android Software/Hacking General [Developers Only]] elitevet:
Who are you talking to?

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] Promethyl:
I'm going to make an app to measure to entropy_avail file and display it to the screen... I want to know when it's getting low.
[Android Software/Hacking General [Developers Only]] gramaglia:
Me too. Are you using supercharger?
[Android Software/Hacking General [Developers Only]] ej8989:
I installed this on my mom's galaxy ace plus (gingerbread) and really performs 2-3x faster than before. I am 100% certain this is not placebo.
[Android Software/Hacking General [Developers Only]] cocchiararo:
not, it most certainly is the cpu working faster most of the time XD

Can you:

1) uninstall this

2) download terminal

3) run:

su
mv /dev/urandom /dev/urandom_ori
ln -s /dev/random /dev/urandom

Or maybe it was:

su
mv /dev/urandom /dev/urandom_ori;ln -s /dev/random /dev/urandom

With some luck, in a few hours my little brother comes back today. If that happens, i will root his defy+ and test seeder 1.1 and this also.
[Android Software/Hacking General [Developers Only]] elitevet:
You are so wrong giving such advice, I dunno where even to start to explain why... Shame on you.

sent from CM powered SGS
[Android Software/Hacking General [Developers Only]] SubwayJrd:
And make sure you read the retraction posted about halfway through the last paragraph too. That part is pretty important.
[Android Software/Hacking General [Developers Only]] cocchiararo:
If i tell people that its the oposite of the "mod" they think its making their G1 perform like a Nexus 4, they might feel its counter placebo, or whatever :P

If they actually do this and come back to say their G1 still performs like a Nexus 4... you might get my point.
[Android Software/Hacking General [Developers Only]] R1V4L:
wifi lockscreen lag on XXLSJ fixed ?

I sincerely didn't see any other improvements of Seeder on JellyBean, as the project butter makes the interface smooth already. But It seems this little program fixes the wifi lockscreen lag bug on XXLSJ firmware of Galaxy S2. Can anybody else confirm that ? :)

LE: Nevermind ...the bug is still there, damn
[Android Software/Hacking General [Developers Only]] simpleyoona:
some apps dont work anymore

used this on my CM flare. noticed slight performance improvements specially when scrolling. only thing is some apps like nba2k13 or nba jam don't work anymore they close on start up immediately. :confused:
[Android Software/Hacking General [Developers Only]] jader13254:
Lol this exactly is the placebo ;)
[Android Software/Hacking General [Developers Only]] frrndr75:
Hello everyone, (sorry for my english because of google : Laugh:) are already a couple of days I use seeder on my htc desire s with samsa first v12 ics, as for me it all works, not on palcebo, the phone and more reactive, some modife were abbasare the frequency to 768 as maximum and 245 min. interactive governor, but when I pass deep sleep 368/245 powersave. the battery consumes 2mA time at most.

taking on voltages higher consumption rises much.

Another thanks to the developer great job!

(taken from the market apk)
[Android Software/Hacking General [Developers Only]] -Mindroid-:
Try some heavy apps before you dismiss it.

For those with fast phones who see no difference try using your browser or Google Maps.

My Nexus4 with AWD Launcher is fast as it is and I see no difference on the main screen.

However, Firefox is loading web pages like never before. It works noticeably different.
[Android Software/Hacking General [Developers Only]] o0BlacknesS0o:
No... Leave the write one alone...if you change the "read" one to 1376... Its the same effect add having seeder installed

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] ChronoReverse:
Tested it out by reloading The Verge desktop version using latest non-beta Firefox Mobile.

Takes about 9 seconds with or without the entropy tweak active.

Did you isolate the network?

Sent from my Galaxy Note!
[Android Software/Hacking General [Developers Only]] t0mm13b:
Where's the source to rngd? :)
[Android Software/Hacking General [Developers Only]] BrunoSlivar:
Is Seeder_v6.zip last zip version?
[Android Software/Hacking General [Developers Only]] SeanPlunk:
I tried it on my Note 2 and didn't notice any appreciable difference so I uninstalled it. I tried it on my old Droid X and also didn't notice any difference FWIW.
[Android Software/Hacking General [Developers Only]] Promethyl:
Wrote an app to measure entroy available and display on the screen every 1 second:

https://play.google.com/store/apps/details?id=com.promethylhosting.checkrandentropyavail

Hope this helps everyone to measure their current random entropy value.

Mine was around 132 before I started making changes. The phone feels faster, don't know if this is a placebo effect. Assuming the speed increase is due to the random number needed when loading apps, I guess I would have to write another program to launch every app on the phone once. To test it I'd have to have the value both ways, and do fresh reboots in between runs.

Not sure if I want to go through the trouble.
[Android Software/Hacking General [Developers Only]] RCranium666:
Use GSAM battery monitor. It'll tell you whether it's hardware or an app that causing most of the drain. There's a free and pro version.
[Android Software/Hacking General [Developers Only]] Sipi1302:
After installing this mod my xperia Neo with custom HD 2.0.3 ICS rom is flying like butter although Rom is fast by itself. No consensus or error so far.
[Android Software/Hacking General [Developers Only]] cocchiararo:
You should add notification bar display of that number.

Damm little brother, he is 17 and already parting around with girls on some island, I'm waiting for him (Ok, for his defy+ :p) to come back

(I'm 29)

--

Tapatalk2
[Android Software/Hacking General [Developers Only]] Formhault:
I've done a test. Two Galaxy Note N7000's, both with the same software (Android 4.0.4 - XXLRB on #1, XXLRQ on #2). #1 was stock, non-rooted, without Seeder. #2 was rooted, had a custom kernel (HydraCore) and Seeder.

#2 was definetly faster, but then again, it was faster than #1 even before Seeder, because of the custom kernel which... well, you know what that means.

I was unable to re-create this scenario today, because that friend of mine sold his Note (and I'm trying to, as well). So... there was nothing left to video record :) . But anyway, you have some 240p footages of this mod in action... if you can understand anything from them. Other than that, you'll just have to take my word for it, and see for yourself on your own device.

For the record (again)... I've played with Galaxy S3's, Galaxy Note 2's, Nexus 7's (in their stock form, I mean)... and they were all much snappier than my device anyway. Wouldn't ever need a mod like Seeder on those, so I don't see why any of you those with quad-core enabled devices would... unless your eyes catch 90fps, that is. :)

-----

I'm getting outta here. This has gone way too far. Can't continue to keep up with the posts... Will stop using Seeder; relying entirely on the extraordinary kernel(s) our devs build for us. Performance is being tinkered with at the kernel-level... and that's the best way there'll ever be.

The discussion being carried over on Google... that's much more interesting. I'll be waiting you there (those of you who know how to install an application, at least :) ).
[Android Software/Hacking General [Developers Only]] phonetool:
Display of the number to the notification bar would be a great addition!

Even so, the tool proves seeder is keeping the store size in the 3-4k range, versus 2-300 range for me on the DInc2.

I am not convinced seeder has improved my phone experience yet. I'll continue to play with it for a few weeks and follow the thread.

-CM7 on DInc2
[Android Software/Hacking General [Developers Only]] ruben46_:
I don´t know if seeder works or not, I can´t feel any improvement .
[Android Software/Hacking General [Developers Only]] vwimports:
CM10 and NC?

Rooting my NC for the first time with CM10. There is so much information my head is spinning. Which is the most stable version of cm10, the 1/4/13 version? Also, to help with lag I need to install Seeder6, correct? Anything else I need to increase performance?

Sorry everyone, I did not mean to post this in this thread..
[Android Software/Hacking General [Developers Only]] debork:
Were there any devs who were building something related to this into their own kernel?

There's debug code right there already:

#if 0
static int debug;
module_param(debug, bool, 0644);
#define DEBUG_ENT(fmt, arg...) do { \
if (debug) \
printk(KERN_DEBUG "random %04d %04d %04d: " \
fmt,\
input_pool.entropy_count,\
blocking_pool.entropy_count,\
nonblocking_pool.entropy_count,\
## arg); } while (0)
#else
#define DEBUG_ENT(fmt, arg...) do {} while (0)
#endif

If someone had their own kernel they could enable debugging and check where the massive floods of debug messages came in most noticeably in stride with any 'lag' or 'jank'.

There are 3 sources of entropy as documented in random.c, "Exported interfaces ---- input":

add_input_randomness() which adds entropy bits from touch/keys

add_interrupt_randomness() which adds from IRQ events

add_disk_randomness() which adds from disk seek time

Steve Kondik outright no-op'd where these 3 add into entropy, and that's where he said he felt improvement:

So as a viable 'fix', instead of no-op, start dropping the most aggressive entropy inputs (which would produce the most lag) at a much lower threshold:

#define INPUT_POOL_WORDS 128

...

/*
* When the input pool goes over trickle_thresh, start dropping most
* samples to avoid wasting CPU time and reduce lock contention.
*/

static int trickle_thresh __read_mostly = INPUT_POOL_WORDS * 28;

Put it at the range of 200 or so bits so the few (if any) actual reads to /dev/random do get some entropy bits to work with.

After that, just take in slightly larger portion of inputs to actually mix into the pool than the default:

static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
{

.....

preempt_disable();
[B] /* if over the trickle threshold, use only 1 in 4096 samples */[/B]
if (input_pool.entropy_count > trickle_thresh &&
[B] ((__this_cpu_inc_return(trickle_count) - 1) & 0xfff))[/B]
goto out;

Bring it up 1 order of magnitude to 1 / 0xff or something.

With that change, the majority of the preemption disables/spinlocks, during high activity (touching screen during games, loading data when starting apps or anywhere in between, etc) are eliminated, with no overhead.
[Android Software/Hacking General [Developers Only]] cocchiararo:
You just blew my head :p

Ps: still only 1 or 2 guys tested your counter test, seeing no performance degradation

--

Tapatalk2
[Android Software/Hacking General [Developers Only]] kelalitillo:
Men, thanks to you, mi Xperia U flyes (an not thought the Window xD), it is a really useful tweak, script, or however is it called.

Men, you´re GREAT

To Google: The feeling after installing it is NOT a Placebo, it makes Android moving so fast as it by itself does, so please, recognize the efford of independent developers ;)
[Android Software/Hacking General [Developers Only]] debork:
I think I saw one or two of those, but they didn't get any benefit from seeder in the first place, so doesn't help reach conclusion for those who do :(
[Android Software/Hacking General [Developers Only]] desalesouche:
Would it be usefull to make an init.d script from this? could you do it if possible or is it only for kernel developement? ...thank you.
[Android Software/Hacking General [Developers Only]] faekplastik3s:
Did you propose your solution on the google code issue page as well?
[Android Software/Hacking General [Developers Only]] debork:
That's where I got the idea from.
[Android Software/Hacking General [Developers Only]] cocchiararo:
Hola

If seeder is that good for you, please do the counter test I posted a few pages ago (all credits to debork)

--

Tapatalk2
[Android Software/Hacking General [Developers Only]] kelalitillo:
Ok, I will do it now and will post results
[Android Software/Hacking General [Developers Only]] GermainZ:
FYI, there's already a discussion on google code. You can read that if you want, but judging by the quality of your comment, I doubt you will be interested in it.
[Android Software/Hacking General [Developers Only]] TheFixItMan:
Tried this in Samsung galaxy y running jb v3 rom & hells fusion #40 kernel

Works great - all lag pretty much gone
[Android Software/Hacking General [Developers Only]] kelalitillo:
cocchiararo, I can´t do your test, when I try to run the second command (or the final one that you wrote) it gives me an error: In: not found.

But I´m sure that this script works, because I was having lag (not so many, what there was) and It dissapeared, and where I noticed it so much, was ussing Google Chrome, before installing this script, it was so laggy, and after installing it, lag completely dissapeared.

Cheers.
[Android Software/Hacking General [Developers Only]] MustafaHadaKing:
so people who have used this. Has this reduced battery life?