2024-01-25 00:08:54 +01:00
2024-01-15 15:06:07 +01:00
2024-01-24 22:54:32 +01:00
2024-01-18 17:17:22 +01:00
2024-01-20 18:44:05 +01:00
2024-01-15 15:01:16 +01:00
2024-01-18 12:34:39 +01:00
2024-01-25 00:08:54 +01:00
2024-01-18 00:27:55 +01:00
2024-01-15 15:01:16 +01:00

Reversing a camera

Per pictures the main chip is TXW817 (chinese, eng, google translate)

The interesting implementation is in libvdp.so, part of the apk bundle. This repo uses Frida for live analysis of the .so file.

Take APK from emulator/sacrificial device

adb shell pm list packages | grep ysx
adb shell pm path com.ysxlite.cam
adb shell pm path com.ysxlite.cam | while read -r line ; do adb pull $(echo $line | cut -d: -f2-) ;  done

Push to sacrificial device

adb install-multiple *apk

Frida install Android

docs

S
Description
Implementation of iLnk/iLnkP2P/PPPP protocol for X5/A9 cameras
Readme
3.9 MiB
Languages
JavaScript 38.9%
TypeScript 36.8%
Lua 15%
Python 3.7%
HTML 3.2%
Other 2.4%