1. Are you ready for the Galaxy S20? Here is everything we know so far!

Root Boot_Buddy - Run Boot Scripts from SDcard (root users)

Discussion in 'Android Devices' started by Sepero, Dec 20, 2012.

  1. Sepero

    Sepero Linux Guru
    Thread Starter

    @Tokenpoke
    The following lines leads me to think that you do not have busybox installed-
    Error resolving interpreter:/system/xbin/sh does not exist
    Using default shell
    /mnt/sdcard/Download/bb_install.sh[7]: sed: not found

    You should have busybox installed at the location
    /system/xbin/busybox

    Hopefully that resolves it for you. I will look over the OP and script and update them to indicate this information if necessary. Thanks
     

    Advertisement

  2. Tokenpoke

    Tokenpoke Android Expert


    Was installed but reinstalled and it works now o_O
     
  3. theisonews

    theisonews Android Enthusiast

    Bump. For new visitors.
     
  4. unicyclist

    unicyclist Well-Known Member

    This worked perfectly, but then I updated busy box (using Stericson's updater), & now it won't work at all. I put busybox back in system/xbin, deleted & reinstalled Boot Buddy, now I get "unexpected <" error.

    Edit: (I meant the linked guide to mount your Real SDcard worked perfectly.)
     
  5. Sepero

    Sepero Linux Guru
    Thread Starter

    @unicyclist
    Are you saying that installing Boot Buddy gives you this error?
    "unexpected <" error
     
  6. You need to install busybox correctly... Theres many apps on the play store... Once you find the correct one it should work


    Thats how I solved my error thing
     
    unicyclist likes this.
  7. Sepero

    Sepero Linux Guru
    Thread Starter

    @orangejuicebox
    Which one did you use?
     
  8. unicyclist

    unicyclist Well-Known Member

    I (stupidly) updated BusyBox. Boot Buddy no longer mounted my SD card "as God intended". It was reset to external_sd. So I tried uninstalling & reinstalling, and I got the "unexpected <" error. I reinstalled an older version of BusyBox to system/xbin and now I get "sh: applet not found"

    Which installer did you use?
     
  9. pfft Umm IDK I forgot there's two APpS busy box and busy box installer.... You have to let it install automatically and yes the versions do matter this would be easier if I wasn't buzzedter
     
  10. unicyclist

    unicyclist Well-Known Member

    Edit: Busybox Installer worked. I used version 1.14.3 and installed to system/xbin, not system/bin. Then redownloaded the bb_install script using Opera Mini.
     
    Sepero likes this.
  11. theisonews

    theisonews Android Enthusiast

    So for what u using.boot buddy?
     
  12. Cool no more problems then :D
     
  13. Malebolgia

    Malebolgia Well-Known Member

    Is there a thread for scrips we can use on our Motion?
     
  14. Sepero

    Sepero Linux Guru
    Thread Starter

    A new update has been released- BootBuddy version 1.3

    Also, the source is now available on github
    https://github.com/Sepero/bootbuddy
    https://github.com/Sepero/bootbuddy/archive/master.zip

    Updates include:

    • Smarter recognition of busybox location (bin and xbin)
    • Smarter recognition of shell location (bin and xbin)
    • All scripts are now logged, and their output. Log file /data/boot_buddy.log
    • Now supporting a wider range of limited shells by replacing a 'here document' with an echo for file creation of the boot_buddy.sh script.
    Running the v1.3 installer will automatically update your current install of BootBuddy.
     
    unicyclist likes this.
  15. adanmex

    adanmex Android Enthusiast

    can you make boot buddy a flashable zip. for easy installation?
     
  16. Sepero

    Sepero Linux Guru
    Thread Starter

    @adanmex
    I'm glad you ask. I really like that idea, but unfortunately I do not plan to do that for two primary reasons.

    • Having more than one way to install BootBuddy means a greater possibility for software bugs to occur. (and debugging scripts can be a real pain :(, especially running it on multiple types of devices in a pre-boot environment)
    • If I have to choose one install method, I must currently choose installing it as a script, because CWM cannot be installed to all devices. Keeping the installer as a script provides the greatest compatibility with all devices.
    Hopefully that answers your question satisfactorily. Thanks for the suggestion.
     
  17. Ubercharrge

    Ubercharrge Android Enthusiast

    installing boot buddy is easy anyways. Download script manager, run as root, download bb, run as root, bam! :D
     
  18. Malebolgia

    Malebolgia Well-Known Member

    What version of BusyBox is good?
     
  19. Sepero

    Sepero Linux Guru
    Thread Starter

    @Malebolgia
    The latest release of BootBuddy should now work with any busybox. If it doesn't, please let me know! :D
     
  20. MotoTriumphant

    MotoTriumphant Android Enthusiast

    How can i put the lte2 2nd init app in my boot buddy scripts so it can run at boot in case I have a bootloop. On my spare sd card?
     
  21. Sepero

    Sepero Linux Guru
    Thread Starter

    @MotoTriumphant
    That's a good question. Unfortunately, I don't really know how it would be done. If it's possible, the files to do this are in the location
    /data/data/com.eclipse.android.razr.bootstrap/files/

    Hopefully you are able to figure it out. I'd be interested in knowing the answer also
     
  22. rhino889a

    rhino889a Android Expert

    Is there away to get an individual script loaded by bootbuddy to stall or delay?
    Say i am trying to change a system setting but system overwrites what my bootbuddy script did.
     
  23. Sepero

    Sepero Linux Guru
    Thread Starter

  24. killericarus

    killericarus Well-Known Member

    love this idea goes along with the emergency sd card thread incase we needed recovery options
     
    MotoTriumphant likes this.
Loading...
Similar Threads - Boot_Buddy Run Boot
  1. sissif
    Replies:
    0
    Views:
    67
  2. Android News
    Replies:
    0
    Views:
    46
  3. Ofoma
    Replies:
    0
    Views:
    233
  4. joharejim
    Replies:
    2
    Views:
    200
  5. gurpeetskapoor
    Replies:
    0
    Views:
    305
  6. RobertHarrison
    Replies:
    4
    Views:
    328
  7. Stampede
    Replies:
    1
    Views:
    132
  8. Tetuh
    Replies:
    2
    Views:
    164
  9. David Hubbard
    Replies:
    2
    Views:
    171
  10. corvairbob
    Replies:
    0
    Views:
    185
Tags:

Share This Page

Loading...