Root tip for terminal and velocity script

kpedx

Newbie
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
 

netizenmt

Android Enthusiast
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.
 

Idunno

Android Enthusiast
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.
 

CGraham

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

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.

^This.

Thanks, kped!
 
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.
 
Top