mercoledì 14 luglio 2010

Froyo Build - First Fastboot

Now I'm able to build froyo image, but I have an error flashing it.
The error is :


fastboot update Dream.zip -w
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 0.95.3000
Baseband Version.....: 2.22.19.26I
Serial Number........: HT91RL(XXXXXX)
--------------------------------------------
checking product... OKAY [ 0.006s]
checking serialno... OKAY [ 0.009s]
checking version-bootloader... OKAY [ 0.012s]
checking version-baseband... FAILED

Device version-baseband is '2.22.19.26I'.
Update requires '2.22.26.07'.

finished. total time: 0.070s


The solution is:
Open the board-info.txt and replace
require version-baseband=2.22.26.07
with this
require version-baseband=2.22.19.26I> 



Happy flashing

Dr.Luiji

lunedì 12 luglio 2010

How to use VirtualBox USB passthrough (Windows host to Ubuntu guest)

I've had some problems with the ADB via VirtualBox USB passthrough. My configuration is: Windows 7 (host) to Ubuntu 10.04 64-bit (guest) and my VirtualBox version is 3.2.6.

This article[^] solve my problem.

Many thanks commandar

Dr.Luiji

venerdì 9 luglio 2010

How to: Install VirtualBox Guest Additions into Ubuntu

If you try to install VirtualBox Guest Additions in Ubuntu 10.04 32-bit or 64-bit, you'll have some problems with administrator privileges.

The fast way is open it with the autorun prompt. The steps are 2.

  1. Install the VirtualBox Guest Additions from the VirtualBox menu. Now in the Ubuntu's Destop you will find the CD link, something like VBOXADDITIONS_XXXX

  2. Right click on the VBOXADDITIONS_XXXX icon on Desktop and select 'Open with Autorun Prompt'. Insert your password.

Wait the end of installation (about one minute) and restart your SO.

Have a nice day

Froyo Build - 64-bit SO is preferred

I found this post on google groups.


Build Error during Make

Where Jean-Baptiste M. "JBQ" Queru said:
Java6 is not available in 32-bit on all platforms. 
Given that all of Google's development and testing happens on builds
created on 64-bit machines, there's some level of risk in letting
device manufacturers use 32-bit environments as we don't know what
happens in those cases. Java6 allows us to standardize on 64-bit and
eliminate that risk.


And I found an Issue that is exactly mine (10 hours ago).
Android Build issue with Ubuntu 10.04

I can't wait the answer I switch to 64 environment.

giovedì 8 luglio 2010

Froyo Build - JDK 6 is the correct version

To build the files you need the java 6. The Android documents are out of date.
This is the error if you build with the java 5
 
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.5.0_19".
The correct version is: 1.6.

Jean-Baptiste Queru answer to my question: JDK 5 or 6?

So I install JDK 6.0 under Ubuntu 10.04 32 bit with these command-line:


sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk


Froyo Build - Set bin directory is in your path on Ubuntu 10.04

If you haven't the bin directory is in your path, add it with these commands

  • Open the user .bashrc

    sudo gedit ~/.bashrc


  • Add at the end the bin file this line

    PATH=~/bin:"${PATH}"


  • Save and exit.

Froyo Build - Intrepid (8.10) on Ubuntu 10.04

The third step to set up your Linux development is not needed if you are not a Intrepid ( 8.10) users.

$ sudo apt-get install lib32readline5-dev 

Froyo Build - Install JDK 5.0 on Ubuntu 10.04

Intro


Recently I've decided to build the Android system image (Froyo) for my ADP1 from the lastest Android Open Source Project (AOSP).
I try to build it on Ubuntu Linux 10.04 LTS Desktop Edition 32-bit (x86).

If you'll follow the steps in Getting the Source probably you'll find some issues.
The first issue will be in the first step (Setting up your machine), installing the packages for Sun JDK 5.
The command below it gives you an error about JDK 5.

sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

E: Couldn't find package sun.java5.jdk

So, before of this command you have to use the cure to enable JDK5 and below you can find all the instruction.

Install JDK 5.0


These are the steps to solve the problem.
  1. Open the sources.list with GEdit or with your preferred editor

    sudo gedit /etc/apt/sources.list

  2. Enable the package including in the list the Sun JDK 5. Add this line at the end of file.

    deb http://ir.archive.ubuntu.com/ubuntu jaunty-updates main multiverse

  3. Update you package

    sudo aptitude update

  4. Now you may install it with all the others packages

    sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

    or alone

    sudo apt-get install sun-java5-jdk

That's all. Now you can continue with the Android's document.
Have a nice day.