Skip to content

1.3.2

Choose a tag to compare

@Bouteillepleine Bouteillepleine released this 22 Aug 19:48
· 1 commit to master since this release

Fixes a crash on launch (#2). LSPosed loads a module into its own process whether or not you scope it, so DuckUSB was inline-hooking libc inside its own UI for no reason. On some ROMs that hook took SIGILL on the first property read and killed the app seconds after launch. It now refuses to hook its own process.

The readings card tells the truth. It exists to show the real device state, but it was reading DuckUSB's own lie — adb_enabled 0 on a device where it was 1. Framework mode now spares our own UI too.

Property spoofing covers every read route. Previously only the by-name route was rewritten; a native caller resolving a handle read sys.usb.state as empty rather than mtp. Both handle routes are now covered, so a property can't read spoofed one way and truthful another.

Source, issues and builds: https://github.com/Bouteillepleine/DuckUSB