ADB System Recovery
Try the in-app Restore Android option first. Use these ADB commands only if the app cannot be reached.
1. Check Device & Record Current State
adb devices -lIf multiple devices are connected, pass -s <SERIAL>. Record current values before modifying anything:
adb shell settings get global overlay_display_devices
adb shell settings get global enable_freeform_support
adb shell settings get global force_resizable_activities
adb shell settings get global force_desktop_mode_on_external_displays
adb shell settings get secure enabled_accessibility_services
adb shell settings get secure accessibility_enabled
adb shell dumpsys display > dextop-display-before.txt2. Emergency Recovery Sequence
adb shell am force-stop moe.n4tsu.dextop
adb shell cmd statusbar send-disable-flag none
adb shell wm user-rotation free
adb reboot3. Residual Overlay Display
Inspect overlay_display_devices first; only if it is Dextop’s spec, run:
adb shell settings delete global overlay_display_devices4. Accessibility Services
Open Accessibility settings on the device, or remove only moe.n4tsu.dextop from enabled_accessibility_services (set accessibility_enabled to 0 only if the list becomes empty):
adb shell am start -a android.settings.ACCESSIBILITY_SETTINGS5. Freeform / Desktop Mode Keys
Restore the values recorded in Step 1, or delete these keys only if you are sure they were not set before Dextop:
adb shell settings delete global enable_freeform_support
adb shell settings delete global force_resizable_activities
adb shell settings delete global force_desktop_mode_on_external_displays