yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
Thank you! Dont forget to send me you email (just for 1 mail, i dont publish it)

I installed surespot and tested it on my S4 (Android 4.2.2). No problems with that app!

The password was not requested again - only if the app was killed completely. After saving the password this was also gone.

If you have not saved the password: Maybe you are using some "ram saver" which terminates the app all the time. There are many such apps, maybe also Greenyfi.
[Xposed Framework Modules] wojmzy:
I can confirm bootloops on stock 4.4.2 Note 3 rom.

Disabling ProtectedApps removes the problem.
[Xposed Framework Modules] defim:
Can you take logcat during crash?
[Xposed Framework Modules] defim:
New feature of next version:
[Xposed Framework Modules] defim:
New feature of next version:

And additinally a try to fix bootlops on some devices, but not sure if it helps because no logfiles where posted
[Xposed Framework Modules] badkill:
es excelente, gracias por nuevas características, me encanta este módulo
[Xposed Framework Modules] ugumba:
Thanks for a great app locker! However, I face an issue with 2.5.1: when using the Android unlock screen to protect apps, it asks for a PIN, even if configured to ask for pattern. No PIN can unlock the apps (they stay locked). This worked fine in 2.5. Using custom lock screen until this is resolved. Alternatively, if you can add scrambled PIN keypad and immediate accept (no need to press OK after correct PIN) I'm happy with the custom keypad.
[Xposed Framework Modules] defim:
Thanks [MENTION=3967831]badkill[/MENTION]!

Sound like you did not reboot after updating, and so the hooks cant use correct settings

scrambled PIN keypad: I tried this with a CM rom, but for me it's very hard to find *quickly* the correct numbers. I think it's much easier to add a easy value to the time, eg 1001. After 1 day usag you dont have to calulate anymore
[Xposed Framework Modules] ugumba:
Sorry, I rebooted first thing, and several times later.

My device lock is a PIN, and I'd like apps locked with pattern.

I just can't get the pattern lock to appear. Instead, the PIN screen shows, and won't accept my device PIN. Luckily, I didn't lock ProtApps itself yet. :)

---------- Post added at 02:10 AM ---------- Previous post was at 01:59 AM ----------

Just tried using a custom PIN instead of a pattern (still using Android lock). This seems to work.

Changed back to pattern, but I'm still asked for a PIN.
[Xposed Framework Modules] defim:
New version published:

[MENTION=488740]ugumba[/MENTION]: Requested no "ok" button for custom unlock screens added

[MENTION=3623789]Zebov[/MENTION] & [MENTION=3348669]wojmzy[/MENTION]

To prevent the bootloops with you devices it could help to enable "Disable keyguard hooks" before you reboot the device the 1st time after enabling it in xposed. Then only custom method to unlock apps is available

[MENTION=488740]ugumba[/MENTION]:

Have you anothe module installed which does something with lockscreen? There are several. Which Android version does you use? Maybe some errors in xposed log?

Yes, device pin is not accepted to unlock apps, but you could enable that device pin does a device unlock while in app unlock mode. First testing without protect PA itself is recommended :)
[Xposed Framework Modules] Zebov:
How do you go about doing this? Every time I attempt to open the program without it being checked or restarted after being checked it won't let me actually do anything inside the program.
[Xposed Framework Modules] Droidphilev:
Hi,

The app is becoming very nice!

Has this been requested before: make the window where you put password (i use "custom" as i don't have my device locked) look like a report popup after an fc. This would be very nice.
[Xposed Framework Modules] thahim:
Settings are really hard to understand.

How do I make it to ask for password everytime app is launched.

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] a10fjet:
I would check "only first launch of an app" and "time after which a new unlocking is requested" set to 20 seconds, that's as close as you will get to what you want, but if you just want to be able to give your phone to someone NOW, just tap the notification and it locks everything down again.

---------- Post added at 05:05 PM ---------- Previous post was at 05:00 PM ----------

I am wondering where this app stores the login info, if someone stole my device and opened up the file system on ADB would they be able to find it?

This app is really looking good now, no more OKAY button, nice PIN layout, misspellings corrected. Good work, glad I donated. You should put ads in the free version though.
[Xposed Framework Modules] Droidphilev:
Hi,

