[how-to] recover from "Permanent Device Lock"
First of all: You need to know your device-lock-code!
Disclaimer: By following this guide you get into areas where you can brick your device for good easily, just like anywhere you become root, so you better know what you are doing or you void your warranty!
- Enter recovery-mode for JollaC it is VolUp+PwrBtn held while device is off, display should show RECOVERY...
- Enter recovery-shell (4 on Jolla1, 3 on Intex)
- Enter your device-lock-code to unlock
mount /dev/mmcblk0p28 /mnt
for Tablet and JollaCmount /dev/mapper/sailfish-root /mnt/
- Either edit
vi /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf
by hand or enter thesed
command provided below - reboot
the code wrapper destroys slashes in list items so I had to move it outside of the list
sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf
I really owe you one :)
MikErk ( 2015-05-05 19:45:08 +0200 )editthank you so much
v2px ( 2015-05-14 21:15:58 +0200 )editI first misread the sed statement but confirmed it working. Be sure to type it exactly as printed there. :)
Good work chemist :)
deelkar ( 2015-06-30 19:10:48 +0200 )edit@deelkar copy&paste? ;)
chemist ( 2015-06-30 20:57:47 +0200 )editDid not quite help me. I rebooted the Jolla after making the modification. It seemed alright at first but just until i set my PIN again. After the lock engaged it was in permanent lock again. I tried deleting the file entirely, which cured the issue but now i can not set the device lock again. Any help is appreciated.
Shoppinguin ( 2015-07-01 22:10:18 +0200 )edit