yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
Achso, wenn das erst deaktiviert wird ist das normal, da nur bei den App starts ausgewertet wird. Vergleichbar mir dem Windows Autostart: Wenn man da was (de)aktiviert hat das keinen Einfluss auf den momentanen Zustand, sondern erst wenn man neustartet

// The "recents" options applies on start of apps
[Xposed Framework Modules] ilkaskim:
Schade das es nicht beim aktivieren nicht nach Recents schaut ob eine App sich befindet was geschützt ist.

Wäre es deinerseits möglich dies zu machen?
[Xposed Framework Modules] Droidphilev:
English please!
[Xposed Framework Modules] defim:
Sorry, das geht nicht da. Android lädt beim Start der App deren Konfiguration und zeigt sie entsprechend an oder nicht. Wenn man den Wert ändert merk das System das erst beim nächsten Start

// No, its a propery loaded by Android at start of the apps
[Xposed Framework Modules] DroneDoom:
This module interferes with chainfire's recently. There's an overlay that allows to clear all recents but the module doesn't allow it to appear.
[Xposed Framework Modules] defim:
"the module doesn't allow it to appear."? Then you should not select this app, or add a single ativity to exceptions list.To get the names enable logging.
[Xposed Framework Modules] DroneDoom:
Trying to look through the log but nothing related to the overlay. Checking catlog and see if I can find it and add it.
[Xposed Framework Modules] defim:
It should be logged when it starts, meybe reboot help
[Xposed Framework Modules] FlemishDroid:
This app works great I use it for Quickpic and MX Player but I thing I noticed. For example when I want to upload a picture in Tapatalk I choose gallery (Quickpic) and I give my pincode in to unlock Quickpik and select the picture but nothing happen and I'm back at my desktop page. So I have to choose the picture a couple times before it appears in Tapatalk. So the module works great when I use it to open Quickpic and MX Player but if I need Quickpic in another app like Tapatalk it fails the first times.

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Xposed Framework Modules] defim:
[MENTION=4514473]FlemishDroid[/MENTION]: I tested Quickpik and it seems TapaTalk opens it within itself. I have enabled the module ActivityForceNewTask which should prevent such behaviour, maybe it needs an update

Best workaround is arm to tap on notification to unlock manually earlier...
[Xposed Framework Modules] Nergal di Cuthah:
Does anyone know the intent for K9 mail, that I need to put in ProtectedApp's white list, for deleting from the notification

I tried this

But didn't work
[Xposed Framework Modules] defim:
[MENTION=5447130]Nergal di Cuthah[/MENTION]

I think a "." (dot) is missing in front of the 2nd line

eg 1)

package: the.packag.name

activity: the.packag.name.activity or .activity

eg 2)

package: the.packag.name

activity: something.no.like.package.activity

Btw, enable logging helps to find activity names
[Xposed Framework Modules] Nergal di Cuthah:
Thanks I'll try that now.

Edit worked perfectly thanks

.activity.blahblah was what was needed, thanks for fast reply
[Xposed Framework Modules] jimmy_chao:
It's a great app-lock module with better performance and many options provided, including capability to exclude protected apps from recents.

However, it's not working here on my Android 5.0.2 phone.

All the apps that can be locked don't show up after unlocked.

Each time I launch an app, after I enter the code (PIN or crash report), the lock screen just disappears and the app doesn't show up (with a toast "Unlocked" shown in screen).

I can provide the logs later.

I'm using a Traditional Chinese translation version. Not sure whether it matters.

Anything else I can do to help on resolving the problem?

This is a very useful module. I don't want to miss it.

Thanks!
[Xposed Framework Modules] jimmy_chao:
Here is the log (using MX Player for example) that app doesn't show up after unlocked.
[Xposed Framework Modules] defim:
[MENTION=645441]jimmy_chao[/MENTION]: Translation should not matter. I did a quick test, it work for me with MX Player Pro. In you log are the ProtectedApps activities, should work too... Have you a TouchWiz device or x64? With these Xposed has some bugs (dont know what the current status is, had no intzernet for some time ^^)
[Xposed Framework Modules] jimmy_chao:
Yes, you're right.

I'm using an ASUS ZenFone Laser ZE500KL with S410 CPU.

It's an x64 architecture.

I'll check whether Xposed is fully working here.

Thanks for this great module and the quick reply!
[Xposed Framework Modules] smohanv:
Most is the protected apps are correctly opens except few of them. I am trying to open Gallery app which is protected. After password it opens Play store.

