-
Hi @reeered and welcome
I was going to refer you to the link Keneda already sent (damn he's fast).
So I would avoid messing with the partition size as you risk bricking your device with an update.
The best course of action is to use the userdata partition and to make it work.You can link folder in /opt to /userdata
But when someone asks question about this stuff it's often because this is above their skill-set.
So my advice is not to try anything that can make it worse.Trying to hack the OS this way is a dangerous endeavor. Be sure that you understand what you're doing.
-
@Keneda It seems has been bricked , ubports didn't work. It may because I use " parted " to delete userdata partition
-
This post is deleted! -
@reeered
If there is a Xiaomi rescue tool use it to reinstall the right android for installing UT then reinstall UT using ubports installer.I can't say much more as partitioning is above my skills.
Maybe wait for more skilled users to give you advices before doing anything
-
@Keneda NEVER TRY PARTITION!!!!!!!!!!!!!
-
@reeered when you get your device back to a working condition, about all those Python packages installed in /opt. Is it possible to install them locally in your home folder?
-
@arubislander ok, I will hava a try to store Python in /userdata if I could reboot my device
-
@reeered
I don't know if it works for python, but maybe you could ask to @Fuseteam that devs this tool, take a look at this : https://forums.ubports.com/topic/6283/snap-crackle-and-pop-readwrite-rootfs-is-overrated?_=1691694874642 -
@Keneda Thank you. But now I have resolve my problem by partitioning haha
-
@reeered
That is not to solve your problem.
That is to install some command line tools or apps in a way you don't have to mess with root FS or partitioning on an Ubuntu Touch device. -
@reeered start by restoring your device with Xiaomi's tool: https://forum.xda-developers.com/t/miflash-guide-use-xiaomi-flash-tool.4262425/