GitToTheHub commented on issue #1775:
URL: 
https://github.com/apache/cordova-android/issues/1775#issuecomment-2777620089

   Cool you tracked it down and I was sure that the CLI is doing here 
something. I googled for `input keyevent 82` and found a entry on the XDA 
forums: 
https://xdaforums.com/t/unlock-your-screen-via-adb-send-the-menu-keycode.971768/
   
   Some described, that it is possible to unlock the phone via an adb shell 
command and explained the background:
   
   > I flashed a kernel and rebooted and when the phone was fully booted I 
could not unlock the lock screen!
   Had disabled the slider and had the menu key set to unlock (cm7). 
Unfortunately the kernel must have had a bug or something and all my soft 
buttons were not working.
   
   He changed to unlock the device with the software menu button instead and 
disabled the slide to unlock gesture. After rebooting the device his software 
menu button was not working and he was doing it programmatically to unlock it.
   
   After reading it more precisely I saw he referenced an entry on google 
groups: https://groups.google.com/g/android-platform/c/jVbq3gzjI2M?pli=1
   
   One asked:
   
   > Hi, Does anybody know how to unlock the phone with adb shell, in emulator 
by touching menu key it
   
   I think he wanted to ask how to unlock a real phone. In the emulator it 
worked by touching the menu key but on the real device not.
   In the XDA entry they are talking also about real phones: `Nexus One`, 
`Nexus 5`, `Samsung S6`.
   So it's about real phones.
   
   Today it does not exist a menu button on the device. This is long ago.
   
   I think this can be removed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to