Smart lock on Huawei Mate 10 Pro

Dracindo

Active member
Joined
Oct 25, 2018
Messages
505
Points
28
Here's a quick 10 step guide to put a smart lock on your Huawei Mate 10 Pro.
This guide may seem long, especially if you have to get through step 1 already, but if everything goes without problems, then the remaining 9 steps shouldn't be to difficult.

Step 1: Install the ADB binary on your PC followed by the right driver for your device.

Step 2: Enable USB Debugging in Developer Options (go to Settings –> About Phone and tap on Build number 7 times if you haven’t already) and connect your phone to your computer.

Step 3: Send the following command once you’ve opened up a terminal:

Code:
adb shell pm grant com.joaomgcd.autotools
android.permission.WRITE_SECURE_SETTINGS

Step 4: Open up Tasker and press the + icon in the bottom right hand corner to create a new profile (write any name you like).

Step 5: Select State. Go to Net –> WiFi Connected. Hit the magnifying glass icon and select all of the WiFi networks you want white-listed.

Step 6: You will next be asked to create a Task. Enter any name to get to the Task creation screen.

Step 7: Press the + icon in the bottom middle to add a new Action. Go to Plugin –> AutoTools –> Secure Settings. Click the pencil icon to open the AutoTools Secure Setting configuration screen. Go to Lock Screen –> Automatic Lock and for the value enter any sufficiently high value such as ‘9001‘.

Step 8: Save this setting by pressing on the checkmark icon up top, then pressing the back key once back in Tasker, and finally by exiting from the Task creation screen. Make sure that “power button instantly locks device” is disabled in secure lock settings.

Step 9: On the Tasker main page, long-press on the Task you just created and tap add exit task in the pop-up menu. Name this Task anything, and once again enter the Task creation screen.

Step 10: Tap on the + icon and again go to Plugin –> AutoTools –> Secure Settings. In the same Automatic Lock option, this time enter a value of '0'.
 
Newer threads
Replies
4
Views
2,525
Replies
1
Views
1,845
Replies
1
Views
1,726
Latest threads
Replies
0
Views
17
Replies
0
Views
12
Replies
0
Views
14
Replies
0
Views
12
Replies
0
Views
12
Recommended threads
Replies
13
Views
3,789
Replies
13
Views
3,305
Replies
5
Views
1,743
Replies
4
Views
2,310

New Threads

Members online

No members online now.

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top