• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Pictures dissappear after Nandroid restore

Imran jan

Newbie
Dec 21, 2014
14
0
Hi so basically Ive encountered this weird problem. I restored a Nandroid backup after my phone was wiped, and when I open my gallery all the pictures are there. However within 30seconds they begin to just dissappear in front of my eyes till im down to 27pictures. Can anyone help me with this?!! Is there a way I can my pics from the backup or solve this problem?!

Thanks in advance :)
 
Yeah, three things just to be sure.

First after any nandroid restore or new flash, go to TWRP, Wipe, Advanced and wipe cache and Dalvik.

If that doesn't fix it, your media database is confused. It's neither rare nor common, just happens sometimes - even if you're not rooted.

To fix, go to main settings, Apps, All and find Media Storage - you should have maybe a few tens of MB of data. Clear cache and data, reboot phone and leave it alone for fifteen to twenty minutes - that database will rebuild itself in its own time.

You will have to probably reset your ringtone preferences, alarms and so forth.

If it's still broken (and give it time to be sure) copy off all of your personal music files and then delete them. Add them back one at a time.

Amazingly, this is rare but known - an mp3 file gets corrupted (no one I know has figured out how) and it plays heck with all media handling and file storage.

I suppose in theory that any file could get corrupted but I've only seen it with music files, usually mp3 files.

Hope this helps!
 
Last edited:
Upvote 0
Yeah, three things just to be sure.

First after any nandroid restore or new flash, go to TWRP, Wipe, Advanced and wipe cache and Dalvik.

If that doesn't fix it, your media database is confused. It's neither rare nor common, just happens sometimes - even if you're not rooted.

To fix, go to main settings, Apps, All and find Media Storage - you should have maybe a few tens of MB of data. Clear cache and data, reboot phone and leave it alone for fifteen to twenty minutes - that database will rebuild itself in its own time.

You will have to probably reset your ringtone preferences, alarms and so forth.

If it's still broken (and give it time to be sure) copy off all of your personal music files and then delete them. Add them back one at a time.

Amazingly, this is rare but known - an mp3 file gets corrupted (no one I know has figured out how) and it plays heck with all media handling and file storage.

I suppose in theory that any file could get corrupted but I've only seen it with music files, usually mp3 files.

Hope this helps!


Thanks for the reply! So my music files are interfering with all media incl my pictures. Damn. Would this still be the case, becausd my Music is saved on my external sd and not internally? So it would be untouched by the Nandroid no? Sorry im just trying to understand whats going on, im not trying to be a nuisance!
 
Last edited by a moderator:
Upvote 0
As I said - that being caused by a corrupt file can happen to anyone - root and therefore nandroid actions - have nothing to do with it.

And that's the last possibility I can think of. So that might be it, not, it is it.

The first two - clearing cache and Dalvik, and checking - if not it, clearing Media Storage and checking - have you done those yet?
 
Upvote 0
As I said - that being caused by a corrupt file can happen to anyone - root and therefore nandroid actions - have nothing to do with it.

And that's the last possibility I can think of. So that might be it, not, it is it.

The first two - clearing cache and Dalvik, and checking - if not it, clearing Media Storage and checking - have you done those yet?



Ahh ok thanks. Yeah ive done both the clear cache and Dalvik, and ive done the media storage methods both times ive ended up with same result. The pictures load up in the gallery and then suddenly begin to get deleted/disappear and Im left with none of them.

For the mp3 file method should I copy them all off my external sd and delete them, then try a restore of the backup or will the the deleting alone suffice?

Thanks in advance!
 
Upvote 0
Also if this method doesnt work is there a method to extract my pictures from the Nandroid backup? Then if I have them on my PC i can just transfer them over?

Also could this problem be caused by the fact I made the backup on TWRP that I had through Hasoon's toolkit, however after my phone got wiped I flash the newest version of TWRP recovery. If the toolkit has an older version and therefore so is the backup could this be a problem?


Thanks!
 
Last edited:
Upvote 0
I was using a method to try install a firmware upgrade and as part of it had to relock my bootloader which wiped my phone internally. The TWRP folder has 3 data files, a boot one and a system one.
I see - you ran an RUU I take it.

As I said in your other thread, I'm not experienced with those. I'm not sure how your nandroids survived but your pictures didn't.

Do you have just the internal sd card (actually a storage partition) or also a physical one?

Try to look for your photos from your pc as I mentioned above.

Let's start there.
 
Upvote 0
I see - you ran an RUU I take it.

As I said in your other thread, I'm not experienced with those. I'm not sure how your nandroids survived but your pictures didn't.

Do you have just the internal sd card (actually a storage partition) or also a physical one?

Try to look for your photos from your pc as I mentioned above.

Let's start there.

Yeah I did and it basically failed, I got the red exclamation mark thing, and even that when I tried flashing a stock recovery and taking OTA update. I browsed my phone and there's nothing there basically. I think the Nandroids survived because I always save them to my external sd and so they werent wiped? And I made a backup of it on my PC too before the wipe so I just restored that one after the wipe using my custom recovery.

Would the photos be extractable from the nandroid backup?
 
Upvote 0
I really doubt it - as you said, your nandroids included data, boot and system files, and those are the defaults.

You can drag and drop to backup your pictures/music - or you can use this to backup your entire sd card(s) - it will auto-sense and backup both -

http://androidforums.com/threads/a-backup-routine-for-us-all.697582/#post-6307224

Earlier in the thread is the Linux/Mac version if that helps.

When you got your M8 - did you take advantage of the Google Drive offer (I think that went out to everyone) and did you configure it to backup your pictures to the cloud?

That's the only thing I can think of that may help here.
 
Upvote 0
I really doubt it - as you said, your nandroids included data, boot and system files, and those are the defaults.

You can drag and drop to backup your pictures/music - or you can use this to backup your entire sd card(s) - it will auto-sense and backup both -

http://androidforums.com/threads/a-backup-routine-for-us-all.697582/#post-6307224

Earlier in the thread is the Linux/Mac version if that helps.

When you got your M8 - did you take advantage of the Google Drive offer (I think that went out to everyone) and did you configure it to backup your pictures to the cloud?

That's the only thing I can think of that may help here.


Ah ok damn. Thanks for the future advice, just really annoying slipped my mind to backup the data etc before nandroid backup and wipe. I took up the offer but when i looked into the backup there were only 4 photos there. Im gonna try restoring the pictures i had anyway from an older HTC Sync Manager backup. But for someone reason its not connecting. Is this from the root? Is there another software i could use but backup the data I got from sync manager, because i know the file location.

Thanks
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones