maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [Announce] Prey (anti-theft) for N9/N950 (https://talk.maemo.org/showthread.php?t=87901)

student4life 2012-11-17 07:51

[Announce] Prey (anti-theft) for N9/N950
 
I have ported client for Prey anti-theft software to harmattan.

Details and wiki (no longer available):
https://projects.developer.nokia.com/meePrey
https://projects.developer.nokia.com/meePrey/wiki

Project moved to github:
https://github.com/student4life/meePrey

Download from openrepos: meeprey

Dependencies
bash, curl, perl, python, pyside, python-qtmobility, imagemagick

Supported Modules:
Alarm, Alert, Geo, Webcam, Session

Modules not working:
Lock, secure

Tips:
for slow internet connections, first test prey with webcam module disabled in control panel

special thanks to thedead1440 for testing geo/camera modules and giving feedback during development

dcastrog 2012-11-17 08:11

Re: [Announce] Prey (anti-theft) for N9/N950
 
cheking it out :)

ibrakalifa 2012-11-17 08:29

Re: [Announce] Prey (anti-theft) for N9/N950
 
Cool, :D

thx for this, :)

dcastrog 2012-11-17 08:38

Re: [Announce] Prey (anti-theft) for N9/N950
 
seems the server is down

student4life 2012-11-17 08:43

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295204)
seems the server is down

which server? prey or nokia?

dcastrog 2012-11-17 08:48

Re: [Announce] Prey (anti-theft) for N9/N950
 
not sure, when installing it tells me it has to download extra files from dependencies, I accept then tells me the server is down or there is no network connection. Im at wifi and I do have internet, anyone else with this?

student4life 2012-11-17 08:55

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295206)
not sure, when installing it tells me it has to download extra files from dependencies, I accept then tells me the server is down or there is no network connection. Im at wifi and I do have internet, anyone else with this?

currently 'harmattan-dev.nokia.com' is down for maintenance. some of the dependencies(python,pyside,etc) cannot be fetched until it is back online. somebody(not sure who) had taken backup of the repositories

thedead1440 2012-11-17 08:58

Re: [Announce] Prey (anti-theft) for N9/N950
 
harmattan dev repo hasn't been mirrored yet...

However, dcastrog, if you can give the output of whatever is required, whoever has those .debs in their system can surely post it...

I have prey up and running so I can post them too but I need the exact names of what is missing as my system is usually screwed with a lot of packages :D

dcastrog 2012-11-17 09:15

Re: [Announce] Prey (anti-theft) for N9/N950
 
is there any way to know which repos are missing?

thedead1440 2012-11-17 09:17

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295210)
is there any way to know which repos are missing?

No no not repo missing...

Why don't you post the full output of the installation log while installing from terminal? It'll mention the dependencies required in the output...

brkn 2012-11-17 09:40

Re: [Announce] Prey (anti-theft) for N9/N950
 
Code:

dpkg-deb -I meeprey_0.0.3_armel.deb | grep Depends

thedead1440 2012-11-17 10:01

Re: [Announce] Prey (anti-theft) for N9/N950
 
Ok thanks to brkn's method above, I've got the dependencies packaged...

I don't think perl is required but I've still put it into the .zip which can be gotten from here

You can download, extract to a folder then install the files first before installing meeprey...For example you extract to ~/MyDocs/Prey_dep/ then you open terminal and do as root:

Code:

