[Toybox] Rename toybox and execute without install

darken darken at darken.eu
Wed Feb 19 21:10:53 PST 2020


Good Morning,

I'm trying to run toybox on Android with a different file name than
"toybox".
I see that I can append any suffix I'd like, e.g. "toybox.strawberry", but
I can't prepend anything.
"strawberry-toybox" doesn't work:
toybox: Unknown command strawberry-toybox

How can I achieve this?

Background:
Android 10+ only allows executing binaries that in read-only memory, so I
have to package toybox as "toybox.so" which works, but Android 5/6/7 will
only package the files if they are prepended by "lib", so the filename I'm
trying to run is "libtoybox.so".

Kind regards
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200220/4738376e/attachment.htm>


More information about the Toybox mailing list