dev/random may not be accessible in some custom ROMs.