Go Back   Android Forums > Android Phones > LG Motion 4G > Motion 4G - All Things Root
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree13Likes
  • 2 Post By Sepero
  • 1 Post By Sepero
  • 1 Post By Sepero
  • 1 Post By Sepero
  • 1 Post By Tokenpoke
  • 1 Post By unicyclist
  • 1 Post By theisonews
  • 1 Post By orangejuicebox
  • 1 Post By Sepero
  • 1 Post By Ubercharrge
  • 1 Post By Sepero
  • 1 Post By killericarus

test: Reply
 
LinkBack Thread Tools
Old December 20th, 2012, 06:22 AM   #1 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default Boot_Buddy - Run Boot Scripts from SDcard (root users)

(The NEW BootBuddy thread can be found here)

INTRODUCTION:
Boot Buddy will allow you to run Linux shell scripts when your Android device is booting up. It will run your scripts early in the boot process, before the home screen appears.

The intended audience is generally intermediate to advanced users, and those who want to play with shell scripting on their device.


FEATURES:
BootBuddy is similar to init.d scripts, but with a core difference that it stores boot scripts on your SDcard instead of the internal system. This allows for several interesting enhancements. Feature listing-
  • Boot Buddy is designed from the start to run scripts right from your SDcard. Just download any scripts to your boot_buddy_scripts directory and they're ready to run. (No more screwing around with permissions and files in your /system/etc/init.d/*)
  • SDcard storage allows you to copy a script to another device, or multiple devices easily.
  • If you have a script that is malfunctioning, just boot your device with the sdcard out, and put the sdcard back in after your device reaches home screen. No Problem!
  • Boot Buddy's author has several years of scripting and programming experience. It is streamlined, fast, and doesn't perform worthless functions like repeatedly logging the authors name and time (*hint to a t-init author*).
  • Clear goals of making operation simple, intuitive, and clean.
  • If you're currently using an "init.d" solution, BootBuddy can integrate seamlessly with it.
  • If you try BootBuddy and you don't like it, the installer also works as an uninstaller for easy clean removal.
  • BootBuddy is Open Source GNU GPL. Open for anyone to modify and improve upon.
As a developer, I make software to operate the way I would want if I were an end user, because I actually do use it, and I am an end user like you.


REQUIREMENTS:



INSTALL:
  1. Start Script Manager, and allow/grant root access.
  2. Navigate to the bb_install.sh file.
  3. Tap on the file to show the menu options.
  4. At the top, highlight the "Su" icon.
  5. On the top-left, tap "Run".
The script will run quickly and create a folder on your sdcard named "boot_buddy_scripts". In that folder, you put the scripts you want to run at system boot. A log file will be kept at /data/boot_buddy.log

If you need your scripts to run in order, they are ordered by filename using the busybox "sort" program. They will run in alphabetical order using this format 0-9A-Za-z.


YOUR FIRST SCRIPTS: (OPTIONAL)
Here are a couple example scripts you may use.

The Android /system is normally mounted with read-only permissions by default. We will change that with the first script listed below. It will cause /system to be remounted to read-write permissions during boot.

The second script will create a file at every boot named /mnt/sdcard/sys_mount_info.txt. That txt file will give us information about how /system is currently mounted.
  1. Download the file 00rw_system.sh into your boot_buddy_scripts folder.
  2. Download the file 99sys_mount_info.sh into your boot_buddy_scripts folder.
  3. Reboot your phone.
That's it, you just installed 2 new scripts and had them run at boot. It's Really just that simple to add startup scripts to your system.

To verify they are running, use any text viewer to open the file /mnt/sdcard/sys_mount_info.txt. It may show more than one line of text. There should be a line similar to this:
/dev/block/(device specific text) /system (fstype) rw,(more text)

The rw means that /system was successfully remounted as read-write during boot.

At any time you can delete either script if you choose. Easy!


