yashsingh1/xdaforums huggingface dataset:
[Android] Messi10:
Ok, i try when i come back to home

---------- Post added at 10:33 PM ---------- Previous post was at 10:32 PM ----------

Ubuntu 12.4 and i'm using openJdk,
[Android] Thatgrass:
Finally something that actually works :D
[Android] Trugglepunts:
removed post, got this sorted
[Android] solracarevir:
Hi everyone: I'm having this problem while making my build for the HTC ONE S (ville)

make: *** No rule to make target `out/target/product/ville/obj/STATIC_LIBRARIES/librecovery_ui_ville_intermediates/export_includes', needed by `out/target/product/ville/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

Any idea?

Alse, my platform version days:

PLATFORM_VERSION=4.0.9.99.999.9999.99999

where did I screwed up? Im building an " Almost Jelly Bean" ? :P:

Thanks in advance!
[Android] KevlarTheGreat:
Kernel Location

Where is the Kernel installed to?

CM9 for US GS3's says you need to pull the recovery partition, merge the new zImage into the recovery image....

Why would we mess with the recovery image?

When a ROM includes a kernel, and you install the ROM via CWM, is the recovery image overwritten?

I assume CWM is in the recovery partition.....right?

This is from the GS3 git readme:

To build source-based kernel:

1. Set CROSS_COMPILE to an appropriate path prefix, e.g.,

export CROSS_COMPILE=../cm/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

2. Build kernel:

make m2_spr_defconfig && make -j 4

And to merge the kernel into recovery:

3. Pull recovery partition from device:

adb reboot recovery
adb root
adb shell 'dd if=/dev/block/mmcblk0p18 of=/tmp/recovery.img bs=256k'
adb pull /tmp/recovery.img

4. Merge newly-built zImage into recovery.img:

../cm/out/host/linux-x86/bin/unpackbootimg -i recovery.img
cp arch/arm/boot/zImage recovery.img-zImage

../cm/out/host/linux-x86/bin/mkbootimg --kernel recovery.img-zImage \
--ramdisk recovery.img-ramdisk.gz \
--cmdline "console=null androidboot.hardware=qcom user_debug=31" \
--base 0x80200000 --pagesize 2048 --ramdiskaddr 0x81500000 \
-o recovery.img
[Android] djsubtronic:
That was my first error too

create this folder manually:

out/target/product/ville/obj/STATIC_LIBRARIES/librecovery_ui_ville_intermediates

and copy file "export_includes" into that folder from one of the other folders in STATIC_LIBRARIES - they are all zero bytes

Repeat for similar errors
[Android] chukis13:
Complete noob here, just goofing off. Any ideas on this?

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/htc/pyramid/device_pyramid.mk]]: "frameworks/base/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.

** Don't have a product spec for: 'full_crespo'

** Do you have the right repo manifest?
[Android] solracarevir:
That made it! thanks a lot!

No new errors so far!
[Android] dastin1015:
In device_pyramid.mk in your device repo you need to change stuff that points at frameworks/base to frameworks/native so you have to change your line to frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk
[Android] chukis13:
What is a blob?
[Android] djsubtronic:
That's the million dollar question.
[Android] dastin1015:
Blobs are files that tell the compiler what specific files are for your device. When you use extract-files.sh it creates blobs that tell the compiler where the proprietary files have been extracted from and where to place them, etc.
[Android] chukis13:
Now I'm getting this:

build/core/product_config.mk:205: *** No matches for product "pyramid". Stop.

** Don't have a product spec for: 'pyramid'

** Do you have the right repo manifest?

And I don't know what "blob" to edit lol
[Android] dastin1015:
Read the OP, there is already a fix for this.
[Android] chukis13:
Yeah, I figured it out after you explained what a blob was. Thanks for the assistance.
[Android] Silesh.Nair:
Stuck

I am stuck at this error.

build/core/main.mk:483: *** The following variables have been changed: PRODUCT_COPY_FILES. Stop.

Line 483 in Main.mk is this.

