scripts icon indicating copy to clipboard operation
scripts copied to clipboard

SD Card Detection when restoring stock and backing up firmware.

Open Shaddow798 opened this issue 4 years ago • 2 comments

I found a bug when i tried to use a SD card with one partition to restore my stock firmware.

The issue is the inbuilt SD card reader default drive letter is /dev/mmcblk0 (the internal EMMC is /dev/mmcblk1) causes it not to be detected as the firmware utility script only scans /dev/sd* for devices.

Shaddow798 avatar Jul 10 '20 05:07 Shaddow798

problem is script assumes mmcblk0 is internal, there's no good way to differentiate between internal/external devices AFAIK.

MrChromebox avatar Jul 10 '20 16:07 MrChromebox

@MrChromebox that's what I thought was just asking if there was another way that I couldn't think of. SMART data? Probably to big of a pain to add for the one person who decides to us a SD for onse.

Shaddow798 avatar Jul 10 '20 21:07 Shaddow798