Skip to content

Instantly share code, notes, and snippets.

@IngCr3at1on
Created October 12, 2013 07:13
Show Gist options
  • Save IngCr3at1on/6946852 to your computer and use it in GitHub Desktop.
Save IngCr3at1on/6946852 to your computer and use it in GitHub Desktop.
nandroid_backup backup custpack
# Put this after quick fixes.
ifdef RECOVERY_DEVICE_USES_CUSTPACK
LOCAL_CFLAGS += -DRECOVERY_DEVICE_USES_CUSTPACK=true
endif
# Right down at the end with the other COTR rules.
RECOVERY_DEVICE_USES_CUSTPACK := true
// 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