RN QCOM dior hardbricked, need to make new partition table - Redmi Note Q&A, Help & Troubleshooting

Hello everyone!
I tried installing the latest fastboot ROM on a RN QCOM, and MiFlash fails with an error that it is unable to format a partition.
After booting into TWRP, I see that /data partition says size is 0MB, usage and free space also 0MB and it is unable to mount it. The other partitions are fine(though I can't find the EFS partition for the IMEI files). Previously running Hexagon ROM and TWRP 3020.
I can only boot into fastboot and recovery. The command "fastboot erase data" fails and says partition table is missing. How can I rewrite the partition table? All the methods I found need adb but my device is dead... Please help!
Thank you!

Related

remote partition table doesn't exist lg g2 using fastboot and adb

when i want to erase boot or any other partition or flash any boot.img or any other file i get an error.
"remote partition table doesn't exist"
what does this mean i need help.
i have fastboot and recovery installed.
and when i use fastboot devices.
it show me "?" on connected devices is it normal and how to solve this partition problem.unable to erase or flash anything to lg g2 d802.
I got the same error when I tried to flash CM12.1.

failed to mount storage, /cache, /system, /data, /data/media

hello all,
my yureka(a05510) CAN boot into bootloader and recovery,
Ive tried flashing roms, different recoveries(twrp v3.00 and 2.8), formatting data, mount, resizing partitions, annabathinas method, flashing fastboot images(cm-12.0-YNG1TAS0W0-tomato-signed-fastboot.zip) through fastboot commands and batch files like flash-all.bat (lots of times) and even YGDP method for flashing stock firmware(gives unknown error:5 last error:997 msg: CP8675_I02_P1 , download failed please try again.) i even tried writing emmc img to micro sd(i believe used when phone does not boot into fastboot mode, though NOT my case) and hoped it would change something but that failed too.
please help. thanks in advance.
is your problem solved ? because i am facing the same issue right now and i am not able to find any way out
Pranay_619 said:
is your problem solved ? because i am facing the same issue right now and i am not able to find any way out
Click to expand...
Click to collapse
Fastboot erase system
Fastboot erase cache
Fastboot erase userdata
Sent from my AO5510 using Tapatalk

Persist partition not flashing

Hey, I accidentally corrupted my persist partition, the phone is unusable; the WiFi doesn't work, and it restarts every 2 Minutes. I tried flashing persist
fastboot flash persist persist.img
FAILED (remote: Error: This image isn't allow download)
I already tried erasing persist, but it won't let me.
Can someone please tell me a method to unlock the persist partition for download so I can flash persist.img? Please note that I can't flash TWRP either, says partition table doesn't exist. Is there a way to maybe flash it through Mi Flash Tool?
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
No twrp
raaz1431994 said:
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
Click to expand...
Click to collapse
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Hi man!.
do you flash with factory_reset.bat?, if the answer is yes, you have to flash tissot 7.23 with the attachment (change the txt extension to bat and start the phone in fastboot, when it finish, start the phone in fastboot and unlock the bootloader and try to flash the persist partition again in fastboot, if didnt work, boot the TWRP recovery (yes, boot it with fastboot boot recovery.img ) and flash the persist image with adb shell, dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist , the persist image must be in the internal memory (you can copy it with MTP) when the phone starts, you can change the WLAN and Bluetooth mac addres in /persist/wlan_mac.bin, /persist/bluetooth/.nv_bluetooth, to change the serial numer /persist/.sn
Hope it works to you
PD. If you flash the factory_reset.bat, probably you lost the IMEI to and that would be a problem.
do not flash twrp
just boot to twrp using fastboot command
fastboot boot twrp.img
---------- Post added at 12:49 AM ---------- Previous post was at 12:48 AM ----------
CoolPlushBear said:
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Click to expand...
Click to collapse
do not flash twrp
just boot to twrp using fastboot command
fastboot boot twrp.img
CoolPlushBear said:
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Click to expand...
Click to collapse
Did you ever solve this issue or find a work around? I have same issue.....
If you don't flash the backup of your persist partition and use instead someone else's backup, you'll mess up your phone.
- # dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
dd: writing '/dev/block/mmcblk0p27': No space left on device
2049+0 records in
2048+0 records out
1048576 bytes (1 .0MB) copied, 0.114366 seconds, 8.7MB/s
FAIL~~
CoolPlushBear said:
Hey, I accidentally corrupted my persist partition, the phone is unusable; the WiFi doesn't work, and it restarts every 2 Minutes. I tried flashing persist
fastboot flash persist persist.img
FAILED (remote: Error: This image isn't allow download)
I already tried erasing persist, but it won't let me.
Can someone please tell me a method to unlock the persist partition for download so I can flash persist.img? Please note that I can't flash TWRP either, says partition table doesn't exist. Is there a way to maybe flash it through Mi Flash Tool?
Click to expand...
Click to collapse
Don't try to flash persist.img You can encounter more trouble
You can Lost IMEI and sensor, try this metodo:
https://forum.xda-developers.com/mi-a1/how-to/tool-persist-resurrector-v1-0-0-0-t3781095
carlosorta said:
Hi man!.
do you flash with factory_reset.bat?, if the answer is yes, you have to flash tissot 7.23 with the attachment (change the txt extension to bat and start the phone in fastboot, when it finish, start the phone in fastboot and unlock the bootloader and try to flash the persist partition again in fastboot, if didnt work, boot the TWRP recovery (yes, boot it with fastboot boot recovery.img ) and flash the persist image with adb shell, dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist , the persist image must be in the internal memory (you can copy it with MTP) when the phone starts, you can change the WLAN and Bluetooth mac addres in /persist/wlan_mac.bin, /persist/bluetooth/.nv_bluetooth, to change the serial numer /persist/.sn
Hope it works to you
PD. If you flash the factory_reset.bat, probably you lost the IMEI to and that would be a problem.
Click to expand...
Click to collapse
what is tissot 7.23?
raaz1431994 said:
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
Click to expand...
Click to collapse
still working in 2020. Thanks for your post. Small thread but powerful. :dynamite:

How Restore persist.img

Hi, I accidently deleted persist folder from TWRP (dev/block). All of phone sensors doesnt work now. How can I restore or repair this?
I reinstalled EUI 5.8.023S Stock Rom. But I see error in TWRP console "Failed to mount '/persist' (Invalid argument)". Thanks.
Hi again, I resolved my problem. I found persist.img file inside sparse ROM which downloaded from this thread.
https://forum.xda-developers.com/le-2/development/tools-unbrick-thread-leeco-le-2-x52x-t3634609l
- open ADB
- fastboot erase persist
- fastboot flash persist {pathOfFile}\persist.img

[TROUBLESHOOTING] Corrupted fastboot partition

Is there any way how to boot a phone with corrupted /fastboot partition?

Categories

Resources