AntiTheft Guide: Control and unlock your phone (op7pro) ANYWHERE - OnePlus 7 Pro Guides, News, & Discussion

Want to control your phone remotely? Even if it's locked? Especially if it gets stolen, or just lost? I think this guide is the best way to do it, for now.
Requirements: Poweron schedule and power on alarm (in case of theft and to not notify a thief, i have alarm on silent)
edxposed and xposed edge pro (of which requires magisk and root, duh)
airmirror and airdroid
A lock screen set by pin, password, or even pattern.
Airmirror is used to control your device remotely; it can be used from the web or the app. Airdroid is to be installed and configured on the device you wish to control. I recommend you use systemize (magisk module) to systemize airdroid; it seems to make airdroid more responsive. As for configuring airdroid, please make sure you can actually control your phone first, and that you don't get the popup for screen casting (otherwise you cannot control phone remotely)
Configure the bootup trigger (in more triggers section) in xposed edge pro to turn on wifi/data, which is required to use airdroid/airmirror. Also, i would recommend you to set for the sms recieved trigger action to open airdroid.
Finally, with xposed edge pro, here comes the vital part to unlock your phone wirelessly.
First you must gesture recording; for now set it to record on a volume key. Lock the phone. Call the device. The call will always wake the device up, and as soon as that happens start the gesture recording. Dismiss the call, swipe and enter your code. End the gesture recording. Now go back to more triggers.
For the incoming call ringed trigger, select multi-action. First action is delay, set it to 2500ms. Second action is gesture inject, for the gesture you've just made.
Now, be sure your gesture actually works. Lock the screen and make a call to it. If your gesture succeeds, the call should be dismissed and the code entered. If not, just keep trying until you get it right. If you have the sms recieved trigger to open airdroid, send a text message to open airdroid. From this point on, open airmirror then control your device to do whatever.
airdroid seems to work as long as you have internet connectivity, and even though it has a data cap, using airdroid to control your screen uses very little data. Be sure to test multiple times, and after several reboots for maximum reliability.
If this guide actually gets attention, I will make it more clear, and more steps to be optimal.

Related

Possible to use Tasker with Active Display?

I posted this in the Themes and Apps subforum a week ago and got no responses. I was wondering if anyone proficient at Tasker knows how to modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only as they appear in Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
I could be wrong, but I think Tasker can only do something like that if the app is setup as a plugin to work with Tasker.
There very well may be an easier/better way to do it, but if you're rooted you can run shell commands to simulate touch input on the device. You could have a task to open the Active Notifications settings, and simulate the input of tapping the checkboxes you wanted to enable/disable, and run different tasks to set/remove them based on time/location/etc.
Like I said, there may be an easier way that I am not aware of, but that comes to mind.
eyc said:
I posted this in the Themes and Apps subforum a week ago and got not responses. I was wondering if anyone that is proficient with Tasker knows how to modify modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only on Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
Click to expand...
Click to collapse
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
StephenMilone said:
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
Click to expand...
Click to collapse
Well it could definitely toggle the setting. I've used it to run some actions within apps before (apps that I wanted to "manually" sync on a specific schedule. You define the shell commands as:
Code:
input tap X Y
or
input swipe X1 Y1 X2 Y2
So you'd launch "settings", find the coordinates of the Active Display button, set it to tap there, find and set the coords for "manage notification types", and the associated apps. This could be tough if you add/remove apps a lot, because the coordinates would change if a new app falls in the list ahead of one you have setup to use this method, but it would work.
You could also fire a notification from Tasker when the task is executed to tell you that the selected apps are behind hidden.
This is exactly what I wanted. How and where can I input this shell command? And how can I find the coordinates?

