farhaven / dpt-rp1-py

Python script to manage Sony DPT-RP1 without Digital Paper App
1 stars 1 forks source link

Endpoint extraction #3

Open yuliswe opened 5 years ago

yuliswe commented 5 years ago

Hi farhaven, I’m trying to write an improved version of the Digital Paper App. I have a DPT-RP1 device and recently there’s a firmware update from Sony. I wonder if there might some new endpoints that’s added to the new firmware. How did you find these endpoints? I want to try it out myself.

farhaven commented 5 years ago

There are two sources I used.

One was the Digital Paper app which is based on Electron. It can be decompiled qute easily.

The other was a dump of the apps on the DPT-RP1, which seems to be running either Android 5 or Android 6, based on the ID strings of the web view components. Sadly, I didn't create the dump myself, it was uploaded on the XDA Developers Forum by someone who had a rooted DPT-RP1. The apps are regular Android apps and can be decompiled with jadx.

If you do find another way to discover the endpoints, I'd be more than happy to hear about it!