Also I removed whatsapp from exception list then added to protected list. Opening whatsapp asks pin but once pin is entered, it opens Play store instead of whatsapp.
[Xposed Framework Modules] defim:
I checked some time ago the app "QuickPic" and it uses a method to share pictures whcih does not work wiht ProtectedApps (the result is lost...). As a workaround you could unlock manually by widget or notification before you use the Gallery

WhatsApps: I've protected it on my device, but no problems noticed so far (most time I share pics with contacts).
[Xposed Framework Modules] Vanbursta:
Swipe up before unlock

Can someone please explain how to use this module to turn off the swipe up before entering the pin on the unlock screen?
[Xposed Framework Modules] SyCoREAPER:
Odd behavior all of the sudden (No settings changed). No matter which app I launch (that I have set to protected), it keeps launching into Protected Apps
[Xposed Framework Modules] defim:
[MENTION=1506211]SyCoREAPER[/MENTION]: Have you latest Xposed v80? Is you device unstabel with Xposed, eg TouchWiz or x64 device?

Maybe dalvik cache clean helps
[Xposed Framework Modules] SyCoREAPER:
Newest xposed and was working fine for a week and thanA. Stopped
[Xposed Framework Modules] defim:
This depends on the apps. PA depends on the app activities, so if an activity is open (allowd) and delete is only a "message box" with yes/no this could not behandled. But I've planned to add a exceptions-list, so apps could be protected, but special activities not. Maybe this helps, in the log you could see which activities are opened by which package

The checkbox is then disabled, this is used on older Android versions, maybe i hideit better

minimal/maximal: You have to wait at least "minimal" seconds after the lockscreen is shows, but then you have to unlock within "maximal" seconds. If you are before/after that it is not unlocked, or if checkbox is set, do a device unlock, but no app unlock. If you are after the end of "maximum", you could hit power 2x times (screen off+on) and you are back at default method for device unlock

[MENTION=389411]chw9999[/MENTION]: Test version attached with tasker support (extra menu item)

changelog so far:

•Tasker support: lock, unlock and infinite, optional password

•Allow lockscreen if no secure method is set

•Notification beim Deaktivieren entfernen

•Fixed FC in main view

•Fixed FC in settings view

•Translation: Spanish by badkill

•Translation: Portuguese (Portugal) by mauam

•Translation: Vietnamese by alienyd
[Xposed Framework Modules] chw9999:
Thanks, downloaded the app and installed it. But pretty late here, probably checking tasker support tomorrow and answering asap.

Thanks again :)
[Xposed Framework Modules] chw9999:
Ok, the tasker interaction works very nice. However, when locking is activated, I encounter the following procedure on my ICS:

- Clicking locked app

- "do you want to unlock?" Yes

- Black screen (screen goes off, actually)

- switching on again

- on "screen on" I have my pattern lock screen - unlocking

- question again, if I want to unlock. If I just use the back key now, the question screen is removed, and if then I use the recent apps to go to the locked app again, it's now unlocked. Without the lock screen...

Could somebody confirm?

Thanks again!
[Xposed Framework Modules] defim:
[MENTION=389411]chw9999[/MENTION]: Have you rebooted after an update of the app? In most cases if screen goes off it means the app<>module could not communicate. Any you are only using the "create" method?
[Xposed Framework Modules] chw9999:
Uhh, the app what? ;)

Yep, booting repeated twice, procedure stays the same.

Might the culprit be the Sense lock screen?

Thanks for covering here!
[Xposed Framework Modules] defim:
If the app is updated, then the module part is still the old version because it it loaded at system start by xposed, that's what i mean they could not comminucate because methoed changed only on 1 side.

And another question: Does the screen turns off always on lock? Or only in this case?

Have you set the "observe" in the settings to "create" only? (which could explain it) Then pleae try attached, dont forget to reboot
[Xposed Framework Modules] Scorp123:
Would it be possible to have the app relock only after the screen turns off as opposed to setting a specific timer? For example, you unlock the gallery app and it will remain unlocked until you turn off the screen, then it would relock as it normally would with the 30 second timer
[Xposed Framework Modules] defim:
Should be yet possible, try this:

- set the duration to 0 = infinite, so the apps would not locked by itself

