Help with building SLIM Nougat for Onyx (OnePlus X)

Search This thread

Sachin7843

Senior Member
Mar 26, 2013
144
57
Pune
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?
 
  • Like
Reactions: phillip1711

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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?