Can someone explain bin and xbin?


Last Updated:

  1. raduray

    raduray Well-Known Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    64
    Likes Received:
    5
    What do these folders do. There seems to be overlap. For example, we're told we should move the su file from bin to xbin before upgrading to Froyo. Do applications that need the info know to look in both bin and xbin? What would happen if I copied su into xbin and left it in bin instead of moving it?
    I've also seen posts recommending placing Busybox in both bin and xbin.

    Please help u-confuse this newbie.
     

    Advertisement
  2. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,678
    Likes Received:
    22,038
    raduray,

    I can't say specifically regarding Froyo (2.2), but I'm pretty sure that some devs might prefer to not disturb the bin directory and would therefore opt for the xbin directory to keep things separate (not a bad idea IMHO).

    I suppose there might be apps and ROMs that look specifically in either (or only one) of these directories and perhaps the divergence has been due to particular habits of a dev. So, to cover all of their bases to make sure that both "flavors" work across the widest range of apps (written by a diverse, inconsitent developer population), they are recommending the "both" option, if you will...just a guess :p.

    Cheers!
     
  3. DarkAndroid

    DarkAndroid Member

    Joined:
    Feb 26, 2011
    Messages:
    7
    Likes Received:
    0
    Yeah I also noticed that, and Titanium Backup looks for it in /bin if not installed by itself, but I got a question I see another multicall program in /bin called toolbox, do you know if this is Android native or maybe some app installed it?
     

Share This Page

Loading...