Problem: Bilder försvann från galleriet vid byte av rom?

Diskussion i 'Galaxy Nexus - ROM-filer och utveckling' startad av Hund, 26 okt 2012.

  1. Hund

    Hund Android Hedersmedlem

    Blev medlem:
    15 aug 2009
    Inlägg:
    5 563
    Mottagna gillanden:
    1 002
    Operatör:
    Fello
    Telefon:
    Google Pixel 3a

    MINA ENHETER

    Operatör:
    Fello
    Telefon:
    Google Pixel 3a
    ROM:
    Lineage OS
    Någon som vet varför mina tidigare bilder har försvunnit från galleriet vid byte av rom?

    Jag hade samma fenomen när jag gick från stock till AOKP och sedan upprepade historian sig när jag gick från AOKP till CyanogenMod.

    Bilderna finns kvar på minneskortet, men men dom syns inte i galleriet bara. Alla nya bilder som ligger i samma mapp visas utan problem.

    ~ Sent from my Galaxy Nexus using Tapatalk 2 ~
     
  2. Facit

    Facit Bannlyst Bannlyst

    Blev medlem:
    25 nov 2011
    Inlägg:
    1 913
    Mottagna gillanden:
    238

    MINA ENHETER

    Testa denna...

    https://play.google.com/store/apps/details?id=com.bero.sdrescan



    Eller detta....

    "This trick didn't work for me. So, I did what the system should have done with the .nomedia file present. I moved all of my photos to a hidden folder (with a . before the name) and removed the DCIM folder. Then, I looked for all instances of the .nomedia file (Root Explorer helped) and deleted them. Rebooted the phone. Started Gallery. Waited for 10 minutes. Voila! Gallery showed every little image file that was on /sdcard. To remove the files that I didn't want to see, I copied the .nomedia file from a random system folder and pasted it into all the folders that I didn't want indexed. Strangely though, moving even one of the original /sdcard/DCIM/Camera files from the hidden folder into the current Camera folder took Gallery down. Stranger that this also made the Internal Storage show a blank window when I connected the phone to my laptop. Almost positive that this has to do with JellyBean creating a /storage/sdcard0 folder that's linked to the older /sdcard folder. Looking it up and will post updates if I find any.

    Update: The same trick works for Paranoid Android's JellyBean ROMs (even the latest 2.13) for the Galaxy Nexus. Something to do with the DCIM folder and how it is handled by Media Storage. A Linux-geek friend of mine confirms this has to do with the /sdcard0 symlinking. Although, why we need something like that is beyond my limited knowledge of the OS."
     
    Last edited: 26 okt 2012
  3. Hund

    Hund Android Hedersmedlem

    Blev medlem:
    15 aug 2009
    Inlägg:
    5 563
    Mottagna gillanden:
    1 002
    Operatör:
    Fello
    Telefon:
    Google Pixel 3a

    MINA ENHETER

    Operatör:
    Fello
    Telefon:
    Google Pixel 3a
    ROM:
    Lineage OS
    Jag hade faktiskt letat efter .nomedia-filer, men jag hade tydligen missat en sådan fil när jag provade att söka efter dom. :) Nu kom mina saknade bilder tillbaka.