I took a photosphere earlier today, and went to the gallery to wait for it to render. While it was rendering, I switched from landscape to portrait and the gallery app crashed. I'm now left with the pre-rendered, non-stitched images.

Is there any way to force the gallery to re-render the photosphere? Or do I just have to re-take it?

3 Answers 3


Not a full answer (came here looking for an answer myself), but here are a couple of partial solutions I figured out so far, perhaps someone else can improve upon these.

  1. First of all, temporary files for the last few photosphere sessions can be found under /sdcard/Android/data/com.google.android.gallery3d/files/panorama_sessions/. You can extract these out and use an external program such as hugin to stich them. I tried this on a couple of photospheres and though they didn't come out great, I have at least something instead of nothing. I kept the files around and looking around for a good guide on using Hugin.
  2. I was able to trick photo app to reprocess them, but it didn't produce desirable result. This is what I did:
    • I connected the phone to my laptop and went into the directory where the session files are (via adb shell).
    • I identified the directory for my previous session
    • While the camera is still connected to the laptop, I started taking a new photosphere, took a couple of snaps
    • Identified the directory for the new session
    • Copied all files from old session directory to the new session directory
    • Ended the photosphere to trigger a processing.

The photo app did process the old images, but it doesn't reread the session.meta and orientations.txt and instead uses the data from the new session (must be cached in memory). The result is that you don't get a full photosphere, unless you complete the photosphere in the new session also, which I don't mind doing in the interest of saving the photosphere, except that I realized I had to capture the new photosphere in exactly the same sequence as before or the resultant image will all be out of place as it would be stiched in the wrong order.

Ideally, if there is a hidden task in the photo app to invoke the rendering, we should be able to trigger it on the old sessions folder, but I don't know where to begin.

  • The correct path to find the photos is in current Android 7.x versions /storage/emulated/0/Android/data/com.google.android.GoogleCamera/cache/panorama_sessions/ as told in Zak's answer. Otherwise very useful answer!
    – tanius
    Jan 13, 2018 at 1:15
  • For me, it was in /sdcard/Android/data/com.google.android.GoogleCamera/files/panorama_sessions Sep 16, 2018 at 12:25

To recover from a crash during a panorama stitch I did this:

Use a file explorer on Android to copy the folder containing the unstitched files from the cache: /storage/emulated/0/Android/data/com.google.android.GoogleCamera/cache/panorama_sessions/ to the pictures folder and back them up with Google photos. I recieved a notification the next day that photos had stitched my panorama.


No, there is no way to rerender a photosphere. It loses the original data after rendering. Even after crashes.

  • Thanks for the answer. This was pretty much what I expected, I just wanted to make sure I wasn't missing something somewhere. Aug 9, 2013 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .