View Single Post
Old 07-30-2019, 04:56 PM   #21
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by Renate View Post
Well, it is possible to run ADB on non-Android things.
It's just Linux USB Gadget.
You'd need to make a g_adb.ko and add adbd

The only non-Android eReader that I have is a Kobo Aura.
The root filesystem is just ext4 on /dev/mmcblk0p1

Androids use kernel/ramdisk.
It's easy to modify them in a single step using a single utility.
No, it is not. Adb driver is a composite usb gadget not available on vanilla linux. You need to port it to your device kernel, recompile and install. You can port it from https://android.googlesource.com/ker...dget/android.c

Be sure to modify the Kconfig and the Makefile too!

This is only for the kernel driver. I'm not sure but the adbd running on the device might rely on android binder. That's the core IPC android mechanism, so probably a lot harder to port.
pazos is offline   Reply With Quote