add ag_fb_blank to fix compatibility with xiaomi-devices and add some error-checking

Change-Id: I531e5eedd5609625f3c9f038afaa4917922da784