maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Test device lock (https://talk.maemo.org/showthread.php?t=92621)

samuels 2014-04-20 21:21

Re: Test device lock
 
Quote:

Originally Posted by ivir (Post 1411278)
Hi,
Due I forgot device lock number I figured how you can ask on correct device lock or reset it.

For this purpose is there app /usr/lib/qt5/plugins/devicelock/encpartition

Arguments:
Code:

--is-set lockcode
--check-code <oldcode>
--clear-code <oldcode>
--is-clear-device-set ???
--unset-clear-device ???
--imei <something>
--clear-code <oldcode>
--set-code <oldcode> <newcode>
--set-config-key ???
--developermode ????
--clear-device <oldcode>

True/False are returned via exit code where 0 - success, 1 - fail
else as standard output.

Configuration is stored at directory /usr/share/lipstick/devicelock/ and encrypted/hash key is stored at /usr/share/lipstick/devicelock/.devicelock.enc, quite interesting are stored texts at binary file encpartition:
41414141, 42424241, 123456789012345 and /dev/block/platform/msm_sdcc.1/by-name/QOTP . More on http://www.onlinedisassembler.com/odaweb/4fDoTf/0

Unfortunately still don't know how reset device lock without sending to repair facility or brute-force.

Test all numbers with length 5 takes less than 3 hours on the phone with utilizing 20% of CPU.

Could you please explain how I use the posted app (zip file)?

ZogG 2014-04-21 01:34

Re: Test device lock
 
Quote:

Originally Posted by rainisto (Post 1411371)
You report theft to your local police, and they will report imei to operators imei db, and they will use blocklist depending what country you are in.

The phone would not come back to you anyway, so maybe t makes harder for theft to sell it, but eventually he will, but in cost of making it harder for users, by locking themselves out.

Let's compare it with gmail locking you out forever till you contact them for 5 mistakes. It sounds great, but it's not that practical, so it makes only pain for users.

There are other options that can be used i think.

jakibaki 2018-04-15 17:51

Re: Test device lock
 
At the risk of digging out an insanely old thread:
Simply removing /usr/share/lipstick/devicelock/.devicelock.enc and then running

Code:

/usr/lib/qt5/plugins/devicelock/encpartition --set-code
will reset the code (or probably just using the settings-app will work too).

You can remove the file using any "As Root" file explorer from openrepos.

olf 2018-04-15 22:33

Re: Test device lock
 
Quote:

Originally Posted by jakibaki (Post 1543338)
At the risk of digging out an insanely old thread: [...]

Thank you so much, I never found this information, which enabled me to "upgrade" my testing phone to a fully capable backup phone, again.
For more than two years I lived with the awkward situation to have full control over the device (as root), but being unable to set the lock-code (fortunately "automatic locking" was unset, so the device became my testing phone).

Cheers!

reinob 2018-04-22 15:38

Re: Test device lock
 
Quote:

Originally Posted by olf (Post 1543348)
Thank you so much, I never found this information, which enabled me to "upgrade" my testing phone to a fully capable backup phone, again.
For more than two years I lived with the awkward situation to have full control over the device (as root), but being unable to set the lock-code (fortunately "automatic locking" was unset, so the device became my testing phone).

Cheers!

I was once in pretty much the same situation, but didn't dare to do what @jakibaki has done (in the end I remembered that I had indeed changed the code, and I could remember the new one :)

Thanks for confirming that this works :)

paoletto 2021-01-21 17:39

Re: Test device lock
 
Quote:

Originally Posted by rainisto (Post 1411355)
Its queried for anti-theft, so if your phone is stolen then they cannot just wipe it clean and start using it. So remembering your lockcode is quite important.

sigh. there is no hope with jolla.

So i have a jolla1 bricked by last OTA update. The thing had no screen lock. Now recovery asks for devicelock code. What the hell am i supposed to do?

paoletto 2021-01-22 05:56

Re: Test device lock
 
Ok i contacted support, this is the answer(s) i got:

"Hi,

Thank you for your message!

After 7 years and 34 OS updates, we have decided to discontinue the support for Jolla Phone (a.k.a. "Jolla 1") in November 2020. OS version 3.4.0.24 remains the last one available for Jolla Phone.

This decision implies that we will also stop providing customer support for this product. We recommend seeking help from our community."

and

"Hi,

Thank you for your message!

Unfortunately we cannot help you with the security code. Our service partner went bankrupt last spring due to Covid and we don't have any other partner to help with this. "

Just for the records and for anybody who will most likely end up in the same boat.
I ask here again (with very little hope): is there anything i can do?
My bootloader is also locked :-/

Trzyzet 2021-01-26 09:08

Re: Test device lock
 
Yo,

You need a windows application called Ultimate Multi Tool - QcFire 1.2 And you need to upload new-old firmware with it.

https://youtu.be/95naQ6tQ9C0 :D

paoletto 2021-01-29 20:07

Re: Test device lock
 
Hei mate, thanks for the tip!
I've been searching for this tool in this particular version, no success :(
Would you by any chance know where to find it? :o

Maemish 2021-01-30 08:16

Re: Test device lock
 
Can you find it from here? Not sure if some of these is what you are looking for.

https://drive.google.com/drive/mobil...GM?usp=sharing


All times are GMT. The time now is 02:42.

vBulletin® Version 3.8.8