I want to make sure that using adb backup -apk -shared -all -f ~/backup.ab will also save /data/misc/vold?

I am trying to backup before rooting, in order to be able to gain access to the encryption key in /data/misc/vold (got corrupted SD card adopted as internal). So I want to make sure ih something bad happens during the rooting, I could still access the backup version of /data/misc/vold?


  • It doesn't get backed up. For verification you can backup with that command, unpack the backup file and see the contents yourself.
    – Firelord
    Sep 29 '19 at 23:41
  • Mmh, does not seem trivial to verify that by unpacking. Would that work anyway if I encrypted the system? More importantly, is there then a way to back up also /data/misc/vold ? Thanks!!
    – Matifou
    Sep 30 '19 at 1:46
  • Try this to unpack the backup file. As for vold, it can only be backed up using root access.
    – Firelord
    Sep 30 '19 at 2:23
  • thanks! So you are saying that it is not possible to backup vold without being root? This is a conundrum, as I am precisely trying to root to access vold, and the process of rooting is likely to erase that file
    – Matifou
    Oct 3 '19 at 16:48
  • Unfortunately, this is just not possible without root. :(
    – Firelord
    Oct 3 '19 at 18:41

My solution to Matifow problem was ...

I cannot extract the token because my device was not rooted.

I bought a new microSD and clone in it the microSD from my device.


When i put this new card the phone recognize as the old one.

I recover photos, media from whatsapp, apps installed ...

I lost some files ( the corrupted I assume) but can recover the most.

  • nice idea! in case dd not working use gddrescue for cloning
    – alecxs
    Feb 7 '20 at 6:17

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.