<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, but you can change the code in main.c function toy_find() currently line 33.</blockquote><div><br></div><div>Awesome, I'll try that, thanks! </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 21, 2020 at 11:35 AM Rob Landley <<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/21/20 1:56 AM, darken wrote:<br>
> Thanks for the quick response Rob!<br>
> <br>
> n -s $(which toybox) strawberry-toybox<br>
> ./strawberry-toybox<br>
> <br>
> The created symlink would be a file outside the read-only app resources, so I<br>
> can't execute that on Android 10+.<br>
> And Android 5,6,7 doesn't extract any resources from the APK that not starting<br>
> with "lib" and ending with ".so".<br>
<br>
That's an android issue, not a toybox issue.<br>
<br>
> When toybox doesn't recognize the name, it'll dereference one level of symlinks<br>
> <br>
> to try to find a name it does recognize.<br>
> <br>
> <br>
> Is there a config setting I could change to make a build where toybox recognizes<br>
> alternative names<br>
> or to just change the name it's looking for to "libtoybox.so"?<br>
<br>
No, but you can change the code in main.c function toy_find() currently line 33.<br>
<br>
> ~Matthias<br>
<br>
Rob<br>
</blockquote></div>