yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Androguide.fr:
I'm not sure it would do any harm as both apks are using the same binary, and basically clicking the apply button in my app will kill any previous rngd process running, then re-run it with the new arguments, set the new rngd process's oom_adj to -17 and renice it.

Here's the script used in my implementation, only the rngd -t -T -s -W line is modified with the user's values :

echo 'Remounting /data...'
busybox mount -o remount,rw /data
sleep 2
echo 'Deleting old PID file & Generating new one...'
busybox rm -f /data/rngd.pid
PID=$(pidof rngd)
busybox echo $PID > /data/rngd.pid
sleep 4
echo 'Killing rngd if already running...'
kill $PID
sleep 2
echo 'Running rngd with new parameters...'
rngd -t 2 -T 1 -s 256 -W 75%
sleep 2
PID=$(pidof rngd)
echo 'Locking rngd process into memory... (PID = '$PID')'
echo -17 > /proc/$PID/oom_adj
sleep 2
echo 'Renicing rngd process...'
renice 5 $PID
sleep 2
echo 'Done !'

Correct me if I'm wrong though
[Android Software/Hacking General [Developers Only]] lambgx02:
Hmm.. is that two scripts together or just one? You definitely don't want to delete the pid file until you're sure rngd has been stopped. Also, you don't need to remount /data; it's always mounted read/write.

The Linux OOM killer is also different than the android one; it only gets called on extreme memory pressure that the system should never hit, and if it does, rngd is a good candidate. The alternatives are Dalvik vms, and other critical processes.

Oh, and there's no point creating rngd.pid yourself; rngd already does that on successful startup. :)

*edit* For safety, Seeder will only kill rngd if it was started from /data/data/com.lcis.seeder/rngd (in case the PID file is wrong). So if you install both apps, Seeder will start a 2nd rngd process (clobbering the original PID).
[Android Software/Hacking General [Developers Only]] Androguide.fr:
It's only one script, placed in /system/bin for convenience and called from the app + modified from the app using sed.

Right about remounting /data, thanks, that was silly^^

I don't think it's bad to make the LowMemoryKiller avoid to kill the rngd process on OOM conditions, as anyways it doesn't use much memory. Letting the LMK kill a background app will free-up much more memory anyway, so I think it's preferable to actually execute that oom_adj part, just in case. rngd is a process you want to avoid being killed, imo.

Edit : after seeing your edit, that's right, it will only work if the user had an rngd process previously started by Seeder and that he then enables it in mine, but not the other way around
[Android Software/Hacking General [Developers Only]] apatal:
I like the Holo look but I think I'll hold off using it until your next release which hopefully addresses the things mentioned above. Thanks. :)
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Well there's not much I can do about it, the best way to adress this problem is for the user to simply pick the app he wants to use, disable/uninstall the other and reboot ;)

Having both wouldn't be of any benefit anyway, we were just debating whether theoretically it would run 2 consecutive rngd processes, which you don't want to have
[Android Software/Hacking General [Developers Only]] jewnersey:
I wouldn't know what to tweak if I chose to install the second one.... But thanks
[Android Software/Hacking General [Developers Only]] claytonjn:
Interpreting the about screen it appears that you're going to incorporate this into the Pimp My ROM app...is that correct? I've always found that simply having fewer apps installed does a lot to improve performance, so if I could get the benefits of Seeder built into an app I already use that would be perfect...
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Easy : play with the values and pick the ones that give you the most entropy available (you can see the changes in real-time with the progress bar that scans the entropy_avail).

The sysctl commands (the 2 last seekbars) will drastically increase the available entropy.

Yup, this tool is part of the next update of Pimp my Rom, which'll be released in a few days. I just thought I'd contribute to this thread as I use lambgx02's binary so I made a standalone ;)
[Android Software/Hacking General [Developers Only]] apatal:
Oh OK. I thought the original seeder is needed for the holo one to work. But if it can work on its own well enough. I'll give it a try. Thanks for sharing. :)
[Android Software/Hacking General [Developers Only]] temporarium:
Not sure if it's just me, but the new app uses much more power - it shows up at the top of my battery usage, whereas Seeder didn't even make it onto the list...
[Android Software/Hacking General [Developers Only]] ema0185:
Bought on Play Store.

The 1.4.0 version works flawlessy on my Note!

