Sony's AOSP Pie 9.0 Guide - Sony Xperia XZ1 Guides, News, & Discussion

Sony just posted a guide in their site to build AOSP 9.0 for our devices.
https://developer.sony.com/develop/...build-instructions/build-aosp-android-p-9-0-0

I try to build this next week stay tuned

VinBenzin810 said:
I try to build this next week stay tuned
Click to expand...
Click to collapse
That's great! Thanks a lot!
Sent from my [device_name] using XDA-Developers Legacy app

VinBenzin810 said:
I try to build this next week stay tuned
Click to expand...
Click to collapse
TriboDoP said:
That's great! Thanks a lot!
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.

Redcalibur said:
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.
Click to expand...
Click to collapse
Thanks for trying anyway! Being new to sony i also don't want to breake the camera (altough thankfully there is a custom kernel + twrp + camera-fix) so i am uncertain if i should wait for official android 9 or AOSP android 9 (customroms would be even better).
On my other devices (samsung,oneplus) i use only customroms but at the moment there is very little choice here.
But i love the xz1 with the 835 it is fast as lightning!
Regards!
Sent from my [device_name] using XDA-Developers Legacy app

Redcalibur said:
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.
Click to expand...
Click to collapse
Which Error you get ? Write me an pn

VinBenzin810 said:
Which Error you get ? Write me an pn
Click to expand...
Click to collapse
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp

Redcalibur said:
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp
Click to expand...
Click to collapse
I send you an PM look there

Redcalibur said:
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp
Click to expand...
Click to collapse
Except
- repo_update.sh hardware/qcom/gps
- vendor-qcom-opensource-location
Poplar xperiadev pie is "today build-able" but doesn't boot yet; good news are xperiadev moves to kernel 4.9; will probably have to wait for SoftwareBinairies v16 Pie specifics...
Will upload poplar_Pie as soon as it will boot...
btw: I've uploaded latest twrp 3.2.3 with OEM.img flash support (and BusyBox) https://androidfilehost.com/?fid=1322778262903981152

Any news about the build?

Getting below error .. doesn't seem like kernel is syncing. Any ideas?
[ 66% 2/3] glob frameworks/base/core/java/**/*.java
ninja: error: 'kernel/sony/msm-4.9/common-kernel/kernel-dtb-poplar', needed by 'out/target/product/poplar/kernel', missing and no known rule to make it
16:01:44 ninja failed with: exit status 1
#### failed to build some targets (07:25 (mm:ss)) ####

rsabluebulls said:
Getting below error .. doesn't seem like kernel is syncing. Any ideas?
[ 66% 2/3] glob frameworks/base/core/java/**/*.java
ninja: error: 'kernel/sony/msm-4.9/common-kernel/kernel-dtb-poplar', needed by 'out/target/product/poplar/kernel', missing and no known rule to make it
16:01:44 ninja failed with: exit status 1
#### failed to build some targets (07:25 (mm:ss)) ####
Click to expand...
Click to collapse
Just delete kernel/sony/msm-4.9/common-kernel directory and your build will go through a complete rebuild of dbt and kernel.
But without Sony Pie OEm vendor image release, the phone will hang on logo...

Thank you oF2pks - I managed to get further with the compile. This is the next error... any help please?
Copying resources from program jar [/Volumes/Mac_Drive/android-pe/out/target/common/obj/APPS/messaging_intermediates/classes.jar]
[ 60% 52636/87279] build out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52851/87279] build out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52893/87279] build out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52978/87279] Yacc: ss <= external/iproute2/misc/ssfilter.y
external/iproute2/misc/ssfilter.y: conflicts: 35 shift/reduce
[ 61% 53613/87279] target C: libext4 <= out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c
FAILED: out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.o
/bin/bash -c "prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-4691093/bin/clang -I external/iptables/extensions/../include/ -I external/iptables/extensions/.. -I out/target/product/poplar/gen/STATIC_LIBRARIES/libext4_intermediates -I external/iptables/extensions -I external/iptables/extensions -I out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates -I out/target/product/poplar/gen/STATIC_LIBRARIES/libext4_intermediates -I libnativehelper/include_jni \$(cat out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/poplar/obj/include -isystem kernel/sony/msm-4.9/common-headers/kernel-headers -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bprebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -std=gnu99 -DNO_SHARED_LIBS=1 -DXTABLES_INTERNAL -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6 -D__ANDROID__ -Wall -Werror -Wno-format -Wno-missing-field-initializers -Wno-pointer-arith -Wno-pointer-bool-conversion -Wno-sign-compare -Wno-tautological-pointer-compare -Wno-unused-parameter -fPIC -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.d -o out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.o out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c"
In file included from out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c:11:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 61% 53616/87279] target StaticLib: libv8 (out/target/product/poplar/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a)
ninja: build stopped: subcommand failed.
18:47:24 ninja failed with: exit status 1
#### failed to build some targets (05:24:19 (hh:mm:ss)) ####

