Please note the phone has to be RW mode to install prey. Also the device in RW could risk your phone loosing OTA updates so youve been warned if your phone starts to smoke its not my fault!!!
Go here and make a free prey account https://preyproject.com/
First enanable developer mode in settings / about this phone
Connect phone and make sure screen isnt lock and run this command on the laptop connected to the phone
phablet-config writable-image
The phone will reboot and now be in RW mode
Unlock the screen and open a terminal on the laptop and type
adb shell
in the phone terminal
sudo apt-get update
sudo apt-get install curl git
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash –
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
this is all the packages required now we install prey with npm
sudo npm install -g prey
it will get the package and build, when it finishes type command below
sudo prey config hooks post_install
this will configure the setup and then type
sudo prey config account setup
and enter in the account details you signed up with at the prey project
next
cd /usr/lib/node_modules/prey/lib/agent/providers/network/
and sudo rm linux.js
then wget http://wayneward.co.uk/wp-content/uploads/2016/02/linux.js
chmod +x linux.js
(if you get no command type sudo apt-get install wget)
the above is a fix we add to make it work on ubuntu touch.
now try this command to get location
sudo prey -r “get location”
this should show on the online prey map with current location. I do a reboot here and it works properly 🙂
get the prey app from the ubuntu touch app store! here https://uappexplorer.com/app/prey.infowaynewardcouk
Well if you have woo commerce installed and get shop text dotted in the middle of the page and want to remove it this is a quick fix ive used so the change stays in place after a upgrades. I inserted this text before into the css code of the template but when the upgrade came for the template it overwrite it so this is the fix so the css should not change after theme updates.
install this plugin https://wordpress.org/plugins/simple-custom-css/
add this text
.woocommerce-page .page-title { display: none; }
and update CSS and the finished results: