1. Download our Official Android App: Forums for Android!

Root tip for terminal and velocity script

Discussion in 'Android Devices' started by kpedx, Feb 10, 2011.

  1. kpedx

    kpedx Newbie
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    17
    Joined:
    Nov 22, 2010

    Nov 22, 2010
    17
    11
    18
    Instead of having to set su and type velocity every time just go to the menu -> preferences -> initial command and set it for:
    export PATH=/data/local/bin:$PATH
    su
    velocity

    This will automatically set su permissions and open the velocity script. If you don't need the script and want to just use terminal emulator just press 0 and enter although you'll see the velocity exit art you can use terminal emulator as you normally would
     

    Advertisement

    azuma73, savoxis, CGraham and 5 others like this.
  2. netizenmt

    netizenmt Android Enthusiast
    Rank:
    None
    Points:
    88
    Posts:
    490
    Joined:
    Oct 3, 2010

    Oct 3, 2010
    490
    111
    88
    Technical Support
    Mansfield, OH
    Good tip! Thanks!

    BTW if you do this, don't hit the Enter key after typing Velocity in the script or it exits back out.
     
  3. kninetimmy

    kninetimmy Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    103
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    103
    1
    36
    Dude you rock! nice!
     
  4. Idunno

    Idunno Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    352
    Joined:
    Dec 2, 2010

    Dec 2, 2010
    352
    87
    53
    Ice cream depleater, rhyme repeater
    SoCal
    Awesome, thanks for the tip! This makes it so much easier to fiddle with the velocity settings in terminal... it may sound lazy but typing su and velocity every single time to get to the menu gets real annoying real quick and this was the perfect fix.
     
  5. CGraham

    CGraham Newbie
    Rank:
    None
    Points:
    16
    Posts:
    18
    Joined:
    Aug 3, 2010

    Very handy! I never even thought to check the menu in TE before this, LOL. Font size increased too..

    ^This.

    Thanks, kped!
     
  6. username.unknown

    Rank:
    None
    Points:
    16
    Posts:
    45
    Joined:
    Oct 28, 2010

    Oct 28, 2010
    45
    4
    16
    A very good idea indeed... This is what I use:

    export PATH=/data/local/bin:$PATH
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

    This gives me read/write access to EVERYTHING (I think). I usually use the terminal for other things the the "velocity script", however I do find it useful. I pilfered it from the root instructions. This works for me, but IT MAY NOT WORK FOR YOU depending on a2sd, partitions, and partition preferences. Use at your own risk and make a nandroid first.

    Devs, mods, admins, correct me if I'm wrong.
     
  7. savoxis

    savoxis Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    812
    Joined:
    Aug 10, 2010

    Aug 10, 2010
    812
    708
    163
    ODOT Field Services Tech
    Pacific NW
    This will mount your /system partition writable. However Velocity 1.0 you do not need to issue this or sysrw or any other, as the /system partition is automatically mounted writable at boot.
     
    username.unknown likes this.
  8. username.unknown

    Rank:
    None
    Points:
    16
    Posts:
    45
    Joined:
    Oct 28, 2010

    Oct 28, 2010
    45
    4
    16
    awesome, thanks, I didn't know that
     
Tags:

Share This Page

Loading...