DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 4 of 4

Thread: bb_improve - another script by me

  1. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #1

    bb_improve - another script by me

    If you don't spend a lot of time at the command-line, you probably won't want to bother with this. If you DO, however, this might be the hack you're looking for.

    This script replaces a lot of built-in utilities with the more functional busybox versions. Some improvements:
    With sh (the shell), you can hit the up arrow to scroll through previous commands, and modify them in-line. Also, TAB COMPLETION. If you hit tab, it will try to complete the file name you are typing.
    With ls, you can add -al to see file permissions, uid/gid, and sizes. You can even use -h to see human-readable sizes (kb, mb, etc). Files/directories are colorized.
    With mount, you no longer need to specify the device and filesystem type when remounting.
    With chmod, you can add/remove permissions by name, rather than octal representation.
    With top you can see what processes are currently running without it screwing up your terminal
    You can now add -r to the rm command to remove files recursively. Same with cp, mv, etc
    Modifies pm so that it works with the busybox shell

    Many more small little changes I can't remember offhand, but you get the idea.

    This script does not have an easy undo option built in! Make a backup before running it, and don't run it if you don't understand what the above commands do.

    To install, simply run it once directly from the SD card:
    Code:
    su
    sh /sdcard/bb_improve_1.1.txt
    You may see some mount errors at the end. If you do, reboot the phone, and you won't see them anymore. Once you've installed it, you don't need the file on your sd card (but I recommend leaving it there so you can easily re-install it after every ROM update)

    Script has been updated to work with BB 0.3 - busybox moved from /system/xbin to /system/bin
    Attached Files
    Last edited by Se7enLC; 06-28-2010 at 08:38 AM.
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)
  2.  
     
     
     
  3. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #2
    Still works on BB release 0.2 Froyo
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)
  4. Droid
    mr2man07's Avatar
    Member #
    16069
    Join Date
    Dec 2009
    Location
    Des Moines
    Posts
    44
    Phone
    Motorola Droid X
    #3
    Thank you! I missed these commands. I use Cisco's IOS/CatOS and Linux on a daily basis and I absolutely hated using the CLI on Android due to missing these features (Tab complete and last used command).
  5. Droid
    ci2019's Avatar
    Member #
    3370
    Join Date
    Nov 2009
    Posts
    48
    Phone
    Motorola Droid
    #4
    Nice Job! I don't spend a lot of time at the terminal but all I can say is "finally, some commands"

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. In search of simple script
    By hahn in forum Android Hacks and Help
    Replies: 4
    Last Post: 06-21-2010, 12:51 PM
  2. SetCPU Vs Petes V1.1 CPU script
    By zathus in forum Bugless
    Replies: 166
    Last Post: 06-02-2010, 08:08 AM
  3. Script
    By ashin001 in forum Bugless
    Replies: 7
    Last Post: 05-27-2010, 05:06 PM
  4. Can the memory script be disabled?
    By snrsuave in forum Bugless
    Replies: 3
    Last Post: 05-24-2010, 01:12 PM
  5. Enableing script
    By Chris1980 in forum Android Hacks and Help
    Replies: 0
    Last Post: 05-15-2010, 03:52 PM

Search tags for this page

bbrelease command

Click on a term to search our site for related topics.
Find us on Google+