Tasker or similar apps

Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
tEcHsAvY said:
Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
Click to expand...
Click to collapse
Use search
I'm a long time Tasker user and cannot think using any device without it.
The main thing I use it for are:
- automatic change of audio volumes based on time and location;
- hourly chime;
- missed notifications reminder;
- automatic switch GPS ON/OFF when using maps;
... Other little things depending on specific ROM I'm using ...
Macro droid is pretty good, A tad easier to setup tasks
For me, Tasker knocked me down. I use Automateit Pro, a little bit more user friendly and does the job accurately.
tEcHsAvY said:
Hey everyone. Anyone here use Tasker or any similar app. If so so what are your favorite profiles or things to do with them?
Click to expand...
Click to collapse
I am using macro droid. Its really smooth and user friendly. Not as versatile as Tasker may be but it almost serves all the needs with more macros. It was my first purchase from google play.
Only use it to turn volume down when I arrive at the office.
Tasker and Secure Settings. I use it to:
1) Set ringtone to vibrate between 11pm to 6am
2) Trigger high accuracy GPS when I open waze.
3) Auto rotate only when in the camera, gallery, youtube and a few others.
4) Switch between edge and HSPA (to save battery) i.e. only swtich to hspa when youtube, web browser or app that needs a fast data connection is active.
5) Send emergency SMS to certain people when battery reaches to 10% (hardly ever happens but hey safe than sorry)
6) Switch to car mode (app) when connected to my bluetooth headset.
7) Open up emulator when game controller is connected.
8) When within range of my home town cell tower, switch on wifi, similarly when out of range of the tower, wait 2 mins then switch off wifi.
amd-dude said:
Tasker and Secure Settings. I use it to:
1) Set ringtone to vibrate between 11pm to 6am
2) Trigger high accuracy GPS when I open waze.
3) Auto rotate only when in the camera, gallery, youtube and a few others.
4) Switch between edge and HSPA (to save battery) i.e. only swtich to hspa when youtube, web browser or app that needs a fast data connection is active.
5) Send emergency SMS to certain people when battery reaches to 10% (hardly ever happens but hey safe than sorry)
6) Switch to car mode (app) when connected to my bluetooth headset.
7) Open up emulator when game controller is connected.
8) When within range of my home town cell tower, switch on wifi, similarly when out of range of the tower, wait 2 mins then switch off wifi.
Click to expand...
Click to collapse
Do any of these require root?
I can't recall but I think secure settings requires root, someone correct me if I'm wrong. Most of them don't. Secure settings trigger different gps modes.
Ok cool thank you
Llama - is similar, as some alright features
I personally went for tasker and added secure settings
After 3 failed unlocks, takes picture on front cam and logs location
when face down, set phone to silent
when near home or work turn wifi on
when at home and connected to wifi, turn lock off
when connected to bluetooth in car turn lock off
on boot set lock to on
similar to others... other additions:
> read SMS sender and text contents while connected to car bluetooth [developing] (anyone know the right audio channel to play notifications through?)
> shake vertically to lock device (too big to always reach power button)
and per someone's earlier question yes you need root for secure settings to do most of its worthwhile tasker actions. although my secure settings is not working for enabling/disabling pattern unlock in 5.0 [liquidsmooth v4.0 unofficial]
I mainly use it to control the lights at home. I haven't been able to think of any other use cases for me
c8503 said:
> shake vertically to lock device (too big to always reach power button)
Click to expand...
Click to collapse
want to share this? looks a bit nifty
Below are the Tasker Profiles that I use:
1. Turn Wifi On when I'm connected to a cell tower near home. Turn off when I exit.
2. Notify to take my ID card when disconnected from wifi (reminds me in the elevator)
3. Turn on silent mode when I'm connected to a cell tower near office.
4. Switch to 2G when screen is off.
5. Turn on location for Maps, Uber, etc. Turn off when not using.
6. Increase the display timeout when using Feedly, Facebook, Play Store, etc. Change it back to 15 secs when not using.
Hampa_D said:
want to share this? looks a bit nifty
Click to expand...
Click to collapse
Superquick:
New Profile "Shake it off" > Event > Shake Backwards & Forwards > Sensitivity = High, Duration = Medium > New Task "LockSystem" > If %SCREEN ~ on > System Lock
Note the "IF Screen ~ ON" otherwise while your phone is in your pocket it will keep locking which is not a problem untill you try to run with your phone playing music and you get the lock sound effect every step you take
The "Shake Backwards-Forwards" is not intuitive but the shake actions are sort of misnamed in tasker. This locks the phone if you shake it up and down vertically [insert masturbation gesture here].
The medium duration is also key so you get the right kind of threshold for not having the screen go off while you ride the bus but also not having to shake it for a while.
<3
Tasker, AutoVoice, Secure Settings
- Set Silent mode as soon as connected to WiFi at work
- Turn off mobile data when connected to WiFi
- Invisible unlocker to unlock phone from locksreen
- Change input method when i take out the pen on my Note 3
- Read my calendar for work events and set my alarm accordingly
Tasker, AutoVoice, Secure Settings
- Set Silent mode as soon as connected to WiFi at work
- Turn off mobile data when connected to WiFi
- Invisible unlocker to unlock phone from locksreen
- Change input method when i take out the pen on my Note 3
- Read my calendar for work events and set my alarm accordingly
Tasker with OnePlus One
Hello,
I am using Tasker with some of the following tasks/settings...
Sound and Timeout profiles for Home, Out, Work and Night situations.
Toggle between different screens in Lightning launcher for Home, Out, Work or Night situations.
They than look similar to the Smart Screen Launcher screens.
Capturing notifications and displaying them in situations when I want them to appear, including sound and/or vibration.
Retrieving Sunrise/Sunset times and weather information, displaying the info via Zooper Widget.
Setting different wallpapers according the time and location during the day.
Adding the current location to for instance Evernote (like the app Where Am I).
A working time registration including reporting worked hours.
-Tasker
-Lightning Launcher
-Zooper Widgets
-AutoNotification (plugin for tasker)
-AutoLocation (plugin for tasker)
-AutoLaunch (plugin for tasker)
-Email Me (plugin for tasker)
There is so much you can do with tasker
Regards, Rob