ifeq ($(stash_product_vars),true)
[B][COLOR="Red"]$(call assert-product-vars, __STASHED)[/COLOR][/B]
endif
[Android] mg2195:
Touch mapping/recognituon is gonna be in frameworks/base/services/input...if your device calls for a legacy touchscreen youll have to edit a few files to add legacy support for touchscreen on aosp
[Android] djmatt604:
I'm definitely not a expert but the device is the galaxy tab 10.1 P7510 wifi. I am using the same device tree now that I had used to build AOSP ICS about 2 weeks ago, and am not seeing this problem on the 4.0 build. That's why I want to guess that I don't need to do what you're suggesting, unless something has changed between 4.0.4 and 4.1.2 with regard to this problem. This is why I immediately suspected some stuff that is needed got skipped...
[Android] dastin1015:
ICS to JB had huge changes. You can't assume something that worked in an older version of Android will work in a newer version.
[Android] djmatt604:
Absolutely agreed. I am investigating what changes are needed now, thanks again for your thoughts and assistance!
[Android] tnpapadakos:
i have set up my box to build cm 10.1 succesfully

what i want to do now is "add" the following un-merged items to my own build that resides on my box, not in my git repo online:

git://github.com/intervigilium/hardware_qcom_camera.git

git://github.com/intervigilium/android_device_htc_msm8960-common.git

can it be done?

anyone know how?

by how, i mean the actual commands
[Android] dastin1015:
Check your PM
[Android] ask107:
Q: I need help please with the following errors

target thumb C++: libsecosal <= hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp: In function 'OMX_ERRORTYPE SEC_OSAL_LockANBHandle(OMX_U32, OMX_U32, OMX_U32, OMX_COLOR_FORMATTYPE, void**)':

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:162:100: error: expected primary-expression before ';' token

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:161:5: warning: case value '256' not in enumerated type 'OMX_COLOR_FORMATTYPE' [-Wswitch]

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp: In function 'OMX_ERRORTYPE SEC_OSAL_GetPhysANBHandle(OMX_U32, void**)':

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:219:16: error: 'class android::GraphicBufferMapper' has no member named 'getphys'

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp: In function 'OMX_ERRORTYPE SEC_OSAL_GetANBParameter(OMX_HANDLETYPE, OMX_INDEXTYPE, OMX_PTR)':

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:324:5: warning: case value '2130706450' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp: In function 'OMX_ERRORTYPE SEC_OSAL_SetANBParameter(OMX_HANDLETYPE, OMX_INDEXTYPE, OMX_PTR)':

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:406:5: warning: case value '2130706449' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:435:5: warning: case value '2130706451' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:487:5: warning: case value '2130706452' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]

make: *** [out/target/product/n7000/obj/STATIC_LIBRARIES/libsecosal_intermediates/SEC_OSAL_Android.o] Error 1

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

'out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.dex' as 'classes.dex'...
[Android] deathblade:
hi i fixed all my errors thus far and i dont know what to do with this one any insight would be greatly appreciated

build/core/Makefile:27: warning: overriding commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:27: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:27: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libril.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libril.so'

build/core/Makefile:27: warning: overriding commands for target `out/target/product/infuse4g/system/bin/rild'

build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/rild'

build/core/Makefile:27: warning: overriding commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'

build/core/Makefile:27: *** Prebuilt apk found in PRODUCT_COPY_FILES: vendor/samsung/infuse4g/proprietary/prebuilt/apk/GooManager.apk:system/app/GooManager.apk, use BUILD_PREBUILT instead!. Stop.
[Android] dastin1015:
Exactly what it says. "Prebuilt apk found in PRODUCT_COPY_FILES ... use BUILD_PREBUILT instead"
[Android] mg2195:
could use some help here...trying to build for my HTC Vivid

target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioPolicyService.cpp
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: warning: missing initializer for member 'audio_policy_service_ops::open_input_on_module' [-Wmissing-field-initializers]
make: *** [/home/mikey/slimbean/out/target/product/holiday/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o] Error 1

i think i remember reading somewhere that msm8660 devices arent ready for 4.2, is this true? if so than that may be the issue im facing...but i did compare the audiopolicyservice.cpp to 4.1 version and didnt really notice anything differnt with that area of he file...which makes me wonder why 4.1 doesnt have the missing initializer...thats why im confused
[Android] cj360:
I don't see many changes on devices that do have 4.2 builds other than a new Bluetooth dir in the root of the device's folder.

I'm still waiting for mine to sync before I start tackling build errors.
[Android] dastin1015:
Are you building pure CM or a splinter off of it? Look at my CM10.1 repo at github.com/Team-Hydra because I'm utilizing Evervolv's audio-legacy, display-legacy, etc and there are changes in the device tree required so look into my shooter and msm8660-commom repos

私のEVO 3Dから送信される。
[Android] mg2195:
I'm building slimbean....which I've built in the past for the Samsung infuse....ill give your repos a look after work tonight :) -I'm thinking it has to do with the audio legacy...which means ill probably face probes with display too if I don't get that in there
[Android] ask107:
can you tell me how to fix this error

frameworks/native/include/ui/GraphicBuffer.h:69:57: error: expected primary-expression before ',' token
[Android] Black_Prince:
Which Rom you are building ...

Generally your framework file have problem so delete it .repo/projects in your working dir too ... repo sync again make clean make clobber...
[Android] mlaws90:
That is there error get after I select evita from the lunch command. I have added it to the lunch mune but it work finish lunch. Evita support is new and I added by a cherry pick, I also added the device tree. What else so I need to do to resolve this?

BTW there is no TARGET_ARCH entry in the BoardConfig.mk so idk what to do about that.

Here is the complete pastebin also: http://pastebin.com/4z4cMcyf
[Android] ktempleton:
Go to that mk file and where it says Architecture add TARGET_ARCH=arm
[Android] ask107:
THANKS FOR YOUR REPLY

I'M BUILDING 4.2.1 AOSP for the n7000

just passed this problem by cloning git :frameworks_native again (:
[Android] dastin1015:
It lists all branches and tags, but only downloads what branch you specified. 3 hours and more is usually average depending on your internet speed.

私のEVO 3Dから送信される。
[Android] dastin1015:
No. The terminal will stop when it's done. You should have a recovery.img, boot.img, userdata.img and sysem.img
[Android] cj360:
Hello, trying to build 4.2.1 currently this is what I'm stuck on:

hardware/broadcom/wlan/bcm4329/config/Android.mk:33: external/wpa_supplicant/wpa_supplicant_conf.mk: No such file or directory

make: *** No rule to make target `external/wpa_supplicant/wpa_supplicant_conf.mk'. Stop.

I've looked around for the error but I have not found an answer. Sorry if this has already been answered in here somewhere.
[Android] :
I'm trying to build 4.1.2 AOKP for my device, and this is where I'm getting stuck.

I was able to fix two errors but finally got stumped on this:

device/samsung/ancora/overlay/frameworks/base/core/res/res/values/arrays.xml:31: error: Resource does not already exist in overlay at 'reboot_actions'; use <add-resource> to add.
device/samsung/ancora/overlay/frameworks/base/core/res/res/values/arrays.xml:32: error: Resource at reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/ancora/overlay/frameworks/base/core/res/res/values/arrays.xml:33: error: Resource at reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/ancora/overlay/frameworks/base/core/res/res/values/arrays.xml:34: error: Resource at reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/ancora/overlay/frameworks/base/core/res/res/values/config.xml:156: error: Resource at config_deviceHardwareKeys appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/ancora/overlay/frameworks/base/core/res/res/values/config.xml:162: error: Resource at config_qualcommElectronBeam appears in overlay but not in the base package; use <add-resource> to add.
[Android] AvengerF12:
I'm trying to build CM 10.1 for my htc hd2, but every time i get stuck at the same point. If someone can help me i will be very grateful.

Thanks.

http://pastebin.com/mvi3UYa4
[Android] :
AW: [Tutorial] Compile JB on Ubuntu

device/htc/qsd8k-common/camera/QcomCamera.cpp:26:26: fatal error: gralloc_priv.h: No such file or directory

compilation terminated.

You need that file gralloc_priv.h
[Android] AvengerF12:
I already see that, but i can't understand where this file should be. If i search for this file there are more than one.

Anyway thanks, this is the first time that i try to build android from source code.
[Android] dastin1015:
libgralloc in your display tree
[Android] AvengerF12:
Thanks, there was an issue in the android.mk file in the camera directory. :victory:

Edit. to fix the previous issue i changed a line in android.mk, from "hardware/qcom/display-legacy/libgralloc" to "hardware/qcom/display/libgralloc" because there isn't a display-legacy folder, so now i can build but when i flash the zip, it get stuck at same error

http://pastebin.com/XAcuxmqZ
[Android] fmarky:
Hi. 1st, thank you very much for this howto! I've been trying for a long time to compile aosp for some devices, not successfully... but I've been able to compile it 4.2.1 for my p3113. It compiles through the end with otapackage. But when I flashed it, I'm stuck at a bootloop and I got this though logcat:

pastebin. com/e6STwe0E

Now I'm kinda lost O.o

thanks for your time :P
[Android] ask107:
do a cache cleaning or factory cleaning from cwm

if it did not work for you then upload your updater-script here
[Android] fmarky:
Hi. Thanks for the quick reply. Here's my updater. I've removed the assert for personnal purpose I know it ahah. :)
[Android] fmarky:
Oups here is the file!
[Android] CedArctic:
HELP!

I try to compile, but I get this stupid error:

What can I do, am I missing any files? Am I doing something wrong?
[Android] SMillerNL:
I would compare my directory with one of a device that actually works. maybe you forgot something.
[Android] dastin1015:
You're trying to lunch a cm option without a cm make file. You need a cm_yourDevice.mk

私のEVO 3Dから送信される。
[Android] ask107:
check this thread its very helpful for your situation

http://xdaforums.com/showthread.php?p=36408654
[Android] fmarky:
You need to have the proper vendor files too in android/vendor/company/phone
[Android] ask107:
warnings like these ,are they normal?

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

target R.java/Manifest.java: MusicFX (out/target/common/obj/APPS/MusicFX_intermediates/src/R.stamp)

Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[Android] dastin1015:
Yes. Look for errors not warnings

私のEVO 3Dから送信される。
[Android] Vintage144:
To the developer , thank you sir, I have started the tutorial today , Im glad you are still involved ,I will be doing lots of reading in this thread and many others ,setting up today!!
[Android] myepicyear:
I applaud your enthusiasm, and it's admirable that you're trying to do something you have no experience with; but the only way to learn is to read hundreds and hundreds (no exaggeration) of these types of forum pages, and also read some of the source files--especially the ones that give you trouble. It's a ton of reading, and it might seem easier just to ask, but it is not.

The error you've posted is probably the most posted error question in this (and every other) tutorial. It's so typically covered here, that you might get ignored most of the time. So please, for your own sake, if you really want to learn this, just keep reading, and keep trying. It may feel like you're learning a lot when you finally complete a build, but for things like this, if you don't have any grasp on the smallest concepts, you'll just get the sensation that you're learning something, but really, you'll just be getting by until you encounter your next error.

Please understand, I speak from experience. It's a long road, but you don't get any reward out of it unless you do the legwork on your own.

Best of luck :)
[Android] fmarky:
Hi dude. I've just followed this post, did the factory/cache wipe, did a format /system, flash rom+gapps, re-wipe /cache and dalvik even the battery.. still bootlooping -_-
[Android] fmarky:
I just put a full logcat with the bootloop

Here's my source files: https://docs.google.com/file/d/0B6GzemNaw2dRcE1VTktRSm1pWmM/edit

