Well, the question would still be: how to do the actual backup, then?
But I seem to have found a solution. Did the backup of /data via USB ("adb backup -f <filename> --twrp data") while the phone was in TWRP, wiped system, data, and caches, did a clean install of v4, and then restored /data via...