is there any chance of releasing latest-script version?
i better choose init.d and using terminal emu to 'on' it than use apk.
is there any chance of releasing latest-script version?
i better choose init.d and using terminal emu to 'on' it than use apk.
Quick question to @lambgx02 :
Any changes to the rngd binary compared to the original 1st version?
I'm on the verge of zapping my phone, so I have to prep all things with which I'm going to rebuild my phone.
-- Sent from a GT-I8150 running ICS perfectly well. F'U, Sams#!t --
Yep - the latest binary implements power-saving (suspend-on-sleep); just grab it from the first thread. :good:
Hi guys, with the permission of lambgx02 I made an alternative apk to control the rngd binary.
Features
- SeekBars to control different rngd arguments such as :
- Feed Interval
- Feed Timeout
- Amount of Random Bytes
- Fill-Watermark
- SeekBars to control the two sysctl commands pointed-out by zeppelinrox, with a button to calculate an average value in function of your total entropy pool size (although it seems it's pretty much always 4096 on any device). :
- Kernel Random Read Threshold
- Kernel Random Write Threshold
- Automatic installation of the required binaries if those aren't found on your system
- Always visible ProgressBar to watch entropy_avail in real-time (similar to the ProgressBar in lambgx02's apk).
- RNGD can be set to run on boot (currently using init.d but I'll update it to use a service on BOOT_COMPLETED instead soon).
- Nice Holo UI + Backward-compatible ActionBar/Swipe-able Tabulation (thanks to the ActionBarSherlock library) and backported Switch element (thanks to de.ankri's library)
- Short explaination on each rngd argument/sysctl command controled by the app
This application is compatible with all Android versions from 2.2.x(froyo) onward to 4.2.1(jellybean)
Download
v1.0 : http://d-h.st/nWQ
The apk is also in the attachements of this post, and so will the updates
Screenshots
Hope you'll like it
Calm down and don't quote the whole post man. LolHoly **** man! Thanks! You guys rock!
Sent from my SPH-D710 using xda app-developers app
su
seeder
su
cd /sdcard/install
sh install.sh
su
cd /sdcard
sh uninstall.sh
watch -n 1 cat /proc/sys/kernel/random/entropy_avail
pgrep rngd
su
seeder
su
cd /sdcard/install
sh install.sh
su
cd /sdcard
sh uninstall.sh
busybox sysctl -e -w kernel.random.read_wakeup_threshold=128;
busybox sysctl -e -w kernel.random.write_wakeup_threshold=256;
while :; do cat /proc/sys/kernel/random/entropy_avail; sleep 1;done
busybox sysctl -w kernel.random.read_wakeup_threshold=2048
echo 1366 > /proc/sys/kernel/random/read_wakeup_threshold
busybox sysctl -w kernel.random.read_wakeup_threshold=1366
busybox sysctl -e -w kernel.random.read_wakeup_threshold=1024;
busybox sysctl -e -w kernel.random.write_wakeup_threshold=2048;
Ok, I have a question for the OP:
I would like to know your through process that led up to the development of this patch. Was this just instinct or did you have a hint? Did you use a profiler of some sort? I'm just incredibly curious how on earth you arrived at the 'problem' before developing your 'solution'!