How to extend ROMDump & DumpROM to other PDAs? - Windows Mobile Development and Hacking General

Hi, I'm freash guy of here. I'd like to say 'Happy new year' to everybody at first.
Does anybody tried ROMDump & DumpRom utility on other PDA devices? Currently I'm working on Symbol PPT8800. My task is to migrate some applications from PPC2002 to CE .NET. Since I've finger out the DLLs that CE .NET does not have, I want to separate the these DLLs from the ROM file.
Unfortunat, even I got a 32M ROM file through ROMDump from my device, it's failed when I use 'dumprom' utility. The program give the error message like the following:
Code:
D:\WUTemp>dumprom -4 -d d:\wutemp 2.bin
img 00000000 : hdr=80072000 base=80068000 commandlineoffset=80068000
img 00040000 : hdr=80091000 base=80048000 commandlineoffset=80048000
img 00100000 : hdr=8007180c base=7ff00000 commandlineoffset=7ff00000
img 00240000 : hdr=8020eacc base=7ff00000 commandlineoffset=7ff00000
img 00480000 : hdr=8039b334 base=7ff00000 commandlineoffset=7ff00000
img 00770000 : hdr=80be4fb4 base=7ff00000 commandlineoffset=7ff00000
img 00d00000 : hdr=80e97400 base=7ff00000 commandlineoffset=7ff00000
img 01150000 : hdr=813e7324 base=7ff00000 commandlineoffset=7ff00000
img 01500000 : hdr=815d1d38 base=7ff00000 commandlineoffset=7ff00000
img 01740000 : hdr=818f6398 base=7ff00000 commandlineoffset=7ff00000
ERROR: could not find pointer for ofs 00730025
ERROR: could not find pointer for ofs 00490065
ERROR: could not find pointer for ofs 006c0064
ERROR: could not find pointer for ofs 0075006c
ERROR: could not find pointer for ofs 006e0061
......
ERROR: could not find pointer for ofs 03febe20
ERROR: could not find pointer for ofs 03febf34
ERROR: could not find pointer for ofs 00000001
ERROR: could not find pointer for ofs 03fec6a4
ERROR: could not find pointer for ofs 03fecac4
ERROR: could not find pointer for ofs 00000000
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Can anybody give me some help.
Thanks in advance.

Related

Trying to build the stock kernel from source [SOLVED]

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.

Help on Kernel 2.6.35.10 Compilation Error

