Installation guide Redmi Note 9S
-
Dear all,
I've just successfully installed Ubuntu Touch on the Redmi Note 9S. It's an excellent device, the porting is incredibly good.
To help novices do the same, I've created a short installation guide below that summarizes each step.
There's nothing complicated here, but it's important to follow the steps carefully to avoid problems.
I hope these few lines will help...
Prerequisites:
1X Windows 11 PC (Intel processor required)
1X Ubuntu 22.04.4 PC (Windows PC can also be used)
1X Redmi Note 9S (Curtana)
Good 4G/LTE cellular coverage
Step 1: Phone:
. Insert a Sim Card with activated cellular data, then turn on the device.
. Turn off the WiFi, then go to Settings » About phone » "MIUI version".
. Tap repeatedly 7X on the "MIUI version" until you see the pop-up "You are now a developer!"
. Go back to Settings, click on "Additional settings", then "Developer options".
. Enable "OEM unlocking" and "USB debugging".
. Bind your Xiaomi account to your phone. (If not you have to create one) Tap "Mi Unlock status" » Agree » "Add account and device". Make sure your device can connect to the internet using mobile data.
. Once the account is successfully bound, you should get a message "Added successfully. Mi account is associated with this device now".
. Now turn off your phone, press and hold the Volume Down key and the Power button to enter Fastboot mode.
. Connect your phone to PC using USB-C cable.
Step 2: Windows PC:
. Download and launch the Mi Unlock tool on your PC here: https://miuirom.org/updates/mi-flash-unlock Then sign in to your Xiaomi account (Email/Phone/Xiaomi Account and Password). Make sure your phone is in Fastboot mode and connected to the PC.
. The server will check whether the Xiaomi account is bound to your phone or not.
. You have already done that on the phone, so you should get "Phone connected" message on Mi Unlock. If you get "Not connected to the phone" message, reinstall Mi USB driver and try again.
. Click on Unlock » Unlock anyway. On your first attempt, Mi Unlock will flash the message "Couldn’t unlock. Please unlock 168 hours later". Follow the timer / waiting period to unlock successfully.
Step 3: Windows PC:
. Download Mi Flash tool: https://xiaomiflashtool.com/
. Unpack the ZIP file and let it in your Download section.
. Open the freshly unzipped folder and add a new folder to be named "log". (leave this new "log" folder empty).
. Enter the folder again and open "Miui Flash Tool".
. The first time you open it, the system will offer to install the necessary drivers. Click on "Install".
. Go to the following site and download the "Fastboot ROM". 12.0.3.0.QJWMIXM: (Do NOT choose the first "Recovery ROM")
http://xmfirmwareupdater.com/archive/miui/curtana/. Unpack the folder and leave it in your download section.
Now wait 168 hours…
Step 4: Windows PC / Phone:
. Once the waiting period is over, launch Miui Unlock tool and sign in with your account.
. Connect your device to the PC in Fastboot mode.
. Click on "Unlock» Unlock anyway" again. It will then unlock the bootloader of your phone.
. Once the bootloader is unlocked, your phone should reboot automatically. If it doesn't, click on "Reboot phone".
. Go to Settings » About phone » MIUI version.
. Tap repeatedly 7X on the MIUI version until you see the pop-up "You are now a developer!"
. Go back to Settings, click on "Additional settings", then "Developer options".
. Enable "USB debugging".
. Reboot device in Fasboot mode
Step 5: Windows PC / Phone:
. Connect the device to the PC in Fastboot mode.
. From the PC: Open "Miui Flashtool", select "Clean all" (Do NOT select "Clean all and lock")
. Select the downloaded ROM 12.03.0.QJWMIXM
. Click on "Flash". Warning: The software may indicate that the installation has failed. But the device will still restart correctly anyway. Note that the boot time is long (5 minutes).
. Go to Settings » About phone » "MIUI version".
. Tap repeatedly 7X on the MIUI version until you see the pop-up "You are now a developer!"
. Go back to Settings, click on "Additional settings", then "Developer options".
. Enable "USB debugging".
. Leave the device on.
Step 6: From Ubuntu PC / Phone:
. Install adb and fastboot packages (sudo apt-get install adb && sudo apt-get install fastboot).
. Download UBports installer App Image from: https://devices.ubuntu-touch.io/installer/
. Open UBports Installer.
. Connect your device to the PC, phone model should be automatically detected.
. Make sure to choose version "20.04 Focal", channel "Stable".
. Check all boxes ("Wipe Data", "Extend Partition" and "Bootstrap partition").
. UBports installer will advise you to load appropriate firmware: Ignore it and click "Next".
. Automatic installation starts, UBports installer will do the job.
. What happens next is magical: the device will reboot to Ubuntu Touch! (First boot might take some time)
Warning: Currently vibrator doesn't work at all. A fix has been landed in OTA-5, but no effect on "Curtana" version so far.(fix should land in OTA-6)Latest updated post version: Nov. 06. 2024 (URL have been updated)
-
@stanwood I have Curtana and Joyuse. This is a good tutorial, the annoyance is waiting the 168 hours just to unlock the bootloader.
Battery life has improved a lot.
BTW it works with an AMD Ryzen setup and also USB 3.
-
@MrT10001 Thank you. Good to know indeed.
It seems there's an unofficial unlock tool that bypass the 168 hours waiting time, but I wouldn't recommand as high risks to soft brick the device. (I wouldn't dare). -
-
I am using redmi note 9 pro global. I flashed the latest android 10 firmware at the suggested site. Then I installed focal stable and then focal devel. Rotation never. Should I try another android firmware rom?
-
@Cubiking As per instructions:
Reasons being is the device vendor blobs, stock partition sizes....
These devices have their issues, remember the porter is a)not being paid and b) doing it on their own time, so these issues may take time to get fixed.
-
@MrT10001 I mean, in the official introduction page https://devices.ubuntu-touch.io/device/joyeuse/ It says most features works. But in my case some refuse to work in my opinion. That's why I ask. I want to find the mistakes on my side.
-
@Cubiking said in Installation guide Redmi Note 9S:
Rotation never
Hi,
Is it correct for me to assume that you checked that rotation worked on android?
If not, it might be a hardware issue.Also you mentioned
redmi note 9 pro global
, I'm not familiar with the existing models but maybe theglobal
thing make it different...
I know some Chinese manufacturer send variants of a model with the same commercial name which drives me crazy and that's also a reason why I never attempted to port a cheap device myself.Also can you confirm that you OEM unlocked your device (I think you did else installation wouldn't have worked).
Regarding your question about the firmware, it should be the one linked in the device page.
One important step to set expectations is to try the hardware in android before running the UBports Installer. -
@AppLee
Rotation did work perfectly on android. I am just thinking if I should try another firmware. For example, https://forums.ubports.com/topic/7686/install-ut-on-xiaomi-note-9-pro/2?_=1716394641427
Obviously doesn't use the lastest firmware at the time of writing. -
@stanwood Works like a charm. Thanks for this writeup.
-
-
-