I am requesting for support of /e/os rom for Xiaomi Redmi Note 12 Pro Plus 5G url to xiaomi page. Unfortunately I haven’t found compatible custom roms for it. I assume it is because the device is new to the market. My device runs Android 12 and Miui 14 Global.
Thanks for your response. yeah… flashing the gsi sounds promising (except the issues mentioned in blog you linked which makes me extra uncertain because tutorial doesn’t warn about the possible troubles).
I have nothing left than flashing the gsi and checking if it would work for me i guess…
Flashing /eOS ‘Q’ V.14 GSI on a Xiaomi Redmi Note 12 Pro Plus 5G (ruby) will not be successful. Also, a /e/GSI “S” or “T” is not to be expected in the medium term [ “we do have developer bandwidth issues” ], if at all.
However, it’s possible to upgrade to the current stock Android 13 ( V14.0.1.0.TMOMIXM ) and for example a GSI “13” ( lineage-20-light or lineage-20-td ) from the GSI Guru Andy Yan. Andy Yan’s personal builds support ‘Signature spoofing’ and thus operation with microg/GmsCore - as with /e/ OS - is possible.
It’s always worth one or more GSI installation sessions to free yourself from Xiaomi’s clutches.
I realized how many things I must do before flashing anything.
First thing is that somehow me device is running european miui but in device info I clearly see miui global. OTA upgrade from file doesn’t work so I need to fastboot the rom with android 13. I found out that unlocking bootloader also take some time (I need to wait one week) EDIT: I’ve found solution for that by doing instant unlock.
However, degoogling gives me motivation to do so. Is the Lineage GSI worth it? Will it be reliable as daily driver? Maybe I should browse some more the internet…
Update: the method i’ve found to instantly unlock bootloader isn’t supported on my redmi - different cpu architecture or sth. Therefore, I’ve applied for official unlock which takes week.
next thing is gonna be flashing rom update with mi flash tool (thanks for recommendation). Then I open terminal to flash the gsi with fastboot commands. At this point I should have working LOS?
Do you see any steps I should improve?
Does the flash tool allow to flash non-stock rom?
Does the rom you recommended comes with microg out of the box?
Waiting 168 hours for the official bootloader unlock is normal, even “fast” for a relatively new model like yours.
. . .
Use the waiting time to learn the next steps and understand what they do.
I looked at the data structure and MT6877_Android_scatter.txt of the compressed 7.4 GB file V14.0.1.0.TMOMIXM, and - would use fastboot instead of the Xiaomi flash tool.
Your ‘ruby’ uses as system.img the file super.img. In the meantime, familiarize yourself with fastboot ‘D’ Mode.
No.
. . .
No.
A special feature of Andy Yan’s GSI builds is its signature spoofing support. This is not the rule with GSI images. Most Android 13 GSI ‘vanilla’ images do not support signature spoofing out of the box, especially LineageOS GSI images.
If you use MagisK v.26.1, you can use the MagisK Modules feature and thus different versions of MinMicroG. The advantage is, you can always use different MicroG versions or uninstall them without a trace. MagisK can also uninstall itself without leaving a trace.
Sorry for being completely dumb. You’ve definitely noticed it’s my first attempt to custom roms.
Meanwhile, while waiting for oem unlock, I took your advice and prepared a plan in order to do everything properly. Can you take a look, please?
Flashing mi firmware with a13 (after successful unlock of bootloader ofc)
Shut down the phone. Then enter fastboot mode and connect with cable.
In terminal: cd into downloaded ruby fastboot rom and run “./flash_all.sh”.
Flashing twrp (I’m not sure if it is necessary, but i don’t see easier way to get both los and microg) Could you tell me if there is better way for my goal? The following plan, I’ve came up with, rely on presence of twrp…
Following the guide from that page (i cannot say if non-official custom recovery is safe) i can obtain twrp
Flashing lineage os
I’ve found at indivious guide for installing los. Here is the first point where twrp would be useful. I know that fastboot commands are enough but i’m not sure if in fourth step i could omit custom recovery.
Another thing I cannot determine if should download los by clicking “latest” under td build section
Here is result from treble app on my device:
Thanks to your suggestion, i’ve found that there is such thing as minmicrog with can be easily installed microg with twrp - just download minmicrog from github and install it in twrp. [guide on indivious]
So here is my question. Can i proceed with step 3 and especially with step 4 without custom recovery or rooting with magisk?
Re 3.
TWRP is a valuable tool, but a GSI Treble supporting version of TWRP (or others) is probably not available for your ‘ruby’ (currently). On the other hand - a custom recovery is not mandatory to install a GSI image.
fastboot reboot fastboot = fastboot ‘D’ modus … important!
fastboot flash system system.img = system.img is created by extracting the *.img.xz file
It may be that isn’t necessary (?!): fastboot flash --disable-verity --disable-verification boot boot.img
I about to start a first try only with: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
vbmeta.img = original stock Android 13 vbmeta.img
Note: This varies from device to device. I don’t know any other way than trial & error.
Re 4.
Since I don’t know any TWRP or other custom recovery for the ‘ruby’, I only see the possibility to install MinMicroG either manually (with considerable additional work) or simply and safely via MagisK module.
I’ve finally started to feel more comfortable after finding some useful resources. Obviously, I owe most of this to you. Thanks to your suggestions, I’ve finished my plan which I’d extended with rooting:
Flashing firmware with Android 13
Shut down the phone. Then enter fastboot mode and connect with cable.
In terminal: cd into downloaded ruby rom and run “./flash_all.sh”.
You are definitely on the right track. I’m glad to see that you learned quickly and probably understood what you were doing. I think the latter is particularly important.
My GSI experience is that successful GSI installation also depends heavily on the correct sequence of commands. I’ll post my installation idea (order of the commands) shortly.
But first a tip: Be careful with erase command ‘erase’ and use ‘delete’ instead for safety’s sake. Why? Well, …
delete only deletes the partition erease eleminates the partition
Key Difference:
. . . . . Delete refers to removing files from one place, but it is still there in another place.
Erase refers to the ability to remove something from a certain place. Once it is erased, it is gone from existence.
It may or may not be { It’s a game OR no risk, no fun :-)) }
necessary to execute this command: fastboot flashing unlock_critical
Please note!
This suggestion comes from my knowledge and best conscience, but is without guarantee of success, because I don’t have an identical device. So it’s pure theory :o))
If something goes wrong, try to stay calm. Even if the screen stays black after booting or no fastboot command works anymore - there is a big chance to fill the device with life again by flashing Stock Android again - with the SP-FlashTool.
So, if I were now faced with the task of changing the OS of the ‘ruby’, I would proceed as follows:
Transfer MinMicroG.zip to /Downloads or /root
Install Magisk_v26.1.apk and go to “Modules” section in the Magisk app and install your MinMicroG.zip package.
Oh, because you’ve written, I will surely take into consideration to look at a result of that:
According to your list of commands, it’s ok to flash system.img in fastbootD only and the rest in regular fastboot (bootloader) earlier, isn’t it?
Since you used above command, there is no longer need for using fastboot delete (not erase!) userdata, right?
One more thing. As following your steps of flashing LOS, I’ve noticed that:
Do I understand that I should patch boot.img of stock mui android 13 room, still being at my current os (android 12)? I suppose it is because of safety considerations and I should download magisk, patch the file and transfer to my machine. Is that correct?
Yes, correct. The later command fastboot -w includes delete userdata.
Yes, correct. Patch the boot.img from stock Android 13 ( e. g. V14.0.1.0.TMOMIXM ). Magisk patching can be done on your ‘ruby’ or on any other Android device.
Rooting with Magisk makes it possible to work with Magisk-Modules. This module makes it very easy to install MinMicroG packages.
I’m curiously to see how our experiment will go. If you run into any problems, let me know.
I’m so glad, you’ve contributed that much and also that you’re interested how things will turn out. At this point I think most of my biggest concerns are gone.
There is nothing more I can say except reporting my thoughts in a few days after the bootloader will be ready to unlock and I will start flashing.
My ambition is to free as many Android devices as possible from stock Android. I would prefer to be able to equip every device with /e/ builds, but unfortunately this is not possible at the moment.
I’ve ended up with boot loop while attempting to enter fastbootD. I’ve done everything as you told. I can go to normal fastboot mode but the “fastboot reboot fastboot” still gives boot loop. “fastboot reboot recovery” doesn’t work also. I’m desperate. Maybe there is something wrong with adb tools from arch repository, I dunno…