yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Olivier:
[MENTION=5475344]##W4TCH0UT##[/MENTION]: Does this defconfig even exist? Check in "kernel/micromax/a110/kernel/arch/arm/configs/" please.

Now my problem...

Some friends and me try to port CM10.2 to the HTC Wildfire S using CM10.1 as a base.

We have managed to get it built, but the builds are firstly stuck on the HTC bootlogo then "reboot" to recovery. Any ideas?

Device

Kernel

Out of the last_kmsg:

[ 28.080261] init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode

Thanks in advance!
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Yes it does exist.
[Android Q&A, Help & Troubleshooting] speed_bot:
are u able to get a logcat ? or the init hasnt been started yet?
[Android Q&A, Help & Troubleshooting] Olivier:
Nevermind, we've managed to fix it up. :)
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
At the moment latest official cm 11 build is 'EXPERIMENTAL-OOM_TEST', so if I sync the source from cm-11.0 build branch will I make the same version? Thanks.
[Android Q&A, Help & Troubleshooting] antonio8297:
hi at all.

are some days that download a repo from github,it use only 150-200kb/s,if i download a repo from google git,it use all the bandwith.

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] v_superuser:
Any help with this

http://pastebin.com/Ym9C8QuC ?

File causing error - https://github.com/v-superuser/android_device_samsung_kylexx/blob/cm-11.0/ril/SamsungRIL.java

I'm no good at Java so need some help with this! :) :fingers-crossed:

EDIT - Fixed! :)
[Android Q&A, Help & Troubleshooting] speed_bot:
see line 350 of that makefile
[Android Q&A, Help & Troubleshooting] mhrsolanki2020:
Hello

I have currently started off with rom development

I wanted to know what are proprietary files??

when i executed

. build/envsetup.sh
breakfast p3100

it downloaded 6 projects (which i assumed would have proprietary files specific to my device)

Fetching project android_hardware_samsung

Fetching project android_device_samsung_omap4-common

Fetching project android_packages_apps_SamsungServiceMode

Fetching project android_kernel_samsung_espresso10

Fetching project repo

Fetching project android_device_samsung_p3100

I thought this would be enough..

But i had to extract the proprietary files in ~SOURCE_FOlder/device/samsun/p3100

by executing the .extract-files.sh

Why so ?

Also i wanted to share a resource that you can add in OP

For developers who are struggling with GitHub : https://try.github.io/levels/1/challenges/1
[Android Q&A, Help & Troubleshooting] speed_bot:
you had execute extract-files.sh because the script dint fetch the vendor..in simple words the word vendor is not there in the 6 repos that got downloaded.
[Android Q&A, Help & Troubleshooting] F-L-Y-E-R:
Sometimes I am confused about which version of 'NIGHTLY' I am build... Can someone tell me where can I go to find out that lets say, all commits for 05/18 nightly are actually pushed to the github :confused: for example at the moment when I go to 'cmxlog' and select Htc One (M8) 05/18 is already available to download but when I select Htc One S 05/18 isn't available yet so does that mean if I sync repo I'll not get 05/18 :eek:
[Android Q&A, Help & Troubleshooting] antonio8297:
hi at all,

i'm building aosp for galaxy nexus gsm(maguro)

i'm getting this error always:

device/samsung/tuna/overlay/frameworks/base/core/res/res/values/config.xml:244: error: Resource at config_multiColorBatteryLed appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"
make: *** Attesa per i processi non terminati....

i'm using this repo:

https://github.com/ShinyROM/android_device_samsung_maguro

https://github.com/ShinyROM/android_device_samsung_tuna

https://github.com/ShinyROM/android_kernel_samsung_tuna

how can i fix this?

thanks at all.
[Android Q&A, Help & Troubleshooting] rodman01:
There is no target for the line in config.xml in the overlay folder. Delete line 244 or remove the whole config.xml in device/samsung/tuna/overlay/frameworks/base/core/res/res/values