I encounter the following error when compiling the kernel 2.6.35.10.
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_request_end':
drivers/mmc/host/msm_sdcc.c:208: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_dma_complete_tlet':
drivers/mmc/host/msm_sdcc.c:350: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_start_command_deferred':
drivers/mmc/host/msm_sdcc.c:560: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:561: error: 'MSM_MMC_REQ_TIMEOUT' undeclared (first use in this function)
drivers/mmc/host/msm_sdcc.c:561: error: (Each undeclared identifier is reported only once
drivers/mmc/host/msm_sdcc.c:561: error: for each function it appears in.)
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_probe':
drivers/mmc/host/msm_sdcc.c:1897: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:1948: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_remove':
drivers/mmc/host/msm_sdcc.c:2010: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
make[3]: *** [drivers/mmc/host/msm_sdcc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
My compliation steps are as follows
1. download kernel 2.6.35.10 is from microslav_mm's git webpage:
$ cd /home/username/android/
$ git clone git://github.com/mmxtrem/android_kernel_swift.git
$ cd cm-kernel after a little rename
2. pull out the /proc/config.gz from my GT540 phone (SDSL 2.1) for kernel configuration.
$ adb pull /proc/config.gz .
$ cat config.gz | gunzip > .config
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
3. configure the cross-compiler and trigger the compilation
$ export CCOMPILER=/home/username/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
How can I fix this compilation error? Any suggestions will be appreciated.
Shawn
csqjxiao said:
I encounter the following error when compiling the kernel 2.6.35.10.
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_request_end':
drivers/mmc/host/msm_sdcc.c:208: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_dma_complete_tlet':
drivers/mmc/host/msm_sdcc.c:350: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_start_command_deferred':
drivers/mmc/host/msm_sdcc.c:560: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:561: error: 'MSM_MMC_REQ_TIMEOUT' undeclared (first use in this function)
drivers/mmc/host/msm_sdcc.c:561: error: (Each undeclared identifier is reported only once
drivers/mmc/host/msm_sdcc.c:561: error: for each function it appears in.)
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_probe':
drivers/mmc/host/msm_sdcc.c:1897: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:1948: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_remove':
drivers/mmc/host/msm_sdcc.c:2010: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
make[3]: *** [drivers/mmc/host/msm_sdcc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
My compliation steps are as follows
1. download kernel 2.6.35.10 is from microslav_mm's git webpage:
$ cd /home/username/android/
$ git clone git://github.com/mmxtrem/android_kernel_swift.git
$ cd cm-kernel after a little rename
2. pull out the /proc/config.gz from my GT540 phone (SDSL 2.1) for kernel configuration.
$ adb pull /proc/config.gz .
$ cat config.gz | gunzip > .config
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
3. configure the cross-compiler and trigger the compilation
$ export CCOMPILER=/home/username/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
How can I fix this compilation error? Any suggestions will be appreciated.
Shawn
Click to expand...
Click to collapse
Same here. Any ideas?
Can you guys put the errors in a code tag? not so messy
These errors comes with arm-eabi-linaro-4.6.2
Compiling with arm-eabi-4.4.3 also print this error but compilation of kernel continues to the end. But. Where can I find kernel image? I suppose it should be in arch/arm/boot/ but it isn't. Or where I have to looking for the Image file?
Code:
[email protected] ~/android/kernel/$ ls -l arch/arm/boot/
razem 16
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 bootp
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 compressed
-rw-r--r-- 1 smogf smogf 1274 04-01 23:27 install.sh
-rw-r--r-- 1 smogf smogf 3118 04-01 23:27 Makefile
[email protected] ~/android/kernel/mmxtrem-android_kernel_swift-6010f54
I've tried once again with make zImage and compilation fails with the same error as before. I have no idea. Any help will be useful.
smogf said:
These errors comes with arm-eabi-linaro-4.6.2
Compiling with arm-eabi-4.4.3 also print this error but compilation of kernel continues to the end. But. Where can I find kernel image? I suppose it should be in arch/arm/boot/ but it isn't. Or where I have to looking for the Image file?
Code:
[email protected] ~/android/kernel/$ ls -l arch/arm/boot/
razem 16
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 bootp
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 compressed
-rw-r--r-- 1 smogf smogf 1274 04-01 23:27 install.sh
-rw-r--r-- 1 smogf smogf 3118 04-01 23:27 Makefile
[email protected] ~/android/kernel/mmxtrem-android_kernel_swift-6010f54
I've tried once again with make zImage and compilation fails with the same error as before. I have no idea. Any help will be useful.
Click to expand...
Click to collapse
It seems bootp, Compressed, install.sh and Makefile is in the folder your looking at...
Otherwise I think the image name starts with initrd
Sent using the LG GT540 Polishblood PreRC CM9 4.0 using XDA Premium

Varios issues porting AOSP/CyanogenMod/Any other such ROM(s)...

Hey everyone!
As the title says, but more exactly I kinda lost my mind trying to port custom firmware for Asus A500CG. And all of it end up with errors with "hardware/intel/img/psb_video/src/android/psb_android_glue.cpp".
I've used the master branch of the device tree here by quanganh2627. I'm trying to build Android M currently . I've disabled SELinux things. And to solve the psb_video error I removed the folder itself. I get a successful build but ends up with building the one for medfield. I'll post the error in the next post. And could someone guide me properly to build the ROM and for the right device.
Also I'm building it on Ubuntu 14.04.02.
I get the Medfield info because it literally gets stuck in the splash screen, so I used adb devices & I used adb logcat.
I see that most of the services fail to start & to be more precise a bootloop without boot animation.
I'd appreciate help from anyone with more experience working with custom firmware.
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:124:21: error: NULL used in arithmetic [-Werror=pointer-arith]
if (imds == NULL)
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:127:20: error: NULL used in arithmetic [-Werror=pointer-arith]
if (mds != NULL) {
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:130:13: error: converting to non-pointer type 'int' from NULL [-Werror=conversion-null]
mds = NULL;
^
cc1plus: all warnings being treated as errors
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
Next set of errors:
hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory
#include <ufo/gralloc.h>
^
compilation terminated.
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0:
hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)':
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr'
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)'
sm->getService(String16(INTEL_MDS_SERVICE_NAME)));
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is:
In file included from frameworks/native/include/binder/IServiceManager.h:21:0,
from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33:
frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&)
inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj)
^
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
#### make failed to build some targets (03:04 (mm:ss)) ####
Go to psb_video folder and delete all files here apart all folders and Android.mk file.
Open Android.mk file and comment all strings there using # symbol.
My CM12.1 is booted without this folder. You should compile Lollipop rom and only after that you should compile Marshmallow.
But mate it creates pvr_drv_video.so module. So would it be right to do so?
Just try.
I tried and it built it again for medfield mate....

Building Android 5.1.1 from source - Compile error

Hi guys, I don't know if this is the correct section for this, of not then feel free to move it.
I'm trying to build Android 5.1.1_r38 from source on a Intel i5 mechine running Ubuntu 16.04.
After about an hour running, If gives me the following errors
Code:
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:90: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:48: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:55: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:68: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:31: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmacro_x86_host_gyp_intermediates/genmacro' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmacro_x86_host_gyp_intermediates/genmacro] Error 1
make: *** Waiting for unfinished jobs....
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:87: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:63: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:174: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:183: error: unsupported reloc 43
host StaticLib: third_party_yasm_genperf_libs_x86_host_gyp_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/third_party_yasm_genperf_libs_x86_host_gyp_intermediates/third_party_yasm_genperf_libs_x86_host_gyp.a)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:31: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/genmodule' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/genmodule] Error 1
I've run apt-get update and make clobber and anything else I can think of (note: I'm quite new to ubuntu)
If you need any more info, just feel free to ask, as I'm not sure what you need to help me.
Thanks in advance.

Trying to compile Tesla for Huawei Nova

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

Categories

Resources