@ngrioli Your device is missing (has disabled/deactivated/removed) critical system component. Basically, this is like windows Open File dialog and it's missing from your device. This is why folders can't be selected and appropriate permission can't be given by Android to app.
All stock OTA ROMs contain this component/system app and have it enabled by default. Otherwise ROM can't pass Google test suite and the ROM is not considered Android compatible.
Still it's possible to have: