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
#11
(08-09-2016, 03:13 PM)jonsmirl Wrote: This build will run into several issues on Ubuntu 16.04.

Do you mean errors about "relocation error 43" or something like that? If yes, cherry-pick this commit to solve: https://android.googlesource.com/platfor...b37110ecf0
Reply
#12
"relocation error 43" is one of several errors you will hit when building on 16.04. Note that building Android on 16.04 is not supported by Google's AOSP. You can make it work by fixing various things. If you build on 14.04 you won't have any problems.

Another issue with building AOSP on 16.04 is that it wants OpenJDK 7 which is no longer an install option on 16.04. You have to hack around with the Java support to make something else work.

Easy solution is just to make a 14.04 VirtualBox on 16.04
Reply
#13
I'm on Linux Mint 18 and I don't have any problem, I just had to set

Code:
export JAVA_HOME=/path/to/JDK7
export PATH=$PATH:/path/to/JDK7/bin

to compile AOSP with JDK7 instead of the v8.


@jonsmirl: I made a small patch to solve this error while building u-boot:
Quote:Makefile:1200: *** missing separator.

See here: http://pastebin.com/raw/bMZAhudn
Reply
#14
I have a question about commits. There are two "Initial Pine64 checkin" commits on some projects.
Does the first commit comes from BSP 1.0 and the other one comes from BSP 1.2?
Reply
#15
(08-18-2016, 12:15 PM)Hahaburger Wrote: I have a question about commits. There are two "Initial Pine64 checkin" commits on some projects.
Does the first commit comes from BSP 1.0 and the other one comes from BSP 1.2?

I forgot to do a 'git add -A' on the first commit. So the first commit is all of the deltas, the second commit is the new files.

I had already uploaded before I noticed and didn't want to redo the upload. Maybe there is way to combine the commits?

(08-18-2016, 11:40 AM)secuflag Wrote: I'm on Linux Mint 18 and I don't have any problem, I just had to set

Code:
export JAVA_HOME=/path/to/JDK7
export PATH=$PATH:/path/to/JDK7/bin

to compile AOSP with JDK7 instead of the v8.


@jonsmirl: I made a small patch to solve this error while building u-boot:
Quote:Makefile:1200: *** missing separator.

See here: http://pastebin.com/raw/bMZAhudn

I pushed the fix up. It did not error on Ubuntu 14.04.

For more complex fixes, fork the repo, commit your changes, and then send a pull request.
Reply
#16
@jonsmirl: Thanks for your hard work, I finally got a booting image Big Grin
As far as I can see the default output it's set to 720p, it's possible to change to 1080p instead of 720p? For sure there is a file to modify somewhere but don't know which/where.

Thanks!
[I'm sorry, my english is not so good]
Reply
#17
I am missing the Pine specific patches to provide the UI for changing video modes and also the camera support. I can add those to the tree if someone gives them to me. I am also unsure how they added Google Play to the pre-built images.

From what I can tell the low level kernel support is there, it is just missing the UI for accessing it.
Reply
#18
In the Android SDK ver 6.0 all commits are signed by liangyongjie[at]allwinnertech.com
Maybe you should write to him and ask for an updated version.
[I'm sorry, my english is not so good]
Reply
#19
Chinese OEM for Pine64 has Android 6 access from Allwinner. They just need to give us a copy. Even better -- do what I did and only check in only the deltas to Google's AOSP.

If you are going to make the 18GB snapshot (which is more work than just checking in the AOSP deltas), please use 'tar' this time so that permissions are preserved.
Reply
#20
I did manage to build Android 6.0 from their sources. It's still not starting, because of HDMI issues, but I'm near that Smile

It crashes on Mail GPU driver.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android 6.0 How to turn the screen back on modsbyus 0 53 11-20-2017, 10:14 AM
Last Post: modsbyus
  USB GPS dongles that work with Android on Pine64+ ? trondkj 2 143 11-16-2017, 02:14 PM
Last Post: Skivholme
  Android 7.1 reboot on Pine64 2GB [email protected] 2 160 11-07-2017, 06:33 AM
Last Post: [email protected]
  GPIO access running Android rddragon888 20 3,598 11-06-2017, 07:18 AM
Last Post: Anvesh Reddy
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 41 9,930 10-31-2017, 04:38 PM
Last Post: Blastmun
  Android 7.1 (PINE A64(+)) pineadmin 44 8,257 10-27-2017, 04:14 PM
Last Post: Luke
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 215 37,371 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,394 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)