yashsingh1/xdaforums huggingface dataset:
[Android] ilbarone87:
Sorry but I'm a little noob about this, can you explain me in details what I have to do to declare the scope.

Meanwhile I tried with the second option (remove) but i get this second error

ERRROR
device/htc/s4-common/overlay/frameworks/base/core/res/res/values/config.xml:105: error: Resource at config_wifiApFirmwareReload appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/home/ilbarone/giuseppePA/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "/home/ilbarone/giuseppePA/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"

What do you think about it? Thank you

Inviato dal mio hTC One S con Tapatalk
[Android] nelikp:
Anyone can help me with this error??
[Android] x10forevers:
Here is error code

device/htc/s4-common/overlay/frameworks/base/core/res/res/values/config.xml:105: error:

Go to device/htc/s4-common/overlay/base/core/res/res/values/config.xml

and remove line no 105

that will remove your error
[Android] lozohcum:
How can I build android on a different partition?

I made special partition for source code but I can't init repo on it, I got error
[Android] patch_Adams:
How did you create the partition? What commands are you mounting the partition with? And what is your error?
[Android] koko98:
Is there ANY way to build in 32-bit system? I have read and it is possible modifying some files. I think a x86 cross compiler like linaro would be enough but idk. Please help!

Enviado desde mi LT30p mediante Tapatalk
[Android] ibub:
[MENTION=4325553]koko98[/MENTION]

I was able to build ICS (cm9) on 32-bit, but I haven't had any luck with JB (cm10.x). Although there have been some updates to Ubuntu 13.04 regarding some dev tools, I have not tried it to see if it is now possible. If you find a way, please share. I would really like to be able to contribute to my device community. :):beer:

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Android] Charly1811:
Black screen after all builds

Hi people . I am trying to build AOSP 4.3.1 from source for samsung galaxy tab 2 7.0 . This is what i did :

Download source code for 4.3.1

Cloned CM device tree for samsung galaxy tab 2

Compiled prebuilt kernel from Samsung sources

After that, the zip file was builded but after flashing My tablet stuck on black screen after the SAMSUNG logo. I don't know where is the problem

I have tried to compile with CM kernel and many kernels from several devs but I stuck on Black screen. It's very frustrating because I spent my time on it but nothing seem working. Please Help me
[Android] koko98:
Can you believe me? My PC is 5 years old, I have always thought it was 32-bit, that's why I've 32-bit OSs installed, but today I've discovered that it's 64-bit -_-

Enviado desde mi LT30p mediante Tapatalk

---------- Post added at 08:54 AM ---------- Previous post was at 08:40 AM ----------

Can I compile on external HDD?

Enviado desde mi LT30p mediante Tapatalk
[Android] Adreaver:
You should be able to. I tried. It started building, but failed due to an unrelated error.

However, it was slooooooooooow. Like unbearably so. I wound up setting up an Ubuntu partition and build environment on my internal hdd instead. Setting that all up, including the initial repo sync, took less time than the failed build on the external.

YMMV.

Sent from my T999L on PAC-man
[Android] koko98:
And using CCACHE on external HDD? The problem is that my internal partition is only 20G

Enviado desde mi LT30p mediante Tapatalk
[Android] Adreaver:
I was using ccache. Remember that your internal drive runs much faster, probably higher rpm as well as SATA having a much better transfer rate than USB.

Sent from my T999L on PAC-man
[Android] koko98:
I dont know why, build has stopped suddenly, without giving any errors. It has happened after building kernel. Here's my output, notice that I'm building in /media/ivykoko/269Gb

make[1]: se sale del directorio «/media/ivykoko/269Gb/CM10.2/kernel/asus/grouper»
mdpath=`find /media/ivykoko/269Gb/CM10.2/out/target/product/grouper/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /media/ivykoko/269Gb/CM10.2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /media/ivykoko/269Gb/CM10.2/out/target/product/grouper/system/lib/modules/; done; fi
mdpath=`find /media/ivykoko/269Gb/CM10.2/out/target/product/grouper/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

Then I've tried running brunch again and I get the following

