can you link a guide to flash custom firmware (lineageos) on debian on a redmi 9c or help me flash it?
from vestmoria@linux.community to linux@lemmy.ml on 14 Jun 20:44
https://linux.community/post/1031833
from vestmoria@linux.community to linux@lemmy.ml on 14 Jun 20:44
https://linux.community/post/1031833
most guides I found online are for windows based computers and those that even name linux are outdated.
-
Linux distro I run: debian 12.5, adb and fastboot installed through apt
-
Phone I want to experiment with: redmi 9c
-
Firmware I’m installing: xdaforums.com/…/rom-13-unofficial-lineageos-20-0-…
fastboot devices
recognizes the device and I can also boot the phone to fastboot: it shows a black (not blank) screen with the word FASTBOOT printed orange.
I tried following …gadgethacks.com/…/complete-guide-flashing-factor… but fastboot flashing unlock
and fastboot oem unlock
return FAILED (remote: 'Token Verify Failed, Reboot the device ')
developer options and OEM unlocking are both activated on the device
threaded - newest
With some phones you need to go through extra steps to be able to do OEM unlocking. Looks like it is the case here, see the steps in the FAQ linked here : en.miui.com/unlock/download_en.html
I’ve never used miui devices but I think you need to make an account and use this en.miui.com/unlock/download_en.html so you will probably need to have wine installed to run it, unless it has a native linux version in the zip file. Then you should have an unlocked bootloader