![]() |
2011-04-16
, 21:38
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#52
|
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 ?
![]() |
2011-04-17
, 04:49
|
Posts: 12 |
Thanked: 2 times |
Joined on May 2010
|
#53
|
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 ?
The Following User Says Thank You to Vertikar For This Useful Post: | ||
![]() |
2013-02-04
, 14:28
|
Posts: 2 |
Thanked: 0 times |
Joined on Feb 2013
|
#54
|
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.
![]() |
2013-02-04
, 15:52
|
|
Posts: 548 |
Thanked: 562 times |
Joined on Aug 2011
@ Germany
|
#55
|
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
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 ?