UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Poco X3 Pro

    Scheduled Pinned Locked Moved Xiaomi Poco X3 NFC
    7 Posts 3 Posters 588 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        ds2k5
        last edited by

        Hi,
        try to build Image but fail....

        https://gitlab.com/ubports/porting/community-ports/android11/xiaomi-poco-x3-pro/xiaomi-vayu/

        here the Log

        https://pastebin.com/27dz2rtv

        + mkbootimg --kernel /tmp/tmp.wOP198PGGr/KERNEL_OBJ/arch/arm64/boot/Image --ramdisk /tmp/tmp.wOP198PGGr/halium-boot-ramdisk.img --cmdline 'androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 console=tty0' --header_version 2 -o /tmp/tmp.dP0uq2xPmQ/partitions/boot.img --os_version 11 --os_patch_level 2021-10-01 --base 0x00000000 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --pagesize 4096 --dtb /home/developer/xiaomi-vayu/xiaomi-vayu.dtb --dtb_offset 0x01f00000
        usage: mkbootimg [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
                         [--cmdline CMDLINE] [--base BASE]
                         [--kernel_offset KERNEL_OFFSET]
                         [--ramdisk_offset RAMDISK_OFFSET]
                         [--second_offset SECOND_OFFSET] [--os_version OS_VERSION]
                         [--os_patch_level OS_PATCH_LEVEL] [--tags_offset TAGS_OFFSET]
                         [--board BOARD] [--pagesize {2048,4096,8192,16384}] [--id] -o
                         OUTPUT
        mkbootimg: error: unrecognized arguments: --header_version 2 --dtb /home/developer/xiaomi-vayu/xiaomi-vayu.dtb --dtb_offset 0x01f00000
        

        How to fix this issue ?

        ikozI 1 Reply Last reply Reply Quote -1
        • ikozI Online
          ikoz @ds2k5
          last edited by

          @ds2k5 You can download the prebuilt images from the GitLab CI.

          May the source be with you

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            ds2k5 @ikoz
            last edited by

            @ikoz

            thanks... could you give me a example for boot.img
            or system.img

            Did not find - sorry

            ikozI 1 Reply Last reply Reply Quote 0
            • ikozI Online
              ikoz @ds2k5
              last edited by

              @ds2k5 Download the devel-flasable-focal and unzip it. The system.img is ubuntu.img and boot is boot.

              May the source be with you

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                ds2k5 @ikoz
                last edited by

                @ikoz thank you!

                1 Reply Last reply Reply Quote 0
                • D davidfr referenced this topic on
                • D Offline
                  davidfr
                  last edited by

                  Hello,
                  Thanks to all for yours messages.

                  I have install a global MIUI 12.5.9 with Android 11 and after :

                  • The TWRP
                  • The devel-flasable-focal : ubuntu as system and boot as boot

                  My phone won't boot is stay on Poco screen.

                  I have try to format data in ext4 and to format all data to remove encryption and it is the same.

                  I have test Droidian and it have work.

                  @ds2k5 and @ikoz It directly work on your phone ?

                  Thanks in advance

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    davidfr @davidfr
                    last edited by

                    With telnet I have see it is a mount failure.
                    On Telegram a man say to Put the .IMG file in data folder
                    I have put boot.img and ubuntu.img, but I think ubuntu.img is sufficient.

                    And now it work :beaming_face_with_smiling_eyes:

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post