How do I lock an accessibility service on mi phone - adb

I want to lock the accessibility service of blockerx on my mi phone because I keep turning it off using ultra battery saver. Is there an adb command for that?

Related

Why xiaomi mi10 is not recognized using adb\fastboot in fastboot mode?

Both Ubuntu and Windows recognize my mi10 phone on normal startup, but when I've enter fastboot (Power+Vol Down) to burn a new rom, it is undetected by either adb\fastboot, I've enabled usb-debugging and OEM Unlocking of course.
After wasting good couple of hours, It turns out you need to go the mobile device "Developer options" --> "Mi Unlock status" Grant permission to "Mi Unlock" a utility by xiaomi that can be downloaded from here (works on Windows).
this app will unlock your xiaomi device, making it possible to burn a new rom.
For me I had to wait 168 hours (1 week) before the app unlocked my phone (An excessive security measure?)

Measurement of energy consumption using profiler in windows 10 mobile device

I'm trying to profile energy consumption in a real Windows 10 mobile device with ARM-class processor. However, to do so, we need to disconnect from USB cable, because a direct feeding by means of USB seems to distort measurements, in addition energy-aware objects (like AggregateBattery) defaults to null. But when device is disconnected from the computer, and connected via WiFi, seems that Visual Studio does not support such remote debugging. VS2015 remote tools are not available for Windows 10 mobile phones with ARM processors, at least, we couldn't find a suitable installer for the platform. Is there a way to profile energy consumption for a UWP application, running in a real Win10 mobile device, using VS2015?

SIM Toolkit Permissions

I'm doing a research on STK, the thing that is missing is do I need user's permissions to send and receive data to the operator?
What I know so far is that this tool is preinstalled in operating system, so isn't already have full permissions to send and receive in the background?
Thanks in advance for the help :)
A lot of SIM cards support STK and yes it can be used to send/receive information.
Permission for a SIM to send an SMS is normally device dependent, I remember the older Nokia phones had a setting that would prompt the user "allow SIM to send message". In my experience most newer devices (both Android and IOS) are setup such that the SIM can send SMSs in the background without user awareness.

Deploying to Amazon Fire TV over USB

I've been working on an Amazon Fire TV app for about a month now. The usual process of testing is to deploy over the network using Eclipse/adb. However, as the size of my app has increased the deployment time has skyrocketed. It has gotten to the point where it's painful to work on this platform and not worth the massive iteration time. I'm about to cancel the whole project!
That being said, does anybody know how to deploy an app from my dev laptop to the Amazon Fire TV over USB? I imagine that would be much faster.
ADB over USB is not possible on the Fire TV, so you can't just connect it to a PC via USB. ADB over USB is possible on the Fire TV Stick however. (source)
Your only option for the Fire TV is to root it. Rooting would allow you to connect an external USB drive to the Fire TV using stickmount. You'd then need to use an app like a file explorer to install your APK off the USB drive.

Windows Phone 7 Bluetooth/Wi-Fi

I would like to create application for Windows Phone 7, which will be communicating with desktop application via Bluetooth/Wi-Fi. Is there any API in Silverlight, which allows to use Bluetooth/Wi-Fi programatically?
Looks like bluetooth is going to be standard in the chassis spec. Unfortunately at this stage there is no api exposing Bluetooth functionality in the SDK. I think we'll have to wait and see on this one.
I understand devices will be able to inherently connect over wifi the same as 3g. No low level wifi specific api's known at this stage.

Resources