I assure you, this post is intended for those who have locked their phones with applock apps and want to get their phone unlocked:angel:. However, if you wish to use the instructions on someone else's phone, it is entirely your responsibility.
I will try to remain as clear as possible throughout this tutorial.
So, let's cut to the chase.
Mehod-1
Force stop, Uninstall or Clear Data of the Applock app by going to Settings>Apps
This will not work if Advanced protection is turned on
Method-2
Boot into Safe Mode. This will disable the applock app.
To do this, long press the power button. The shutdown menu will appear. Long press on the shutdown/reboot button. A dialog box will appear saying "Do you want to boot into safe mode....etc". Press yes. Then when the phone reboots into safe mode, clear data or uninstall the applock app.
(THEORY: In safe mode, all user downloaded apps are disabled)
Method-3
See if you can access the play store or install any app. If so, download greenify/hibernate from play store or install the apk from elsewhere.
From greenify, greenify the applocking app.
From hibernate, hibernate the applocking app.
Please try the above methods and I'm sure you will find that they work. Please click on thanks below if you feel.
Related
INTRO
Hey everyone!
Some of you, like me, loved to use the smart stay feature of Samsung, they disables the dimming of the screen while you are looking at it.
Unfortunately, on the latest builds (CM11 like CM12), this app is broken. What happens is that, when an app is using the camera and another tries to access it, there is a conflict. For example, you are using the camera. If smart stay + tries to see if you are still there, it tries to access the camera which is already in use. And so, the camera app doesn't know what to do and crashes ^^
A way to repair this is to modify directly the app to pause the search when the camera is already in use, but we can't do that, the only one who can is the app dev ^^ Another way is to refuse access to the camera when using the camera app, but not sure how we can do that... The way I did is bypassing this error by killing smart stay + when I use a specific app like the camera
Apps
To do this, you need to install :
Tasker : lets you automate stuff depending of the state of the phone, an app, or even the sensors,
Secure Settings : lets you change the phone settings directly from Tasker,
TaskKill : lets Tasker kill apps using several different methods.
Watch out! Make sure you have the latest version of each, or else bugs may appear!
Lets Start!
So, start by installing as those apps, and install the latest version of Smart Stay + (if you are on CM12, you can't download it from Play Store cause it's incompatible, so you need to use the apk from the Internet). Don't launch Smart Stay +, and don't enable its setting in the accessibility menu on the phone!
First off, we need to give root rights to Secure Settings. Launch the app, then go to the System+ tab and enable it. It will then ask for root rights, accept and we are good to go on.
Kill Switch
Now, launch Tasker and go on the profile tab (if you want to follow everything in english in the app, press the 3 dots in the upper right corner, then Preferences, go all the way down in the UI tab, then change the language). Create a new context using the + icon on the bottom of the app, then chose Application. A list of all your apps will be shown, so you need to chose which app will kill the other one. Here, I want the Camera app to be the "killer", so I chose the apps using the camera (I have Camera Next as well as the stock camera, so I chose both) :
Screenshot 1
To go back, do not press the X button on the upper right corner! It will erase your config Press the button on the upper left corner to go back to the profiles. The app will show you then a menu where you can enter a new task. Chose New Task and name it "Kill". A new screen will be shown :
Screenshot 2
Click +, then go into Plugin, and you will see all the plugins. Click on TaskKill, then press on the Pen logo on the upper right corner to config the plugin. Here, you can choose the method to use to kill, and the app. You need to use the Extrem method, or else Smart Stay will keep rebooting... Choose Smart Stay in the list, then click apply. Set the Timeout to 0, then save it by clicking on the upper left corner, and return to the profiles list.
Here is what we should see :
Screenshot 3
Starting the App
We now need to start smart stay after we finished using the camera, and it's a bit tricky. You can either start the app using Tasker, but it will ask for you to enable the accessibility option of Smart Stay (happens every time), and that is really a bummer... That made me look if we can't directly turn on that setting from Tasker, so that we don't need to open the settings, close the app, etc... And it is! We can change that settings from Tasker using a plugin! Buuuut, the catch is that we need root...
Soooo to enable this setting, you need to long press on the action we just did named "Kill", and add an Exist Task. Next, do a new task named "Start". After, choose the plugin Secure Settings, then press on the Pen logo on the upper right corner to config the plugin. Here, you can choose which action you want. Go to System+ Actions, then press Accessibility Services. A new menu will appear, where you can see the different apps that has an Accessibility Setting. Choose Smartstay+, and make sure the button underneath it is Disabled (so that it disables that setting). Save it, then go back to the profiles list using the button on the upper left corner.
Here is what you should see :
Screenshot 4
Testing
Tada! Done! You can now launch the camera app without having it bug! To test it out, you can go on each action, like "kill" and press the play button on bottom of the screen. You will see that the notification is closed. Go into the "start" action and press play, you will that icon return! Go try it out using the camera app!
Misc / Other Method
You may ask why I didn't use the Secure Settings in the first place, and the reason is that it doesn't work well. The app isn't totally killed, it's just paused, so we don't know if it still has access to the camera, or if it is draining battery... Using TaskKill ensure us that it isn't running in the background, and so not draining any battery.
For Android L users, you may know that with Smart Lock, you can unlock the phone with your face. To do so, Android uses the stock camera app. This means that you won't have any bugs at all using that unlocking method with Smart Stay, thanks to our bypass
Another method that was pointed out by triviums (1+1 forums) is to use Smart Stay EX Pro. It has an option to disable scanning when certain apps are launched. But, after testing this out, it doesn't work as well as my method. There is a missing option in that app which is Smart Timeout. Without this feature, it still scans if the user is there, even though he is typing something or scrolling a page. Smart Stay + has this feature for free )
If this could be implemented (cause on the photos on Google Play, the feature is there for PRO users, but after installing you don't see it...), then it may be better (no need to kill and restart app, which takes some battery). If this doesn't work, then the battery you gain from not killing the app is lost in the use of the camera when it isn't necessary...
How do you disable the antivirus app? It's kind of useless and i am sure it uses battery for nothing. I cant find any way to turn it off or uninstall it.
I don't have that on my phone but try to check the device administrators. If it is there you can uncheck it and then maybe disable in the apps menu.
I don't have it either. You must have installed it at some point
Sent from my SAMSUNG-SM-G920AZ
LGSilva said:
I don't have that on my phone but try to check the device administrators. If it is there you can uncheck it and then maybe disable in the apps menu.
Click to expand...
Click to collapse
It's part of the Smart Manager app. You may be able to find it in Smart Manager/ Device security. Check the very bottom line.
It's part of the smart manager app. You can disable it but you will lose battery stats and power saver mode.
Hi,
I tried to remap my Jovi button using the button remapper app but it stops working after a while. I have it locked in recent apps, set up as an exception in battery saver, I even ADB uninstalled the i Manager app but without success. Then I figured out my accessibility keeps resetting from on to off for all apps (not just the button remapper). Do you have any ideas how to stop it from doing so?
P.S. I don't think factory reset will help as this was the problem from the very beginning, before any modifications were made.
Thanks a lot!
I've had the exact same issues but have no idea why it's happening.
Also, from the sounds of things, a number of other people have had similar problems in the thread explaining how to re-map the button.
Same issue here. Except with Nova Launcher. Accessibility keeps turning off.
still no soultion for this issue? im getting frust already. huh
smolkomartin1 said:
Hi,
I tried to remap my Jovi button using the button remapper app but it stops working after a while. I have it locked in recent apps, set up as an exception in battery saver, I even ADB uninstalled the i Manager app but without success. Then I figured out my accessibility keeps resetting from on to off for all apps (not just the button remapper). Do you have any ideas how to stop it from doing so?
P.S. I don't think factory reset will help as this was the problem from the very beginning, before any modifications were made.
Thanks a lot!
Click to expand...
Click to collapse
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
TheFirestoneHD said:
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
Click to expand...
Click to collapse
This is awesome ! works like a charm, thanks a lot !!!
TheFirestoneHD said:
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
Click to expand...
Click to collapse
don´t work for me, please can you explain little more detailed my accessibility keeps resetting every day 2 times and i need to restart my phone to get the apps who needs accessibility started again. this and notification trouble are my only problem with the phone its horrible. i get used to the funtouch os theme don´t bother me any more.
Is there a way how to disable possibility of screenshot by pressing VolDown and Power button? I hate this feauture and it makes screenshot even on pocket mode in my pocket....
Of course on rooted phone... Thanks for any suggestion!
You can disable the feature if you're rooted but you'll disable the ability to take any screen shot. If you're rooted you can use a quarantine app like app quarantine to disable the system app "screenshot". The package name is com.oneplus.screenshot. Personally is rather not be able to take any screen shots instead of taking them on accident several times a day. If you do this you're obviously doing it at your own risk.
Go to :
Settings->Sounds->More sound settings->Screenshot
https://photos.app.goo.gl/jR3cYjTPHaSdCAmp9
BreakingStrata said:
You can disable the feature if you're rooted but you'll disable the ability to take any screen shot. If you're rooted you can use a quarantine app like app quarantine to disable the system app "screenshot". The package name is com.oneplus.screenshot. Personally is rather not be able to take any screen shots instead of taking them on accident several times a day. If you do this you're obviously doing it at your own risk.
Click to expand...
Click to collapse
Works well, but I'd like to go back. Do you know if/how this can be done?
If you used an app such as "app quarantine" to freeze/disable the screenshot app you simple go the app and re-enable/thaw/unfreeze the screenshot app.
Hello,
I'm writing about a problem with accessibility settings.
For example, I use applications such as Button Mapper and App volume control, which require accessibility ON.
In the application, I have set no restriction on the battery, and also autostart and in recent apps I have these apps locked. But if I kill all applications from recent - then the mentioned apps also stop working. I have to turn them on again and also enable accessibility again. I have been using these applications for a long time on different phones and there is no problem like this.
(I don't want to see these applications running in recent apps)
I use the latest xiaomi.eu ROM, but I had the same problem with the Global version.
Thanks for any help.
You can "lock" an app to prevent it from being killed.
Launch the app with the accessibility settings you want, display the apps currently running but instead of killing all apps click and hold on the one you want to keep. You should see a "lock" option here.
Hope that helps
Magichp said:
You can "lock" an app to prevent it from being killed.
Launch the app with the accessibility settings you want, display the apps currently running but instead of killing all apps click and hold on the one you want to keep. You should see a "lock" option here.
Hope that helps
Click to expand...
Click to collapse
Thanks for your reply, but I already have this apps locked in recent apps but not working.
Hmmm, that's weird, I have the same kind of issue using Macrodroid to automate some tasks, and they even advise in-app to follow that method to keep the required accessibility settings (method that isn't required on non-Xiaomi devices) and it does work.
What exactly is the issue, the apps still get killed even locked or do they just lose their settings?
Someone with better knowledge of MIUI might give a better answer ^^
I had the same problems and fixed them by disabling energy saving management and activated autostart.