yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
[MENTION=803530]Droidphilev[/MENTION]: The problem is, if not the stock and uncustomized lockscreen is used, it works not correctly. This seems to be for some touchwiz, but not for all as someone reported it works with s4 maybe sense, maybe c-rom (dont know it).

Therefore i wrote it is easier to use a self created unlock view
[Xposed Framework Modules] Droidphilev:
Hi,

Then i missunderstood this in the changelog:

"Allow lockscreen if no secure method is set"

I thought this means that the app can work without the device being protected without pin/pattern...

my fault :(
[Xposed Framework Modules] badkill:
I tried your instructions and if the folder is created but still not working for me, and I tried uninstalling and reinstalling, even change rom but does not work

When I select an application passes the list of selected but when I close and open the application does not keep the selected applications.

please help
[Xposed Framework Modules] defim:
You understood it right. It works for me with a cyanogenmod rom and a GoogleEdition, but it seems not for you lockscreen.

Thats why a unlock screen by the app would help for all these modded lockscreens

Have you set the same owner&group and the same permissions (775) to files/ dir? Contains it any files and in case they have the same user+group+permissions?

adb shell su -c ls -al /data/data/de.defim.apk.p*/
drwxrwx--x u0_a91 u0_a91 2014-07-03 15:04 app_webview
drwxrwx--x u0_a91 u0_a91 2014-08-04 18:27 cache
drwxrwx--x u0_a91 u0_a91 2014-08-02 15:57 files
lrwxrwxrwx install install 2014-08-04 18:27 lib -> /data/app-lib/de.defim.apk.protectedapps-1
drwxrwx--x u0_a91 u0_a91 2014-08-03 21:15 shared_prefs
[Xposed Framework Modules] NikolaFiko:
Please fix s5/Note 3 bootloop, need this thing.
[Xposed Framework Modules] defim:
Can you get a logcat? And/or log file by exposed? I dont know why it causes a boot loop. At start it only hooks some methods
[Xposed Framework Modules] Droidphilev:
Hi,

Ok. This would be nice to have then. I tried +15 applockers but none of them are secure except for the other XPosed one. But that also works only on a device with lockscreen+pin.

If you ever implement this it would be very nice!
[Xposed Framework Modules] NikolaFiko:
I could provide you both, but, do I need to enable module in Xposed to make phone go to bootloop, than disable Xposed and than start phone, disable module and enable Xposed, and than restart again and than send you logs? Or just send them? Found log file in Xposed menu and logcat file in Kernel Tuner, are those files you look for?
[Xposed Framework Modules] defim:
I'm not sure where it's logged. The best would be if you attach an usb cable and do a "logcat" during boot, there's everything, most important is then seconds before the crash. But it could aslo be that the log of xposed and protectedapps is enough (in the cache dir of the app are even old logfiles)

And yes, before that enabling the module is needed.

ANother idea: with the tasker support, you could unlock apps eg with an nfc or whatever tasker has as triggers
[Xposed Framework Modules] Droidphilev:
Hi,

I don't use Tasker i'm afraid.
[Xposed Framework Modules] defim:
Or any other app which can send broadcasts
[Xposed Framework Modules] Droidphilev:
Hi,

Thanks for these tips but if you don't mind i would like to wait until you implement PA's own lockscreen.
[Xposed Framework Modules] defim:
Could take a little, I'm not so a famous designer :D
[Xposed Framework Modules] Droidphilev:
I don't mind. Working for years as it is now. I guess i can wait a bit longer :)
[Xposed Framework Modules] CarlosBattousai:
Really needs integrate in to Tasker easier.

I write in that "de.defim.apk" etc line and it doesn't work.

Need to be something that's select-able in plug-ins.
[Xposed Framework Modules] defim:
There should be error messages in the app log, if you have at least the action name set correctly but some other typos
[Xposed Framework Modules] Sam7777777:
Sir, i think the app is not suitable for protecting apps as one can easily disable xposed using zip file in recovery, user may not be aware of that and lend his phone in somebody's hands....
[Xposed Framework Modules] defim:
Use an older version of Xposed & remove you recevoery - done
[Xposed Framework Modules] Droidphilev:
offtopic

I know what you mean but this makes me curious :)

I guess with 'remove recovery' you mean 'replace it with a stock recovery
[Xposed Framework Modules] defim:
Just delete the files of the recovery - i wont start anymore ;) But then in cases of some failures you have to use manufacturers recovbery!

