Kingdom: Add compass/g-sensor support to the ramdisk

Change-Id: I5f0efa1764319d9d971f45617e1ff7110c6caed4