Categories
Android MAC OS X

Browse internet from Mac with android

At last i managed to get browsing working through 3G connection in android (donut 1.6).

Steps:
– Enable root in android
– install android-wifi-tether (http://code.google.com/p/android-wifi-tether/)
– configure it either with bluetooth or wireless
– connect your laptop with the android using wireless or bluetooth
– there we go now you should be able to browse internet, if you have netfilter module properly working in wireless tether
– since my kernel doesnt have netfilter module, the natting was not working – I was able to resolve domains from my laptop , but was not able to get the data
– Installed proxoid, and started
– Configured my webbrowser to use proxoid as proxy, it works … charm!!!!

./arun

Categories
Android

get the root access back on android development phone ADP1

After upgrading ADP1 with 1.6 , the root access has gone.

It can be recovered with adb tool:

do adb to the phone
$adb shell
$mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
$cd /system/bin
$cat sh > su
$chmod 4755 su

Ref: http://phandroid.com/2009/04/29/adp-15-initial-thoughts/

Categories
Linux MAC OS X

working with “screen”

Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). It is mainly useful to keep the sessions uninterrupted, especially when you run time consuming scripts.

$ screen
open a new session Ctrl+a+c
Scroll between sessions Ctrl+a+a

retain the sessions
$screen -dr

Categories
Android

upgrade android to 1.5 cupcake

It was quiet trivial to update the android operating system to 1.5 manually,

The instructions for HTC ADP can be found at : http://developer.htc.com/adp.html

./arun

Categories
Linux

Tips to avoid spams from spamassassin

http://wiki.apache.org/spamassassin/AvoidingFpsForSenders

Categories
Linux

[Resolved] Postfix X-Authentication Warning

X-Authentication-Warning can appear on the mail header , when the user sending email is not trusted by the mail server. There is a chance that email are considered as spam because of this.

To fix it you can add the user to /etc/mail/trusted-users

If your system has forms that used to send email as apache user, you can add “apache” user to the trusted-users file.

Categories
Android

Working with Android SDK on MAC OS X

– Install Eclipse : http://www.eclipse.org/downloads/ (A Java or RCP version of Eclipse is recommended.)
– Download android SDK to a particular location
– Create a .bash_profile under your home directory (if not existing) with :
– Start eclipse and go to Help > Software Updates > Add Site
Enter the url : https://dl-ssl.google.com/android/eclipse/
and click finish. now you will be able to see the Developer tool listed
– Select and install the Developer tools from the same window.
– Restart eclipse.
– Connect your phone and test running your application.

./arun

Categories
Android

Got HTC G1 Android working with Airtel Kerala

It was disappointing to just keep watching a phone without even switching it on, It took longer time to get HTC G1 development phone shipped to India.  G1 mandates to login to google account to start using it, and there is no option to turn on wireless or skip this login process. I tried with the BSNL APN details but does not help, the customer support was saying this phone is not supported :).  Anyway with Airtel connection  and manual APN details, managed to get the Internet working .

Name : Airtel (it can be anything, just a name)
APN : airtelgprs.com
Proxy : 202.56.231.117
Port : 8080
Username : <Not Set>
Password : <Not Set>
Server : <Not Set>
MMSC : <Not Set>
MMS Proxy : <Not Set>
MMS Port : <Not Set>
MCC : 404
MNC : 95
APN Type: <Not Set>

./arun