maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   SMS-based stolen phone locator (https://talk.maemo.org/showthread.php?t=60516)

prankster 2011-04-16 20:58

Re: SMS-based stolen phone locator
 
aww its tough to get it all in one day ,atleast to me ..
i bought this phone 3 weeks ago ,hopefully by the time i will be able to do all the good work .
just wanted to have a simple app to locate my cell phone ..anyway thanks
once i saw one app in extra devel ( i am here ) hope you have heard about it ..what do you think about that ? should that be the preference ?

Saturn 2011-04-16 21:38

Re: SMS-based stolen phone locator
 
Quote:

Originally Posted by prankster (Post 990151)
aww its tough to get it all in one day ,atleast to me ..
i bought this phone 3 weeks ago ,hopefully by the time i will be able to do all the good work .
just wanted to have a simple app to locate my cell phone ..anyway thanks
once i saw one app in extra devel ( i am here ) hope you have heard about it ..what do you think about that ? should that be the preference ?

In general avoid the devel, at least until you get some experience with the operating system.
http://wiki.maemo.org/Extras-devel

The "I am here" is unsupported and might give you some trouble to uninstall.
http://wiki.maemo.org/I_am_here

Vertikar 2011-04-17 04:49

Re: SMS-based stolen phone locator
 
Quote:

Originally Posted by prankster (Post 990151)
once i saw one app in extra devel ( i am here ) hope you have heard about it ..what do you think about that ? should that be the preference ?

Smscon is probably a better option - http://wiki.maemo.org/SMSCON

chriju5 2013-02-04 14:28

Re: SMS-based stolen phone locator
 
Quote:

Originally Posted by boxhead (Post 788860)
this script was born out of my rage of having my n900 stolen earlier this year. I wanted a simple sms-based solution for retrieving my new n900 if it were ever stolen again. I used some python code for sms send/recv and gps tracking from the wiki and put it together for this.

here's how it works:
at phone startup, the script reads the sim card number and compares it to your own valid number. If invalid, it'll send an sms every x seconds to a pre-defined phone number that includes imsi and gps coordinates. It also makes a phone call to the same number after a user-defined number of seconds (to lower chance of thief closing out the phone app).

Whether the sim card is valid or not, the script listens for a user-defined sms alert-code. When alert mode is activated, it returns texts to the incoming number with the same info as above (imsi and gps).

installation:
1. Send thief-be-caught.tar.gz to n900
2. Extract: Tar cvf thief-be-found.tar.gz -c /
3. Fill out variables at the top of /etc/event.d/banana
3. Reboot
4. Check if script is running with: Ps | grep sms

prereqs: Python libraries (incl. Python-location)

to close the daemon:
Sh /usr/sbin/sms-quit.sh

notes:
* some alert code strings seem to be interpreted incorrectly by the sms receiving procedure, so try changing the alert code if nothing happens.
* every time the gps coordinates are read, the internal gps and network positioning are enabled in case they were ever disabled. The location server will also be set to supl.google.com.

I hope this helps someone get their phone back if anything unfortunate happens. I am new to sh and python scripting, so please test and improve or offer feedback.

sir,i am new to linux .can you please tell me how to install this app detail by detail like how to extract and change the variable

willi6868 2013-02-04 15:52

Re: SMS-based stolen phone locator
 
Quote:

Originally Posted by chriju5 (Post 1320727)
sir,i am new to linux .can you please tell me how to install this app detail by detail like how to extract and change the variable

Use SMSCon with more features instead. :cool:
http://talk.maemo.org/showthread.php?t=60729
http://wiki.maemo.org/SMSCON


All times are GMT. The time now is 18:58.

vBulletin® Version 3.8.8