WhatsApp SMS Verification screen blocking ADB input/injection

kevin105

Новичок
Регистрация
07.05.2026
Сообщения
2
Благодарностей
0
Баллы
1
Hi everyone,
I’m encountering a persistent issue while trying to automate the WhatsApp setup process via ADB on Android. Everything works fine until I reach the SMS Verification Code entry screen.
The Problem: As soon as the verification code screen appears, any ADB command related to touch or input fails to register. Specifically:
  • Running adb shell input tap X Y or input swipe causes the UI cursor to disappear immediately.
  • Once the cursor disappears, the screen becomes completely unresponsive to further ADB commands.
  • The only way to regain control or input the code is via a physical touch on the device.
What I’ve already tried (without success):
  1. Standard Injection: adb shell input tap and input text.
  2. Advanced Injection: adb shell input swipe X1 Y1 X1 Y1 100 to simulate a long press.
  3. D-PAD Navigation: Sending KEYCODE_TAB and KEYCODE_ENTER to gain focus.
Has anyone found a way to bypass this "Secure Surface" or force a hardware-level touch event via ADB? I am looking for a way to complete the verification flow remotely.

Thanks for any insights!
 

Кто просматривает тему: (Всего: 2, Пользователи: 1, Гости: 1)