I must have spent 2x 8 hour nights on this. It was not quite the solutions found at
-
Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com
-
http://modmyi.com/forums/iphone-ipod...humbnails.html
It ended up being that the following dir hierarchy and files are needed:
Code:
- /DCIM
- /.MISC
- Info.plist
- /100APPLE
- /.MISC
- .BTH and .THM thumbnail files for each photo
- .JPG files
Just as important, and not spelt out anywher:
ALL FILES AND FOLDERS NEED TO BE OWNED BY 'mobile' USER
Ex:
Code:
Nicks-iPhone:~/Media/DCIM mobile$ ls -la
total 0
drwxr-xr-x 4 mobile mobile 136 Aug 27 02:35 ./
drwxr-xr-x 11 mobile mobile 476 Oct 30 18:40 ../
drwxr-xr-x 2 mobile mobile 170 Nov 12 00:36 .MISC/
drwxr-xr-x 3 mobile mobile 6018 Nov 12 00:41 100APPLE/
Nicks-iPhone:~/Media/DCIM/100APPLE mobile$ ls -la
total 77892
drwxr-xr-x 3 mobile mobile 6018 Nov 12 00:41 ./
drwxr-xr-x 4 mobile mobile 136 Aug 27 02:35 ../
drwxr-xr-x 2 mobile mobile 11900 Nov 12 00:41 .MISC/
-rw-r--r-- 1 mobile mobile 72622 Mar 13 2009 IMG_0001.JPG
-rw-r--r-- 1 mobile mobile 2400229 Mar 15 2009 IMG_0002.JPG
-rw-r--r-- 1 mobile mobile 119552 Mar 19 2009 IMG_0003.JPG
Use chown as root user, to fix if they are wrong:
Code:
chown -v mobile 100APPLE/
chown -v mobile *
Also, you have to verify that the Info.plist file has the correct # in the XML. If your jpg files goes up to IMG_0103.JPG, you need to reflect this as so in that file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LastFileGroupNumber-100</key>
<integer>103</integer>
</dict>
</plist>
The jpg files that had the root ownerships, were during a certain date range. I think it coincided with my use of the jailbroke-only picture program "Snapture". Maybe the combo of snapture and 3.0 upgrade does it?
Some Erroneous advice from prior posts
Seriously great work on here guys. Couldnt have done without u. Some things I noticed that were wrong:
Quote:
Originally Posted by theNrg
C. Set user permissions on folder /private/var/mobile/Media/DCIM to 755, while selecting the option "Set group, owner and permissions recursively" (so the permissions will be set for all folders under DCIM)
|
Not the best way to do this. See below listing of my solutions.
644 are the normal permissions that seem to be (read write for owner, read for group, read for everyone).
Wrong permissions are 755 (read write execute for owner, read execute for group, read execute for everyone), which opens up security holes. Something can now write and run a virus executable to those directories. Though doubtful, its not safe.
Be careful of security settings you dont know what they mean.
Quote:
Originally Posted by alquse
F. If some pictures doesn't show up try counting them and then open the file Info.plist located in the new /private/var/mobile/Media/DCIM/.MISC
The file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LastFileGroupNumber-100</key>
<integer>5</integer>
</dict>
</plist>
and then change the number in between the integer (in this case 5) for the number of your photos plus one (if you going to put 5 pics then change it to 6, if you going to do 10 pics then change it to 11 etc.) always is batter to have that number a little higher than the number of your pics because if is less some pics doesn't show up
|
WRONG, please see listing of solutions below. You do not count the number of files. You use the last file name-number.
-Nick Yeates-
Homepage [Nick Yeates -dot- com]