Oh, and don't forget to remove superuser app ;) root is still the user with most permissions

But at all this is much more secure than common app lockers, because a long touch on "back" key does not unprotect the apps...
[Xposed Framework Modules] Droidphilev:
thx for this :)
[Xposed Framework Modules] liontari:
Hi defim,

first of all: thx a lot for this app! (+ for other work of yours too)

Could you please add german translation?

Gesendet von meinem GT-P6800 mit Tapatalk
[Xposed Framework Modules] defim:
Is doch
[Xposed Framework Modules] liontari:
Oh sorry.. glatt übersehn.... ;)

Gesendet von meinem GT-P6800 mit Tapatalk
[Xposed Framework Modules] Droidphilev:
Hello Defim,

I saw the app was updated. Would this fix "my problem" you think?
[Xposed Framework Modules] Farshid-Iran:
Perfect App... tnx keep up
[Xposed Framework Modules] defim:
It was about adding a custom unlock screen? No, not yet. It fixes the problems eg with no security set (swipe to device unlock) problems

[MENTION=3469937]david6910[/MENTION]: The errors are by gravitybox, i'll send you a debug version whioch loggs to xposed logfile
[Xposed Framework Modules] Droidphilev:
Well... i had problems with "slider only" too so i will try later today :)
[Xposed Framework Modules] defim:
[MENTION=3469937]david6910[/MENTION] Can yo attach an usb cable and run "adb logcat" during you device starts? If not by xposed, android should tell why its crashes. Maybe it's a watchdog or so. The last lines, maybe 50 or 100 should be enough [MENTION=803530]Droidphilev[/MENTION]: Did it help?
[Xposed Framework Modules] Droidphilev:
Sadly not

-Enabled pattern in system

-setup PA

-changed pattern to slide in system

I wasn't able to put in pattern for PA apps. Screen showed no dots.
[Xposed Framework Modules] defim:
Hm, easies way is then the not yet existing custom unlocker
[Xposed Framework Modules] Droidphilev:
True, will wait for that, np
[Xposed Framework Modules] defim:
Will be the next feature, maybe testversion at weekend. Not sure yet.

For gingerbread support also required, because with API 10 keyguard also not working [EDIT: the way like] in newer AOSP...
[Xposed Framework Modules] Droidphilev:
TA for this info Defim
[Xposed Framework Modules] a10fjet:
Great work. This app has a lot of potential, if you can work out all the bugs. I cant stand to see people entering passwords every single time they want to check their device. It's insane. Until more phones have the simplicity, reliability, and security of the iPhone 5s's TouchID, this module fills a very important role. It's going to be awesome to only have to authenticate yourself when you are actually dealing with sensitive information or are trying to open security holes.

Thanks, I for one really appreciate it
[Xposed Framework Modules] Droidphilev:
Hi,

I fully agree! Question: do you use with, let's say, "slider" when the device wakes up but a pattern for certain apps? If so: do you use a stock rom?
[Xposed Framework Modules] diggmc:
Hi defim,

Two things.. A couple of your apps get mentioned in this video "Top Xposed Framework modules" by Kevin the TechNinja - http://youtu.be/olxLfJojjIo

The other thing is, have you considered adding the ability to protect a folder. I'm not even sure if that's possible or not.

Thanks
[Xposed Framework Modules] yeeahnick:
Hello [MENTION=4501300]defim[/MENTION]

When using you app in combination with "No Home Lock" module (http://xdaforums.com/xposed/modules/mod-lock-home-v0-1-wifi-unlock-t2799087) there is a small bug. The lockscreen window does not appear, i have to manually lock the screen and then unlock for it to work. Dont know if you could take a look at this kind of problem.

Besides that the app is great, keep it up!

Thanks
[Xposed Framework Modules] defim:
[MENTION=4201689]yeeahnick[/MENTION]: PA uses the common android way to lock the screen (therefore "admin" is required). How do you "manually lock the screen"?

[MENTION=3675319]diggmc[/MENTION]: Thx for the link! Protection folders is not planned. This could not be done 100% due to Xposed hooks only the java part of Android. So "root" apps use "su" and a hook does not help. Even a non root shell could access every file/folder it has permissions for

To protect apps, the linux filesystem permissions (like rwxr-xr-- or 754) should help. BUT as root you could get acces to every file and you have to use a filesystem which supports it (ext2, ext3 etc, but no fat)

[MENTION=5168833]a10fjet[/MENTION]: There are not really "bugs" if you use AOSP, CM etc. I would like to call it "incompatible" because of the manufacturer changes of the keyguard

[MENTION=803530]Droidphilev[/MENTION]: Sorry, was a busy weekend...
[Xposed Framework Modules] Droidphilev:
ooohhhh nooooo... this is a disaster! ;)

