Edit: problem solved. Tried installing multiple qcn files, one worked.
I had lost my Imei numbers.It showed no baseband version,no imei,no Bluetooth address. As a result sims don't connect. But memory card slot works. I've checked that the sim connector pins are okay.
∆ What I have:
1. Twrp installed
3. It wasn't unlocked officially because when I applied for unlocking, I was able to download the unlock tool but as I didn't have imei,so I couldn't add my device for unlocking ( developer options>unlock status> add device)
But when I got the imei back, I was able to add the device. Still I haven't unlocked it yet. So it shows only the MI logo while booting but not unlocked written below.
4. Currently I'm on MIUI 18.104.22.168 Global Stable rom. Android version 6.0.1 marshmallow.
What I tried to fix it:
I tried flashing Stock roms, Miui 9.5, Miui 9.4, Custom roms but still didn't get the imei number.
Tried Fixing the EFS through adb, didn't work.
Tried efs through fastboot mode, it said installing through fastboot is not allowed or something like that ( I don't remember exactly word by word,but it was something like that)
Then at last I was able to write down my imei numbers Through QPST tool, thanks to a guide in mi community. ♡
I was only able to write 1 imei number as I have 1 imei number written in the sticker inside the phone. But I got Both imei numbers back but it shows unknown in ICCID unkown and others are unkown too. A screenshot is given below.
After getting my imei back, I inserted the sim,both slots show sim but there is no signal. When I try to call, there shows Radio off. And it tells me to turn off airplane mode but it was never turned on in the first place.
4.I flashed a backup of my current rom through twrp yesterday, tried to turn on radio through testing mode( *#*#4636#*#*) but didn't work. I couldn't change my radio mode to GSM , CDMA, LTE or anything else.. And the turn on radio button was grayed out.
Stuff that I haven't tried yet:
1. Flashing stock Miui 9.5.6 (not my twrp backup) through PC.
2. Installing NON-HLOS.bin file through fastboot mode.
Now what should I do to bring my phone back to life..?
You can try flashing non hlos bin but do unlock your bootloader or it will show partition flashing not allowed or something