Konubinix' opinionated web of thoughts

Whyred

Fleeting

https://forum.xda-developers.com/t/all-in-one-xiaomi-redmi-note-5-whyred-unlock-bl-flash-twrp-root-flash-rom.3778049/

unlock oem

adb reboot bootloader
fastboot oem device-info 2>&1
(bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
OKAY [  0.001s]
Finished. Total time: 0.001s

asking xiaomi

https://forum.xda-developers.com/t/all-in-one-xiaomi-redmi-note-5-whyred-unlock-bl-flash-twrp-root-flash-rom.3778049/

  1. Request Permission from Xiaomi to Unlock the Bootloader

a. Create a Mi Account: https://global.account.xiaomi.com/pass/register b. Sign to Xiaomi and apply for unlocking http://en.miui.com/unlock

You have to give a reason for requesting to unlock the bootloader. I gave following reason on my request:

“I purchased my Xiomi Redmi Note 5 from the vendor xxx and they have installed a fake (custom) rom. I want to install an original rom from Xiaomi. So please approve my request to unlock the bootloader.”

c. Wait for permission. I have 5 different accounts approved by Xiaomi and the longest I had to wait for the approval of each account was 1 day. Most of the users are reporting the same, however very few users are reporting a waiting time of up to 10 days . If your request is approved then you should receive a message with following content:

“You’ve been granted the permission to unlock your device (Mi Account xxxx). Donload Mi Unlock Tool At http://en.miui.com/unlock

https://forum.xda-developers.com/t/all-in-one-xiaomi-redmi-note-5-whyred-unlock-bl-flash-twrp-root-flash-rom.3778049/

https://en.miui.com/unlock/index.html

Apply-for-permissions-to-unlock-Mi-devices.pdf

https://miuirom.xiaomi.com/rom/u1106245679/6.5.224.28/miflash_unlock-en-6.5.224.28.zip

[2023-09-23 Sat]

after unlocking

fastboot oem device-info 2>&1
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
OKAY [  0.000s]
Finished. Total time: 0.000s

lineageos

https://xdaforums.com/t/rom-r-official-lineageos-18-1-for-xiaomi-redmi-note-5-pro-whyred.4109253/page-63

TFT69 said: thank you. but you misunderstood me. I’m looking for the “latest official rom” of 24.10.2022. I know you compile the same rom unofficially, but I need the latest official one. thank you. Open that link I have uploaded official lineage 18.1 zip file dated 24.10.2022

OR

Direct download link

https://sourceforge.net/projects/lineageos/files/LineageOS18.1/lineage-18.1-20221024-nightly-whyred-signed.zip/download

https://xdaforums.com/t/rom-r-official-lineageos-18-1-for-xiaomi-redmi-note-5-pro-whyred.4109253/page-63

latest official ones

lineage-18.1-20221024-recovery-whyred.img

lineage-18.1-20221024-nightly-whyred-signed.zip

https://dl.twrp.me/whyred/twrp-3.7.0_9-0-whyred.img.html

twrp-3.7.0_9-0-whyred.img

https://wiki.lineageos.org/devices/whyred/install

Install-LineageOS-on-whyred-LineageOS-Wiki.pdf

IMPORTANT: Other recoveries may not work for installation or updates. We strongly recommend to use the one linked above!

https://wiki.lineageos.org/devices/whyred/install

What I did

  1. adb reboot bootloader

  2. fastboot flash recovery https://konubinix.eu/ipfs/bafybeidrgokxi2dpjuttg5nhgi4xe4ccn4e4ppkahkzei435hz57uesaai

  3. fastboot reboot recovery

    • it did not boot into recovery
  4. trying again, because

    Do not reboot into the existing OS, since it will overwrite the recovery you just installed!

    https://wiki.lineageos.org/devices/whyred/install

  5. adb reboot bootloader

  6. fastboot flash recovery https://konubinix.eu/ipfs/bafybeidrgokxi2dpjuttg5nhgi4xe4ccn4e4ppkahkzei435hz57uesaai

  7. manually boot into twrp

    hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release

    https://wiki.lineageos.org/devices/whyred/install

  8. advanced wipe with everything checked

  9. format data

  10. sideload

  11. adb sideload https://konubinix.eu/ipfs/bafybeib7ikid5v6qgfhcgj7k4yd7cx53lstpsuywhcztpjbsuygypmuyce

  12. adb sideload https://konubinix.eu/ipfs/bafybeigjlb2trp2mwej6intagz5siipcpyi2drjwxvz5sctys2z5ysdjhy # Chainfire SuperSU

  13. reboot

  14. super su does not seem to work

  15. clk android -d whyred adb install /home/sam/Downloads/supersu-2-82.apk

  16. I get a message saying that it was not meant for android that recent

  17. clk android -d whyred adb uninstall eu.chainfire.supersu

  18. adb sideload https://konubinix.eu/ipfs/bafybeid55klejlxbvywodvbk5izpxpqu5uw6i2l42xlevxjnfeksqvd2da # trying magisk

  19. ipfs get https://konubinix.eu/ipfs/bafybeid55klejlxbvywodvbk5izpxpqu5uw6i2l42xlevxjnfeksqvd2da -o magisk.apk && clk android -d whyred adb install magisk.apk && rm magisk.apk

  20. run magisk, reinstall and reboot

  21. clk android adb shell magisk su

Notes linking here