#Android Backup Do Not Disturb Settings #file is /data/system/notification_policy.xml #As root on phone cp /data/system/notification_policy.xml /sdcard/Download/ #on desktop adb pull /sdcard/Download/notification_policy.xml #plug in new phone and push adb push notification_policy.xml /sdcard/Download/ #on phone as root cp /sdcard/Download/notification_policy.xml /data/system/notification_policy.xml ##extra## #to edit 'xml' file #on phone cd /sdcard/Download abx2xml -i notification_policy.xml #exit file and convert back xml2abx -i notification_policy.xml