Well, i'm no expert, but if i were you I'd keep him in the dark as if he emerges and iots light he is likely to try and dig into the oasis and make a mess. He will spend four or five weeks as a pupa 9ithink) then once emerged he will sit around for a week or two then he will eat. I would let him rest for a week once he has emerged them put him in a container he can dig down into , put a piece of banana on top for him and he will find it. When he finds it you'll know.
Once he emerges take a close up and we can guess the species. If he is a xylo pubescns theres a good chance i might have a lady available for him...