Title text. My device “mars” (Xiaomi mi 11 pro) has an /e/os Community build for T (Android 13). I’d like to switch from LOS 21 (A14) to /e/os T (A13). What methods can I take to retain as much of my current data as possible?
So far, my steps are:
Use LOS Seedvault to back up data of some specified apps
Save all my Magisk modules to a directory and pull with adb
Save some specified /sdcard/* directories by using adb pull
Are there any other steps I should take so that I can restore these?
the Seedvault on /e/ is many years old - and this route won’t work reliably when coming from a higher version to a lower one, especially Android 14 that has the device2device backup earlier versions have no idea about. You can test ofc, at best the installation apks and some system settings will be transfered, but no App data (app authentication, messenger content etc).
As to the procedure, you transfer the “.SeedVaultAndroidBackup” directory from and to the folder Seedvault has as backup location.
Well, I’ve come up with my own solution, just use a file manager with su permission to copy any important app configs to a structured directory, compress it into an archive, transfer archive to my computer.
well shit, i’ve completely fucked up my boot_a partition i think…
During the install I didn’t like the recovery white background black text, so I then tried flashing Lineage recovery (which broke it)…
So now, every few seconds after a boot, it just restarts and goes back to black screen, then the Mi logo shows up again. During this time i can get into fastboot but only for a few seconds until the next sudden restart.
So order of flashing is: flash /e/os dtbo, flash /e/os vendor_boot , flash /e/os recovery in boot_a , I decided I didn’t like it, flash lineageos recovery in boot_a , boot to lineageos recovery, it starts getting stuck in a restart loop…
I managed to time the fastboot and flash the /e/os recovery to “boot” but it started sending and writing to boot_b instead of boot_a and now is permanently stuck restarting every few seconds. The phone also is now booting straight to fastboot by itself now then restarting a few seconds later, not sure what to do now to fix. I tried reflashing everything important and it doesn’t work. My current idea is to wait for it to drain its own battery while constantly bootlooping to fastboot, then bring it to a repair shop and see what they can do.
Good idea. When you restart from the recharge I suggest you boot straight to fastboot. I would hope that, if you don’t use the broken system, there is a hope that you get a stable fastboot.
When you introduced Lineage recovery was it from Android 13 or 14?
To avoid forcing /e/OS to do the downgrade (bound to be problematic) I would always prefer to do the downgrade with a Stock ROM where you can fastboot flashall … and be sure to get both slots downgraded.
it’s the android 14 lineageos recovery. So once I can get the phone into stable fastboot without the constant restarting, I should try and flash the official xiaomi rom?
I do not know the device and I have done no experiments with Android 14 … but I expect that both the mix of Android versions and the downgrade were problematic.
I think this is the safest route (both to downgrade and to recover the device) but some would be happy to experiment and learn.
The device is “Mars” xiaomi mi 11 pro from china. You’re probably right about both potential issues. I will try and figure out how to flash the official xiaomi hyperos rom again, then once everything is restored to default i’ll flash the /e/os rom. But what is flashall? I’ve never heard of it.
well, fuck. After charging the phone again, it goes straight into the loop again. Mi logo for a fraction of a second, fastboot for a few seconds, screen turns off, mi logo for a fraction of second, loop. When I plug it into computer using a cable it instead shows a xiaomi logo for a few seconds, then a battery no power icon for a few seconds, then screen turnoff for a few seconds. So my theory is that the phone is not detecting the battery and that’s why it’s turning itself offf, though I might be completely wrong about it.
I was using the term flashall to describe the method. This is an example of a flash-all.bat, notice the way that the script attempts to flash both slots, multiple partitions and erases userdata; this is good practice in recovering a non-working phone. Many fastboot ROMs already contain a flash-all script.
My first thought would be that the battery never discharged sufficiently but this “discharge to empty” is not as easy to perform as the (old) more reliable “disconnect the battery”!
Edit yes to “official xiaomi”, but you want Android 13 of course. You may be able to recover the phone using the tool and account you used to unlock the phone – I remember using MiUnlockTool to connect to my account and finding an Unbrick option.
Well, I’m definitely not experienced enough to be disconnecting the battery. So I’ll probably take my device to a repair shop and see what they can do with it. Once that’s done, since hyperos is android 14, should I try and flash xiaomi miui (android 13)?
: 1729979846:0;fastboot flash boot boot_lineage.img
i flashed lineage boot in boot_a partition
: 1729980028:0;fastboot flash boot recovery-e-2.4.1-t-20241010439852-community-mars.img
i realised I fucked it up and then tried to flash the /e/os recovery in boot_a
: 1729980974:0;fastboot flash boot recovery-e-2.4.1-t-20241010439852-community-mars.img
this one went to boot_b instead and that’s when i realised i fucked it up : 1729981967:0;fastboot flash boot_a recovery-e-2.4.1-t-20241010439852-community-mars.img
i did this ages after and realised that nothing connected