PINE64
Cannot unlock pinephone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: Cannot unlock pinephone (/showthread.php?tid=10813)



Cannot unlock pinephone - hb. - 07-23-2020

This is embarrassing to relate, but when my new pinephone arrived today I entered a numeric passcode when prompted in setup.  A short time later I changed my password from the CLI to something with letters in it.

Now, at the lockscreen I am prompted with a numeric keypad, but - as my password is not simply numeric - I cannot unlock.

I have not been able to access the phone via ssh (I am not sure of the IP address), and UBports installer does not recognize the phone when I plug it into my computers USB port.  I can access the phone via telnet ($ telnet 172.16.42.1) but from that interface I cannot do much ("sudo: not found", "su: not found", "passwd: not found", etc.) and so cannot change my login password.

My next plan is to try and boot from an SD card.  But if anyone has advice on how to access the phone to change the password (I know what the login password is I am just unable to type it at the lockscreen!), or to wipe and restore to factory presets without logging in, that seems much easier.

Many thanks!


RE: Cannot unlock pinephone - tllim - 07-29-2020

(07-23-2020, 03:05 PM)hb. Wrote: This is embarrassing to relate, but when my new pinephone arrived today I entered a numeric passcode when prompted in setup.  A short time later I changed my password from the CLI to something with letters in it.

Now, at the lockscreen I am prompted with a numeric keypad, but - as my password is not simply numeric - I cannot unlock.

I have not been able to access the phone via ssh (I am not sure of the IP address), and UBports installer does not recognize the phone when I plug it into my computers USB port.  I can access the phone via telnet ($ telnet 172.16.42.1) but from that interface I cannot do much ("sudo: not found", "su: not found", "passwd: not found", etc.) and so cannot change my login password.

My next plan is to try and boot from an SD card.  But if anyone has advice on how to access the phone to change the password (I know what the login password is I am just unable to type it at the lockscreen!), or to wipe and restore to factory presets without logging in, that seems much easier.

Many thanks!

You can using the factory test OS to reprogram eMMC back to factory default state. Here is the link: https://wiki.pine64.org/index.php?title=PinePhone_Software_Releases#Factory_Test_OS


RE: Cannot unlock pinephone - Subsentient - 07-30-2020

(07-23-2020, 03:05 PM)hb. Wrote: This is embarrassing to relate, but when my new pinephone arrived today I entered a numeric passcode when prompted in setup.  A short time later I changed my password from the CLI to something with letters in it.

Now, at the lockscreen I am prompted with a numeric keypad, but - as my password is not simply numeric - I cannot unlock.

I have not been able to access the phone via ssh (I am not sure of the IP address), and UBports installer does not recognize the phone when I plug it into my computers USB port.  I can access the phone via telnet ($ telnet 172.16.42.1) but from that interface I cannot do much ("sudo: not found", "su: not found", "passwd: not found", etc.) and so cannot change my login password.

My next plan is to try and boot from an SD card.  But if anyone has advice on how to access the phone to change the password (I know what the login password is I am just unable to type it at the lockscreen!), or to wipe and restore to factory presets without logging in, that seems much easier.

Many thanks!
Try /sbin/su instead, the shell might not have the path set correctly, as minimalist shells often don't.


RE: Cannot unlock pinephone - daniel - 07-30-2020

(07-23-2020, 03:05 PM)hb. Wrote: This is embarrassing to relate, but when my new pinephone arrived today I entered a numeric passcode when prompted in setup.  A short time later I changed my password from the CLI to something with letters in it.

Now, at the lockscreen I am prompted with a numeric keypad, but - as my password is not simply numeric - I cannot unlock.

I have not been able to access the phone via ssh (I am not sure of the IP address), and UBports installer does not recognize the phone when I plug it into my computers USB port.  I can access the phone via telnet ($ telnet 172.16.42.1) but from that interface I cannot do much ("sudo: not found", "su: not found", "passwd: not found", etc.) and so cannot change my login password.

My next plan is to try and boot from an SD card.  But if anyone has advice on how to access the phone to change the password (I know what the login password is I am just unable to type it at the lockscreen!), or to wipe and restore to factory presets without logging in, that seems much easier.

Many thanks!
This happened before, please see:
https://forum.pine64.org/showthread.php?tid=10814&highlight=locked

To run ssh, you first need to start ssh server on the phone (which if you haven't done before being locked, now is too late?)
If you did and generated public key, then do: phablet@<IP> -p22
some extra info: http://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html


RE: Cannot unlock pinephone - hb. - 08-07-2020

Thanks to all who replied! I am currently in the midst of a move and have back-burnered this for the time being but will give these suggestions a try soon and let you know what worked.