The BlackBerry in a World without Windows
(I have obscured my device and pin numbers in the above output.)
Barry's btool offers a lot of functionality, and I encourage you to do a man btool to learn more.
To back up my phone's databases, I used the barrybackup application. The installer did not set the program to setuid root, which is required. I had to sudo chmod +s /usr/local/bin/barrybackup before the program would work correctly.
Simply click the Backup button, and all databases are backed up. You can configure which databases are backed up and also choose to restore only certain databases, by clicking Edit→Config. Backups are stored as tar.gz files in ~/.barry/backup/FFFFFFFF, where that last hex number is your device PIN.
I got this phone specifically to replace my MP3 player. It has excellent sound and video quality (given the tiny screen's limitations), and a high-capacity microSD card can hold a lot of music. Of course, given that the card must hold music, video, photos taken with the built-in camera, ebooks and everything else, you will want to use the most efficient file formats.
First, let's discuss music. The Curve supports MP3, AAC, MIDI and WMA files for audio. Because I'm trying to use free tools as much as possible, WMA and AAC formats are problematic, leaving me with MP3. (MIDI is a specialized format not usable for recorded music.) MP3 files also are supported in fapg (see below).
For CD audio, I use A Better CD Encoder (abcde) to rip the CD, with the command:
abcde -o mp3
This rips the CD into MP3 files in the current directory. As abcde uses lame for MP3 encoding, you can control the details of the files created to the finest detail, but the default settings actually are more than good enough for me.
The video screen on the Curve has a resolution of 320x240. It accepts video in MP4, 3GP and WMV formats. Obviously, we free-software types prefer to use MP4 (even if it's a patented format) over WMV. I'm not aware of any good free tools to create 3GP (Third-Generation Phone) files.
The Swiss Army knife of free software video encoders is FFmpeg. For Debian distributions, you can obtain it by adding the repository at debian-multimedia.org to your /etc/apt/sources.list, then running sudo apt-get update && sudo apt-get install ffmpeg. Starting with any supported video, converting is as simple as this command:
ffmpeg -i myvideo.avi -s 320x240 -b 64k --ab 64k myvideo.mp4
This sets the dimensions to 320x240, and the audio and video bitrates to 64kbps. You can adjust these settings to taste. Note that the Curve can play back video compressed using only the MPEG 4 Part Two Advanced Simple Protocol (ASP). H.264, or MPEG 4 Advanced Video Codec, is not supported.
Transferring audio and video files to the handset can be done with cp or a file manager like Krusader. Audio files should be stored in /Blackberry/music, and video in /Blackberry/videos. You can create subfolders within these for your own convenience, but the handset will ignore them and catalog the media based only on metadata (also known as ID3 tags) embedded in the files. Music can be viewed by Artist, Album, Genre or Playlists. The Media application works with M3U playlists, which can be created using fapg (the FAst Playlist Generator, see Resources). M3U playlists are simple text files and can be modified using any editor.
When the Curve is disconnected from your computer, the Media application scans the music and video directories and generates lists of available audio and video files. This takes a few minutes, depending on how much is stored on the microSD card. Your songs may not be available until the scan is complete.
NetDirect has an excellent document explaining how to sync your BlackBerry Contacts and Appointments with Evolution using Barry here: www.netdirect.ca/software/packages/barry/sync.php. To do so requires that you install the Debian packages multisync-tools and libopensync0.
Before synchronizing, you must create a sync group that includes Evolution and the Barry opensync plugin (Listing 1).
Listing 1. Setting Up msynctool to Work with Evolution and the BlackBerry
msynctool --addgroup evo-barry # Create the sync group msynctool --addmember evo-barry evo2-sync # dd Evolution's OpenSync # plugin msynctool --addmember evo-barry barry-sync # Add Barry's OpenSync # plugin msynctool --configure evo-barry 1 # Opens an editor for the # evo2-sync config file msynctool --configure evo-barry 2 # Opens an editor for the # barry-sync config file
Unless you have changed the default locations of the Evolution data files, you shouldn't need to change anything in the configuration file for evo2-sync. The barry-sync default configuration file looks like Listing 2.
|Nativ Disc||Sep 23, 2016|
|Android Browser Security--What You Haven't Been Told||Sep 22, 2016|
|The Many Paths to a Solution||Sep 21, 2016|
|Synopsys' Coverity||Sep 20, 2016|
|Naztech's Roadstar 5 Car Charger||Sep 16, 2016|
|RPi-Powered pi-topCEED Makes the Case as a Low-Cost Modular Learning Desktop||Sep 15, 2016|
- Readers' Choice Awards 2013
- Android Browser Security--What You Haven't Been Told
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- The Many Paths to a Solution
- Nativ Disc
- Synopsys' Coverity
- Naztech's Roadstar 5 Car Charger
- Securing the Programmer
- RPi-Powered pi-topCEED Makes the Case as a Low-Cost Modular Learning Desktop
- Identity: Our Last Stand
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide