[Q] Don't have a product spec for: 'full_inari' - Firefox OS Q&A

I was trying to build FFOS 1.3 or 1.4 for ZTE Open using:
Code:
# BRANCH=v1.3 ./config.sh inari
following by command
Code:
# ./build.sh
which has failed with this
Code:
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
make: *** No rule to make target `external/valgrind/valgrind.mk'. Stop.
** Don't have a product spec for: 'full_inari'
** Do you have the right repo manifest?
Adb shows:
Code:
# adb devices -l
List of devices attached
full_inari device usb:1-1.4.4
Of course, there is no spec:
Code:
# ls .repo/manifests/
default.xml emulator.xml emulator-x86.xml fugu.xml galaxy-s2.xml helix.xml keon.xml nexus-s.xml nexus-4.xml otoro.xml peak.xml wasabi.xml
emulator-jb.xml emulator-x86-jb.xml flo.xml galaxy-nexus.xml hamachi.xml inari.xml leo.xml nexus-s-4g.xml optimus-l5.xml pandaboard.xml unagi.xml
But I was able to build ffos before and now it doesn't work.
Current version of FFOS running the phone: 1.5.0.0-prerelease (when bought it was running 1.0)

-mist- said:
I was trying to build FFOS 1.3 or 1.4 for ZTE Open using:
Code:
# BRANCH=v1.3 ./config.sh inari
following by command
Code:
# ./build.sh
which has failed with this
Code:
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
gonk-misc/b2g.mk:25: external/valgrind/valgrind.mk: Adresář nebo soubor neexistuje
make: *** No rule to make target `external/valgrind/valgrind.mk'. Stop.
** Don't have a product spec for: 'full_inari'
** Do you have the right repo manifest?
Adb shows:
Code:
# adb devices -l
List of devices attached
full_inari device usb:1-1.4.4
Of course, there is no spec:
Code:
# ls .repo/manifests/
default.xml emulator.xml emulator-x86.xml fugu.xml galaxy-s2.xml helix.xml keon.xml nexus-s.xml nexus-4.xml otoro.xml peak.xml wasabi.xml
emulator-jb.xml emulator-x86-jb.xml flo.xml galaxy-nexus.xml hamachi.xml inari.xml leo.xml nexus-s-4g.xml optimus-l5.xml pandaboard.xml unagi.xml
But I was able to build ffos before and now it doesn't work.
Current version of FFOS running the phone: 1.5.0.0-prerelease (when bought it was running 1.0)
Click to expand...
Click to collapse
Are you using 1.5 prerelease?

LinuxHolic said:
Are you using 1.5 prerelease?
Click to expand...
Click to collapse
Yes ... Thats what it says (Phone - Settings - Device information)
I was suprised a little, because I was bulding (two months ago) default branch. Everything went ok.
But now if I check for branches:
Code:
~/devel/firefoxos/B2G/.repo/manifests]# git branch -a
* default
remotes/m/v1.3 -> origin/v1.3
remotes/origin/master
remotes/origin/v1-train
remotes/origin/v1.0.0
remotes/origin/v1.0.1
remotes/origin/v1.1.0hd
remotes/origin/v1.2
remotes/origin/v1.2f
remotes/origin/v1.3
remotes/origin/v1.3t
remotes/origin/v1.4
remotes/origin/v2.0
There is no such branch like 1.5.
Anyway now, I can not build (./build.sh) any branch.
I've tried even to re-download all sources again.

Related

Error Building Lineage OS on macOS;unknown type name 'StringPiece'