Good job!
[Android Software/Hacking General [Developers Only]] claytonjn:
Not just you, it's like that for me too.
[Android Software/Hacking General [Developers Only]] obiwanek:
rngd service startup failed, says my phone is not rooted even tho I gave it permissions in su. Maybe because of my phone use Intel processor.? It's ZTE GRAND X In.

Wysłane z mojego Grand X In za pomocą Tapatalk 2
[Android Software/Hacking General [Developers Only]] nonato:
sometimes after heavy usage on my old galaxy s 1 running 4.2.1 slim rom i would notice lag so i check the seeder app and its off. so i definitely can tell the difference between it running and not.

so i locked it in memory using the sys.keep_app local.prop trick.

/data/local.prop

sys.keep_app_1=com.lcis.seeder
[Android Software/Hacking General [Developers Only]] timeu:
My nexus 7 was quite smooth in the beginning but after a time it slowed down and had some serious lags (specifically during app switching).

So I rooted and wiped my nexus 7. Of course right after the wipe there was not much lag. However again after a couple of days the lags started again. So I installed seeder 1.4.0 and I see significant improvements. The lag when switching apps or changing home screens is basically gone and the device feels much more responsive. I plan to try seeder also on my nexus s. My nexus s lags like hell (partly due to lack of memory and slow CPU) but maybe seeder can help here too. Has anyone tried seeder on the nexus s?
[Android Software/Hacking General [Developers Only]] ema0185:
Man just try it. It's working on all devices.
[Android Software/Hacking General [Developers Only]] pepoluan:
Cool, thanks! :cool:

I just happen to like writing my own initscripts, so I'll just grab the binary.

Many thanks! :thumbup:

-- Sent from a GT-I8150 running ICS perfectly well. F'U, Sams#!t --
[Android Software/Hacking General [Developers Only]] apatal:
Yep. Seems to be working on mine. Better try it and see for yourself though. :)
[Android Software/Hacking General [Developers Only]] rasengan82:
I think the binary needs to be recompiled for Intel.
[Android Software/Hacking General [Developers Only]] wavedashdoc:
So I was running a previous versions of seeder till 1.3.0 on my galaxy nexus. Then I started getting random quick reboots while the phones screen was off. So I uninstalled seeder and went to a previous version. 1.2.4. Same thing started to happen. So I figure maybe my over clock was starting to get to my phone. So I down clocked it to normal. Again random reboots. So seeder messed up my phone. Thankfully a wipe and a restored version of my system fixed the reboot issue. Has anyone else been experiencing random reboots like this? I just installed the new app "entropy generator" so will see how that goes.
[Android Software/Hacking General [Developers Only]] fivefour:
If you uninstalled seeder and you had another reboot the issue definitely lies elsewhere, all you had to do was uninstall seeder...there was no need to wipe system as the rngd binary lives in /data/data/com.lcis.seeder
[Android Software/Hacking General [Developers Only]] Ryuinferno:
The problem might be with obtaining root permissions...however, rngd is compiled for armel devices at the first place, which might be another reason...
[Android Software/Hacking General [Developers Only]] fivefour:
The ZTE Grand X is Tegra2 based.

*edit*

The ZTE Grand X IN is indeed intel atom based, so you will need a different rngd binary compiled for the x86 CPU.
[Android Software/Hacking General [Developers Only]] mw86:
I am a supporter of all three methods. Still testing how effective systctrl, seeder and entropy generator are. Seems entropy generator is taking a bit more resources than Seeder is at version 1.4.

I am going to ask why it seems so much entropy seems to be used when seeder or entropy generator are active but under similar conditions with systctrl method seems it doesn't cause more entropy to be used by its way of keeping entropy full vs the method seeder and entropy generator are. Seems that they use a bit of entropy keeping entropy filled. I dont see that issue/effect on raising read_wakeup_threshold to 1366. Almost like perpetual motion. Idle on seeder and entropy generator i am seeing more entropy used vs no app and Systctrl method. Any suggestions or ideas to stop that or why it may happen. Or is something else happening that when either is run is using the extra entropy, maybe a process used but not directly the apks themselves. I am unsure and I a not claiming the apps are doing this. Its an observation and may have nothing to do with seeder itself or entropy generator.

Seems the drops i was noticing was 100-300 in entropy.

I do know I/o, gui, starting any single process and much more use up entropy so i am unsure what background task may be the root.

Dont think its the monitoring aspect as when i use check random entropy available app it doesn't raise when idle.

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
[Android Software/Hacking General [Developers Only]] debork:
See random.c:

