<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Veinhammer</title>
	<atom:link href="http://veinhammer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://veinhammer.wordpress.com</link>
	<description>bleed on disconnect</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:26:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='veinhammer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Veinhammer</title>
		<link>http://veinhammer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://veinhammer.wordpress.com/osd.xml" title="Veinhammer" />
	<atom:link rel='hub' href='http://veinhammer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Motorola RAZR V3 USB File Transfer + Ringtones with Ubuntu Linux</title>
		<link>http://veinhammer.wordpress.com/2006/05/18/motorola-razr-ubuntu-linux/</link>
		<comments>http://veinhammer.wordpress.com/2006/05/18/motorola-razr-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 18 May 2006 22:56:43 +0000</pubDate>
		<dc:creator>veinhammer</dc:creator>
				<category><![CDATA[destroy]]></category>
		<category><![CDATA[mobile phones]]></category>

		<guid isPermaLink="false">https://veinhammer.wordpress.com/2006/05/02/motorola-razr-ubuntu-linux/</guid>
		<description><![CDATA[Transfer ringtones created in Audacity to a Motorola Razr in Linux using moto4lin. This article will outline how to get moto4lin on an Ubuntu Breezy system and transfer files to the Motorola RAZR v3 using a mini-usb cable. I had to compile moto4lin, an alpha motorola filesystem viewer, to transfer files through USB. Install the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=veinhammer.wordpress.com&amp;blog=209660&amp;post=3&amp;subd=veinhammer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Transfer ringtones created in <a href="http://audacity.sourceforge.net">Audacity</a> to a Motorola Razr in Linux using <a href="http://moto4lin.sourceforge.net">moto4lin</a>. This article will outline how to get moto4lin on an Ubuntu Breezy system and transfer files to the Motorola RAZR v3 using a mini-usb cable.</p>
<p><span id="more-3"></span>I had to compile <a href="http://moto4lin.sourceforge.net">moto4lin</a>, an alpha motorola filesystem viewer, to transfer files through USB.</p>
<blockquote><p>Install the compiler, development libraries, and download the required files (<a href="http://sourceforge.net/project/showfiles.php?group_id=132142">moto4lin and p2k</a>):</p>
<pre>$ sudo aptitude install g++ libusb-dev libqt3-headers

$ wget http://easynews.dl.sourceforge.net/sourceforge/moto4lin/moto4lin-0.3.tar.bz2
$ wget http://easynews.dl.sourceforge.net/sourceforge/moto4lin/p2kmoto-0.1-rc1.tar.gz
$ tar zxvfj moto4lin-0.3.tar.bz2
$ tar zxvf p2kmoto-0.1-rc1.tar.gz</pre>
<p>Compile and install p2kmoto and moto4lin. I like to compile using my home directory as the prefix so when my OS goes haywire I can recover the files I&#39;ve custom compiled.:</p>
<pre>$ cd p2kmoto-0.1
$ ./configure --prefix=$HOME/local &amp;&amp; make &amp;&amp; make install
$ cd moto4lin-0.3
$ ./configure --prefix=$HOME/local &amp;&amp; make &amp;&amp; make install</pre>
</blockquote>
<p>Now plug up your phone and execute moto4lin as root (make sure ~/local/bin is in your PATH). You should be able to click the Connect/Disconnect button. At this point the filesystem should be available.</p>
<h2>Ringtones</h2>
<p>Next the ringtones have to be created. The Motorola RAZR V3 happens to support mp3 ringtones, however they have to fit the following criteria in order to work properly:</p>
<table>
<tr>
<td>File Type</td>
<td>Sampling Frequency</td>
<td>Bit Depth</td>
<td>Mono/Stereo</td>
<td>Bit-rate (kbps)</td>
</tr>
<tr>
<td>MP3</td>
<td>44.1kHz</td>
<td>16</td>
<td>Mono</td>
<td>64</td>
</tr>
<tr>
<td>MP3</td>
<td>24kHz</td>
<td>16</td>
<td>Stereo</td>
<td>40</td>
</tr>
<tr>
<td>MP3</td>
<td>24kHz</td>
<td>16</td>
<td>Mono</td>
<td>40</td>
</tr>
<tr>
<td>MP3</td>
<td>16kHz</td>
<td>16</td>
<td>Stereo</td>
<td>40</td>
</tr>
<tr>
<td>MP3</td>
<td>16kHz</td>
<td>16</td>
<td>Mono</td>
<td>32</td>
</tr>
</table>
<p>That will make more sense once we install audacity and start a new project. We&#39;ll also need the <a href="http://lame.sourceforge.net/">lame</a> mp3 encoding library later, so we can go ahead and download and compile that too.</p>
<blockquote>
<pre>$ sudo aptitude install audacity
$ wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97b2.tar.gz
$ tar zxvf lame-3.97b2.tar.gz
$ cd lame-3.97
$ ./configure --prefix=$HOME/local &amp;&amp; make &amp;&amp; make install</pre>
</blockquote>
<p>Now run audacity. Select a project rate of 44100Hz (at the bottom) and click &quot;New Audio Track&quot; in the &quot;Project&quot; menu. This is where you&#39;ll paste your sound clip. In the same window, open your the WAV file of that mp3 you&#39;re itching to hear on your phone. I used the audacity Trim function in the Edit menu to get the part of the track I wanted to be a ringtone. Then hit CTRL-A to select all of the track and CTRL-C to copy it. Then click back over to your empty audio track and hit CTRL-V to paste the audio into your Mono 44.1kHz track. Now we have to set the proper MP3 encoding bittrate. Choose Preferences from the File menu and &quot;40&quot; as the bittrate. Now, click &quot;Export as MP3&quot; from the File menu. Audacity will prompt you to tell it where your lame mp3 encoding library is. Point to the appropriate file, hit Ok and the export MP3 window should be available. Tell audacity where to save the file and voila, you&#39;ve made an MP3 Ringtone.</p>
<p>Almost there. Now if your phone is still hooked up, go to moto4lin, connect to your phone, and click on the &quot;audio&quot; directory within the mobile&#39;s filesystem. Click upload, then select the ringtone. Next, delete the two Motorola database files &quot;MyToneDB.db&quot; and &quot;TempToneDB.db&quot; from the audio directory. I&#39;m not exactly sure what these files do, but I do know that they will not allow you to &quot;Attach as Ringtone&quot; or allow you to select your MP3 from the &quot;Calls&quot; menu within the RAZR. Hold down the red disconnect button to turn off the phone, then turn it back on.</p>
<p>At this point, make sure the phone is not set to Silent or Vibrate. Go to Audio from your &quot;My Stuff&quot; icon and select your ringtone. Then hit menu (dot) button above the select pad to bring up the menu options. Select &quot;Apply as Ringtone.&quot; Finally, ask someone to call you.</p>
<p>Thats it. Homebrew ringtones on the Motorola RAZR V3.</p>
<pre></pre>
<pre></pre>
<blockquote></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/veinhammer.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/veinhammer.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/veinhammer.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/veinhammer.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/veinhammer.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=veinhammer.wordpress.com&amp;blog=209660&amp;post=3&amp;subd=veinhammer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://veinhammer.wordpress.com/2006/05/18/motorola-razr-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aa8d44a23d8c170080cceb41523decb0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">veinhammer</media:title>
		</media:content>
	</item>
		<item>
		<title>kmobiletools in Ubuntu Linux</title>
		<link>http://veinhammer.wordpress.com/2006/05/08/kmobiletools-in-ubuntu-linux/</link>
		<comments>http://veinhammer.wordpress.com/2006/05/08/kmobiletools-in-ubuntu-linux/#comments</comments>
		<pubDate>Mon, 08 May 2006 22:36:38 +0000</pubDate>
		<dc:creator>veinhammer</dc:creator>
				<category><![CDATA[destroy]]></category>
		<category><![CDATA[mobile phones]]></category>

		<guid isPermaLink="false">https://veinhammer.wordpress.com/2006/05/08/kmobiletools-in-ubuntu-linux/</guid>
		<description><![CDATA[Got a GSM phone? Wanna sync your address book and dial numbers from your PC? Yeah, I don&#39;t either. Nevertheless, this article describes how to install kmobiletools on to Ubuntu Linux for phone diagnostic fun!&#160; First I have to upgrade Ubuntu Breezy to Dapper to get kmobiletools. I prepped for the upgrade by making sure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=veinhammer.wordpress.com&amp;blog=209660&amp;post=4&amp;subd=veinhammer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Got a GSM phone? Wanna sync your address book and dial numbers from your PC? Yeah, I don&#39;t either. Nevertheless, this article describes how to install <a href="http://www.kmobiletools.org">kmobiletools</a> on to Ubuntu Linux for phone diagnostic fun!&nbsp;<span id="more-4"></span></p>
<p>First I have to upgrade Ubuntu Breezy to Dapper to get kmobiletools. I prepped for the upgrade by making sure Breezy was updated:</p>
<blockquote>
<pre>$ sudo aptitude update
$ sudo aptitude upgrade</pre>
</blockquote>
<p>Then I backed up /etc/apt/sources.list and used sed to re-set sources.list.</p>
<blockquote>
<pre>$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
$ sudo sed -i &#39;s/breezy/dapper/&#39; /etc/apt/sources.list</pre>
</blockquote>
<p>Now I can do a dist-upgrade to bring Ubuntu up to Dapper, all the while hoping nothing breaks.</p>
<blockquote>
<pre>$ sudo aptitude dist-upgrade&nbsp;</pre>
</blockquote>
<p>Once that is finished, install kmobiletools the easy way:</p>
<blockquote>
<pre>$ sudo aptitude install kmobiletools</pre>
</blockquote>
<p>Next, I created the device node and installed the usbserial module.</p>
<blockquote>
<pre>$ sudo mknod  /dev/ttyACM0 c 166 0

$ sudo modprobe usbserial&nbsp;</pre>
</blockquote>
<p>Then, I plugged in my phone and fired up kmobiletools and set the mobile device to /dev/ttyACM0. If you take a look at dmesg now, you should see the following:</p>
<blockquote>
<pre>[4295144.029000] usb 2-1: new full speed USB device using ohci_hcd and address 6

[4295144.173000] usb 2-1: configuration #1 chosen from 2 choices

[4295189.450000] cdc_acm 2-1:1.0: ttyACM0: USB ACM device

[4295189.459000] usbcore: registered new driver cdc_acm

[4295189.459000] drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model d

river for USB modems and ISDN adapters</pre>
</blockquote>
<p>Excellent. Note that the line about the ACM device doesn&#39;t appear until kmobiletools is running and the device is set to /dev/ttyACM0. You should see your signal and power levels active in the kmobiletools box. You could even dial a number in &quot;Mobile Phone Functions&quot; or import your Phonebook.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/veinhammer.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/veinhammer.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/veinhammer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/veinhammer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/veinhammer.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=veinhammer.wordpress.com&amp;blog=209660&amp;post=4&amp;subd=veinhammer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://veinhammer.wordpress.com/2006/05/08/kmobiletools-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aa8d44a23d8c170080cceb41523decb0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">veinhammer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
