View Single Post
  #2  
Old 2013-03-30, 17:59
nokiabot's Avatar
nokiabot nokiabot is offline
 
Join Date: Mar 2013
Location: india
Posts: 1,974
Thanks!: 5,166
Thanked 1,834 Times in 1,101 Posts
Default Re: n900 locked can't get in side it asks lock code on boot

You can refash to use it again normally but it will only disable the prompt at startup
then
Before you can follow the instructions below, you will need to access the N900's terminal shall and be able toaccess root privileges. This can be done by running the Application Manager and installing an application called "rootsh".
You will also need a tool on your computer (I assume you are using Ubuntu) called"John the Ripper", go to a terminal shell and type:
$ sudo apt-get install -y john
On your N900, go to the terminal shell and type in the following:
$ sudo gainroot
# echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1): > /home/user/MyDocs/phone_lock_hash
This will create a file called"phone_lock_hash" at path /home/user/MyDocs which you will need to transfer to your Ubuntu computer where "John the Ripper" is installed. The easiest way totransfer the file is to use theUSB cable provided and plug the N900 to your computer in "Mass storage mode". Youwill find the file"phone_lock_hash" in the"Nokia N900" storage device.
Once you've copied the file, you can then start brute forcing the password. Again,go into a terminal shell and type:
$ john -i:digits phone_lock_hash
Depending on the length of the password and the speedof the processor used, it can take anywhere from a split second to a few hours to crack the hash. The"-i:digits" tells the tool to only use numerical digits since the phone only acceptsnumerical input for the password (this speeds up the brute force process
Reply With Quote
The Following User Says Thank You to nokiabot For This Useful Post: