Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
A
android
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 773
    • Issues 773
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • LineageOS
  • issues
  • android
  • Issues
  • #2657

Closed
Open
Opened Oct 16, 2020 by Thorian93@thorian93🐧

LineageOS Install via ADB sideload fails on gts210vewifi with Error 7 (mkdir "/cache/recovery/<UUID>/" failed: No such file or directory)

Expected Behavior

The .zip file should be installed via ADB without a problem.

Current Behavior

The installation fails with error code 7 and the following message: mkdir "/cache/recovery/<UUID>/" failed: No such file or directory.

Possible Solution

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.

In short:

  1. Download official build (lineage-16.0-20201010-nightly-gts210vewifi-signed.zip in my case)
  2. Start ADB sideload installation
  3. 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.

Edited Oct 16, 2020 by Thorian93
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: LineageOS/issues/android#2657