fix UMS and ADB in recovery