add frandom

Change-Id: I3b09a55a58efe6f311e649ff01a90e4f6f220f4a
build fixes

Change-Id: Idc34239e54a405b36de4f6aff2d7a76f88f37805