Tasker Secure Settings error - Xiaomi Poco F1 Questions & Answers

How do i enable Secure Settings on Poco F1 MIUI 9.6.14.0? it always says "error occurred while executing Action: Password/Pin" i've already enabled Device Admin on my phone. USB debugging = ON, USB debugging (Security settings) = ON
Device Admin Apps: Tasker and Secure Settings checked
Notification access: Tasker checked

Related

Annoyed with the media scanner on every reboot?

Settings ---application---development Enable USB debugging
in a CMD window type
1.adb shell
2.su (make sure you have super user installed)
3.pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
or
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
once completed it should say
pm disable com.android.providers.media/com.android.providers.media.MediaScannerR
eceiver
Component {com.android.providers.media/com.android.providers.media.MediaScannerR
eceiver} new state: disabled
once done reboot phone.
this has probably been stated before...sorry if its a repeat
That is standard Samsung. While it takes a while it keeps everything indexed well.

[GUIDE] How to connect adb over wifi

Heres how to connect to android wear using adb over wifi, theres still some issues, so ill put it here and if someone has some information please share with us:
On wear:
Go to config -> about -> tap the version umber 7 times (it will enable dev options)
Now go back to config menu
Go to developer options
Enable adb (it will also enable the option adb over bluetooth)
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
Now open cmd (you will need to have adb on your path variable):
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
adb -s localhost:4444 tcpip 5555 // if this gives an error try replacing localhost with 127.0.0.1
On phone:
Disable adb over bluetooth
Disable bluetooth
On wear:
Go to config -> developer options -> disable the option auto change wifi state
Go to wifi, connect to your wifi
still on wifi, theres an advanced options, there you can get your ip address
on cmd:
adb connect 192.168.1.3:5555 // replace 192.168.1.3 with your android wear ip
THE PROBLEM:
Android wear keeps desconnecting the wifi for a lot of reasons, some that i know:
It detect bluetooth connection (its an automatic power save feature)
But even if you disconnect from bluetooth, sometimes it keep disconnecting.
THE SOLUTION:
I have found a feature under developer options named: Enable wifi state change. This is enabled by default, so disabling it should prevent the wear from disconnecting from wifi, and it does. But sometimes android wear auto enable this feature, even if you turn it off manually. If someone know something about it, or another way to prevent wifi disconnection, please share with us.
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
==============================
Unfortunately doesn't work on my phone, cannot find the "Debug over wifi" option, only Debug over bluetooth available.
The same here!! How did you proceed?
Do you know if there is any way to figure out the port being used?
sagits2016 said:
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
Click to expand...
Click to collapse
Thank you SO MUCH!! I have been trying to connect my watch for days!

problems with mtp after fresh XIAOMI.EU 11.0.5 install w. Magisk and USB debugging

Hi,
after installing Magisk 20.2 on a fresh XIAOMI.EU 11.0.5 installation it is not possible to activate mtp for a USB connection anymore together with USB Debugging enabled.
Catlog says:
UsbDeviceManager I Setting USB config to mtp,adb
UsbDeviceManager E waitForState(mtp,adb) FAILED: got none
UsbDeviceManager E Failed to switch USB config to mtp,adb
UsbDeviceManager E Failsafe 1: Restoring previous USB functions.
UsbDeviceManager I Setting USB config to adb
When I disable USB debugging the activation of mtp works.
Any idea?
Kind regards,
Dieter
Clean flash?

i have build custom os inculde my persional app

set also some login credential file mention the path aosp-root-dir/device/google/model/
device-common.mk
default-permissions.xml
device-model.mk
but unfortunately i can't enable device Setting as " Device Administrator " option not enable in the same application how does overcome this issue with all device (pixel1 and pixel 4a 5g )

Please help me to enable ADB debugging on Chromebook

Hello
I want to sideload some apk files (that are not available on Playstore) without having to enable Developer Mode.
After turning on Linux and installing ADB via Linux terminal, I don't manage to enable the necessary ADB debugging. The "Develop Android Apps" option is not available in Linux settings and it is grayed out both in Settings and in Android preferences (System/Developer options).
I tried also: chrome://os-settings/crostini/androidAdb and that command does enable the ADB toggle but after the required restart, it says "Something Went Wrong" and ADB debugging remains disabled.
Device details: Dell 3180 Chromebook - Intel processor - ChromeOS 103.0.5060 64 bit - on stable channel - not enterprise enrolled - I own and manage it.
Many thanks in advance for any creative suggestion

Categories

Resources