Android sources
#1
Hey, where can I find the sources for Android (special for Pine64) to rebuild own firmware?

the wiki gives only finals img files, I'd like to remake it for myself.

I guess I need kernel sources
Android sources
And is there any instructions how to build your own firmware?
#2
Look for the Binary Source Packages (BSP)
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
#3
(05-14-2016, 08:36 AM)lenny.raposo-pine64.pro Wrote: Look for the Binary Source Packages (BSP)

Thanks for your reply!

I missed this section )

So, where can I find readme how to build it and set up the environment?
#4
I found environment on google dev site.

I'm trying to make own build, what 's device I must choose for making it for A64 when I use lunch command

I have the next list:

Code:
You're building on Linux

Lunch menu... pick a combo:
    1. aosp_arm-eng
    2. aosp_arm64-eng
    3. aosp_mips-eng
    4. aosp_mips64-eng
    5. aosp_x86-eng
    6. aosp_x86_64-eng
    7. aosp_flo-userdebug
    8. mini_emulator_arm64-userdebug
    9. m_e_arm-userdebug
    10. mini_emulator_mips-userdebug
    11. mini_emulator_x86-userdebug
    12. mini_emulator_x86_64-userdebug
    13. aosp_flounder-userdebug
    14. aosp_shamu-userdebug
    15. aosp_manta-userdebug
    16. astar_h7-eng
    17. astar_h7-user
    18. astar_y3-eng
    19. astar_y3-user
    20. astar_yh-eng
    21. astar_yh-user
    22. jasmine_perf-eng
    23. jasmine_perf-user
    24. kylin_p1-eng
    25. kylin_p1-user
    26. kylin_p2-eng
    27. kylin_p2-user
    28. octopus_f1-eng
    29. octopus_f1-user
    30. octopus_ibt-eng
    31. octopus_ibt-user
    32. octopus_n1-eng
    33. octopus_n1-user
    34. octopus_perf-eng
    35. octopus_perf-user
    36. tulip_p1-eng
    37. tulip_p1-user
    38. tulip_perf-eng
    39. tulip_perf-user
    40. tulip_t1-eng
    41. tulip_t1-user

Which would you like?
#5
(05-15-2016, 03:05 PM)IlyaM Wrote: I found environment on google dev site.

I'm trying to make own build, what 's device I must choose for making it for A64 when I use lunch command

I have the next list:

Code:
You're building on Linux

Lunch menu... pick a combo:
    1. aosp_arm-eng
    2. aosp_arm64-eng
    3. aosp_mips-eng
    4. aosp_mips64-eng
    5. aosp_x86-eng
    6. aosp_x86_64-eng
    7. aosp_flo-userdebug
    8. mini_emulator_arm64-userdebug
    9. m_e_arm-userdebug
    10. mini_emulator_mips-userdebug
    11. mini_emulator_x86-userdebug
    12. mini_emulator_x86_64-userdebug
    13. aosp_flounder-userdebug
    14. aosp_shamu-userdebug
    15. aosp_manta-userdebug
    16. astar_h7-eng
    17. astar_h7-user
    18. astar_y3-eng
    19. astar_y3-user
    20. astar_yh-eng
    21. astar_yh-user
    22. jasmine_perf-eng
    23. jasmine_perf-user
    24. kylin_p1-eng
    25. kylin_p1-user
    26. kylin_p2-eng
    27. kylin_p2-user
    28. octopus_f1-eng
    29. octopus_f1-user
    30. octopus_ibt-eng
    31. octopus_ibt-user
    32. octopus_n1-eng
    33. octopus_n1-user
    34. octopus_perf-eng
    35. octopus_perf-user
    36. tulip_p1-eng
    37. tulip_p1-user
    38. tulip_perf-eng
    39. tulip_perf-user
    40. tulip_t1-eng
    41. tulip_t1-user

Which would you like?

tulip_t1-eng
#6
(05-16-2016, 07:26 AM)Hahaburger Wrote: tulip_t1-eng

