|
2012-12-16
, 07:53
|
Posts: 3 |
Thanked: 1 time |
Joined on Jul 2011
@ india
|
#642
|
|
2012-12-16
, 08:08
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#643
|
The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2012-12-16
, 08:34
|
Posts: 3 |
Thanked: 1 time |
Joined on Jul 2011
@ india
|
#644
|
|
2012-12-16
, 08:51
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#645
|
The Following 2 Users Say Thank You to thedead1440 For This Useful Post: | ||
|
2012-12-16
, 08:57
|
Posts: 138 |
Thanked: 90 times |
Joined on Mar 2012
|
#646
|
recoverlock
The Following User Says Thank You to Tiran For This Useful Post: | ||
|
2012-12-16
, 09:30
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#647
|
Furthermore to add to Mentalist's explanation (which I totally agree with), I like to add that I also will not help anyone recover his lockcode withot showing at least a minimum of proove of "this N900 is my belonging" (which has been a habit here, but seems to be forgotten).
The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
|
2012-12-17
, 11:51
|
Posts: 1 |
Thanked: 0 times |
Joined on Dec 2012
|
#648
|
Well, I was uber stupid and forgot my lock code. >.< Reflashed and I was at least able to get back into the device. But I could not get my code back (the mtd1 hack was of no use here: the code is now encrypted...).
But the libraries in charge of device locking have an interesting trait: write **** to the lock code area of where it is stored and it will be reset to 12345.
Attached is a program that will do just that. Warning: It is writing to a very critical part of the N900. I will take no responsibility whatsoever if it messes up your N900. It worked for me (i.e. I was able to reboot fine and change the code fine. Multiple times, actually. I tested quite a few times.) but I cannot ensure it will do the same for you. Use at your own risk.
It disables the autolock upon bootup, writes **** to the lock code area, brings up the control panel applet from which you MUST change it from 12345.
Run as root, prefixing it with run-standalone.sh.
|
2012-12-25
, 13:19
|
Posts: 28 |
Thanked: 2 times |
Joined on Dec 2012
|
#649
|
|
2012-12-25
, 13:39
|
Posts: 28 |
Thanked: 2 times |
Joined on Dec 2012
|
#650
|
I accidantally did it.
You can run it by executing `recoverlock' or `sudo recoverlock' by user or root.
Tags |
devicelock, nokia n900 |
|
Anyway, thank you for the changes. I struggled a bit to fully understand the line you added, "[ `id -u` -ne 0 ] && sudo $0 $$ exit"... but I think I got it - it tests the user id, and if it's zero, then that line doesn't continue being executed. If it is not zero, it then executes itself (since the name of the command called is $0) with sudo, and then if it got that far then it runs exit afterwards, to avoid executing the entire script over again.
Neat. Changes integrated into my local copy.