In my /system/bin/ I have a executable named toybox, and various other directory entries in that directory symlinked to the toybox, eg basename and [.

How do I uninstall toybox?

Context: I believe it's messing with advanced root detection of Citi banking (my Revolut app is working just fine with Magisk's SafetyNet Fix)

  • Related: Where should I install Toybox?
    – Tom Hale
    Oct 20, 2022 at 8:35
  • 1
    What have you tried? mount -o rw,remount /system/bin; rm /system/bin/toybox. Find all applets: find /system/bin/ -type l -exec ls -l '{}' ';' | grep toybox and delete them as well if you want. Also you can have another toybox in /vendor/bin/. Repeat the same for that too. But I won't advise this. Your device may get into bootloop because some core functions (including init services) depend on commands provided by toybox. Or at least put some alternative like busybox on $PATH. Also I'm not sure why you think it's messing with root detection. Oct 20, 2022 at 9:05
  • 1
    And mind that toybox is not an uninstallable package. So you are forcefully deleting it, not uninstalling. Oct 20, 2022 at 9:13
  • 2
    I believe it's messing with advanced root detection of Citi banking -- what is the basis of your belief? The Android builds/devices certified by Google (that is to say, can be trusted for Google's own apps, banking, financial apps and so on) comes with toybox installed. If toybox was ever a factor in deciding whether an Android build is safe (not tampered with, nor rooted, etc.) than no banking or financial app would have continued to be offered on Play Store (their developers would have packed up and moved on).
    – Firelord
    Oct 20, 2022 at 9:32


You must log in to answer this question.

Browse other questions tagged .