PINE64
Manual to Compile Android for PINE46 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Manual to Compile Android for PINE46 (/showthread.php?tid=1116)

Pages: 1 2 3


RE: Manual to Compile Android for PINE46 - lvcargnini - 05-31-2016

I sent a message to allwinner, so let's wait and see their answer

Sent from my Nexus 6 using Tapatalk


RE: Manual to Compile Android for PINE46 - NGC6691 - 05-31-2016

I found something interesting.

To generate the full android image (I think) we also need the Linux BSP (http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_2.0)

I started to make a workspace directory and unzip in it Android and Linux SDK.
Code:
$ mkdir ~/mydroid
$ cd ~/mydroid
$ unzip A64-BSP-2.0.zip
$ unzip A64-Android-6.0-SDK.zip
after this you must have mydroid with android and lichee directories inside.

Now compile Android:
Code:
$ cd android
$ export USE_CCACHE=1
$ export CCACHE_DIR=/path/to/your/.ccache
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
$ source build/envsetup.sh
$ lunch tulip_p1-eng

..and, at the end:
Code:
$ pack
Now you should have a generated image in ~/mydroid/lichee/tools/pack named sun50iw1p1_android_p1_uart0.img

I tried to write it on my SD with PhoenixCard but does not boot.  Dodgy


Manual to Compile Android for PINE46 - IlyaM - 06-01-2016

(05-28-2016, 06:49 PM)tllim Wrote:
(05-28-2016, 02:43 AM)NGC6691 Wrote: @lvcargnini: Allwinner must do it, not us.
Well, we don't know which AOSP projects they have modified and is near impossible to set up a github tree.

Not sure whether this shell file help up. Disclaimer, I am not Android software engineer.


According to this document, they use zzzz-chiphd instead of tulip_p1, am I right?


Sent from my iPhone using Tapatalk

(05-31-2016, 09:15 AM)NGC6691 Wrote: I found something interesting.

To generate the full android image (I think) we also need the Linux BSP (http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_2.0)

I started to make a workspace directory and unzip in it Android and Linux SDK.
Code:
$ mkdir ~/mydroid
$ cd ~/mydroid
$ unzip A64-BSP-2.0.zip
$ unzip A64-Android-6.0-SDK.zip
after this you must have mydroid with android and lichee directories inside.

Now compile Android:
Code:
$ cd android
$ export USE_CCACHE=1
$ export CCACHE_DIR=/path/to/your/.ccache
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
$ source build/envsetup.sh
$ lunch tulip_p1-eng

..and, at the end:
Code:
$ pack
Now you should have a generated image in ~/mydroid/lichee/tools/pack named sun50iw1p1_android_p1_uart0.img

I tried to write it on my SD with PhoenixCard but does not boot.  Dodgy


I had too many troubles with phoenixcard. Even though official firmware didn't work with it.

Try to use dd. I mean the problem can be with poenixcard


Sent from my iPhone using Tapatalk


RE: Manual to Compile Android for PINE46 - NGC6691 - 06-02-2016

(06-01-2016, 05:26 PM)IlyaM Wrote: According to this document, they use zzzz-chiphd instead of tulip_p1, am I right?

zzzzz-chiphd it's only a set of bash scripts to manage and update the SDK from the Allwinner private git repository where we can't connect.

(06-01-2016, 05:26 PM)IlyaM Wrote: I had too many troubles with phoenixcard. Even though official firmware didn't work with it.

Try to use dd. I mean the problem can be with poenixcard

Unfortunately AFAIK Phoenixcard is the only way to flash images generated from the SDK.

BTW how it's possible that no one even from the staff know how use the SDK, that's pretty embarrassing for the company behind PINE64.


RE: Manual to Compile Android for PINE46 - NGC6691 - 06-22-2016

I sent two email to the support (support@pine64.com) and I never received an answer.

The Android SDK it's just a DEMO, this is what git says "exdroid-6.0.1_r3-a64-v2.0-demo release"

(06-22-2016, 08:34 AM)fneves Wrote: Better forget about this device.
Pine64 team don't care. AllLoser don't care.

... and they called this the next RPi, yeah right.



Manual to Compile Android for PINE46 - IlyaM - 06-22-2016

I sent them too, and no one answered too. Maybe is it better to ask Alwinner?


Sent from my iPhone using Tapatalk


RE: Manual to Compile Android for PINE46 - lvcargnini - 06-22-2016

(06-22-2016, 12:22 PM)IlyaM Wrote: I sent them too, and no one answered too. Maybe is it better to ask Alwinner?


Sent from my iPhone using Tapatalk

I sent a message to AllWinner and not answer either. There is anyone fluent in Mandarin that could send a message to AllWinner to if they would answer ?