No private recovery resources for TARGET_DEVICE grouper
Install: /media/ivykoko/269Gb/CM10.2/out/host/linux-x86/bin/acp
make -C kernel/asus/grouper O=/media/ivykoko/269Gb/CM10.2/out/target/product/grouper/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/ivykoko/269Gb/CM10.2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_grouper_defconfig
make[1]: se ingresa al directorio «/media/ivykoko/269Gb/CM10.2/kernel/asus/grouper»
#
# configuration written to .config
#
make[1]: se sale del directorio «/media/ivykoko/269Gb/CM10.2/kernel/asus/grouper»
host SharedLib: libSR_EventLog (/media/ivykoko/269Gb/CM10.2/out/host/linux-x86/obj/lib/libSR_EventLog.so)
cp: se conserva las fechas de «/media/ivykoko/269Gb/CM10.2/out/host/linux-x86/bin/acp»: Operación no permitida
make: *** [/media/ivykoko/269Gb/CM10.2/out/host/linux-x86/bin/acp] Error 1
make: *** Se borra el archivo «/media/ivykoko/269Gb/CM10.2/out/host/linux-x86/bin/acp»
make: *** Se espera a que terminen otras tareas....
[Android] SpaceCaker:
logcat
[Android] Charly1811:
Thanks for your answer. I will try it
[Android] Charly1811:
I Have tried logcat but ADB says

c08083b1345244f unauthorized

It seems i can't access my device through ADB . I will search something else .
[Android] patch_Adams:
Deleted
[Android] SMillerNL:
Go into fastboot, pull the kmesg_last or whatever the kmesg from the previous boot is called and post that.

Sent from my N4, wanna know what I am doing? Check http://team-fun.eu

---------- Post added at 12:05 PM ---------- Previous post was at 12:02 PM ----------

Additionally, you need the CM kernel for that. Stock ramdisk won't boot with AOSP.

Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
[Android] quantan:
Hi all,

I've tried building 2 roms for Galaxy Nexus but always get a black screen after flashing the package. Here are the steps I used:

- Get the source

- Get vendor/samsung/maguro, vendor/samsung/tuna from TheMuppets github

- Get device/samsung/maguro, device/samsung/tuna from AOKP github

- Get kernel from Google Android github (don't remember from AOKP or Google Android)

- Add envsetup.sh for vendor/samsung/maguro:

add_lunch_combo full_maguro-userdebug

- Run:

. build/envsetup.sh

- Run: lunch

- Select: full_maguro-userdebug

- make -j5 otapackage

After compiling successfully, I flashed the zip file, gapps. However, I always get stuck at a black screen. Did I miss any steps? Any help would be appreciated :).
[Android] Charly1811:
If you've downloaded source from AOSP why not use the device tree provided by Google ?
[Android] quantan:
I downloaded from AICP rom:

https://github.com/AICP

It doesn't support maguro :d
[Android] koko98:
Download binaries from Google

Enviado desde mi LT30p mediante Tapatalk
[Android] quantan:
I'm using vendor files from TheMuppets. Does it miss something? I'll download binaries from Google and try again. Thanks so much
[Android] koko98:
Yes, un themuppets there are binaries missing. This is The link for maguro: https://developers.google.com/android/nexus/drivers#magurojwr66y

Enviado desde mi Nexus 7 mediante Tapatalk
[Android] NightMare870:
crash

I dual booted ubuntu 13.10 alongside windows 7 and started syncing a build and about half way through my computer froze and the screen went black . when i powered down and turned back on i am unable to start windows, it tries and says something about startup error and trying to repair does nothing . I am able to boot into ubuntu but when it boots up it brings up a system error box and all it says is report problem or close. When i go into the home directory it has a file called xsession-errors that i've never seen before. when i open the file these are the errors.

"init: update-notifier-crash (/var/crash/_usr_lib_x86_64-linux-gnu_hud_hud-service.1000.crash) main process (1109) terminated with status 1

init: update-notifier-crash (/var/crash/_usr_bin_Xorg.0.crash) main process (1108) terminated with status 1

init: update-notifier-crash (/var/crash/_sbin_plymouthd.0.crash) main process (1107) terminated with status 1

Does anyone know what i need to do or had this happen to them?
[Android] quantan:
Got it! After downloading binaries, what should I do next? Build again or do something else? :D

p/s: I meaned "after extracting sh files"
[Android] koko98:
Copy vendor folder to source folder and compile

Enviado desde mi LT30p mediante Tapatalk
[Android] quantan:
OMG. You made my day :good:
[Android] koko98:
Has it worked?

