How to recover from “E: Error parsing XML file” in TWRP

I recently ran into the above error after attempting to encrypt my Verizon Samsung SM-G900V (Galaxy S5, klte) running LOS 14.1 (that was a mistake.) Basically it means TWRP can’t successfully decrypt the filesystem.

When this happens, your best bet is to simply factory reset the device and restore a backup. To do this, simply tap Cancel at the decryption password prompt in TWRP, then factory reset via the Wipe menu as usual.

Unfortunately, this will totally negate whatever encryption you had – aside from adopted storage – but it should get return your device to a usable state.

Author: jdrch

ISTJ, Rice Owl, UF Gator, mechanical engineer. STEM, sports, music, movies, humor. Account mine only & unaffiliated.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s