[Xiaomi Redmi Note 5 Pro Questions & Answers] yogeshs9:
Here's my situation -

I was using my Whyred (Redmi Note 5 Pro) and it suddenly hung, so i tried forced reboot by long pressing the power key. But after that, the device never booted. It is stuck at MI bootlogo. I tried going to recovery, the recovery is also stuck at the Recovery Bootlogo (ie, OrangeFox Recovery Project logo as i am using OrangeFox Recovery), then i tried going to Fastboot and it shows a blank screeen with only the LCD backlight.

Device gets detected in 'fastboot devices' when in fastboot blank screen and also gets detected in 'adb devices' as a recovery device when stuck at recovery logo from a windows pc. The Bootloader was unlocked and i was using a custom ROM, Havoc OS Mod - last Pie build with OrangeFox Recovery and was rooted using Magisk. I didn't update the rom or firmware since past 4-5 months. I also tried "fastboot boot recovery.img" with 3 different recoveries (twrp,orangefox and skyhawk), but all of them gets stuck at their respective recovery logos and gets detected in adb devices on pc.

I have important files on my internal storage which i want very badly. It wasn't backed up (my bad:crying::crying:). So i want to copy/backup the internal storage of the device to my pc before attempting to repair the device and after backing up i want to fix the device.

My Problem -

When the device is struck at recovery logo, i connect it to my pc and it gets detected as a recovery device on running "adb devices" and i can use adb shell. on writing "ls" in adb shell all the different directories gets listed but when i "cd" to storage,sdcard and some other directories they are empty. when i type 'su' in adb shell,it shows "/sbin/sh: su: not found" . "adb root" also doesn't work as it shows to allow permission on device and then terminates. I read online that i need root access in adb to see system files in adb shell which i am not able to get as the device is stuck at bootlogo. i want to use "adb pull" to copy my internal storage to my pc before attempting any repairs.

I have attached the screenshots of "fastboot getvar all" command.

So, looking at my situation, how do i backup my internal storage to my pc? I really want those files on the internal storage.

Is there any way i can get/backup those files from internal storage from fastboot or adb or any other way?

Also, after backing up, how do i fix my device?

It was running fine without much problems before this. The storage was pretty close to being filled up, other than that i don't remember having any other problems with the phone. It hung suddenly while using and after forced rebooting, never booted again. how do i fix it from fastboot or recovery? i am thinking about formatting the device from fastboot and then trying to boot the recovery and then rom. I didn't try it as i wanted to backup internal storage first. Some people in other posts say that they weren't able to fix their device in similar situations. Please suggest the correct way to fix my device.

Please read my problem and help me to fix it. Your help would really mean a lot to me.:D:):)

This is my first post on xda-developrs so please let me know if am making any mistakes.

Fastboot getvar screenshots (can't post links as i am new user)-

ibb.co/Q82JWdN

ibb.co/4R8j9Jd

ibb.co/sK5Km57

ibb.co/1JGSrdn