[Lenovo A6000/Plus ROMs, Kernels, Recoveries, & Oth] medjaisp:
I am attaching the recovery log from where error started.

I installed twrp, then went to wipe-advanced wipe and wiped everything. The first followed the flashing of the patch. It was a success. Then i tried to flash the ctual lineage os which resulted in an error. Then i chose to reboot to recovery from the menu and thats it. I didnt get anything after that. Earlier I could enter fastboot mode, but now nothing is visible except for q9008 mode. I tried qfil but getting error at 98.6%. Before I installed twrp, i was in lollipop. I had done a clean wipe so i guess i should be able to load kitkat. I AM TRYING THE KITKAT FILE NOW WITH THE QFIL WHICH FAILS AFTER 98.6%...

11:43:20: DEBUG: Response was 'ACK'

11:43:20: INFO:

11:43:20: INFO: =======================================================

11:43:20: INFO: ==================== {SUCCESS} ========================

11:43:20: INFO: =======================================================

11:43:20: INFO: {percent files transferred 98.61%}

11:43:20: INFO: In handleProgram('userdata_47.img')

11:43:20: DEBUG: ==================================================================================

11:43:20: DEBUG: ==================================================================================

11:43:20: INFO: Looking for file 'userdata_47.img'

11:43:20: DEBUG: 1. Calling stat(C:\Program Files (x86)\Qualcomm\QPST\bin\Firmware\userdata_47.img')

11:43:20: DEBUG: 2. Calling fopen('C:\Program Files (x86)\Qualcomm\QPST\bin\Firmware\userdata_47.img') with AccessMode='rb'

11:43:20: DEBUG: Trying get filesize, calling fseek()

11:43:20: DEBUG: Found 'C:\Program Files (x86)\Qualcomm\QPST\bin\Firmware\userdata_47.img' (8192 bytes)

11:43:20: DEBUG: 2. Calling fopen('C:\Program Files (x86)\Qualcomm\QPST\bin\Firmware\userdata_47.img') with AccessMode='rb'

11:43:20: DEBUG: Trying get filesize, calling fseek()

11:43:20: DEBUG: File size is 8192 bytes

11:43:20: DEBUG: NumSectors needed 16

11:43:20: INFO: =======================================================

11:43:20: INFO: {<program> FILE: 'C:\Program Files (x86)\Qualcomm\QPST\bin\Firmware\userdata_47.img'}

11:43:20: INFO: {<program> (8.00 KB) 16 sectors needed at location 15335424 on LUN 0}

11:43:20: INFO: =======================================================

11:43:20: DEBUG: CHANNEL DATA (P110013) (H110215) ( 242 bytes) - HOST TO TARGET -->

===========================================================================================================

<?xml version="1.0" encoding="UTF-8" ?>

<data>

<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="userdata_47.img" label="userdata" num_partition_sectors="16" physical_partition_number="0" start_sector="15335424" />

</data>

============================================================================================================

11:43:20: DEBUG: CharsInBuffer=0 Trying to read from USB 4096 bytes

11:43:20: DEBUG: CHANNEL DATA (289 bytes) <-- TARGET to HOST

11:43:20: DEBUG: CharsInBuffer = 289

11:43:20: DEBUG: printBuffer:5260 PRETTYPRINT Buffer is 289 bytes

11:43:20: DEBUG: printBuffer:5337 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1

11:43:20: DEBUG: printBuffer:5337 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT

11:43:20: DEBUG: printBuffer:5337 46 2D 38 22 20 3F 3E 3C 64 61 74 61 3E 3C 6C 6F F-8" ?><data><lo

11:43:20: DEBUG: printBuffer:5337 67 20 76 61 6C 75 65 3D 22 50 61 72 73 65 64 20 g value="Parsed

11:43:20: DEBUG: printBuffer:5337 76 61 6C 75 65 20 65 78 63 65 65 64 73 20 73 69 value exceeds si

11:43:20: DEBUG: printBuffer:5337 7A 65 20 6F 66 20 70 61 72 74 69 74 69 6F 6E 20 ze of partition

11:43:20: DEBUG: printBuffer:5337 69 6E 20 73 65 63 74 6F 72 73 22 20 2F 3E 3C 2F in sectors" /></

11:43:20: DEBUG: printBuffer:5337 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 data><?xml versi

11:43:20: DEBUG: printBuffer:5337 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E on="1.0" encodin

11:43:20: DEBUG: printBuffer:5337 67 3D 22 55 54 46 2D 38 22 20 3F 3E 3C 64 61 74 g="UTF-8" ?><dat

11:43:20: DEBUG: printBuffer:5337 61 3E 3C 6C 6F 67 20 76 61 6C 75 65 3D 22 46 61 a><log value="Fa

11:43:20: DEBUG: printBuffer:5337 69 6C 65 64 20 74 6F 20 70 61 72 73 65 20 73 74 iled to parse st

11:43:20: DEBUG: printBuffer:5337 61 72 74 20 73 65 63 74 6F 72 22 20 2F 3E 3C 2F art sector" /></

11:43:20: DEBUG: printBuffer:5337 64 61 74 61 3E 3C 3F 78 6D 6C 20 76 65 72 73 69 data><?xml versi

11:43:20: DEBUG: printBuffer:5337 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E on="1.0" encodin

11:43:20: DEBUG: printBuffer:5337 67 3D 22 55 54 46 2D 38 22 20 3F 3E 3C 64 61 74 g="UTF-8" ?><dat

11:43:20: DEBUG: printBuffer:5337 61 3E 3C 72 65 73 70 6F 6E 73 65 20 76 61 6C 75 a><response valu

11:43:20: DEBUG: printBuffer:5337 65 3D 22 4E 41 4B 22 20 2F 3E 3C 2F 64 61 74 61 e="NAK" /></data

11:43:20: DEBUG: printBuffer:5337 3E >

11:43:20: DEBUG: printBuffer:5350

11:43:20: DEBUG: XML FILE (117 bytes): CharsInBuffer=289-117=172

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?><data><log value="Parsed value exceeds size of partition in sectors" /></data>

-------------------------------------------------------------------------------------------

11:43:20: INFO: TARGET SAID: 'Parsed value exceeds size of partition in sectors'

11:43:20: DEBUG: XML FILE (96 bytes): CharsInBuffer=172-96=76

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?><data><log value="Failed to parse start sector" /></data>

-------------------------------------------------------------------------------------------

11:43:20: INFO: TARGET SAID: 'Failed to parse start sector'

11:43:20: DEBUG: XML FILE (76 bytes): CharsInBuffer=76-76=0

-------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" /></data>

-------------------------------------------------------------------------------------------

11:43:20: DEBUG: Response was 'NAK'

_____

| ___|

| |__ _ __ _ __ ___ _ __

| __| '__| '__/ _ \| '__|

| |__| | | | | (_) | |

\____/_| |_| \___/|_|