fmbttizen: retry if XGetImage got a blank frame
fmbtandroid: Device.wake() added