View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#2
Originally Posted by abuakram View Post
decided after years to reuse my N900... downloaded latest images and flash3.5...
good decision

Originally Posted by abuakram View Post
Flashing went smoothly and then it asked for lock code after restart... which of course I forgot...

Most solutions offered here needs access to the terminal, so no solution for me...
In the past you could bypass the lock code by flashing and resetting it afterwards with recoverlock. But this got fixed by the latest firmware as far as I know.

So a ssh connection would be helpfull to bypass the lock code with a dbus command and to read the encrypted code from mtd1 and decrypting it with john or to install recoverlock for resetting it to 12345.

bypassing:
Code:
dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_close string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0'
reading:
Code:
echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1): > /home/user/MyDocs/lock_code
decrypting (john is in extras-devel repository):
Code:
john -format:DES -i:digits /home/user/MyDocs/lock_code

But after flashing you will not have ssh installed.

Originally Posted by abuakram View Post
Does this mean I can't use my N900 anymore???
Or is there a way to reset the lock code?
But hey there is still a way. I will quote myself.

The easiest method is to use a rescue os image which you booting with the help of the flash program.

There you can make a code_reset or you can grep the lock_code from /dev/mtd1 and with the help of john you can decrypt the code by brute force.

As you flashed your device you already have the flasher installed, and you can go on here:
rescue os
rescue os documentation

Other way could be to use my live image with included flasher and rescue os.
 

The Following 5 Users Say Thank You to Halftux For This Useful Post: