cwm: Remove hardcoded paths

Change-Id: I1874f0bbbaa81e0eea507e9d9444307191eeb753
cwm: Honor recovery variant

Change-Id: I7fd28c162ea711cecb3ef75db6a1cb5cbcef453a
Keep 'show log' on screen until user dismisses it

Also increase log output to 24 lines

Change-Id: I11381e347c2238f2058ea97f9143476ec3a80cf6
dedupe: backup & restore selinux contexts.

- patch set 2: remove the comment line, adjust freecon.

Change-Id: Ib691146f5e4d33014aac2b540aefc06657818eb4
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
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
format non vold extra storage to ext4 when no selinux context is defined

Change-Id: I810d071c53d570ff0c53ea3a69e4225b4df81db1
Merge branch 'xiaolu' into cm-11.0

Change-Id: Id16f584ff59c15e86a8c1547bf5121c20172707e
Default define "BOARD_RECOVERY_USE_BBTAR := true"
selinux applets in libbusybox, libbusybox tar for selinux contexts backup & restore.
https://github.com/xiaolu/android_external_busybox.

Change-Id: I35f3f2c4e562a75e975417d003f662e374bd36f5
Supersu 1.97

Change-Id: I56851d5ba83850af9fc928dd8bb93f9da289abe3
UPDATE-SuperSU-v1.99

Change-Id: I44b790aa6c521a5729c8d4c033c5d7c958b0be55
UPDATE-SuperSU-v1.99.zip

Change-Id: I6745392f3eb5998a0987d4b17a1b9d3ca1833e9c
default to busybox tar:
- use busybox tar by default as it now supports selinux context backup/restore
- unify libtar and busybox tar options (-p for selinux context)

Change-Id: I2222f6814fb08d1216dcf346f88dc6143e87fb11
Cleanup code.
(backup selabel, restorecon recursive, etc.)

Change-Id: Icdb5df356d423a70aef3798d7bd70120ccda8bec
fix recursive path creation bug for /data/media/0

Change-Id: I36a6a6ddac06cca4a0388959a70528f9b6e67cd5
fix null struct exception

Change-Id: Ie160465169a97b3fe3901076993605f57fbe41a7
do not include dead code

This code has not been used for over 3yrs. Developers interested in its
origins, reference commit 4196e0fa5e0c6b2a27ee5626f4cfa22375ac6ea1 .

Change-Id: I588fa2fe4b92fa1508699a904d2be18b83b471c6
cleanup unused code

reset_ext4fs_info() is always called by make_ext4fs()

Change-Id: I48e75a7c55d21e4386bffa15d81aaeb702477df7
fix null struct exception

Change-Id: I9bf32849598c0725e2ce9a8a441bc41c6119c2bf
cleanup preserve data/media workaround

Change-Id: I634c9229368c6c8ea20cafb47c8c0403cae2be6c