- then check "after orinary login apps are protected" -> apps are locked if screen off/on
[Xposed Framework Modules] Scorp123:
Unfortunately that method does not work. I don't have a standard lockscreen password set, and I don't want to have one honestly, that's why I have this app. Just the standard swipe to unlock of the Galaxy S4.
[Xposed Framework Modules] defim:
Which version did you use? 1.0 final? You problem is that you could not set a pin/pass/pattern? There was a bug it was not working if no unlock method was set. This was fixed in the new version released some minutes ago. Btw has your device Touchwiz? It was reported that it does not work at all with S5
[Xposed Framework Modules] Scorp123:
I used the download from post #26, the latest version. Even with that version the problem still persists. The problem is that when the time to remain unlocked is set to infinite and the option to lock on regular login is checked, the app does not lock when the screen is turned off and back on again. The app remains unlocked permanently and even the notification in the notification shade says app unlocked permanently. The only way to relock it is to click the notification or set the time to remain unlocked to an interval other than zero. I am using touchwiz on a stock 4.4.2 Galaxy S4 ROM.
[Xposed Framework Modules] :
Hi,

Installed today (from within xposed).

I don't use a device lock, just slider. I wanted to set up a custom lock method for protected apps so i chose "pattern" and pressed the button to set it up. Then i get a kind of lockscreen but there are no dots on this screen so patern cannot be set. I have to remove te battery to restart the phone as i cannot get away from this lockscreen. I also tried with pin. Custom password cannot be selected.

I use C-rom 7.1 KitKat 4.4.4 on a gt-i9205
[Xposed Framework Modules] drsood:
[MENTION=4501300]defim[/MENTION] On Slimkat rom, if no screenlock is set (i.e. phone directly shows launcher on turning the screen on), protectedapp 1.1 fails to work. even if i set pattern/pin lock from within protectedapp, it brings me to the lock screen, but fails to show the pattern set area, and i end up rebooting my tablet to make it work again normally.

But if the screenlock is alreadyset to pattern/pin etc from within android settings, the app works great.

PS another user had already reported this exactly before my post. I apologize for the my similar double post
[Xposed Framework Modules] defim:
Great to hear that it works with a Touchwiz device!

You have slide unlock or no unlock for the device set? The module watches the method which returns if a unlock was sucessfully - and these 2 methods dont use this and the module does no known anything about the "login". To verify: if you use a eg a pin for device lock, it works?

and [MENTION=3098925]drsood[/MENTION]

Can you pelase try this: Set you device lock to "pattern" in the android settings. There you have to set the config, eg how much dots are used. Does it work now? Can you still set a new pattern if you change it back to slider? Maybe a first initialisation has to be done by android.
[Xposed Framework Modules] :
Hi,

That indeed works. However, if i set a pattern in system and choose pin in your app it shows a lockscreen still with pattern. It also gives a toast saying that it's saved (but it also shows a ' ). I didn't wanna go any further mind.

Also you wrote before:

"Should be yet possible, try this:

- set the duration to 0 = infinite, so the apps would not locked by itself

- then check "after orinary login apps are protected" -> apps are locked if screen off/on"

This doesn't work if i do:

- set pattern in system

- set pattern in your app

- change pattern to slider in system

Also, i was able to lock myself out:

-set pattern in system (5 X 5)

- set pattern for an app in PA. (autmatically 5 x 5 but different pattern from system one)

-set new pattern in system but this time 3 x 3. PA apps cannot be unlocked anymore and lockscreen showed by PA also does not accept system pattern
[Xposed Framework Modules] Scorp123:
Yes it works perfectly if I use a pattern lock. I'm currently using swipe to unlock. I'd like to keep using it this way, if I have a lockscreen password there is no need for this module. Is there anyway to implement screen off relocking without being forced to use a lockscreen password?
[Xposed Framework Modules] drsood:
Yes, if pattern is set in android settings, it works.

And no, if slider is set in android settings, the app doesnot work.

A few senarios:

1) Android pattern lockscreen set --> Protectedapps works

2) Android slider lockscreen set --> Protectedapps doesnot work. If I try setting pattern from within Protectedapps, I end up on a lockscreen without any slidetounlock/pattern and I have to force restart

3) Android lockscreen unset completely (I use Gravity screen, so i basically dont require a lockscreen), Protectedapps doesnot work

Thanks
[Xposed Framework Modules] Artos0131:
Thank you for creating this great app and answering me on google play. :)

Could you add "Polish" language at translate site? I would like to translate this app. Thanks in advance.

