<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
		<title>Linux, TYPO3 and other Pains</title>
		<link>http://linux.bigga.de/</link>
		<description>[ daily hacking ]</description>
		<language>en-en</language>
		<generator>T3Blog 4.7.10</generator>
		
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<atom:link href="http://linux.bigga.de/blog/rss/2.0/post/?type=100" rel="self" type="application/rss+xml" />

		<copyright>Alexander Bigga</copyright>
		<managingEditor>Alexander Bigga</managingEditor>
		<webMaster>Alexander Bigga</webMaster>
		<image>
			<title>Linux, TYPO3 and other Pains</title>
			<url>http://linux.bigga.de/typo3conf/ext/t3blog/icons/rss.png</url>
			<link>http://linux.bigga.de/</link>
			<description>[ daily hacking ]</description>
		</image>
		
<item>
	<title>Sony Xperia Ray with CyanogenMod 10 (Jelly Bean)</title>
	<author>linux@bigga.de (Alexander Bigga)</author>
	<link>http://linux.bigga.de/blog/blog-post/2013/02/26/sony-xperia-ray-with-cyanogenmod-10-jelly-bean/</link>
<guid>http://linux.bigga.de/blog/blog-post/2013/02/26/sony-xperia-ray-with-cyanogenmod-10-jelly-bean/</guid>

	<pubDate>Tue, 26 Feb 2013 10:25:00 +0100</pubDate>
	<description> 							Last weekend, I decided to get rid of Sony Ericsson default firmware on my Xperia Ray phone (from 2011). Biggest problem with the Sony firmware was the so called &quot;bloatware&quot; like WhatsApp, Fac...</description><content:encoded><![CDATA[ <p>Last weekend, I decided to get rid of Sony Ericsson default firmware on my Xperia Ray phone (from 2011). Biggest problem with the Sony firmware was the so called &quot; <a href="http://en.wikipedia.org/wiki/Bloatware" class="external-link-new-window">bloatware </a>&quot; like WhatsApp, Facebook etc. you couldn't remove. </p> <p>There are plenty of manuals on the web to do this, but it's rather confusion if you're not used to flash your android phone. </p> <p>This is, what I used and how I got it working to swith to cyanogenMod 10 (nightly). </p> <p>First the online resources: </p> <ol> <li>&nbsp; <a href="http://wiki.cyanogenmod.org/w/Install_CM_for_urushi">http://wiki.cyanogenmod.org/w/Install_CM_for_urushi </a>: The Manual on Cyanogenmod - specific for my phone </li> <li> <a href="http://www.themobimag.com/how-to-get-cm10-jellybean-on-sony-ericsson-xperia-rayst18i/">http://www.themobimag.com/how-to-get-cm10-jellybean-on-sony-ericsson-xperia-rayst18i/ </a>: good HowTo </li> <li> <a href="http://www.themobimag.com/flash-85-baseband-on-sony-ericsson-xperia-rayst18i/">http://www.themobimag.com/flash-85-baseband-on-sony-ericsson-xperia-rayst18i/ </a>: HowTo flash even the baseband firmware part </li> </ol> <p>The steps: </p> <ol> <li>Unlock the&nbsp;bootloader: <ul> <li>You have to download the Android SDK to have the tiny tool &quot;fastboot&quot;. </li> <li>Test if fastboot is working with your computer-&gt;usb-&gt;phone. To <b> enter the fastboot mode </b> you have to switch off the phone. When the phone is off you press down the volume key AND you plug in the USB-cabel. The <b>LED flashes blu </b>e now and you are in fastboot mode. </li> <li>You have to apply for an unlock code from Sony with your phonen IMEI. This code is sent by email to you. </li> <li>With the unlock code you can flash the bootloader. All user&nbsp;settings are gone afterwards! </li> </ul> </li> <li>Get current CyanogenMod nightly and place the zip-archive&nbsp;to /sdcard. Boot your phone as usual to do this. </li> <li>Put the Google Apps too:&nbsp; <a href="http://goo.im/gapps/gapps-jb-20121011-signed.zip" title="gapps" target="_blank">Gapps flashable zip </a> </li> <li>Get the file boot.img from the zip-archive and place it on your PC. </li> <li>Put the phone in fastboot mode and flash the boot.img onto the device and reboot it afterwards: <ul> <li> fastboot -i 0xfce flash boot boot.img </li> <li> fastboot -i 0xfce reboot </li> </ul> </li> <li> <b>Wipe data/factory reset&nbsp; </b>and install the zip-archive and afterwards the Google Apps. </li> <li>Reboot and wait... 10 minutes for the first time </li> </ol> <p>&nbsp; </p> <p>This way, I couldn't make any backup before from the Sony Firmware. With CyanogenMod&nbsp;you can use the new installed&nbsp; ClockworkMod Recovery to make backups and restore them (or parts like /data). </p> <p>&nbsp; </p> <p>My phone is now faster, there is more memory space and I'm really satisfied with this step. </p> ]]></content:encoded>
</item>
<item>
	<title>TYPO3 Extension Builder - former called Kickstarter</title>
	<author>linux@bigga.de (Alexander Bigga)</author>
	<link>http://linux.bigga.de/blog/blog-post/2012/05/07/typo3-extension-builder-former-called-kickstarter/</link>
<guid>http://linux.bigga.de/blog/blog-post/2012/05/07/typo3-extension-builder-former-called-kickstarter/</guid>

	<pubDate>Mon, 07 May 2012 16:32:00 +0200</pubDate>
	<description> 												Sometimes it's hard to find up-to-date information about TYPO3 issues in the web. That's of course TYPO3 is so long time in the web and there are forums, mailinglists, 1000s of blogs (lik...</description><content:encoded><![CDATA[ <a href=""http://linux.bigga.de/?eID=tx_cms_showpic&amp;file=uploads%2Fpics%2Fextension_builder.jpg&amp;md5=5a595fdf4f8295a2005d2b5ae121d2f0a723c380&amp;parameters%5B0%5D=YTo0OntzOjU6IndpZHRoIjtzOjQ6IjgwMG0iO3M6NjoiaGVpZ2h0IjtzOjQ6IjYw&amp;parameters%5B1%5D=MG0iO3M6NzoiYm9keVRhZyI7czo0MToiPGJvZHkgc3R5bGU9Im1hcmdpbjowOyBi&amp;parameters%5B2%5D=YWNrZ3JvdW5kOiNmZmY7Ij4iO3M6NDoid3JhcCI7czozNzoiPGEgaHJlZj0iamF2&amp;parameters%5B3%5D=YXNjcmlwdDpjbG9zZSgpOyI%2BIHwgPC9hPiI7fQ%3D%3D"> <img src="http://linux.bigga.de/typo3temp/pics/fa10728ef5.jpg" width="180" height="170" alt="" /> </a> <p>Sometimes it's hard to find up-to-date information about TYPO3 issues in the web. That's of course TYPO3 is so long time in the web and there are forums, mailinglists, 1000s of blogs (like this), wikis and whatever. Another reason is that <a href="http://www.typo3.org">typo3.org </a> is a really bad indexed website by <a href="https://www.google.com">Google </a>. </p> <p>&nbsp; </p> <p>Today I was looking for the new <strong>TYPO3 Extbase Kickstarter </strong>. And I was looking and looking and tried <strong>the terrible bad search on <a href="http://forge.typo3.org">forge.typo3.org </a> </strong> and... got almost mad. </p> <p>&nbsp; </p> <p>Finally I found it here: </p> <ul> <li> <a href="http://forge.typo3.org/projects/extension-extension_builder/">http://forge.typo3.org/projects/extension-extension_builder/ </a> </li> </ul> <p>And surprice, surprice: <strong>It's called Extension Builder now! </strong>A good idea to make some difference to the old extension kickstarter. But I missed that point unfortunately. </p> <p>Now, I'm happy, because the Extension &nbsp;Builder is part of TYPO3 TER. I don't have to download it by git as early, development version. </p> <p>Here is some wiki documentation about the new style TYPO3 extension development: </p> <ul> <li> <a href="http://wiki.typo3.org/T3Doc/Extension_Builder/Using_the_Extension_Builder">http://wiki.typo3.org/T3Doc/Extension_Builder/Using_the_Extension_Builder </a> </li> </ul> ]]></content:encoded>
</item>
<item>
	<title>Backend Language Caching in TYPO3 4.6</title>
	<author>linux@bigga.de (Alexander Bigga)</author>
	<link>http://linux.bigga.de/blog/blog-post/2012/05/03/backend-language-caching-in-typo3-46/</link>
<guid>http://linux.bigga.de/blog/blog-post/2012/05/03/backend-language-caching-in-typo3-46/</guid>

	<pubDate>Thu, 03 May 2012 14:17:00 +0200</pubDate>
	<description> 							If you get lots of messages of this kind  ??[lang]: User xyz has cleared the language cache in your new TYPO3 4.6.x then there is a simple solution. Add the following setting to your typo3conf...</description><content:encoded><![CDATA[ <p>If you get lots of messages of this kind </p> <p>&nbsp; </p> ??[lang]: User xyz has cleared t <img class="t3-TCEforms-reqImg" src="http://linux.bigga.de/typo3/clear.gif" alt="" />he language cache <p>&nbsp; </p> <p>in your new TYPO3 4.6.x then there is a simple solution. Add the following setting to your typo3conf/localconf.php: </p> <p>&nbsp; </p> $TYPO3_CONF_VARS['SYS']['lang']['cache']['clear_menu'] = 'TRUE'; <p>&nbsp; </p> <p>  </p> <p>This will add a menu &quot;Clear Language Cache&quot; to your &quot;Clear Cache&quot; menu. Now the user may manually clear the cache. </p> <p>  </p> <p>This also fix now the problem with cache-files and NFS. In our setup, the typo3temp is on a NFS-partition. And there seems to be some race conditions why you get errors like this: </p> <p>&nbsp; </p> Core: Error handler (FE): PHP Warning: <br />file_get_contents(/var/www/typo3temp/Cache/Data/t3lib_l10n/a232e71bc72d2771b802cab5b3f429b4): <br />failed to open stream: No such file or directory in /var/www/typo3_src-4.6.8/t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php line 452 <br /> <p>&nbsp; </p> <p>Usually the file exists - but maybe too late... </p> <p>  </p> <ul> <li> <a href="http://wiki.typo3.org/TYPO3_4.6">http://wiki.typo3.org/TYPO3_4.6 </a> </li> </ul> ]]></content:encoded>
</item>
<item>
	<title>extbase extensions need comments to work - PHP optimizer must not remove it!</title>
	<author>linux@bigga.de (Alexander Bigga)</author>
	<link>http://linux.bigga.de/blog/blog-post/2012/04/05/extbase-extensions-need-comments-to-work-php-optimizer-must-not-remove-it/</link>
<guid>http://linux.bigga.de/blog/blog-post/2012/04/05/extbase-extensions-need-comments-to-work-php-optimizer-must-not-remove-it/</guid>

	<pubDate>Thu, 05 Apr 2012 09:49:00 +0200</pubDate>
	<description> 							If you develop extbase/fluid extension for TYPO3 you will get in contact with PHPdoc blocks before classes, functions, variables. This is no nice to have feature but required for extbase to e....</description><content:encoded><![CDATA[ <p>If you develop extbase/fluid extension for <a href="http://www.typo3.org">TYPO3 </a> you will get in contact with PHPdoc blocks before classes, functions, variables. This is no nice to have feature but required for extbase to e.g. recognize the right data type. </p> <p>I really have to learn this because I am not used to write <a href="http://www.phpdoc.org/docs/latest/for-users/anatomy-of-a-docblock.html">PHPdoc </a> blocks. Usually, I only copy an existing block and adjust the description which I find very important. </p> <p>  </p> <p> <a href="http://en.wikipedia.org/wiki/PHP_accelerator">PHP optimizer or accelerators </a> cache the compiled PHP bytecode and/or do other optimizations. Unfortunately some remove the PHPdoc blocks from the source code first. This is the default behaviour of eAccelerator. </p> <p>  </p> <p>With <a class="external text" rel="nofollow" href="https://eaccelerator.net">eAccelerator </a> and extbase you get this exception thrown: </p> <p>  </p> <p>&nbsp; </p> #1242292003: could not determine type of argument "section"  <br />of the render-method in ViewHelper "Tx_Fluid_ViewHelpers_RenderViewHelper". <br />Either the methods docComment is invalid or some PHP optimizer strips off comments. <p>&nbsp; </p> <p>  </p> <p> <strong>What to do? </strong> </p> <ol> <li>compile eAccelerator with option &quot;--with-eaccelerator-doc-comment-inclusion&quot;: &quot;If you want eAccelerator to retain doc-comments in internal php structures&quot; (eAccelerator help) </li> <li> use another PHP optimizer. I use xCache on Debian Squeeze which seems to work fine. </li> </ol> <p> <strong>Links: </strong> </p> <ul> <li> <a href="http://wiki.typo3.org/Exception/v4/1242292003">Exception #1242292003 on wiki.typo3.org </a> </li> <li> <a class="external text" rel="nofollow" href="https://eaccelerator.net">eAccelerator </a> </li> <li> <a class="external text" rel="nofollow" href="http://xcache.lighttpd.net/" target="_blank">xCache </a> </li> <li> <a href="http://www.phpdoc.org/docs/latest/for-users/anatomy-of-a-docblock.html">PHPdoc </a> </li> <li> <a href="http://docs.typo3incubator.org/ExtbaseFluidBook/_build/html/8-Fluid/8-developing-a-custom-viewhelper.html?highlight=phpdoc">Developing TYPO3 Extensions with Extbase and Fluid </a> </li> </ul> ]]></content:encoded>
</item>
<item>
	<title>Poulsbo GMA500 driver is going mainline kernel</title>
	<author>linux@bigga.de (Alexander Bigga)</author>
	<link>http://linux.bigga.de/blog/blog-post/2012/01/28/poulsbo-gma500-driver-is-going-mainline-kernel/</link>
<guid>http://linux.bigga.de/blog/blog-post/2012/01/28/poulsbo-gma500-driver-is-going-mainline-kernel/</guid>

	<pubDate>Sat, 28 Jan 2012 08:27:00 +0100</pubDate>
	<description> 												Some days ago, I was brave to do a &quot;do-release-upgrade&quot; call on my fit-pc2. Before it was 11.04 and now I am running Ubuntu 11.10.   But of course this only works with my own linux kernel...</description><content:encoded><![CDATA[ <a href=""http://linux.bigga.de/?eID=tx_cms_showpic&amp;file=uploads%2Fpics%2Fp1030249_conv_01.jpg&amp;md5=1fa2736dc36b7688999bc498c3ac5b3369e52fb3&amp;parameters%5B0%5D=YTo0OntzOjU6IndpZHRoIjtzOjQ6IjgwMG0iO3M6NjoiaGVpZ2h0IjtzOjQ6IjYw&amp;parameters%5B1%5D=MG0iO3M6NzoiYm9keVRhZyI7czo0MToiPGJvZHkgc3R5bGU9Im1hcmdpbjowOyBi&amp;parameters%5B2%5D=YWNrZ3JvdW5kOiNmZmY7Ij4iO3M6NDoid3JhcCI7czozNzoiPGEgaHJlZj0iamF2&amp;parameters%5B3%5D=YXNjcmlwdDpjbG9zZSgpOyI%2BIHwgPC9hPiI7fQ%3D%3D" title="gma500 on my 1440x900 monitor only on top half"> <img src="http://linux.bigga.de/typo3temp/pics/bc65f9764f.jpg" width="240" height="180" alt="gma500 on my 1440x900 monitor only on top half" title="gma500 on my 1440x900 monitor only on top half" /> </a> <p>Some days ago, I was brave to do a &quot;do-release-upgrade&quot; call on my fit-pc2. Before it was 11.04 and now I am running Ubuntu 11.10. </p> <p>  </p> <p>But of course this only works with my own linux kernel. I had som 3.2.0-rc2 running from november. This kernel won't be replaced by Ubuntu. That's of course, what I wanted. </p> <p>  </p> <p>My first problem after upgrade was the music playback. It run too fast (!) and alsa threw error messages about buffer underrun. </p> <p>  </p> <p>So, I assumed some problems with my &quot;old&quot; kernel and the updated alsa userland libs/tools. And decided to upgrade the kernel by a fresh &quot;git pull&quot;. </p> <p>  </p> <p>After this, the music is working again - but where is my gma500 driver gone? <strong>It moved from staging to mainline drivers/gpu/drm/gma500/ </strong> ?! </p> <p> <a href="http://lists.freedesktop.org/archives/dri-devel/2011-November/015986.html" title="gma500: Move the basic driver out of staging">Alan Cox started last november the move. </a> And now it will be finished with coming kernel release 3.3. The driver is called gma500_gfx now. </p> <p> <strong>I'm really happy about this! </strong> </p> <p>  </p> <p>The only thing I had to change, <a href="http://linux.bigga.de/fileadmin/patches/config-3.3.0-rc1_"> is my kernel config. </a> </p> <p>  </p> <p>There is still one issue open: On bootup, the X-server output is only shown in the top half of the monitor. </p> <p>I found a simple workaround. I just stop and start the lightdm. This &quot;fixes&quot; the issue for me now. I hope this will be fixed in coming versions of the driver. </p> <p>  </p> <p>I place my fix in <strong>/etc/rc.local </strong>: </p> <p>&nbsp; </p> ??stop lightdm <br />start lightdm ]]></content:encoded>
</item>
		</channel>
		</rss>
<!-- Parsetime: 0ms -->