UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. KingProNoob2
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    KingProNoob2

    @KingProNoob2

    0
    Reputation
    4
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    KingProNoob2 Unfollow Follow

    Latest posts made by KingProNoob2

    • RE: Could use help porting to n8000

      @Keneda God, so many errors this day... https://paste.ubuntu.com/p/75MvCc7DSx/

      posted in Porting
      K
      KingProNoob2
    • RE: Could use help porting to n8000

      @Keneda OK, got past that, but i have another error (this can happen only to me).

      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
      including vendor/cm/vendorsetup.sh
      build/core/product_config.mk:268: *** No matches for product "lineage_n8000".  Stop.
      ** Warning: 'n8000' is using CM-based makefiles. This will be deprecated in the next major release.
      Trying dependencies-only mode on a non-existing device tree?
      
      ============================================
      PLATFORM_VERSION_CODENAME=REL
      PLATFORM_VERSION=7.1.1
      LINEAGE_VERSION=14.1-20220805-UNOFFICIAL-n8000
      TARGET_PRODUCT=cm_n8000
      TARGET_BUILD_VARIANT=userdebug
      TARGET_BUILD_TYPE=release
      TARGET_BUILD_APPS=
      TARGET_ARCH=arm
      TARGET_ARCH_VARIANT=armv7-a-neon
      TARGET_CPU_VARIANT=cortex-a9
      TARGET_2ND_ARCH=
      TARGET_2ND_ARCH_VARIANT=
      TARGET_2ND_CPU_VARIANT=
      HOST_ARCH=x86_64
      HOST_2ND_ARCH=x86
      HOST_OS=linux
      HOST_OS_EXTRA=Linux-5.18.15-200.fc36.x86_64-x86_64-with-glibc2.35
      HOST_CROSS_OS=windows
      HOST_CROSS_ARCH=x86
      HOST_CROSS_2ND_ARCH=x86_64
      HOST_BUILD_TYPE=release
      BUILD_ID=NOF27B
      OUT_DIR=/home/erik/halium/out
      ============================================
      ============================================
      PLATFORM_VERSION_CODENAME=REL
      PLATFORM_VERSION=7.1.1
      LINEAGE_VERSION=14.1-20220805-UNOFFICIAL-n8000
      TARGET_PRODUCT=cm_n8000
      TARGET_BUILD_VARIANT=userdebug
      TARGET_BUILD_TYPE=release
      TARGET_BUILD_APPS=
      TARGET_ARCH=arm
      TARGET_ARCH_VARIANT=armv7-a-neon
      TARGET_CPU_VARIANT=cortex-a9
      TARGET_2ND_ARCH=
      TARGET_2ND_ARCH_VARIANT=
      TARGET_2ND_CPU_VARIANT=
      HOST_ARCH=x86_64
      HOST_2ND_ARCH=x86
      HOST_OS=linux
      HOST_OS_EXTRA=Linux-5.18.15-200.fc36.x86_64-x86_64-with-glibc2.35
      HOST_CROSS_OS=windows
      HOST_CROSS_ARCH=x86
      HOST_CROSS_2ND_ARCH=x86_64
      HOST_BUILD_TYPE=release
      BUILD_ID=NOF27B
      OUT_DIR=/home/erik/halium/out
      ============================================
      Running kati to generate build-cm_n8000.ninja...
      /home/erik/halium/out/build-cm_n8000.ninja is missing, regenerating...
      ============================================
      PLATFORM_VERSION_CODENAME=REL
      PLATFORM_VERSION=7.1.1
      LINEAGE_VERSION=14.1-20220805-UNOFFICIAL-n8000
      TARGET_PRODUCT=cm_n8000
      TARGET_BUILD_VARIANT=userdebug
      TARGET_BUILD_TYPE=release
      TARGET_BUILD_APPS=
      TARGET_ARCH=arm
      TARGET_ARCH_VARIANT=armv7-a-neon
      TARGET_CPU_VARIANT=cortex-a9
      TARGET_2ND_ARCH=
      TARGET_2ND_ARCH_VARIANT=
      TARGET_2ND_CPU_VARIANT=
      HOST_ARCH=x86_64
      HOST_2ND_ARCH=x86
      HOST_OS=linux
      HOST_OS_EXTRA=Linux-5.18.15-200.fc36.x86_64-x86_64-with-glibc2.35
      HOST_CROSS_OS=windows
      HOST_CROSS_ARCH=x86
      HOST_CROSS_2ND_ARCH=x86_64
      HOST_BUILD_TYPE=release
      BUILD_ID=NOF27B
      OUT_DIR=/home/erik/halium/out
      ============================================
      halium/hybris-boot/Android.mk:69: ********************* /boot appears to live on /dev/block/mmcblk0p5
      halium/hybris-boot/Android.mk:70: ********************* /data appears to live on /dev/block/mmcblk0p12
      PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
      PRODUCT_COPY_FILES device/samsung/n80xx-common/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc ignored.
      PRODUCT_COPY_FILES device/samsung/n80xx-common/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc ignored.
      PRODUCT_COPY_FILES device/samsung/n80xx-common/configs/audio_policy.conf:system/etc/audio_policy.conf ignored.
      build/core/Makefile:54: Duplicate header copy: /home/erik/halium/out/target/product/n8000/obj/include/libsecmm/mfc_errno.h
      build/core/Makefile:54: Defined in: hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
      build/core/Makefile:54: Duplicate header copy: /home/erik/halium/out/target/product/n8000/obj/include/libsecmm/mfc_interface.h
      build/core/Makefile:54: Defined in: hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
      build/core/Makefile:54: Duplicate header copy: /home/erik/halium/out/target/product/n8000/obj/include/libsecmm/SsbSipMfcApi.h
      build/core/Makefile:54: Defined in: hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk hardware/samsung/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
      No private recovery resources for TARGET_DEVICE n8000
      vendor/cm/build/tasks/kernel.mk:159: ***************************************************************
      vendor/cm/build/tasks/kernel.mk:160: * Using prebuilt kernel binary instead of source              *
      vendor/cm/build/tasks/kernel.mk:161: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
      vendor/cm/build/tasks/kernel.mk:162: * Please configure your device to download the kernel         *
      vendor/cm/build/tasks/kernel.mk:163: * source repository to kernel/samsung/smdk4412
      vendor/cm/build/tasks/kernel.mk:164: * for more information                                        *
      vendor/cm/build/tasks/kernel.mk:165: ***************************************************************
      Starting build with ninja
      ninja: Entering directory `.'
      ninja: error: '/home/erik/halium/out/target/product/n8000/kernel', needed by '/home/erik/halium/out/target/product/n8000/obj/ROOT/halium-boot_intermediates/halium-boot.img', missing and no known rule to make it
      make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
      
      #### make failed to build some targets (12 seconds) ####
      
      
      
      posted in Porting
      K
      KingProNoob2
    • RE: Could use help porting to n8000

      @Keneda Ok, i did manage to fix this, but after running mka mkbootimg, i got this error:

      Checking build tools versions...
      build/core/executable.mk:87: external/gpg/Android.mk: No such file or directory
      make: *** [build/core/ninja.mk:167: /home/erik/halium/out/build-cm_n8000.ninja] Error 1
      make: Leaving directory '/home/erik/halium'
      
      #### make failed to build some targets (9 seconds) ####
      
      
      posted in Porting
      K
      KingProNoob2
    • RE: Could use help porting to n8000

      @keneda The codename on the lineage os github is n8000. And i dont know why it is not on the official website, but it is on their github https://github.com/LineageOS/android_device_samsung_n8000 EDIT: I did manage to build lineage 14.1 stock, but not halium.

      posted in Porting
      K
      KingProNoob2
    • RE: Could use help porting to n8000

      @kingpronoob2 This is the output of breakfast n8000.

      including vendor/cm/vendorsetup.sh
      build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_n8000".  Stop.
      build/core/product_config.mk:249: *** Can not locate config makefile for product "cm_n8000".  Stop.
      build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_n8000".  Stop.
      Device n8000 not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
      Found repository: android_device_samsung_n8000
      Traceback (most recent call last):
        File "/home/erik/halium/vendor/cm/build/tools/roomservice.py", line 263, in <module>
          default_revision = get_default_revision()
        File "/home/erik/halium/vendor/cm/build/tools/roomservice.py", line 115, in get_default_revision
          d = m.findall('default')[0]
      IndexError: list index out of range
      build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_n8000".  Stop.
      build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_n8000".  Stop.
      
      ** Don't have a product spec for: 'lineage_n8000'
      ** Do you have the right repo manifest?
      
      
      posted in Porting
      K
      KingProNoob2
    • RE: Could use help porting to n8000

      @domubpkm Yes, that's it.

      posted in Porting
      K
      KingProNoob2
    • Could use help porting to n8000

      So, i have followed the guide on the website how to port and i created the local manifests and everything, but when i went to run source build/envsetup.sh, it didn't return my device. I have put the proprietary blobs to a few locations in the vendor folder like: "n8000", "samsung", "n80xx" but nothing works. Thank you for any help.

      posted in Porting
      K
      KingProNoob2