Legend Of Zelda: Ocarina Of Time - Master Quest Cheats :
ChEst already opened!
Go to the Spirit Temple as adult Link. Open one of the chests in the entrance hall. Then go to the temple of time and return to Young Link. Return to the spirit temple and enter it. The chest has still been opened although you never opened it until 7 years later in the game.