Enviado desde mi Nexus 7 mediante Tapatalk
[Android] quantan:
Yes, it worked :good:. Just one more question to confirm what I've done are correct. When building rom for an unsuppored device, I need to download vendor, device, kernel files, binaries files, then add device to lunch menu. Is it right?
[Android] koko98:
I'm lost there, I only build for Nexus 7, which is officially supported :/

Enviado desde mi LT30p mediante Tapatalk
[Android] h3llrais3r:
I'm facing the same problem after setting up a clean build environment.

How do I fix this? I can't find much info on how to solve it...:(

PS: I'm using oracle jdk6 (sudo apt-get install oracle-java6-installer)
[Android] aviz1911:
I'm syncing 4.4-r1(kitkat) sources from aosp after the sync tree is 100% complete i got this error.

any idea what should i do ??
[Android] dastin1015:
The checkout commit ID don't match

All Kit-Kat questions in the Kit-Kat thread please: http://xdaforums.com/showthread.php?t=2506695

私のONEから送信される。
[Android] djayz111:
Nice and useful.. thanks
[Android] notDroid:
I search on Google but didn't found.

There is any way to know the download time remaining when you run repo sync? Or what is the size that you need update?

Thanks a lot.
[Android] SMillerNL:
No, there is no way to see progress. And it downloads around 20GB.

Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
[Android] desalesouche:
hi all i have that kind of errors, any advice about the way to fix?

http://pastebin.com/p6LE3yW4

thank you
[Android] dr_w:
After I do a build/flashable rom how do I get the space back? I'm running a virtual box and its taking up a lot of space. Essentially what commands do I put in to remove the build so that I can make another one? Thank you.
[Android] patch_Adams:
"Make clean"

That is all. Run that in terminal.
[Android] desalesouche:
hi all.

does someone have an idea about that kind of error?

hardware/qcom/display/msm8960/libcopybit/copybit.cpp:453:69: warning: narrowing conversion of 'dst->copybit_image_t::w' from 'const uint32_t {aka const unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]

i would like to get rid of that error which is quite repetitive...

you can find more here...

http://pastebin.com/C56G6xAy

thank you very much
[Android] dr_w:
Thank you, very much appreciated.
[Android] djmatt604:
Its not needed all the time, because patch is right about Clean doing the job, but depending on how often you sync and build a 'make clobber' is a good idea once in awhile just to clean up the whole build environment. I clobber often but maybe once every couple of weeks if you're a light builder.

remember, remember....
[Android] hisname:
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE jfltexx
No recovery.fstab for TARGET_DEVICE jfltexx
build/core/tasks/kernel.mk:58: ***************************************************************
build/core/tasks/kernel.mk:59: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:60: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:61: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:62: * source repository to kernel/samsung/jfltexx
build/core/tasks/kernel.mk:63: * See http://xdaforums.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:64: * for more information *
build/core/tasks/kernel.mk:65: ***************************************************************
make: *** No rule to make target `bacon'. Stop.

anyone knows what does this mean?
[Android] lordcheeto03:
Biggest issue appears to be that make "bacon" isn't valid. Try "make -j8 otapackage"

Also, you have no kernel source. Might still work if you have a prebuilt kernel, but that shouldn't be what's stopping your build if you do.
[Android] tramollaaaa:
Thanks !!
[Android] desalesouche:
hi all need to get rid of that error... please

hardware/qcom/audio-caf/msm7x30/audio_policy_hal.cpp: In function 'int android_audio_legacy::create_qcom_ap(const audio_policy_device*, audio_policy_service_ops*, void*, audio_policy**)':

hardware/qcom/audio-caf/msm7x30/audio_policy_hal.cpp:349:30: error: invalid conversion from 'audio_io_handle_t (*)(audio_policy*, audio_stream_type_t, uint32_t, audio_format_t, uint32_t, audio_output_flags_t) {aka int (*)(audio_policy*, audio_stream_type_t, unsigned int, audio_format_t, unsigned int, audio_output_flags_t)}' to 'audio_io_handle_t (*)(audio_policy*, audio_stream_type_t, uint32_t, audio_format_t, audio_channel_mask_t, audio_output_flags_t, const audio_offload_info_t*) {aka int (*)(audio_policy*, audio_stream_type_t, unsigned int, audio_format_t, unsigned int, audio_output_flags_t, const audio_offload_info_t*)}' [-fpermissive]

make: *** [/home/desalesouche/cm11/out/target/product/u8800pro/obj/SHARED_LIBRARIES/audio_policy.msm7x30_intermediates/audio_policy_hal.o] Error 1

make: *** Waiting for unfinished jobs....

thank you.
[Android] hisname:
thanks!my directory was not right fo the kernel part.

but the problem still exists.

$ make -j3 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
TARGET_PRODUCT=omni_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/daniel/out
============================================
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE jfltexx
No recovery.fstab for TARGET_DEVICE jfltexx
make: *** No rule to make target `otapackage'. Stop.
[Android] desalesouche:
hi all mmay i request some help about that? i am close to finish my build...