UNINSTALL:
If for any reason you find you don't want or don't like Boot Buddy, you can cleanly uninstall it using the installer bb_install.sh. These instructions are almost identical to installing. (All match the installation steps, except step 4)
  1. Start Script Manager, and allow/grant root access.
  2. Navigate to the bb_install.sh file.
  3. Tap on the file to show the menu options.
  4. Type --uninstall in the text area labeled Arguments.
  5. At the top, highlight the "Su" icon.
  6. On the top-left, tap "Run".
Boot Buddy will be uninstalled. It will not remove the contents of your boot_buddy_scripts folder. If you have an "init.d" system installed, it will cleanly remove only Boot Buddy parts and leave the rest.


ADVANCED NOTES:
Boot Buddy will Not cause harm to your system, but it may not work on custom roms. Also, it may fail to detect the real location of your SDcard. It requires that /system/etc/install-recovery.sh is run during the boot process, and that file will be created if it does not exist. Also the file /data/boot_buddy.sh will be created. The script /system/etc/install-recovery.sh will run /data/boot_buddy.sh. The script /data/boot_buddy.sh will run the scripts on your sdcard. The file /data/boot_buddy.log will log any script output.

Leave feedback on your results!!!

For Windows and Mac users- If you download the installer to your pc first, do not edit the installer with a text editor. Your computer will add hidden markers at the ends of each line that will prevent the installer from running. If you want to edit it, you should do so on a Linux pc or directly on your Android device.

BootBuddy source code: http://github.com/Sepero/bootbuddy


USER SCRIPTS MADE FOR BOOT BUDDY:
(Mention your script and get listed here)
unicyclist and chicle like this.

Sepero is offline  
Last edited by Sepero; March 12th, 2013 at 07:49 PM.
Reply With Quote
The Following 6 Users Say Thank You to Sepero For This Useful Post:
2GigayteSD (December 21st, 2012), jpizle (December 20th, 2012), mightyantskate (December 20th, 2012), sammyz (December 20th, 2012), scary alien (December 21st, 2012), unicyclist (February 15th, 2013)
Sponsors
Old December 21st, 2012, 02:55 AM   #2 (permalink)
Senior Member
 
2GigayteSD's Avatar
 
Join Date: Oct 2012
Location: ▂▃▅▆█ MetroPOS
Gender: Male
Posts: 1,903
 
Device(s): LG Motion 4G-------Sammy Admire-------------SGT 2 7.0 :) ---------
Carrier: T-Metro :P

Thanks: 834
Thanked 428 Times in 306 Posts
Default

So this is like init.d?
2GigayteSD is offline  
Reply With Quote
Old December 21st, 2012, 03:29 AM   #3 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

Yes. The main difference is that scripts go on your SDcard, instead of storing in the internal system of your device.

I invite everyone with a little scripting experience to look at the bb_install.sh code. It is very straight forward and should be relatively clear to read.
2GigayteSD likes this.
Sepero is offline  
Last edited by Sepero; December 21st, 2012 at 03:40 AM.
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
2GigayteSD (January 10th, 2013)
Old December 23rd, 2012, 07:34 PM   #4 (permalink)
Senior Member
 
THE W's Avatar
 
Join Date: Mar 2012
Location: Detroit
Posts: 1,847
 
Device(s): Kyocera Domino, Freeform II, Freeform III, LG Connect, LG Motion, Samsung Galaxy S III
Carrier: MetroPCS

Thanks: 78
Thanked 159 Times in 140 Posts
Default

I get this when I run the script
What am I doing wrong?
Attached Images
File Type: jpg uploadfromtaptalk1356312839407.jpg (13.1 KB, 88 views)
__________________
when it comes to choosing the best service one must remember: location location location!!!
THE W is offline  
Reply With Quote
Old December 23rd, 2012, 07:51 PM   #5 (permalink)
Member
 
Join Date: Jul 2011
Location: Amityville, NY
Posts: 258
 
Device(s): Connect 4G
Carrier: Not Provided

Thanks: 45
Thanked 33 Times in 22 Posts
Default

which script manager did you download?
__________________
www.YourFreeATM.com
pl4life52 is offline  
Reply With Quote
Old December 23rd, 2012, 08:00 PM   #6 (permalink)
Senior Member
 
THE W's Avatar
 
Join Date: Mar 2012
Location: Detroit
Posts: 1,847
 
Device(s): Kyocera Domino, Freeform II, Freeform III, LG Connect, LG Motion, Samsung Galaxy S III
Carrier: MetroPCS

Thanks: 78
Thanked 159 Times in 140 Posts
Default

I got it to work. I used script manager free. When I tapped on the file in the root browser it gave me options on what to open the file as and I chose script and then it went to the menu where you select "su" and run.

I deleted the file and redownloaded it, followed the instructions again and it worked fine.
THE W is offline  
Reply With Quote
Old December 23rd, 2012, 08:05 PM   #7 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

First thing, do not worry about Boot Buddy harming your system. It is designed to be very safe. It's good you reported this. I'll work to help you resolve it in PM and we can post the solution here afterwards.

EDIT:
I see my post came late. Good to see that it worked out for you. Just an incomplete download.
Sepero is offline  
Last edited by Sepero; December 23rd, 2012 at 08:14 PM.
Reply With Quote
Old December 28th, 2012, 10:12 PM   #8 (permalink)
Senior Member
 
2GigayteSD's Avatar
 
Join Date: Oct 2012
Location: ▂▃▅▆█ MetroPOS
Gender: Male
Posts: 1,903
 
Device(s): LG Motion 4G-------Sammy Admire-------------SGT 2 7.0 :) ---------
Carrier: T-Metro :P

Thanks: 834
Thanked 428 Times in 306 Posts
Default

*Cough* Bump *Cough*
2GigayteSD is offline  
Reply With Quote
Old December 28th, 2012, 10:23 PM   #9 (permalink)
Resident Slide Rule Guru
 
OverByter's Avatar
 
Join Date: Dec 2010
Location: CT, USA
Gender: Male
Posts: 3,662
 
Device(s): HTC Evo V 4G,Triumph CM7 TG=Reloaded, Intercept UD6, HTC Wildfire S HBOOT Unlocked w/s-off
Carrier: Virgin Mobile

Thanks: 294
Thanked 730 Times in 541 Posts
Send a message via Skype™ to OverByter
Default

Would you tell me what the major differences are between your product and something like mounts2sd? I just downloaded that yesterday and have been looking into it. Thanks, OB
OverByter is offline  
Reply With Quote
Old December 29th, 2012, 08:45 PM   #10 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

Hey OverByter. I assume this link is what you're referring to. I actually never heard of mount2sd before you brought it to my attention. After looking it over, it looks like it performs some really neat things. Unfortunately, it can't really be compared to Boot Buddy.

The reason is because Boot Buddy doesn't move apps, cache, data, or anything by default. It simply runs scripts when your phone boots up. You might ask, "What scripts?". Well, immediately after installing, it will run No scripts at all. The scripts to go with Boot Buddy are an addon. It's like Boot Buddy enables a script plugin system.

It might help to think of the "Startup" folder on Windows, except Boot Buddy only runs shell scripts, not apps. (But it might be possible to have a script that starts an app)

If someone writes a script to be run at every boot, Boot Buddy is a very easy way to enable that to happen. The script only needs to be copied into the Boot Buddy sdcard folder, and that's it. Until the script is removed, it will run everytime the device is started.

I hope that explains it. Cheers
2GigayteSD likes this.
Sepero is offline  
Reply With Quote
The Following 2 Users Say Thank You to Sepero For This Useful Post:
2GigayteSD (December 30th, 2012), OverByter (December 29th, 2012)
Sponsors
Old December 30th, 2012, 02:09 AM   #11 (permalink)
Junior Member
 
orangejuicebox's Avatar
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 55
 
