Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: ph.fouquet on January 20, 2014, 12:44:58 PM

Title: [solved] Build Android JB from scrach
Post by: ph.fouquet on January 20, 2014, 12:44:58 PM
Hi
I bougth a A20-Olinuxino-Micro 4Gb and I vant to build a new android image (A20_android_422_TS_USB_UART_I2C_WIFI_LAN_HDMI_LCD_800x480_release_3.7z) from scrach. This image use a kernel 3.4.39+ and android JB (with device wing_nck70)

In fisrt I download the tow SDK :
In aw.tar.bz2 -> lichee-v2.0.tar.gz I find the kernel 3.4.39 with the flex file for board wing_nck70 I thing that good, but in aw.tar.bz2 i have a Android ICS

In A20-V1.2.tar.gz I find a Android JB but I don't the device wing-nck70 (with a prop ro.product.firmware=V2.0)

Some body can say me where I can download this deice or where I can find a tutorial for build a Android image like A20_android_422_TS_USB_UART_I2C_WIFI_LAN_HDMI_LCD_800x480_release_3.7z

thanks for reply
Title: Re: Build Android JB from scrach
Post by: wiesel24 on January 20, 2014, 04:00:31 PM
Hi
http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/ (http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/) here you can find the A20 SDK 2.0 with JB 4.2 source. Download the aw.tar.bz2
Greets
Wiesel
Title: Re: Build Android JB from scrach
Post by: dave-at-axon on January 20, 2014, 07:00:11 PM
I've been trying to build Android with little success. The Linux kernel builds OK but Android fails with a number of errors.

I am running Ubuntu 10.04 64 bit under a virtual machine and can build the stock Android OS from Google. I can also build a FriendlyArm Android ICS source.

Is there a webpage somewhere with all the requirements and installs to build the Olimex source?
Title: Re: Build Android JB from scrach
Post by: wildzero on January 20, 2014, 07:22:20 PM
Quotebut Android fails with a number of errors

copy/paste the error here

Which java do you use? My build errors where solved with oracle java. The errors then just became warnings.
Title: Re: Build Android JB from scrach
Post by: ph.fouquet on January 21, 2014, 10:30:57 AM
Quote from: wiesel24 on January 20, 2014, 04:00:31 PM
Hi
http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/ (http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/) here you can find the A20 SDK 2.0 with JB 4.2 source. Download the aw.tar.bz2
Greets
Wiesel

Thank for reply

But in this file I have a archive lichee-v2.0.tar.gz that containt the good kernel 3.4.39 and all information for wing_nck70 boad
But for android I have android4.0.tar.gz the version 4.0 is ICS not JB and in this archive I don't find wing_nck70 devicce like precompiled image.

Where is my mistake?
Title: Re: Build Android JB from scrach
Post by: dave-at-axon on January 21, 2014, 03:50:12 PM
Quote from: wildzero on January 20, 2014, 07:22:20 PM
copy/paste the error here

Which java do you use? My build errors where solved with oracle java. The errors then just became warnings.

I deleted everything and tried again. This time "make" ran and completed without any errors. I then run pack and it seemed to work.

Where do I find the output image that was created?
Title: Re: Build Android JB from scrach
Post by: ph.fouquet on January 21, 2014, 05:03:11 PM
At the end of pack command if all is ok you must have a red line who give you the path for the image

If your image work can you give me the command ligne that you used

thank
Title: Re: Build Android JB from scrach
Post by: ph.fouquet on January 24, 2014, 09:21:48 AM
refer to topic https://www.olimex.com/forum/index.php?topic=2475.0