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

    Yxles

    @Yxles

    1
    Reputation
    6
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Yxles Unfollow Follow

    Best posts made by Yxles

    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @tchan @tchan I dont think specs is the problem here since Galaxy Tab 2 was supported by Canonical when they're still the one who manage Ubuntu Touch and someone actually already ported UT for this device that boots and works with UI

      posted in Porting
      Y
      Yxles

    Latest posts made by Yxles

    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @mighty sure, I'll just move this discussion at github. [https://github.com/Halium/projectmanagement/issues/238]

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @mighty the line

      device/sample/frameworks/PlatformLibrary/Android.mk:37: build/core/java_library.mk: No such file or directory
      

      I guess when it tries to build the device/sample, it looks for that file but since it doesn't exist for me it just errors out and stop the building so I just deleted it (temporarily) to see if it fix it and it did build without errors

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      ok now mka mkbootimg completed successfully as well as export USE_HOST_LEX=yes mka halium-boot but without the device/sample but now when executing mka systemimage I got this

      Running kati to generate build-aosp_espresso3g.ninja...
      No need to regenerate ninja file
      Starting build with ninja
      ninja: Entering directory `.'
      ninja: error: '/home/yxles/halium/out/target/product/espresso3g/obj/SHARED_LIBRARIES/libdl_intermediates/export_includes', needed by '/home/yxles/halium/out/target/product/espresso3g/obj/EXECUTABLES/applypatch_intermediates/import_includes', missing and no known rule to make it
      make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
      make: Leaving directory '/home/yxles/halium'
      
      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @yxles said in Need help building Ubuntu Touch for Galaxy Tab 2:

      @mighty hey its you, thx for helping me with this but there's another problem. So I downloaded the master branch of gpg here https://github.com/ubports/android_external_gpg and paste it on the external folder. Now when I execute mka mkbootimg I got this error

      build/core/base_rules.mk:183: *** external/gpg: MODULE.TARGET.STATIC_LIBRARIES.libdl already defined by bionic/libdl.
      make: *** [build/core/ninja.mk:167: /home/yxles/halium/out/build-aosp_espresso3g.ninja] Error 1
      make: Leaving directory '/home/yxles/halium'
      

      So I thought maybe it conflicted with bionic/libdl so I removed that and execute the command again and now I got this

      build/core/binary.mk:1253: external/gpg/g10/Android.mk: static_gpg: Unused source files: filter.h
      build/core/binary.mk:1253: external/gpg/util/Android.mk: libgpgutil: Unused source files: assuan-defs.h
      device/sample/frameworks/PlatformLibrary/Android.mk:37: build/core/java_library.mk: No such file or directory
      make: *** [build/core/ninja.mk:167: /home/yxles/halium/out/build-aosp_espresso3g.ninja] Error 1
      make: Leaving directory '/home/yxles/halium'
      

      How do I fix this?

      @Mighty removing device/sample fix it but I saw on the github that its needed

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @mighty hey its you, thx for helping me with this but there's another problem. So I downloaded the master branch of gpg here https://github.com/ubports/android_external_gpg and paste it on the external folder. Now when I execute mka mkbootimg I got this error

      build/core/base_rules.mk:183: *** external/gpg: MODULE.TARGET.STATIC_LIBRARIES.libdl already defined by bionic/libdl.
      make: *** [build/core/ninja.mk:167: /home/yxles/halium/out/build-aosp_espresso3g.ninja] Error 1
      make: Leaving directory '/home/yxles/halium'
      

      So I thought maybe it conflicted with bionic/libdl so I removed that and execute the command again and now I got this

      build/core/binary.mk:1253: external/gpg/g10/Android.mk: static_gpg: Unused source files: filter.h
      build/core/binary.mk:1253: external/gpg/util/Android.mk: libgpgutil: Unused source files: assuan-defs.h
      device/sample/frameworks/PlatformLibrary/Android.mk:37: build/core/java_library.mk: No such file or directory
      make: *** [build/core/ninja.mk:167: /home/yxles/halium/out/build-aosp_espresso3g.ninja] Error 1
      make: Leaving directory '/home/yxles/halium'
      

      How do I fix this?

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      Looking for mention of gpg on default.xml at https://github.com/Halium/android/blob/halium-7.1/default.xml for Halium 7.1 shows up nothing, is that normal?

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @applee I don't have it, I think there are some files missing even though repo sync completely

      posted in Porting
      Y
      Yxles
    • RE: Need help building Ubuntu Touch for Galaxy Tab 2

      @tchan @tchan I dont think specs is the problem here since Galaxy Tab 2 was supported by Canonical when they're still the one who manage Ubuntu Touch and someone actually already ported UT for this device that boots and works with UI

      posted in Porting
      Y
      Yxles
    • Need help building Ubuntu Touch for Galaxy Tab 2

      Hi! I'm having trouble when executing mka mkbootimg, it shows up this error

      deniel@denpc:~/halium$ mka mkbootimg
      make: Entering directory '/home/deniel/halium'
      ============================================
      PLATFORM_VERSION_CODENAME=REL
      PLATFORM_VERSION=7.1.1
      LINEAGE_VERSION=
      TARGET_PRODUCT=aosp_espresso3g
      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.15.0-43-generic-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/deniel/halium/out
      ============================================
      Running kati to generate build-aosp_espresso3g.ninja...
      /home/deniel/halium/out/build-aosp_espresso3g.ninja is missing, regenerating...
      ============================================
      PLATFORM_VERSION_CODENAME=REL
      PLATFORM_VERSION=7.1.1
      LINEAGE_VERSION=
      TARGET_PRODUCT=aosp_espresso3g
      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.15.0-43-generic-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/deniel/halium/out
      ============================================
      build/core/executable.mk:87: external/gpg/Android.mk: No such file or directory
      make: *** [build/core/ninja.mk:167: /home/deniel/halium/out/build-aosp_espresso3g.ninja] Error 1
      make: Leaving directory '/home/deniel/halium'
      
      #### make failed to build some targets (55 seconds) ####
      
      posted in Porting
      Y
      Yxles
    • Need help at creating xml file for repo

      I've been following this guide here: https://docs.ubports.com/en/latest/porting/build_and_boot/H7_setup_sources.html

      I've been trying to make one for Samsung Galaxy Tab 2 10.1 but it always failed at envsetup.sh. So if allowed, can someone send an example of how the xml should look like?

      posted in Porting
      Y
      Yxles