OpenMediaVault (PINE A64(+)) 4.13.10 [Nov 21] | OpenMediaVault (A64-LTS / SOPINE) 4.13.10 [Nov 21] | Q4OS (PINE A64(+)) 2.4-r1 [Nov 10] | Volumio (ROCK64) 2.299 [Oct 30] | Q4OS (Pinebook) 2.4-r1 [Oct 30] | DietPi (ROCK64) v156 [Oct 24] | Armbian - Xenial Desktop (Pinebook) 5.34 [Oct 24] | motionEyeOS (PINE A64(+)) 20171003 [Oct 23] | Android Images (ROCK64) 20171012 [Oct 23]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


New procedure for building Android from source
#21
(08-08-2016, 12:31 PM)jonsmirl Wrote: image in:
../lichee/tools/pack/sun50iw1p1_android_Baomi-db1000_uart0.img

Hi Bro Jonsmirl..

Sorry for being noob..

May i know that image was created is rooted or non rooted?

Thanks ^_^v

* really need non rooted android.. it is really pain cant get what i want if i got Pine64..
** right now stick back to Raspi for RetroPie and ISP STB Box with android 4.1 1gb for streaming video

I asked twice for non rooted image from dev but.............. hmmmm i should not bought Pine64!!
Reply
#22
Quote:I asked twice for non rooted image from dev but.............. hmmmm i should not bought Pine64!!

You have to compile by yourself. And find an answer by yourself. Since this is development board Smile
Reply
#23
Quote:That file is very old and it was not zipped correctly. We need a new dump from them.

I were able to compile Android 6.0 from that, with a few tweaks I also managed to start it, and it starts, with a few more tweaks I managed to fix video issues and it shows launcher Smile
Reply
#24
(08-30-2016, 03:17 PM)ayufan Wrote:
Quote:That file is very old and it was not zipped correctly. We need a new dump from them.

I were able to compile Android 6.0 from that, with a few tweaks I also managed to start it, and it starts, with a few more tweaks I managed to fix video issues and it shows launcher Smile

It would be great if you can share your sources with us once you are able to get it running properly. Smile
Donate BTC: 16jzTwuTUEErKfzvadRdx5wQsqN2qkM5em
Reply
#25
Why not directly bump to Android 7.0 ?
Reply
#26
(08-08-2016, 12:31 PM)Hello Wrote: useing Ubuntu LTS 14.04 (64bit)
I am trying to build image by these steps:

first run

mkdir ~/bin
PATH=~/bin:$PATH
#Download the Repo tool and ensure that it is executable:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
mkdir android
cd android
repo init -u https://github.com/pine64-android/manifest.git -b master
repo sync
. ./build/envsetup.sh
lunch tulip_chiphd-user, Baomi/db1000
make -j 5

error output:

hardware/aw/widevine/Android.mk:2: hardware/aw/widevine/widevine_L/Android.mk: No such file or directory
make: *** No rule to make target `hardware/aw/widevine/widevine_L/Android.mk'.  Stop.


2nd run

mkdir android
cd android
repo init -u https://github.com/pine64-android/manifest.git -b master
repo sync

stop make tar.gz and save it somewhere

cd android
. ./build/envsetup.sh
lunch tulip_chiphd-user, Baomi/db1000
make -j 5

error output:

hardware/aw/widevine/Android.mk:2: hardware/aw/widevine/widevine_L/Android.mk: No such file or directory
make: *** No rule to make target `hardware/aw/widevine/widevine_L/Android.mk'.  Stop.

I see what error is, but do i find this file?

Thank You
Daniel

jonsmirlhttps://gitlab.com/pine64-android/manifest/wikis/home

This procedure is new so it may have issues. The key feature is that all of Android and lichee are in git. That means you can clone the repos (look in the manifest files), make changes, and then send pull requests.  Then use 'repo sync' to get everyone's changes.

Anyone up for getting this working on the longsleep kernel so that we can get rid of lichee?

You need 100GB free disk space, it uses 96GB.
This takes around nine hours to run depending on network and CPU speeds.

$ mkdir ~/bin
$ PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

$ mkdir android
$ cd android
$ repo init -u https://github.com/pine64-android/manifest.git -b master
$ repo sync
$ . ./build/envsetup.sh
$ lunch (tulip_chiphd-user, Baomi/db1000)
$ make -j 5
$ cd ..
$ mkdir lichee
$ cd lichee
$ repo init -u https://gitlab.com/pine64-android/manifest.git -b master
$ repo sync
$ ./build.sh config (choose '0' for all)
$ ./build.sh
$ cd brandy
$ ARCH=aarch64 ./build.sh
$ cd ../../android
$ extract-bsp
$ pack

