How to replace toybox with busybox

523 views
Skip to first unread message

Carmelo Carbonara

unread,
Sep 11, 2018, 1:21:04 PM9/11/18
to Android-x86
Any pointers on how to build with busybox and exclude toybox
or remove toybox and install busybox 1.29 on a working device

Chih-Wei Huang

unread,
Sep 11, 2018, 11:05:46 PM9/11/18
to Android-x86
2018-09-12 1:21 GMT+08:00 Carmelo Carbonara <cpcnet...@gmail.com>:
> Any pointers on how to build with busybox and exclude toybox
> or remove toybox and install busybox 1.29 on a working device

busybox has already included in android-x86.

If you want a newer version, you have to port it yourself.
(or try to find a prebuilt static linked binary)

Besides, it's a very bad idea to remove toybox.
It's now a part of AOSP standard and some functions
may depend on it.

Android-x86 installs busybox and all its applets
to /system/xbin/ so it could co-exist with toybox.
If you want to use busybox first, either type
busybox as a prefix of a command, or change
your PATH to /system/xbin:/system/bin/...


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Carmelo Carbonara

unread,
Sep 11, 2018, 11:32:53 PM9/11/18
to Android-x86

I wanted to avoid the busybox shell; not all of the toybox applets are "ready for prime time" or available yet even in the latest version of toybox I wanted to remove the symlinks...but i see your point

on a side note; i think chromiumos uses busybox instead of toybox and it allows almost full linux administration. Not the intention of android i guess

Thanks
Reply all
Reply to author
Forward
0 new messages