mkdir '/cache/recovery': Required key not available
-
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) -
@reynald Same problem after wiping user data from recovery mode.
-
@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) -
@alter Maybe, but... I tried installer 0.9.1 because installer 0.8.9 has downloading issues...
-
@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.
-
@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!
-
@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!
-
@Reynald please try wiping data and cache with twrp recovery first...
-
Reinstalling older 0.8.9 installer fixed the flashing bug.
UTouch finally installed on my OnePlus!!! (one month battle...) -
@reynald : Congratulations! Hope you will be as pleased with the system as I am

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