edl
edl copied to clipboard
Error: Couldn't write partition
I'm trying to unbrick a 3t but irrelevant of the decrypted firmware i try to flash or the partitions i try to flash at some point it alwys errors out with Couldn't write partition. Either wrong memorytype given or no gpt partition.
I'm seeing the same issue trying to write to an LG Velvet. More details on the exact model here
./edl wl /media/user/Reserved/LG_Velvet --memory=ufs --debugmode --skip=super,OP_a,OP_b,grow,ftm,persist,rct,power,els,srtc,sns,p_persist_lg,drm,mpt,fota,eksst,pstore,metadata,keystore,misc,ssd --loader=/opt/edl/Loaders/qualcomm/factory/sd765/0000000000720000_1bebe3863a6781db_fhprg.bin
EDIT: I should add how I got into the situation of needing to restore from backup. I clicked "ChipErase" in LGUP thinking it would present options before proceeding to do anything. I was dead wrong, and interrupted the process as it was in the midst of erasing the "super" partition. The partition map was no longer visible in QFIL after this process.
If it helps to troubleshoot this issue, here is my lun0 partition table. rawprogram0.txt
I ended up using QFIL to restore my phone.
@ReFil, if you're still having trouble, I noticed that with QFIL, I had to reboot the phone (Vol+, Vol-, and Power simultaneously), and then initiate the "Download" immediately after Windows detected the 9008 device.
Perhaps there is a short window after boot that is affecting edl and QFIL equally here.
There is a bug that this message will display whether flashing was successful or not.
When edl wl
option is used, it needs to point to each lun folder that was obtained with edl rl
.
For example:
#!/bin/bash
DUMP_FOLDER="../dump/"
./edl wl "$DUMP_FOLDER/lun1" --lun=1 --memory=ufs
./edl wl "$DUMP_FOLDER/lun2" --lun=2 --memory=ufs
./edl wl "$DUMP_FOLDER/lun3" --lun=3 --memory=ufs
./edl wl "$DUMP_FOLDER/lun4" --lun=4 --memory=ufs
./edl wl "$DUMP_FOLDER/lun5" --lun=5 --memory=ufs
./edl wl "$DUMP_FOLDER/lun0" --lun=0 --memory=ufs # main partition 120GB last - takes >3h
can someboby help me find this /sd765/0000000000720000_1bebe3863a6781db_fhprg.bin need this file