<commit_before>#Prefman tool

Samsung includes very powerful tool named **prefman** with modern NX cameras (/usr/bin/prefman). This tool enables a variety of operations to be performed on camera settings. There is also a **prefman.sh** script (/usr/bin/prefman.sh) that automates full dumps/restores.

Example output of prefman.sh
```
[root@drime5 ~]# prefman.sh 
+ IMG_PATH=/opt/pref
+ PREF_DEFAULT=/pref.bin
+ PREF_DEFAULT_APP=/pref_app.bin
+ PREF_DEFAULT_APP_RESTORE=/pref_app_restore.bin
+ PREF_DEFAULT_LINE=/pref_line.bin
+ PREF_DEFAULT_SYSRW=/pref_sysrw.bin
+ PREF_DEFAULT_SYS=/pref_adj_sys.bin
+ PREF_DEFAULT_CAP=/pref_adj_cap.bin<commit_msg>Added note related to NX1<commit_after>#Prefman tool

Samsung includes very powerful tool named **prefman** with modern NX cameras (/usr/bin/prefman). This tool enables a variety of operations to be performed on camera settings. There is also a **prefman.sh** script (/usr/bin/prefman.sh) that automates full dumps/restores.

**Note: NX1 has slightly different layout of IDs - for example SYSRW is 4, not 3 as in these NX500 examples**

Example output of prefman.sh
```
[root@drime5 ~]# prefman.sh 
+ IMG_PATH=/opt/pref
+ PREF_DEFAULT=/pref.bin
+ PREF_DEFAULT_APP=/pref_app.bin
+ PREF_DEFAULT_APP_RESTORE=/pref_app_restore.bin
+ PREF_DEFAULT_LINE=/pref_line.bin
+ PREF_DEFAULT_SYSRW=/pref_sysrw.bin
+ PREF_DEFAULT_SYS=/pref_adj_sys.bin
+ PREF_DEFAULT_CAP=/pref_adj_cap.bin
{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.0063335679099225895, 'mean_word_length': 5.583333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1250771', 'n_tokens_mistral': 521, 'n_tokens_neox': 493, 'n_words': 127}