static void xfer_secondary_pool(struct entropy_store *r, size_t nbytes)
{
...

/* If we're limited, always leave two wakeup worth's BITS */
[B] int rsvd = r->limit ? 0 : random_read_wakeup_thresh/4;[/B]
int bytes = nbytes;

/* pull at least as many as BYTES as wakeup BITS */
[B] bytes = max_t(int, bytes, random_read_wakeup_thresh / 8);[/B]
/* but never more than the buffer size */
bytes = min_t(int, bytes, sizeof(tmp));

...

}
[Android Software/Hacking General [Developers Only]] lehusan:
Having the same problem here after updating to 1.3.1...now running 1.4, if my Samsung Galaxy Nexus keeps rebooting, I'm returning to v 1.1 (no problems there).
[Android Software/Hacking General [Developers Only]] xTPTBx:
This app is amazing :) I found a boost to my systems app switcher
[Android Software/Hacking General [Developers Only]] lehusan:
And i'm getting reboots as well on 1.4, also battery readings are messed up - had 48% before reboot, after it was showing only 12% (2 min interval), reboots apear generally when i'm trying to unlock the device with side button - the screen doesn't go up from sleep :/ Could You please reupload previous versions, beacause the links are taken down...
[Android Software/Hacking General [Developers Only]] Ryuinferno:
The previous versions are all still in the attachments part of the first post...it would be helpful if you could replicate the problem again while taking a logcat via adb...
[Android Software/Hacking General [Developers Only]] amerkiller1995:
I recently changed from seeder_v5.zip to the 1.4.0 app and there is bigger battery drain.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] fivefour:
did you first remove the flashed version?
[Android Software/Hacking General [Developers Only]] Ryuinferno:
Actually, if you turn the seeder script off and use the app later on, it will be the same regardless of whether you remove the contents of the zip or not because the app calls rngd from /data, while the script calls it from /system/xbin...and if you use the new app by Androguide.fr, although it also calls rngd from /system/xbin, however it will not be able to be called twice as it is already ran by either the script or app...so to simplify stuff, use only ONE of these...NEVER USE the seeder app and the seeder script/entropy generator app simultaneously for best results...
[Android Software/Hacking General [Developers Only]] olivares.leody:
Sir

Is it ok if i un install zip then install apk? I un install v7 because my phone became laggy and the entropy_avail is below 10 always so I installed apk

Sent from my Hyper BlueICS iPocket

Thanks for pressing the button
[Android Software/Hacking General [Developers Only]] LeoPosas:
It's ok. ;)
[Android Software/Hacking General [Developers Only]] timeu:
chill ;)

I am soon going to retire my Nexus S (getting a Nexus 4 once it's available again)

My Nexus S is NOT rooted/unlocked.

So if I want to use seeder I have to wipe everything. I don't want to play around if it's not really worth the effort.

That's the reason why I was asking about the Nexus S.
[Android Software/Hacking General [Developers Only]] zodiaxe66:
U need root to run seeder or entropy generator..
[Android Software/Hacking General [Developers Only]] adiyoyo:
still

Still program says, it didn't see my root, but program work :) (it's ON and entropy is on full)
[Android Software/Hacking General [Developers Only]] amerkiller1995:
yes, i deactivated it in the terminal, rebooted then deleted the rngd script from system/xbin/

i think about going back to v5 flashable zip, since i didnt notice a difference between them.
[Android Software/Hacking General [Developers Only]] timeu:
I know and that's the reason why I was asking if anyone had some experience with it on the Nexus S.

I don't want to spend too much time playing around with my Nexus S (rooting, etc) when I am going to get a Nexus 4 anyways and the improvements are not really worth it.
[Android Software/Hacking General [Developers Only]] jonah1234:
Go to superuser app and make sure that it is allowing root to seeder. I had the same problem.
[Android Software/Hacking General [Developers Only]] lambgx02:
I'm working on multiarchitecture support; stay tuned. :)
[Android Software/Hacking General [Developers Only]] tjk410:
anyone tested it on Xperia U ?
[Android Software/Hacking General [Developers Only]] EatHeat:
U try it on U .. ;) :D