(take your time my friend :) )
[Xposed Framework Modules] yeeahnick:
Sorry maybe i did not express myself correctly. Like i said i use a module called "No Home Lock" which automatically deactivates the password for unlocking the device when i am on my home network. There is a small bug when using your module along with "No Home Lock" i explain.

Lets say i am at home and try to open a app that is locked with your module. I see the pop up asking me if i want to unlock, i say yes and then nothing happens, i have to manually close and reopen the screen with the power button to then enter my unlock pin and then the locked app opens.

Lets say i do the same thing but this time with WIFI OFF (meaning "No Home Lock" module is off) i get a normal behaviour, i open a locked app, it asks me if i want to unlock, i say yes and it automatically brings me to lockscreen for my pin password, i do not have to manually press power button to get to the pin.

I know this is caused because i have "No Home Lock" module but maybe you can do something to bypass it because everything works good except the fact that i have to manually lock my device to have the pin password show up when i am at home.

If this wasn't clear enough perhaps i can do a small video to show you.

Thanks a lot!
[Xposed Framework Modules] defim:
[MENTION=4201689]yeeahnick[/MENTION]: I've took a quick look into "No Home Lock", it changes the same Android methods as PA - PA sets the unlock method as you select and NHL sets if in "trusted" mode to "None".

You could try if it helps to change the load order of the modules. In the Xposed-Installer directory in ./conf is a modules.list file. There are all modules listed Xposed loads at startup, exactly in the order the modules are in the file. Maybe it helps (should) if you exchange NHL and PA.

But if you enable/disable into the Xposed app a module or update some, it does save it again in default order!
[Xposed Framework Modules] yeeahnick:
I have tried this but does not seem to do anything =(

Is there anything else i could try or that you could change?

Thanks for the help
[Xposed Framework Modules] defim:
Atm, i think not, because both change/hook same methods.

Bur I'm on adding a "custom unlock screen" which does not use the Android keyguard anymore which circumvent this problem (and some others)
[Xposed Framework Modules] defim:
[MENTION=4201689]yeeahnick[/MENTION] & [MENTION=803530]Droidphilev[/MENTION] Custom pin & password unlock screens (not lockguard depending) now available in new pzblished version
[Xposed Framework Modules] Scorp123:
Trying out the new custom unlock screen and noticed a few problems. 1 there is not pattern option, I'm assuming you simply haven't made that a possibility. 2 when using a pin on your custom unlock screen with a standard swipe to unlock for androids lock screen when Protectedapps locks the Android lockscreen locks as well but the pin entered for Protectedapps does not unlock the Android lockscreen.
[Xposed Framework Modules] defim:
Custom unlock screen is not done, will see how much need it. You have l locked the android unlock screen? You could add exceptions in ProtectedApps, for the exactly name take a look in the log file
[Xposed Framework Modules] Droidphilev:
Hello Defim,

Tried it out but slider when screen is put on is gone. i get an unlock screen (pin or password depending on what i have chosen in PA) that is happy with any input. i use password "test" for 1 app for the moment and if i wake phone i can input "test" or "tralala" or even nothing. I wonder why slider is gone and why PA not just asks for a pass/pin for selected apps only.
[Xposed Framework Modules] defim:
Slider option is gone because in custom-unlock mode there is no interaction with Android keyguard

> happy with any input.

Is a pin or password set? To not lock out people which forget that, every pass is accepted if never was one set (Android does this the same way)

> PA not just asks for a pass/pin for selected apps only

PA should ask only for selected apps. Can you tell me what settings you have set? And then please enable logging, it tells what was blocker or not and why
[Xposed Framework Modules] yeeahnick:
thanks so far its working great but I will keep testing today, i would love a pattern option if that is possible =)
[Xposed Framework Modules] Droidphilev:
Hi,

Hmm, i did not expect this.

Will try to explain better:

My phone itself has no pin/pass/pattern set, only slider. I enabled PA and set up "custom unlock screen" in settings. I set up a pass or pin in PA and selected a few apps. When opening these apps i get a popup from PA asking for pass or pin. But the wierd things come when i put screen off and back . Instead of slider i get an android lookalike lockscreen that accepts any input or even empty input. I would expect normal slider at this moment. As i understand it when using PA with custom lockscreen PA would not interfere with android itself, or am i wrong?
[Xposed Framework Modules] Zebov:
Bootloop on Note 3