Device(s): LG Motion with frequency incipio case LG Optimus M
Carrier: Metro since day one

Thanks: 2
Thanked 5 Times in 5 Posts
Default Minor problem

I'm trying to run the boot Buddy script to install it but when I run it... It says busy box was not found.. What do I do to solve this problem
orangejuicebox is offline  
Reply With Quote
Old December 30th, 2012, 02:38 PM   #12 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

Thanks for letting me know your problem. I recently updated Boot Buddy and I introduced a small syntax error. It has been corrected. Sorry for the inconvenience.
Sepero is offline  
Last edited by Sepero; December 30th, 2012 at 02:44 PM.
Reply With Quote
Old December 30th, 2012, 02:50 PM   #13 (permalink)
Junior Member
 
orangejuicebox's Avatar
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 55
 
Device(s): LG Motion with frequency incipio case LG Optimus M
Carrier: Metro since day one

Thanks: 2
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by Sepero View Post
Thanks for letting me know your problem. I recently updated Boot Buddy and I introduced a small syntax error. It has been corrected. Sorry for the inconvenience.
I also get the busy box not found problem
orangejuicebox is offline  
Reply With Quote
Old December 30th, 2012, 03:54 PM   #14 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by THE W View Post
I get this when I run the script
What am I doing wrong?





i got the same ....deleted.....downloaded.......deleted.....downl oaded....

Used script manager free and rom toolbox to run script....still nothing.....also downloaded file with several different browsers.....??????
HarunATL is offline  
Reply With Quote
Old December 31st, 2012, 05:37 AM   #15 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

orangejuicebox sent me a PM saying that it's working for them now
Sepero is offline  
Reply With Quote
Old December 31st, 2012, 10:08 AM   #16 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default still no boot buddy for me

this is what i get....
HarunATL is offline  
Reply With Quote
Old December 31st, 2012, 10:10 AM   #17 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

errrrrr this.....tryuing to attach a screen shot...well it says this....


exec /system/xbin/sh '/mnt/sdcard/external_sd/bb_install.sh'
xternal_sd/bb_install.sh' <
sh: applet not found


????/
HarunATL is offline  
Last edited by HarunATL; December 31st, 2012 at 10:19 AM. Reason: didnt add attachment
Reply With Quote
Old December 31st, 2012, 10:45 AM   #18 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@HarunATL
Did you install an alternative BusyBox from the play store?
Sepero is offline  
Reply With Quote
Old December 31st, 2012, 02:01 PM   #19 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Actually i did then thought better of it and un in stalled. Was that a bad idea?
HarunATL is offline  
Reply With Quote
Old December 31st, 2012, 02:03 PM   #20 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Do i need to unroot/root now?
HarunATL is offline  
Reply With Quote
Sponsors
Old January 1st, 2013, 10:33 AM   #21 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

HarunATL I received your PM. I'm glad you got it working.

After downloading the Opera browser, you were able to successfully download the script and run it on your phone.

Google Chrome and the Default Android browser do not appear to download files properly from the host (www.mediafire.com). The downloaded files are malformed.

Downloaded files best with Firefox or Opera browsers.
sammyz likes this.
Sepero is offline  
Last edited by Sepero; January 1st, 2013 at 08:48 PM.
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
sammyz (January 1st, 2013)
Old January 1st, 2013, 11:06 AM   #22 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default Thanks Sepero

I just wanted to thank you publicly for the help that you have,given me.So far so good as long as i dont run into the "insufficient memory "monster when i install my apps .Very cool.Thank you.
HarunATL is offline  
Reply With Quote
The Following User Says Thank You to HarunATL For This Useful Post:
Sepero (January 1st, 2013)
Old February 2nd, 2013, 10:40 PM   #23 (permalink)
Junior Member
 
Astro Creep's Avatar
 
Join Date: Sep 2012
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

