Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Inet popup not showing / freezing #1755

Closed
vibes340 opened this issue Jun 25, 2014 · 17 comments
Closed

Inet popup not showing / freezing #1755

vibes340 opened this issue Jun 25, 2014 · 17 comments

Comments

@vibes340
Copy link

I have a few apps where on demand popup for inet don't show (so app crashes). If I unrestrict inet the apps works. Xprivacy 2.1.8

06-25 09:44:27.687 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:44:27.687 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:45:44.229 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:46:40.793 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=android.intent.action.TIME_SET flg=0x24000010 }: process is bad
06-25 09:47:51.798 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:48:27.376 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:48:58.500 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:49:26.940 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:54:48.623 W/BroadcastQueue(830): Unable to launch app org.kman.AquaMail/10060 for broadcast Intent { act=com.anddoes.launcher.UPDATE_COUNTER flg=0x10 }: process is bad
06-25 09:54:56.742 I/XPrivacy(830): get service 10060/media(null) storage=!restricted? 6 ms
06-25 09:54:56.742 I/XPrivacy/XProcess(830): get client 10060/media(null) storage=restricted 7 ms
06-25 09:54:56.742 I/XPrivacy/XProcess(830): Revoking media uid=10060
06-25 09:54:56.762 W/XPrivacy(830): On demand 10060/sdcard(null) storage=!restricted?
06-25 09:54:56.762 W/XPrivacy(830): On demanding 10060/sdcard(null) storage=!restricted?
06-25 09:55:00.716 W/XPrivacy(830): Deny once 10060/sdcard(null) storage=!restricted?
06-25 09:55:00.716 I/XPrivacy(830): get service 10060/sdcard(null) storage=!restricted? 3977 ms
06-25 09:55:00.716 I/XPrivacy/XProcess(830): get client 10060/sdcard(null) storage=restricted 3977 ms
06-25 09:55:00.716 I/XPrivacy/XProcess(830): Revoking sdcard uid=10060
06-25 09:55:00.716 I/XPrivacy/XProcess(830): get client 10060/sdcard(null) storage=restricted (cached) 1 ms
06-25 09:55:00.716 I/XPrivacy/XProcess(830): Revoking sdcard uid=10060
06-25 09:55:00.726 W/XPrivacy(830): On demand 10060/inet(null) internet=!restricted?
06-25 09:55:00.726 W/XPrivacy(830): On demanding 10060/inet(null) internet=!restricted?
06-25 09:55:20.727 W/XPrivacy(830): On demand dialog timeout 10060/inet(null) internet=!restricted?
06-25 09:55:20.727 I/XPrivacy(830): get service 10060/inet(null) internet=!restricted? 20006 ms
06-25 09:55:20.727 I/XPrivacy/XProcess(830): get client 10060/inet(null) internet=restricted 20007 ms
06-25 09:55:20.727 I/XPrivacy/XProcess(830): Revoking inet uid=10060
06-25 09:55:20.767 I/ActivityManager(830): Start proc org.kman.AquaMail for activity org.kman.AquaMail/.ui.AccountListActivity: pid=5825 uid=10060 gids={50060, 3003, 1028, 1015, 1023}
06-25 09:55:21.168 I/XPrivacy(5825): getSystemService dropbox=android.os.DropBoxManager uid=10060
06-25 09:55:21.248 I/XPrivacy(5825): Load package=org.kman.AquaMail uid=10060
06-25 09:55:21.248 I/XPrivacy(830): get service 10060/SERIAL(null) identification=!restricted? 3 ms
06-25 09:55:21.248 I/XPrivacy(5825): get client 10060/SERIAL(null) identification=restricted 4 ms
06-25 09:55:21.258 I/XPrivacy(5825): get setting uid=10060 /Serial=C116B38A29EC02F7 7 ms
06-25 09:55:21.268 I/XPrivacy(830): get service 10060/Configuration.MCC(null) phone=!restricted? 4 ms
06-25 09:55:21.268 I/XPrivacy/XResources(5825): get client 10060/Configuration.MCC(null) phone=restricted 7 ms
06-25 09:55:21.278 I/XPrivacy(5825): get setting uid=10060 /MCC=001 7 ms
06-25 09:55:21.278 I/XPrivacy(830): get service 10060/Configuration.MNC(null) phone=!restricted? 5 ms
06-25 09:55:21.278 I/XPrivacy/XResources(5825): get client 10060/Configuration.MNC(null) phone=restricted 5 ms
06-25 09:55:21.288 I/XPrivacy(5825): get setting uid=10060 /MNC=01 7 ms
06-25 09:55:21.288 I/XPrivacy/XResources(5825): get client 10060/Configuration.MCC(null) phone=restricted (cached) 0 ms
06-25 09:55:21.288 I/XPrivacy/XResources(5825): get client 10060/Configuration.MNC(null) phone=restricted (cached) 0 ms
06-25 09:55:21.288 I/XPrivacy/XResources(5825): get client 10060/Configuration.MCC(null) phone=restricted (cached) 0 ms
06-25 09:55:21.288 I/XPrivacy/XResources(5825): get client 10060/Configuration.MNC(null) phone=restricted (cached) 0 ms
06-25 09:55:21.388 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.388 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.388 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.388 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.418 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.418 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.438 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.438 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.488 I/XPrivacy(5825): getSystemService PackageManager=android.app.ApplicationPackageManager uid=10060
06-25 09:55:21.498 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.498 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.498 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.498 I/XPrivacy(5825): getSystemService appops=android.app.AppOpsManager uid=10060
06-25 09:55:21.498 I/XPrivacy/XApplication(5825): Installing receiver uid=10060
06-25 09:55:21.508 I/XPrivacy(5825): getSystemService PackageManager=android.app.ApplicationPackageManager uid=10060
06-25 09:55:21.508 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.508 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.508 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.518 I/XPrivacy(5825): getSystemService display=android.hardware.display.DisplayManager uid=10060
06-25 09:55:21.518 I/XPrivacy(5825): getSystemService display=android.hardware.display.DisplayManager uid=10060
06-25 09:55:21.518 I/XPrivacy(5825): getSystemService display=android.hardware.display.DisplayManager uid=10060
06-25 09:55:21.518 I/XPrivacy(5825): getSystemService window=android.view.WindowManagerImpl uid=10060
06-25 09:55:21.568 I/XPrivacy(5825): getSystemService window=android.view.WindowManagerImpl uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.578 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.608 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.608 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.608 I/XPrivacy(5825): getSystemService PackageManager=android.app.ApplicationPackageManager uid=10060
06-25 09:55:21.608 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.608 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.618 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.618 I/XPrivacy(5825): getSystemService layout_inflater=com.android.internal.policy.impl.PhoneLayoutInflater uid=10060
06-25 09:55:21.628 I/XPrivacy(5825): getSystemService PackageManager=android.app.ApplicationPackageManager uid=10060
06-25 09:55:21.638 I/XPrivacy(5825): getSystemService PackageManager=android.app.ApplicationPackageManager uid=10060
06-25 09:55:21.648 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.648 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.648 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.648 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.658 I/XPrivacy(5825): getSystemService wifi=android.net.wifi.WifiManager uid=10060
06-25 09:55:21.658 I/XPrivacy(5825): getSystemService wifi=android.net.wifi.WifiManager uid=10060
06-25 09:55:21.658 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.658 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.668 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:21.678 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.678 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.678 I/XPrivacy(5825): getSystemService power=android.os.PowerManager uid=10060
06-25 09:55:21.749 I/XPrivacy(830): get service 10060/Reflection(android.net.NetworkInfo.CREATOR) ipc=!restricted? 6 ms
06-25 09:55:21.749 I/XPrivacy/XField(5825): get client 10060/Reflection(android.net.NetworkInfo.CREATOR) ipc=restricted 7 ms
06-25 09:55:21.769 I/XPrivacy(830): get service 10060/open(/storage/emulated/0/log-AquaMail-crash.txt) storage=!restricted? 5 ms
06-25 09:55:21.769 I/XPrivacy/XIoBridge(5825): get client 10060/open(/storage/emulated/0/log-AquaMail-crash.txt) storage=restricted 6 ms
06-25 09:55:21.769 I/XPrivacy(830): getSystemService dropbox=android.os.DropBoxManager uid=10060
06-25 09:55:22.169 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:22.169 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:22.179 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:22.179 I/XPrivacy(5825): getSystemService connectivity=android.net.ConnectivityManager uid=10060
06-25 09:55:22.379 I/XPrivacy(830): get service 10060/getActiveNetworkInfo(null) internet=!restricted? 196 ms
06-25 09:55:22.379 I/XPrivacy/XConnectivityManager(5825): get client 10060/getActiveNetworkInfo(null) internet=!restricted 198 ms
06-25 09:55:22.389 I/XPrivacy(830): get service 10060/isConnected(null) internet=!restricted? 5 ms
06-25 09:55:22.389 I/XPrivacy/XNetworkInfo(5825): get client 10060/isConnected(null) internet=!restricted 12 ms
06-25 09:55:22.399 I/XPrivacy/XConnectivityManager(5825): get client 10060/getActiveNetworkInfo(null) internet=!restricted (cached) 0 ms
06-25 09:55:22.399 I/XPrivacy/XNetworkInfo(5825): get client 10060/isConnected(null) internet=!restricted (cached) 0 ms
06-25 09:55:22.409 I/XPrivacy(5825): getSystemService alarm=android.app.AlarmManager uid=10060
06-25 09:55:22.409 I/XPrivacy(5825): getSystemService alarm=android.app.AlarmManager uid=10060
06-25 09:55:22.419 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:22.419 I/XPrivacy(5825): getSystemService notification=android.app.NotificationManager uid=10060
06-25 09:55:22.419 I/XPrivacy(5825): getSystemService alarm=android.app.AlarmManager uid=10060
06-25 09:55:22.419 I/XPrivacy(5825): getSystemService alarm=android.app.AlarmManager uid=10060
06-25 09:55:29.016 W/ActivityManager(830): Unable to launch app org.kman.AquaMail/10060 for service Intent { cmp=org.kman.AquaMail/.widget.WidgetUpdater$WidgetUpdateService }: process is bad
@an0n981
Copy link
Contributor

