Manual to Compile Android for PINE46
#16
(05-27-2016, 11:17 AM)NGC6691 Wrote:
(05-24-2016, 08:19 AM)IlyaM Wrote: And what is tulip_chiphd?


Sent from my iPhone using Tapatalk

Don't know.

(05-24-2016, 11:39 AM)lvcargnini Wrote:
(05-24-2016, 05:26 AM)NGC6691 Wrote: @lvcargnini: I suggest you to downgrade to java 7, Android 6 isn't ready yet to be compiled with java 8 by default.
AFAIK there isn't any official github tree.

I'm on a Mac OSX, in fact there is some changes to be made on Mac side, the most important one is adding teh following into your android_profile file for bash variables:
export ANDROID_JAVA_HOME=`/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java_home`
Of course there is a new error after this:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/product/tulip-p1/obj_arm/SHARED_LIBRARIES/libMemAdapter_intermediates/export_includes', needed by 'out/target/product/tulip-p1/obj_arm/SHARED_LIBRARIES/camera.tulip_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1

What do I need to copy over form the A64**.zip file into the main AOSP repository ?
I'm trying to compile with the new code of Android., since the tools seem a bit more polished to work with.

You can't copy nothing.
I will try to explain as better as I can. (my english isn't so good)

The first BIG problem; The SDK it's a zip file and the zip does not store unix file permissions so we need to restore the execution bit to all *.sh, *.py, bash files with no .sh extension and all the 32 and 64 bit binary files after the unzip.

But that's not all, for unknow reason they (who?!) removed all the git repository of AOSP source code from all the projects, ~500 projects, so if you want to get newest build you must add back all the AOSP git by hand.

But that's not all, for unknow reason they (who?!) removed the whole git commit log from all the projects so we don't know what they have modified.

My point of view is that if a team member can provide us a proper SDK, ok, otherwise I think I will sell my PINE64 because it's pretty useless to work on it without a proper Android SDK.

Maybe I'm wrong but I think that your problems are related with the execution bit of some files.
@NGC6691  So why don't we start the git tree in the best possible way for the  community  ?

Look there is this github.com/pine64 repository that is empty, we can push over there my AOSP tree, it seems to have some bug during final stages of compilation ( I closed all my stuff before finishing checking the messages). But I copied some devices files from the A64-*blah*.zip, over the master AOSP tree, and everything is fine the biggest annoyance is set the :
device/softwinner/tulip-common/BoardConfigCommon.mk 
or in the
device/softwinner/tulip-p1/BoardConfig.mk 

So I set in the tulip-p1 that is the variable BOARD_WIDEVINE_OEMCRYPTO_LEVEL in my initial test I set to 3, can be 1 or 3, since I didn't checked if it finished OK or in errors I have to re-run the compilation, luckily I have CCACHE in place, to speed-up stuff, if this works I'll have a compiled image of AOSP. 
Currently it is compiling my AOSP, with the necessary structure for tulip_p1 on latest master.


Messages In This Thread
Manual to Compile Android for PINE46 - by IlyaM - 05-24-2016, 06:59 AM
Manual to Compile Android for PINE46 - by IlyaM - 05-24-2016, 08:19 AM
RE: Manual to Compile Android for PINE46 - by lvcargnini - 05-28-2016, 12:09 AM
Manual to Compile Android for PINE46 - by IlyaM - 06-01-2016, 05:26 PM
Manual to Compile Android for PINE46 - by IlyaM - 06-22-2016, 12:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 426,894 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 32,760 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 18,576 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,612 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,747 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 6,178 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,645 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 285,542 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,835 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 115,602 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 3 Guest(s)