Page 1 of 2 12 LastLast
Results 1 to 20 of 30

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Pericam not working under 1.1.3 - HELP

  1. #1
    Default Pericam not working under 1.1.3 - HELP
    Yo guys,

    i really want this Pericam (http://www.iamas.ac.jp/~aka/iphone/#picomemo.app) app on my iphone 1.1.3. I totally followed the instructions on this page which wasn't a problem http://www.iamas.ac.jp/~aka/iphone/Pericam.html but i still get Error "Can't start interval shooting" when i press the button which should start the interval photo shoot.

    Anyone got the same problem? Maybe someone figured how to fix this?!

    Thanks in advance.

  2. #2
    Same here I can not get it running no matter what I try. It works with no problem on my 1.1.1 but on my 1.1.3 it gives the same error. I hope it gets updated to work on 1.1.3.
    Don't be shy if I helped you use the Thanks button, I do it.

  3. #3
    I had a really hard time getting this one to work as well. But I finally did it, and then I was able to make a HUGE improvement as well: I figured out how to get it to save (OK, well really to move) the pictures to the Camera Roll as well. It rocks now.

    Here's what I did:

    • Install Pericam.app, give it 777 privs recursively.

    • chmod +s /Applications/Pericam.app/Pericam

    • Install /usr/bin/reduceJPG with 777 privs

    • Install /var/root/bin/picSnap with 777 privs

    • CRITICAL STEP: Manually create a folder called PERICAM here:
    /var/mobile/Media/DCIM/100APPLE/PERICAM
    Give it 777 privs as well.
    For me, this was the step that did the trick initially.

    This assumes that you have a symlink going from /var/root/Media to the real folder located in /var/mobile/Media . Not every Jailbreak does this, but it solves lots of older app problems for me.

    Now, test Pericam. If it works, you can go on to the next step. If it doesn't, you have some other issue. The way I solved this was to SSH in from Terminal on my Mac and launch Pericam from there. The messages are very informative. It's possible it can run that way and still not run on your phone, because it's running as root.

    My Little Hack:
    (DON'T DO THIS UNTIL YOU HAVE Pericam running 'normally', it will only complicate troubleshooting!)

    I was excited to get Pericam running at last, but looking at the pictures was too much work. In fact, the instructions said that they'd show up in iPhoto, but that didn't work, so I initially had to manually copy them off the phone.

    It turns out to be pretty easy to add them to the Camera Roll! No restart necessary, it's all automatic, and they behave exactly like pictures you had taken any other way. This makes Pericam much more useful to me.

    Just replace the pericam.sh script (inside the Pericam.app folder) with the one attached here (of course, unzip it first!) and give it 755 permissions.

    Now when you take pictures with Pericam, they will automatically be added to the Camera Roll like any other picture you've taken.

    Enjoy!
    Attached Files Attached Files
    Last edited by DaveiPhone; 2008-02-20 at 07:30 AM.

  4. #4
    What do you mean with a Symlink? How to do that? Maybe you could explain that a bit more detailed. (Besides I have some difficulties with english language if it gets to complicated lol...sorry).

    I created that folder and set permissions but it's still not working for me =(

  5. #5
    Thanks for your post man,

    I have set the permissions on each of those files to 777 and created the hard folder in the directory specified, I believe my symbolic link is working as I see:

    # cd /var/mobile/Media
    # ls -la
    total 16
    drwxr-xr-x 9 mobile mobile 442 Feb 19 23:26 .
    drwxr-x--- 4 mobile mobile 170 Feb 9 13:44 ..
    -rw-r--r-- 1 mobile mobile 1568 Feb 8 21:11 AppSnapp.log
    drwxr-xr-x 4 mobile mobile 170 Feb 19 23:22 DCIM
    drwxr-xr-x 2 mobile mobile 102 Feb 10 12:59 Documents
    drwxr-xr-x 2 mobile mobile 102 Feb 9 18:03 Downloads
    lrwxr-xr-x 1 root mobile 15 Feb 19 23:26 Media -> /var/root/Media
    drwxr-xr-x 3 mobile mobile 136 Feb 19 19:55 Photos
    drwxr-xr-x 2 mobile mobile 102 Feb 10 12:59 Recordings
    -rw-r--r-- 1 mobile mobile 0 Feb 9 10:24 com.apple.itunes.lock_sync
    crw-r--r-- 1 mobile mobile 14, 1 Feb 9 10:33 disk
    drwxr-xr-x 6 mobile mobile 204 Feb 10 14:01 iTunes_Control
    drwxr-xr-x 4 mobile mobile 884 Feb 9 10:35 touchFree

    ---------
    since i am new to this I am not sure if that is correct, but does the Media -> /var/root/Media line in this folder mean that is right?

    I still get the same error message as the rest of the posters when I try to start Pericam - any other ideas?

  6. #6
    lrwxr-xr-x 1 root mobile 15 Feb 19 23:26 Media -> /var/root/Media
    Your symlink is not correct. This line indicates you created a symlink INSIDE the /var/mobile/Media folder going back to root, which won't help in any way.

    The idea is to have a symlink called Media in /var/root/ that points to a real folder called Media in /var/mobile/
    Older firmware had the Media folder located inside root. By putting a symlink there, pointing to the new location inside mobile, old and new apps will effectively look in the same place.

    So if you do this in terminal:

    cd /var/root/
    ls -la

    You should see:
    lrwxr-xr-x 1 root wheel 17 Feb 1 12:52 Media -> /var/mobile/Media

    In addition, if you do this:

    cd /var/root/Media/DCIM/100APPLE
    ls -la

    You should see this:
    drwxrwxrwx 2 mobile mobile 68 Feb 19 10:53 PERICAM

    Then, at least you know you have the folder and symlink in the right spots.

    If you still have trouble after that, try launching Pericam from Terminal by entering:

    /Applications/Pericam.app/Pericam

    The output in Terminal will be very helpful in determining where the problem lies.
    Last edited by DaveiPhone; 2008-02-19 at 09:45 PM.

  7. The Following User Says Thank You to DaveiPhone For This Useful Post:

    pechorin (2008-02-19)

  8. #7
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
    Dave, I really appreciate your reply. I know that I had it all wrong, and thanks for confirming! I ran the app and the output in terminal is:

    picSnap is /var/root/bin/picSnap
    reduceJPEG is /usr/bin/reduceJPEG
    2008-02-20 02:22:01.999 Pericam[131:d03] pericam.sh is not running.
    2008-02-20 02:22:02.844 Pericam[131:d03] updateTimer
    2008-02-20 02:22:03.844 Pericam[131:d03] updateTimer
    2008-02-20 02:22:04.844 Pericam[131:d03] updateTimer

    ad infinitum

    Now, if we wanted to fix our symlinks, could you tell us what to type and where to set them up right and make those two ls -la commands show the right results?

    Once again man, much appreciated. I dont want to take the risk in charging in myself and wrecking the whole thing!

  9. #8
    pechorin:

    From your output, it looks like you didn't press the "Start Interval Shooting" button on the phone. Pressing that should give different output that will give us the info we need to see what's going wrong.

  10. #9
    ah, ok: (ps. another stupid q; how do i turn it off? do i have to do that in terminal too? i cant quit the program on the iphone without power cycling it)

    # /Applications/Pericam.app/Pericam
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
    picSnap is /var/root/bin/picSnap
    reduceJPEG is /usr/bin/reduceJPEG
    2008-02-20 09:58:46.228 Pericam[79:d03] pericam.sh is not running.
    2008-02-20 09:58:47.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:47.846 Pericam[79:d03] command = echo "0-59/60 * * * * /Applications/Pericam.app/pericam.sh 160 20" | crontab
    0-59/60 * * * * /Applications/Pericam.app/pericam.sh 160 20
    2008-02-20 09:58:48.062 Pericam[79:d03] pericam.sh is running.
    2008-02-20 09:58:48.111 Pericam[79:d03] updateTimer
    2008-02-20 09:58:49.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:50.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:51.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:52.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:53.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:54.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:55.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:56.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:57.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:58.067 Pericam[79:d03] updateTimer
    2008-02-20 09:58:59.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:00.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:01.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:02.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:03.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:04.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:05.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:06.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:07.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:08.067 Pericam[79:d03] updateTimer
    crontab: no crontab for root
    2008-02-20 09:59:09.005 Pericam[79:d03] pericam.sh is not running.
    2008-02-20 09:59:09.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:10.637 Pericam[79:d03] updateTimer
    2008-02-20 09:59:12.138 Pericam[79:d03] updateTimer
    2008-02-20 09:59:13.334 Pericam[79:d03] updateTimer
    2008-02-20 09:59:14.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:15.070 Pericam[79:d03] updateTimer
    2008-02-20 09:59:16.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:16.587 Pericam[79:d03] command = echo "0-59/5 * * * * /Applications/Pericam.app/pericam.sh 160 20" | crontab
    0-59/5 * * * * /Applications/Pericam.app/pericam.sh 160 20
    2008-02-20 09:59:16.802 Pericam[79:d03] pericam.sh is running.
    2008-02-20 09:59:17.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:18.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:19.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:20.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:21.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:22.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:23.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:24.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:25.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:26.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:27.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:28.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:29.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:30.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:31.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:32.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:33.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:34.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:35.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:36.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:37.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:38.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:39.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:40.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:41.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:42.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:43.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:44.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:45.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:46.067 Pericam[79:d03] updateTimer
    crontab: no crontab for root
    2008-02-20 09:59:46.942 Pericam[79:d03] pericam.sh is not running.
    2008-02-20 09:59:47.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:48.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:49.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:50.071 Pericam[79:d03] updateTimer
    2008-02-20 09:59:51.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:52.068 Pericam[79:d03] updateTimer
    2008-02-20 09:59:53.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:54.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:55.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:56.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:57.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:58.067 Pericam[79:d03] updateTimer
    2008-02-20 09:59:59.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:00.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:01.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:02.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:03.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:04.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:05.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:06.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:07.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:08.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:09.068 Pericam[79:d03] updateTimer
    2008-02-20 10:00:10.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:11.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:12.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:13.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:14.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:15.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:16.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:17.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:18.067 Pericam[79:d03] updateTimer
    2008-02-20 10:00:19.067 Pericam[79:d03] updateTimer

  11. #10
    Quote Originally Posted by pechorin View Post
    ah, ok: (ps. another stupid q; how do i turn it off? do i have to do that in terminal too? i cant quit the program on the iphone without power cycling it)
    To quit the app from Terminal, just press Control-C

    From your output, it looks like you were able to start and stop interval shooting by pressing the button on the phone, and should have some pictures saved (assuming you let it run at some point for at least the length of the timer setting-- 1 = 1 minute).

    Check that from Terminal by entering:

    ls /var/mobile/Media/DCIM/100APPLE/PERICAM

    If there are pictures there, you're nearly done, there's just some little permission issue to fix.

    Try this:

    chmod +s /Applications/Pericam.app/Pericam

    and try running the app from the phone. If that still doesn't work, try this (and send the Terminal output back):
    ls -la /Applications/Pericam.app/

  12. #11
    Default it works
    nice work dave, really appreciate the time you put in helping out. excellent!

  13. #12
    Cool, glad it's working. It was by far the hardest app to get going for me, so I figured the effort ought to help as many as possible.

    Now you're ready for the real fun (if you haven't already). Check out my replacement script that sends the pics directly to the camera roll.

  14. #13
    Hi Dave, how are you?
    I really need your help. I am trying to get Pericam working. Had no problems on my 1.1.1 but on my 1.1.3 otb unlocked jailbreacked activated with ziphone 2.0 and ibrickr fix got a problem. If I start it with putty it works but it does save the pics to var/root/Media/DCIM/100APPLE/PERICAM/ however if I run it on the phone it starts and stops normally but no pictures are saved. When I run it from putty I get also a (crontab: no crontab for root) line like this:

    # /Applications/Pericam.app/Pericam
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
    picSnap is /var/root/bin/picSnap
    reduceJPEG is /usr/bin/reduceJPEG
    crontab: no crontab for root
    2008-02-20 16:19:46.228 Pericam[516:d03] pericam.sh is not running

    I tried so many diff. things, I got smoke comming out of my ears.
    Thank you soo much, I hope you can help me out.
    Don't be shy if I helped you use the Thanks button, I do it.

  15. #14
    im having problems trying to get it to work here are my results....any help will be appreciatted thanks

    # /Applications/Pericam.app/Pericam
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
    picSnap is /var/root/bin/picSnap
    reduceJPEG is /usr/bin/reduceJPEG
    0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
    2008-02-20 11:47:51.469 Pericam[2431:d03] pericam.sh is running.
    2008-02-20 11:47:52.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:53.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:54.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:55.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:56.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:57.234 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:58.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:47:59.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:00.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:01.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:02.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:03.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:04.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:05.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:06.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:07.233 Pericam[2431:d03] updateTimer
    crontab: no crontab for root
    2008-02-20 11:48:08.343 Pericam[2431:d03] pericam.sh is not running.
    2008-02-20 11:48:08.372 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:09.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:10.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:11.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:11.555 Pericam[2431:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60" | crontab
    0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
    2008-02-20 11:48:11.778 Pericam[2431:d03] pericam.sh is running.
    2008-02-20 11:48:12.234 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:13.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:14.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:15.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:16.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:17.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:18.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:19.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:20.233 Pericam[2431:d03] updateTimer
    2008-02-20 11:48:21.233 Pericam[2431:d03] updateTimer
    ^C
    # ls /var/mobile/Media/DCIM/100APPLE/PERICAM
    # ls -la /Applications/Pericam.app/
    total 480
    drwxrwxr-x 2 root admin 714 Feb 19 18:33 .
    drwxrwxr-x 55 root admin 1972 Feb 20 11:28 ..
    -rw-r--r-- 1 root admin 82 Feb 20 11:28 ._Default.png
    -rw-r--r-- 1 root admin 54499 Feb 20 11:28 ._background.png
    -rw-r--r-- 1 root admin 57261 Feb 20 11:28 ._grating.png
    -rw-r--r-- 1 root admin 82 Feb 20 11:28 ._icon.png
    -rwxr-xr-x 1 root admin 82 Feb 20 11:28 ._pericam.sh
    -rwxr-xr-x 1 root admin 82 Feb 20 11:28 ._pericam_cleanup.sh
    -rw-r--r-- 1 root admin 108 Dec 30 08:33 Default.png
    -rw-r--r-- 1 root admin 601 Dec 30 08:33 Info.plist
    -rwsrwsrwx 1 root admin 38704 Dec 30 11:10 Pericam
    -rw-r--r-- 1 root admin 10497 Dec 29 00:00 background.png
    -rw-r--r-- 1 root admin 1007 Dec 27 22:26 button_black.png
    -rw-r--r-- 1 root admin 1336 Dec 27 22:25 button_green.png
    -rw-r--r-- 1 root admin 1254 Dec 27 22:25 button_green_pressed.png
    -rw-r--r-- 1 root admin 1578 Dec 27 22:25 button_red.png
    -rw-r--r-- 1 root admin 1474 Dec 27 22:25 button_red_pressed.png
    -rw-r--r-- 1 root admin 14905 Dec 28 09:10 grating.png
    -rw-r--r-- 1 root admin 7858 Dec 30 08:33 icon.png
    -rwxrwxrwx 1 root admin 380 Dec 30 10:02 pericam.sh
    -rwxrwxrwx 1 root admin 91 Dec 30 10:02 pericam_cleanup.sh
    #

  16. #15
    Quote Originally Posted by kpace1 View Post
    im having problems trying to get it to work here are my results....any help will be appreciatted thanks

    kpace1, Your permissions look OK, and these lines indicate that Pericam is ready to start taking pictures:

    2008-02-20 11:48:11.555 Pericam[2431:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60" | crontab
    0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
    2008-02-20 11:48:11.778 Pericam[2431:d03] pericam.sh is running.

    However, it looks like you didn't let it run long enough to actually take a picture, and you didn't include the info as to whether you created the symlink properly.

    It must run at least 1 minute (with the timer set to 1) before any pictures will be taken.

    If you enter into Terminal:

    ls -la /var/root/

    You should see as part of the output:
    lrwxr-xr-x 1 root wheel 17 Feb 1 12:52 Media -> /var/mobile/Media

    This indicates the symlink to Media has been created properly.

    If you enter:
    ls -la /var/mobile/Media/DCIM/100APPLE/

    You should see this line:

    drwxrwxrwx 2 mobile mobile 68 Feb 19 22:30 PERICAM

    That indicates you've manually created the PERICAM folder in the right spot (and it has proper permissions).

    BTW, this line is NOT an indication of a problem, it's just part of the cleanup routine in Pericam:
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory

    ------------------
    Quote Originally Posted by iBlade View Post
    If I start it with putty it works but it does save the pics to var/root/Media/DCIM/100APPLE/PERICAM/ however if I run it on the phone it starts and stops normally but no pictures are saved.
    iBlade, You haven't given me enough info to help, although I appreciate the abbreviated output. See the comments above to see the specific info needed. It sounds to me like you haven't created the symlink, which would give you the results you describe, since mobile doesn't have privileges to write to the root folder or subfolders.

    One other interesting discovery:

    If you launch Pericam from Terminal, start interval shooting from the phone, and then Control-C to end the app, Pericam will continue to take pictures forever, EVEN AFTER REBOOTING THE PHONE!

    It runs a cron job that can't be terminated by the mobile user, so to stop it, you'll need to launch the app from Terminal again (as root), and toggle the interval button on the phone to stop it. Then exit Terminal with Control-C and all should be right with the world.
    Last edited by DaveiPhone; 2008-02-20 at 07:19 PM.

  17. The Following User Says Thank You to DaveiPhone For This Useful Post:

    iBlade (2008-02-20)

  18. #16
    below are my results, i guess i didnt create the symlink right how do i go about doing so.. i am using fugu and permissions should be 0777 right? which means every box should be checked to get that output or am i wrong and if theres anything else i can do to make it easier to show u what the problem could be let me now

    # ls -la /var/root/
    total 16
    drwxrwxrwx 5 root wheel 204 Feb 19 21:59 .
    drwxr-xr-x 18 root wheel 680 Feb 18 11:38 ..
    -rw-r--r-- 1 root wheel 6148 Feb 20 11:36 .DS_Store
    drwxrwxrwx 9 root wheel 340 Feb 20 12:30 Library
    drwxr-xr-x 5 root wheel 170 Feb 19 14:17 Media
    drwxrwxrwx 2 root wheel 1292 Feb 19 22:29 bin
    # ls -la /var/mobile/Media/DCIM/100APPLE/
    total 4328
    drwxr-xr-x 3 mobile wheel 578 Feb 19 22:30 .
    drwxr-xr-x 4 mobile wheel 170 Feb 19 21:58 ..
    -rw-r--r-- 1 root wheel 6148 Feb 20 11:41 .DS_Store
    -rw-r--r-- 1 mobile wheel 355875 Feb 15 16:59 IMG_0002.JPG
    -rw-r--r-- 1 mobile wheel 3568 Feb 15 16:59 IMG_0002.THM
    -rw-r--r-- 1 mobile wheel 347054 Feb 15 16:59 IMG_0003.JPG
    -rw-r--r-- 1 mobile wheel 3485 Feb 15 16:59 IMG_0003.THM
    -rw-r--r-- 1 mobile wheel 349505 Feb 15 16:59 IMG_0004.JPG
    -rw-r--r-- 1 mobile wheel 3546 Feb 15 16:59 IMG_0004.THM
    -rw-r--r-- 1 mobile wheel 323399 Feb 15 16:59 IMG_0005.JPG
    -rw-r--r-- 1 mobile wheel 3718 Feb 15 16:59 IMG_0005.THM
    -rw-r--r-- 1 mobile wheel 321763 Feb 15 16:59 IMG_0006.JPG
    -rw-r--r-- 1 mobile wheel 3947 Feb 15 16:59 IMG_0006.THM
    -rw-r--r-- 1 mobile wheel 360812 Feb 15 16:59 IMG_0007.JPG
    -rw-r--r-- 1 mobile wheel 3681 Feb 15 16:59 IMG_0007.THM
    drwxrwxrwx 2 root wheel 68 Feb 19 22:30 PERICAM
    -rw-r--r-- 1 mobile wheel 111886 Feb 18 01:49 snap_014951.jpg
    #

  19. #17
    kpace,
    You have a real folder called Media in root, so before you can create the symlink, you need to make sure there's nothing in it you need.

    ls -la /var/root/Media

    will list its contents. Then you can decide to delete it or rename it. If you have SFTP access, that step is a bit easier, that's how I do it: Rename the folder /var/root/Media to /var/root/OLDMedia

    then create the symlink with:

    ln -s /private/var/mobile/Media /private/var/root/Media

    After that you can move the stuff from OLDMedia into Media. It's possible there will duplicate items, depending on how you jailbroke and so on. So there's the risk of losing stuff if you overwrite a newer file or folder with an older one. In general, I wouldn't overwrite an item located in /var/mobile/Media/ with one that is coming from the /var/root/OLDMedia/ , but the best way to make the decision is on a case by case basis.

  20. #18
    Hi Dave me again, thanks for your reply but I think I have a symlink prob that I can not resolve. It only saves to /var/root/Media/DCIM/100APPLE/PERICAM/20080220 and only if I run it from putty, please advice any help with symlink would really help. Thanks again.

    Using username "root".
    [email protected]'s password:
    Last login: Wed Feb 20 23:10:50 2008 from 10.0.0.4
    # ls -la /Applications/Pericam.app
    total 112
    drwsrwsrwt 2 root admin 510 Feb 20 12:41 .
    drwxrwxrwx 63 root admin 2210 Feb 20 12:41 ..
    -rwsrwsrwt 1 root admin 108 Feb 20 12:41 Default.png
    -rwsrwsrwt 1 root admin 601 Feb 20 12:41 Info.plist
    -rwsrwsrwt 1 root admin 38704 Feb 20 12:41 Pericam
    -rwsrwsrwt 1 root admin 10497 Feb 20 12:41 background.png
    -rwsrwsrwt 1 root admin 1007 Feb 20 12:41 button_black.png
    -rwsrwsrwt 1 root admin 1336 Feb 20 12:41 button_green.png
    -rwsrwsrwt 1 root admin 1254 Feb 20 12:41 button_green_pressed.png
    -rwsrwsrwt 1 root admin 1578 Feb 20 12:41 button_red.png
    -rwsrwsrwt 1 root admin 1474 Feb 20 12:41 button_red_pressed.png
    -rwsrwsrwt 1 root admin 14905 Feb 20 12:41 grating.png
    -rwsrwsrwt 1 root admin 7858 Feb 20 12:41 icon.png
    -rwsrwsrwt 1 root admin 380 Feb 20 12:41 pericam.sh
    -rwsrwsrwt 1 root admin 91 Feb 20 12:41 pericam_cleanup.sh
    #
    # cd /var/mobile/Media
    # ls -la
    total 4
    drwsrwsrwx 10 mobile mobile 408 Feb 20 22:26 .
    drwxrwxrwx 5 mobile mobile 374 Feb 19 02:28 ..
    drwsrwsrwx 4 mobile mobile 136 Feb 12 13:21 DCIM
    drwsrwsrwx 4 mobile mobile 136 Feb 18 15:55 Labyrinth
    lrwxr-xr-x 1 root mobile 15 Feb 20 22:26 Media -> /var/root/Media
    drwsrwsrwx 3 mobile mobile 136 Feb 14 02:00 Photos
    drwsrwsrwx 2 mobile mobile 68 Feb 13 18:46 Photos_2
    drwsrwsrwx 2 mobile mobile 102 Feb 19 19:18 Recordings
    drwsrwsrwx 2 mobile mobile 68 Feb 12 21:00 Sketches
    -rwsrwsrwx 1 mobile mobile 0 Feb 12 12:17 com.apple.itunes.lock_sync
    drwsrwsrwx 6 mobile mobile 204 Feb 12 18:11 iTunes_Control
    drwsrwsrwx 3 mobile mobile 102 Feb 13 18:47 iTunes_Control_2
    #
    # cd /var/mobile/Media
    # ln -s /var/mobile/Media /var/root/Media
    ln: /var/root/Media/Media: File exists
    # cd /var/root/
    # ls -la
    total 348
    drwsrwxrwx 5 root wheel 272 Feb 20 23:10 .
    drwxrwxrwx 19 root wheel 714 Feb 12 17:43 ..
    drwxrwxrwx 13 root wheel 510 Feb 20 02:41 Library
    drwsrwsrwx 8 root wheel 306 Feb 19 01:09 Media
    -rw-r--r-- 1 mobile wheel 20 Feb 19 21:29 Untitled.txt
    drwsrwsrwx 3 root wheel 986 Feb 19 20:36 bin
    -rw-r--r-- 1 root wheel 344856 Feb 20 23:10 is
    -rw-r--r-- 1 root wheel 2574 Feb 13 18:46 screenshot.log
    # cd /var/mobile/Media
    # ln -s /var/mobile/Media /var/root/
    ln: /var/root//Media: File exists
    # cd /var/root/
    # ls -la
    total 348
    drwsrwxrwx 5 root wheel 272 Feb 20 23:10 .
    drwxrwxrwx 19 root wheel 714 Feb 12 17:43 ..
    drwxrwxrwx 13 root wheel 510 Feb 20 02:41 Library
    drwsrwsrwx 8 root wheel 306 Feb 19 01:09 Media
    -rw-r--r-- 1 mobile wheel 20 Feb 19 21:29 Untitled.txt
    drwsrwsrwx 3 root wheel 986 Feb 19 20:36 bin
    -rw-r--r-- 1 root wheel 344856 Feb 20 23:10 is
    -rw-r--r-- 1 root wheel 2574 Feb 13 18:46 screenshot.log
    # /Applications/Pericam.app/Pericam
    rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/20080220: Directory not empty
    picSnap is /var/root/bin/picSnap
    reduceJPEG is /usr/bin/reduceJPEG
    crontab: no crontab for root
    2008-02-20 23:24:04.937 Pericam[199:d03] pericam.sh is not running.
    2008-02-20 23:24:05.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:06.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:07.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:08.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:09.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:10.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:11.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:12.274 Pericam[199:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 960 100" | crontab
    0-59/1 * * * * /Applications/Pericam.app/pericam.sh 960 100
    2008-02-20 23:24:12.496 Pericam[199:d03] pericam.sh is running.
    2008-02-20 23:24:12.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:13.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:14.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:15.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:16.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:17.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:18.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:19.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:20.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:21.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:22.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:23.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:24.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:25.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:26.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:27.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:28.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:29.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:30.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:31.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:32.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:33.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:34.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:35.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:36.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:37.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:38.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:39.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:40.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:41.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:42.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:43.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:44.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:45.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:46.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:47.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:48.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:49.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:50.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:51.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:52.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:53.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:54.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:55.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:56.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:57.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:58.748 Pericam[199:d03] updateTimer
    2008-02-20 23:24:59.748 Pericam[199:d03] updateTimer
    2008-02-20 23:25:00.748 Pericam[199:d03] updateTimer
    2008-02-20 23:25:01.749 Pericam[199:d03] updateTimer
    2008-02-20 23:25:02.748 Pericam[199:d03] updateTimer
    2008-02-20 23:25:03.748 Pericam[199:d03] updateTimer
    2008-02-20 23:25:04.748 Pericam[199:d03] updateTimer
    crontab: no crontab for root
    2008-02-20 23:25:05.738 Pericam[199:d03] pericam.sh is not running.
    2008-02-20 23:25:05.760 Pericam[199:d03] updateTimer
    2008-02-20 23:25:06.749 Pericam[199:d03] updateTimer
    2008-02-20 23:25:07.748 Pericam[199:d03] updateTimer
    2008-02-20 23:25:08.748 Pericam[199:d03] updateTimer
    ^C
    #
    Don't be shy if I helped you use the Thanks button, I do it.

  21. #19
    iBlade, you have at least 2 issues.
    The first is that you created a stray symlink. To get rid of it, enter:

    rm /var/mobile/Media/Media

    Second, you have the same problem as the previous poster, kpace. (A real Media folder in two different locations). See my suggestions to him in the post right before yours (#17).

  22. #20
    Thank you, but I messed up somewhere and my phone wont reboot, hard reset no go so I am restoring right now and starting fresh. This is what I get if I can not wait and poke around too much. But I also learned more about unix commands and that should help me to keep my phone out of trouble in the future.
    Don't be shy if I helped you use the Thanks button, I do it.

Page 1 of 2 12 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •