Hi, I'm trying a new rom for the evo 3G (Ava-Froyo Z3 Overhaul) and am running into a problem with apps2sd not working.
When I run a check I get this:
$su
# chka2sd
/system/bin/chka2sd: line 7: $a2sdlf: ambiguous redirect
/system/bin/chka2sd: line 18: ro.build.version.release: command not found
/system/bin/chka2sd: line 41: a2sd.swap: command not found
/system/bin/chka2sd: line 82: echo: write error: Broken pipe
/system/bin/chka2sd: line 87: echo: write error: Broken pipe
/system/bin/chka2sd: line 88: echo: write error: Broken pipe
/system/bin/chka2sd: line 89: echo: write error: Broken pipe
/system/bin/chka2sd: line 90: echo: write error: Broken pipe
/system/bin/chka2sd: line 91: echo: write error: Broken pipe
/system/bin/chka2sd: line 92: echo: write error: Broken pipe
/system/bin/chka2sd: line 93: echo: write error: Broken pipe
/system/bin/chka2sd: line 96: 1: ambiguous redirect
Not sure what's going on. I flashed over the file the op said to, and when I asked in the rom thread it was suggested I ask elsewhere.
Edit: And I just realized I accidentally hit the wrong forum. Hopefully this gets itself moved to where it needs to be. Sorry!
Related
Sorry. Wrong forum.
Hello. When giving this command I get an error:
$ make -j`grep 'processor' /proc/cpuinfo | wc -l`
File "build/tools/findleaves.py", line 95
print r
^
SyntaxError: invalid syntax
File "build/tools/findleaves.py", line 95
print r
^
SyntaxError: invalid syntax
frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stopping.
I have JDK6 and JRE installed but it seems like the java-version on my computer is 1.9. Is the error related to Java?
jai134 said:
Hello. When giving this command I get an error:
$ make -j`grep 'processor' /proc/cpuinfo | wc -l`
File "build/tools/findleaves.py", line 95
print r
^
SyntaxError: invalid syntax
File "build/tools/findleaves.py", line 95
print r
^
SyntaxError: invalid syntax
frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stopping.
I have JDK6 and JRE installed but it seems like the java-version on my computer is 1.9. Is the error related to Java?
Click to expand...
Click to collapse
It is actually an issue with Python. In Archlinux /usr/bin/python is actually python 3 not python 2 that most scripts expect.
As much as I love arch I think that is one of their worst decisions. Either change the environment variable for the current session to point to python2, or change the line in the script that sets the python executable, or remove python and install python2 with a symlink to /usr/bin/python
Thankyou very much.
edit: The stock kernel can be built following this thread.
I'm trying to build the stock kernel from source (the one from huaweidevice). I'm running Ubuntu 10.10 64-bit.
I've gotten this far:
- I've extracted config from phone /proc/config.gz and copied it to kernel/.config
- I went through this guide: source.android.com source initializing.html
- I created some symbolic links to get rid of file not found errors when compiling:
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_connmark.c xt_CONNMARK.c
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_HL.c xt_hl.c
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_MARK.c xt_mark.c
kernel-2.6.32-U8800-Froyo/kernel/net/ipv4/netfilter$ ln -s ipt_ECN.c ipt_ecn.c
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter$ ln -s xt_mark.h xt_MARK.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv4$ ln -s ipt_ecn.h ipt_ECN.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter$ ln -s xt_DSCP.h xt_dscp.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv4$ ln -s ipt_ttl.h ipt_TTL.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv6$ ln -s ip6t_hl.h ip6t_HL.h
Now for the cross compilation I've tried 3 different toolchains:
- The ones from developer.android.com sdk ndk index.html
- and codesourcery.com sgpp lite arm portal package8734/public/arm-none-eabi/arm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
then I've tried compiling with:
make -j8 ARCH=arm CROSS_COMPILE=.../android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
and
make -j8 ARCH=arm CROSS_COMPILE=.../android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-
and
make -j8 ARCH=arm CROSS_COMPILE=.../arm-2011.03/bin/arm-none-eabi-
they all give me output similar to this (this is with the 4.4.0 toolchain):
Code:
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC net/netfilter/xt_MARK.o
CC net/ipv4/netfilter/ipt_ecn.o
CC net/netfilter/xt_NFQUEUE.o
CC net/ipv4/netfilter/ipt_NETMAP.o
CC net/netfilter/xt_comment.o
CC net/netfilter/xt_connlimit.o
net/netfilter/xt_MARK.c: In function 'mark_tg':
net/netfilter/xt_MARK.c:32: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:32: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c: At top level:
net/netfilter/xt_MARK.c:41: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_tginfo2'
make[2]: *** [net/netfilter/xt_MARK.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC net/ipv4/netfilter/ipt_REDIRECT.o
CC net/ipv4/netfilter/ipt_REJECT.o
cc1: warnings being treated as errors
net/ipv4/netfilter/ipt_ecn.c:29: error: 'struct ipt_ECN_info' declared inside parameter list
net/ipv4/netfilter/ipt_ecn.c:29: error: its scope is only this definition or declaration, which is probably not what you want
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c:33: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:40: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c: At top level:
net/ipv4/netfilter/ipt_ecn.c:48: error: 'struct ipt_ECN_info' declared inside parameter list
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_tcp':
net/ipv4/netfilter/ipt_ecn.c:58: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:58: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:59: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:60: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:60: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:61: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:69: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:70: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:71: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:72: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg':
net/ipv4/netfilter/ipt_ecn.c:84: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:84: error: 'IPT_ECN_OP_SET_IP' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:85: error: passing argument 2 of 'set_ect_ip' from incompatible pointer type
net/ipv4/netfilter/ipt_ecn.c:29: note: expected 'const struct ipt_ECN_info *' but argument is of type 'const struct ipt_ECN_info *'
net/ipv4/netfilter/ipt_ecn.c:88: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:88: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:88: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:90: error: passing argument 2 of 'set_ect_tcp' from incompatible pointer type
net/ipv4/netfilter/ipt_ecn.c:48: note: expected 'const struct ipt_ECN_info *' but argument is of type 'const struct ipt_ECN_info *'
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:101: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:101: error: 'IPT_ECN_OP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:103: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:106: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:106: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:108: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:111: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:111: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:111: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c: At top level:
net/ipv4/netfilter/ipt_ecn.c:124: error: invalid application of 'sizeof' to incomplete type 'struct ipt_ECN_info'
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[1]: *** [net/netfilter] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
sorry for the messed up links, I'm not allowed to post links (yet).
Any ideas how to get forward?
The reason I'm doing this is that I want to fix the bug that the internal mic is disabled when a stereo headphone / or a 3.5mm jack - 2xrca cable is plugged in. I think I can fix it from kernel-2.6.32-U8800-Froyo/kernel/arch/arm/mach-msm/rpc_server_handset.c, but first I have to get my build environment working
copy missing files instead of link
xt_MARK.c and xt_mark.c are not the same, at least in my source
try copy the missing file from android source
http://android.git.kernel.org/?p=kernel/msm.git;a=tree
wmi543 said:
xt_MARK.c and xt_mark.c are not the same, at least in my source
try copy the missing file from android source
Click to expand...
Click to collapse
It worked I copied all the files from the git instead of ln -s.
"Kernel: arch/arm/boot/zImage is ready"
Thanks for the quick reply.
Then I had to remove comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y line from .config and answer no to two questions when running make.
I used the 4.4.0 toolchain
Now I have the zImage but don't know how it'll work because the CONFIG_FB_MSM_MDDI_NT35582_WVGA probably has something to do with the display type.
BTW I've taken a backup with genokolar's recovery img. When I try this new kernel and if I can't boot, I should be able to get it to boot again by doing a restore from the earlier backup?
Now I'll start looking into packing the kernel to an .img (android-dls.com wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images#Structure_of_boot_and_recovery_images)..
OK. I copied the boot.img from the phone in bootloader mode, unpacked it with unpack-bootimg.pl. Then I bsdiffed (binary diff) the resulting boot.img-kernel.gz with the Image file I built, the patch file is only 389K so looks like they are quite similar. The only differences may be because of the display thing I changed in the Makefile.
Might try tomorrow to replace the unpacked kernel with the Image file and see if it works. What is the worst case scenario? I should always be able to restore from the old backup if it doesn't boot?
Maybe I'll also try to get the display thing to build right before trying it on the phone
edit: I read somewhere the .gz extension in the unpacked kernel file is a bug with the unpacking script, so "boot.img-kernel.gz" is actually the unpacked kernel file (so it should be the same as compiled Image) ?
Looks like the unpack-bootimg.pl and repack-bootimg.pl are not working right for the U8800 boot.img. I just tried to unpack the original boot.img and repack it, I got a blue screen when trying to boot. I could restore the original just by going to bootloader mode and copying back the original.
Any ideas how to unpack and repack the boot.img of the U8800?
You can repack the boot/recovery images with the following:
Code:
./mkbootfs RAMDISK DIRECTORY | ./minigzip > ramdisk-boot.img
./mkbootimg --kernel KERNEL --ramdisk ramdisk-boot.img --base 0x00200000 --pagesize 4096 --cmdline 'console=ttyDCC0 androidboot.hardware=huawei' -o boot.img
I just modified the repack perl script accordingly and added lines so that it will mount cust_backup and transfer the image across for me. Saves heaps of time.
stockwell said:
You can repack the boot/recovery images with the following:
Code:
./mkbootfs RAMDISK DIRECTORY | ./minigzip > ramdisk-boot.img
./mkbootimg --kernel KERNEL --ramdisk ramdisk-boot.img --base 0x00200000 --pagesize 4096 --cmdline 'console=ttyDCC0 androidboot.hardware=huawei' -o boot.img
I just modified the repack perl script accordingly and added lines so that it will mount cust_backup and transfer the image across for me. Saves heaps of time.
Click to expand...
Click to collapse
I used the unpack script from http://forum.xda-developers.com/showthread.php?t=891333 then modified the line "#$bootimg = substr($bootimg,2048);" to "$bootimg = substr($bootimg,4096);". There's still a difference of 215 bytes with the repacked img, but it works.
Now I can test the kernel I built myself. Thank you for the help.
edit: Looks like the built kernel doesn't work, now I can start tackling that
CONFIG_FB_MSM_MDDI_NT35582_WVGA=y
if you see only blue screen when you boot your own kernel, refer to my experience, edit .config, change 2 lines as below instead of comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y should fix it
CONFIG_FB_MSM_MDDI_AUTO_DETECT=y
CONFIG_FB_MSM_TRY_MDDI_CATCH_LCDC_PRISM=y
BTW, there is a tool "abootimg" which is quite handy for packing the kernel
http://gitorious.org/ac100/abootimg
wmi543 said:
if you see only blue screen when you boot your own kernel, refer to my experience, edit .config, change 2 lines as below instead of comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y should fix it
CONFIG_FB_MSM_MDDI_AUTO_DETECT=y
CONFIG_FB_MSM_TRY_MDDI_CATCH_LCDC_PRISM=y
BTW, there is a tool "abootimg" which is quite handy for packing the kernel
http://gitorious.org/ac100/abootimg
Click to expand...
Click to collapse
Works! great! Thanks for the help. Hopefully soon I can release my fixed kernel
Sorry, I'm new to Android. What advantages are there if you get the stock kernel or whatever?
"Stock" means the kernel that comes with the phone when you buy it. I just wanted to build it so I could modify it. I created a modified kernel that allows you to use the internal mic with headphones or for example when you connect the phone to your car stereo. The modified kernel is in the other thread.
Sent from my u8800 using XDA App
So with custom kernel you can achieve more functionality just like normal linux? Good. Would be awesome.
Hi all,
I am having following issue while building my android app... Please help how to solve it
Error:Execution failed for task ':UiTestrocessDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/opt/android-studio/sdk/build-tools/android-4.4.2/aapt package -f --no-crunch -I /opt/android-studio/sdk/platforms/android-19/android.jar -M /root/AndroidStudioProjects/UITest/UiTest/build/manifests/debug/AndroidManifest.xml -S /root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug -A /root/AndroidStudioProjects/UITest/UiTest/build/assets/debug -m -J /root/AndroidStudioProjects/UITest/UiTest/build/source/r/debug -F /root/AndroidStudioProjects/UITest/UiTest/build/libs/UiTest-debug.ap_ --debug-mode --custom-package np.info.niroj.uitest.uitest
Error Code:
1
Output:
W/ResourceType( 2822): ResXMLTree_node header size (nil) is too small.
W/ResourceType( 2822): ResXMLTree_node header size (nil) is too small.
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/global.xml:3: error: Error parsing XML: unbound prefix
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/main.xml:5: error: No resource identifier found for attribute 'showAsAction' in package 'np.info.niroj.uitest.uitest'
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/main.xml:8: error: No resource identifier found for attribute 'showAsAction' in package 'np.info.niroj.uitest.uitest'
Thank you
I've like to know more in general about how to run strace and debug errors in the general.
Specifically, my device was having issues and I saw errors like these in the logs.
Code:
2016-03-15 02:46:37,ERROR,QC-QMI,com.android.sdm.plugins.diagmon,linux_qmi_qmux _io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1: eek: operation not permitted]
I flashed factory images for mhc19i. With my only mods being twrp 3.0.0.1 and su 2.67, I'm seeing a lot of these qmuxd errors.
Code:
03-26 17:37:09.597 512 512 E QC-QMI : qmuxd: RX on fd=16 returned error=0 errno[2:No such file or directory]
03-26 17:37:09.598 512 512 E QC-QMI : QMUX qmux_client_id=4a not found in qmux client list, unable to remove
I'm really curious what is going on with this and I'd like to learn how to dig deeper. I tried running strace on the pid, but it wouldn't find a process using the number from logcat and qmuxd wasn't listed when I ran ps. I tried stop stopping ril-daemon and qmuxd and using strace to run qmuxd as directed in an old post.
Code:
1|[email protected]:/ $ strace -ff -v -o /sdcard/straceqmuxd -s 256 /system/bin/qmuxd
strace: Can't stat '/system/bin/qmuxd': Permission denied
1|[email protected]:/ $ su strace -ff -v -o /sdcard/straceqmuxd -s 256 /system/bin/qmuxd
sush: sush: - : unknown option
Can anyone point out where I'm going wrong or where I can learn how to troubleshoot these things?
Hi guys!
I'm trying to unofficially compile tesla ROM for our device. I already solved some compile issues, but now I found an issue that I can't find any where when googleing for it.
Here is my whole build output so far! It stopped at 94% of the build process. The error is at the end.
Long story short, this is what I'm getting:
Code:
[ 94% 51226/54069] build /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o
FAILED: /bin/bash -c "(echo \"target C++:\"\" Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I frameworks/av/include -I frameworks/av/media/libstagefright -I frameworks/av/media/libstagefright/include -I ./frameworks/native/include/media/openmax -I external/gtest/include -I frameworks/av/media/libstagefright/tests -I /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/EXECUTABLES/Utils_test_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_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/base/include -isystem hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -Werror -Wall -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -fpie -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d -o /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o frameworks/av/media/libstagefright/tests/Utils_test.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d >> /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d )"
target C++: Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp
In file included from frameworks/av/media/libstagefright/tests/Utils_test.cpp:29:
In file included from frameworks/av/include/media/stagefright/Utils.h:27:
frameworks/av/include/media/stagefright/MediaDefs.h:120:22: error: unused function 'bitsToAudioEncoding' [-Werror,-Wunused-function]
static AudioEncoding bitsToAudioEncoding(int32_t bits) {
^
frameworks/av/include/media/stagefright/MediaDefs.h:134:16: error: unused function 'audioEncodingToBits' [-Werror,-Wunused-function]
static int32_t audioEncodingToBits(AudioEncoding encoding) {
^
2 errors generated.
UPDATE 2018-06-10
I just had to switch from static to inline.
Then, as I described in this post, I had to change a xml file. Those java errors in the post I mentioned doesn't occur anymore, but I have another one.
The java.lang can't be found in classpath or bootclasspath. I'm trying to export some paths of android.jar to CLASSPATH, until now didn't seem to work. For now, I'm lost.
Ok,
following #Henkate's advice, I changed kernel source, as I was using the wrong one. I tried to build again, same error.
Then, knowing it wouldn't be a good fix, I edited the file with error, commenting out those 2 functions which was being caught in the non-used thing. It didn't solved the issue and produced another which is below:
Code:
FAILED: /bin/bash -c "(echo \"target thumb C++:\"\" libstagefright_32 <= frameworks/av/media/libstagefright/FLACExtractor.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I ./frameworks/av/include/media/ -I ./frameworks/av/media/libavextensions -I ./frameworks/av/media/libstagefright/mpeg2ts -I ./frameworks/av/include/media/stagefright/timedtext -I ./frameworks/native/include/media/hardware -I ./frameworks/native/include/media/openmax -I ./external/flac/include -I ./external/tremolo -I ./external/libvpx/libwebm -I ./system/netd/include -I system/media/audio_utils/include -I hardware/qcom/media-caf/msm8937/mm-core/inc -I ./external/stagefright-plugins/include -I frameworks/av/media/libstagefright -I /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/SHARED_LIBRARIES/libstagefright_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_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 hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall -DENABLE_STAGEFRIGHT_EXPERIMENTS -DQTI_FLAC_DECODER -fPIC -D_USING_LIBCXX -fsanitize=unsigned-integer-overflow,signed-integer-overflow -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d -o /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.o frameworks/av/media/libstagefright/FLACExtractor.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d >> /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d )"
target thumb C++: libstagefright_32 <= frameworks/av/media/libstagefright/FLACExtractor.cpp
frameworks/av/media/libstagefright/FLACExtractor.cpp:542:55: error: use of undeclared identifier 'bitsToAudioEncoding'
mTrackMetadata->setInt32(kKeyPcmEncoding, bitsToAudioEncoding(getBitsPerSample()));
^
1 error generated.
It was building until 94% and now it just builds until 48%. I guess was just lazy to try that. The fix is yet to be found.
PS: I still can't tag #Henkate =/ =/ =/ lol
Vinnom said:
Hi guys!
I'm trying to unofficially compile tesla ROM for our device. I already solved some compile issues, but now I found an issue that I can't find any where when googleing for it.
Here is my whole build output so far! It stopped at 94% of the build process. The error is at the end.
Long story short, this is what I'm getting:
Code:
[ 94% 51226/54069] build /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o
FAILED: /bin/bash -c "(echo \"target C++:\"\" Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I frameworks/av/include -I frameworks/av/media/libstagefright -I frameworks/av/media/libstagefright/include -I ./frameworks/native/include/media/openmax -I external/gtest/include -I frameworks/av/media/libstagefright/tests -I /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/EXECUTABLES/Utils_test_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_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/base/include -isystem hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -Werror -Wall -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -fpie -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d -o /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o frameworks/av/media/libstagefright/tests/Utils_test.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d >> /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d )"
target C++: Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp
In file included from frameworks/av/media/libstagefright/tests/Utils_test.cpp:29:
In file included from frameworks/av/include/media/stagefright/Utils.h:27:
frameworks/av/include/media/stagefright/MediaDefs.h:120:22: error: unused function 'bitsToAudioEncoding' [-Werror,-Wunused-function]
static AudioEncoding bitsToAudioEncoding(int32_t bits) {
^
frameworks/av/include/media/stagefright/MediaDefs.h:134:16: error: unused function 'audioEncodingToBits' [-Werror,-Wunused-function]
static int32_t audioEncodingToBits(AudioEncoding encoding) {
^
2 errors generated.
Click to expand...
Click to collapse
In the frameworks/av/media/libstagefright/tests/Android.mk file, you'll find "-werror"....delete it and try building again.
we dropped Nougat long ago
but looks like you need something in frameworks av
edit: look here, seems related https://github.com/nos-caf/android_frameworks_av/commit/b0f756564be8f900edc841270e2ae36aa7d110ed
I know, but as I'm starting in this world of building roms, I'm trying for a tree already done
If I successfully build it, then I'll to get a working tree for Oreo ^^
I'll try the advice from @quake73 and update the topic
HUAWEI NOVA user since 12/2016 =)
---Current ROM: AospExtended
---Kernel:stock
MOTO X user since 03/2015 =)
---Current ROM: Tesla N
---Kernel: Tesla N stock
NEXUS 4 user 2013-2015 =/
Kernel Adiutor Interactive profile: INTERACTIVE
Kernel Adiutor Intelliactive profile: INTELLIACTIVE
Kernel Adiutor Intellimm profile: INTELLIMM
Kernel Adiutor Smartmax profile: SMARTMAX
martinusbe said:
we dropped Nougat long ago
but looks like you need something in frameworks av
edit: look here, seems related https://github.com/nos-caf/android_frameworks_av/commit/b0f756564be8f900edc841270e2ae36aa7d110ed
Click to expand...
Click to collapse
I just looked, files differ a bit but nothing worrysome =)
quake73 said:
In the frameworks/av/media/libstagefright/tests/Android.mk file, you'll find "-werror"....delete it and try building again.
Click to expand...
Click to collapse
I removed that tag and it worked!
After that, I have found another error for which I found the fix. The error occurred when systemui was compiling.
frameworks/base/packages/SystemUI/res/layout/status_bar.xml had the problem with namespace and the fix was found here.
Solving Errors
(...)frameworks/base/packages/SystemUI/res/layout/battery_bar_rot0.xml:28: error: No resource identifier found for attribute 'viewLocation' in package 'com.android.systemui' and frameworks/base/packages/SystemUI/res/layout/battery_bar_rot0.xml:35: error: No resource identifier found for attribute 'viewLocation' in package 'com.android.systemui'. It may related to a bug in Android with custom widget namespace detection (?). In layout files, change the namespace declaration xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" to xmlns:systemui="http://schemas.android.com/apk/res-auto" seems to work. There're some more files have the same problem and can be similarily modified to get them fixed and built.
Click to expand...
Click to collapse
The error was described in the log outlining viewLocation attribute.
Another issue fixed.
Now I'm facing something about some java files. It seems I'm getting issues with some types that can't be resolved to a type. The output with the errors is below.
Code:
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:474: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:499: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:510: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:216: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:217: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:311: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:312: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:148: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:149: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:150: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:172: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:173: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:548: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:549: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:568: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:568: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:570: The method onVerticalChanged(boolean) of type new OnVerticalChangedListener(){} must override or implement a supertype method
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:866: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:869: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:872: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1225: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1226: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1226: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1228: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1228: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1229: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1230: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1230: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1810: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1811: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1819: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1824: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1826: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2022: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2026: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2061: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2062: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2112: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2113: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2114: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2114: OnVerticalChangedListener cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2120: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2121: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2125: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2129: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2129: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2133: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2137: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2138: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2166: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2172: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2417: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2418: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3188: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3188: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3832: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3833: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3854: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3923: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3924: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3993: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3995: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4014: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4015: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4130: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4131: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4290: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4295: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4299: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4302: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4650: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4656: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4657: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4957: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4958: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4959: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4961: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4961: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4962: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5043: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5044: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5101: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5102: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5247: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5248: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5249: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5252: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5277: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5278: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5596: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5597: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/tiles/NavigationBarTile.java:36: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/tiles/NavigationBarTile.java:131: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/LockIcon.java:36: The hierarchy of the type LockIcon is inconsistent
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:110: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:123: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:126: The import com.android.systemui.slimrecent cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:233: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:412: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:436: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:437: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:446: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:446: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:451: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:727: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1681: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1682: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1692: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1694: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1705: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1706: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1725: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1726: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:34: The import android.support.v7.graphics.Palette cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:51: Palette cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:172: Palette cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:602: Palette cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/BarTransitions.java:38: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/BarTransitions.java:78: NavbarOverlayResources cannot be resolved to a type
Still googleing for solutions for this
wow .... how exciting. i hope it can be true. Oreo for Nova.
babysocola1x said:
wow .... how exciting. i hope it can be true. Oreo for Nova.
Click to expand...
Click to collapse
Well, if I manage to build nougat, then I'll try to learn and move on to oreo ^^
The whole weekend I tried to solve the error but I couldn't.
Then I thought to start a log of everything I did. Just to make sure that it would be a clean log, I cleaned my folder and repo sync everything anew.
The log is attached. Help is very welcome