[Guide] How to fix the camera bug

Discussion in 'iPhone Tips, Help and Troubleshooting' started by Mannyak, Jul 3, 2009.

  1. Mannyak macrumors newbie

    Joined:
    Mar 8, 2009
    #1
    All the solutions I've found on the internet about this bug where the camera won't save pictures anymore require completely restoring your iphone from scratch. Of course, most of those people didn't have their phone jailbroken so there isn't any other way for them. I was just determined enough not to go through a full restore to do this so I dug through the system to find the cause.


    This solution will fix these symptoms:

    - The Camera app (or a replacement) works like normal, but the pictures don't appear in the camera roll.

    - The previews of pictures in the camera roll are completely black, but when you open them up you see them properly.

    - You've tried restoring your phone, and the camera works fine only on a clean install. Once iTunes restores your settings the apps are broken again.


    Note: Your phone must be jailbroken to perform this.

    1. If you have any pictures you need to copy off of your phone, do it now without using iTunes.
    2. SSH into your phone and go to the folder: /private/var/mobile/Media
    3. Set the permissions of the DCIM folder to chmod 0777 (read, write, execute for all users), and make sure to apply permissions recursively.
    4. Delete everything in that folder (should be .MISC and 100APPLE).
    5. If you have ever synced your images through iTunes, go to the folder that they are saved in and delete the folder called iPod Photo Cache, then move any pictures there to a different location for now.
    6. Restart your iPhone.
    7. Sync your photos with iTunes (there shouldn't be anything there to sync, but do it anyway).
    8. Go to the Camera app and take a picture. It should show up properly in the camera roll. If not, delete it and restart the phone one last time - the system may have to reload the new cache that was generated.

    At this point the camera and photo album should work properly again, and syncing with iTunes will be safe.

    The problem seems to stem from the DCIM folder permissions, which at some point prevents the camera from writing pictures to it. And once the camera takes a picture that it can't save, the entire image cache gets screwed up and no longer works properly. So going through these steps clears everything. It also should ensure that everything works at least until you restore/update the firmware (at which point the DCIM folder's permissions get changed back to default). But I can't make any promises other than the fact that these steps have fixed my phone, and if you have the same bug it should fix yours as well.
     
  2. catwalk macrumors newbie

    Joined:
    Aug 5, 2008
    #2
    Another optoins to fix cameraroll black icon without jailbreak.

    iPhone 3.0 came with new file structure; When upgraded to 3.0 somehow some iPhone didn't get converted to a new structure properly. The easiest ways to fix this just use windows software called "uTunePhotos". After install and run the program;Go to tab "Note/Troubleshooting" then click button "Fix camera roll black icon". Below is the download link.

    http://www.mangaware.com/Download/uTunePhotos/uTunePhotosSetup.zip
     
  3. nmathews macrumors newbie

    Joined:
    Nov 19, 2009
    #3
    SSH Worked perfectly

    My photos were seen black in the preview and then showed up in the close up, last time i tried this i didnt delete those files and now it perfect. thx Mannyak
     
  4. Iphonr macrumors newbie

    Joined:
    Jan 15, 2010
    #4
    Hey man, i came across this forum, and this post while i was looking for a solution for the problem with the camera roll where it shows up as a thumbnail before i open the camera roll folder, but the pic doesnt show, it only shows the pics i took before this problem occured.

    My question to you is what does "SSH into your phone" mean, im not gonna lie, im not the best person when it comes to technology but im not horrible, so can u tell me what that means so i can try this method

    yes my iphone is jailbroken

    and also, im using a pc, does that matter with the SSH thing? Please help me out because i HATE this problem

    thanks
     
  5. Jrodnick macrumors newbie

    Joined:
    Jan 23, 2010
    #5
    I am have the same problem that the last guy who posted has !!! Has anyone found a fix that us guys that aren't iPhone geeks can do !? :)
     

Share This Page