The Following 54 Users Say Thank You to synthaxx For This Useful Post: | ||
andrei1089, Aranel, bigbrovar, bunanson, cardiff-blues, casper27, chill, dave1010, debernardis, djjaku, dwaradzyn, ecksun, Eric G, fnordianslip, fpbrooks, GameboyRMH, Gerald101, grog, gsever, hwong_pz, IceJunior, iKneaDough, jaeezzy, jinlaca, johnel, Kurele, Laughing Man, lsolano, Maj3stic, mankir, mece, mrlanrat, musculus, n61adm, Netweaver, NoX, nymajoak, ossipena, Patola, saveas, sjgadsby, skalogre, Soppa, Sopwith, spooley, thommy, tvogel, UNderworld, white_ranger, xgrind, YoDude, zail, zimon, zvogt |
|
2010-03-13
, 19:11
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#2
|
|
2010-03-13
, 20:52
|
Posts: 279 |
Thanked: 34 times |
Joined on Jan 2010
@ Belgrade, Serbia
|
#3
|
|
2010-03-13
, 21:00
|
Posts: 5,795 |
Thanked: 3,151 times |
Joined on Feb 2007
@ Agoura Hills Calif
|
#4
|
|
2010-03-13
, 21:47
|
Posts: 38 |
Thanked: 8 times |
Joined on Jan 2010
|
#5
|
|
2010-03-13
, 22:36
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#6
|
|
2010-03-13
, 22:56
|
|
Posts: 171 |
Thanked: 59 times |
Joined on Feb 2010
@ Bristol, uk
|
#7
|
|
2010-03-13
, 23:16
|
Posts: 455 |
Thanked: 278 times |
Joined on Dec 2009
@ Oregon, USA
|
#8
|
The Following User Says Thank You to craftyguy For This Useful Post: | ||
|
2010-03-13
, 23:24
|
Posts: 82 |
Thanked: 44 times |
Joined on Feb 2010
|
#9
|
|
2010-03-13
, 23:37
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#10
|
The Following 2 Users Say Thank You to synthaxx For This Useful Post: | ||
I've made some strides in making sure that you can get it back.
It's important to note that aside from the first step, the rest can be done REMOTE. So if you really have lost your phone you can do all of the steps while it's still lost but responding.
This guide will also help if you've allready lost it but can still log in.
Required:
*a modicum of unix/linux knowledge, you'll need to know how to use SSH and edit files from the commandline
*ssh installed on the phone
*a remote server, ssh/ftp etc.
DISCLAIMER: Using the below could end in tears/flames/the end of the world! Also my code will most likely be ugly/tear inducing/vommitable so use at your own risk
The most important step is making sure you know what your phone's public IP is. Most mobile providers will randomize your IP on each connection but that's what this whole thing is about. If you know this, and you can still login, you have a shot at recovery.
To be able to find it, you could install a dynamic DNS client, or you can do the following:
Locate the /etc/network/if-up.d/00_disable_icmp_echo_reply and add the following in between the bottom echo and exit lines:
Adding these lines to this script will make sure it's activated every time your phone makes a gprs/3g connection, storing the ip offsite every time.
Check to make sure this works by disconnecting and reconnecting your connection on the phone and checking the file it uploaded to your server. After you do this try logging in to your phone with this IP using SSH. Did all that work? Great, rest easy for now.
IT'S GONE! I CAN'T FIND IT!
Alright, if everything went as planned you'll have your public ip. Try the SSH connection you tested and login.
IT WORKED! Now what?
First things first. If your phone is moving, it very probably isn't in your posession anymore.
Check the accelerometers to see if this is the case with:
Ok so it's not moving, it could be you just left it in a pocket or somewhere close.
Let's make it make a noise. If you have mplayer you could do a:
THIS IS STUPID, YOU'RE STUPID! I DON'T HEAR IT?
Well, here is where things get a bit more complicated. It could be that you left it at work, or maybe it's not actually in your possesion anymore...
Let's see what were up against.
Make a picture with the front cam:
You can also make it call you and listen in on what is going on the neigbourhood of your phone:
I DON'T HEAR OR SEE A THING!
Here's where we're going to try and read the gps.
First, install python-location (apt-get install python-location) on your phone and make a new file called gps.py and fill it with this (thanks to happy_n900_user!):
If it's out of GPS range, you'll have to kill it with CTRL+C.
Once you have that, GO GET YOUR PHONE BACK (but please be smart about it! )
All of this is not meant to be some all inclusive guide, it's meant to give you a shot if you ever do lose your phone.
I'll try and keep this post updated with new methods
Big thanks go to:
-Jebba for his great list of dbus commands
-happy_n900_user for getting the python script to actually spit out a GPS location
-everyone involved in making this phone as great as it is!
Last edited by synthaxx; 2010-03-13 at 23:43.