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 Tablet and TV (release candidate, maintained) ayufan 176 22,247 10 hours ago
Last Post: Ophir
  Android 6.0.1 Image (LCD and HDMI Video Output) Release 20170209 [ver 2.0.1] rookieone 9 999 03-23-2017, 11:08 PM
Last Post: tllim
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 16 3,195 03-17-2017, 05:02 AM
Last Post: xalius
  i2c in android Skivholme 0 92 03-09-2017, 06:24 AM
Last Post: Skivholme
  Change Android boot logo? ipsw 4 723 03-07-2017, 09:47 AM
Last Post: joe
  GPIO access running Android rddragon888 19 2,007 03-07-2017, 04:45 AM
Last Post: MarkHaysHarris777
  Supported 4:3 and 16:10 resolutions over HDMI on Android karlitos 26 3,631 03-06-2017, 03:59 PM
Last Post: dikov
  Orange Screen All versions of Android TV XsoundXhoundX 15 816 03-02-2017, 09:51 AM
Last Post: NGC6691
  Where is the pine64 official source code MikeGao 0 140 02-23-2017, 08:05 PM
Last Post: MikeGao
  Android 6.0 TV analog audio Ophir 2 329 02-02-2017, 03:55 PM
Last Post: Ophir

Forum Jump:


Users browsing this thread: 1 Guest(s)