or add the resources needed for the specified overlay in base package, if you can.
[Android Q&A, Help & Troubleshooting] awidawad:
When building PAC I don't get an output zip... Using the build command specified... Any ideas?

running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar /home/awidawad/pacman/out/host/linux-x86/framework/signapk.jar -w build/targ
et/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpxfYMQx /home/awidawad
/pacman/out/target/product/t6spr/pac_t6spr-ota-f7e8f14bfd.zip
done.
Package Complete: /home/awidawad/pacman/out/target/product/t6spr/cm-11-20140522-UNOFFICIAL-t6spr.zip

/home/awidawad/pacman/out/target/product/t6spr/pac_t6spr-ota-eng.awidawad.zip doesn't exist!
Total time elapsed: 83 minutes 9 seconds
awidawad@server1 ~/pacman $ cd out/target/product/t6spr
awidawad@server1 ~/pacman/out/target/product/t6spr $ ls -l
total 589196
-rw-r--r-- 1 awidawad awidawad 12 May 22 14:02 android-info.txt
-rw-r--r-- 1 awidawad awidawad 7012352 May 22 15:03 boot.img
-rw-r--r-- 1 awidawad awidawad 38393 May 22 13:59 clean_steps.mk
drwxr-xr-x 1 awidawad awidawad 0 May 22 14:50 data
drwxr-xr-x 1 awidawad awidawad 18 May 22 14:04 external
drwxr-xr-x 1 awidawad awidawad 34 May 22 15:16 fake_packages
-rw-r--r-- 1 awidawad awidawad 84852 May 22 15:17 installed-files.txt
-rwxr-xr-x 1 awidawad awidawad 6634464 May 22 14:59 kernel
drwxr-xr-x 1 awidawad awidawad 358 May 22 15:17 obj
-rw-r--r-- 1 awidawad awidawad 1 May 22 15:18 ota_custom_bootimg_mk
-rw-r--r-- 1 awidawad awidawad 12 May 22 15:18 ota_override_device
-rw-r--r-- 1 awidawad awidawad 49 May 22 15:18 ota_script_path
-rw-r--r-- 1 awidawad awidawad 758 May 22 13:59 previous_build_config.mk
-rw-r--r-- 1 awidawad awidawad 4688896 May 22 15:06 ramdisk-recovery.cpio
-rw-r--r-- 1 awidawad awidawad 3056190 May 22 15:07 ramdisk-recovery.img
-rw-r--r-- 1 awidawad awidawad 374708 May 22 15:03 ramdisk.img
drwxr-xr-x 1 awidawad awidawad 22 May 22 15:06 recovery
-rw-r--r-- 1 awidawad awidawad 9695232 May 22 15:07 recovery.img
drwxr-xr-x 1 awidawad awidawad 538 May 22 15:03 root
drwxr-xr-x 1 awidawad awidawad 44 May 22 15:03 symbols
drwxr-xr-x 1 awidawad awidawad 156 May 22 15:08 system
-rw-r--r-- 1 awidawad awidawad 429415700 May 22 15:17 system.img
[Android Q&A, Help & Troubleshooting] a2441918:
Hi I got the same error as

hardware/qcom/display-caf-new/libgralloc/mapper.cpp:339:14: error: 'GRALLOC_MODULE_PERFORM_UPDATE_BUFFER_GEOMETRY' was not declared in this scope

how to declare it mate? Kindly help me out.

Also I get these errors mate.

hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:1181:29: error: 'hwc_layer_1_t' has no member named 'dirtyRect'

hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:1182:52: error: 'hwc_layer_1_t' has no member named 'dirtyRect'

How to fix em up?
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
I was able to compile CM11 for my device, the build completed successfully with no errors, but the ROM is not booting. While I tried to have a log but

adb logcat
- exec '/system/bin/sh' failed: No such file or directory (2) -

No idea what to do next.