I'm back with Wordfeud not locking. In the log it says UNNAMED before the package name. What does this mean please? Whatever i try, PA still refuses to lock Wordfeud.

---------- Post added at 07:03 PM ---------- Previous post was at 06:25 PM ----------

Hi again,

Found another one called "wordfeud mastermind". Log says "denied" in front of package name. Also here: nothing helps, killing the app etc. I can reopen it without any locking
[Xposed Framework Modules] ugumba:
Thanks for being able to remove OK! Custom lock features are now excellent. Donation well deserved!

By the way, I suggest you provide a failsafe, in case someone locks Protected Apps and gets into trouble like this. Maybe a standalone app that accepts a different password to disable the entire module. In my case this started failing only after upgrading from 2.5.0.

I'd also appreciate customizable colors. The reds and blues are a bit, um, harsh. :)

I use daily Infected CM11 builds on my Xperia Z2. I use CM11 setting to scramble keypad.

I also use Xposed Clean Lockscreen, but disabling it made no difference. I use XBlast, but only to show notifications on lock screen.

I'll play around more, and make sure to check logs. Thanks again!
[Xposed Framework Modules] defim:
[MENTION=386274]thahim[/MENTION]: Yes, many options meanwhile. Addition to [MENTION=5168833]a10fjet[/MENTION] answer there is a widget to (un)lock on demand

[MENTION=5168833]a10fjet[/MENTION]: To get you key values: 'adb shell su -c grep unlck /data/data/de.defim.apk.protectedapps/shared_prefs/*'

The file is writable only by the app (and with root permissions). If you delete the value or xml, every key is accepted.

This is the same behaviour like Android did it: If you remove files listed with 'adb shell su -c ls -al /data/system/*.key', (show content eg with 'adb shell su -c "cat /data/system/gesture.key |hexdump"') Android accepts every key (dont have source link atm).

So protect you root app (eg within SuperSU set a pin and let ask for every new app)!

The value for time base pin computing is plain, es it has to be computed every time.

Missspelling? If the app is visible not in english, you could add/change strings on the translation site, link in the 1st post. Or if something wrong with english, write me, i'm using german interface...

Adds: I tried this in the 1st app, but it make much trouble (library needed, have to be implemented, internet permission, annonying users by blinking etc) and I got never 1 penny ^^. And most of my apps are setup 1 time and then they are not opened many time anymore. Adding adds to UnbelovedHosts would be funny :D

[MENTION=803530]Droidphilev[/MENTION]: You could still use android unlock screen for apps, even you device is not protected by it (but maybe with some custom keyguard this does not work)

"report popup after an fc" added to todo list

[MENTION=803530]Droidphilev[/MENTION]: UNNAMED if a label for an app could not be read. Can you post PlayStore liks to the apps not working? I tested it sometime ago, but not found a problem. And please attach logfile, it's better to understand
[Xposed Framework Modules] a10fjet:
Oh that sucks that ads never gave you revenue. I thought you could have an ad pop up every time the unlock interface is shown or at least every time the device is booted or something. You deserve compensation. But i don't know anything about libraries and implementing it.

And with misspellings i just mean like search was spelled seach and now is fixed. It's improved!
[Xposed Framework Modules] Droidphilev:
mailed info to your gmail
[Xposed Framework Modules] defim:
[MENTION=488740]ugumba[/MENTION]: I tested the app with a Z2tablet, but with the stock rom, this worked without problems

Thx, I take a look at the evening

I had not found andy reasonable way... The yellow-green bar with "donate" was earlier an adsense bar. But as there are also adblocker and hostblocker I changed it, so the bar got not removed automatically by these. This yellow-green bar causes no problems and does not consume my time...

[MENTION=803530]Droidphilev[/MENTION]: Attache a file with crash-report method, please test

UPDATE: Small layout change & screenshot
[Xposed Framework Modules] Droidphilev:
With this version one of the 2 apps don't work anymore. The other one stays unlocked. Where is the crash report by the way? Or does PA send it by itself?

I *think* i found out how crash report works. It should come to front when normally the app asks for a password, right?

I guess i can't report as for those 2 apps PA never comes to front. Tired with another app and chose "crash report" as lock method. WHen i want to use the app i get the popup to send report but no popup for wordfeud and wordfeud mm
[Xposed Framework Modules] defim:
I've added a screen shot to my last post. Yes, you have to select it in settings. Which observation have you selected? Sounds like you use only "onCreate"?
[Xposed Framework Modules] Droidphilev:
Yes, the screenshot shows a popup that i do not get when i try it with the apps that don't get locked.

"onCreate"? I have no idea what you mean :(

You mean "observe"? it's on "both: first launch and handling"
[Xposed Framework Modules] Droidphilev:
Hi again,

I don't know if there can be done about this: if user sets a lock for an app where there can be typed and user leaves keyboard to front and screen goes off (with setting that locking device=locking apps) the app doesn't get locked.
[Xposed Framework Modules] defim:
[MENTION=803530]Droidphilev[/MENTION]: Thy for the log by mail

There are lines with "allows: (lock)"

This means the apps are allowed because PA think your device is locked atm (you could configured it in the settings). So there is a problem with detection of current state of lockscreen visible or not.

And so this is not specific for any app

Have you set with some other apps restrictions for PA or for the Android system itself? Maybe another Xposed module prevents it, can you list you active modules? Which Android version by which vendor you use?

For all problems: Please enable logging and attach it

Im not sure if I do understand it correct:

- You open a protected app

- Cutom unlock screen shows

- You switch screen off + on

- the protected app is started and no more protected?

In this case be sure to have not only "create" observation method. You could configure bahveiour during device is locked in the settings. But after a device unlock, PA should lock all apps (if set in the settings)

EDIT: Sry, I did not get that this was a double-post of you :)
[Xposed Framework Modules] Droidphilev:
First part: mail :)

Second part:

Will write it in steps :)

- i use Telegram as chat client. my setting is that apps get locked after device screen goes off in PA

-open telegram

-open chatwindow

-screen off

-screen on > everything ok. Telegram is locked

-open telegram

-open chatwindow and click place where you can type > keyboard comes to front

-screen off

-screen on > Telegram is not locked because keyboard was in front

Hopefully this is better explained :)
[Xposed Framework Modules] Zebov:
I finally figured out how to set it. And unfortunately, I had the same problem. Stuck on a bootloop.
[Xposed Framework Modules] defim:
If you enabled "Disable keyguard hooks" in the settings, there is still the boot loop?
[Xposed Framework Modules] Nicois:
Not protecting itself

Latest version : I have chosen to protect the app itself as recommended but it is not doing so. The other apps seem to be protected properly.
[Xposed Framework Modules] defim:
There are logging options in the settings. Efter enabling it tells you what it is doing or why not
[Xposed Framework Modules] Nicois:
I think my problem was the DS Battery saver (xposed module) was killing off the ProtectedApps process. I've whitelisted the app, and I think everything is working correctly.

One suggestion would be for whenever the ProtectedApps app is opened, it checks that the ProtectedApps service is still running, and warns the user if that's not the case. Otherwise they will either notice and (like me) think the problem is ProtectedApps, or even worse, they might not notice and their apps would not be protected.
[Xposed Framework Modules] defim:
Thanks for report this!

I wanted to understand what DS Battery saver does, but it has so many permissions + root acces + xposed, so it could be everything
[Xposed Framework Modules] drsood:
In latest version, protectedapps is failing to relock any denied app once the app is unlocked, even after turning the screen off and on. I have set observe to 'both: first launch and handling'. Log shows all apps as allowed, even the denied ones.

Ps: I just read a few older posts, and I think another module is interfering with ProtectedApps. I'll report back soon

---------- Post added at 11:58 PM ---------- Previous post was at 11:45 PM ----------

Thanks to this post, I was able to figure out the module interfering with protectedapps in my case. Its called Lockscreen disabler http://xdaforums.com/showthread.php?t=2587192. If lockscreen disabler type settings are set to 'no lockscreen', protectedapps fails to detect lockscreen event and fails. Defim, can you rectify this please?
[Xposed Framework Modules] defim:
Great you figured out, and thanks for reporting it!

No, I cant change it, it's Lockscreen disabler author's task. The state of the current user is read by registering a broadcast receiver - and this broadcast is not sent anymore with the other module enabled. Btw, this could have impact on some other core processes of Android also watching it...

https://github.com/LucasR93/android.../com/lr/keyguarddisabler/Lockscreen.java#L174

If you use "none" the lockscreen-disabler does not even start the lockscreen, with "slide" it should work.

Then you other apps relying on it also work
[Xposed Framework Modules] Nicois:
OK, it looks like ProtectedApps is not playing nicely with the Android feature to only lock the phone a set period after the screen is turned off (available under security in settings).

When my phone locks immediately, everything works as expected. However, if I change it to delay 30 minutes before locking, then turn off my screen for a few seconds and turn it back on, ProtectedApps does not detect this and acts as though the system was still locked.

The workaround is to tell ProtectedApps to disable apps when it thinks the phone is locked. This will be secure (AFAICT) but it means that you will not be prompted to unlock a protected app: you will have to select the ProtectedApps notification item manually to trigger the unlock process.

(This was on a rooted nexus 5 running 4.4.4)
[Xposed Framework Modules] defim:
[MENTION=2250898]Nicois[/MENTION]: Which other modules are installed, especially interacting with keyguard/lockscreen (please read ~5 last posts)?
[Xposed Framework Modules] Nicois:
None others. To be sure I removed all other modules from xposed, rebooted with only ProtectedApps, and I still was able to replicate the issue.

Does anyone else have a recent android OS version? It would be handy to know if others can easily reproduce my problem, or whether it is indeed something funny with my setup.
[Xposed Framework Modules] defim:
[MENTION=2250898]Nicois[/MENTION]:

Please attach logfile from ProtectedApps
[Xposed Framework Modules] drsood:
I use lockscreen disabler because I dont require slide/pattern lockscreens on my tab. I have a verrrrrrry little knowledge about android prgramming and how android works, but can protected apps be coded in such a way, if possible, so that it listens for screen on event/broadcast instead of lockscreen broadcast? That way, protectedapps could again popup its customlock after screen on event.

Again, I want to emphasize that its just a humble suggestion and request and I am not even sure, if such a thing is possible. Thanks
[Xposed Framework Modules] defim:
I think it is possible to find a way to detect this. So I eg could watch the power button etc. But it is not reasonable that every app relies on these events add a workaroung because of Lockscreendisabler - every Android device has a keyguard.

So it the task of Lockscreendisabler to send the broadcasts as it would be without the module
[Xposed Framework Modules] drsood:
I have reported this issue under Lockscreen Disabler thread. Lets see, what the dev says.

Thanks for your help
[Xposed Framework Modules] LucasR93:
Hi [MENTION=4501300]defim[/MENTION],

[MENTION=3098925]drsood[/MENTION] just told me in another thread, that you guys here are talking about my module.

I opened an issue in the github repo here: https://github.com/LucasR93/android-lockscreen-disabler/issues/22

[MENTION=4501300]defim[/MENTION], you also said "So it the task of Lockscreendisabler to send the broadcasts as it would be without the module"

Can you tell me on what broadcasts you are relying on? If you do so we can maybe bring back this functionality. Lockscreen disabler has never been reported to be the problem for any other core android processes as far as I know.
[Xposed Framework Modules] defim:
[MENTION=2593381]LucasR93[/MENTION]: I wrote it yet some hours ago in Lockscreen disabler thread :D
[Xposed Framework Modules] LucasR93:
Ooops, didn't see it :)
[Xposed Framework Modules] karl999999:
no ram saver.

its definitly a bug in your app. i tested it on 4 different devices now.

here is the detailed way to test it:

*) install surespot (or threema) , the bug affects any app

*) i dont have my devices locked with a lock screen!!

*) in protectedApps set lock method to: custom unlock screen!!

*) in protectedApps set unlock method to: pin (and set a pin)

*) in protectedApps set "during start" to "deny ..."

*) in protectedApps set "while device is locked" to "deny ..."

*) in protectedApps deactivate toasts

*) now start surespot or threema to be logged in

*) now start you browser to any webpage you like

*) select in browser "share" and select "surespot" or "threema" from the list of apps to share the link to

*) now the pin dialog of protectedApps should pop up

*) enter pin

*) now surespot (or threema) shows, but you can not "select user" !! the app is just on the wrong screen

it was opened with the wrong intent data!

**bug**

*) now return to browser

*) select "share" again and select "surespot" or "threema" from the list of apps to share the link to

*) now surespot (or threema) shows

*) now you are in the "select user" screen of the messenger app (this is how it should have been before)

i hope you can now see that bug on your device also?