Thanks!

Now I have another problem, I set up oracle jdk7

But every time I get an issue
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
TARGET_PRODUCT=tulip_t1
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-22-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=LVY48E
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You asked for an OpenJDK 7 build but your version is
java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode).

when I try to install openjdk
Code:
apt-get install openjdk-7-jdk


I got a message that you have to choose from the list

  oracle-java9-installer 9b116+9b116arm-1~webupd8~1
  oracle-java8-installer 8u92+8u91arm-2~really8u91~webupd8~0
  oracle-java7-installer 7u80+7u60arm-0~webupd8~1


How to solve this problem with idk?
#7
(05-16-2016, 07:43 AM)IlyaM Wrote: when I try to install openjdk
Code:
apt-get install openjdk-7-jdk


I got a message that you have to choose from the list

  oracle-java9-installer 9b116+9b116arm-1~webupd8~1
  oracle-java8-installer 8u92+8u91arm-2~really8u91~webupd8~0
  oracle-java7-installer 7u80+7u60arm-0~webupd8~1


How to solve this problem with idk?

Weird, maybe it was installed idk. Maybe you can try these:

Code:
sudo update-alternatives --config java
sudo update-alternatives --config javac

if you see openjdk in output, select it.
#8
(05-16-2016, 08:17 AM)Hahaburger Wrote: Weird, maybe it was installed idk. Maybe you can try these:

Code:
sudo update-alternatives --config java
sudo update-alternatives --config javac

if you see openjdk in output, select it.

There is only one line:  /usr/lib/jvm/java-7-oracle/jre/bin/java
and there are no alternatives


I tried to reinstall that, removing everything with java, the same issue

maybe do I need remove $JAVA_HOME from environment?
#9
(05-16-2016, 08:21 AM)IlyaM Wrote: There is only one line:  /usr/lib/jvm/java-7-oracle/jre/bin/java
and there are no alternatives


I tried to reinstall that, removing everything with java, the same issue

maybe do I need remove $JAVA_HOME from environment?

I don't think you need to remove JAVA_HOME first you should install openjdk
If you are using Ubuntu have you tried searching openjdk on software center?
#10
(05-16-2016, 08:30 AM)Hahaburger Wrote: I don't think you need to remove JAVA_HOME first you should install openjdk
If you are using Ubuntu have you tried searching openjdk on software center?

Finally got it
Code:
sudo add-apt-repository ppa:openjdk-r/ppa  
sudo apt-get update  
sudo apt-get install openjdk-7-jre  


Do you know what does this line mean?

CHIPHD_LICHEE_DIR=builder@192.168.1.22:/home2/builder/release/a83-5.1/lichee

Code:
root@ilya-eME730G:/media/ilya/Data/A64/android# . build/envsetup.sh
including device/asus/flo/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/softwinner/astar-h7/vendorsetup.sh
including device/softwinner/astar-y3/vendorsetup.sh
including device/softwinner/astar-yh/vendorsetup.sh
including device/softwinner/common/vendorsetup.sh
including device/softwinner/jasmine-perf/vendorsetup.sh
including device/softwinner/kylin-p1/vendorsetup.sh
including device/softwinner/kylin-p2/vendorsetup.sh
including device/softwinner/octopus-f1/vendorsetup.sh
including device/softwinner/octopus-ibt/vendorsetup.sh
including device/softwinner/octopus-n1/vendorsetup.sh
including device/softwinner/octopus-perf/vendorsetup.sh
including device/softwinner/tulip-p1/vendorsetup.sh
including device/softwinner/tulip-perf/vendorsetup.sh
including device/softwinner/tulip-t1/vendorsetup.sh
including device/softwinner/zzzzz-chiphd/vendorsetup.sh
CHIPHD_LICHEE_DIR=builder@192.168.1.22:/home2/builder/release/a83-5.1/lichee


I got it when I use . build/envsetup.sh
It highlighted red


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 426,100 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 32,757 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 18,575 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,604 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,455 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,578 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)