[Q] Howto build Android for BayTrail Tablets - Android Q&A, Help & Troubleshooting

Hi,
I'm wonder about how to build Android-IA for BayTrail Tablets (Lenovo Thinkpad 8).
Regarding on the console output I think the Android-IA github repository is missing some files for baytrail_generic.
Do you know where to get it? Or what's wrong with my commands?
I tried this:
Code:
repo init -u https://github.com/android-ia/platform_manifest.git -b release/android-4.4.2_r1-ia2
repo sync -j4
. build/envsetup.sh
lunch
Lunch creates this output:
Code:
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. bigcore-eng
8. core_mesa-eng
9. core_mesa-userdebug
10. core_mesa-user
11. samsungxe700t-eng
12. samsungxe700t-userdebug
13. samsungxe700t-user
14. mini_emulator_arm-userdebug
15. mini_emulator_mips-userdebug
16. mini_emulator_x86-userdebug
17. baytrail_generic-eng
18. baytrail_generic-userdebug
19. baytrail_generic-user
20. minnowboard_max-eng
21. minnowboard_max-userdebug
22. minnowboard_max-user
so with "lunch baytrail_generic-userdebug" I think it should be possible to build Kitkat, but instead I've got this output:
Code:
vendor/intel/baytrail_generic/baytrail_generic.mk:2: device/intel/baytrail/baytrail.mk: Datei oder Verzeichnis nicht gefunden
build/core/product_config.mk:231: *** vendor/intel/baytrail_generic/baytrail_generic.mk: PRODUCT_BRAND must be defined.. Schluss.
** Don't have a product spec for: 'baytrail_generic'
** Do you have the right repo manifest?
Thanks a lot!

Related

AOSP, help???

ok so i am compiling for the sprint galaxy s III and added the device and all that
so when i go:
Code:
. build/envsetup.sh
then my device ( d2spr) shows up as number 9 and i type 9 but then i get:
Code:
build/core/product_config.mk:205: *** No matches for product "cm_d2spr". Stop.
** Don't have a product spec for: 'cm_d2spr'
** Do you have the right repo manifest?
here is the full terminal code:
Code:
[email protected]:~/android/source/sIII$ . build/envsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
including device/samsung/d2spr/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/source/sIII$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. full_wingray-userdebug
8. full_crespo-userdebug
9. cm_d2spr-eng
10. full_maguro-userdebug
11. full_panda-userdebug
Which would you like? [full-eng] 9
build/core/product_config.mk:205: *** No matches for product "cm_d2spr". Stop.
** Don't have a product spec for: 'cm_d2spr'
** Do you have the right repo manifest?
how can i fix this????

[Help] Compiling cm10 from source

I am trying to compile cm10 and when i do lunch i recieve this error. Anyone know whats the problem? The error says "device/htc/msm8660-common/msm8660.mk" does not exist. I check and the file is really not there. The reason it calls this file is because of this code in shoot.mk
# common msm8660 configs
$(call inherit-product, device/htc/msm8660-common/msm8660.mk)
----------------------------------------------------------------------------------------------------------------------------------
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. full_wingray-userdebug
8. full_crespo-userdebug
9. full_maguro-userdebug
10. full_panda-userdebug
Which would you like? [full-eng] 1
build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/htc/shooter/shooter.mk]]: "device/htc/msm8660-common/msm8660.mk" does not exist. Stop.
** Don't have a product spec for: 'full'
** Do you have the right repo manifest?

[Q]device leo not found

now i prepare to compile CM7 for my own htc leo
here is what i got after i input lunch
Code:
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. simulator
4. htc_leo-userdebug
5. htc_leo-eng
6. cyanogen_generic-eng
like it said , i choose htc_leo_userdebug
and then it prompt
Code:
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/samsung/desirec/generic_desirec.mk]]: "device/htc/desirec/device_desirec_us.mk" does not exist. Stop.
Device leo not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
....................
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/samsung/desirec/generic_desirec.mk]]: "device/htc/desirec/device_desirec_us.mk" does not exist. Stop.
** Don't have a product spec for: 'htc_leo'
** Do you have the right repo manifest?
i am certain my htc leo devices is connecting my computer
here is what i got when i type "adb devices"
Code:
List of devices attached
0123456789ABCDEF device
would it be effected by the name of my device "0123456789ABCDEF"
or i should solve the first issue it coming out at the first line
Code:
build/core/product_config.mk:196: ***
please help me to fix the problem
any help?
OMG,i have solve this issue
use brunch leo , not lunch

Porting UT to Sensation

Hi Sorry if it's wrong section for this question.
I started to port UT to Sensation, based on CM11. I've synced all required repositories:
device_htc_sensation
device_htc_msm8660-common
kernel_htc_msm8660
+ pyramid vendor.
Then I run those commands:
Code:
$ . build/envsetup.sh
including device/generic/x86/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/htc/pyramid/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/deb/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. mini_x86-userdebug
6. mini_armv7a_neon-userdebug
7. aosp_mako-userdebug
8. aosp_hammerhead-userdebug
9. cm_pyramid-userdebug
[...]
Which would you like? [aosp_arm-eng] 9
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_pyramid". Stop.
** Don't have a product spec for: 'cm_pyramid'
** Do you have the right repo manifest?
I've checked AndroidProducts.mk etc. and everything looks fine. I have no idea what to do more to fix this.
Could someone help me?
Thanks in advance!

[Q] Cannot locate config makefile for product "full_klte"

I copied my device tree for the Galaxy s5 ("klte") correctly. I also have cloned the samsung hardware, extracted the blobs.
But every time I try to "lunch" my device all I get is this:
Code:
[email protected]:~/Building/phablet$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aosp_tilapia-userdebug
6. aosp_flo-userdebug
7. aosp_grouper-userdebug
8. aosp_deb-userdebug
9. full_klte-eng
10. aosp_manta-userdebug
11. mini_armv7a_neon-userdebug
12. mini_x86-userdebug
13. aosp_hammerhead-userdebug
14. aosp_mako-userdebug
Which would you like? [aosp_arm-eng] 9
build/core/product_config.mk:222: *** Can not locate config makefile for product "full_klte". Stop.
** Don't have a product spec for: 'full_klte'
** Do you have the right repo manifest?
What am I supposed to do?
EDIT: I am trying to compile Ubuntu Touch, forgot to say that.

Categories

Resources