building image from target_files BOOT...

running: mkbootfs -f /tmp/targetfiles-M8Kf5W/META/boot_filesystem_config.txt /tmp/targetfiles-M8Kf5W/BOOT/RAMDISK

running: minigzip

running: mkbootimg --kernel /tmp/targetfiles-M8Kf5W/BOOT/kernel --cmdline console=ttyDCC0 androidboot.hardware=huawei androidboot.selinux=permissive --base 0x00200000 --pagesize 4096 --ramdisk /tmp/tmpyoo6sA --output /tmp/tmpsKap30

Traceback (most recent call last):

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 875, in <module>

main(sys.argv[1:])

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 843, in main

WriteFullOTAPackage(input_zip, output_zip)

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 435, in WriteFullOTAPackage

Item.GetMetadata(input_zip)

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 178, in GetMetadata

name, uid, gid, mode = line.split()

ValueError: too many values to unpack

make: *** [/home/desalesouche/cm11/out/target/product/u8800pro/cm_u8800pro-ota-b7ebcf58c8.zip] Error 1

desalesouche@desalesouche-System-NoGiveUp:~/cm11$

and here is the faulty file , thank you

http://www.mediafire.com/download/budswbj9e0d1gur/ota_from_target_files
[Android] lordcheeto03:
Have you tried "brunch omni_jfltexx" ?
[Android] hisname:
ya,try it long ago.

~$ brunch omni_jfltexx
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_omni_jfltexx". Stop.
you device can't be found in device sources..
Traceback (most recent call last):
File "build/tools/roomservice.py", line 292, in <module>
fetch_device(device)
File "build/tools/roomservice.py", line 263, in fetch_device
git_data = search_github_for_device(device)
File "build/tools/roomservice.py", line 66, in search_github_for_device
check_repo_exists(git_data)
File "build/tools/roomservice.py", line 52, in check_repo_exists
"roomservice".format(device, android_team))
Exception: omni_jfltexx not found in omnirom Github, exiting roomservice
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_omni_jfltexx". Stop.

** Don't have a product spec for: 'omni_omni_jfltexx'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

missing some dependencies
[Android] lordcheeto03:
Perhaps I typed that incorrect... it's showing "omni_omni_jfltexx"... perhaps try simply "brunch jfltexx"

It appears the jfltexx is supported by omni and all the repos should be alright... That error is just saying that whatever you put after "make" or "brunch" or "breakfast" just isn't supported by the environment... just like if you were to say "make beanbag" it would throw the same error... but if you happen to get the correct device name it will start. Have you tried just the brunch command by itself? It should bring up a numbered menu where you can select which device to build for.
[Android] khan_frd2002:
Any Body Can Help.... to resove This issue while compiling cm.... please guys

https://xdaforums.com/showpost.php?p=47351899&postcount=39
[Android] Djalo96:
Hi everybody, can someone help me in this compilation error ?

http://pastebin.com/AeDdMnWR

Thanks !
[Android] SMillerNL:
Are you certain that the file exists?

Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
[Android] Djalo96:
I've checked it already, there aren't these files, but I've done repo sync tonight... So what's the problem ?Where I should get these files?
[Android] SMillerNL:
Did you follow the entire CM wiki? Including get-prebuilts etc?

Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
[Android] Djalo96:
Fixed by my self :) I was missing some NDK files.

Wysłane z mojego GT-S6310 przy użyciu Tapatalka
[Android] Charly1811:
Please I need help after flashed new flashed new rom build from AOSP Source (android 4.3.1) I stuck on samsung logo .

Here's my logcat http://charly1811.ga/logcats/logcat.txt