List photos including hidden

I need to be able to list all photos on a device incl. the one once flagged hidden. Doing the listing part is no problem but I could not find any method/flag in the medialibrary that let me also show the photos flagged hidden resp. being in the “hidden album”.
Any advice very much appreciated.