[Q] Vendor Tree vs Device Tree - Android

What is the difference between /vendor and /device? Just by browsing it appears that the /device tree contains source that gets compiled. Is this open source software/drives that a particular vendor has released for the device?
/vendor seems to contain precompiled binaries--proprietary modules.
Any help is appreciated. Trying to understand and learn!

Related

[Q] ncurses requirement but no ncurses in sources

Hi All.
I am trying to compile an excutable for Android JB. the executable uses (in the sources and Android.mk file) libncurses.
But there is not ncurses nor libncurses in the tree, only in prebuilts/gcc/linux-x86/....glibc-2.7-4.6/sysroot/usr/lib/libncurses.so
What should i do??
Thanks

Building AOSP

I am trying to build AOSP. I have followed some instructions and the best are the instructions of Sony. But when I come to the point to clone the local_manifests, I need to have another file because I am trying to build it for the OnePlus One. I have found the AOSP-bacon repo on github where is a local_manifests to clone. So I have done that but when I try to sync the repo with the command 'repo sync' it gives this back:
[email protected]:~/android$ repo sync
fatal: remove-project element specifies non-existent project: platform/build
I have searched but could not find the answer what to do now. Can someone help me or say what I need to do to build AOSP?
You're cluttering your roomservice.xml with too much stuff. You only really need 3 things, device tree, vendor and kernel sources. You don't need to define the github tag since it should already have been defined in your default.xml located in .repo/manifests.

need help in oreo build

i was trying to create plain aosp build of oreo using pixel experience device tree and kernel source and vendor source from muppets i have created the androidproduct.mk and vendorsetup.mk files as said in android source page.
till lunch everything would be prefect but after make -j10
i get struck here
[126/873] including device/xiaomi/mido/Android.mk ...
build/make/core/binary.mk:1470: error: device/xiaomi/mido/camera/QCamera2/Android.mk: camera.msm8953: C_INCLUDES must be under the source or output directories: /libstagefrighthw /mm-core/inc /libqservice.
20:58:39 ckati failed with: exit status 1
please do help

Lunch does not show device (ROM Building)

Hi,
This is my first time building a rom. I am building PixelExperience ROM.
I have successfully synced the rom sources and have git cloned the vendor, kernel and device tree.
Since the only device tree for the Nokia 4.2 is one from an unofficial port of lineage, I followed some tutorials and renamed some files and changed stuff.
I tried setting the
Code:
COMMON_LUNCH_CHOICES := \
aosp_panther-userdebug \
In the Androidproducts.mk file but still It did not work.
Any help would be appreciated.
(DEVICE : Nokia 4.2)
(CODENAME: panther)

How to compile dexopt-wrapper

For studying I have to compile dexpot-wrapper whose source file located in build/tools/dexpreopt/despot-wrapper/ folder of android source 2.1.
I compiled the android source with lunch both generic-eng and userdebug but seemly that dexpot-wrapper was not compiled.I searched the file name but couldn’t find it.
How could I compile it?Did I miss something necessary?
Thanks for yor reply.
I compiled it under source froyo,using -fpie -pie,but on android 6 dexpot-wrapper failed with text relocation.

Categories

Resources