maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Forgot my n800 lockcode (https://talk.maemo.org/showthread.php?t=26358)

blakvar 2009-01-21 02:58

Forgot my n800 lockcode
 
I forgot my lockcode to my n800 :( and i need it in order to turn on the thing. UGH >.<, is there any way to bypass it? ive already tried taking the battery out.

Rassilon7 2009-01-21 05:25

Re: Forgot my n800 lockcode
 
Think it's time to contact Nokia with some proof of purchase

Thesandlord 2009-01-21 05:59

Re: Forgot my n800 lockcode
 
Yes, there is...

qwerty12 knows for sure, and so do some other people. The thing is, with only 5 posts, people "might" not trust you, mostly with the "I lost my N800" threads flying about.

But I trust you enough to say yes you can unlock it without going to Nokia, but I do not know how.

bigr3dd0g 2009-01-21 10:09

Re: Forgot my n800 lockcode
 
theres a post somewhere whre qwerty12 does it....but thesandlord makes a good point =P athugh he's been a member since nov heh

Zyxmon 2009-01-21 11:32

Re: Forgot my n800 lockcode
 
http://www.internettablettalk.com/fo...ad.php?t=26044

or search for getlockcode

tehforum 2009-01-22 20:49

Re: Forgot my n800 lockcode
 
But the thing is, he needs it to turn on... so he won't be able to access xterm? Will he?

Benson 2009-01-22 21:32

Re: Forgot my n800 lockcode
 
Quote:

Originally Posted by tehforum (Post 259352)
But the thing is, he needs it to turn on... so he won't be able to access xterm? Will he?

Never having found myself in that fix (or deliberately simulated it), I'm not sure what your options are. But one of the most general attacks that comes to mind is to reflash it (initfs only!) with a carefully constructed initfs giving you usb-serial console access, or better still, directly reading out or setting the lock-code on startup.

How to do that? Well, if you know how, it's fairly obvious, and if you don't, this won't help, but basically:
  1. Rip an initfs from one of Nokia's FIASCO images, preferably the same version you're running on the tablet, but the latest should work if you don't know.
  2. Mount the initfs image RW on your desktop.
  3. Add any necessary files: kernel modules, executable binaries, third-party scripts...
  4. Edit some key shell script that you know will be executed; linuxrc is the obvious choice.
  5. Add "appropriate" lines. Specifically, you need to somehow get the data out of the config partition, and display it onscreen somewhere with text2screen, or try for really advanced and set it to a known value.
  6. umount the image.
  7. Flash it to your tablet, like flasher-3.0 -f -n initfs.haxx0red.jffs2.
  8. Boot it and watch the screen for your message with the lock code.
  9. Go back to the desktop to find what you did to put it in a reboot-loop, repeating from 2.
All of these steps should yield answers from brief searching (well, except 9.), but AFAIK nobody's put them all together for this purpose.

qwerty12 2009-01-22 21:59

Re: Forgot my n800 lockcode
 
Quote:

Originally Posted by Benson (Post 259365)
Never having found myself in that fix (or deliberately simulated it), I'm not sure what your options are. But one of the most general attacks that comes to mind is to reflash it (initfs only!) with a carefully constructed initfs giving you usb-serial console access, or better still, directly reading out or setting the lock-code on startup.

How to do that? Well, if you know how, it's fairly obvious, and if you don't, this won't help, but basically:
  1. Rip an initfs from one of Nokia's FIASCO images, preferably the same version you're running on the tablet, but the latest should work if you don't know.
  2. Mount the initfs image RW on your desktop.
  3. Add any necessary files: kernel modules, executable binaries, third-party scripts...
  4. Edit some key shell script that you know will be executed; linuxrc is the obvious choice.
  5. Add "appropriate" lines. Specifically, you need to somehow get the data out of the config partition, and display it onscreen somewhere with text2screen, or try for really advanced and set it to a known value.
  6. umount the image.
  7. Flash it to your tablet, like flasher-3.0 -f -n initfs.haxx0red.jffs2.
  8. Boot it and watch the screen for your message with the lock code.
  9. Go back to the desktop to find what you did to put it in a reboot-loop, repeating from 2.
All of these steps should yield answers from brief searching (well, except 9.), but AFAIK nobody's put them all together for this purpose.

I've made an image for this purpose before but have deleted it since.

Some hints, you don't want to mount the image rw. Do it ro and tar it up and use mkfs.jffs2 to make the new image. As to mounting it, mtdram method works best.

Here's the line I came up with & used in my initfs image:
text2screen -t `strings /dev/mtd1ro | grep [0-9] | grep -v [a-zA-Z@] | tail -n 1` -s 5

--Faheem
Your friendly neighborhood Nokia hacker.


All times are GMT. The time now is 02:09.

vBulletin® Version 3.8.8