Sending keypresses to a locked Nokia phone

Svante <[email protected]> Tue, 10 Nov 2020 02:44:17 +0100
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>
--===============6159966253962542644==
Content-Type: multipart/alternative;
 boundary=409e38a2fe1c4dd090d9830eb463fb1e

--409e38a2fe1c4dd090d9830eb463fb1e
Content-Type: text/plain

The keypad on my Nokia 515 (Series 40 feature phone) is water damaged, so I'm unable to enter my PIN code, or allow my Windows system to connect to it via Nokia PC Suite. I was wondering if I could set up and use Gnokii in order to send "keystrokes" or "keypresses" to it in order to unlock it.

I've connected the Nokia phone to my Linux (Debian GNU/Linux 10 (buster)) system, via the provided, standard micro USB-to-USB cable. It starts charging, and lsusb gives me the following:

> Bus 001 Device 013: ID XXXX:XXXX Nokia Mobile Phones

I have then installed gnokii and entered the following to the gnooki config file:

> [global]
> model = series40
> port = 1
> connection = dku2libusb

When trying to identify the phone, I get the following error message:

> GNOKII Version 0.6.30
> Couldn't open PHONET device: Operation not permitted
> Telephone interface init failed: Command failed.
> Quitting.
> Command failed.

I've also installed the Windows port of gnokii on my Windows 7 machine, with the following config settings:

> [global]
> port = com1:
> model = series40
> connection = serial

When running gnokii there, I get an error saying "Couldn't open FBUS device: Result too large", "Error in link initialisation: 1".

Not sure I have set the config file up correctly, or if gnokii can even connect to a phone which is not unlocked.

Would be much grateful for any support. My goal is to be able to unlock the phone (i.e. entering my PIN code) and then connecting my phone to my Windows system in order to transfer my contacts and files from it. 

Regards,
Svante
--409e38a2fe1c4dd090d9830eb463fb1e
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:arial, sans-serif;">The keypad on my Nokia 515 (Series 40 feature =
phone) is water damaged, so I'm unable to enter my PIN code, or allow my=
 Windows system to connect to it via Nokia PC Suite. I was wondering if =
I could set up and use Gnokii in order to send "keystrokes" or "keypress=
es" to it in order to unlock it.<br></div><div style=3D"font-family:aria=
l, sans-serif;"><br></div><div style=3D"font-family:arial, sans-serif;">=
I've connected the Nokia phone to my Linux (Debian GNU/Linux 10 (buster)=
) system, via the provided, standard micro USB-to-USB cable. It starts c=
harging, and lsusb gives me the following:<br></div><div style=3D"font-f=
amily:arial, sans-serif;"><br></div><div style=3D"font-family:arial, san=
s-serif;">&gt; Bus 001 Device 013: ID XXXX:XXXX Nokia Mobile Phones<br><=
/div><div style=3D"font-family:arial, sans-serif;"><br></div><div style=3D=
"font-family:arial, sans-serif;">I have then installed gnokii and entere=
d the following to the gnooki config file:<br></div><div style=3D"font-f=
amily:arial, sans-serif;"><br></div><div style=3D"font-family:arial, san=
s-serif;">&gt; [global]<br></div><div style=3D"font-family:arial, sans-s=
erif;">&gt; model =3D series40<br></div><div style=3D"font-family:arial,=
 sans-serif;">&gt; port =3D 1<br></div><div style=3D"font-family:arial, =
sans-serif;">&gt; connection =3D dku2libusb<br></div><div style=3D"font-=
family:arial, sans-serif;"><br></div><div style=3D"font-family:arial, sa=
ns-serif;">When trying to identify the phone, I get the following error =
message:<br></div><div style=3D"font-family:arial, sans-serif;"><br></di=
v><div style=3D"font-family:arial, sans-serif;">&gt; GNOKII Version 0.6.=
30<br></div><div style=3D"font-family:arial, sans-serif;">&gt; Couldn't =
open PHONET device: Operation not permitted<br></div><div style=3D"font-=
family:arial, sans-serif;">&gt; Telephone interface init failed: Command=
 failed.<br></div><div style=3D"font-family:arial, sans-serif;">&gt; Qui=
tting.<br></div><div style=3D"font-family:arial, sans-serif;">&gt; Comma=
nd failed.<br></div><div style=3D"font-family:arial, sans-serif;"><br></=
div><div style=3D"font-family:arial, sans-serif;">I've also installed th=
e Windows port of gnokii on my Windows 7 machine, with the following con=
fig settings:<br></div><div style=3D"font-family:arial, sans-serif;"><br=
></div><div style=3D"font-family:arial, sans-serif;">&gt; [global]<br></=
div><div style=3D"font-family:arial, sans-serif;">&gt; port =3D com1:<br=
></div><div style=3D"font-family:arial, sans-serif;">&gt; model =3D seri=
es40<br></div><div style=3D"font-family:arial, sans-serif;">&gt; connect=
ion =3D serial<br></div><div style=3D"font-family:arial, sans-serif;"><b=
r></div><div style=3D"font-family:arial, sans-serif;">When running gnoki=
i there, I get an error saying "Couldn't open FBUS device: Result too la=
rge", "Error in link initialisation: 1".<br></div><div style=3D"font-fam=
ily:arial, sans-serif;"><br></div><div style=3D"font-family:arial, sans-=
serif;">Not sure I have set the config file up correctly, or if gnokii c=
an even connect to a phone which is not unlocked.<br></div><div style=3D=
"font-family:arial, sans-serif;"><br></div><div style=3D"font-family:ari=
al, sans-serif;">Would be much grateful for any support. My goal is to b=
e able to unlock the phone (i.e. entering my PIN code) and then connecti=
ng my phone to my Windows system in order to transfer my contacts and fi=
les from it. <br></div><div style=3D"font-family:arial, sans-serif;"><br=
></div><div style=3D"font-family:arial, sans-serif;">Regards,<br></div><=
div style=3D"font-family:arial, sans-serif;">Svante<br></div></body></ht=
ml>
--409e38a2fe1c4dd090d9830eb463fb1e--


--===============6159966253962542644==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ25va2lpLXVz
ZXJzIG1haWxpbmcgbGlzdApnbm9raWktdXNlcnNAbm9uZ251Lm9yZwpodHRwczovL2xpc3RzLm5v
bmdudS5vcmcvbWFpbG1hbi9saXN0aW5mby9nbm9raWktdXNlcnMK

--===============6159966253962542644==--