ADB によるシステム復旧
まず Dextop アプリ内の Android を復元(Restore Android) をお試しください。画面操作ができないなどアプリ内復旧が使えない場合のみ、以下の ADB 手順を使用します。
1. 接続確認と現在の状態の記録
adb devices -l複数端末が接続されている場合は -s <SERIAL> を指定してください。変更前に現在の値を記録しておくと安全です。
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. 緊急復旧(一括コマンド)
adb shell am force-stop moe.n4tsu.dextop
adb shell cmd statusbar send-disable-flag none
adb shell wm user-rotation free
adb reboot3. オーバーレイディスプレイが残る場合
overlay_display_devices を確認し、Dextop の設定値であることが確認できた場合のみ削除します。
adb shell settings delete global overlay_display_devices4. アクセシビリティ設定の復旧
Android のアクセシビリティ設定画面を開くか、enabled_accessibility_services から moe.n4tsu.dextop のみを除去します(空になった場合のみ accessibility_enabled を 0 にします)。
adb shell am start -a android.settings.ACCESSIBILITY_SETTINGS5. フリーフォーム/デスクトップモード設定の復元
手順 1 で記録した元の値を復元してください。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