Sent from my Galaxy Y GT-S5360. Press thanks if I helped you.
[Android Software/Hacking General [Developers Only]] fast50shannon:
Running it on a Droid Bionic stock rooted for a few days I cant see any improvement.
[Android Software/Hacking General [Developers Only]] fivefour:
How much entropy do you have without seeder running?
[Android Software/Hacking General [Developers Only]] t4d73:
Lol just turn it off. :D
[Android Software/Hacking General [Developers Only]] rashidkhan:
I actually bought seeder from play to support you, all was fine until today, my phone went black, had to take the battery out, now says "unfortunately seeder has stopped" j have granted superuser, even uninstalled and installed again but to no avail, help!
[Android Software/Hacking General [Developers Only]] yotahiti:
last version working very well

I had a battery drain issue with the previous version, but this version is working great with and the battery drain is not noticeable. No lag, no battery drain : thank you :good:
[Android Software/Hacking General [Developers Only]] Cthater:
I have finally run into an issue. 1.4.0 somehow wouldn't let Google Now talk its responses. 1.3.1 its working again.

Don't know why but I'll stay on 1.3.1 for now.
[Android Software/Hacking General [Developers Only]] MrJoakimg:
Tried without seeder for two days. I'm seeing better performance with seeder on my nexus. No placebo for me. Just sayin' ;)
[Android Software/Hacking General [Developers Only]] naudmick:
Tried without seeder for two days. I'm seeing better performance with seeder on my Desire S, rom ICE DS v6.5 Android 4.0.4.

No placebo also for me.
[Android Software/Hacking General [Developers Only]] ChoiceMC:
Well tried the .apk... everything went well, less lag and all... until I ran out of battery. Then the phone didn't boot anymore. Had to do a complete wipe & ROM install... :(
[Android Software/Hacking General [Developers Only]] naudmick:
Phone model ?

Type Rom ?
[Android Software/Hacking General [Developers Only]] t4d73:
That happened to me too. Twice actually. But I was able to just reinstall rom without wiping data. You might want try that if it happens again. That will restore settings but should preserve data. Less of a headache lol.

I should also add that this happened as I was installing on a low battery and phone just powered off so I can't totally blame this software.
[Android Software/Hacking General [Developers Only]] tuscolavol:
Information for the developer as he tries to pin down issues. I have had zero issues with the apk's until 1.4. It kept turning off. It was random the best I could tell. But definitely after reboots. Reverted back to 1.3 with no problems. OGEVO on a Gingerbread rom. Ca1ne's Classic kernel.

Sent from my EVO
[Android Software/Hacking General [Developers Only]] obiwanek:
could someone try to do that? is that hard?
[Android Software/Hacking General [Developers Only]] Stromma:
I've tried all version up to 1.3.1. The last ones didn't stay enabled so I went back to 1.2.8 which seemed to be stable.

Instead of trying 1.4.0 I decided to try out the Entropy Generator posted earlier in this thread. This seemed to work fine and as far I can tell my phone got snappier.

I know that most of the experts claims that this potential boost won't show in a benchmark test. Never the less I've run some tests on my phone in Quadrant Standard. The best score I've got before using any of those two where somewhere around 5400, with Seeder enabled I've got scores between 5700 to 5800, and with the Entropy Generator my best score is 6081. I've made no other changes to my phone during this time.

Maybe there is no way of measuring this boosts in a benchmark test, but I can't see any other possible explanation to why my results have increased either.

Anyway, both these definitely works on my phone, and that would all be great if it wasn't for all problems I've experienced the last two days. Suddenly all kinds of apps seems to crash without any reasonable explanation, and today I've had more than five reboots. When the tree last ones occurred I wasn't even using the phone at the time, it rebooted when I unlocked it, and it definitely feels warmer than it use to.

The only reasonable thing I can come up with now is to uninstall and see how it behaves with out this for a day or to.

Galaxy S3, stock 4.1.2 root.

// Strömma
[Android Software/Hacking General [Developers Only]] magneticfield:
I tried, works fine in B.54 and C1.0 firmwares
[Android Software/Hacking General [Developers Only]] huntingr:
1.4 is working great on my EVO 4G (no crashes, reboots, or any other issues). It does run noticeably faster, especially during the transition between screens and apps. The last few versions have also worked great on my EVO. I'm rooted (obviously) and running the Nitrous ROM. One thing that I did when upgrading is to disable the RNG seeding service and uncheck the "Start automatically at boot" selection (via the app), then completely clear the cache and data and uninstall the older version (using the app manager) prior to installing a new version. This may be a bit overkill, but also gives the new version a fresh start.
[Android Software/Hacking General [Developers Only]] tjk410:
I've tried on B.54 too but i cant see the different ^^ How do we know that is affecting or not men ? :p
[Android Software/Hacking General [Developers Only]] saintfalcon:
Trying 1.4 on FB0 series with normal memory usage 83%,

