-
Notifications
You must be signed in to change notification settings - Fork 527
GoPro - Connecting To (my cam) - "No Cameras Connected" - 15 Seconds later "Connect & Control" #1751
Comments
I cannot test with GoPro, so please provide a logcat. |
Sorry, forgot the link to my logcat. I startet logcat, and than ma GoPro App and waitet till it shows "No Cameras Connected" Than i quit logcat. EDIT: I did it wrong. |
I don't understand this:
How can i enter something in command line when smartphone is off? |
The command line of your PC is meant. |
Now i watched this: https://www.youtube.com/watch?v=wv1x24CZrvY and here is the log: https://www.dropbox.com/s/e5fzerbmrzu19ue/logcat.txt |
I have checked the provide logcat. |
If you want you can try to disable restrictions at boot with this test version: You will need to create this file on your device:
Each line should contain a category name or a category name and a function name. You can do this like this from your PC:
You can find all categories and function names in this file: |
Hello Marcel, |
disabled needs to be a file. |
Hello again Marcel, this link didn't work https://crowd.xprivacy.eu/XPrivacy_2.1.12-5.apk :< Can you please send me an working link? And i dont know what category i should restrict. Is there in future versions of XPrivacy a option to exclude apps with one klick? Tank you :) |
This version has been superseded by the latest test version. I don't know which category to try either. There won't be a simple on/of switch for this, because it is only for testing purposes. |
Ok, i created a file named "disabled" in the Folder /data/system/xprivacy/ i put this lines in it: adb shell su cd /data/system/xprivacy echo "ipc" >disabled echo "system.getInstalledProviders" >>disabled But when i use a app it asks me anyway for access to IPC Now I would have to disable every single law for the GoPro App? |
You just need to put the category name into the file, not the command. |
Doesnt work.. :( i put "nfc" in disabled, reboot and the app asks anyway for "nfc" This is the path: http://i.imgur.com/1BSEDr5.jpg And this the file: |
Make absolutely sure the file is in the folder /data/system/xprivacy and that there is exactly one category name on each line, without any leading and/or trailing spaces. The category names are case sensitive and can be taken from here: https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/PrivacyManager.java#L37 You need a recent version of XPrivacy to be able to use this new feature. |
Is this not the right way in my screenshots? Im using the version 2.1.20 |
Try this in the terminal app:
and post the output here |
Any Android terminal app from the Pay store will do. |
Ok i have it: 1|u0_a227@m0:/ $ su |
Hello Marcel, are you here? :< |
Sorry, I missed your message. I don't see the file disabled in the directory listing, so I guess you have put this file into the wrong folder. |
Hello Marcel, this is the file and the path: |
/data/system/xprivacy/disabled is not the same as /storage/sdcard0/data/system/xprivacy/disabled ... |
Yeah! Now i have it: |
Ok now i have copied this in the "diasbled" file:
My GoPro app was working now. Now the only class in my "disabled" file list is "internet" and my GoPro App is working fine. Unfortunately, the internet is the most important restriction. |
Good, now we know the category of functions causing the problem. internet.getAllByName See here for a list of all internet methods: |
Ok we have it, it is internet.connect is this the function to block internet connection for apps? |
Are you sure you didn't restrict internet.connect for the application? The code to restrict this function is quite transparent and I see nothing obviously wrong and if there was something wrong, there would be a lot of trouble: |
You can also check the logcat while this problem occurs. |
I'm pretty sure I have everything allowed. I try it with LogCat |
Thanks for your patience so far. You can try this test version, where resolving the host name has been disabled: Please note that this is my development version, which needs more testing, since the location restrictions were completely rewritten. |
Works perfect! Installed the new version, deleted the "disabled" file and restartet my S3 it seems the problem is solved. Many Thanks for your great help! |
We are not there yet, because I have disabled a feature, which would be missed by a lot of people. |
If 2.1.22-8 does not work for you (but please test it to exactly diagnose the problem), you can install this test version: To have it work for you from this version, you'll need to insert a setting into the privacy database:
See here for more information about how to access the privacy database: |
This https://crowd.xprivacy.eu/XPrivacy_2.1.22-8.apk didn't work. Now i installed this https://crowd.xprivacy.eu/XPrivacy_2.1.22-9.apk i read this... https://github.com/M66B/XPrivacy/blob/master/DATABASE.md insert into setting (uid, type, name, value) values (0, '', 'NameResolve', 'false'); |
Can you please try the just released test version 2.1.14 and let me know if it works with/without noresolve quirk? See also the release announcement: |
Hello marcel, i have tried this version, but it's the same. must have the "disabled" file with ""internet.connect" and it is working. |
Can you please try with the quirk "noresolve" (main settings) and let me know if this fixes the problem? |
Hello marcel, i tried this https://github.com/M66B/XPrivacy/releases/tag/2.1.24 With "noresolve" in expert settings activated |
Can you please try with 2.1.26 too, since that will probably the next stable release. |
Hello Marcel, i triend the 2.1.26 with and without the qurik. It is just working fine with the quirk. I tried the 2.2 and it is also just working with the quirk... :( Am 15.07.2014 17:29, schrieb Marcel Bokhorst:
|
Hello, I have a goPro Hero 3 silver, I'm using Xprivacy 2.2.1 (373) |
The quirk noresolve is reported to fix the problem, so make sure you entered this quirk correctly (if you visit the settings again it should 'stick'). Wait at least 30 seconds before trying again or better reboot. |
(Just a note for Sony QX1/10/30/100 wireless camera users) Similar issue occurs for my Nexus 5 with Xposed+Xprivacy and a Sony QX10. Phone takes a long time to connect to wireless camera. Eventually, livefeed shows up, but any commands(tap to focus, changing camera modes, taking pictures) will be unresponsive or take a long time Adding "noresolve" to XPrivacy settings will fix the issue |
@ngvincent which XPrivacy version are you using? With the most recent versions of XPrivacy this should work out-of-the-box. |
Hey,
i have a poroblem with the GoPro App connecting to my GoPro3 black.
When i try to connecting with deactivated XPrivacy in the modules I can easily connect.
But when it's activated there it shows in the App:
"Connecting To GoPro"
a few seconds later
"No Cameras Connected" (But I am connected via Wi-Fi with the Cam)
and then I have to wait about 15 seconds until it shows
"Connect & Control"
Now i can connect to the GoPro, but the preview appears with a few seconds delay.
Everything happens with delay.
My Gist:
https://gist.github.com/SchnellerReifen/9c40dc4192244c9f56a7
The text was updated successfully, but these errors were encountered: