Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easily share Cycorder videos off jailbroken iPhones iOS devices
We have a number of first-generation iPhones fully unlocked and jailbroken using Pwnage from the iPhone Dev Team. (The iPhone 3G is not currently software-unlockable with any degree of reliability.)

One of the challenges for both 'official' (installed from Apple's App Store) and 'unofficial' (using installer.app or Cydia) apps that create content (photos, videos, text etc) is how to share the content. One approach taken by several apps is to offer to send an attachment via email. While this is fine for text files and photos, it's not so appropriate for larger files like video. You could also install OpenSSH and use scp to get the files, but that involves opening up root access which I didn't want to do for users who are a bit less tech savvy.

Here's our particular problem and solution. I have installed the Cycorder app, which allows you to capture video, but relies on scp and a knowledge of where the files are to move files off of the phone. By a bit of experimentation, I have managed to change the location where Cycorder saves its files. By changing the save location, I can then share/delete videos using Air Sharing (an 'official' app from the App Store). The general technique could also be useful for other applications.

Here's what to do; I'll assume that you have a Jailbroken iPhone, so Cydia and installer.app are already available. If not, go and jailbreak.
  1. Use Cydia to install Cycorder.
  2. Go to the Apple App Store and install Air Sharing.
  3. Use Cydia to install Mobile Terminal.
  4. Open the Mobile Terminal app and cd /private/var/mobile/Applications/.
  5. Type ls -la to take a look at the installed applications. If you've only installed Air Sharing, it will be the first folder in the list. If it's not, check the other folders and when you find it, make a note of the folder name -- mine starts with 9DAAB941- (if copy/paste worked, this would be a great time to use it!).
  6. Type cd ../Media to go up one folder level and into the Cycorder storage area.
  7. Type mv Videos Videos.bak to move the default video store out of the way.
  8. Type ln -s "../Applications/Air_Sharing_folder/Documents/Air Sharing/Public" ./Videos to create a symbolic link to the Public folder of Air Sharing for your videos. Replace Air_Sharing_folder with the name of the folder that you noted earlier.
Now when you record a video, you can use Air Sharing to manage and share them to anyone with a webdav client.
    •    
  • Currently 2.92 / 5
  You rated: 2 / 5 (13 votes cast)
 
[54,726 views]  

Easily share Cycorder videos off jailbroken iPhones | 11 comments | Create New Account
Click here to return to the 'Easily share Cycorder videos off jailbroken iPhones' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily share Cycorder videos off jailbroken iPhones
Authored by: ghay on Oct 02, '08 01:39:59PM

Just to clarify.

Jailbreaking a 3G is perfectly reliable with all firmwares, and the appropriate tools.



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: pglock on Oct 03, '08 02:15:04PM

I have a jailbroken 3G for my personal use so I agree with the comments about the ease of jailbreaking the 3G. It's software unlocking that's not reliable yet. Once the iPhone Dev Team or similar release a new version of Pwnage I'll be happy to use more 3G devices.

Why do we need unlocking? Because we have existing contracts with carriers that aren't the 'official' one and don't want to have two phone contracts.

---
Too lazy to think of an original signoff...

[ Reply to This | # ]

Easily share Cycorder videos off jailbroken iPhones
Authored by: ghay on Oct 04, '08 03:06:48AM

I wasn't disagreeing with you.
Your statement:-

"
We have a number of first-generation iPhones fully unlocked and jailbroken using Pwnage from the iPhone Dev Team. (The iPhone 3G is not currently software-unlockable with any degree of reliability.)
"

Was misleading. You mention jailbreaking with the 2G phones, but you only mention unlocking with 3Gs.

This is a subtle distinction not understood by everyone, so I was merely clarifying the situation.



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: StL_EyeTee on Oct 02, '08 04:42:39PM
Also this hint from a previous day allows the same with MobileFinder:

http://www.macosxhints.com/article.php?story=2008091701524982

You could always just sftp into your phone as well.

And I echo the previous comment .... 3G phones can be reliably jailbroken, so I"m not sure where that part of your hint came from.

[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: funkymonkey on Oct 03, '08 04:04:20AM

You could also avoid any command line jiggery pokery and use Netatalk which gives your iPhone appletalk and the ability to mount on your macs desktop like a normal share.
This gives full access to the iPhone's file system and therefore Cycorders' 'Movies' folder.



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: LordBrian on Oct 03, '08 01:34:36AM

It may be easier to SSH in from your mac then you can copy and paste to your hearts content.

Does work very well and makes my life easier.



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: ob1cannoli on Oct 03, '08 08:25:28PM

How about enabling SSH and just connecting over SFTP? I use Transmit, but I'm sure there are plenty of free SFTP clients.

Even better is just using MacFuse to mount the SSH share on the desktop as a volume so you can just drag and drop the files.



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: kgcullen on Dec 06, '08 02:27:38AM

I think I would prefer your method for saving and sharing Cycorder videos. Unfortunately, I am very leary about messing around in Terminal. I followed your instructions up to the point where I needed to search for the Air Sharing folder. Once I typed in ls -la and hit return, it flashed through several lines. I didn't know how to "scroll" through those lines to find the Air Sharing folder. Please give me the instructions again but explain it as though you were trying to teach a really old man who knows just enough about computers to be dangerous to his hard drive. Thanks. Kev



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: proffitt on Dec 06, '08 08:35:19PM
It looks like the discussion on this may be dead, but I was searching for answers myself and finally figured at least part of it out.
To scroll is quite simple (though I can't find anyone telling you how anywhere!). You scroll with your finger- the key is that there's basically an invisible scroll bar on the right side of the screen. once you start swiping up and down on the edge of the screen, you'll see the scroll bar appear.
That's not necessarily helping me find the right folder out of the 40 or so folders present. Am guessing the commenters are correct about ssh or whatever being much easier.
Some other pages I found in my search that might be helpful in general:
tips and tricks for using mobile terminal:
http://code.google.com/p/mobileterminal/wiki/TipsAndTricks
(sorry I'm bad with html)
The two-finger swipes don't seem to do anything for me.
If you want to get to preferences, it's a swipe to right in the time area of the top status bar.

and well I was going to post a link to useful unix commands, but just google that and you should be all set.

I feel like doing this from my iphone and not using computer actually, any more better way to figure out the right folder? (and like not have to type those crazy strings out)




[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: proffitt on Dec 10, '08 03:42:43PM

okay, made some progress, took a few steps back. I'm sure nobody is reading this anymore, but I'll ask for help anyway.

You'll never find the folder you want just by using terminal. give up on that idea unless you have a trick I couldn't figure out.

I used iphonebrowser and just searched the folders, then it was pretty easy to find the right one. I wrote down that annoyingly long string (yea I could probably figure out SSH or whatever, but that would be a whole new learning process)-- then I followed these instructions.
The key difference is that I want to use the app Files instead of AirSharing. I just like it better. I went a slight step further, and in iphonebrowser, I created a directory: /var/mobile/Applications/36BC86E3_rest_of_string/Documents/Files/CycorderVids/ just so that within Files I would have a unique folder called CycorderVids.

Then I followed the instructions. There were probably 5 different problems that occurred that I won't get into, but the bottom line is that I have it to the point that Files has the correct folder-- I manually moved the files using iphonebrowser into /var/mobile/Media/Videos so that they work within cycorder, and are functional and working in Files. However, now cycorder does not work.

When I try to record, cycorder minimizes itself and the icon shows the red "Rec", yet it does not ever seem to be actually recording. If I then reopen cycorder and click the record button again, it just repeats the minimization. If instead I hit the home button, cycorder closes, the icon goes to normal, but reopening the program proves no video was saved.

So it seems like I have a cycorder problem now. I went through a couple of rounds of uninstalling and reinstalling with no fixes. Basically the bottom line of it seems to be that as long as the symbolic link exists in the /var/mobile/Media/Videos folder (if I understand correctly "where" that symbolic link exists), then cycorder isn't functioning appropriately.

If I delete cycorder, and delete the Videos folder, and then reinstall cycorder, cycorder will work, but of course Files no longer sees this folder and I'm back where I started.

what's going on here?

one more note-- I was thinking perhaps the symlink was just broken somehow- i.e. I entered the wrong location, and it just seemed to work, but then cycorder when trying to write a file somehow ran into a glitch as it was trying to write to an imaginary location, but the fact that moving a file manually with iphonebrowser into the /var/mobile/Media/Videos folder makes it automatically also show up in .../CycorderVids/ proves that my symlink was appropriately created. so yea, more help please!



[ Reply to This | # ]
Easily share Cycorder videos off jailbroken iPhones
Authored by: justanice on Dec 19, '09 01:00:13PM

i couldn't get it to work either, so after piecing together everyone's advice, i got it to work perfectly... thanks for all the help, i never would have figured this out myself!

i can take videos and email them to my friends... and they can watch them on their iPhones or computers...
I'll post the long winded directions here and in the forum.
best of luck! it works great!

simplest way: wait for cycorder to support email. :)

longer way: here's what to do: Main Part: It's actually pretty easy if you follow Note 2 so you don't have to type on the little iPhone screen.

1. Use Cydia to install Cycorder.
2. Go to the Apple App Store and install Air Sharing AND CREATE A "Videos" FOLDER in Air Sharing.
3. Use Cydia to install Mobile Terminal.
4. Open the Mobile Terminal app and type "cd /private/var/mobile/Applications/".
5. Type "ls -la" to take a look at the installed applications. If you've only installed Air Sharing, it will be the first folder in the list. If it's not, check the other folders and when you find it, make a note of the long folder name (mine was F472628F-407V-4G36-95E1-A831C2184686). If you can't find it, FOLLOW Note 2 NOW.
6. Type "cd ../Media" to go up one folder level and into the Cycorder storage area.
7. Type "mv Videos Videos.bak" to move the default video store out of the way.
8. Type "ln -s "../Applications/Air_Sharing_folder/Documents/Air Sharing/Videos" ./Videos to create a symbolic link to the Video folder of Air Sharing for your videos. Replace Air_Sharing_folder with the name of the folder that you noted earlier.
9. Now when you record a video, you can use Air Sharing to manage and email it to anyone.

Note 1: If Cycorder fails to open (starts to, then closes), most likely your link is incorrectly typed in or you forgot to create a "Videos" folder in Air Sharing.
Note 2: If you have tons of apps, finding Air Sharing can be a pain. Better method:

1. Go into your router wifi settings and find "802.11e QoS" (or something similar). Make sure it is OFF! Or else it will take minutes at a time to open each folder. Seriously, if the following steps time out or take forever, it's because QoS is on.
2. On your jailbroken iPhone, update Cydia and install OpenSSH through it. You may need to reboot your iPhone by holding down the power button after installing OpenSSH to start the SSH Daemon.
3. In Ubuntu, select Places>Connect to Server. In the dropdown box labeled "Service type," select "SSH". In the "Server" field, input your iPhone's ip address (you better know it by now). Finally, under username, enter "mobile". Leave other fields blank. Click connect.
4. The file browser should open (as long as your phone is on the wifi, even if it's locked) and you should see "sftp://mobile@iphone ip address/" in the location bar and a whole lot of folders.
5. Navigate to "/private/var/mobile/Applications/".
6. Now you should see a whole lot of folders with long names (ex. F472628F-407V-4G36-95E1-A831C2184686). Click search and type in "Air" (Capital "A", lowercase "i" and "r", this matters). Wait a while for it to search (depending on how many apps you have, I'm in triple digits so it takes almost five minutes).
7. Click on the "Air Sharing" folder (NOT the "AirSharing" folder).
8. The location bar should now show something similar to this: "sftp://mobile@iPhone ip address/private/var/mobile/Applications/F472628F-407V-4G36-95E1-A831C2184686/Documents/Air%20Sharing"
9. You should see whatever folders are in your main Air Sharing directory ("Samples" and "Videos" are in mine).
10. If you don't at least see "Videos", right click and create the folder "Videos" now.
11. Copy the long folder name (ex. "sftp://mobile@iPhone ip address/private/var/mobile/Applications/F472628F-407V-4G36-95E1-A831C2184686/Documents/Air%20Sharing" to a note or a text file to save you from having to type it.
12. At this time, you can explore to "sftp://mobile@iPhone ip address/private/var/mobile/Media" and copy, cut, or paste any videos you had in "Videos" or "Videos.bak" over to the Air Sharing "Videos" folder.
13. Now that the Air Sharing "Videos" folder is set up and you know the long folder name, in Ubuntu, go to Applications -> Accessories -> Terminal.
14. In Terminal, type "ssh root@iPhone ip address". It should prompt you for your password. Now return to step 4 in the Main Part above. Only difference being that now you can type and copy/paste from your computer, instead of on the tiny iPhone screen.

Note 3: If you couldn't figure out that "iPhone ip address" meant substituting the actual ip address (example: 192.168.1.51), you probably shouldn't be trying this.

If you want to undo the relinking in the Main Part Steps 7 and 8 above, try typing this into mobile terminal (or you could just do it through the Note 2 interface):
"cd /private/var/mobile/Media/"
"unlink Videos"
"cp -r Videos.bak Videos"

References:
http://www.macosxhints.com/article.php?story=20081001062146896
http://forums.macosxhints.com/showthread.php?t=94931
https://help.ubuntu.com/community/PortableDevices/iPhone



[ Reply to This | # ]