← Back to team overview

ubuntu-phone team mailing list archive

Re: location tracking

 

yes this could add the cron ;)

good point

or /etc/init.d/crond restart

should do the trick ?!

Wayne

On 02/12/15 15:46, 祝思麒 wrote:

Sounds like a reboot will fix your problem.

2015年12月2日 下午11:17於 "Wayne Ward" <info@xxxxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxxxx>> 寫道:

    If in RW mode

    If you sudo apt-get update
    then sudo apt-get install curl

    then go to the site put in email address / device name and
    generate a token

    then ssh into phone either over air or presuming you have ssh
    enables adb shell

    then type sudo -s

    which gives you root in shell

    then type crontab -e   (i select nano to open)

    opens the cron as root

    make a small change like put a space in then there is changes to
    save and makes the cron for the root user

    then the script the site gives you (selected linux) when you
    generate token
    just copy and paste that in as the root user and your done.

    this should start tracking the  phone
    if the tracking doesnt update which it hasnt im my partners but is
    on mine the cron will need to run as a dbus cron
    which in going to add to the bottom of the article on my blog and
    im going to test as a 15 min cron and see battery consumption for
    better tracking.

    i can make a quick video if that helps


    Wayne




    o|r|||

    On 02/12/15 14:52, Matthias Apitz wrote:
    El día Wednesday, December 02, 2015 a las 01:40:50PM +0000, Wayne Ward escribió:

    You dont really have to install anything
    is your phone in RW mode or normal read only
    I could make it RW, but may be I can use my chroot system on the BQ.
    Just tell me what must run, if I would have it RW. Thanks

    	matthias



    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp



References