Coder Social home page Coder Social logo

magisk-modules-alt-repo / builtin-busybox Goto Github PK

View Code? Open in Web Editor NEW
158.0 3.0 11.0 1.15 MB

Systemless Magisk module that installs and symlinks BusyBox with its applets to the Magisk built-in busybox binary

License: GNU General Public License v2.0

Shell 100.00%
magisk-systemless-module busybox-applets

builtin-busybox's Introduction

Magisk built-in BusyBox

Description

Systemless Magisk module to install BusyBox binary with its applets (UNIX/Linux command-line utilities). BusyBox and applets are installed by and symlinked to the Magisk built-in busybox binary. For more info, see: https://github.com/topjohnwu/ndk-busybox

Tip: For even more interesting applets, install also the ToyBox-Ext module: https://github.com/Magisk-Modules-Alt-Repo/ToyBox-Ext

TEST

Install the module and reboot. Use Terminal Emulator - BusyBox applets are for Terminal and shell scripts.

Make sure that /system/bin and /system/xbin (the latter might not available on some devices) are in the PATH. Check e.g. with (all commands are case sensitive):

su
echo $PATH

Check if busybox was properly installed and is it installed to /system/xbin or /system/bin:

busybox --help
which busybox

If the responded busybox path was /system/xbin then check:

ls -l /system/xbin | grep busybox

whereas if the busybox path was /system/bin then use:

ls -l /system/bin | grep busybox

The command will show all the busybox applets as installed (symlinked to the busybox binary). Usually, whois will be one of them, hence you can try:

whois --help
busybox whois --help

Source

My Repo:

GitHub release (latest by date) GitHub Release Date GitHub Releases GitHub All Releases

Alt-Repo:

GitHub release (latest by date) GitHub Release Date GitHub Releases GitHub All Releases

Copyright (c) zgfg @ xda, 2022-

GNU General Public License Donate a coffee

builtin-busybox's People

Contributors

zgfg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

builtin-busybox's Issues

[Q&A] How to uninstall `busybox`?

I have installed this module and after noticing that RootBeer Sample detects root via BusyBox checking I decided to uninstall it but unfortunately this module doesn't include BusyBox removal and I can't manually remove BusyBox.
So question: How can I remove busybox from /system/xbin?

Bootloop

I use Built-In BusyBox v1.0.5 but bootloop how to fix that? i use realme 9 pro 5g

Re-write module for KernelSU?

Hi zgfg. I just switched to a new ROM which is based on KernelSU. Everything (!) runs perfectly, the only thing missing is busybox. Sure I could install a static binary like the one by osm0sis, but - as per https://kernelsu.org/guide/module.html#busybox:

KernelSU ships with a feature complete BusyBox binary (including full SELinux support). Its BusyBox is now using the binary file compiled directly from the Magisk project. Thanks to Magisk! Therefore, you don't have to worry about compatibility issues between BusyBox scripts in Magisk and KernelSU because they are exactly the same!

The executable is located at /data/adb/ksu/bin/busybox

Is there any chance you can adapt your script so we can install it in KernelSU Manager? More and more ROMs switch to KernelSU, so I'm positive it would make a lot of sense ๐Ÿ‘

Copy busybox to /system/(x)bin

Do not create symlink pointing to /data/adb/magisk/busybox, it will not accessible by non-root process or restricted root process (process with root access but limited capabilities such as zygote, adb root, ...). Instead copying busybox to $MODPATH/system/bin and create symlink pointing to ./busybox instead. The context of busybox also must be u:object_r:system_file:s0 not u:object_r:adb_data_file:s0.

Bug

After updating to the latest version 1.05 most applications (including system applications) crash on certain pages and are unresponsive
magisk is 26.1

Android rescue par

This is a very similar issue to #1. It makes my phone to reboot directly to the recovery after showing sim card lock, here's the error i screenshotted from OrangeFox:

-2147483648_-210204

I disabled this module through OrangeFox recovery and it worked fine. But obviously now I can't use this module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.