Actually, I planned this quite a while. Basically not, because I don’t like the Google eco system. Absolutely contrary. But I want to have control of my property. And, as I have a very very low speced device, I need free RAM!

Here the steps to follow, with the expectation that your phone is:

• rooted
• modded

In my case that’s a CyanogenMod 11 nightly.

Maybe, a bullet point below or above may raise an eyebrow. Thus you have to type in this bullet point together with the name of your phone into your search engine of choice and see how each and every step is done on your specific device.

• First, get a nightly/rom from Cyanogen or another group!
• Get freecyngn (more to that later).
• Boot into recovery (POWER+VOLUME-UP)
• Backup your phone using the recovery partition.
• Wipe the following partitions:
• data
• cache
• dalvik cache
• Do NOT reboot, yet!

In the end, however, the interesting proprietary residue from Google, which is built in is Google Analytics. If you have a CyanogenMod You can remove it with freecyngn:

• Install freecyngn as if it is a rom, AFTER you have installed your nightly/rom
• Make sure the error outputs in /system/freecyngn/log are OK.
• Use the backup to reinstall your Apps

On a side-note: This is just the beginning. Next, I would recommend to:

0 notes

0 notes

### Flashing a Kernel on your Smartphone

Basically this piece of prose is expecting, that you are sitting in front of a Linux machine and already have CyanogenMod running on your Huawei Y300/u8833 device and replaced your recovery rom. In my case the recovery rom is TWRP 2.7.0.2. Considering the very first point, you might want to try Ubuntu, which is beginner friendly. Considering the latter, please follow the link given above.

First of all make a backup:

• Press Power and Volume-Up to boot into recovery
• Make a backup there on your sd-card
• Remark: I needed that, as I downloaded the wrong kernel initially!
• Can’t stress that enough: Do that!

Now we come to the procedure itself. Download Chil360’s kernel adapted for CM11 (as of now) or whatever is the state of the art right now.

Currently Dark Cricket is mainting them here. After download and extraction, cd into the directory where your files are residing. Then fastboot your device, i.e.:

• Press Power and Volume-Down until you see the Huawei logo
• Check if the phone is there with:
⇒ fastboot devices
d2536afb    fastboot


As you see, my device is responding with d2536afb fastboot. Everything is set. Now the magic moment.

⇒ fastboot flash boot boot.img
sending 'boot' (5544 KB)...
OKAY [  0.522s]
writing 'boot'...
OKAY [  1.760s]
finished. total time: 2.282s

⇒ fastboot reboot
rebooting...
finished. total time: 0.001s


Now your device reboots into a faster world. If your device complains like your com.android.phone process stopped working, you flashed the wrong kernel and hopefully made backup. ;-)

0 notes

0 notes

0 notes

### So the Thing about Title Case using VIM

Though being far from a perfect solution, I added some flavor to a given soup. If you want to switch between UPPERCASE, lowercase and TitleCase (covering words longer than 3 letters!), add this to your .vimrc:

If you visual-select some text, you can now press ~ to cycle through the cases.

Example:


Orig: Automatic Cycling of Uppercase, lowercase and Title Case.
1x~: AUTOMATIC CYCLING OF UPPERCASE, LOWERCASE AND TITLE CASE.
2x~: automatic cycling of uppercase, lowercase and title case.
3x~: Automatic Cycling of Uppercase, Lowercase and Title Case.



Voilá! ;-)

0 notes

### Trying to install atom on linux

This is focusing on Fedora, as atom focuses on Debian. And actually I wanted to provide a manual, because atom’s site seemed so Mac specific. But the setup, following, abstracting the readme with incorporating current issues in the Issue Tracker of github, totally and utterly failed. After one hour of fiddling I gave up, but I started with…

First as root:

sudo yum install libgnome-keyring-devel npm
sudo npm config set python /usr/bin/python2 -g


which will install all requirements including node.js. [1]

Then do the following:

git clone https://github.com/atom/atom
cd atom


Comment out argv.push(‘—no-parallel’) in atom/build/node_modules/npm/node_modules/node-gyp/lib/configure.js and create a symlink from /lib/libudev.so.0 to /lib/libudev.so.1 [2]

sudo script/build


Though, this is just an editor, be prepared to download a gigantic repository of >200MB. Even the mac-buld features >70MB (2014.05.08) right now.

Still doesn’t work… help?

source: * [1] atom * [2] https://github.com/atom/atom/issues/1981 * [3] https://github.com/atom/atom/issues/2025

0 notes

### Turn BibTex into thebibliography style

Assuming your BibTex-file is called mybibtex.bib, fill a TeX-file, e.g. main.tex, with:

\documentstyle{amsart}
\begin{document}
\nocite{*}
\bibliographystyle{amsplain}
\bibliography{mybibtex}
\end{document}


Then in the console type:

latex main.tex


or

pdflatex main.tex


followed by

bibtex main


Following that, you have a main.bbl file in the same folder, so you can change this:

@TECHREPORT{Powell:2009,
author = {Powell, M. J. D.},
title = {The {BOBYQA} algorithm for bound constrained optimization without derivatives},
institution = {Department of Applied Mathematics and Theoretical Physics},
year = {2009},
type = {Technical Report {NA}2009/06},
}


into this

\bibitem{Powell:2009}
\bysame, \emph{The {BOBYQA} algorithm for bound constrained optimization without derivatives}, Technical report {NA}2009/06, Department of Applied Mathematics and Theoretical Physics, Cambridge, England, 2009.

1 note

### XML library in Fortran

As I need xmlf90, I began porting it to CMake here: https://github.com/rawland/xmlf90

This project was mainly developed by

• Alberto Garcia (SAX, XPATH, WXML, Overall design)
• Jon Wakelin, Alberto Garcia (DOM subsystem)
• Jon Wakelin, (CML writing subsystem)
• Mart Reentmeester (STRINGS).

Probably it makes more sense to use the successor FoX, maintained by Andrew Walker. However, I implemented this project already beforehand in my own projects and decided to enhance the running system. ;-)

0 notes

As tweeted, my #SigmaSport’s #Rox10 fell apart. Here a foto love story on how to check and repair it. Use an alcohol cotton to clean the area and pour the superglue in the thin channel shown in the close up (pic no. 8 - see captions!). Finally remove all residual superglue with the alcohol cotten. I wonder, if such a bike computer wouldn’t be a great open source hardware project…

0 notes