custom recovery events

kanged from https://bitbucket.org/cm3066/android_device_rockchip