When I was trying to build my first custom rom based on 7.1.1 (lineage os) the following error occurred.
SPECS ARE :
Macbook pro 2015 retina
Ram:8GB
Storage:512
Processor Name: Intel Core i5
Processor Speed: 2.9 GHz
OS: MacOs Sierra 10.12.2
Xcode:8.2.1(8C1002)
Full Command text is given below:
Code:
vibhoothis-MacBook-Pro:los vibhoothiiaanand$ brunch oneplus2
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:268: *** No matches for product "lineage_oneplus2". Stop.
** Warning: 'oneplus2' is using CM-based makefiles. This will be deprecated in the next major release.
Looking for dependencies in device/oneplus/oneplus2
Looking for dependencies in device/oppo/common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170129-UNOFFICIAL-oneplus2
TARGET_PRODUCT=cm_oneplus2
TARGET_BUILD_VARIANT=userdebug
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-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-16.3.0-x86_64-i386-64bit
HOST_CROSS_OS=
HOST_CROSS_ARCH=
HOST_CROSS_2ND_ARCH=
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/Users/vibhoothiiaanand/Desktop/los/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170129-UNOFFICIAL-oneplus2
TARGET_PRODUCT=cm_oneplus2
TARGET_BUILD_VARIANT=userdebug
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-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-16.3.0-x86_64-i386-64bit
HOST_CROSS_OS=
HOST_CROSS_ARCH=
HOST_CROSS_2ND_ARCH=
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/Users/vibhoothiiaanand/Desktop/los/out
============================================
Running kati to generate build-cm_oneplus2.ninja...
/Users/vibhoothiiaanand/Desktop/los/out/build-cm_oneplus2.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170129-UNOFFICIAL-oneplus2
TARGET_PRODUCT=cm_oneplus2
TARGET_BUILD_VARIANT=userdebug
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-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-16.3.0-x86_64-i386-64bit
HOST_CROSS_OS=
HOST_CROSS_ARCH=
HOST_CROSS_2ND_ARCH=
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/Users/vibhoothiiaanand/Desktop/los/out
============================================
art/build/Android.common.mk:51: unsupported HOST_ARCH=x86_64
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
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/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
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: /Users/vibhoothiiaanand/Desktop/los/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/Makefile:53: Duplicate header copy: /Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/obj/include/qcom/display/copybit.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
build/core/Makefile:53: Duplicate header copy: /Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/obj/include/qcom/display/copybit_priv.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
build/core/Makefile:53: Duplicate header copy: /Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/obj/include/qcom/display/c2d2.h
build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
No private recovery resources for TARGET_DEVICE oneplus2
build/core/dex_preopt.mk:74: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/dex_bootjars/system/framework/telephony-ext_nodex.jar'
build/core/dex_preopt.mk:74: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/dex_bootjars/system/framework/telephony-ext_nodex.jar'
build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.art'
build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.art'
build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.oat'
build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.oat'
build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm/boot-telephony-ext.art'
build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm/boot-telephony-ext.art'
build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm/boot-telephony-ext.oat'
build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/system/framework/arm/boot-telephony-ext.oat'
build/core/java.mk:334: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/Users/vibhoothiiaanand/Desktop/los/out/target/product/oneplus2/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 80/46297] host C++: libaapt2 <= ...se/tools/aapt2/filter/ConfigFilter.cpp
FAILED: /bin/bash -c "(prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus2/include -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates -I external/protobuf/src -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto -I frameworks/base/tools/aapt2 -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates -I libnativehelper/include/nativehelper \$(cat /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -isysroot /applications/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -DMACOSX_DEPLOYMENT_TARGET=10.12 -fPIC -funwind-tables -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -integrated-as -fstack-protector-strong -integrated-as -target x86_64-apple-darwin -isystem /applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -Wsign-promo -Wno-inconsistent-missing-override -target x86_64-apple-darwin -Wall -Werror -Wno-unused-parameter -UNDEBUG -fPIC -D_DARWIN_UNLIMITED_STREAMS -Wno-deprecated-declarations -D_USING_LIBCXX -DGOOGLE_PROTOBUF_NO_RTTI -std=gnu++14 -std=c++11 -Wno-missing-field-initializers -fno-exceptions -fno-rtti -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.d -o /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.o frameworks/base/tools/aapt2/filter/ConfigFilter.cpp ) && (cp /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.d /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.d >> /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.P; rm -f /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/filter/ConfigFilter.d )"
In file included from frameworks/base/tools/aapt2/filter/ConfigFilter.cpp:17:
In file included from frameworks/base/tools/aapt2/ConfigDescription.h:20:
In file included from frameworks/base/tools/aapt2/util/StringPiece.h:20:
In file included from external/libcxx/include/ostream:138:
In file included from external/libcxx/include/ios:216:
In file included from external/libcxx/include/__locale:21:
frameworks/base/tools/aapt2/locale.h:42:37: error: unknown type name 'StringPiece'
bool initFromFilterString(const StringPiece& config);
^
1 error generated.
[ 0% 80/46297] host C++: libaapt2 <= ...tools/aapt2/compile/XmlIdCollector.cpp
FAILED: /bin/bash -c "(prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus2/include -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates -I external/protobuf/src -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto -I frameworks/base/tools/aapt2 -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates -I /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates -I libnativehelper/include/nativehelper \$(cat /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -isysroot /applications/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -DMACOSX_DEPLOYMENT_TARGET=10.12 -fPIC -funwind-tables -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -integrated-as -fstack-protector-strong -integrated-as -target x86_64-apple-darwin -isystem /applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -Wsign-promo -Wno-inconsistent-missing-override -target x86_64-apple-darwin -Wall -Werror -Wno-unused-parameter -UNDEBUG -fPIC -D_DARWIN_UNLIMITED_STREAMS -Wno-deprecated-declarations -D_USING_LIBCXX -DGOOGLE_PROTOBUF_NO_RTTI -std=gnu++14 -std=c++11 -Wno-missing-field-initializers -fno-exceptions -fno-rtti -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.d -o /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.o frameworks/base/tools/aapt2/compile/XmlIdCollector.cpp ) && (cp /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.d /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.d >> /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.P; rm -f /Users/vibhoothiiaanand/Desktop/los/out/host/darwin-x86/obj/STATIC_LIBRARIES/libaapt2_intermediates/compile/XmlIdCollector.d )"
In file included from frameworks/base/tools/aapt2/compile/XmlIdCollector.cpp:17:
In file included from frameworks/base/tools/aapt2/ResourceUtils.h:20:
In file included from frameworks/base/tools/aapt2/NameMangler.h:20:
In file included from frameworks/base/tools/aapt2/Resource.h:20:
In file included from frameworks/base/tools/aapt2/ConfigDescription.h:20:
In file included from frameworks/base/tools/aapt2/util/StringPiece.h:20:
In file included from external/libcxx/include/ostream:138:
In file included from external/libcxx/include/ios:216:
In file included from external/libcxx/include/__locale:21:
frameworks/base/tools/aapt2/locale.h:42:37: error: unknown type name 'StringPiece'
bool initFromFilterString(const StringPiece& config);
^
1 error generated.
[ 0% 80/46297] host Java: jarjar (/Us...IBRARIES/jarjar_intermediates/classes)
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (49 seconds) ####

[ROM][8.1.0] LineageOS 15.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Instructions
First time flashing Lineage OS 15.1 your device?
Coming from a SENSE ROM?
Enable all location services: Settings > Location > (all location services) = On
Coming from another ROM?
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe data & cache partitions of your device (required when coming from stock!).
Flash LineageOS.
Optional: Install the Google Apps addon package.
Downloads
Downloads
AFH - https://androidfilehost.com/?w=files&flid=267579&sort_by=date&sort_dir=DESC
Google Apps - http://opengapps.org/?arch=arm64&api=8.1&variant=nano
TWRP Recovery - https://dl.twrp.me/hima/twrp-3.2.3-0-hima.img.html
What is not working
Developers
How to Build
To setup the build environment, follow instructions here: https://wiki.lineageos.org/devices/himaul/build
Remember to change cm-14.1 to lineage-15.1
Create the direct and file .repo/local_manifests/roomservice.xml and add the following:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Claymore1297/android_device_htc_himawl" path="device/htc/himawl" remote="github" />
<project name="Claymore1297/android_device_htc_himaul" path="device/htc/himaul" remote="github" />
<project name="Claymore1297/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />
<project name="Claymore1297/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="Claymore1297/proprietary_vendor_htc" path="vendor/htc" remote="github" />
<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
</manifest>​
Things for successful builds:
Code:
cd <build LOS-root-dir>
cd frameworks/av
git fetch https://github.com/Claymore1297/android_frameworks_av lineage-15.1
git cherry-pick b0bb4377d1163233b96b1ca55b0814d778f52569
cd <build LOS-root-dir>
cd hardware/qcom/audio-caf/msm8994
git fetch https://github.com/Claymore1297/android_hardware_qcom_audio lineage-15.1-caf-8994
git cherry-pick 1e597fdbf233d361af1e6ca70ff69cb4c8d9cb73
git cherry-pick 652740eadecfc29b31e9b11810187b195afdb2cd
Finger crossed for this project. I hope everything will work soon. Thanks for all hard work
I wish you luck, as if your first release is anything to go by, this is going to be a HUGE success.
Great job for a first build.
Very smooth, stable and fast, no issues to report as yet.
I can manage without the camera.
BTW
the battery life is absolutely awesome!!!!
Great work!
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc
UltraM8 said:
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc
Click to expand...
Click to collapse
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
xangma said:
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
Click to expand...
Click to collapse
Nice!
I think that you should fix this line for dlopen error.(libHtcVteEngine.so is located /system/vendor/lib now.)
xangma said:
Probably at some point, though my priority is the camera ...
Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: '[email protected]'
Code:
11-05 13:17:30.806 4179 4179 I [email protected]: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry [email protected]::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E [email protected]: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E [email protected]: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/[email protected]: Passthrough lookup opened [email protected] but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E [email protected]: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
Click to expand...
Click to collapse
So the older camera functions doesen't want to start on the new ones. Actually there were some problems when people were porting los14 too, maybe we need to contact with them.
Yeah thanks MirenK, I'll focus on that HTCvtc thing with libshims or whatever after (I'm not saying it's important or required, I'm just focusing on one error at a time). I'm just trying to get it to find the hidl definition in the device manifest at the moment. I've changed it to look like this hidl camera entry.
And thanks for the suggestions UltraM8. Keep 'em coming =] I had run out of things to try and was about to give up so all suggestions welcome!
EDIT: Ok, yeah, updating the libshims stuff to see if I can make that HAL error go away... and going back to passthrough from hwbinder because I feel that was a stupid change.
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
lucyr03 said:
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
Click to expand...
Click to collapse
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.
EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
xangma said:
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.
EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
Click to expand...
Click to collapse
I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
lucyr03 said:
I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
Click to expand...
Click to collapse
Yeah, that also works but breaks the audio =[
xangma said:
Yeah, that also works but breaks the audio =[
Click to expand...
Click to collapse
Oh, I'll try this way now to see if I encounter any errors and after I'll look at it.
Sent from my HTC One (M9) using XDA Labs
For people trying to debug camera errors, I've found the most useful ones are on the first boot jussssttt as the camera app disappears from the app tray. The ones when opening the camera are basically a continuation of the camera errors from it starting the cameraservice on boot.
Though I'm having the do a fresh build, as I'm unsure changes I made were being rebuilt =[
And this error? )
Code:
[ 0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_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/lucy/android/lineage/out/target/product/himaul/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 -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -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 -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -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/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
android_set_rt_ioprio(0, 1);
^
1 error generated.
[ 0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'
#### make failed to build some targets (01:46 (mm:ss)) ####
lucyr03 said:
And this error? )
Code:
[ 0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_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/lucy/android/lineage/out/target/product/himaul/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 -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -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 -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -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/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
android_set_rt_ioprio(0, 1);
^
1 error generated.
[ 0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'
#### make failed to build some targets (01:46 (mm:ss)) ####
Click to expand...
Click to collapse
I included this commit mentioned here. Then I had that audio error you first encountered, but that was due to my terrible repo/git skills and not this commit, as this relates to the display-caf and not audio-caf.
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
xangma said:
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
Click to expand...
Click to collapse
Good to hear, anyway you and Mirenk did a great job, thanks for it
Sent from my HTC One (M9) using XDA Labs
xangma said:
I'm probably going to stop work on this as @Flyhalf205 has started work on LOS15.0 =]
Click to expand...
Click to collapse
I've pushed a few things to the lineage gerrit. I don't want to merge them in just yet but I've made a little document here I keep updated and is what I build with. https://docs.google.com/document/d/1LpADN5_8isZLVNl2PkHmXXZkNczjUyIw1XSvGE2bf1M/edit?usp=sharing
Flyhalf205 said:
I've pushed a few things to the lineage gerrit. I don't want to merge them in just yet but I've made a little document here I keep updated and is what I build with. https://docs.google.com/document/d/1LpADN5_8isZLVNl2PkHmXXZkNczjUyIw1XSvGE2bf1M/edit?usp=sharing
Click to expand...
Click to collapse
in roomservice you have just vendor from TheMuppets?

android oreo 8.0.0_r34 build error

Hi,
I am trying to build android oreo aosp for the target car_emu_x86_64-userdebug and i am getting build error.
Steps followed:
1. repo init -u <android source url> -b android-8.0.0_r34 --depth=1
2. repo sync
3. source build/envsetup.sh
4. lunch car_emu_x86_64-userdebug
5. make -j8
error:
[ 0% 9/15494] target C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp
FAILED: out/target/product/car-x86_64/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/FramebufferSurface.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -I frameworks/native/vulkan/include -I external/vulkan-validation-layers/libs/vkjson -I system/libhwbinder/fast_msgq/include -I frameworks/native/services/surfaceflinger -I out/target/product/car-x86_64/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates -I out/target/product/car-x86_64/gen/SHARED_LIBRARIES/libsurfaceflinger_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/car-x86_64/obj/SHARED_LIBRARIES/libsurfaceflinger_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/car-x86_64/obj/include -isystem bionic/libc/arch-x86_64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-x86 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -O2 -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -ffunction-sections -fno-short-enums -fstrict-aliasing -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -O2 -g -fno-strict-aliasing -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 -m64 -march=x86-64 -DUSE_SSSE3 -mssse3 -msse4 -msse4.1 -msse4.2 -mpopcnt -target x86_64-linux-android -Bprebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -std=gnu++14 -fno-rtti -DLOG_TAG="SurfaceFlinger" -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -fvisibility=hidden -Werror=format -Wall -Werror -Wunused -Wunreachable-code -std=c++1z -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 out/target/product/car-x86_64/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/FramebufferSurface.d -o out/target/product/car-x86_64/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/FramebufferSurface.o frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp"
frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp:180:18: error: no member named 'setClientTarget' in 'android::HWComposer'
mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
~~~~ ^
frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp:180:48: error: use of undeclared identifier 'outSlot'
mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
^
frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp:180:78: error: use of undeclared identifier 'outDataspace'
mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
^
3 errors generated.
[ 0% 15/15494] Ensuring Jack server is installed and started
Jack server already installed in "/home/abdul/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/abdul/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
[ 0% 16/15494] target C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp
ninja: build stopped: subcommand failed.
12:08:48 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (05:44 (mm:ss)) ####
Facing similar issue. Got any fix?

[HELP] Build AOSP 9

I always get this error.
see the log.
Code:
[email protected]:~/aosp$ make clobber
19:27:20 Entire build directory removed.
#### build completed successfully (1 seconds) ####
[email protected]:~/aosp$ make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
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.13.0-35-generic-x86_64-Ubuntu-20.04.4-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.009
OUT_DIR=out
============================================
[1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[77/77] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_arm64-cleanspec.ninja is missing, regenerating...
out/build-aosp_arm64.ninja is missing, regenerating...
[564/934] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[934/934] including tools/tradefederation/core/Android.mk ...
[ 99% 1148/1149] glob tools/tradefederation/core/atest/**/*.py
[ 0% 118/104563] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
FAILED: out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ -I frameworks/base/tools/aapt -I out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates -I out/host/linux-x86/gen/EXECUTABLES/aapt_intermediates -I libnativehelper/include_jni \$(cat out/host/linux-x86/obj/EXECUTABLES/aapt_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 -c -Wa,--noexecstack -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS --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 -fstack-protector-strong -m64 -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 -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 -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14 -DAAPT_VERSION=\\\"\$(cat out/build_number.txt)\\\" -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++ -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/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.d -o out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o frameworks/base/tools/aapt/Main.cpp"
prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
[ 0% 133/104563] Check module type: out/target/product/generic_arm64/obj/SHARED_LIBRARIES/libunwind_intermediates/link_type
ninja: build stopped: subcommand failed.
19:28:36 ninja failed with: exit status 1
#### failed to build some targets (01:15 (mm:ss)) ####
[email protected]:~/aosp$
[pull up]
[pull up]
[pull up]
[pull up]

Question Standoff 2

zkuste: exec id
su: /magisk/.core/bin/su
java.io.IOException: Nelze spustit program "/magisk/.core/bin/su": error=2, Žádný takový soubor nebo adresář
java.io.IOException: error=2, Žádný takový soubor nebo adresář
proces je nulový
java.io.IOException: Nelze spustit program "/magisk/.core/bin/su": error=2, Žádný takový soubor nebo adresář
java.io.IOException: error=2, Žádný takový soubor nebo adresář
process is null

Categories

Resources