<?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/"
	>

<channel>
	<title>ostebaronen.dk &#187; Linux</title>
	<atom:link href="http://ostebaronen.dk/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostebaronen.dk</link>
	<description>write letters and shit, yo!</description>
	<lastBuildDate>Wed, 07 Jul 2010 00:43:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Udev rules for Nexus One and Dream/Magic</title>
		<link>http://ostebaronen.dk/udev-rules-for-nexus-one/</link>
		<comments>http://ostebaronen.dk/udev-rules-for-nexus-one/#comments</comments>
		<pubDate>Fri, 14 May 2010 21:28:08 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Driver]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HTC Nexus One]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[Nexus One]]></category>
		<category><![CDATA[One]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=400</guid>
		<description><![CDATA[Just found out that I had to change my udev rules for my Nexus One to work with my laptop, which I had made rules for to work with my HTC Magic &#8211; the vendor IDs have changed a bit for the Nexus One, so for the Nexus One I use the following rules which [...]]]></description>
			<content:encoded><![CDATA[<p>Just found out that I had to change my udev rules for my Nexus One to work with my laptop, which I had made rules for to work with my HTC Magic &#8211; the vendor IDs have changed a bit for the Nexus One, so for the Nexus One I use the following rules which reside in /etc/udev/rules.d/50-android.rules</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, SYSFS<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;18d1&quot;</span>, <span style="color: #007800;">MODE</span>=<span style="color: #ff0000;">&quot;0660&quot;</span>, <span style="color: #007800;">GROUP</span>=<span style="color: #ff0000;">&quot;plugdev&quot;</span>
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, SYSFS<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0bb4&quot;</span>, <span style="color: #007800;">MODE</span>=<span style="color: #ff0000;">&quot;0660&quot;</span>, <span style="color: #007800;">GROUP</span>=<span style="color: #ff0000;">&quot;plugdev&quot;</span>
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;18d1&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idProduct<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;4e12&quot;</span>, SYMLINK+=<span style="color: #ff0000;">&quot;android_adb&quot;</span>
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0bb4&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idProduct<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0fff&quot;</span>, SYMLINK+=<span style="color: #ff0000;">&quot;android_fastboot&quot;</span></pre></td></tr></table></div>

<p>This works well with both adb and fastboot.</p>
<p>Oh and for reference I had the following rules for my Magic which ought to work with the Dream as well:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, SYSFS<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0bb4&quot;</span>, <span style="color: #007800;">MODE</span>=<span style="color: #ff0000;">&quot;0660&quot;</span>, <span style="color: #007800;">GROUP</span>=<span style="color: #ff0000;">&quot;plugdev&quot;</span>
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0bb4&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idProduct<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0fff&quot;</span>, SYMLINK+=<span style="color: #ff0000;">&quot;android_fastboot&quot;</span>
<span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb|usb_device&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idVendor<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0bb4&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>idProduct<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0c02&quot;</span>, SYMLINK+=<span style="color: #ff0000;">&quot;android_adb&quot;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/udev-rules-for-nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install batches of apps through adb</title>
		<link>http://ostebaronen.dk/install-batches-of-apps-through-adb/</link>
		<comments>http://ostebaronen.dk/install-batches-of-apps-through-adb/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 13:19:39 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Language]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=291</guid>
		<description><![CDATA[I made a small script just to test the syntax highlighting plug-in I installed for WordPress. So here it goes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #!/bin/bash # Scipt that installs a batch of apk files on an Android device, # through the adb tool from Android [...]]]></description>
			<content:encoded><![CDATA[<p>I made a small script just to test the syntax highlighting plug-in I installed for WordPress. So here it goes:<br />
<span class="notranslate"></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># Scipt that installs a batch of apk files on an Android device,</span>
<span style="color: #666666; font-style: italic;"># through the adb tool from Android SDK.</span>
<span style="color: #007800;">adbPath</span>=<span style="color: #ff0000;">&quot;/home/tomasz/android/android-sdk/tools/adb&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: <span style="color: #780078;">`basename $0`</span> foldername&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> f <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #007800;">$adbPath</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$f</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p></span><br />
The script is very simple and installs apk files in a folder through adb (Android Debug Bridge). This of course requires the Android SDK and a some kind of a Linux distribution.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/install-batches-of-apps-through-adb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash script for pushing files and folders through adb</title>
		<link>http://ostebaronen.dk/bash-script-for-pushing-files-and-folders-through-adb/</link>
		<comments>http://ostebaronen.dk/bash-script-for-pushing-files-and-folders-through-adb/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 14:52:35 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=277</guid>
		<description><![CDATA[I have made a script for pushing files and folders through adb to the SDcard of an Android device. This can be used in combination with nautilus for right-clicking on folders to push it. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a script for pushing files and folders through adb to the SDcard of an Android device. This can be used in combination with nautilus for right-clicking on folders to push it.<br />
<span class="notranslate"></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># Script for pushing files and folders through adb.</span>
<span style="color: #666666; font-style: italic;"># Can also be used without nautilus.</span>
<span style="color: #666666; font-style: italic;"># Feel free to edit and distribute as much as you want.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># if you want dialogs set dialog_enable=1 else dialog_enable=0</span>
<span style="color: #007800;">dialog_enable</span>=<span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Write the entire path to adb here</span>
<span style="color: #007800;">adbPath</span>=<span style="color: #ff0000;">&quot;/home/tomasz/AndroidSDK/tools/adb&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> dialogs <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$dialog_enable</span> = <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;/usr/bin/gdialog&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                        gdialog <span style="color: #660033;">--title</span> <span style="color: #ff0000;">&quot;adb push&quot;</span> <span style="color: #660033;">--msgbox</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000;">200</span> <span style="color: #000000;">200</span>
                <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;/usr/bin/Xdialog&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                        Xdialog <span style="color: #660033;">--title</span> <span style="color: #ff0000;">&quot;adb push&quot;</span> <span style="color: #660033;">--msgbox</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
                <span style="color: #000000; font-weight: bold;">else</span>
                        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;No dialog program present&quot;</span>
                <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>    <span style="color: #666666; font-style: italic;"># If arguments not equal 1, complain!</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage - $0 file&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;or - $0 directory&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">$adbPath</span> shell <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #ff0000;">&quot;/sdcard/<span style="color: #780078;">`basename &quot;$1&quot;`</span>&quot;</span>  <span style="color: #666666; font-style: italic;"># Create the directory on SDcard</span>
        <span style="color: #007800;">$adbPath</span> push <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #ff0000;">&quot;/sdcard/<span style="color: #780078;">`basename &quot;$1&quot;`</span>&quot;</span>    <span style="color: #666666; font-style: italic;"># Push files in the folder to folder on SDcard</span>
        dialogs <span style="color: #ff0000;">&quot;Folder $1 was pushed&quot;</span>
<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">$adbPath</span> push <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>    <span style="color: #666666; font-style: italic;"># Push single file to SDcard</span>
        dialogs <span style="color: #ff0000;">&quot;$1 was pushed&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Gurumeditation!&quot;</span>    <span style="color: #666666; font-style: italic;"># Oops!</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></td></tr></table></div>

<p></span><br />
Download the script by using this link: <a href="../android/adbpush.sh">http://ostebaronen.dk/android/adbpush.sh</a></p>
<p>In order to have it in your right-click menu in Nautilus place the script in: <em>~/.gnome2/nautilus-scripts/</em> and run <em>chmod u+x ~/.gnome2/nautilus-scripts/</em>. Now you should see the script in your right click menu under scripts in Nautilus.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/bash-script-for-pushing-files-and-folders-through-adb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiled my own CM kernel!</title>
		<link>http://ostebaronen.dk/compiled-my-own-cm-kernel/</link>
		<comments>http://ostebaronen.dk/compiled-my-own-cm-kernel/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 16:47:57 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Compiling]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=210</guid>
		<description><![CDATA[Awesome, I got it working. My own compiled Linux Kernel from CyanogenMod&#8217;s repository. It boots and wlan does also work. Great success! The process of doing so is pretty straight forward. I followed a post, by a guy called bcrook at XDA-developers had made to help some other person, with slight modifications. This guide requires [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ostebaronen.dk/wp-content/uploads/2009/10/device.png"><img class="alignright size-medium wp-image-226" title="Settings menu" src="http://ostebaronen.dk/wp-content/uploads/2009/10/device-200x300.png" alt="Settings menu" width="200" height="300" /></a></p>
<p>Awesome, I got it working. My own compiled Linux Kernel from CyanogenMod&#8217;s repository. It boots and wlan does also work. Great success!</p>
<p>The process of doing so is pretty straight forward. I followed <a title="Bcrook helping Hotweiss" href="http://forum.xda-developers.com/showpost.php?p=4576850&amp;postcount=8">a post</a>, by a guy called <a title="bcrook" href="http://forum.xda-developers.com/member.php?u=1839316">bcrook</a> at <a title="XDA-developers forum" href="http://forum.xda-developers.com">XDA-developers</a> had made to help some other person, with slight modifications.</p>
<p>This guide requires you to run a Linux based system, since the compilers are made for this system. You might as well have some luck with Cygwin, but I wouldn&#8217;t count on it.</p>
<p>So here is what I did to get it working.</p>
<ol>
<li>First get the <a title="Android source download" href="http://source.android.com/download">android source</a> and build it. You will need JDK, curl and git and probably also some other tools to get this working.<br />
<code>curl http://android.git.kernel.org/repo &gt;~/bin/repo<br />
chmod a+x ~/bin/repo<br />
mkdir  &lt;Android source dir&gt; &amp;&amp; cd &lt;Android source dir&gt;<br />
repo init -u git://android.git.kernel.org/platform/manifest.git<br />
</code><br />
When it is done build it.<code><br />
make</code></li>
<li>Now we have the tools and compilers ready so we just need to add them to our <em>PATH</em>.<code><br />
export PATH=$PATH:~/&lt;Android source dir&gt;/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin<br />
</code></li>
<li>Grab the CyanogenMod kernel from his GIT repo. Make sure to get the correct branch or you will see a lot of errors while compiling!<br />
<code>git clone git://github.com/cyanogen/cm-kernel.git<br />
git branch -r<br />
git checkout --track -b cm-2.6.29-bfs origin/android-2.6.29-bfs</code></li>
<li>Now get a configuration for the kernel. You can pull an existing one from you phone, it is found in /proc/config.gz or you can use your own. This needs to be put in your cm-kernel dir, where you will se a lot of folders and such.<br />
<code>zcat config.gz &gt; ~/cm-kernel/.config</code></li>
<li>Apply any patches to the kernel now.</li>
<li>Build it! This is done easily it is here the PATH we exported earlier comes in handy.<br />
<code>cd ~/cm-kernel<br />
make ARCH=arm CROSS_COMPILE=arm-eabi-</code><br />
Wait for it to get done. The built kernel will be in arch/arm/boot/zImage</li>
<li>Now we just need to build the wlan.ko module, so we can get some WiFi on our phone.<code>cd &lt;Android source dir&gt;/system/wlan/ti/sta_dk_4_0_4_32<br />
make KERNEL_DIR="&lt;kernel source dir&gt;" ARCH=arm</code><br />
The kernel is now built!</li>
</ol>
<p>Last thing to do is to pack it into a boot.img <a title="Repack boot.img" href="http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images">instructions can be found on android-dl&#8217;s Wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/compiled-my-own-cm-kernel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New host for the blog, GoTekky!</title>
		<link>http://ostebaronen.dk/new-host-for-the-blog-gotekky/</link>
		<comments>http://ostebaronen.dk/new-host-for-the-blog-gotekky/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:40:40 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GoTekky]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Site updates]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=177</guid>
		<description><![CDATA[My brother and I share the same host, and have been experiencing some problems with the old one, which was Gigahost.dk. Their MySQL service didn&#8217;t work as well as intended, and often just did not work. Therefore we decided to get our own Virtual Private Server (VPS) at GoTekky.com, which is a server host, who [...]]]></description>
			<content:encoded><![CDATA[<p>My brother and I share the same host, and have been experiencing some problems with the old one, which was Gigahost.dk. Their MySQL service didn&#8217;t work as well as intended, and often just did not work.</p>
<p>Therefore we decided to get our own Virtual Private Server (VPS) at GoTekky.com, which is a server host, who has their servers located at CANIX. So now we have got a small VPS with 128 MB RAM, though 256 MB bursted, 15 GB harddisk space and 100 GB bandwith pr. month. All this costs 60 USD each year, which is very cheap considered you can do practically anything with the server! The server is by the way running CentOS with Kloxo panel, which seems to work very well!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/new-host-for-the-blog-gotekky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First impressions with Android and BFS.</title>
		<link>http://ostebaronen.dk/first-impressions-with-android-and-bfs/</link>
		<comments>http://ostebaronen.dk/first-impressions-with-android-and-bfs/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:01:59 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[BFS]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=173</guid>
		<description><![CDATA[Yesterday I tried out the newest version of Cyanogen&#8217;s experimental branch of his ROM, which includes a lot of new features and code from Donut, but also a lot of nice Linux kernel tweaks such as BFS, which is a scheduler aimed towards slow hardware. It seems that it looks up to it&#8217;s promise because [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I tried out the newest version of Cyanogen&#8217;s experimental branch of his ROM, which includes a lot of new features and code from Donut, but also a lot of nice Linux kernel tweaks such as BFS, which is a scheduler aimed towards slow hardware. It seems that it looks up to it&#8217;s promise because the experience with the Linux kernel with BFS was pretty good.</p>
<p>Everything about the whole system feels a lot snappier. Menues are not choppy, scrolling the app list is fluid, switching between the desktops is painless aswell. Execution of applications is very fast aswell! I really hope that Google implements BFS or a simillar scheduler in their future kernel releases, because this really kicks ass. And with the new HTC Tattoo comming with a more optimized CPU, I think it will kick a lot off buttocks when it gets combined with a better scheduler.</p>
<p>So all in all. BFS is awesome. If it does not work for you as I state, you might be doing something wrong <img src='http://ostebaronen.dk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a title="FAQS about BFS" href="http://ck.kolivas.org/patches/bfs/bfs-faq.txt" target="_blank">Read more about BFS</a></p>
<p><a title="CyanogenMOD at XDA-developers" href="http://forum.xda-developers.com/showthread.php?t=539744" target="_blank">Read more about Cyanogens ROM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/first-impressions-with-android-and-bfs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Import a contact list from a CSV file to your Android</title>
		<link>http://ostebaronen.dk/import-a-contact-list-from-a-csv-file-to-your-android-phone/</link>
		<comments>http://ostebaronen.dk/import-a-contact-list-from-a-csv-file-to-your-android-phone/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 08:56:41 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Contacts]]></category>
		<category><![CDATA[Converting]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=169</guid>
		<description><![CDATA[If you keep a spreadsheet file with all your contacts you can easily import them to your phone. This is done by uploading the CSV file to your gmail account where you import it. First step: Save a CSV file Follow the Gmail Help page, which describes what your columns are supposed to be called [...]]]></description>
			<content:encoded><![CDATA[<p>If you keep a spreadsheet file with all your contacts you can easily import them to your phone. This is done by uploading the CSV file to your gmail account where you import it.</p>
<p><strong>First step: Save a CSV file</strong></p>
<p>Follow the <a title="Gmail Help" href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=12119" target="_blank">Gmail Help page</a>, which describes what your columns are supposed to be called and so on. Save the file to a CSV file.</p>
<p><strong>Second step: Importing the CSV file to Gmail</strong></p>
<ol>
<li>Sign in to Gmail</li>
<li>Click <strong>Contacts</strong> (located below your list of views) on any Gmail page.</li>
<li>Click <strong>Import</strong> in the top portion of the Contact Manager.</li>
<li>Click the <strong>Browse&#8230;</strong> or <strong>Choose File</strong> button and locate the CSV file you&#8217;d like to upload.</li>
<li>Select the file and click the <strong>Import</strong> button.</li>
</ol>
<p>If some of the fields in the CSV file are left out Gmail will tell you why. Also a smart thing is to make a <strong>C</strong><strong>ategory </strong>for your contacts, this way you can delete them all again if you made a big mistake.</p>
<p>Many thanks to <a title="Google Android Bruger Blog - How to import CSV to Gmail" href="http://androidbruger.blogspot.com/2009/09/importer-kontaktliste-fra-excel-til.html" target="_blank">Google Android Bruger Blog</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/import-a-contact-list-from-a-csv-file-to-your-android-phone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change the animated boot screen on HTC Magic (Google builds)</title>
		<link>http://ostebaronen.dk/change-the-animated-boot-screen-on-htc-magic-google-builds/</link>
		<comments>http://ostebaronen.dk/change-the-animated-boot-screen-on-htc-magic-google-builds/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 16:59:35 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Modification]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=157</guid>
		<description><![CDATA[NOTICE, some autosigners and sign programs do not work on Vista and Windows 7, either use Windows XP, MacOS or Linux for signing. The other thread about changing the animated boot screen on HTC Magic, seems to only work on HTC builds, which implement the ability to have animated boot screens through a simple gif [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTICE</strong>, some autosigners and sign programs do not work on Vista and Windows 7, either use Windows XP, MacOS or Linux for signing.</p>
<p>The other thread about changing the animated boot screen on HTC Magic, seems to only work on HTC builds, which implement the ability to have animated boot screens through a simple gif image. This does unfortunately not apply to the Google build ROMs, therefore we need to avail ourselfs of another method of changing the boot screen, which also is more complicated.</p>
<p>First we need to pull the framework-res.apk which resides in /system/framework/ from a update.zip for a full ROM.</p>
<p>Next unpack the file somewhere, inside the folder assets/images there should be two or more png images. They are called:</p>
<p><strong>android-logo-mask.png</strong></p>
<p><strong><img class="alignnone size-full wp-image-159" title="android-logo-mask" src="http://ostebaronen.dk/wp-content/uploads/2009/08/android-logo-mask.png" alt="android-logo-mask" width="256" height="64" /></strong></p>
<p><strong> </strong><strong>android-logo-shine.png</strong></p>
<p><strong><img class="alignnone size-full wp-image-160" title="android-logo-shine" src="http://ostebaronen.dk/wp-content/uploads/2009/08/android-logo-shine.png" alt="android-logo-shine" width="512" height="64" /></strong></p>
<p>And can look like the images above. Those are the two files we need to edit or remake to our likings.</p>
<p>As you maybe can se the letters and the android in the first image are transparent, which means the shine will be shown on the phone it self as background image. This is as far as I know the only possibility of having a animated boot screen on the Google build ROMs, which is not as fancy as the animated gif images that you can make for the HTC build ROMs.</p>
<p>For this guide I will use the same splash image I am using for the first non animated splash screen.</p>
<p><img class="alignnone" title="Android splash" src="http://ostebaronen.dk/android/splash/android1.png" alt="" width="320" height="480" /></p>
<p>As you can see it does not contain any transparent areas, I am going to turn the outline of the android and the lettering transparent and change the color of the shine. You can do that in any photo editing program such as GIMP, photoshop and Paint.net, and I will not guide you through that. The result is as follows.</p>
<p><img class="alignnone size-full wp-image-163" title="transparentandroid" src="http://ostebaronen.dk/wp-content/uploads/2009/08/transparentandroid.png" alt="transparentandroid" width="320" height="480" /></p>
<p><img class="alignnone size-full wp-image-165" title="android-logo-shine" src="http://ostebaronen.dk/wp-content/uploads/2009/08/android-logo-shine1.png" alt="android-logo-shine" width="512" height="64" /></p>
<p>Now that I have to two images, I overrite the images in framework-res/assets/images, zip the file and rename it back to framework-res.apk and put it back in the update.zip, then sign it according to <a title="Application signing" href="http://developer.android.com/guide/publishing/app-signing.html">android developers</a>. Now flash it to your phone and you should be seeing it next time you boot your phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/change-the-animated-boot-screen-on-htc-magic-google-builds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing accelerometer on HTC Magic</title>
		<link>http://ostebaronen.dk/fixing-accelerometer-on-htc-magic/</link>
		<comments>http://ostebaronen.dk/fixing-accelerometer-on-htc-magic/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 16:46:43 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[HTC Magic]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=148</guid>
		<description><![CDATA[From time to time when you change ROM&#8217;s on your HTC Magic the accelerometer goes crazy and won&#8217;t read any values, which means no rotation of the screen and the compas will not respond either. This is fixed by deleting the file that contains previous data about the positioning. The reason for this is when [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time when you change ROM&#8217;s on your HTC Magic the accelerometer goes crazy and won&#8217;t read any values, which means no rotation of the screen and the compas will not respond either. This is fixed by deleting the file that contains previous data about the positioning. The reason for this is when you sometimes forget to wipe before applying new ROM&#8217;s old data is stored and messes up the accelerometer.</p>
<p>Reboot your phone in Recovery mode (<strong>home+end/power</strong>)</p>
<pre><code>adb shell</code></pre>
<pre><code>mount -o rw /dev/block/mtdblock5 /data</code></pre>
<pre><code>rm /data/misc/akmd* /data/misc/rild*</code></pre>
<p>Now reboot the phone and everything should be working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/fixing-accelerometer-on-htc-magic/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Change the animated boot screen on HTC Magic (HTC Builds)</title>
		<link>http://ostebaronen.dk/change-the-second-boot-screen/</link>
		<comments>http://ostebaronen.dk/change-the-second-boot-screen/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 18:35:28 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[HTC Magic]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=137</guid>
		<description><![CDATA[You might have noticed that the first bootscreen, the one we changed in the previous guide on how to change the Android Splash, changes into some other boot image, which is animated. You might want to change that, which is super simple. This only works for HTC builds of the Android ROMs. See this post [...]]]></description>
			<content:encoded><![CDATA[<p>You might have noticed that the first bootscreen, the one we changed in the previous guide on how to change the Android Splash, changes into some other boot image, which is animated. You might want to change that, which is super simple. <strong>This only works for HTC builds of the Android ROMs.</strong></p>
<p><strong>See </strong><strong><a href="http://ostebaronen.dk/?p=157" target="_self">this post for Google Builds</a><br />
</strong><br />
The second boot screen has quite alot of possibilities, it can be animated and it can have sound. It can be made of two seperate images, one where the animation happens and a background image. You can found some of these bootscreens here: <a title="Link to 2nd splash images on Android phones" href="http://ostebaronen.dk/android/2nd_splash/" target="_blank">2nd splash images</a></p>
<p>Now when you have the image(s) and the sound file we need to edit the <strong>boot_animation.xml </strong>file to contain the file names of the images and the soundfile you want to show up upon boot. Here is an example of how it can look:</p>
<pre><code>
&lt;BootConfiguration&gt;
 &lt;BootAnimation
    image="/system/media/boot.gif"
    audio="/system/media/boot.mp3"
    image2="/system/media/boot2.gif"
    image3="/system/media/boot3.gif"
    screenX="100"
    screenY="130"
    image_bg = "/system/media/boot_bg.gif"
    useAudio="1" // 1: true ; 0:false
 /&gt;
&lt;/BootConfiguration&gt;

</code></pre>
<p>Everything except the image entry is optional. So if you don&#8217;t want to have sound you do not need to have it in the file. The screenX and screenY are offsets if you are using image_bg along with a smaller image that doesn&#8217;t fit the whole screen, it is for positioning it on the screen.</p>
<p>When you are done editing the file save it as <strong>boot_animation.xml</strong> and now we can push all the files to the phone. Remember to remount the /system partition with the rw option</p>
<pre><code>adb shell mount -o rw,remount /dev/block/mtdblock3 /system</code></pre>
<pre><code>adb push boot_animation.xml /system/media/</code></pre>
<pre><code>adb push boot.gif /system/media/</code></pre>
<p>Do so with every file mentioned in the boot_animation.xml file and reboot your phone to see the final result.<br />
Enjoy <img src='http://ostebaronen.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>EDIT:<br />
<span style="font-weight: normal;">Apparently some ROM&#8217;s have their bootscreen stuff in /system/media/bootscreen/ rather than just in the media folder.</span> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/change-the-second-boot-screen/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
