MTKClient on SailfishOS?

Hi all,

For a long time i have been trying to unbrick my redmi note 10 5G, that one day went into a bootloop to the recovery. Unfortunately a laptop that grew a little bit heavy on me whilst traveling had an accident.
So i’m trying to do it with a second phone.
I had been messing around with termux before, but no such luck. Fortunately i have a redmi 5 plus and installed Sailfish.

But gotten stuck at step:
“pip3 install -r requirements.txt”

ERROR: No matching distribution found for pyside6
After i tried some things, not sure what to be honest, it complains about shiboken6.

Getting a bit lost here, don’t know how to proceed.

device: Xiaomi redmi 5 plus (vince)
Sailfish OS 4.6.0.12 (sauna)
python3 version 3.8.18

python 3.8.18 is too old, you need a more recently version.

Or use an older mtkclient version without pyside6 requirement, like 1.52( I never tested).

1 Like

When i installed python3 i automatically had this version.
Could you care to tell me how to get a different version?

I actually did try 1.52 also, but it seems it also needs pyside6.

Wait til SFOS 5.1 is out, that should include Python 3.11.

You can try download python3.12 or 3.13 from Download Python | Python.org , install build requirements, and compile it on your vince, but this make things complex.

Why not borrow a friend’s computer?

Unfortunately for me yes. Tried with pyenv but getting some errors. Now looking into Penumbra. Seems like it doesn’t need python.

Not sure if what i’m trying is correct, but i did..
git clone https://github.com/shomykohai/penumbra.git
cd penumbra
curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo build --release
(Some errors could not find cargo, maybe my mistake should not have been root.)
(Uninstalling with rustup self uninstall, and reinstalling.
error: could not amend shell profile: ‘/home/defaultu
ser/.bashrc’: could not write rcfile file: ‘/home/def
aultuser/.bashrc’: Permission denied (os error 13)
[defaultuser@Redmi5Plus penumbra]$

A bit lost here sorry. Anyway thanks.

Why not borrow a friend’s computer?

A pity when these devices are capable computers on their own, especially with maybe SFOS.:sweat_smile:

1 Like