Question About Making a Profile Shortcut

Hello.
I made a profile which basically whenever you set it on, you select some applications and when you try to open them they'll automatically close and make a short beep sound.
However, it's hard to go to Tasker and manually disable and enable the profile.
I was wondering if I could, let's say, hit the "back" button three times and the profile would either enable or disable, I would know this as a flash text would pop up on the screen saying either "Profile activated" or "Profile deactivated", any idea how to do this?
I don't think you can make tasker react to button presses that way, but in some UIs you can. Just make the tripple-press activate an action that toggles the profile. You could also make a shortcut to that task on your desktop. Another way would be to make a notification action button (preferences - monitor), to make the profile toggleable from the notifications.
If you're rooted and have the Xposed Framework installed, you can install Xposed Additions and remap whatever keys you want, some to even launch Tasker tasks.

[Guide] Skip to next music track on phone shake

Function/ Purpose:
Skip to next track when the phone is shaken (specially for Google's standard music app, some 3rd party music apps already have this feature built-in)
Requirements:
• Tasker
• Phone with Proximity sensor
Tasker How to:
1. Create a Profile, Select Event, Select Sensor, Select Shake
If a warning about setting preference pops up, press OK​2. Input the following in the options for shake:
Axis: Left-Right
Sensitivity: Very Low
Duration: Very Long​3. New Task>Give some task name
4. Task>If %MTRACK Set
5. Media> Media Control>Cmd Next
Both simulate media button and label should be unchecked​6. Task>End If
Go to Monitor tab in Tasker preferences and set Proximity Sensor as Yes
I mainly use this while driving/ commuting. One of the problems I had initially faced was this profile getting triggered every time I got a notification (email/ SMS/ ...) and my phone vibrated or if the road was bad and bumpy. I experimented with several combinations of Sensitivity and Duration in Step 2 above and these issues are eliminated now.

Ring Doorbell Pro Integration With Tablet

I have the Ring Doorbell Pro and am generally happy with its performance. I also just mounted an older Samsung Galaxy Tab 4 10.1 on the wall, as a hub for my various home automation lights, switches, etc..
I am trying to get the Ring Doorbell app to open when there is a ring, or motion is detected, to show the image from the Ring's camera for 40 seconds, then to close and return to the tablet's Home page.
I purchased Tasker, but unfortunately, my recipe is not working well at all. Here is what I have as a Tasker profile:
The trigger is a Ring app Notification when either a ring or motion is detected.
1. Open Ring app
2. Wait 41 seconds
3. Go Home
This works sometimes, but most of the time it either does not open the app, or it does not close the Ring camera-view window, or it does not go to the Home page, but stays on the Ring app's list view of events.
Has anyone done what I am trying to do and how did they do it? Any other suggestions?
I also have a Smartthings hub, if this would help in anyway. And Amazon Echo
Thanks!
Try putting to "Always" the Use Reliable Alarms option in settings/preferences/monitor
GrippingSphere said:
Try putting to "Always" the Use Reliable Alarms option in settings/preferences/monitor
Click to expand...
Click to collapse
Thanks! I did it, restarted tasker and the notification trigger worked several times in a row.
But it still fails to close the camera window, or to Go Home
Anyone with a Ring Doorbell who has achieved the task of bringing up the view window to the front for 40 seconds (the standard recording duration of Ring), and then closing it and returning to the Home screen?
So, does this mean that Tasker is unable to reliably bring an app to the front for 40 seconds, then close it?
Bump! Interested as well..
I suggest checking two things:
1. Instead of just going home, try killing the app
2. Double check the priorities of actions and set the task to abort existing tasks
MacGuy2006 said:
Anyone with a Ring Doorbell who has achieved the task of bringing up the view window to the front for 40 seconds (the standard recording duration of Ring), and then closing it and returning to the Home screen?
Click to expand...
Click to collapse
have you looked into using IFTTT? there are ring recipes on there
To the OP. Did you ever get this to work?
I am trying the same thing with tasker, but tasker is new to me so im not sure how exactly to set this up. Are you able to assist?
Bump! Anyone have luck with this?
So far I have tasker doing the following on my wall mounted tablet near the front door upon receiving a Ring doorbell notification (motion or door bell):
Screen unlock
Secure settings > wake (screen & keyboard lights on 4 seconds)
Launch app > Ring
Wait 30 seconds
Go Home
All the tasks trigger except the wait for 30 seconds. Tasker ends up going home before the ring camera fires up and displays on the screen. This also has the unfortunate side effect of locking the ring doorbell and I have to manually go into the app and click the red hang up icon to “release” the doorbell. Any ideas on how to solve for the wait issue AND to gracefully close the Ring app after 40 seconds?
Thanks.
Me Too
I'm also trying to do the same thing with an old Samsung Galaxy 10.1 tablet so also very interested if someone has figured out how to get this to work.
Couple of additional questions:
1. If you have a wall mounted tablet how are you dealing with RING app wanting to run in Portrait mode only for navigation but landscape mode only for Live View
2. How to hve RING app immediately go to live camera via as right now I have to go from RING menu to Front Door and then Live View when motion is detected or click on notification if doorbell is rung. My goal is to be able to do what Amazon Echo Show can do which is give a voice command to Tablet .. "Show Front Door"
RING App combined with TASKER and/or IFTTT on an Android Tablet set-up as a KIOSK have a lot of potential if these issue can be resolved.
THanks,
Chris
zsyed said:
Bump! Anyone have luck with this?
So far I have tasker doing the following on my wall mounted tablet near the front door upon receiving a Ring doorbell notification (motion or door bell):
Screen unlock
Secure settings > wake (screen & keyboard lights on 4 seconds)
Launch app > Ring
Wait 30 seconds
Go Home
All the tasks trigger except the wait for 30 seconds. Tasker ends up going home before the ring camera fires up and displays on the screen. This also has the unfortunate side effect of locking the ring doorbell and I have to manually go into the app and click the red hang up icon to “release” the doorbell. Any ideas on how to solve for the wait issue AND to gracefully close the Ring app after 40 seconds?
Thanks.
Click to expand...
Click to collapse
Ring Doorbell automation with Tasker, Notification Listener and Rotation Controller
I have forced my RING App to run in Landscape Mode with an app called "Rotation Controller".
To have the RING App go directly to the live cam when the doorbell is rung, you can use the Tasker Plugin "Notification Listener" and make Tasker click on the notification as soon as it pops up. This makes the device switch directly to the camera view instead of the Ring App Homescreen.
This works fine so far, BUT yet I have found no way to close the camera view after a few seconds automatically. I can´t use the tasker "kill app" command, since my Xido X111 android device is not rootable. The "go home" command would bring up the home screen, but the camera window is still running in the background and thus blocking the doorbell until the hang-up symbol is clicked manually.
Any ideas how to close the camera view somehow on an unrooted device?
Greets
Michael
gomce said:
I'm also trying to do the same thing with an old Samsung Galaxy 10.1 tablet so also very interested if someone has figured out how to get this to work.
Couple of additional questions:
1. If you have a wall mounted tablet how are you dealing with RING app wanting to run in Portrait mode only for navigation but landscape mode only for Live View
2. How to hve RING app immediately go to live camera via as right now I have to go from RING menu to Front Door and then Live View when motion is detected or click on notification if doorbell is rung. My goal is to be able to do what Amazon Echo Show can do which is give a voice command to Tablet .. "Show Front Door"
RING App combined with TASKER and/or IFTTT on an Android Tablet set-up as a KIOSK have a lot of potential if these issue can be resolved.
THanks,
Chris
Click to expand...
Click to collapse
derschmock said:
This works fine so far, BUT yet I have found no way to close the camera view after a few seconds automatically. I can´t use the tasker "kill app" command, since my Xido X111 android device is not rootable. The "go home" command would bring up the home screen, but the camera window is still running in the background and thus blocking the doorbell until the hang-up symbol is clicked manually.
Any ideas how to close the camera view somehow on an unrooted device?
Greets
Michael
Click to expand...
Click to collapse
If you can access your tablet with ADB to do the set-up, look into AutoTools/AutoInput
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
AutoInput Point click didn‘t work for me, because the ring app doesn‘t seem to support accessibility from other apps (or maybe i was just too incompetent) BUT i found a very easy solution: after tasker fires up the ring camera and waits for x seconds, i let it just load the ring app again with the toggle „always start new copy“. This doesn‘t kill the ring app, but at least kills the camera screen and therefore prevent the doorbell from locking up. Now it just works as i wanted
zsyed said:
Bump! Anyone have luck with this?
So far I have tasker doing the following on my wall mounted tablet near the front door upon receiving a Ring doorbell notification (motion or door bell):
Screen unlock
Secure settings > wake (screen & keyboard lights on 4 seconds)
Launch app > Ring
Wait 30 seconds
Go Home
All the tasks trigger except the wait for 30 seconds. Tasker ends up going home before the ring camera fires up and displays on the screen. This also has the unfortunate side effect of locking the ring doorbell and I have to manually go into the app and click the red hang up icon to “release” the doorbell. Any ideas on how to solve for the wait issue AND to gracefully close the Ring app after 40 seconds?
Thanks.
Click to expand...
Click to collapse
can you share how you set this up.. i purchased tasker but not seeing the options you layed out.
raf1919 said:
can you share how you set this up.. i purchased tasker but not seeing the options you layed out.
Click to expand...
Click to collapse
You need the additional Tasker Plugin "Notification Listener" and make Tasker click on the notification as soon as it pops up. To close the camera screen after a few seconds, you just load the ring app again with tasker (don´t forget the toggle „always start new copy“).
derschmock said:
You need the additional Tasker Plugin "Notification Listener" and make Tasker click on the notification as soon as it pops up. To close the camera screen after a few seconds, you just load the ring app again with tasker (don´t forget the toggle „always start new copy“).
Click to expand...
Click to collapse
downloaded it...
tasker is just sooo overwhelming.. so many settings. so i create a profile or task? i went to task.. open app Ring. than i'm stuck on what next. what do i put for "if"
raf1919 said:
downloaded it...
tasker is just sooo overwhelming.. so many settings. so i create a profile or task? i went to task.. open app Ring. than i'm stuck on what next. what do i put for "if"
Click to expand...
Click to collapse
"Profile" is the event that triggers something. In our case this is the notification from the ring app. you can choose "Notification Listener Event -> Posted Apps -> Ring App" for that.
"Task" are the actions which are triggered by the Profile Event (click on the notification to open the camera screen, wait x Seconds, close the camera by opening the ring app again):
1. Plugin>Gestures>Configuration>Notification Key: %nlkey
2. wait>45 Seconds
3. Launch App>Ring
you don´t need the "if"
I got it working!! thanks alot
Hi.
I've got all necessary programs (first time I bought something from play store) but can't get it to work.
Part with :"Plugin>Gestures>Configuration>Notification Key: %nlkey"
does not work.
How to get it to work?

Categories

Resources