maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer (https://talk.maemo.org/showthread.php?t=65590)

saint23 2010-11-14 21:13

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
happy sooo happy... I flash the cel... I can use my cel again.. and the best i have the music, the photos, contacts, conversations, ect... :) ;) I lose the games and aplications, but i dont care of that.. I can Download again... Thanks....

saint23 2010-11-14 21:14

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by 9000 (Post 873086)
I wondered if you've installed openssh server by chance? If so you might be able to login to the device and issue the following command to unlock it:

Code:

dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_open string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0'

Its the first thing that i'm gona do... But I need a tutorial for that because i am lose in the world of n900

saint23 2010-11-14 21:23

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by 9000 (Post 873086)
I wondered if you've installed openssh server by chance? If so you might be able to login to the device and issue the following command to unlock it:

Code:

dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_open string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0'

Noe Im gona install that... But i dont understand that codes.. Is there a tutorial in somewhere

kolos 2010-11-14 22:09

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Just open x-terminal and type this commands:

Code:

sudo gainroot
echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1):

It will give you a value similar to this: sT7wyPv8BzUd6.

Post the value here and someone will provide you your unlocking code.

zimon 2010-11-14 22:23

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by kolos (Post 873429)
Just open x-terminal and type this commands:

Code:

sudo gainroot
echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1):

It will give you a value similar to this: sT7wyPv8BzUd6.

Post the value here and someone will provide you your unlocking code.

I have not forgotten my lock code, and it is not 12345, but mine gives this (just empty space):
Code:

Nokia-N900:~# echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1):
root::

Is there other encryption but DES used in some parts of the world (product code)?

Also, after I had flashed both rootfs and eMMC with PR1.3 images, my phone still asked for the security lock code when it booted. That tells me that some part of the phone's permanent memory is NOT reset even if both rootfs and eMMC is flashed. Which part is that and how to reset it?

[Edit: Although I think it would be good if that part could not be resetted by USB connection in any way and phone would not stop asking security code if it has been set to ask it, even after firmware upgrades and eMMC clear, as my device seem to.]

kolos 2010-11-14 22:35

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
@zimon

Your question is for someone more familiarly to all these stuff, not me. :rolleyes:

I can only confirm that command about give me value which is correctly decrypted to mine security code with John the Ripper 1.7.5. My code was recalculated in less than 2 minutes. I thought that my phone is more secured!!! :mad:

sutaburosu 2010-11-14 22:42

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by zimon (Post 873438)
some part of the phone's permanent memory is NOT reset even if both rootfs and eMMC is flashed. Which part is that and how to reset it?

Heh. :cool: I just answered that (prior to reading this) in an unrelated thread.

zimon 2010-11-14 23:40

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by sutaburosu (Post 873457)
Heh. :cool: I just answered that (prior to reading this) in an unrelated thread.

Well, still, I have flashed both rootfs and eMMC, have used both those reset to "factory settings" and "clear memory" in the phone's setup application, and still when the phone boots up, it asks my security code which is not 12345, but is correctly that what I changed it to be 3 months ago.

So is this abnormal behaviour, or is all N900s this (good) secure that security lock stays even after all those reset-tasks?

sutaburosu 2010-11-15 00:33

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by zimon (Post 873497)
So is this abnormal behaviour, or is all N900s this (good) secure that security lock stays even after all those reset-tasks?

The 256MiB flash embedded in the CPU package is 'partitioned' into 6 areas:
Code:

# cat /proc/mtd
dev:    size  erasesize  name
mtd0: 00020000 00020000 "bootloader"
mtd1: 00060000 00020000 "config"
mtd2: 00040000 00020000 "log"
mtd3: 00200000 00020000 "kernel"
mtd4: 00200000 00020000 "initfs"
mtd5: 0fb40000 00020000 "rootfs"

Flashing it should replace the contents of mtd0, 3 and 4. Flashing the eMMC should overwrite mtd5.
Your lock code is stored in /dev/mtd1. I would have expected "Clear device" and "Restore factory settings" to reset mtd1 to sensible defaults and possibly wipe mtd2. It seems my expectations are at odds with what actually happens. Maybe there are good reasons for this. As far as I can tell all the relevant CAL code is still closed-source, so these reasons may remain a mystery.

9000 2010-11-15 01:51

Re: I have locked my phone and it can't acces with (12345) What can I do. For a complete begginer
 
Quote:

Originally Posted by kolos (Post 873429)
Just open x-terminal and type this commands:

Code:

sudo gainroot
echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1):

It will give you a value similar to this: sT7wyPv8BzUd6.

Post the value here and someone will provide you your unlocking code.

Thanks for the great tips. I got 12345 which is exactly the lock code of my device(no encryption I wondered). Some device would have it empty, and this causes problem as the lock page doesn't allow entering of empty password.


All times are GMT. The time now is 14:46.

vBulletin® Version 3.8.8