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
#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
#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
#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?
#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.
#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!
#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.
#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.
#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.
#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.


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

Forum Jump:


Users browsing this thread: 1 Guest(s)