question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error finding unlock pin buttons

See original GitHub issue

The problem

Unable to unlock android device, using unlock type pin

Environment

  • Appium version 1.17.1
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: Ubuntu
  • Node.js version (unless using Appium.app|exe):12
  • Npm or Yarn package manager: 6.3
  • Mobile platform/version under test: Android v9
  • Real device or emulator/simulator: Real
  • Appium CLI or Appium.app|exe: CLI

Details

Appium is unable to unlock device, due to the error below , using the following caps

        dc.setCapability("appium:unlockType", "pin");
        dc.setCapability("appium:unlockKey", "0000")

Link to Appium logs

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, May 11, 2020

Different devices might have customized lock screens and/or customized unlock algorithms (e.g. different keys might be used to activate the screen). That is why it is important to have exactly the same hardware to be able to reproduce such issues, which is not achievable.

1reaction
shibupandacommented, May 11, 2020

@Amrkamel1 Thanks for the update. As @mykola-mokhnach mentioned it may have customized unlock algo. I have this device Galaxy S8 , SM-G950F , v9. Let me debug from my side.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error finding unlock pin buttons! (Samsung A8) - Katalon Studio
But I am getting an error 'Error finding unlock pin buttons!'. I am using Katalon Studio 7.2.1 with Appium 1.17.0. This is the...
Read more >
Appium unlock does not work on some devices [Android]
I have an issue with appium unlock on android. ... Original error: Screen did not unlock successfully, retrying (WARNING: The server did not ......
Read more >
How to Fix Phone not Accepting Correct PIN on Android and ...
Hold the Power button down and press the Volume up button once and then release the Power button. Some options will appear now....
Read more >
Can't unlock your Android device - Google Support
Have Location turned on; Have Find My Device turned on. Learn how to remotely erase a phone. Option 2: Reset your phone with...
Read more >
I inserted a new SIM card and now it is asking me for a PIN or ...
FAQ for Samsung mobile phones. Find more about "I inserted a new SIM card and now it's asking me for a PIN or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found