So i have everything installed and both scripts seem to be running. My goal was to move apps from my sd to external sd, i moved Need For Speed to the boot_buddy folder in external sd, but its still in sd/android/data too, so now im taking up more space. what am i doing wrong?
Astro Creep is offline  
Reply With Quote
Old February 3rd, 2013, 12:21 AM   #24 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

If you moved your NFS folder into the boot_buddy_scripts folder, then you made a mistake in following the directions. If you have a question related to moving your apps around when moving your sdcard, you want to post that here: [GUIDE] Mounting Your Real SDcard to /mnt/sdcard (v2 for LG Motion 4G)
Sepero is offline  
Reply With Quote
Old February 3rd, 2013, 08:54 PM   #25 (permalink)
Senior Member
 
Tokenpoke's Avatar
 
Join Date: Feb 2011
Location: Miami, FL
Gender: Male
Posts: 2,410
 
Device(s): lg motion 4g, rooted and tweaked sg tab 2 7' rooted stock jb
Carrier: MetroPCS

Thanks: 190
Thanked 965 Times in 496 Posts
Secondgenmonkey@gmail.com
Default

Ok. Dl via opera to get past the < error and got this..

Error resolving interpreter:/system/xbin/sh does not exist
Using default shell
exec sh '/mnt/sdcard/Download/bb_install.sh'
/sdcard/Download/bb_install.sh' <
/mnt/sdcard/Download/bb_install.sh[7]: sed: not found
/mnt/sdcard/Download/bb_install.sh[23]: [: 0: unexpected operator/operand
You're not root


Yes, its rooted.
__________________
looking for local miami music? in a miami band and want free promo and show tips, no strings attached? www.facebook.com/hahopromotions show updates, music news and free stuff!!! i help here for free, so i figured i can do this too!!! enjoy!
Tokenpoke is online now  
Reply With Quote
Old February 3rd, 2013, 09:57 PM   #26 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@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
Sepero is offline  
Reply With Quote
Old February 3rd, 2013, 10:43 PM   #27 (permalink)
Senior Member
 
Tokenpoke's Avatar
 
Join Date: Feb 2011
Location: Miami, FL
Gender: Male
Posts: 2,410
 
Device(s): lg motion 4g, rooted and tweaked sg tab 2 7' rooted stock jb
Carrier: MetroPCS

Thanks: 190
Thanked 965 Times in 496 Posts
Secondgenmonkey@gmail.com
Default

Quote:
Originally Posted by Sepero View Post
@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

Was installed but reinstalled and it works now o.O
2GigayteSD likes this.
Tokenpoke is online now  
Reply With Quote
Old February 12th, 2013, 06:03 PM   #28 (permalink)
Member
 
Join Date: Jan 2012
Location: cali
Gender: Male
Posts: 469
 
Device(s): LG MOTION 4G, LG ESTEEM, SAMSUNG ADMIRE
Carrier: Not Provided

Thanks: 29
Thanked 62 Times in 50 Posts
Default

Bump. For new visitors.
theisonews is offline  
Reply With Quote
Old February 17th, 2013, 06:29 PM   #29 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Anaheim, CA
Posts: 86
 
Device(s): 2x Motion 4G on TCR, Kindle Fire root
Carrier: MetroPOS

Thanks: 65
Thanked 11 Times in 10 Posts
unicubist@gmail.com
Default

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.)
unicyclist is offline  
Last edited by unicyclist; February 17th, 2013 at 08:26 PM.
Reply With Quote
Old February 17th, 2013, 06:40 PM   #30 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@unicyclist
Are you saying that installing Boot Buddy gives you this error?
"unexpected <" error
Sepero is offline  
Reply With Quote
Sponsors
Old February 17th, 2013, 06:47 PM   #31 (permalink)
Junior Member
 
orangejuicebox's Avatar
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 55
 
Device(s): LG Motion with frequency incipio case LG Optimus M
Carrier: Metro since day one

Thanks: 2
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by unicyclist View Post
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.
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
orangejuicebox is offline  
Reply With Quote
The Following User Says Thank You to orangejuicebox For This Useful Post:
unicyclist (February 17th, 2013)
Old February 17th, 2013, 07:19 PM   #32 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@orangejuicebox
Which one did you use?
Sepero is offline  
Reply With Quote
Old February 17th, 2013, 07:20 PM   #33 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Anaheim, CA
Posts: 86
 
Device(s): 2x Motion 4G on TCR, Kindle Fire root
Carrier: MetroPOS

Thanks: 65
Thanked 11 Times in 10 Posts
unicubist@gmail.com
Default

Quote:
Originally Posted by Sepero View Post
@unicyclist
Are you saying that installing Boot Buddy gives you this error?
"unexpected <" error
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"

Quote:
Originally Posted by orangejuicebox View Post
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
Which installer did you use?
unicyclist is offline  
Reply With Quote
Old February 17th, 2013, 07:39 PM   #34 (permalink)
Junior Member
 
orangejuicebox's Avatar
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 55
 
Device(s): LG Motion with frequency incipio case LG Optimus M
Carrier: Metro since day one

Thanks: 2
Thanked 5 Times in 5 Posts
Default

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
orangejuicebox is offline  
Reply With Quote
Old February 17th, 2013, 08:16 PM   #35 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Anaheim, CA
Posts: 86
 
Device(s): 2x Motion 4G on TCR, Kindle Fire root
Carrier: MetroPOS

Thanks: 65
Thanked 11 Times in 10 Posts
unicubist@gmail.com
Default

Quote:
Originally Posted by orangejuicebox View Post
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
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.
unicyclist is offline  
Last edited by unicyclist; February 17th, 2013 at 08:22 PM.
Reply With Quote
The Following User Says Thank You to unicyclist For This Useful Post:
Sepero (February 18th, 2013)
Old February 17th, 2013, 11:24 PM   #36 (permalink)
Member
 
Join Date: Jan 2012
Location: cali
Gender: Male
Posts: 469
 
Device(s): LG MOTION 4G, LG ESTEEM, SAMSUNG ADMIRE
Carrier: Not Provided

Thanks: 29
Thanked 62 Times in 50 Posts
Default

So for what u using.boot buddy?
Sepero likes this.
theisonews is offline  
Reply With Quote
Old February 18th, 2013, 02:20 AM   #37 (permalink)
Junior Member
 
orangejuicebox's Avatar
 
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 55
 
Device(s): LG Motion with frequency incipio case LG Optimus M
Carrier: Metro since day one

Thanks: 2
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by unicyclist View Post
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.
Cool no more problems then
unicyclist likes this.
orangejuicebox is offline  
Reply With Quote
Old February 18th, 2013, 08:12 AM   #38 (permalink)
Junior Member
 
Malebolgia's Avatar
 
Join Date: Mar 2011
Location: NJ, USA
Posts: 74
 
Device(s): LG Motion
Carrier: MetroPCS

Thanks: 20
Thanked 10 Times in 9 Posts
Send a message via Yahoo to Malebolgia
Default

Is there a thread for scrips we can use on our Motion?
Malebolgia is offline  
Reply With Quote
Old February 27th, 2013, 06:45 PM   #39 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

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.
Sepero is offline  
Reply With Quote
The Following User Says Thank You to Sepero For This Useful Post:
unicyclist (March 8th, 2013)
Old February 27th, 2013, 06:54 PM   #40 (permalink)
Member
 
adanmex's Avatar
 
Join Date: Jan 2011
Location: San jose shark city
Gender: Male
Posts: 421
 