less lagging, seems to be working great.

Games played more smoother.
[Android Software/Hacking General [Developers Only]] byutea:
I've tried starting from version 1.1, 1.2.8 & 1.3.1, my favorite is v1.1

now I'm trying v1.4.0 and doing some 2D-3D benchmark (AnTuTu) to know which version is better to use on my device (LG Optimus L5 e612)
[Android Software/Hacking General [Developers Only]] kochoid:
re: entropy application.

ok, well not to hijack this thread with a post about a different app, but this entropy apk seems - - 2 days in--to be the trick for my vzw nexus. my phone is pretty much always smooth except for in/out recents and switching between main notification drop down and quick settings. With entropy application, near flawless animations. ^_^ thx! and, I'm on aokp on 4.2.
[Android Software/Hacking General [Developers Only]] rashidkhan:
Can ANYONE reply to me? has anyone else had this problem?
[Android Software/Hacking General [Developers Only]] sonnhy:
Guys, difference between SeederV7.zip and Seeder1.4.0.apk?
[Android Software/Hacking General [Developers Only]] beyeond:
I'm still skeptical about this app and don't use it, but have u tried clearing cache and dalvik?
[Android Software/Hacking General [Developers Only]] EatHeat:
My phone blacked out a lot of times..but nothing like this happened..

Sent from my Galaxy Y GT-S5360. Press thanks if I helped you.
[Android Software/Hacking General [Developers Only]] SPyxOff:
Working just fine

After few days I was testing this, it's working like a charm on my GNex. I really can say about significant lag reduction. Even than I already had Jelly Bean on it, but I can definitely tell, latency and initial lag is gone for sure. Screen is responsive as many iPhone devices which has almost no lag when touching the screen. I'm glad someone brought this thing up.

If there is something that can get rid of scrolling lag and keep the device instantly follow your fingers, than it's Seeder. 10/10
[Android Software/Hacking General [Developers Only]] ad44891:
This is the sh!t! Awesome work!
[Android Software/Hacking General [Developers Only]] rashidkhan:
I haven't tried clearing cash and dalvik very recently but why would it suddenly stop working for no reason? I think there is a bug in the most recent version (from Play) and its got something to do with SU permissions, SU has granted it permission but the app keeps closing as soon as its opened.
[Android Software/Hacking General [Developers Only]] koolbrader:
Weird thing happening..

I'm on 1.4 now and for some reason this message keeps popping up :

"Unfortunately, system ui has stopped."

It pops up a lot and sometimes it stops n and my maps app keep running in the background until I have to disable it or else it would drain my Battery.

I could swear that all these problems started the moment I installed Seeder 1.4 but the funny thing is, after 2 days, this problem just disappeared. Now all the symptoms are gone, no more bugs, battery no longer draining and my phone is super fast and stable again. I never modified my phone or anything during these two days. I just left my phone and let the System UI crash as much as it wanted to LOL.

Thanks dude~
[Android Software/Hacking General [Developers Only]] rashidkhan:
I actually bought seeder from play to support you, all was fine until today, my phone went black, had to take the battery out, now says "unfortunately seeder has stopped" j have granted superuser, even uninstalled and installed again but to no avail!

I haven't tried clearing cash and dalvik very recently but why would it suddenly stop working for no reason? I think there is a bug in the most recent version (from Play) and its got something to do with SU permissions, SU has granted it permission but the app keeps closing as soon as its opened.

lambgx02 - Can you help?
[Android Software/Hacking General [Developers Only]] beyeond:
I'm by no means an expert, but i would try:

1. Disable seeder

2. Uninstall

3. Wipe cache and dalvik and reboot

4. Reinstall

It can't hurt. Not sure if it will work, but it's worth a try...

Odexed Blue Holy Grail v2.2 LJ7 by strongsteve

Blue icons and walls: http://db.tt/9y5M6Lk6
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Please attach a logcat of your FC, so we can check if the issue is device-related (ie borked busybox) or app-related, which case the logcat will be crucial for lambgx02 to track down the problem in his code if there's one.