hass-roborock icon indicating copy to clipboard operation
hass-roborock copied to clipboard

Token extraction

Open Horndrup opened this issue 4 years ago • 4 comments

Anyone managed to extract the token?

Horndrup avatar Aug 31 '21 08:08 Horndrup

I just get the following lines:

error

I used the following guide: https://github.com/redphx/roborock-tuya-token

Bluestacks 5.5.10.1001 with OnePlus5 roborock_2.3.32_token.apk Roborock S6 MaxV (Firmware: 02.62.28)

Has anybody found a new solution for getting the token?

u20p17 avatar Jan 07 '22 09:01 u20p17

If you can use a rooted Android env with the latest official app, you should...

  1. add the vacuum to the app and close that
  2. go into the /data/data/com.roborock.smart/files/rr_cache/ directory with elevated rights
  3. use zgrep 'localKey' * to getting the necessary info (almost all of these files are zip compressed)

(that was worked w/ my S7 MaxV on my rooted, Android 10)

andras-tim avatar May 18 '22 16:05 andras-tim

How do you get to the directory with elevated rights?

Do I need a rooted phone?

Horndrup avatar May 19 '22 16:05 Horndrup

How do you get to the directory with elevated rights?

Do I need a rooted phone?

Yes. (as I know, this is required to access the app's internal files.)

andras-tim avatar May 20 '22 03:05 andras-tim