E1001: Failed to update system image.error: 1001
I had this error, and followed this guide, and then encountered a new error (well, two, actually). Below are the steps I followed to resolve them.
I was getting this error because I zipped the
folder that was created when I unzipped the file. So, if I opened my newly-created zip file, the first thing I saw was a folder named "lineage-16.0-20200705-nightly-kltedv-signed" inside it, instead of the folders "install", "META-INF", "system", etc.
The "install", "META-INF", "system", etc. folders should be at the
top level of the zip file.
I recreated the zip file by selecting all the files inside the "lineage-16.0-20200705-nightly-kltedv-signed" folder, rather than zipping the folder itself. This fixed the issue, getting me to the
second error:
Code:
creating stash /cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d/
script aborted: mkdir "/cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d/" failed: No such file or directory
E1001: Failed to update system image.
mkdir "/cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d/" failed: No such file or directory
E1001: Failed to update system image.error: 1001
cause: 101
[B][COLOR="Red"]Updater process ended with signal: 11
Error installing zip file '/external_sd/lineage-16.0-20200705-nightly-kltedv-signed.zip'[/COLOR][/B]
I was able to fix this issue by formatting the Data partition.
Although I had already done a wipe of the System, Dalvik, and Cache, I hadn't wiped the Data partition.
You can do this by selecting
Wipe > Format Data and then typing "
yes" to confirm.
Once the internal memory had been formatted, I was able to successfully install the new ROM.
Note: Doing this will wipe your files and data from the phone! Make sure you have a backup, first!