View Single Post
Old 09-26-2012, 03:07 PM   #3
e-ink
partly refreshed
e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.e-ink could sell banana peel slippers to a Deveel.
 
Posts: 36
Karma: 3026
Join Date: Aug 2012
Device: It's a Sony :P prs-t1
To make things a litle easier here a few tips using the terminal emulator:

  1. Automatically starting a root shell - in this case the ash shell

    Edit Preferences --> (Shell) Command Line
    Code:
    /system/bin/su -c "busybox ash -"

  2. Setting path as the Initial Command

    Edit Preferences --> (Shell) Initial Command
    Code:
    export PATH=/system/bin:$PATH
    
    # it s a good opportunity to add aliases as well:
    export PATH=/system/bin:$PATH; alias ll="busybox ls -alk"

  3. Creating Busybox symlinks

    So far only a few toolbox symlinks are pre-installed. For easy access of all busybox tools lets create symlinks.
    Existing toolbox symlinks won't be replaced by this method. If you wish to use only busybox remove the toolbox links before.
    Code:
    # remount the system partition to have write access
    busybox mount -o remount,rw -t ext4 /dev/block/mmcblk2p10 /system
    
    # change directory to the system binaries
    cd /system/bin
    
    # creating busybox symlinks
    busybox --help | busybox grep 'Currently defined functions:' -A90 | busybox grep '^\s.*,' | busybox tr , '\n' | busybox xargs -n 1 busybox ln -s busybox
e-ink is offline   Reply With Quote