This guide is for jailbroken iPhone/iPod touch only
I had recently needed a quick and dirty way to backup some of my images and additional content from my jailbroken iPhone 4 to a safe and accessible location. Well, you could always backup through iTunes (or any other USB/WiFi/Bluetooth means available), but being in love with the Amazon web services I decided to utilize some available tools and backup/sync to the Amazon S3.
“S3cmd is a command line tool for uploading, retrieving and managing data in Amazon S3. It is best suited for power users who don’t fear command line. It is also ideal for scripts, automated backups triggered from cron, etc.”
There are a few prerequisites in order to get this running. You will need the following:
- Amazon account ( I will not get into details on how to create one, but if interested let me know and I’ll post a detail step-by-step)
- WiFi connection
- Computer (Mac/PC/and Linux flavor with command line)
- SSH Access to iPhone
- Wget package from Cydia
- Python from Cydia
- s3cmd tools from s3tools
So, here’s what worked for me:
The final goal was to be able to create a bucket on S3 and upload/sync some content directly to the new S3 bucket.
- Enable SSH access to the iPhone: On your iPhone go to Cydia and search for OpenSSH and install it.
- Still in Cydia, search for wget and install it as well.
- Search for Python on Cydia and install that package too.
Now we have the necessary tools on the iDevice and could continue easier from the computer.
- Go to your computer and fire up your terminal (Putty on your Win PC).
- Find out the iDevice’s IP address and ssh as root into it.
On your device go to: Settings->WiFi. Click on the blue arrow on the selected WiFi network and memorize your IP address. Mine at this time is: 192.168.0.103
SSH as root (your IP will be most likely different):
The default root password for the iOS is: alpine . At that point you will be at:
- You now need to download s3cmd by using wget:
- Unarchive the downloaded software:
Remove the downloaded archive and rename the new folder:
mv s3cmd-1.0.1/ s3cmd
- Move into the new folder and fireup s3cmd. First thing we need to do is associate the tool with your existing Amazon S3 credentials:
Access key and Secret key are your identifiers for Amazon S3
Access Key: YouRAcceSSkEy
Secret Key: YourVeryLoNGSecrEtKey
Encryption password: YourGreatPassw0rd
Path to GPG program [/usr/bin/gpg]: leave empty
Use HTTPS protocol [No]:
HTTP Proxy server name: leave empty
Access Key: YouRAcceSSkEy
Secret Key: YourVeryLoNGSecrEtKey+8A0Cs
Encryption password: YourGreatPassw0rd
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n]
Type Y and hit enter to save the configuration. We are now ready to create our bucket on S3 and end some files there.
- Create an S3 bucket
Bucket 's3://my-new-S3-bucket/' created
Now I’m ready to upload some images to my new S3 bucket. The images on my iPhone are located at:
Now I can upload the entire folder to S3:
The command above will recursively –recursive upload the entire folder to S3, it will automatically set the mime type –guess-mime-type and it will set all files to private –acl-private. If I was to set the flag to –acl-public, all of the images would become public and accessible through http/https.
In order to sync the folder, s3cmd has that option as well which is similar to the Unix rsync:
upload: /var/mobile/Media/DCIM/101APPLE/IMG_1002.JPG -> s3://my-new-S3-bucket/101APPLE/IMG_1002.JPG
upload: /var/mobile/Media/DCIM/101APPLE/IMG_1003.JPG -> s3://my-new-S3-bucket/101APPLE/IMG_1003.JPG
upload: /var/mobile/Media/DCIM/101APPLE/IMG_1007.JPG -> s3://my-new-S3-bucket/101APPLE/IMG_1007.JPG
WARNING: Exitting now because of --dry-run
I had used –dry-run to check what will get synced before I run it.
Please feel free to ask any questions. I will follow with automating this and adding it to the Springboard.
Make every photo look its best with powerful options that take the work out of image editing Create photo books, cards, calendars, and other printed mementos that look just the way you want Quickly share your photos anywhere, including on Facebook and YouTube and in fun, interactive Online Albums Enjoy your photos and videos virtually anywhere you are, and get automatic online backup with 2GB of free storage Adobe Photoshop Elements 10 software lets you turn everyday memories into sensational photos with a complete photo-editing solution
Turn everyday memories into sensational photos you’ll cherish forever. Adobe Photoshop Elements 10–the newest version of the #1 consumer photo-editing software–makes it easy to edit and create using automated options. Make flawed photos phenomenal with a brush stroke, create perfect group shots, and easily add patterns and effects. Tell your stories in unique printed creations and Online Albums, share photos with your social network, and view photos virtually anywhere you are.
The #1 Selling Consumer Photo-Editing Software
Choose a Trusted Solution
Bring your photos to life with a powerful solution from the makers of Adobe Photoshop software, the professional standard for image editing.
Do It All With One Powerful Yet Simple Product
Use Adobe Photoshop Elements 10 software for all your photo needs. Edit, enhance, and find photos; make custom creations; share via print, the web, and mobile devices; help protect photos; and view photos virtually anywhere you are.
Enjoy Your Photos on the Go
Easily share your photos with your social network and view photos virtually anywhere you are. Photos are synced between your desktop and devices so you see the same ones at home and on the go.
Easily Find All Your Photos and Video Clips
Easily find all your media in the convenient Organizer. Use automated options to find your best photos and clips–or photos of specific things and people. Then dive into a range of creative activities and start enjoying your memories.
Go From Flawed to Phenomenal in Seconds
Use one-step shortcuts to whiten teeth; make skies bluer; and fix color, contrast, and lighting–and then choose the best result from a group of adjustment previews. Instantly unclutter photos, and use crop guides to improve composition.
Dramatically Transform Your Photos With Easy-to-Use Options
Enhance specific areas of your photos with brush-on effects, including 30 all-new options. Convert your color originals to elegant, nuanced black-and-whites, or use color curves adjustments to get the perfect exposure.
Count on Step-by-Step Assistance
Want to easily fix a scratch, simulate depth of field, or design a scrapbook page? Use Guided Edits to get help with key steps so you can get the results you want fast.
Easily Create the Perfect Photo
Take advantage of amazing Photomerge technology to easily match the style of one photo to another; create fuller panoramas, perfectly lit shots, and great group shots; and combine elements of different faces for entertaining results.
Get Creative Inspiration
Bring your ideas to life with relevant how-tos that appear just when you need them. New how-tos help you explore creative possibilities.
Share Experiences in Fresh, Exciting Ways on the Web
Show off your photos and videos in one-of-a-kind, interactive Online Albums with your choice of animated templates. Share them in public or private galleries–friends and family won’t have to register to look.
Show off Your Creativity With Flexible Layouts
Make scrapbook pages, cards, and more in minutes using professionally designed templates, or customize every aspect of your creations. Get fun, fresh looks with new artwork and templates.
New in Adobe Photoshop Elements 10
Paint Effects Onto Specific Photo Areas
Simply paint on 1 of 100 effects and patterns, including 30 new options, to enhance areas of your photos. New effects include Snow, Pencil Sketch, and Oil Pastel.
Easily Create Stunning Photo Effects
Use new Guided Edits for step-by-step assistance when you want to highlight your subject by simulating depth of field, add a diffuse glow to create a dreamlike Orton Effect, or break a photo up into a fun collage of snapshots.
Add Curving, Flowing Text
Give photos or creations added flair with text that curves or flows any way you wish.
Tag Faster Using Your Facebook Friends List
Use your Facebook Friends list to quickly tag faces in your photos and easily share them on Facebook.
Find Photos That Contain Specific Objects
Want to find shots that include your surfboard, your grandma’s house, or the Eiffel Tower? Let Object Search automatically find your photos based on what’s in them.
Get Better Composition With Crop Guides
Make any photo more interesting or energetic using new crop guides. Choose either the Rule of Thirds or Golden Ratio option to create the best composition for your photo.
Easily Manage Even the Biggest Photo Library
Let Photoshop Elements automatically detect duplicate or nearduplicate photos so you can quickly group them or delete the ones you don’t need. And count on improved search to find photos that have common content and color characteristics.
Get Fresh Looks With New Templates
Impress friends and family by sharing photos in eye-catching new templates for printed photo creations and Online Albums.
Save Photo Creations With Greater Flexibility
Enjoy the flexibility to print, upload, and share your photo creations just about anywhere thanks to the ability to save to JPEG and PDF file formats.
Upload to YouTube
Upload your video clips to YouTube directly from the Organizer.
- Brand new GTMax keyboard cover.
- Soft durable rubbery silicone material.
- Perfect fit for your MacBook keyboard.
- Protect keyboard against dust, dirt & liquid.
- Reduce wear and tear on keyboard.
- Color: Black
- UPC Code:088515715183
- Does not fit older generation MacBook / MacBook Air / MacBook Pro (released before June 2009).
- Aluminum Unibody Apple MacBook – 13.3″ Display
- Aluminum Unibody Apple MacBook Air – 13.3″ Display
- Aluminum Unibody Apple MacBook Pro – 15.4″ Display
Brand new GTMax keyboard cover. UPC Code:088515715183
Samsung Data Cables provide connectivity from the handset to your computing devices and acts as a Ho Requires third-party software (not included) Consult your mobile carrier for data service availability Samsung MicroUSB to USB Charging Data Cable also allows you to charge your phone through the USB por 1 year warranty from Samsung USA
Seamless speed and performance with microSDHC – compatible devices Tested under the most extreme conditions
Kindle Touch 3G, Free 3G + Wi-Fi, 6″ E Ink Display – includes Special Offers & Sponsored Screensavers
The United States Kindle power adapter Approved charger for Kindle, Kindle Touch, Kindle Keyboard, and Kindle DX Fully charges Kindle, Kindle Touch, Kindle Keyboard, or Kindle DX in 4 hours or less See Kindle User’s Guide for instructions and important safety information