[Android Stick & Console Computers General] lvleph:
Yep, you read that correctly. I have optware, ssh, samba, transmission, and flexget working on my Minix X5 Mini. This should work for any rooted device which has an adb connection enabled. This will work on the original ROM. In fact, I use the stock ROM. For those not using a Minix device this should work on any ARM device. Sorry but all the binaries are built on ARM.

JUST AS EVERY OTHER DEVELOPER: I AM NOT RESPONSIBLE IF YOU BRICK YOUR DEVICE! MAKE A BACKUP!

Requirements:

Linux box with adb (don't ask me about windows, I don't support bad habits)

clockworkmod (for a backup)

root

internet connection

Process:

Make a backup of your ROM!

Download files (gitHub)

You have two options here:

Download the zip via https://github.com/erichlf/AndroidSeedBox/archive/master.zip and unzip it.

Clone the repo using git via 'git clone git@github.com:erichlf/AndroidSeedBox.git'

Make script executable

chmod +x optware-etc.sh

Obtain adb connection to device (covered in another thread)

Gain root access on local machine (adb seemed to require this for things to work)

sudo su

Run script and follow directions

./optware-etc.sh

Use SManager to run /opt/home/root/sysinit at every restart.

Notes:

The script can be modified to change the various programs that I install. You could exchange transmission for deluge for example.

Transmission can be accessed from the minix through localhost:9091 or from some other machine using your ip-address and the port 9091. If that doesn't work you should edit the config file located at /opt/home/root/.config/transmission-daemon/settings.json

username: root

password: you provided this in the install script

Without SManager nothing will start automatically. However, if you have a ROM which has init.d support you can move the scripts in /opt/etc/init.d to /etc/init.d I would suggest maybe linking the two instead of just moving the scripts or possibly adding a script to /etc/init.d which runs the items in /opt/etc/init.d The reason is because when installing things using ipkg the startup scripts will be placed in /opt/etc/init.d and not /etc/init.d However, it is extremely important that optware is started, and this is partly what sysinit accomplishes.

To list available packages

ipkg list

To install a new package use the command

ipkg install <new package>

To remove a package use the command

ipkg remove <package to remove>

cron is weird and I couldn't get it to work like it should, but I got it to work

While on the Android device (ssh or terminal emulator)

Create a .crond file in the home directory of your device (/opt/home/root/) with some schedule in it. Remember to leave a blank line at the end of the file.

Tell cron about the .crond file

crontab -u root /opt/home/root/.crond

Make sure cron sees the cron file

crontab -l

If you want to edit your cronfile use a text editor and edit the file directly and then tell cron about the file again.

Many things are installed in what seem like strange places, so use

which <binary you are looking for>

Feel free to help develop the code. I think what would be best is an update.zip or a CWM flashable zip. Right now I don't know how to do this, but once I get more time I will look into it. So, any help on this front is welcomed.

Enjoy!