I have a OnePlus 6 device, with which I was using LineageOS for a while. I reinstalled OxygenOS 9, by doing the following:

  • In LineageOS recovery, sideloaded TWRP (I couldn't sideload OxygenOS, because verification failed)
  • In TWRP, installed OxygenOS
  • In OxygenOS recovery, wiped system and cache

OxygenOS runs, but I cannot access /sdcard. I can access OxygenOS via adb, but I'm unable to sideload anything - trying to do so generates "error: closed".

Is there any way to regain access to /sdcard (preferably, without deleting the data that's on it)?

  • Load TWRP and copy off any important data if possible, you will need to wipe data as well (ie. wipe the SD card). Sorry, but you don't have much choice here. In modern Android devices the internal volume is encrypted, you changed the OS, now the encryption key is lost. You need to start clean. – acejavelin Oct 13 '19 at 16:34
  • 1
    @acejavelin from the description, OP made a "dirty flash" (only wiping system and cache). Encryption keys shouldn't reside in either of the two, so why should they be lost? Apart from that: it would help to have a logcat snippet with what happens on mount/access of the sdcard (should be the internal one, from the location given). – Izzy Oct 13 '19 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.