Quote:
Originally Posted by Renate
I've filed a bug on apktool 2.6.1
|
I'm not sure I understand. You want to run apktool in chroot?
Lmk if you need more help with the script - this is just an early version, but it should already allow you to run in a chroot any binary you want, static or dynamic.
For more advanced tools like apktool, of course you will need to add a few libraries and directories to the chroot. It's not easy **yet** but it should already be possible.
I will try to facilitate that by adding a parsing of dependencies through linker64 (ldd)
Next will be cgroups and iterative overlayfs snapshots to give quotas for CPU, network etc.
Please post questions related to this chroot on
https://old.reddit.com/r/Onyx_Boox/c..._designed_for/ ass I prefer staying on reddit.
For adbd in chroot I'm still learning the details as I'd like adbd_static to coexist on a different port if possible, to start and stop it as needed and only act as a supplement to the normal adbd
There are a lot of details on
https://events.static.linuxfound.org..._kobayashi.pdf to understand
https://android.googlesource.com/pla...se/adb/adb.cpp
Given evdenis patch on
http://github.com/evdenis/adb_root/ I may just add auth and give up and lead adbd_static be the only adbd.
Anyway, it's a WIP, I will let you know when it's ready, I hope it will help you with your hacks!