Device(s): Samsung Admire (admiral beast with My Admiroid uot theme, Lg motion 4g debloated and 4.04
Carrier: MetroPcs Locked Boots

Thanks: 480
Thanked 45 Times in 32 Posts
Adandeltoro408@gmail.com
Default

can you make boot buddy a flashable zip. for easy installation?
adanmex is offline  
Reply With Quote
Sponsors
Old February 27th, 2013, 07:24 PM   #41 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@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.
Sepero is offline  
Reply With Quote
Old February 27th, 2013, 08:23 PM   #42 (permalink)
Member
 
Join Date: Aug 2012
Posts: 489
 
Device(s):
Carrier: Not Provided

Thanks: 148
Thanked 88 Times in 55 Posts
Default

installing boot buddy is easy anyways. Download script manager, run as root, download bb, run as root, bam!
unicyclist likes this.
__________________
Ubercharrge is offline  
Reply With Quote
Old February 28th, 2013, 11:20 AM   #43 (permalink)
Junior Member
 
Malebolgia's Avatar
 
Join Date: Mar 2011
Location: NJ, USA
Posts: 74
 
Device(s): LG Motion
Carrier: MetroPCS

Thanks: 20
Thanked 10 Times in 9 Posts
Send a message via Yahoo to Malebolgia
Default

What version of BusyBox is good?
Malebolgia is offline  
Reply With Quote
Old February 28th, 2013, 01:07 PM   #44 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@Malebolgia
The latest release of BootBuddy should now work with any busybox. If it doesn't, please let me know!
2GigayteSD likes this.
Sepero is offline  
Reply With Quote
Old March 8th, 2013, 08:38 PM   #45 (permalink)
Senior Member
 
MotoTriumphant's Avatar
 
Join Date: May 2012
Posts: 546
 
Device(s): Rooted Lg Optimus V, Rooted Motorola Triumph, Rooted LG Connect, Rooted Lg Motion(current)
Carrier: Not Provided

Thanks: 234
Thanked 44 Times in 25 Posts
Default Re: Boot_Buddy - Run Boot Scripts from SDcard (root users)

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?
MotoTriumphant is offline  
Reply With Quote
Old March 8th, 2013, 09:26 PM   #46 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@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
Sepero is offline  
Reply With Quote
Old March 12th, 2013, 01:10 PM   #47 (permalink)
Senior Member
 
rhino889a's Avatar
 
Join Date: May 2012
Location: Somewhere in the Internet
Gender: Male
Posts: 763
 
Device(s): Lg Motion,Lg Motion,Lg Motion
Carrier: Pidgeon

Thanks: 1
Thanked 138 Times in 101 Posts
Default

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.
__________________
Want fights or tutorials? All Leagues and styles.Pm me.
#### SENT FROM MY SHOE PHONE ####
rhino889a is offline  
Reply With Quote
Old March 12th, 2013, 08:00 PM   #48 (permalink)
Linux Guru
Thread Author (OP)
 
Sepero's Avatar
 
Join Date: Aug 2010
Posts: 692
 
Device(s): LG Motion 4G . Pirates are people who attack ships. People who share software are good neighbors.
Carrier: MetroPCS

Thanks: 553
Thanked 402 Times in 170 Posts
Default

@rhino889a
Here I have put your answer on the new BootBuddy thread.
BootBuddy - Run Boot Scripts from SDcard (a safe alternative to init.d)

PS.
I corrected the link in the OP to point to the New BootBuddy thread.
Sepero is offline  
Reply With Quote
Old March 12th, 2013, 10:18 PM   #49 (permalink)
Member
 
killericarus's Avatar
 
Join Date: Jan 2013
Posts: 150
 
Device(s):
Carrier: Not Provided

Thanks: 20
Thanked 18 Times in 16 Posts
Default

Quote:
Originally Posted by MotoTriumphant View Post
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?
love this idea goes along with the emergency sd card thread incase we needed recovery options
MotoTriumphant likes this.
killericarus is offline  
Reply With Quote
The Following User Says Thank You to killericarus For This Useful Post:
MotoTriumphant (March 12th, 2013)
Reply
Tags
android boot buddy installer


Go Back   Android Forums > Android Phones > LG Motion 4G > Motion 4G - All Things Root

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:27 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.