rsabluebulls said:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 61% 53616/87279] target StaticLib: libv8 (out/target/product/poplar/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a)
ninja: build stopped: subcommand failed.
18:47:24 ninja failed with: exit status 1
#### failed to build some targets (05:24:19 (hh:mm:ss)) ####
Click to expand...
Click to collapse
Noob here. Does this (https://medium.com/@christopherney/building-android-o-with-a-mac-da07e8bd94f9) help?
christopherney said:
If the following error is raised during the Android building process:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
Please check the filename user or lower case. Remember that the Android building process is case-sensitive.
Click to expand...
Click to collapse

Does anyone tried any Android Pie Treble GSI roms on our device? is it working fine?

Anyone able to assist with the missing separator error in Android.mk which I'm receiving now?
many thanks
--------------------------
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_g8341
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.009
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
wildcard(out/target/product/poplar/clean_steps.mk) was changed, regenerating...
out/build-aosp_g8341.ninja is missing, regenerating...
[2/947] including art/Android.mk ...
art/build/Android.common.mk:50: warning: unsupported HOST_ARCH=x86_64
[119/947] including device/sony/common/Android.mk ...
hardware/qcom/gps/sdm845/android/Android.mk:48: error: missing separator.
19:53:11 ckati failed with: exit status 1
#### failed to build some targets (57 seconds) ####

arslancn said:
Does anyone tried any Android Pie Treble GSI roms on our device? is it working fine?
Click to expand...
Click to collapse
I tested some ROMs, but I will restart them in Sony LOGO. I don't know if anyone is successful. Maybe I still need to flash something.

Anyone come across a StaticLib: libv8src_32 related compiling issue like mine shown in the log below?
Many thanks - got up to 64% clean build...
make[3]: *** Waiting for unfinished jobs....
INSTALL usr/include/scsi/ufs/ (2 files)
INSTALL usr/include/linux/caif/ (2 files)
INSTALL usr/include/linux/byteorder/ (2 files)
INSTALL usr/include/linux/can/ (5 files)
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
make[4]: *** [usr/include/linux/byteorder/.install] Error 1
make[4]: *** [usr/include/linux/caif/.install] Error 1
make[4]: *** [usr/include/linux/can/.install] Error 1
make[4]: *** [usr/include/scsi/ufs/.install] Error 1
make[3]: *** [can] Error 2
make[3]: *** [caif] Error 2
make[3]: *** [byteorder] Error 2
make[3]: *** [ufs] Error 2
make[2]: *** [linux] Error 2
make[2]: *** [scsi] Error 2
make[1]: *** [headers_install] Error 2
make: *** [sub-make] Error 2
[ 64% 56247/87336] target StaticLib: libv8src_32 (out/target/product/poplar/obj_arm/STATIC_LIBRARIES/libv8src_intermediates/libv8src.a)
ninja: build stopped: subcommand failed.
15:16:21 ninja failed with: exit status 1
#### failed to build some targets (49:07 (mm:ss)) ####

Hi all, anyone perhaps have an idea on the below error or perhaps came across it before? (PS. 8.1 ASOP Sony builds without any issues, latest SEP release), this is for Android Pie latest asop
[ 63% 55359/87336] Building Kernel Headers
FAILED: /Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.headers_install_stamp
/bin/bash -c "(if [ ! -z "aosp_yoshino_poplar_defconfig" ]; then rm -f ..//Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" aosp_yoshino_poplar_defconfig; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" headers_install; fi ) && (if [ "aosp_yoshino_poplar_defconfig" != "aosp_yoshino_poplar_defconfig" ]; then echo "Used a different defconfig for header generation"; rm -f ..//Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" aosp_yoshino_poplar_defconfig; fi ) && (if [ ! -z "" ]; then echo "Overriding kernel config with ''"; echo >> /Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" oldconfig; fi )"
GEN ./Makefile
#
# configuration written to .config
#

https://developer.sony.com/file/dow...-for-aosp-pie-android-9-0-kernel-4-9-yoshino/ this link maybe useful for you guys

Related

[Q] [Q/A] CM14 Compilation Failed

Hello , everybody . i have some problems when i compile CM14 ROM for Huawei Honor 5X
[ 0% 33/40183] host Executable: fastboot (/home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot)
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/bootimg_utils.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/engine.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fs.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/protocol.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/socket.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/tcp.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/udp.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/util.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/usb_linux.o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/util_linux.o -Wl,--whole-archive -Wl,--no-whole-archive /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libziparchive-host_intermediates/libziparchive-host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libext4_utils_host_intermediates/libext4_utils_host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libsparse_host_intermediates/libsparse_host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates/libdiagnose_usb.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libcutils_intermediates/libcutils.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libgtest_host_intermediates/libgtest_host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libf2fs_utils_host_intermediates/libf2fs_utils_host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libf2fs_dlutils_host_intermediates/libf2fs_dlutils_host.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a /home/jira/NG7/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a -Wl,-rpath-link=/home/jira/NG7/out/host/linux-x86/obj/lib -Wl,-rpath,\\\$ORIGIN/../lib64 -Wl,-rpath,\\\$ORIGIN/lib64 -L/home/jira/NG7/out/host/linux-x86/obj/lib -m64 -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined-version --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/lib/gcc/x86_64-linux/4.8 -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/lib/gcc/x86_64-linux/4.8 -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/lib64/ -target x86_64-linux-gnu -ldl -rdynamic -Wl,-rpath,. -pie -nodefaultlibs -o /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot -lpthread -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc"
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin/ld: error: /home/jira/NG7/out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot.o: file is empty
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/lib/Scrt1.o(.text+0x20): error: undefined reference to 'main'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Click to expand...
Click to collapse
asanan1 said:
Hello , everybody . i have some problems when i compile CM14 ROM for Huawei Honor 5X
Click to expand...
Click to collapse
maybe @crpalmer or @BadDaemon can help you with this.
Nope. CM14 is not yet ready in any way, just look at the amount of patches still coming in (not features but fixes). And there are no patches for our kiwi yet. So you are either on your own or need to wait until we (mainly crpalmer) come up with sources
BadDaemon said:
Nope. CM14 is not yet ready in any way, just look at the amount of patches still coming in (not features but fixes). And there are no patches for our kiwi yet. So you are either on your own or need to wait until we (mainly crpalmer) come up with sources
Click to expand...
Click to collapse
I hope it comes fast
Are you compiling with openJDK 7 or 8?
Cogra147 said:
Are you compiling with openJDK 7 or 8?
Click to expand...
Click to collapse
On marshmallow and up it's JDK 8

[Q]Build errors compiling Lineage 14.1

Hi everyone,
I've been an XDA reader for a few years and up until now just flashed new roms every month or two to keep my S2 alive.
I just registered on XDA after deciding to try building roms from source. I have a i9100 and thought the easiest thing to try first was to compile an ordinary Lineage 14.1 rom without modification.
So, I installed ubuntu 16.04 LTS as the OS(not VM), then as per the instructions on the Lineage page, installed the SDK, build packages, and JDK. Then I executed the repo binary and put ~/bin in the correct path and updated the environment. After this I did repo init and repo sync. I tried breakfast at this stage which failed, but after extracting proprietry blobs from the device, breakfast succeeded.
After this I used croot and brunch, but I get these errors:
Code:
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/Clyde00/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/base_rules.mk:183: *** vendor/samsung/galaxys2-common/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libUMP already defined by hardware/samsung/exynos4/hal/libUMP.
build/core/ninja.mk:166: recipe for target '/home/Clyde00/android/lineage/out/build-lineage_i9100.ninja' failed
make: *** [/home/Clyde00/android/lineage/out/build-lineage_i9100.ninja] Error 1
make: Leaving directory '/home/Clyde00/android/lineage'
#### make failed to build some targets (11 seconds) ####
At this point I am stuck. I'm sure there is something simple I'm missing; I've been searching for answers for the last few days and haven't been able to come up with anything to fix these errors. I'm thinking something needs to be added to roomservice.xml or something. I'm a bit lost. Any help would be much appreciated.
Clyde00 said:
Hi everyone,
I've been an XDA reader for a few years and up until now just flashed new roms every month or two to keep my S2 alive.
I just registered on XDA after deciding to try building roms from source. I have a i9100 and thought the easiest thing to try first was to compile an ordinary Lineage 14.1 rom without modification.
So, I installed ubuntu 16.04 LTS as the OS(not VM), then as per the instructions on the Lineage page, installed the SDK, build packages, and JDK. Then I executed the repo binary and put ~/bin in the correct path and updated the environment. After this I did repo init and repo sync. I tried breakfast at this stage which failed, but after extracting proprietry blobs from the device, breakfast succeeded.
After this I used croot and brunch, but I get these errors:
At this point I am stuck. I'm sure there is something simple I'm missing; I've been searching for answers for the last few days and haven't been able to come up with anything to fix these errors. I'm thinking something needs to be added to roomservice.xml or something. I'm a bit lost. Any help would be much appreciated.
Click to expand...
Click to collapse
I'm at work atm... I know how to solve the libUMP problem... I will reply later today...
Sub_Zero2 said:
I'm at work atm... I know how to solve the libUMP problem... I will reply later today...
Click to expand...
Click to collapse
Thanks for the reply. I already did a search for this issue and found someone who suggested to delete one of the libUMP folders, but this only gave a different error. I would be grateful for any advise for this. I still haven't got any further with these errors. :fingers-crossed:
Clyde00 said:
Thanks for the reply. I already did a search for this issue and found someone who suggested to delete one of the libUMP folders, but this only gave a different error. I would be grateful for any advise for this. I still haven't got any further with these errors. :fingers-crossed:
Click to expand...
Click to collapse
Iirc, you have to delete/comment out two lines in a file. But atm i can not remember the filename of this file. I will have a look at it when I get home, in 3-4 hours.
You have to edit this file: vendor/samsung/galaxys2-common/proprietary/Android.mk
Uncomment these lines with a # om each line:
include $(CLEAR_VARS)
LOCAL_MODULE := libUMP
LOCAL_MODULE_OWNER := samsung
LOCAL_SRC_FILES := system/lib/libUMP.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib
include $(BUILD_PREBUILT)
There... Now you should be able to brunch successfully
@Sub_Zero2
Thank you very much for your input. I tried brunch again and got much further, but now I have OOM problems(8gb ram) stopping the build from succeeding. Now I'm doing some searching to solve this issue.
I need to figure out how(and whether to) change JACK_SERVER_VM_ARGUMENTS or change jack.server.max-service= to a lower value.
EDIT: I got a successful build! For anyone having similar out of memory errors, I ran these commands before starting brunch:
Code:
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server
Clyde00 said:
@Sub_Zero2
Thank you very much for your input. I tried brunch again and got much further, but now I have OOM problems(8gb ram) stopping the build from succeeding. Now I'm doing some searching to solve this issue.
I need to figure out how(and whether to) change JACK_SERVER_VM_ARGUMENTS or change jack.server.max-service= to a lower value.
EDIT: I got a successful build! For anyone having similar out of memory errors, I ran these commands before starting brunch:
Click to expand...
Click to collapse
There you go!
Good luck!
[GUIDE] Build LineageOS 14.1
See my posts in this thread. This guide works for all lineage-13.0 and 14.1 devices. On that note, feel free to try my i9100 builds and the latest bootloader and modem, links in my signature.
anyone know how to solve this
1 error generated. [ 0% 32/81917] target thumb C++: libinit_m... <= device/asus/Z010D/init/init_msm8916.cpp FAILED: /home/christo/los/out/target/product/Z010D/obj_arm/STATIC_LIBRARIES/libinit_msm8916_intermediates/init_msm8916.o /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -I device/asus/msm8916-common/include -I system/core/init -I external/selinux/libselinux/include -I device/asus/Z010D/init -I /home/christo/los/out/target/product/Z010D/obj_arm/STATIC_LIBRARIES/libinit_msm8916_intermediates -I /home/christo/los/out/target/product/Z010D/gen/STATIC_LIBRARIES/libinit_msm8916_intermediates -I libnativehelper/include/nativehelper \$(cat /home/christo/los/out/target/product/Z010D/obj_arm/STATIC_LIBRARIES/libinit_msm8916_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem /home/christo/los/out/target/product/Z010D/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -march=armv7-a -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fvisibility-inlines-hidden -std=gnu++14 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -Wall -DANDROID_TARGET=\\\"msm8916\\\" -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/christo/los/out/target/product/Z010D/obj_arm/STATIC_LIBRARIES/libinit_msm8916_intermediates/init_msm8916.d -o /home/christo/los/out/target/product/Z010D/obj_arm/STATIC_LIBRARIES/libinit_msm8916_intermediates/init_msm8916.o device/asus/Z010D/init/init_msm8916.cpp" device/asus/Z010D/init/init_msm8916.cpp:54:7: error: using declaration requires a qualified name using property_set; ^ 1 error generated. [ 0% 40/81917] target C++: libsdcard <= system/core/sdcard/fuse.cpp ninja: build stopped: subcommand failed. 06:53:31 ninja failed with: exit status 1 make: *** [build/core/main.mk:21: run_soong_ui] Error 1 make: Leaving directory '/home/christo/los' #### make failed to build some targets (01:08 (mm:ss)) #### [email protected]:~/los$

Syntax error when building from android source

First of all, I didn't modified any file so it seems that it was already downloaded with syntax error. I followed the instructions from here and here when preparing the building environment. When I run make -j8 I got the error:
FAILED: out/target/common/obj/all-event-log-tags.txt
/bin/bash -c "build/tools/merge-event-log-tags.py -o out/target/common/obj/all-event-log-tags.txt frameworks/base/core/java/android/app/admin/SecurityLogTags.logtags frameworks/base/core/java/android/content/EventLogTags.logtags frameworks/base/core/java/android/net/EventLogTags.logtags frameworks/base/core/java/android/speech/tts/EventLogTags.logtags frameworks/base/core/java/android/webkit/EventLogTags.logtags frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/EventLogTags.logtags frameworks/base/packages/SystemUI/src/com/android/systemui/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags frameworks/ex/common/java/com/android/common/GoogleLogTags.logtags frameworks/native/services/surfaceflinger/EventLog/EventLogTags.logtags frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags packages/apps/QuickSearchBox/src/com/android/quicksearchbox/EventLogTags.logtags packages/apps/Settings/src/com/android/settings/EventLogTags.logtags packages/providers/CalendarProvider/src/com/android/providers/calendar/EventLogTags.logtags packages/providers/ContactsProvider/src/com/android/providers/contacts/EventLogTags.logtags packages/services/Telephony/src/com/android/phone/EventLogTags.logtags system/bt/main/../EventLogTags.logtags system/core/liblog/event.logtags system/core/libsysutils/EventLogTags.logtags system/core/logcat/event.logtags system/core/logd/event.logtags"
File "build/tools/merge-event-log-tags.py", line 51
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
[ 0% 92/35341] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
ninja: build stopped: subcommand failed.
16:27:01 ninja failed with: exit status 1
make: *** [build/core/main.mk:21: run_soong_ui] Error 1
#### make failed to build some targets (53 seconds) ####
Click to expand...
Click to collapse
In this merge-event-log-tags.py file, at line 51, it has:
try:
opts, args = getopt.getopt(sys.argv[1:], "ho:m:")
except getopt.GetoptError, err:
print str(err)
print __doc__
sys.exit(2)
Click to expand...
Click to collapse
Also, this is my first time posting here and also first time trying to build android so if you guys need more information to help troubleshoot this, please let me know
fabiotk said:
First of all, I didn't modified any file so it seems that it was already downloaded with syntax error. I followed the instructions from here and here when preparing the building environment. When I run make -j8 I got the error:
In this merge-event-log-tags.py file, at line 51, it has:
Also, this is my first time posting here and also first time trying to build android so if you guys need more information to help troubleshoot this, please let me know
Click to expand...
Click to collapse
I've got this same problem trying to build 8.1.0. Did you (or anyone else) ever figure this out?
http://dpaste.com/0C1QWKE
UnderSampled said:
I've got this same problem trying to build 8.1.0. Did you (or anyone else) ever figure this out?
http://dpaste.com/0C1QWKE
Click to expand...
Click to collapse
Hello, yes, I solved it by making Python2 the default version instead of python3
Code:
sudo ln -sf /usr/bin/python2 /usr/bin/python

lineageos 16

build fails with the following error
[ 69% 65628/93948] //vendor/lineage/build/soong:generated_kernel_includes generate
FAILED: /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
/home/skoar/android/lineageos/out/soong/host/linux-x86/bin/sbox --sandbox-path /home/skoar/android/lineageos/out/soong/.temp --output-root /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen --copy-all-output -c 'make -j CFLAGS_MODULE="-fno-pic" -C O=__SBOX_OUT_DIR__ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" headers_install' && touch /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
make: *** O=/home/skoar/android/lineageos/out/soong/.temp/sbox985711399: No such file or directory. Stop.
sbox command (make -j CFLAGS_MODULE="-fno-pic" -C O=/home/skoar/android/lineageos/out/soong/.temp/sbox985711399 ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" headers_install) failed with err "exit status 2"
[ 69% 65635/93948] //frameworks/base:gen-platform-proto-constants generate
ninja: build stopped: subcommand failed.
11:35:26 ninja failed with: exit status 1
any ideas ???
p.s I'm using prebuilt kernel
Maybee resync lineage sourced?
Gesendet von meinem Pixel 2 XL mit Tapatalk
I am getting the same error (See attachment). How did you solve it? Possibly it's an issue related to vendor as I have previously build using different vendor and it succeeded.

[Android12] build error libartservice/Android.bp:36:1

Does anyone experienced the same issue with android 12 source and knows how to fix it? So please, let me know
Code:
build/make/core/soong_config.mk:193: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has
been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
build/make/core/soong_config.mk:194: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR ha
s been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.8.0-43-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl
hardware/google/camera hardware/google/camera/devices/EmulatedCamera
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b
out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build
-globs.ninja -o out/soong/build.ninja Android.bp
error: art/libartservice/Android.bp:36:1: module "artservice" variant "android_c
ommon": depends on //libcore:art.module.api.annotations.for.system.modules which
is not visible to this module
You may need to add "//art/libartservice" to its visibility
19:15:11 soong bootstrap failed with: exit status 1
#### failed to build some targets (16 seconds) ####
Flominator said:
Does anyone experienced the same issue with android 12 source and knows how to fix it? So please, let me know
Code:
build/make/core/soong_config.mk:193: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has
been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
build/make/core/soong_config.mk:194: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR ha
s been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.8.0-43-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl
hardware/google/camera hardware/google/camera/devices/EmulatedCamera
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b
out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build
-globs.ninja -o out/soong/build.ninja Android.bp
error: art/libartservice/Android.bp:36:1: module "artservice" variant "android_c
ommon": depends on //libcore:art.module.api.annotations.for.system.modules which
is not visible to this module
You may need to add "//art/libartservice" to its visibility
19:15:11 soong bootstrap failed with: exit status 1
#### failed to build some targets (16 seconds) ####
Click to expand...
Click to collapse
Commenting for visibility. I ran into the same problem.
Make this change and see what happens:
https://android-review.googlesource.com/c/platform/libcore/+/1596234/1/JavaLibrary.bp
Having the same issue here. I am sync'ed to android-s-preview-1. Trying to build sdk_phone_x86_64.
I tried jherwig's patch, and hitting newer issues near the end of the build:
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc)
to the new methods, etc. shown in the above diff.
2. You can update current.txt and/or removed.txt by executing the following command:
m legacy.art.module.platform.api.stubs.source-update-current-api
To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
Click to expand...
Click to collapse
Did the suggested update to current.txt, hitting more errors:
Code:
libcore/ojluni/src/main/java/java/time/zone/IcuZoneRulesProvider.java:24: error: cannot find symbol
import android.icu.util.AnnualTimeZoneRule;
^
symbol: class AnnualTimeZoneRule
location: package android.icu.util
libcore/ojluni/src/main/java/java/time/zone/IcuZoneRulesProvider.java:25: error: cannot find symbol
import android.icu.util.BasicTimeZone;
^
symbol: class BasicTimeZone
location: package android.icu.util
[...]
This is my first time building Android, I have very little idea what I am doing... Any help appreciated!
I seem to have unblocked myself by applying the following patches to libcore:
73100c6f663e668ab2e5e64b7d771e876d1c67fa <-- jherwig's patch
c5bf3e517d498b151f5dc4ebfc5b56463f747021 <-- for those missing Java time packages
273504366eb453fde7f1e593e45a33af67ef4203 <-- fix ioctlInt signature as expected by libs in frameworks
Code:
$ cd libcore
libcore$ git diff 73100c6f663e668ab2e5e64b7d771e876d1c67fa\^ 73100c6f663e668ab2e5e64b7d771e876d1c67fa |patch -p1
libcore$ git diff c5bf3e517d498b151f5dc4ebfc5b56463f747021\^ c5bf3e517d498b151f5dc4ebfc5b56463f747021 |patch -p1
libcore$ git diff 273504366eb453fde7f1e593e45a33af67ef4203\^ 273504366eb453fde7f1e593e45a33af67ef4203 |patch -p1
I still hit the issue where I am asked to run:
Code:
m legacy.art.module.platform.api.stubs.source-update-current-api
But, the build eventually completed. On to testing it now.
I really thought building from a release tag would go flawless, wth!? Did I not sync the repo properly?
jherwig said:
Make this change and see what happens:
https://android-review.googlesource.com/c/platform/libcore/+/1596234/1/JavaLibrary.bp
Click to expand...
Click to collapse
Thanks jherwig
Just apply this patch to platform/libcore
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 92bbc6692e..ff82248452 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -1019,6 +1019,9 @@ java_system_modules {
// avoid introducing compile time cycles.
java_library {
name: "art.module.api.annotations.for.system.modules",
+ visibility: [
+ "//art/libartservice",
+ ],
srcs: [
":api_surface_annotation_files",
],
mbucchia said:
I seem to have unblocked myself by applying the following patches to libcore:
73100c6f663e668ab2e5e64b7d771e876d1c67fa <-- jherwig's patch
c5bf3e517d498b151f5dc4ebfc5b56463f747021 <-- for those missing Java time packages
273504366eb453fde7f1e593e45a33af67ef4203 <-- fix ioctlInt signature as expected by libs in frameworks
Code:
$ cd libcore
libcore$ git diff 73100c6f663e668ab2e5e64b7d771e876d1c67fa\^ 73100c6f663e668ab2e5e64b7d771e876d1c67fa |patch -p1
libcore$ git diff c5bf3e517d498b151f5dc4ebfc5b56463f747021\^ c5bf3e517d498b151f5dc4ebfc5b56463f747021 |patch -p1
libcore$ git diff 273504366eb453fde7f1e593e45a33af67ef4203\^ 273504366eb453fde7f1e593e45a33af67ef4203 |patch -p1
I still hit the issue where I am asked to run:
Code:
m legacy.art.module.platform.api.stubs.source-update-current-api
But, the build eventually completed. On to testing it now.
I really thought building from a release tag would go flawless, wth!? Did I not sync the repo properly?
Click to expand...
Click to collapse
I saw the same exact problem building the aosp_trout_x86-userdebug build target, and those git commits fixed it. Thanks.

Categories

Resources