(Many) Sick Linux Commands
These 75 (so far) tips are too good not to repost/archive for all the *nix geeks!
I did NOT write these, see the links below:
Getting the Samsung Galaxy S to work with Android SDK on Ubuntu
Just an info dump here.
To get the Samsung Galaxy S working with the Android SDK in Ubuntu, some setup is needed, else you'll be getting errors like this:
? adb devices List of devices attached ???????????? no permissions
I did these on a Ubuntu Lucid Lynx, but this should work for other versions/distro of Linux too I think.
1)
Change to root
? sudo -
2)
Create the needed file. 04e8 refers to the Vendor ID for the Samsung manufacturer.
# echo 'SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"' >> /etc/udev/rules.d/51-android.rules
3)
Restart the udev service
# /etc/init.d/udev restart
4)
Plug in the phone (make sure debugging mode is already enabled), and run adb as needed
? adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached [device-id] device
Hope this helps whoever needs this.
More automation needed
Although I've managed to configure the server such that there's a fair amount of automation for appropriate tasks (phone homes, automated monitoring and basic defenses), the time needed daily to monitor/maintain it still adds up...and is unreasonable collectively.
Looks like I'll have to look into further automating some of the tasks...