Created
October 12, 2013 07:13
-
-
Save IngCr3at1on/6946852 to your computer and use it in GitHub Desktop.
nandroid_backup backup custpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this after quick fixes. | |
ifdef RECOVERY_DEVICE_USES_CUSTPACK | |
LOCAL_CFLAGS += -DRECOVERY_DEVICE_USES_CUSTPACK=true | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Right down at the end with the other COTR rules. | |
RECOVERY_DEVICE_USES_CUSTPACK := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Drop this into nandroid.c in the nandroid_backup method just after system. | |
#ifdef RECOVERY_DEVICE_USES_CUSTPACK | |
if (0 != (ret = nandroid_backup_partition(backup_path, "/custpack"))) | |
return ret; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment