Android on iPhone

To spare typing and posting time, I’ll post the link to the guide that I followed:

http://www.idroidproject.org/wiki/Installing_iDroid_(Linux)

That link is actually for a Linux, so I uses VirtualBox and a Linux (Ubuntu) image file. From there I followed most part of the guide.

However I’ll post my observation (on 2G):

  • It’s running way too sluggish
  • Call sometimes doesn’t work (stuck at the calling, but not really dialing)
  • Phone becomes really warm and battery drain is too much
  • There’s not enough button
  • Overall condition is not really usable for daily use

Couple notes:

  • If Wifi connects but browser not going anywhere, try the DNS fix
  • All “adb” type commands require the download of SDK
  • If Virtual Box can’t connect to the iPhone when doing the ‘./oibc’ portion, you may need to shut down and restart your virtual machine (including the Virtual Box itself)
  • Going to Apple’s recovery mode (for upgraders) from the openiboot would require you to hold the “Menu” button after choosing the iPhone mode

Post comments for questions and help on how to install iDroid.

[SOLVED] SMTP Auth on Ubuntu with Postfix Problem

Problem: postfix/smtpd[12563]: warning: unknown[192.168.1.126]: SASL PLAIN authentication failed: authentication failure
Solution: Change the line that says

MECHANISMS="pam"

in /etc/default/saslauthd to

MECHANISMS="shadow"

Problem: postfix/smtpd[16619]: warning: SASL authentication failure: Password verification failed
Solution: Change /etc/init.d/saslauthd line from

PIDFILE=$RUN_DIR/saslauthd.pid

to

PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"

and set ownership to group sasl then put ther user postfix in group sasl

Tags: , ,

[HOWTO] Log Apache to MySQL on Ubuntu 8.04 (Hardy Heron)

Installing the Software
Run the following commands in terminal:

sudo apt-get update
sudo apt-get install libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl

Create DB & User
Run the following commands in MySQL:

CREATE DATABASE apachelogs;
GRANT INSERT,CREATE ON apachelogs.* 
  TO apachelogger@localhost 
  IDENTIFIED BY 'insert_passwd_here';
FLUSH PRIVILEGES;

Add Entry to apache2.conf
Add the following entry to apache2.conf before the VirtualHost settings (commonly before

Include /etc/apache2/sites-enabled/

):

LogSQLLoginInfo mysql://apachelogger:insert_passwd_here@localhost/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
LogSQLTransferLogFormat AabfHhmRSsTUuvI

Modify Each Virtual Host
For each virtual host that you want to log to SQL, add the following line:

LogSQLTransferLogTable this_site_com

where access_log is replaced by any table name; to differentiate many different virtual host, you can use the name of each virtual host here by replacing each dot (‘.’) with underscore (‘_’)

Tags: , , , , ,

[SOLVED] DVD Video Only Runs at Fullscreen

If you’re on Ubuntu 8.04 (Hardy Heron), the Multimedia Systems Selector is hidden. You will need to enable this first.

Enabling Multimedia System Selector

  1. Goto System -> Preferences -> Main Menu
  2. Browse to System -> Preferences section
  3. Check the box where it says “Multimedia System Selector”

Changing the Multimedia System Video Output

  1. Goto System -> Preferences -> Multimedia System Selector
  2. Goto Video Tab
  3. Change the Default Output Plugin to “X Window System (No Xv)”
  4. Click OK & Restart Movie Player

Changing the VLC Setting

  1. Goto Settings -> Preferences -> Video -> Output Modules
  2. Check the box that says “Advanced options” at the lower right corner
  3. Change the Video output module to “X11 video output”
  4. Click Save

UPDATE:
Changing the Xine Setting

  1. Right Click -> Settings -> Setup (or Alt+S)
  2. Change “Configuration experience level” to “Expert”
  3. Goto Video and change “Video driver to use” to “xshm”
  4. Click Apply, Close then restart Xine

Tags: ,