Hyperdrive ROM bootloop on both 1.5 and 2.0. Really hoping to be able to use this soon.
[Xposed Framework Modules] defim:
Can you get a logcat? I dont know why this loops occur, some people reported it. To do it: Start adb on device, connect you phone witg usb cable to pc, and run "adb logcat". Then the last lines before the crash should tell why and where it crashes

[MENTION=803530]Droidphilev[/MENTION]: Thanks, i think now i got it. I forgot a check for unlock method. PLease try attached file, dont forget to reboot, the app wont tell it this time

[MENTION=4201689]yeeahnick[/MENTION]: Better test with attached file! Okay, 2nd vote for custom-pattern recorded..
[Xposed Framework Modules] Droidphilev:
Works as it should now, thanks!!! Only one thing left: i still cannot lock "Wordfeud". PA never asks for a password, not even after killing Wordfeud.
[Xposed Framework Modules] defim:
Thanks for report, i'll push an fixed update soon.

Wordfeud: I've installed it and tested it shortly, works as other apps and shows in the logfile correctly. Maybe you did not rebooted after update? Or apps where yet unlocked? Or you do only watch "create" method and the app was yet started somehow (You could configure what happen if the keyguard is visible or during device startup).
[Xposed Framework Modules] Droidphilev:
Hi Defim,

I rebooted surely (as it works for other apps). Apps were not unlocked (no unlock icon in notification area). Wordfeud was indeed running already when i set up PA for it but i killed it, rebooted etc etc. No go. I wonder why it doenst work for this app.
[Xposed Framework Modules] a10fjet:
This thing is totally useless.

With pattern lock, you can have an app locked, try to access it, it brings up the lock screen, put in any pattern you want to or just press one dot, and it unlocks it.

---------- Post added at 06:42 PM ---------- Previous post was at 06:31 PM ----------

Okay maybe just pattern lock is broken. PIN seems to work.

Suggestion: Option to make the pin number positions scramble and appear in random spots instead of the ordered arrangement. This will make it much more secure to unlock with people around. Any potential offender would have to actually see which number you press instead of where on the screen you tap or where the smudges are.
[Xposed Framework Modules] defim:
[MENTION=803530]Droidphilev[/MENTION]: For me it works with Wordfeud. To see why it does not for you enable logging in the settings

@ a10fjet: If all inputs are accepted, there is no key (pin/pass/pattern) set or there ws a problem setting it. Had you ever set and configured patterns on you device? Which Android version is it?

Instead changing the numbers, changing the pin could be done. Then it is easier to find the numbers. Like the app "TimePIN" does this for the lockscreen
[Xposed Framework Modules] Droidphilev:
Will try this later on. It's a built-in log? Or logs to logcat?
[Xposed Framework Modules] defim:
You have to enable loggin in the app>settings and can watch it in the app or by logcat
[Xposed Framework Modules] Droidphilev:
ok, will do. Thanks
[Xposed Framework Modules] nahojnahoj:
intent for "disable, don't block any app" option

Thanks for this great apps!

I would like to suggest an android intent to control "disable, don't block any app" option.

I usually auto disable protection when at home, reenable when leave home.

Using pa, I tried set to infinitely, but since I enable option to "always lock after lockscreen", pa will protect again after screen off & on again.
[Xposed Framework Modules] defim:
[MENTION=402380]nahojnahoj[/MENTION]: Try latest version 2.0.2
[Xposed Framework Modules] nahojnahoj:
Enable/Disable tasker function working great, Thank You.
[Xposed Framework Modules] liontari:
Works now perfectly on my SGT 6800, ICS 4.0.4!

thx a lot!

Gesendet von meinem GT-P6800 mit Tapatalk
[Xposed Framework Modules] Zebov:
Note 3, still causes bootloop

Necessitates installing zip file to disable xposed completely.
[Xposed Framework Modules] defim:
There where about 2 reports of bootloops after installing this module, but no logcats while crashing. So I dont know if another module is causing it or if it depends on the device/rom. Can you save a logcat during loops?
[Xposed Framework Modules] Zebov:
To be honest, I'm not that interested. I'm on hyper drive now, but it did the same thing on stock ROM. I already have an app that does the same thing, I was just trying alternatives. I thought I should at least make you aware of the problem. I know it probably is frustrating. If I decide to mess around with it again, and it crashes again, I'll send one out. Sorry I can't be more helpful.
[Xposed Framework Modules] VALYYYY:
I Bootloop after this update.
[Xposed Framework Modules] defim:
Change where not in the module part, so something other causes it.

