Is your power is out, your phone will be good for only a few hours of Angry Birds. You'll have to MacGyver a solution. The King of Random developed this tool to do the job. That's a salad fork threaded into a mixing beater inserted into a cordless drill. Connect your phone's charging cable to the battery terminals inside the drill. Then start turning the fork.
It may take a while. Suggestion: livetweet the experience to relieve your boredom.
That sounds like a fun DIY experiment, Plasmagryphon!
A generator is basically a spinning coil in a magnetic field, so that the amount of the magnetic field going through the coil changes with time, ultimately driving a current. A motor does the opposite, using the a current to force the loop to change its position in the magnetic field. Hence, in either case an external magnetic field is needed. For motors, you have the added option of using the incoming electric current to make an electromagnet to create that field. So when the current goes away, there is no field. If you try turning the rotor, without a field, it won't do anything and can't make a generator out of it...
However, in the real world, usually turning the current off leaves a residual magnetic field because of the iron used. This is enough to jump start the process in some generators (others use a battery to help provide an initial field, or use permanent magnets). So you can get it to act like a generator a bit, but depending on how it is wired, and what is connected to, it may produce far less power than a purpose built generator. Universal motors for example, could be particular bad depending on what you hook it up to, as field coils are in series connection, so whatever current is flowing out would be the current to run that needed electromagnet. If the output draws not much current, then the generator would be rather inefficient compared so something that uses the same amount of current as the drill does when running.
tl; dr: That kind of motor makes a really inefficient generator. I would almost be curious if it would be easier to assemble a more efficient one yourself from wire, scraps of metal and permanent magnets for the same amount of effort used here.
I have tried this sort of thing in the past and have ruined a few items with DC motors in the process.