dpkg -i /home/user/MyDocs/Prey_dep/*.deb

death_jax 2012-11-17 10:43

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by thedead1440 (Post 1295221)
Ok thanks to brkn's method above, I've got the dependencies packaged...

I don't think perl is required but I've still put it into the .zip which can be gotten from here

You can download, extract to a folder then install the files first before installing meeprey...For example you extract to ~/MyDocs/Prey_dep/ then you open terminal and do as root:

Code:

dpkg -i /home/user/MyDocs/Prey_dep/*.deb

After that, in my case, because there were others dependencies of the python-qtmobility, was also necessary to do, always as root:

Code:

apt-get install -f
to install them, and then install "again" python-qtmobility deb package, because before, without dependencies installed, it wasn't installed correctly (it wasn't installed at all).

Rabah_vip 2012-11-17 11:15

Re: [Announce] Prey (anti-theft) for N9/N950
 
hi guys
when i install with : apkg -i /home/user/MyDocs? meeprey_0.0.1_armmel.deb
in the home screen there are a new icon : prey_config but when i open it need a password i put the root password ( rootme ) but it close so how to remoove this ? please help

thedead1440 2012-11-17 11:24

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by Rabah_vip (Post 1295241)
hi guys
when i install with : apkg -i /home/user/MyDocs? meeprey_0.0.1_armmel.deb
in the home screen there are a new icon : prey_config but when i open it need a password i put the root password ( rootme ) but it close so how to remoove this ? please help

It means you entered the password wrongly...Check it that it's correct first...

dcastrog 2012-11-17 21:24

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by thedead1440 (Post 1295221)
Ok thanks to brkn's method above, I've got the dependencies packaged...

I don't think perl is required but I've still put it into the .zip which can be gotten from here

You can download, extract to a folder then install the files first before installing meeprey...For example you extract to ~/MyDocs/Prey_dep/ then you open terminal and do as root:

Code:

dpkg -i /home/user/MyDocs/Prey_dep/*.deb

im running this code, but aegis is rejecting the instalation

dcastrog 2012-11-17 21:49

Re: [Announce] Prey (anti-theft) for N9/N950
 
time for inception I guess? :)

dcastrog 2012-11-17 21:54

Re: [Announce] Prey (anti-theft) for N9/N950
 
forget inception, after running

dpkg -i /home/user/MyDocs/Prey_dep/curl...*deb

evertything worked :) will try it out :)

dcastrog 2012-11-17 22:36

Re: [Announce] Prey (anti-theft) for N9/N950
 
wow it's awesome, just tried it and the alarm went off (muted by the pink music volume bar) and then saw the report at the site with my mugshot and location! :D this is great, I like it more than tnp

dcastrog 2012-11-18 00:08

Re: [Announce] Prey (anti-theft) for N9/N950
 
the lock action is not working, the bounty action works only once

student4life 2012-11-18 01:23

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by Rabah_vip (Post 1295241)
hi guys
when i install with : apkg -i /home/user/MyDocs? meeprey_0.0.1_armmel.deb
in the home screen there are a new icon : prey_config but when i open it need a password i put the root password ( rootme ) but it close so how to remoove this ? please help

did u get it working?
if not, can you run the following command as root and paste the output here?
/opt/prey/platform/linux/config

student4life 2012-11-18 01:28

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295416)
the lock action is not working, the bounty action works only once

good to know that Prey works for you

lock action has not been implemented yet. I set my lock password some time back and forgot it :(. afraid to test that feature and risk getting locked out of my device. besides, any insight into how the default lock system works in harmattan, would be helpful to get it working in Prey.

what is 'bounty' action?

gsalone 2012-11-19 06:54

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by brkn (Post 1295219)
Code:

dpkg-deb -I meeprey_0.0.3_armel.deb | grep Depends

After i run this, i get the following:


/home/user/MyDocs/Downloads # dpkg-deb -I meepr
ey_0.0.3_armel.deb | grep Depends
Depends: curl, bash, python-pyside, applauncherd-launcher, libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt4-declarative (>= 4.7.4~git20110517),libqt4-network (>= 4.7.4~git20110517), libqt4-opengl (>= 4.7.4~git20110517), libqtcore4 (>= 4.7.4~git20110517), libqtgui4 (>= 4.7.4~git20110517), libqtm-multimedia (>= 1.2.1+193+0m6), libqtm-systeminfo (>= 1.2.1+193+0m6), libstdc++6 (>= 4.4.0)

And to me also fails to install. What am i doing wrong?

thedead1440 2012-11-19 07:04

Re: [Announce] Prey (anti-theft) for N9/N950
 
gsalone,

Those instructions were for me to get the dependencies sorted...Read the first post then two posts after brkn's and you'll get the picture...

gsalone 2012-11-19 07:10

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by thedead1440 (Post 1295221)
Ok thanks to brkn's method above, I've got the dependencies packaged...

I don't think perl is required but I've still put it into the .zip which can be gotten from here

You can download, extract to a folder then install the files first before installing meeprey...For example you extract to ~/MyDocs/Prey_dep/ then you open terminal and do as root:

Code:

dpkg -i /home/user/MyDocs/Prey_dep/*.deb

I did so but I get following:


~ # dpkg -i /home/user/MyDocs/P/*.deb
Aegis rejecting /home/user/MyDocs/P/*.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.

Wth???

thedead1440 2012-11-19 07:14

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by gsalone (Post 1295759)
I did so but I get following:


~ # dpkg -i /home/user/MyDocs/P/*.deb
Aegis rejecting /home/user/MyDocs/P/*.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.

Wth???

check inside ~/MyDocs/P/ if you have .deb files inside or another folder...

gsalone 2012-11-19 07:48

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by thedead1440 (Post 1295760)
check inside ~/MyDocs/P/ if you have .deb files inside or another folder...

All is good :D

dcastrog 2012-11-19 08:30

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by student4life (Post 1295426)
good to know that Prey works for you

lock action has not been implemented yet. I set my lock password some time back and forgot it :(. afraid to test that feature and risk getting locked out of my device. besides, any insight into how the default lock system works in harmattan, would be helpful to get it working in Prey.

what is 'bounty' action?

said bounty, I mean the message telling there is reward only works once, then it doesnt appear

thedead1440 2012-11-19 08:40

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295784)
said bounty, I mean the message telling there is reward only works once, then it doesnt appear

It works for me multiple times too...

Are you sure you tested it right? Try it again maybe...

student4life 2012-11-19 16:21

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by dcastrog (Post 1295784)
said bounty, I mean the message telling there is reward only works once, then it doesnt appear

it should work multiple times. did you by chance disable it on the control panel?
if not, can you post the content of /var/log/prey2.log

kainerious 2012-11-22 23:04

Re: [Announce] Prey (anti-theft) for N9/N950
 
Nice, work! Thanks!

panukooo 2012-11-23 17:01

Re: [Announce] Prey (anti-theft) for N9/N950
 
wich settings should i set? laptop-debian-sqweez? or doesnt matter?.
otherwise the video of the webcamworks? because reports only sends me on map where my device and i cant see screenshots or something

student4life 2012-11-24 01:44

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by panukooo (Post 1297614)
wich settings should i set? laptop-debian-sqweez? or doesnt matter?.
otherwise the video of the webcamworks? because reports only sends me on map where my device and i cant see screenshots or something

the device type/OS does not matter, it is for our convenience/reference only.
front cam photo should work, you should enable it from the control panel. If you have ur device lying face down or inside some cover, it will give black photo.
front cam video is not currently supported(issues in recording video in 'mov' format)

if you have enabled screenshot in 'session' module it wont work (you will get black image). i have not bothered fixing it, as i felt it is irrelevant for a mobile device

agadou 2012-11-27 15:16

Re: [Announce] Prey (anti-theft) for N9/N950
 
Hi,

i tried to install Prey on my N9, but i've few issues.

Prey on laptop shows me only a map with phone position, and an IP adress.

Secondly, i don't find a place to download Imagemagick deb file ?!

thedead1440 2012-11-27 15:18

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by agadou (Post 1298939)
Hi,

i tried to install Prey on my N9, but i've few issues.

Prey on laptop shows me only a map with phone position, and an IP adress.

Secondly, i don't find a place to download Imagemagick deb file ?!

Just type apt-get install imagemagick in terminal as root and watch the magic :p

marmistrz 2012-11-27 15:42

Re: [Announce] Prey (anti-theft) for N9/N950
 
what about an n900 version?

agadou 2012-11-27 16:28

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by thedead1440 (Post 1298941)
Just type apt-get install imagemagick in terminal as root and watch the magic :p

Thanks thedead1440 ;) sometimes it's too easy... !

Now i have the screenshot on Prey, but i don't have the front camera pic :confused: Is there something to activate ?!

thedead1440 2012-11-27 16:30

Re: [Announce] Prey (anti-theft) for N9/N950
 
Quote:

Originally Posted by agadou (Post 1298970)
Thanks thedead1440 ;) sometimes it's too easy... !

Now i have the screenshot on Prey, but i don't have the front camera pic :confused: Is there something to activate ?!

You have a screenshot? There is only a front-cam pic as mentioned in the first post; maybe you have mixed it up :D

agadou 2012-11-27 16:40

Re: [Announce] Prey (anti-theft) for N9/N950
 
Here is the screenshot of prey rapport :

I don't have the front cam pic :confused:

http://img534.imageshack.us/img534/2...eenshothsx.jpg

thedead1440 2012-11-27 16:43

Re: [Announce] Prey (anti-theft) for N9/N950
 
student4life would need to comment on that then :D


All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8