Total Pageviews

Tuesday, November 27, 2012

OTA Rootkeeper still works when updating to Android 4.2.1

Note (2013-02-18):
There is a newer blog entry available which says that OTA Rootkeeper did not properly reroot the device after upgrading to Android 4.2.1.
The observations I made when I wrote this post seem to be false.

Original blog posting:
And surprise, surprise OTA Rootkeeper has helped me once again to keep root on my Nexus 7 device.
BTW, Google rolled out Android 4.2.1 today and I already received the OTA update :-)

Sunday, November 25, 2012

Remove the page title in Confluence PDF export


Confluence always adds a page title when you export a page to PDF format.
If you want to get rid off the title do the following:

Go to

 Browse -> Space Admin -> Look and Feel -> PDF Stylesheet -> PDF Export Stylesheet -> Edit  

and add the following line:

 .pagetitle h1 { display: none; }  

Now PDF exports don't show the title anymore.

Thursday, November 22, 2012

Pagebreaks in Confluence PDF Export

It is often necessary to export a wiki page to PDF so managers, customers or other people who can't (or don't want to) access the wiki can read documents.
One thing that embarrasses me the most is that you don't have control over page breaks in Confluence PDF exports. There is - at least to my knowledge - no predefined macro available.
But there is a community macro which solves the problem. Take a look at the pagebreak user macro and try it.
With this macro you are in full control over page breaks in PDF exports.

Making Screenshots with Greenshot under Windows

I don't think I have high requirements for a good screenshot tool but Greenshot is by far the best one I have ever used.
It even has plugins for Jira and Confluence. Moreover it is free to use even in commercial environment. Cool :-)

Thursday, November 15, 2012

Keeping root on Nexus 7 when updating Android from 4.1.2 to 4.2

Yesterday Google rolled out Android 4.2 for the Nexus 7 devices. I hesitated to do an instant update because I was not sure if OTA Rootkeeper was capable of rooting my device (using Android 4.1.2) again after the update.
Searching through the usually suspects boards (xda-developers, android-hilfe, etc ...) didn't yield a result. Seems that no one has tried it so far or no one has found the time to post his experiences :(
At least I found out that the Nexus 7 Root Toolkit was updated and therefore able to root a Nexus 7 device with Android 4.2 (afaik your device will be wiped after rooting - please check board posting on xda-developers).
That was the starting signal for me to do the update and try rooting again with rootkeeper. If rootkeeper does not work I still can reroot my device again using the toolkit.
Well it turns out my fear was baseless.
Rootkeeper was able to root my device again so I still have a rooted Nexus 7 using Android 4.2.
Great tool :-)

Tuesday, November 13, 2012

Multiple Virtual Desktops in Windows 7

Most Linux desktops / window managers support it out of the box: Multiple virtual desktops. I really miss this feature on Windows 7.
A great tool for managing virtual desktops under Windows is Dexpot.
It's a great alternative to VirtuaWin and free of charge for private use.

Tuesday, October 23, 2012

Samsung Galaxy Nexus OTA Update from Android 4.1.1 to 4.1.2 and keeping root

A few days ago my carrier rolled out the OTA Android Update 4.1.2.
I didn't want to lose root on my Samsung Galaxy Nexus after updating from 4.1.1 to the new 4.1.2 release and I installed OTA RootKeeper from Google Play.
The important step is to install and run RootKeeper before you do the update. Instructions on how to use RootKeeper can be found here.
This should work at least for the Samsung Galaxy Nexus running Android 4.1.2 without a custom recovery image.
After updating to the new Android version and rebooting your phone you have to start RootKeeper again to reactivate root. All you have to do is to select Restore Root and your phone is rooted again.

Tuesday, October 09, 2012

Grub error 17 and a possible solution


Give this a try if you are getting grub rescue:
  1. At grub>. enter these commands
    find /boot/grub/stage1
    
    This will return a location. If you have more than one, select the installation that you want to provide the grub files.
  2. This is important: what was returned for the find command use it in the next line for the "?" -
    root (hd?,?)
    
    Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)
  3. Next enter the command to install grub to the mbr
    setup (hd0)
    
  4. Finally exit the grub shell
    quit
    
Now you are done. Reboot the machine.

Another option is to run this command:
grub-install /dev/hda

If you don't have grub rescue:

  1. Try booting from a live CD
  2. In case Live CD doesn't have package "grub" install it first (eg. sudo apt-get install grub)
  3. Take a look at your partition table: sudo fdisk -l
    /dev/sda5            1276        1397      979902   82  Linux swap / Solaris
    /dev/sda6            1398        2550     9261441   83  Linux
  4. In this case grub should be installed on /dev/sda6 (in grub this is hd0,5).
    NOTE: Every device in grub starts with "hd", even if it's a SATA device.
  5. Type in the following in a shell:
  6.  sudo grub  
     grub > root (hd0,5)  
     grub > setup (hd0)  
     grub > quit  
    
  7. More infos can be found in this article.

In Virtualbox einen bootbaren USB Stick starten

Virtualbox unterstützt das Booten von Gastsystemen von einem USB Stick nicht out-of-the-box.
Mit dem hier beschriebenen Trick geht es aber doch.

Zusammengefasst:

Schritt 1:

In Windows die Datenträgerverwaltung starten und den USB Stick identifizieren:

Im Bild ist das Laufwerk I.

Laufwerk I hat die laufende Nummer 3 (Datenträger 3 im obigen Bild)

Schritt 2:

Jetzt in einer Kommandozeile in das Installationsverzeichnis von VirtualBox wechseln und folgenden Befehl eingeben:

 VBoxManage.exe internalcommands createrawvmdk -filename "G:\VirtualBox\usb-stick.vmdk" -rawdisk \\.\PhysicalDrive3  

Entscheidend ist hier der letzte Parameter "rawdisk". Hier wird das physikalische Laufwerk mit der Nummer angegeben, die in der Datenträgerverwaltung (siehe Schritt 1) identifiziert wurde.
In diesem Beispiel ist das die Nummer 3.
Der Parameter "filename" gibt an, wo die vmdk Datei auf dem Dateisystem abgelegt werden soll.

Schritt 3:

Jetzt kann VirtualBox als Admin gestartet werden und in der Konfiguratoin der Massenspeicher die gerade erzeugte Datei usb-stick.vmdk hinzugefügt werden.
Idealerweise als erstes Gerät damit auch direkt davon gebootet wird.

Tuesday, September 25, 2012

Root your Galaxy Nexus without unlocking bootloader

Since I bought a Samsung Galaxy Nexus a few weeks ago I was looking for the possibility to root it without unlocking the bootloader or wiping anything.
I don't want to use a custom ROM nor a custom recovery. I just want to get rid of the ads.
Finally someone has found a working solution and posted the instructions in the XDA forum.
I have tried it and now my Nexus is rooted :-)