BTW. I translated the rest of lines for Boot Manager app.
[Xposed Framework Modules] chw9999:
Sorry for coming back to you do late, was busy with life [emoji6] Thanks for the f extra app, I tried it with this download and the newest version from the repository (all with reboots), but to no avail. Tried with create, resume and both... The screen goes off when I open a locked app and apply yes to the wisdom, and I can't apply the pattern then.

It's fine for me because I now can really lock the apps, and I just use tasker for the toggle to unlock generally for another five minutes or so.

Probably it's the Sense ICS causing the trouble, but no problem [emoji1]

Thanks again!
[Xposed Framework Modules] defim:
[MENTION=803530]Droidphilev[/MENTION]:

After the max time for unlock is over, you could screen off/on and you should agin login, the module does after this time not change things.

Maybe your deivce/rom is incompatible. If the lockscreen is shows by PA, does the screen goes off? Not changed login method is also a hint for it.

Has your manufacturer modifyed the lockscreen, maybe sense or touchwiz?

Different pattern sizes are not suppoerted, they use the same config

This is planned to do as next

[MENTION=3098925]drsood[/MENTION]: I'm not sure how Gravity screen "locks" the device, if it uses the android way it should work after i fixed the problem Scorp123 reported

[MENTION=4794703]Scorp123[/MENTION]: Most time i dont read comments, but as there was only one i did :D Most comments are "great" or "dont work".. I think feature requests are there not good to handle. Does the new version added everything? I've added Polish to the translation side

[MENTION=389411]chw9999[/MENTION]: I've no device with sense, but it seems this causes problem due to a different lockscreen. But I'm not sure if all devices with sense are affected. As i started this app, I wanted not to use a selft build lockscreen, no thought about these modifications...

A small update published:

Add user configurable list with exception (menu item). Eg protect phone app, but answering calls without unlock is possible

Add icon for infinite unlock (Notification & Widget)

Add toast text for infinite unlock
[Xposed Framework Modules] defim:
[MENTION=1506211]SyCoREAPER[/MENTION]: Just stopped after it worked? No error messages in Xposed or in-app log? Maybe you installed another module which is incompatible (hooks smae things)?

You could also enable log in the app and see what it does!
[Xposed Framework Modules] JoeSixAtPack:
Hi in my CM13 I locked the PacketInstaller like I always did in previous CM versions. Now my phone dialer is also locked, triggered by Packetinstaller. Any ideas how to bypass the dialer without allowing PI completely?

2016-03-25 19:43:44 except: ProtectedApps (de.defim.apk.protectedapps / .message.Xmessage) 2016-03-25 19:43:44 allows: Trebuchet (com.cyanogenmod.trebuchet / com.android.launcher3.Launcher) 2016-03-25 19:43:45 allows: Dialer (com.android.dialer / .DialtactsActivity) 2016-03-25 19:43:46 denies: Paket-Installer (com.google.android.packageinstaller / com.android.packageinstaller.permission.ui.GrantPermissionsActivity) 2016-03-25 19:43:46 allows: Trebuchet (com.cyanogenmod.trebuchet /
[Xposed Framework Modules] defim:
[MENTION=2464128]JoeSixAtPack[/MENTION]: This seems to be the new Android 6 permission dialog.

You could add "exceptions" in ProtectedApps (menu item)

There add (copy from your log): package com.google.android.packageinstaller , activity com.android.packageinstaller.permission.ui.GrantPermissionsActivity
[Xposed Framework Modules] JoeSixAtPack:
Great [emoji2], that works perfectly, thx!
[Xposed Framework Modules] Dagazz:
Feature Request: Different profiles

Thanks for the great Xposed module!

I have just a feature request: It would be nice if it would be possoble to define at least two profiles with different apps marked as protected. At home i would like to keep only a few apps protected. But if I visit my family i would like to keep much more apps protectet. So just switch the mode between "light protection" and "heavy protection" would be nice. Or at least an export/import function would also help alot.
[Xposed Framework Modules] Nergal di Cuthah:
you can use tasker to unprotect at home and protect elsewhere
[Xposed Framework Modules] Dagazz:
I do not want it unprotected at home. I want some apps always protected ;).

For example: I never want anyone to snoop in my SMS and in my gallery app without my attendance. At home it is OK if my Girlfriend opens my browser or mxplayer. But I do not want my nephew to open my browser or mxplayer.
[Xposed Framework Modules] defim:
If you are advanced user you could try this:

rename packages file in the app's files dir to something else

