I recently rooted my nexus 5 phone and lost all of my photos :( I was wondering what rooting actually does. Is it like formatting the disk and updating file tables or is it like deleting all the sectors? In the former case is it possible to recover my photos?
I used chainfire for rooting the phone. For that, I turned off the phone and turned it on while pressing +- volume buttons. Then I ran the script contained in http://download.chainfire.eu/363/CF-Root/CF-Auto-Root/CF-Auto-Root-hammerhead-hammerhead-nexus5.zip Later I realized that all of my apps, photos, etc are gone. I don't care about the apps because they were automatically installed after setup. Just need to recover my photos.