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

package not debuggable error #5

Open
Talk2Giuseppe opened this issue Dec 31, 2020 · 8 comments
Open

package not debuggable error #5

Talk2Giuseppe opened this issue Dec 31, 2020 · 8 comments

Comments

@Talk2Giuseppe
Copy link

I get the "run-as: package not debuggable: com-roborock.smart" error when attempting to issue the following command:

adb exec-out run-as com.roborock.smart find /data/data/com.roborock.smart/files/rr_cache/ | egrep rr_tuya_[0-9] | xargs -n1 adb exec-out run-as com.roborock.smart cat > roborock_details.gz
gzip -d roborock_details.gz

Actually, since the command error'd out I parsed the commands to figure out which one was causing the issue. It was the first command: "adb exec-out run-as com.roborock.smart find /data/data/com.roborock.smart/files/rr_cache/" that produced the error.

Anyone have any experience with overcoming this obstacle?

Thanks!

@89jd
Copy link
Owner

89jd commented Jan 1, 2021 via email

@Talk2Giuseppe
Copy link
Author

Yes, the device is rooted. It's Note 8 running HadesROM. I am able to access the folder from where the files are on the device itself. But when running the adb commands from a terminal window withing linux, I get those errors. I can also confirm that when I connect the phone to the linux machine, it does prompt/confirm that I want to be in debug mode.

Any ideas?

@Talk2Giuseppe
Copy link
Author

What version of the roborock software do you have installed? I am beginning to think that perhaps this current version is signed differently than perhaps an earlier version of the apk which is what is producing the error.

@sShrek1
Copy link

sShrek1 commented Jan 20, 2021

Just got the same issue. App Version 2.3.30, Jan 14.
After running first command I get an roborock_details.gz. roborock_details.gz is an ASCII text type.

@bbr111
Copy link

bbr111 commented Mar 28, 2021

Same here. Testet different Versions on different Emus ( Nox, Bluestacks) with root or without.
Tried with original apk and apk from https://github.com/redphx/roborock-tuya-token

roborock-tuya-token apk is currently not running if account is Region EU.

@grinco
Copy link

grinco commented Apr 12, 2021

Looks like you need debugging enabled in the app for this to work. Tried backing up settings using ADB - won't work either. I'm trying it on a non-rooted device, with no luck. on a rooted one, I'd just dump the cache directory. Does anyone know where to get a debug package? I'm also thinking of installing the app in a bluestacks or any other emulator and try getting the root there.

@RubenKelevra
Copy link

Hey guys,

as long as your phone is rooted, that's pretty easy to solve.

  • Install an android terminal
  • open it
  • type su
  • you'll be asked to give it superuser rights
  • type zcat /data/data/com.roborock.smart/files/rr_cache/rr*

This should post all info on your screen you need, you just have to search for the localKey.

@sShrek1
Copy link

sShrek1 commented Jul 8, 2021

Hey guys,

as long as your phone is rooted, that's pretty easy to solve.

  • Install an android terminal
  • open it
  • type su
  • you'll be asked to give it superuser rights
  • type zcat /data/data/com.roborock.smart/files/rr_cache/rr*

This should post all info on your screen you need, you just have to search for the localKey.

Which device and android version did you test this on?
I can't get zcat to work, running android 6.0

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

6 participants