an0n981 commented Jun 25, 2014

Please try once to kill the app via settings - apps. The launch it again. The apps are most likely auto starting at boot and therefore the onDemand popup is denied before your phone reaches the lock screen

@M66B M66B added the question label Jun 25, 2014
@vibes340
Copy link
Author

This might be my issue :
Attempted to fix on demand dialog freezing by rewriting on demand dialog

Only apps where the inet and sd card freeze have this issue where inet popup don't show. I have a blank overlay for the count down period. If [×] [?] app crash (force close), if [ ] [ ] app works, if [ ] [?] I get a blank overlay, after the 15 or 20 second the app works.

@M66B M66B added bug and removed question labels Jun 25, 2014
@M66B M66B changed the title Inet popup Inet popup not showing / freezing Jun 25, 2014
@vibes340
Copy link
Author

No disrespect, can you put back old behavior. Current behavior is worse than before. Only have two choices.

1.leave inet restricted (can't use app)
2.leave inet unrestricted (defeat the purpose of xprivacy)

Old behavior give all chooses with freeze not new behavior.

M66B added a commit that referenced this issue Jun 26, 2014
@M66B
Copy link
Owner

M66B commented Jun 26, 2014

@vibes340 there is no old behavior, only the style of the on demand dialog was changed in an attempt to solve the dialog from freezing (which unfortunately failed).

@vibes340
Copy link
Author

v2.1.11 worked two three times, then back to blank overlay.
Inet pops up but the blank overlay is for the sd card this time.

@vibes340
Copy link
Author

Are you going to remove the the style of the on demand dialog?

You said you couldn't fix it and your attempt to fix it unfortunately fail.

What is so hard (difficult) in changing it back?

@M66B
Copy link
Owner

M66B commented Jun 28, 2014

I am not going to change it back, why do you want that? What is the advantage of the previous version? Did you try the latest XPrivacy version?

@vibes340
Copy link
Author

The latest is not showing up .13.

I told you I get a blank overlay, I I can't see anything (no on demand dialog) to select any options.

I'll make video later, then you'll see what I'm talking about.

@vibes340
Copy link
Author

@M66B
Copy link
Owner

M66B commented Jun 28, 2014

Can you please try if this version fixes the problem?
https://crowd.xprivacy.eu/XPrivacy_2.1.13-3.apk

@vibes340
Copy link
Author

Not fix

@M66B
Copy link
Owner

M66B commented Jun 28, 2014

Do you see any on demand restricting dialog with a red background?

@M66B
Copy link
Owner

M66B commented Jun 28, 2014

I like to stress that there is no old behavior, this was broken on versions before too, see also the limitations section: https://github.com/M66B/XPrivacy#limitations

@vibes340
Copy link
Author

No red background. Yes I know about the limitation. But it was useable then not now. In the past the on demand dialog stayed up and I could still press allow or deny, now I can't. After first option I don't get another option, only blank overlay.

So now I can't download or save anything to my phone unless I go back into XPrivacy and check on demand for sd card and launch the app from inside XPrivacy (to much work).

@M66B
Copy link
Owner

M66B commented Jun 28, 2014

I really don't know how to fix this and to be honest I don't believe it does work in previous versions. It is just the freeze problem I have spent really many hours trying to fix. The current implementation is better than the previous implementation, because all window attributes can be manipulated. It was quite some work to convert and unless there are very good reasons I am not going to change it back.

Maybe you can find a fix. The relevant code starts here:
https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/PrivacyService.java#L1455

The window layout parameters are documented here:
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html

M66B added a commit that referenced this issue Jun 29, 2014
@M66B
Copy link
Owner

M66B commented Jun 29, 2014

@vibes340 can you please try if this version improves things?
https://crowd.xprivacy.eu/XPrivacy_2.1.16-3.apk

@vibes340
Copy link
Author

I changed my rom, easier to do then learn to code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants