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/

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

[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.

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

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