I accidentally flashed LineageOS instead of stock (the roms were on the same SD card) via TWRP and didn't realize it until my phone rebooted to a black screen smh. I never flashed "copypartitions" because I was intending on flashing stock. Only sign of life I have from the phone is in device manager on my PC, where it shows up as "Qualcomm HS-USB QDLoader 9008 (COM4)".It copies partitions from the active slot to the inactive (excluding oem, system, boot, and vendor).
Let's say you restored your firmware to the latest stock, you're on slot A and slot B has yet to be populated. Then you flash Lineage. Now you boot slot B and your phone doesn't work, so you go to install "copypartitions". If you didn't know to first switch to slot A, it will copy B to A, effectively wiping those partitions.
I tried using the Lenovo Rescue and Smart Assistant but it doesn't work as the tool needs access via fastboot and the phone is stuck in EDL mode. I've been trying variations of blank-flash to no success either. Any help is appreciated. Thanks!
EDIT: Forgot to mention I did make a backup of EFS/Persist.
Motorola qboot utility version 3.86 [ -0.000] Opening device: \\.\COM4 [ 0.002] Detecting device [ 0.003] ...cpu.id = 355 (0x163) [ 0.003] ...cpu.sn = 185447161 (0xb0db2f9) [ 0.003] Opening singleimage [ 0.073] Loading package [ 0.076] ...filename = pkg.xml [ 0.077] Loading programmer [ 0.083] ...filename = programmer.elf [ 0.083] Sending programmer [ 11.244] ERROR: sahara_download()->IO error [ 11.244] Check qboot_log.txt for more details [ 11.244] Total time: 11.245s FAILED: qb_flash_singleimage()->sahara_download()->IO error
Motorola qboot utility version 3.86 [ -0.000] Opening device: \\.\COM4 [ 0.050] Detecting device [ 34.549] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error [ 34.549] Check qboot_log.txt for more details [ 34.549] Total time: 34.550s FAILED: qb_flash_singleimage()->sahara_greet_device()->change_mode()->do_hello()->IO error