In you logs are many failures, so try it without at least youtubeadaway and gravitybox
[Xposed Framework Modules] VALYYYY:
But, I used Xposed-disabler-recovery.zip. Uninstslled ProtectedApps and now, my phone starts... How explain this?
[Xposed Framework Modules] defim:
Some reported this, but until now nobody could take a logcat during boot+crash with the cause within
[Xposed Framework Modules] a10fjet:
Suggestions

Is this thing still in development?

Suggestions:

Most importantly for your pocketbook, In addition to the donate version, make the free have unlimited app locks but show a non-intrusive banner ad each time the lock is triggered and inside the app.

The ProtectedApps app itself should be locked and should not be optional. First time you run it, it should ask for the PIN number. Every time you open it it should ask for verification.

When an app is marked as locked, next time the list is loaded it should be moved to the top. This way all locked apps get grouped at the top.

Make a nice icon and just clean the settings up. Stuff like the dialog that asks if you want to unlock for "X" app but only has a yes button. I could help you word things since you sound like a non-native English speaker.

Randomize PIN number appearance such as this Runescape Banking PIN. If you could pull that off it would be amazing. If you can't, you could at least try to randomize at the start of the input dialog and forget changing in between taps.

thanks for developing this. I feel like it's a lot more secure than regular non-xposed app lockers from the play store. When I use those I can see the app open and then the lock comes up, but with yours it doesn't get a chance.
[Xposed Framework Modules] thahim:
[MENTION=4501300]defim[/MENTION] How to access hidden apps?

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] thahim:
How did you manage this. I cant do it in tasker. Can you help me.

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] nahojnahoj:
i actually don't use taker, but i think should be similar:

1. in PA setting option -> tasker (ENABLE tasker function)

2. in tasker send intent command

i attached my llama app intent picture fyr (mind every character)
[Xposed Framework Modules] thahim:
I have tried this already, not working and there is a bug.

While using protected app, it automatically locks the app and I again have to enter the pin.

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] nahojnahoj:
no issue on my side, used it everyday (at least on v2.0.2 works well)
[Xposed Framework Modules] karl999999:
i am having problem with intents when using proctected apps.

for example when i use "send to" in app A and select app B (a messenger) , then i unlock app B and app B is not started with the correct send-to-intent, but its started like normal start (without being able to select a user to send-to)

other problems are when i select from the status-bar notification (when i get a new message notification), then i unlock the app but its

not started with the correct intent.

hope you can check and fix this?
[Xposed Framework Modules] thahim:
[MENTION=402380]nahojnahoj[/MENTION] its working now but the problem is when using apps it automatically locks them and I have to reenter password.

Sent from Galaxy Note 3 SM-N9005

---------- Post added at 07:51 AM ---------- Previous post was at 07:46 AM ----------

Check this am I doing something wrong?

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] nahojnahoj:
Good to know its working.

you should disable pa if u don't want to lock apps
[Xposed Framework Modules] defim:
[MENTION=386274]thahim[/MENTION]: In the settings is an option to set how long unlock duration is. Or you could check only on "create" not "resume". Then key is asked only if you satrt the app 1st time after reboot (or you killed it /exited by menu/ oom killer gets is)

[MENTION=5168833]a10fjet[/MENTION]: You can attach a fine icon here to have it included in the app, there is then a selection dialog like in BootManager

If you have hidden the icon for the launcher? In the Xposed Installer within the modules section

Which Android API version does you use? And which app exactly? I'm using WhattsApp, working great. Also eg Play Store could be opened by notification. But not all apps are 100% correctly. So eg the Xposed Installer has not a clean activity backstack, the back button does closes a sub view depending on how you run it
[Xposed Framework Modules] fsadak:
Nice app :)

Turkish translation is on the way... :good:

Edit:

Turkish translation is done... :good:
[Xposed Framework Modules] karl999999:
Which Android API version does you use? And which app exactly? I'm using WhattsApp, working great. Also eg Play Store could be opened by notification. But not all apps are 100% correctly. So eg the Xposed Installer has not a clean activity backstack, the back button does closes a sub view depending on how you run it

i am using andoird 4.2.x and with surespot app. when i get the notfication and select it, surespot app mostly opens the login screen again, and crashes.