cheers.
[Xposed Framework Modules] t3chwizard:
If xposed is disabled on boot using the power button, will this app still function or no?
[Xposed Framework Modules] SignetSphere:
deleted sorry.
[Xposed Framework Modules] defim:
[MENTION=3100592]karl999999[/MENTION]:

I'm also using Threema and its portected by PA. Picture sharing is no problem for me, i use it often. After the custom unlock screen i get the list of contact and after touching on it asks if i want to send.

Maybe Threema is not optimal deveoped and maybe the module "activity force new task" helps.

This is the "Xposed Framework Modules" sub-forum ^^
[Xposed Framework Modules] klau1:
Not working well with the Touch Wiz Keyguard. Note 3 Stock ROM Android JB 4.3

The "protected" app launches anyways after the pattern keyguard disappears without having entered the correct password

EDIT: Using "Do not change" option is what causes this problem

---------- Post added at 04:30 PM ---------- Previous post was at 04:01 PM ----------

More problems.

Even with "Do not change" option selected, when trying to launch the protected app, sometimes the app just opens and disappears without the Keyguard showing up.

EDIT: This issue seems to happen after automatic screen off.

The only way to fix it is to manually turn off the screen and back on, which causes the keyguard to show up.

---------- Post added at 04:56 PM ---------- Previous post was at 04:30 PM ----------

Feature Request:

Observe the switch between protected apps and relock.

IE:

Open Play Store > Keyguard Prompt > Unlock for X time > Play Store > User switches to Facebook > Keyguard Prompt

That way, if you lend someone your phone to use one of the protected apps, you won't have to worry about them switching to another one behind your back.
[Moto G Q&A, Help & Troubleshooting] arihant.jain:
Does anybody else is experiencing issues with the default camera app after update?

Like unable to capture photos sometimes or focus issues.?
[Moto G Q&A, Help & Troubleshooting] xenas:
Working here perfectly with 4.4.4

Seems better than 4.4.2
[Moto G Q&A, Help & Troubleshooting] jbanti:
If u having problems with stock then try this its better than stock with good picture quality http://xdaforums.com/showthread.php?t=2822005

Sent from my XT1033
[Galaxy Note II Q&A, Help & Troubleshooting] Sulman Aziz:
Hi friends , I have a Galaxy Note 2 with android version 4.4.2, I bought it from Saudi Arabia and i m in Pakistan now, Since yesterday i am facing this Not registered on Network problem. and i have already tried almost all the methods. Kindly help me in this regard.
[Galaxy Note II Q&A, Help & Troubleshooting] DonVito2020:
Hi

First a few questions...

Is your phone rooted?

If so did u flash any modems or bootloaders?

Was ur phone working fine in Saudi Arabia?

Try a few other sims from different network

Is it showing sim not detected?

If sim is detected, go to ur settings - about phone - device status and at the bottom ur imei no. If its null, u need to flash an apprpriate modem for your phone.

:)
[Galaxy Note II Q&A, Help & Troubleshooting] Sulman Aziz:
first of all Thank you for quick response.

yes i rooted my phone.

i have flashed a number of modems including

nd3_N7100_Patched_Modem_CWM

N7100_ND3_DrKetan_Custom_ROM_V8.1

CriskeloRom-NoteII-V22-MK4-4.3-MD5-92A0A664EC1BC1867AF69D577B63C1A1

GT-N7100_XXEMI6_Modem ..... etc and there are other also. but i don't know what is a bootloader...

My phone was working fine in Saudi Arabia. In fact i have been using this for last 8 months in Pakistan.

i have also tried other sims from different networks

And IMEI number is not null but is not correct as labeled on phone and packing... Hope to hear from you soon...

Regards..

Sulman:rolleyes:
[Galaxy Note II Q&A, Help & Troubleshooting] kahtan:
Oh my God, I have same problem and i still looking for fix it. :confused:
[Galaxy Note II Q&A, Help & Troubleshooting] karan2012:
I had the same issue n didn't even had an efs backup my last solution to the problem was visiting samsung service centre n they said my motherboard needs to b replaced cz of imei getting corrupted
[Galaxy Note II Q&A, Help & Troubleshooting] kahtan:
I solved the problem!!

I had solved today by flashed nd3_N7100_Patched_Modem_CWM with Recovery Mode.. :victory: