Compiling rom from compressed source problem - XDA Assist

hello guys i faced this error when i try to build rom using this command
. build/envsetup.sh
lunch 14 (my device number on list is 14)
Which would you like? [aosp_arm-eng] 14
Traceback (most recent call last):
File "build/tools/roomservice.py", line 121, in <module>
raise ValueError('No remote declaration could be found for the %s project. (%s)' % (name, remote))
ValueError: No remote declaration could be found for the Blackwings66/android_device_lenovo_A7010a48 project. (github)
** Roomservice failure for: 'pa_A7010a48'
Click to expand...
Click to collapse
im building pa 6.0.1 no repo version

Related

Git error...

This error happened after a repo sync, where I was downloading the entire AOSP source. There is no trace of the downloaded source...which is kind of lame as I just waited for a few hours...
But whatever...time to sleep I guess. Let me know if you have any ideas
Here's the error:
Code:
Fetching projects: 100% (158/158), done.
Traceback (most recent call last):
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/Users/wdfowty/bin/mydroid/.repo/repo/subcmds/sync.py", line 338, in Execute
project.Sync_LocalHalf(syncbuf)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 712, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 1211, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 1356, in rev_list
p.stderr))
error.GitError: platform/external/opencore rev-list ('^61bf9af643abf0011dcf82ae8a436aeb7e8aae97', 'HEAD', '--'): fatal: bad object HEAD

[Q] error Downloading AOSP

I was downloading the AOSP following the steps mentioned in the page
source.android.com/source/downloading
and I kept geting the same error when i was initializing the Repo client:
[email protected]:/home/andres# repo init -u android.googlesource.com/platform/manifest
Traceback (most recent call last):
File "/root/bin/repo", line 91, in <module>
import readline
ImportError: No module named readline
I tried doing loading the python tools using:
apt-get install python-setuptools
and then the: easy_install pyreadline
Later I got the same error, did someone solve this problem???

[Q] Building ROM

Hello, i am trying to build a rom for the Nexus 5.
Followed the steps to create a environment. Synced the repo (android-4.4_r1.2).
Ubuntu, JDK6 etc etc.
Java is working well?
Code:
which java
/usr/bin/java
which javac
/usr/bin/javac
which jar
/usr/bin/jar
http://source.android.com/source/index.html
I am getting this error:
Code:
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1065, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1061, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 507, in CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_generate_test_support_idls_target_Settings (out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/SettingsMacros.h)
make: *** [out/target/product/hammerhead/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Error 1
Is the error because of hammerhead won't work with the android-4.4_r1.2 branche?
Code:
KRT16S android-4.4_r1.2 Latest KitKat version, Nexus 7 (flo/deb/grouper/tilapia), Nexus 4, Nexus 10
Can somebody help me?
Probably it's that...try with 4.4_r1.1 branch
I got the same error for android 4.4 r1.2
have you solve this problem?
jianggau said:
I got the same error for android 4.4 r1.2
have you solve this problem?
Click to expand...
Click to collapse
Did you try adding javah to the path?

[Completed] Problems with repo manifest

Hi,
I am making a cyogenmod 12.1 rom for the lg g3 d855. I get to the stage of device specific code and the breakfast command, every time I run the command I get this:
[email protected]:~/CM12.1$ source build/envsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/CM12.1$ breakfast d855
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_d855". Stop.
Device d855 not found. Attempting to retrieve device repository from CyanogenMod Github
Found repository: android_device_lge_d855
Traceback (most recent call last):
File "build/tools/roomservice.py", line 251, in <module>
default_revision = get_default_revision()
File "build/tools/roomservice.py", line 112, in get_default_revision
m = ElementTree.parse(".repo/manifest.xml")
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '.repo/manifest.xml'
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_d855". Stop.
** Don't have a product spec for: 'cm_d855'
** Do you have the right repo manifest?
I have trying trying to look over the internet back I can't find a solution. Any help would be wonderful, it is for a school project so ASAP would be lovely.
Thanks for any help
Ceres810 said:
Hi,
I am making a cyogenmod 12.1 rom for the lg g3 d855. I get to the stage of device specific code and the breakfast command, every time I run the command I get this:
[email protected]:~/CM12.1$ source build/envsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/CM12.1$ breakfast d855
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_d855". Stop.
Device d855 not found. Attempting to retrieve device repository from CyanogenMod Github
Found repository: android_device_lge_d855
Traceback (most recent call last):
File "build/tools/roomservice.py", line 251, in <module>
default_revision = get_default_revision()
File "build/tools/roomservice.py", line 112, in get_default_revision
m = ElementTree.parse(".repo/manifest.xml")
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '.repo/manifest.xml'
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_d855". Stop.
** Don't have a product spec for: 'cm_d855'
** Do you have the right repo manifest?
I have trying trying to look over the internet back I can't find a solution. Any help would be wonderful, it is for a school project so ASAP would be lovely.
Thanks for any help
Click to expand...
Click to collapse
Hi,
Try posting your query here http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763.
Good luck compiling.
Thread closed, thank you
Sent from my A0001 using XDA Free mobile app

Help with building SLIM Nougat!

Sorry for hijacking this thread but I wasn't getting any help when posted in any other section... I am getting the following error, how should I fix it?
Code:
including vendor/slim/vendorsetup.sh
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
Device onyx not found. Attempting to retrieve device repository from SlimRoms Github (http://github.com/SlimRoms).
Found repository: device_oneplus_onyx
Checking branch info
Calculated revision: ng7.0
Default revision: android-7.0.0_r1
already exists: device/oneplus/onyx
Traceback (most recent call last):
File "build/tools/roomservice.py", line 379, in <module>
main()
File "build/tools/roomservice.py", line 363, in main
add_to_manifest(adding, fallback_branch)
File "build/tools/roomservice.py", line 201, in add_to_manifest
f = open(custom_local_manifest, 'w')
IOError: [Errno 13] Permission denied: '.repo/local_manifests/slim_manifest.xml'
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
** Don't have a product spec for: 'slim_onyx'
** Do you have the right repo manifest?

Categories

Resources