UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    mkdir '/cache/recovery': Required key not available

    Scheduled Pinned Locked Moved UBports Installer
    10 Posts 3 Posters 3.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • R Offline
        Reynald
        last edited by

        Ubports installer error on OnePlus 6 :

        info: Welcome to the UBports Installer version 0.9.1-beta!
        [13152:1013/160212.256937:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
        info: device detected: enchilada
        info: Installing Ubuntu Touch on your OnePlus 6/6T (enchilada)
        info: configuring...
        info: settings: {"bootstrap":true,"wipe":"","channel":"16.04/arm64/android9/stable"}
        info: Downloading 9 files
        info: Downloaded file 1 of 9
        info: Downloaded file 2 of 9
        info: Downloaded file 3 of 9
        info: Downloaded file 4 of 9
        info: Downloaded file 5 of 9
        info: Downloaded file 6 of 9
        info: Downloaded file 7 of 9
        info: Downloaded file 8 of 9
        info: Downloaded file 9 of 9
        error: Error: adb:preparesystemimage: Error: {"error":{"code":1,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"mkdir: '/cache/recovery': Required key not available"}
        stack trace: Error: {"error":{"code":1,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"mkdir: '/cache/recovery': Required key not available"}
            at /opt/ubports-installer/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:117:20
            at ChildProcess.exithandler (node:child_process:413:5)
            at ChildProcess.emit (node:events:394:28)
            at maybeClose (node:internal/child_process:1067:16)
            at Socket.<anonymous> (node:internal/child_process:453:11)
            at Socket.emit (node:events:394:28)
            at Pipe.<anonymous> (node:net:672:12)
        
        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Reynald @Reynald
          last edited by

          @reynald Same problem after wiping user data from recovery mode.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            Alter @Reynald
            last edited by Alter

            @reynald : Installer version 0.9.1 has issues. Just try an older version. Will put link here wait a sec
            EDIT: here > https://github.com/ubports/ubports-installer/releases (scroll down on that page for older versions and all their package types, I've just read that 0.8.8 and 0.8.9 work best apparently)

            Regular user, UT since 2020, Now: Volla Phone (20.04 Stable)

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Reynald @Alter
              last edited by Reynald

              @alter Maybe, but... I tried installer 0.9.1 because installer 0.8.9 has downloading issues...

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Alter @Reynald
                last edited by Alter

                @reynald : I have a Volla Phone and in my case I also saw a download error. The installer could not get the .zip from Volla website. I used a browser for that. The installer had created .cache/ubports on my Ubuntu desktop PC. In the contents in a subfolder of that was a .zip which was 0 bytes. Replaced it with the full zip. Then opened installer and could install from there. Maybe works for you.

                Regular user, UT since 2020, Now: Volla Phone (20.04 Stable)

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  Reynald @Alter
                  last edited by

                  @alter Well... I start thinking a manual install script based on curl, fastboot and adb would be more usable than circumventing so many ubports-installer bugs!

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Alter @Reynald
                    last edited by

                    @reynald : I don't know any scripting, so for me the installer is still helpful. My first install of Ubuntu Touch on Nexus 5 went smooth as silk. The install on Volla Phone was different, but succeeded in the end, without needing scripting knowledge. I only downloaded that .zip manually and placed it in the right folder. I can understand your frustration at this point, but don't give up and try again! Good luck!

                    Regular user, UT since 2020, Now: Volla Phone (20.04 Stable)

                    1 Reply Last reply Reply Quote 0
                    • LuksusL Offline
                      Luksus
                      last edited by

                      @Reynald please try wiping data and cache with twrp recovery first...

                      Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Reynald
                        last edited by

                        Reinstalling older 0.8.9 installer fixed the flashing bug.
                        UTouch finally installed on my OnePlus!!! (one month battle...)

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Alter @Reynald
                          last edited by

                          @reynald : Congratulations! Hope you will be as pleased with the system as I am 🙂

                          Regular user, UT since 2020, Now: Volla Phone (20.04 Stable)

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post