image in:
../lichee/tools/pack/sun50iw1p1_android_Baomi-db1000_uart0.img

This makes a Phoenix card image.
Lot's of tools for installing here: lichee/tools/tools_win

To get a 'dd' image, install it to an SD Card. Boot it. Then use 'dd' to copy the image off from the SD Card.

Google Play login seems to be working in this build.

Also note that by adding items to the manifest apps like Kodi can be included in the build.
Reply
#27
Building android fails with the following error for me :
Quote:build/core/Makefile:34: warning: overriding recipe for target 'out/target/product/tulip-chiphd/system/lib/hw/gralloc.default.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/tulip-chiphd/system/lib/hw/gralloc.default.so'
build/core/Makefile:34: warning: overriding recipe for target 'out/target/product/tulip-chiphd/system/lib64/hw/gralloc.default.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target 'out/target/product/tulip-chiphd/system/lib64/hw/gralloc.default.so'
No private recovery resources for TARGET_DEVICE tulip-chiphd
Symlink: out/target/product/tulip-chiphd/system/bin/app_process -> app_process64
target Executable: app_process (out/target/product/tulip-chiphd/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64)
/media/drich/65510731-cacb-498b-972e-daec71ef9464/android/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: warning: libVE.so, needed by out/target/product/tulip-chiphd/obj/lib/libvdecoder.so, not found (try using -rpath or -rpath-link)
/media/drich/65510731-cacb-498b-972e-daec71ef9464/android/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin/ld: warning: libcdx_base.so, needed by out/target/product/tulip-chiphd/obj/lib/libvdecoder.so, not found (try using -rpath or -rpath-link)
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeInitialize'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeDisableJpegDecoder'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeWaitJpegDecodeInterrupt'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeRelease'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeWaitInterrupt'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeReset'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeGetDramType'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeUnLock'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeDecoderWidthMode'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeLock'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeChipId'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeResetJpegDecoder'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeGetIcVersion'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeGetRegisterBaseAddress'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeJpegDeUnLock'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeJpegDeLock'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeEnableDecoder'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeResetDecoder'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeDisableDecoder'
out/target/product/tulip-chiphd/obj/lib/libvdecoder.so: undefined reference to `VeSyncIdlecheck'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:69: recipe for target 'out/target/product/tulip-chiphd/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64' failed
make: *** [out/target/product/tulip-chiphd/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process64] Error 1
There is not a single trace of libVE.so nor libcdx_base.so anywhere...
Reply
#28
(08-08-2016, 12:31 PM)jonsmirl Wrote: $ cd ../../android
$ extract-bsp
$ pack

Where are these commands located? I got a "command not found" error when trying to run "extract-bsp"
Donate BTC: 16jzTwuTUEErKfzvadRdx5wQsqN2qkM5em
Reply
#29
Code:
source build/endsetup.sh
Reply
#30
I sure wish I knew about the hidden Update App in Android 5.1.1.  Pine is really S*** about ANY instructions.  If they gave 1/2 of a percentage about documentation as they do design they product would not be such shit to work with.  Once you spend weeks and months finding all the hidden info they hide from you and use the only decent releases the board is really not that bad but you have to spend a hundred hours to make it work, which is not worth it, in what should take 2 hours total since they do not give a shit to supply ANY instructions or documentation.  The hardware is slow but decent for the price.  The support is pure s***.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android 6.0 How to turn the screen back on modsbyus 3 81 5 hours ago
Last Post: modsbyus
  USB GPS dongles that work with Android on Pine64+ ? trondkj 2 147 11-16-2017, 02:14 PM
Last Post: Skivholme
  Android 7.1 reboot on Pine64 2GB rkbren81@gmail.com 2 162 11-07-2017, 06:33 AM
Last Post: rkbren81@gmail.com
  GPIO access running Android rddragon888 20 3,600 11-06-2017, 07:18 AM
Last Post: Anvesh Reddy
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 41 9,946 10-31-2017, 04:38 PM
Last Post: Blastmun
  Android 7.1 (PINE A64(+)) pineadmin 44 8,274 10-27-2017, 04:14 PM
Last Post: Luke
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 215 37,396 10-19-2017, 05:40 PM
Last Post: renijesy
  the wait is over, marcus. microsoft edge is available on android. dkryder 1 131 10-13-2017, 10:10 PM
Last Post: MarkHaysHarris777
  Kodi on Android Mikiya 80 36,413 09-13-2017, 06:25 AM
Last Post: iluvraspberry
  <•••> and no audio on my android is Help PoppaLeague 0 80 09-10-2017, 01:32 AM
Last Post: PoppaLeague

Forum Jump:


Users browsing this thread: 1 Guest(s)