Help!! error in selecting lunch omni_device - General Questions and Answers

hi guys and good day everyone please i ask you help how to solve this error, im building twrp for my phone oppo a71 cph1717 everything is good from syncing to . build/envsetup.sh
and when i enter lunch i got this error
[email protected]:~/twrp$ lunch
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. omni_CPH1717-user
8. omni_CPH1717-userdebug
9. omni_CPH1717-eng
Which would you like? [aosp_arm-eng] 7
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/Cph1717/omni_CPH1717.mk]]: "device/oppo/CPH1717/device.mk" does not exist. Stop.
File "/home/osboxes/twrp/build/tools/roomservice.py", line 109
except IOError, ES.ParseError:
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/Cph1717/omni_CPH1717.mk]]: "device/oppo/CPH1717/device.mk" does not exist. Stop.
** Don't have a product spec for: 'omni_CPH1717'
** Do you have the right repo manifest?
[email protected]:~/twrp$
its the same error when i pick 8 and 9 please help guys im using
Ubuntu 22.10 Kinetic Kudu please help guys any answer will be appreciated

Wrong place. Should have get posted here:
Android Q&A, Help & Troubleshooting
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
forum.xda-developers.com

Related

Problem AOSP compiling

I get this error when compiling AOSP using device tree from CM7. Please any help is appreciated.
[email protected] ~/WORKING_DIRECTORY $ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. htc_ace-userdebug
5. htc_ace-eng
6. full_passion-userdebug
7. full_crespo4g-userdebug
8. full_crespo-userdebug
Which would you like? [full-eng] 5
build/core/product_config.mk:194: *** _nic.PRODUCTS.[[device/htc/ace/ace.mk]]: "device/htc/msm7x30-common/msm7x30.mk" does not exist. Stop.
** Don't have a product spec for: 'htc_ace'
** Do you have the right repo manifest?

Building CyanogenMod, Need Help "Lunch"ing Device