Please help.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
What device please? Sounds like system isn't mounting
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
It's Motorola XT530, first CM, so no sources up.

Here is the ramdisk, I tried mounting all partitions with a new .rc, it still fails.

EDIT : Never-mind somehow was able to get past it. Now the screen goes black, and this is the log.
[Android Q&A, Help & Troubleshooting] DC07:
Hello guys,

I was compiling aokp and got few errors, Here is a logcat

Thanks
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
which version of android are you trying to build? I see lots of errors

edit: Your device is GB not going to be easy to get cm-11 going I suggest you start with GB and make your way up
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
I see.

Thanks for the info.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Pm me a system dump I can attempt to write a tree based on another device
[Android Q&A, Help & Troubleshooting] Gnome:
https://github.com/TheGNOMEProject/...mmit/5d3e1ac33e3fd3c3e41f42930540638aa9842aae

Check that [MENTION=4562296]antonio8297[/MENTION]
[Android Q&A, Help & Troubleshooting] antonio8297:
Today i include this,and try to recompile.

And another question,is possible that is the -O3 that cause problem?and need to reuse -Os and -O2?

Thanks.

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] TheUltimateNoobist:
Help Required! First post here at XDA!?

As far as I know, the brerakfast comand is used to build the ROM from source. But what if my device isnt registered at CM yet? So i decided to use the lunch command.

>> lunch <vendor_name>_<product_name>-<build_variant>

For my device it would be lunch Intex Amlogic ???

What does the build variant mean?

Oh and also some great dev mentioned using "Roomservice". What does that mean?
[Android Q&A, Help & Troubleshooting] blueether:
Hi guys/gals,

I'm trying to build AOSP using CM 11's device tree for togari/togari_gpe and have hit a brick wall after solving the first few make errors.

I have to errors, that I suspect are the same problem:

The first is if I just build with make I get this error:

