Building aosp_flo-userdebug with makeCustomAgaBuild500.sh

Added by Jakob Eriksson over 3 years ago

So, I try to use

sh makeCustomAgaBuild500.sh  aosp_flo-userdebug



What I get after accepting some licenses by typing "I ACCEPT", is the following, in bold below.
Any idea what I may to do fix this?

Under /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/
there is only a swedspot director, no "content" directory.


What I am trying to do is to add a custom startup script in the ROM, so that it can start a linux daemon process when the Nexus device boots.



vendor/qcom/flo/proprietary/libqdi.so
vendor/qcom/flo/proprietary/vidc_1080p.fw
vendor/qcom/flo/proprietary/libdrmtime.so
vendor/qcom/flo/proprietary/port-bridge
vendor/qcom/flo/proprietary/dxhdcp2.b02
vendor/qcom/flo/proprietary/mm-qcamera-app
vendor/qcom/flo/proprietary/libchromatix_ov5693_common.so
vendor/qcom/flo/proprietary/libCB.so
vendor/qcom/flo/BoardConfigPartial.mk
vendor/qcom/flo/device-partial.mk

Files extracted successfully.
--2015-04-09 11:55:42--  http://developer.lindholmen.se/repo/artifacts/Automotive-Service/SNAPSHOT/lib.jar
Connecting to 192.168.1.246:8888... connected.
Proxy request sent, awaiting response... 200 OK
Length: 8141 (8.0K) [application/java-archive]
Saving to: ‘lib.jar’

100%[===============================================================================================================================>] 8,141       --.-K/s   in 0.003s  

2015-04-09 11:55:42 (2.56 MB/s) - ‘lib.jar’ saved [8141/8141]

--2015-04-09 11:55:42--  http://developer.lindholmen.se/repo/artifacts/Automotive-Service/SNAPSHOT/lib.aar
Connecting to 192.168.1.246:8888... connected.
Proxy request sent, awaiting response... 200 OK
Length: 202766 (198K) [application/octet-stream]
Saving to: ‘lib.aar’

100%[===============================================================================================================================>] 202,766     --.-K/s   in 0.03s   

2015-04-09 11:55:42 (6.84 MB/s) - ‘lib.aar’ saved [202766/202766]

grep: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/content/Context.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/content/Context.java: No such file or directory
grep: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/services/java/com/android/server/SystemServer.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/services/java/com/android/server/SystemServer.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/services/java/com/android/server/SystemServer.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/services/java/com/android/server/SystemServer.java: No such file or directory
grep: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/Android.mk: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/Android.mk: No such file or directory
grep: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/app/ContextImpl.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/app/ContextImpl.java: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/frameworks/base/core/java/android/app/ContextImpl.java: No such file or directory
grep: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/external/sepolicy/service_contexts: No such file or directory
/bin/sed: can't read /home/soa1/AGA_BUILD500_aosp_flo_userdebug/external/sepolicy/service_contexts: No such file or directory
makeCustomAgaBuild500.sh: 299: cd: can't cd to /home/soa1/AGA_BUILD500_aosp_flo_userdebug/packages/apps/Launcher2/res/drawable-sw720dp-nodpi
make: *** No rule to make target 'clean'.  Stop.
make: *** No rule to make target 'clobber'.  Stop.
make: *** No rule to make target 'update-api'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
makeCustomAgaBuild500.sh: 335: cd: can't cd to /home/soa1/AGA_BUILD500_aosp_flo_userdebug/out/target/product/flo
Assembling ZIP file.
    zip warning: name not matched: *.img
    zip warning: name not matched: android-info.txt

zip error: Nothing to do! (AGA_flo_ROM-1.2-SNAPSHOT.zip)
----------------------------------------
Created: /home/soa1/AGA_BUILD500_aosp_flo_userdebug/out/target/product/flo/AGA_flo_ROM-1.2-SNAPSHOT.zip
Download the file, put your device in boot mode and check that your device is available with:
    fastboot devices
thereafter, flash your device with:
    fastboot -w update AGA_flo_ROM.zip
----------------------------------------


 

Replies (1)

RE: Building aosp_flo-userdebug with makeCustomAgaBuild500.sh - Added by Kiril Kiryazov over 3 years ago

Dear Jakob
We are currently working on an updated version of the build script.
Anyway looking at the problem you reported one possible reason which pops up is that the download of android sources was not successfully completed.
You can try to run
repo sync -f -j8
and see if it completes successfully
Hope it works, let me know.
Best Regards, Kiril

 

(1-1/1)