Manual to Compile Android for PINE46
#21
I sent a message to allwinner, so let's wait and see their answer

Sent from my Nexus 6 using Tapatalk
#22
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_A6...ux_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
#23
(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_A6...ux_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
#24
(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.
#25
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.
#26
I sent them too, and no one answered too. Maybe is it better to ask Alwinner?


Sent from my iPhone using Tapatalk
#27
(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 ?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 381,694 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 29,148 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 16,517 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 6,861 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 6,930 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,517 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,289 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 253,709 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,492 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 103,756 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)