*restart* app and create a new set of apps protected

then rename the files as you like. reload should be possible (not tested) if you send the tasker "broadcast intents" to disable and then enable which should reload settings in the module
[Xposed Framework Modules] Dagazz:
I am not that advanced... Adapting your hint I "solved" it with Titanium Backup (restore data) yesterday night.. But that is also unconvenient. Even if my problem is kind of solved - I think it would really be a nice feature. (Maybe for the donation version ;)). Because every time you add or remove apps to or from the protected list you have to renew either the directories for tasker or the Titanium Backups. That is really unconvenient.

As I mentioned above: Just a simple import/export function would be a great help.
[Xposed Framework Modules] unibombz:
Testing this application, and I don't mind it so far. I wanted to get it the way I wanted before I purchase the donate one. Right now I have my timeout on 30 seconds (for when an app locks). I am not sure if there is an option to leave the app unlocked while you're using it, and lock the app on exit.

I have been trying to find this option. Perhaps I am missing something simple, I am not sure. When I unlock my app, and use it for more then 30 seconds, it seems to pop-up the unlocked prompt again.. How can I adjust it so it locks after 30 seconds of leaving/exiting the app, or lock right away on app exit?

Thanks.
[Xposed Framework Modules] sleepingelf:
thanks for this great module

request fiture : more theme not just red and blue color it's terrible look with material theme -_- my be black and white (y) :'(
[Xposed Framework Modules] lover:
Hi… i just upgraded my note 4 to official polant touchwiz stock 6.0.1 rom? Does this app works in MM? No problem?
[Xposed Framework Modules] Dagazz:
Works fine with CM13 (MM) on my OnePlus.
[Xposed Framework Modules] defim:
Works with Marshmallow / Android 6 / CM13, tested by myself.

I have no device with TouchWiz, my apps could work or not. ProtectedApps has an option in the settings for compatibility mode for TW, which was needed for Android 4, not sure if still required

[MENTION=5258608]sleepingelf[/MENTION]: If you want to contribute a different icon send it me. Needed are app icon + 3 lock states for widget & notification (locked, unlocked, infinite unlock). You could even send a cutom unlock dialog (xml file) designed by you :)

[MENTION=5355535]Dagazz[/MENTION]: Next verions of my apps whith tasker support get a "reload" command to just relad its settings. Profiles added my todo list, but not sure when or even if, there are other things to fix first

[MENTION=4335664]unibombz[/MENTION]: Android does not exit an app when you "hide" it eg by switch to another. You could eg "inifnite" unlock by widget or notification. Or unlock only 1 app until you lock manueally by widget or notificartion. The 30 seconds timeout could be changed. If you dont want to be asked again use only the "create" method in the options (but i thinks its not reliable to use)
[Xposed Framework Modules] unibombz:
Hmm ok thank you I was having some issues with it earlier so I disabled the module for the time being, did some wonky things to my gallery when I had it enabled and locked with it.

Was going to see what other solutions if any existed, perhaps needs a overhaul, or maybe just wonky code on my end

Just did a clean install so I may give it another try, because I do like it when it works correctly :)

Thank you for the response
[Xposed Framework Modules] onukomer:
Hi, i have a problem. How can I reset the app setting? I do wipe app data, uninstall and , delete app folder from data and re-install, all settings are comes back. My problem is that for example the app locks a app which is selected in the list. All is well but when I want to unlock that selected app i enter the pin code, screen opens but app is not. I'm using HTC one m8 android 6.0.1 htc 10 port rom. Thx
[Xposed Framework Modules] defim:
[MENTION=2205193]onukomer[/MENTION]: Safest way to start from scratch:

Disable the app in Xposed

Reboot (so it cant write settings again)

Then delete data & cache (or uninstall)

Some of my Xposed modules kepp due to SElinux some recorded (not configured) data in /data/system/defim/, the file names starts with the app name

After that you could install, enable and reboot again
[Xposed Framework Modules] danibus:
Hi, this is a great apps, thanks to the developer.

I use this software to avoid any person see my passwords using Authenticator app (by google), check my sms, etc.

I use PIN pass to use those apps.

But there is a problem when open any of my block apps, before ask for PIN pass, for a little time I can see block app, then suddenly PIN screen appears.

Any idea how to avoid?
[Xposed Framework Modules] lover:
I have purchased the donations package but it says Google play services modified and license fails. I did not touch my market or anything only i have luckypatcher are you going to provide a fix for this?