LineageOS Install via ADB sideload fails on gts210vewifi with Error 7 (mkdir "/cache/recovery/<UUID>/" failed: No such file or directory)
The .zip file should be installed via ADB without a problem.
The installation fails with error code 7 and the following message:
mkdir "/cache/recovery/<UUID>/" failed: No such file or directory.
I do not know how this installation works in detail, but manually running
mkdir /cache/recovery/ from TWRP terminal prior to sideload install fixes the issue for me.
Steps to Reproduce
This Stackexchange post describes the problem in detail although for another model and an inofficial build.
- Download official build (
lineage-16.0-20201010-nightly-gts210vewifi-signed.zipin my case)
- Start ADB sideload installation
- See the error below (I copied the output from the post before, mine is just slightly different, but I used the official build mentioned above).
Installing zip file '/sdcard/lineage-16-20200104-UNOFFICIAL-n7100.zip' Checking for Digest file... Unmounting System... Warning: No file_contexts Target: samsung/t03gxx/t03g:4.3/JSS15J/N71000XXUEMK4:user/release-keys detected filesystem ext4 for /dev/block/mmcblk0p13 Patching system image unconditionally... mkdir "/cache/recovery/8833b259bb088b2e13f62771d46006a40f54bc20/" failed: No such file or directory E1001: Failed to update system image. Updater process ended with ERROR: 7 Error installing zip file '/sdcard/lineage-16-20200104-UNOFFICIAL-n7100.zip' Updating partition details... ...done
/device gts210vewifi /version lineage-16.0 /date 2020-10-16 /kernel default /baseband /mods none
I have read the directions.