Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root support #1

Open
leleobhz opened this issue Apr 23, 2017 · 5 comments
Open

Root support #1

leleobhz opened this issue Apr 23, 2017 · 5 comments

Comments

@leleobhz
Copy link

Hello dev,

Im using you app in a i9300 with LINEAGEOS 14.1 and I can't open /data/misc/bluetooth/logs/btsnoop_hci.log because lack of permission. This phone does have root but you dont support it. Its possible to add a option to use root to open the hci log?

Thanks!

@bertrandmartel
Copy link
Owner

Do you have any recommendation to enable root access ? It seems that :

<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />

is deprecated since 5.0

Are you using a version >= 5.0 ? If not you could build the app with this additional permission.

@leleobhz
Copy link
Author

Hello @bertrandmartel

Im using LineageOS 14.1 - Codebase 7.1.2.

In fact, this android does save HCI log from Developer Options, but this tshark cannot open the btsnoop file because some packet is hugelly big, so something is corrupted. And Im trying to use you software, but you software cannot access the default folder and even the storage API, so I can set a file to be saved.

About building, how can I do this? I'm using linux, but if possible to do not install entire eclipse and development tools, i prefer.

Thanks!

@bertrandmartel
Copy link
Owner

Are you sure it is a permission issue, when you click to browse the file you cant access /sdcard/data ? Or you dont see it ? Or you can access it but showing "processing HCI..." indefinitely ?

@leleobhz
Copy link
Author

Hello, just dont see anything..

@kidonsky
Copy link

Hi, with an OnePlus One and a custom rom on Nougat I had the same problem than leleobhz. I don't see anything when I try to browse the log file.

So, to obtain something I have to scan and after that, copy the log file into the sdcard which is accessible from anyone with a rooted File Manager.

(not all rooted File Manager works, and I didn't found one which is free-software to take the code to access to the log file)

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

No branches or pull requests

3 participants