Import includes file: out/target/product/togari/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/import_includes
Import includes file: out/target/product/togari/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/profiler.cpp
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/idle_invalidator.cpp
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/comptype.cpp
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
#include <linux/msm_mdp.h>
^
Import includes file: out/target/product/togari/obj/SHARED_LIBRARIES/gps.msm8974_intermediates/import_includes
compilation terminated.
make: *** [out/target/product/togari/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
make: *** Waiting for unfinished jobs....

and if I do make bootimage I get this:

make: *** No rule to make target `out/target/product/togari/kernel', needed by `out/target/product/togari/boot.img'. Stop.

I suspect that both stem from aosp not finding the kernel source?

kernel source is at ~/dev/aosp/kernel/sony/msm8974/ and I'm building in ~/dev/aosp

I'm also trying to build vanir aosp using the same device tree and kernel and make bootimage completes fine.

Any help would be great
[Android Q&A, Help & Troubleshooting] antonio8297:
Because aosp pure need prebuilt kernel,and not kernel source.

So you need to compile a separate kernel,and place it in device/sony/togari

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
I was trying to compile stock kk kernel and I got some syntax error:

w4tch0ut@w4tch0ut-HP-Pavilion-dv6000-RQ375EA-ABV:~/kernel/android_kernel_samsung_i9082$ make ARCH=arm CROSS_COMPILE=/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

Makefile:1414: warning: overriding commands for target `clean'

Makefile:1180: warning: ignoring old commands for target `clean'

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

make[1]: *** [kernel/bounds.s] Error 2

make: *** [prepare0] Error 2

w4tch0ut@w4tch0ut-HP-Pavilion-dv6000-RQ375EA-ABV:~/kernel/android_kernel_samsung_i9082$

.

please help. Why is it showing this error, I can't figure out. The path to the toolchain is also correct.
[Android Q&A, Help & Troubleshooting] Gnome:
type this:

CROSS_COMPILE=~/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-

And make sure that path is correct. If not, correct it and just add ~ after =
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Nope bro, same error occurring.
[Android Q&A, Help & Troubleshooting] Gnome:
Check this for reference: LINK

Look at my toolchain path, and double check yours.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Bro I checked it and also tried the export commands , but whenever I type ~ in front of =, this error occurs:

make: /home/w4tch0ut/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc : Command not found

.

And when I remove the ~ sign, same syntax error occurs.

---------- Post added at 04:51 AM ---------- Previous post was at 04:47 AM ----------

And also I'm using Ubuntu 32-bit to compile a kernel.
[Android Q&A, Help & Troubleshooting] Gnome:
it should be:

export CROSS_COMPILE=~/home/w4tch0ut/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Really.. I think this might be the wrong path. That is the wrong path. Home/w4tch0ut/home/w4tch0ut,does not exist.
[Android Q&A, Help & Troubleshooting] Gnome:
I told you, its just the path.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Not working bro. Same, command not found. Tell me one thing. I used christopher83's linaro toolchains. So should the path be this: https://github.com/Christopher83/l..._a9-linux-gnueabihf-linaro_4.9.1-2014.05/bin , or this: https://github.com/Christopher83/l....1-2014.05/arm-cortex_a9-linux-gnueabihf/bin . Please tell me.

---------- Post added at 06:40 AM ---------- Previous post was at 06:39 AM ----------

And also now, I'm downloading linaro toolchains direct from the linaro website. So what should be it's path?
[Android Q&A, Help & Troubleshooting] Nekator:
Should be

export CROSS_COMPILE=/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc

Or

export CROSS_COMPILE=~/w4tch0ut/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc

Because ~ is the home directory.

And don't forget to reboot after making path variable entries.

sent from N⁴
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
I've set the right path now, but the only error coming in my way is the syntax error. How to resolve it? And I'm using Ubuntu 14.04 32-bit.
[Android Q&A, Help & Troubleshooting] Nekator:
Sorry. Which error?

I just fell into the path discussion and have no idea. xD

sent from N⁴
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
This is the syntax error I'm getting:

w4tch0ut@w4tch0ut-HP-Pavilion-dv6000-RQ375EA-ABV:~/kernel/android_kernel_samsung_i9082$ make ARCH=arm CROSS_COMPILE=/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

Makefile:1414: warning: overriding commands for target `clean'

Makefile:1180: warning: ignoring old commands for target `clean'

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 1: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: ELF####: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 2: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: @###@@@@@0#0##p#p#@p#@####@@��

��

: not found

/home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: 3: /home/w4tch0ut/toolchains/linaro/bin/arm-cortex_a9-linux-gnueabihf-gcc: Syntax error: "(" unexpected

make[1]: *** [kernel/bounds.s] Error 2

make: *** [prepare0] Error 2
[Android Q&A, Help & Troubleshooting] Nekator:
Okay did some research and found out that this error occurs on 32bit systems because the toolchain is not compatible with 32 bit.

EDIT:

http://xdaforums.com/showthread.php?p=40352658

sent from N⁴
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Oh man. Then should I switch to sm-4.10 tool chain of should I go back to stock toolchain. I.e arm eabi toolchain.
[Android Q&A, Help & Troubleshooting] Nekator:
Yes or u set up a 64bit VM.

sent from N⁴
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
OK. Thanks.
[Android Q&A, Help & Troubleshooting] phanitej:
Hi all,

I have been trying to build a rom from the AOSP sources for my nexus 7 3g tab (2012). Im new to this, followed some articles to understand what we need to do to get the rom built.

I come till the step where i use

make -j4 otapackage

to get a flashable zip. But i keep getting an error. Been searching a lot but not able to find any solution that i can understand or try. Pls help me

http://pastebin.com/4WrrbF1b
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Can anyone tell me, which toolchain is compatible with 32 bit, as I have tried arm-eabi-4.8,4.7,4.6. None of them worked. All gave me syntax error. Please tell me which toolchains are compatible with 32 bit.
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
You could try 4.4.3, it's in the Android NDK revision 8e. That's a pretty solid choice and should work. I'm sure I definitely used it to compile a kernel when I was on 32bit system. Here's the download link: http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2 you just might need to add some flags to get some stuff working, I had to add -fno-pic flag to get modules to work, just PM me if you need this.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Um... Is it available in the Google source code. Well I desperately need this toolchain. I'll add the required flags. Just pm me which flags to add.
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
If you look in /prebuilt/linux-x86/toolchain it might be in there as arm-eabi-4.4.3. All you need to do is to find the line

CFLAGS_MODULE =

in the Makefile in your kernel source and type -fno-pic after the = so it looks like this

CFLAGS_MODULE = -fno-pic

If the toolchain isn't in /prebuilt/ it might be under the directory /prebuilts/something, it depends what Android version you've got but I expect you already know where to find them.
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
:p I gave you the link to the NDK, it's in there. Here it is again: http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2 I assume you're on Linux so download that, extract it, and your cross compile will be:

export CROSS_COMPILE=~/THE_NDK_FOLDER_YOU_EXTRACTED/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- ARCH=arm

good luck :good:
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
Hello

Stuck on black screen after init logo.

Here is the log.

Device : Motorola XT 530

device tree
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
What device tree did you start with it says hwcomposer module is missing and surfaceflingers crashed.

Could you upload the zip to me please
[Android Q&A, Help & Troubleshooting] oscaraigf:
Error copiling SlimKat 4.4.3 and SaberMod 4.8.4

target thumb C++: copybit.msm8974 <= hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1070:13: error: unused parameter 'ctx' [-Werror=unused-parameter]
static bool need_to_execute_draw(struct copybit_context_t* ctx,
^
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1390:12: error: unused parameter 'dev' [-Werror=unused-parameter]
static int set_sync_copybit(struct copybit_device_t *dev,
^
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1390:12: error: unused parameter 'acquireFenceFd' [-Werror=unused-parameter]
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1432:12: error: unused parameter 'dev' [-Werror=unused-parameter]
static int fill_color(struct copybit_device_t *dev,
^
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1432:12: error: unused parameter 'dst' [-Werror=unused-parameter]
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1432:12: error: unused parameter 'rect' [-Werror=unused-parameter]
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1432:12: error: unused parameter 'color' [-Werror=unused-parameter]
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:1501:12: error: unused parameter 'name' [-Werror=unused-parameter]
static int open_copybit(const struct hw_module_t* module, const char* name,
^
cc1plus: all warnings being treated as errors
make: *** [/home/tornado76/SLIM_DARKNESS/out/target/product/d802/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1

---------- Post added at 10:22 AM ---------- Previous post was at 10:09 AM ----------

https://github.com/AOSPAL/android_hardware_qcom_display/commit/22a6a4d09de40743aef61a5bf28a72bde327bd6f
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
Hello

Here you go.

Thank you for helping me.
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
I'm building CM11 for HTC Dream, so obviously there's no official device tree but so far I'm just trying to get a recovery built at least so I modified this device tree: https://github.com/SimplicityCM/android_device_htc_marvel I have no idea what's going wrong as lunching marvel then make recoveryimage works fine, I've got to the point where lunch works so I must have set up the tree correctly to some extent, but I can't see how anything I did could have caused this error.

Thanks slot :)

So I got that sorted but my recovery image won't boot, so how the hell am I supposed to debug this as obviously I can't use fastboot or adb unless I'm in bootloader or recovery, respectively. Thanks :)
[Android Q&A, Help & Troubleshooting] demkantor:
hey [MENTION=4693882]HTCDreamOn[/MENTION],

If all your going after right now is recovery you can just make clean/clobber then run

make -j5 recoveryimage

Or whatever you want for j, this will be much faster and skip those build issues your getting that aren't recovery dependent