Archiv für January, 2013

Speed up Android by sacrificing your “better” RNG

Sometimes Android can just be sluggish. If you want to try a little trick, replace your Random Number Generator.

There are two RNGs for Linux based systems, /dev/random and /dev/urandom. The latter is the weaker but faster (especially a “nonblocking”) one. As you probably won’t need extra high security for your daily tasks (unless you do work for some intelligence agency or are a nasty bad guy) there is only little risk incurred.

You need to be root for this:

# rm /dev/random
# ln -s /dev/urandom /dev/random

This tweak does not survive a device reboot.

Please tell me if you feel any difference (especially for Google+)!