It should build directly w/o messing around with files (its for p3113 device (gtab2 7"))
[Android] n1kolaa:
Company	USB Vendor ID

Acer	0502

ASUS	0b05

Dell	413c

Foxconn	0489

Fujitsu	04c5

Fujitsu Toshiba	04c5

Garmin-Asus	091e

Google	18d1

Hisense	109b

HTC	0bb4

Huawei	12d1

K-Touch	24e3

KT Tech	2116

Kyocera	0482

Lenovo	17ef

LG	1004

Motorola	22b8

NEC	0409

Nook	2080

Nvidia	0955

OTGV	2257

Pantech	10a9

Pegatron	1d4d

Philips	0471

PMC-Sierra	04da

Qualcomm	05c6

SK Telesys	1f53

Samsung	04e8

Sharp	04dd

Sony	054c

Sony Ericsson	0fce

Teleepoch	2340

Toshiba	0930

ZTE	19d2

full id vendor list
[Android] CedArctic:
HELP!

Thanks for the reply but were can I get this file. Is it in this repo? (the minicm repo)

Thank you.
[Android] fmarky:
If you have one it will be in your device folder. If its not there you can go on cyanogenmod github and get the file for your device in his respective repo.
[Android] ask107:
what about changing your kernel? the guy stated that it did work, check the bottom of the thread

by the way are trying to boot jb 4.2.1
[Android] fmarky:
Yeah i tried the cm 10.1 kernel and it was kinda good. But i finally been able to compile it completely aosp and its booting fine. There was some layout folder to delete. Now i have found 3 problems. 1st i got no sound. 2nd default keyboard is physical(external) and 3rd navigation bar is completely hidden. I'll investigate that later today when i go back home.
[Android] djmatt604:
I am experiencing similar issues with the physical keyboard default on a 4.0.4 build. Cm has an entry in their overlays that sets a property to force disable the physical keyboard while they work on a root cause but I am still working to determine where the code is that actually does that work so I can merge it.

Let us know how you make out! I'll do the same

Sent from my Infamous Tab.
[Android] dastin1015:
Link me to the repo. I can't help without seeing what you're working with

私のEVO 3Dから送信される。
[Android] fmarky:
Can it be a simply build.prop persist? Like sys.persist... ?
[Android] djmatt604:
That's one of the things I am checking into yes. Hoping its that simple :) but at the same time I don't want to necessarily disable the physical keyboard portion across the board either...

Sent from my Infamous Tab.
[Android] fmarky:
Hw.keyboard=no ? I found that so far -_-
[Android] djmatt604:
I think that's more config, saying the device has no physical keyboard...

Man if it were that easy I would throw my computer through the window. LOL

Sent from my Infamous Tab.
[Android] fmarky:
Lol i found that but i guess its for android emulator tho

And for the nav bar hidden i wrote qemu.hw.mainkeys=0 and it works

:P
[Android] fmarky:
Did you find a way to enable the software keyboard by default? Nothing on my side yet :/
[Android] djmatt604:
No sir...it is going to be somewhere in the cm source where this is implemented. I haven't had time to grab the source to look but I will soon
[Android] fmarky:
For those like me with the hidden navbar, here's the trick

you need to modify a file named config.xml in your overlay dir with

<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be

autodetected from the Configuration. -->

<bool name="config_showNavigationBar">true</bool>

So maybe there's something like that to config the default keyboard i'll take a look at it
[Android] djmatt604:
There is, it is called config_forceDisableHardwareKeyboard. I set it and built but no luck, I am clearly missing something...

Sent from my Infamous Tab.
[Android] TheWizardOfROMs:
How do I need to find the github for my device Example for the HTC flyer???
[Android] TheWizardOfROMs:
ALSO WHAT DOES THIS REPO SYnC mean (the command)

It's been going around for 2 hours and still going????
[Android] fmarky:
http://lmgtfy.com/?q=htc+flyer+github

You need android.device and android.vendor folders

Depending on your connection speed and your computer it can takes a long time its normal. The sync just pull all the files from google.
[Android] TheWizardOfROMs:
is this OK

https://github.com/DooMLoRD/HTC-Flyer-HC-Kernel

sorry I'm a bit of a noob
[Android] fmarky:
nah that's for the Kernel.. the kernel is the thing that make your device boot (like the bios of your computer) (correct me if I'm wrong too).

I have take a look at github and didn't find your device tree source so maybe you gonna have to make a clean one by yourself.

Don't be sorry all questions are good and we all started like a noob (I'm still a noob too)
[Android] TheWizardOfROMs:
How do i make a clean one by myself?
[Android] fmarky:
http://xdaforums.com/showthread.php?t=2010281

You can start there. There's some guide talking about this in this forum.
[Android] fmarky:
from now on, you can use:

repo init -u https://android.googlesource.com/platform/manifest -b android-4.2.1_r1.2

:)
[Android] tnpapadakos:
what is this all about?

warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead

i put everything in local_manifest and the error still comes up

but it builds anyway:confused:

do they mean loac_mainfests.xml? or just a file with no extension like local_manifests?

i've tried the one with no extension, but not one with a .xml
[Android] dastin1015:
Ignore it