1

I've a huawei envizion 360, which doesn't provide any API for other application. But I want to read raw data from this device, to an android or to a raspberry-pi for debugging and development purpose. I need an android application to record video or take picture from this external device.

But when I tried to debug this application using Android Studio, I got :

Missing debug symbols
                    To debug the APK, native libraries (*.so files) must have debug symbols.
                    The following libraries are missing debug symbols:
                    * libViewController.so
                    * libijkffmpeg.so
                    * libijkplayer.so
                    * libijksdl.so
                    * librtmpClient.so

I was told that I can't get those debug symbol, due to r8 processing.

So my question is how can read raw frames/data from this device. Any idea ?

I just have to read data so that I can embed data directly in my application. So my main goal is to decode how those data are being read.

1
  • Android r8 is only relevant for Java/Dex code. You have here native code in form of .so files. Typically those files are always stripped of debugging symbols. As native code is something completely different than dex code r8 has nothing to do with those libraries.
    – Robert
    Apr 14 at 9:07
1

You have two possible approaches in here:

  • Analyze the APK of the device, reverse engineer it and try to make sense of how it communicates with the USB device.
  • Connect the USB device to a computer, sniff the USB packets, and try to make sense of how it communicates with the host.

I believe the former would be straightforward and simpler than the latter, not necessarily always though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.