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

    Can NOT install UT Redmi note 9 pro "exit code 256"

    Scheduled Pinned Locked Moved Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
    22 Posts 4 Posters 94 Views 2 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.
      • S Offline
        smobilesoft
        last edited by

        The guy from the reddit forum answer with the following, just in case it will help someone:

        *Hi, if you give me more information about your current situation I might be able to assist more.

        Basically my issue was that the installer made the system partition too small for all the files and updates and it fizzled out while trying to complete. So I just manually increased the partition size.

        To do that you need to boot the phone in fastbootd (not the bunny fastboot/bootloader). If you are in UBports recovery, just select Advanced>fastboot, if not use fastboot reboot fastboot (I assume you have platform-tools installed, if you have gotten this far, you need them for next step).

        First remove these two partition if present to free space (UT doesn't need them):

        sudo fastboot delete-logical-partition product
        sudo fastboot delete-logical-partition system_ext

        Then run sudo fastboot resize-logical-partition system 3900000000 (3.9GB worked for me). If you get "size too big" try a smaller number.

        Then go back to bootloader/fastboot (bunny) and run the UBports installer again. Make sure to select wipe data and bootstrap.*

        Vlad NirkyV 1 Reply Last reply Reply Quote 0
        • Vlad NirkyV Offline
          Vlad Nirky @smobilesoft
          last edited by Vlad Nirky

          @smobilesoft
          Well...
          I have the same phone.
          I am not a porter and I apologize to them (or invite them to correct me) for the shortcuts used.
          I have unlocked it, install the needed ROM to be compatible with UT port.
          The UT port interacts with an abstraction layer called Halium.
          There is a version of Halium for each version of Android 9, 10, 11, 12, etc.
          Halium interacts with the low-level Android drivers that are left in place when UT is installed and Android is replaced.
          The port therefore expects to have very specific drivers (those of the recommended version of Android).
          Each ROM contains a number of partitions that are either left in place, replaced, or modified.
          Altering these partitions (or using a non-compliant ROM that has other partitions) can therefore result in a system that cannot receive UT or anything else at all.
          You can experiment, and it may be beneficial to you and to others who are in the same situation or not.
          When the device is unlocked and the ROM joyeuse_global_images_V12.0.3.0.QJZMIXM is in place, installer can resize the needed partitions via
          bead290c-af62-4237-82e9-9d1ff28cf229-UT install checkbox.png /home/jll/UBT/4Install/UT install checkbox.png

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