Revert "Recovery: swap XY on swipe controls"

This reverts commit 710e676cf6a11fcd006865408fd6436a45176165.
Revert "dedupe: backup & restore selinux contexts."

This reverts commit 8125160280c83ab2341a31149508bdc345acc61a.
Revert "Keep 'show log' on screen until user dismisses it"

This reverts commit 4defa49bb6de39b18d6eca214b812892d7a33f26.
Revert "cwm: Honor recovery variant"

This reverts commit c90d6bf9755346703c627c4c9fcdb2607fc8057e.
Revert "cwm: Remove hardcoded paths"

This reverts commit 464ad7963879fe8042fd7b6650b898838bc33dc5.
Revert "Fix verify_root_and_recovery menu selections"

This reverts commit 9c33093f07add0c542887aa988610f43225f42bc.
Revert "shell pipe: set exit code to error if any pipe element fails"

This reverts commit 1729082af3443941797f889089a894fd3710f68a.
Revert "Prohibit mounting/formatting swap partitions in recovery"

This reverts commit eafed2bf5e8bcbd94fbb32af50983caac3ab6e8b.
create /data/media directory after internal storage is wiped

This will prevent denial to read/write from internal storage under some circumstances

Change-Id: I10ee3dcdbe4ce7063f534f59a5e09c2ec33c1b7a