Sony Xperia tipo

From Random Projects
Jump to: navigation, search

The Sony Xperia tipo is an Android smartphone.



Android info

  • Model number: ST21i
  • Android version: 4.0.4
  • Baseband version: 7x25A_M:2045. 2045.
  • Kernel version: 3.0.8-perf user@PC2-desktop #1
  • Build number: 11.0.A.0.16



System info

See Sony Xperia tipo/System info.

Android SDK setup on Debian/Linux


Download and extract the Android SDK (for Linux, in this case).

$ wget
$ tar xfvz android-sdk_r20.0.3-linux.tgz

Start the Android "SDK Manager" tool, which allows you to download the rest of the SDK components:

$ cd android-sdk-linux
$ tools/android update sdk

Select/enable "Android SDK Platform-tools" and "Android Support Library" additionally to the already selected components, then click "Install packages" to download and install the respective SDK components. You can use the same GUI later to upgrade components as needed.


You can use Eclipse as IDE for Android development together with the SDK and the ADT plugin. This is not a strict requirement though, you can also use the SDK tools from the command-line and work without Eclipse if you want.

Eclipse via Debian package

This is the simplest method, but you need Eclipse >= 3.6 (older versions won't work). If your distro has a recent enough version:

$ apt-get install eclipse

On 64-Bit Linux you might need to install the ia32-libs package:

$ apt-get install ia32-libs

Manual Eclipse download

If your distro has an Eclipse version that's too old, you can download a recent tarball from the upstream developers.

Download the Eclipse IDE >= 3.6 (the "Eclipse IDE for Java Developers" variant), then extract it somewhere:

$ tar xfvz eclipse-java-juno-SR1-linux-gtk.tar.gz

If you haven't already installed the Java JDK (>= 6.x) and ant (>= 1.8), you can do that now, e.g. like this (on Debian):

§ apt-get install openjdk-7-jdk ant

Note: According to the Android docs, the "GNU Compiler for Java" (gcj) does not work for Android development, use the Sun/Oracle JDK.

On 64-Bit Linux you'll also need to install the ia32-libs package:

$ apt-get install ia32-libs

Eclipse setup

Start Eclipse and configure it for Android development use by installing the ADT plugin.

When asked, tell Eclipse the location of your Android SDK (e.g. $HOME/android-sdk-linux).

adb setup

See here.

For the Sony Xperia tipo you can use a file like this (on recent Debian distros):

$ cat /lib/udev/rules.d/51-android.rules
ACTION!="add|change", GOTO="android_rules_end"
SUBSYSTEM!="usb|usb_device", GOTO="android_rules_end"

# "Sony Ericsson Mobile Communications AB" (e.g. Sony Xperia tipo)
ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="5170", MODE="664", GROUP="plugdev"