common: fix storage permissions and add NFC support