Can NOT install UT Redmi note 9 pro "exit code 256"
-
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_extThen 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.*
-
@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
/home/jll/UBT/4Install/UT install checkbox.png