motionEyeOS (PINE A64(+)) 20170611 [Jun 16] | Ubuntu Images (Pinebook) 0.5.5-65 [Jun 15] | Ubuntu Minimal (PINE A64(+)) 0.5.5-65 [Jun 15] | Q4OS (Pinebook) 1805 [Jun 12] | Android 6.0.1 (Pinebook) 20170605 [Jun 5] | Win10 IoT (PINE A64(+)) 10.0.15063.0_20170602 [Jun 5] | FalconGate (PINE A64(+)) 20170430 [May 31] | Q4OS (PINE A64(+)) 1804 [May 30] | Armbian - Ubuntu (SOPINE) 5.27 [May 22]

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.1 (LCD Panel version) reboot problems Maxim0n 1 54 Yesterday, 12:41 PM
Last Post: Maxim0n
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 31 6,879 06-15-2017, 01:09 PM
Last Post: geniepro
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 205 32,084 06-02-2017, 01:30 PM
Last Post: Bob123456789
  Pine 2GB won't boot Android anymore Bluphire 5 387 05-29-2017, 09:34 PM
Last Post: dkryder
  Android 7.1 (PINE A64(+)) v0.3.5-r61 pineadmin 14 2,618 05-27-2017, 08:47 PM
Last Post: veronicasmithen03
  Orange Screen All versions of Android TV XsoundXhoundX 17 1,867 05-19-2017, 01:27 AM
Last Post: Israeldelamo
  Pine A64 running Android 7.1 kernel panic leon 1 357 05-12-2017, 04:53 PM
Last Post: ayufan
  Android 6.0.1 Image (LCD and HDMI Video Output) Release 20170209 [ver 2.0.1] rookieone 15 2,738 05-05-2017, 01:50 AM
Last Post: Quezbeme
  Change Android boot logo? ipsw 5 1,568 05-03-2017, 09:39 PM
Last Post: Quezbeme
  How to Make a Pine with Android 7.0 Stay on All the Time? Bob123456789 3 485 04-05-2017, 01:12 PM
Last Post: Bob123456789

Forum Jump:


Users browsing this thread: 1 Guest(s)