Hi, I am new to the entire developing community, and so I apologize in advanced for my noobish question. So I am building CM 12.1 for the Galaxy Avant for learning purposes and to use a stable lollipop rom as my daily driver. I have been following a tutorial to build the software, but I am stuck on the "lunch" part of the tutorial. Every time I try to "lunch" my device, I receive the following error:
build/core/product_config.mk:234: *** Can not locate config makefile for product "afyonltetmo". Stop.
Device afyonltetmo not found. Attempting to retrieve device repository from CyanogenMod Github (h tt p://github. com /CyanogenMod).
Repository for afyonltetmo not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:234: *** Can not locate config makefile for product "afyonltetmo". Stop.
** Don't have a product spec for: 'afyonltetmo'
** Do you have the right repo manifest?
What do I do?????? Can someone give me a detailed explanation on what to do and how? Please help. And again, sorry for the noobish question.

[Q] Build error building Chroma ROM

I'm working on building Chroma ROM for the Moto X Pure and have gotten to an error that looks to be too broad to get past.
Code:
[email protected]:~/android/chroma-clark$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_deb-userdebug 6. chroma_hammerhead-userdebug
2. mini_emulator_arm64-userdebug 7. chroma_mako-userdebug
3. m_e_arm-userdebug 8. chroma_shamu-user
4. chroma_angler-userdebug 9. chroma_clark-userdebug
5. chroma_bullhead-userdebug
Which would you like? [aosp_arm-eng] 9
make: *** build/target/board/generic: Is a directory. Stop.
** Don't have a product spec for: 'chroma_clark'
** Do you have the right repo manifest?
[email protected]:~/android/chroma-clark$
I've made several modifications to the source to get to this point. If nobody can suggest without seeing my modded repos, let me know.
So... any ideas?
Thanks!
-B
bradym512 said:
I'm working on building Chroma ROM for the Moto X Pure and have gotten to an error that looks to be too broad to get past.
Code:
[email protected]:~/android/chroma-clark$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_deb-userdebug 6. chroma_hammerhead-userdebug
2. mini_emulator_arm64-userdebug 7. chroma_mako-userdebug
3. m_e_arm-userdebug 8. chroma_shamu-user
4. chroma_angler-userdebug 9. chroma_clark-userdebug
5. chroma_bullhead-userdebug
Which would you like? [aosp_arm-eng] 9
make: *** build/target/board/generic: Is a directory. Stop.
** Don't have a product spec for: 'chroma_clark'
** Do you have the right repo manifest?
[email protected]:~/android/chroma-clark$
I've made several modifications to the source to get to this point. If nobody can suggest without seeing my modded repos, let me know.
So... any ideas?
Thanks!
-B
Click to expand...
Click to collapse
It's too late to reply, but replying so that it will help the people who are redirected here by Mr. Google.
I was getting similar error on Nitrogen OS for Taimen, and it is solved by adding following in the make file:
PRODUCT_DEVICE := taimen
Click to expand...
Click to collapse
Nitin

[Noob Guide][Blind-copy-guide][Android 11]Build Custom ROM in windows 10 (WSL2)

1. Requirement
Code:
1. Windows 10 version 20H2 update.
2. Internet.
3. Google search ability.
3. Patient.!!
2. Credit
Send me a coffe:
0x10Bcc550e1Ac7E7c68D867ef7379C51847300eE3
3. Main step
1. Setup Ubuntu
2. Configure Environment
3. Install ccache (optional)
4. Clone ROM COMPILER source
5. Clone your device source
6.Configure before build
7.Compile rom
8.Fix error occur (optional)
4. Many thank to:
Please read it
Updating picture guide​
Popular error:
How_to_build_ROM/Error at 11.0 · LeCmnGend/How_to_build_ROM
These steps for noob to build a ROM. Contribute to LeCmnGend/How_to_build_ROM development by creating an account on GitHub.
github.com
22.01.26:
Update Some error occur:
3 SOURCE: device + kernel + vendor is a must, believe me, noob cannot created i, we should to make first rom.zip
How_to_build_ROM/Error at 11.0 · LeCmnGend/How_to_build_ROM
These steps for noob to build a ROM. Contribute to LeCmnGend/How_to_build_ROM development by creating an account on GitHub.
github.com
Some error can occur during build.
Please share your error here to another
Requirement for guide:
4. Patience
also OP
swears in first line of guide
LOL
AsadP2013 said:
Requirement for guide:
4. Patience
also OP
swears in first line of guide
LOL
Click to expand...
Click to collapse
Sometimes patience doesnt work
Thank you for this. I am seeing all these cool ROMs coming out for OnePlus 9 Pro and want to try them on OnePlus 9. Wasn't sure how to go about it. I only ever built using kitchen tools many years ago and one time I built an Ubuntu Touch port for Samsung Captivate but I haven't done any of this stuff in quite some time.
EDIT: Nevermind

AOSP - error failed to build the custom ROM

'm trying to build AOSP for a supported device (sony Xperia z5) (aosp_mips64-eng) I follow the instruction here: https://forum.xda-developers.com/t/...sp-pie-custom-rom-for-xperia-devices.3921641/ After download the source, Initializing device type for ROM building. I Encounter an error while trying to build the custom ROM:
I there anything i could do? Have I done something wrong? I'm pretty sure i did the previous steps correctly.
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: error: 'device/generic/common/nfc/libnfc-nci.conf', needed by 'out/target/product/generic/system/etc/libnfc-nci.conf', missing and no known rule to make it
10:29:40 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
helloguys2489574 said:
build AOSP for a supported device (sony Xperia z5) (aosp_mips64-eng)
Click to expand...
Click to collapse
You have to build for your device, not for a mips64 device as you can read in your mentioned instruction:
Code:
source build/envsetup.sh && lunch aosp_[device_model]-userdebug
Please take a closer look into the numerous tutorials available at the internet.
Please don't ask for further assistance if you don't know exactly what you're doing!

Categories

Resources