2016-05-18

Additional stuff to install on Windows

This time we use a apt-get similar tool to install (and update) programs on windows.

First you have to install Chocolatey as a package manager. Therefore You have to open cmd.exe as Administrator and type the following:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET PATH="%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

The next step is to install the programs you want, here is a suggestion from me:

all:
choco install -y 7zip.install adobereader audacity avidemux blender ccleaner ChocolateyGUI chromium dropbox ext2fsd filezilla Firefox freeplane ganttproject Ghostscript.app gimp googledrive InfraRecorder InkScape jre8 keepass keystore-explorer.portable libreoffice lyx miktex notepadplusplus.install openvpn pidgin putty scribus skype speccy teamviewer texniccenter thunderbird veracrypt vlc winscp

just free software:
choco install -y 7zip.install audacity avidemux blender ChocolateyGUI chromium ext2fsd filezilla Firefox freeplane ganttproject Ghostscript.app gimp InfraRecorder InkScape keepass keystore-explorer.portable libreoffice lyx miktex notepadplusplus.install openvpn  pidgin putty scribus texniccenter thunderbird veracrypt vlc winscp

I hope this makes it easier for you to install this on a fresh system.

2016-04-26

Problems when upgrade Ubuntu 10.10 to 11.04

If you want to upgrade Ubuntu 10.10 to Ubuntu 11.04 you might get stuck with the following problem:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:

E:Error, pkgProblemResolver::Resolve generated breaks, caused by held packages.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.


There is a Bug on Launchpad
( https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/775289 ) which describes the problem and helped me to find a solution.

The problem had to do with Ubuntu 10.04 and newer versions of files there which made it impossible for the update-manager ( or do-release-upgrade in terminal ) to find a valid state because of broken dependencies.

So if you look at /var/log/dist-upgrade/apt.log and search for 10.04 you will find the packages which make troubles.

I had to manually download the following packages from
http://old-releases.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4-0d_4.8.6-0ubuntu1_i386.deb
http://old-releases.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-1d_3.12.9+ckbi-1.82-0ubuntu0.10.10.3_i386.deb
http://old-releases.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b20-1.9.13-0ubuntu1~10.10.1_i386.deb
http://old-releases.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b20-1.9.13-0ubuntu1~10.10.1_all.deb

In terminal in the directory where you downloaded the files you can install them with:

sudo dpkg -i filename1 filename2 ...

After that the upgrade went smooth!

2013-05-28

Additional stuff to install on Ubuntu

This list features programs I install additionally in Ubuntu and it will grow from time to time! :)

adb - Android Debug Bridge
amarok - Music Player
aptitude - Menu-driven package manager (text-mode)
audacity - Audio Editor
avidemux - Video Editor
blender - 3D Program
calibre - Powerful and easy to use e-book manager
Dia - Diagram Creation Program
ekiga - SIP VoIP Client
Epiphany-Browser - Simple but powerful Web Browser (GNOME Web)
exFAT - Utilities for the proprietary Extended File Allocation Table filessystem
fastboot - Small tool to re-flash partitions on your android device
filezilla - FTP Client
freeplane - Mind mapping and knowledge management program
F3 - Check USB-Drives - Fight Flash Fraud, or Fight Fake Flash
gddrescue - GNU ddrescue data recovery tool
GIMP - GNU Image Manipulation Program
gparted - Partitioning Program
Grsync - GUI for Rsync, the command line directory and file synchronization tool
gtkterm - Serial Terminal
hardinfo - Displays information about your hardware, OS and Benchmarks
heimdall - Tool to flash firmware onto Samsung mobile devices
htop - An interactive process viewer
inkscape - SVG Graphics Editor
iotop - Shows how much I/O is going on
K3b - CD/DVD Burning Program
kdenlive - Video Editor (inofficial sucessor of kino)
KeePass - Password Safe
LibreOffice -  Free Office Suite
nfs-common - Network File System Clinent files
nmap - Network Monitor
okular - Additional PDF Viewer (KDE)
openvpn - Open Source VPN
p7zip - File Achiver
pidgin - Instant Messaging Client
samba - Cross-platform file and printer sharing
scribus - Desktop Page Layout Program
sshfs - Network filesystem client to connect to SSH servers
terminator - Terminal
TestDisk -  Powerful free data recovery software
tightvnc - VNC Client
UNetbootin - Create bootable Live USB drives
Viking - GPS Data Editor and Analyzer
vim - Nice Editor
Virtualbox - x86 and AMD64/Intel64 Virtualization
vlc - Video LAN Client, a nice Multimedia Player and Streamer
xsensors - Displays information like CPU temp. from your motherboard sensors

And for the lazy ones:
sudo apt-get install android-tools-adb android-tools-fastboot aptitude audacity blender calibre dia epiphany-browser exfat-utils filezilla freeplane f3 gddrescue gimp gparted grsync gtkterm hardinfo heimdall-flash heimdall-flash-frontend htop inkscape iotop k3b kdenlive keepass2 libreoffice nfs-common nmap okular openvpn p7zip-full pidgin samba scribus sshfs terminator testdisk viking vim virtualbox vlc xsensors xtightvncviewer

I also recommend changing Nautilus to List view.

In Ubuntu 16.04 there is no install candidate for avidemux anymore.
In Ubuntu 18.04 there is no install candidate for UNetbootin anymore.
In Ubuntu 20.04 there is no install candidate for amarok and ekiga anymore.

In Firefox i recomend the following plugins:
Tab Counter
Tree Style Tab
uBlock Origin
Video DownloadHelper
Video DownloadHelper Companion App

2013-03-21

Android versions on different moblies

Here is an initial overview of Android based mobile phones and which version of Android they are running (shipped, official update, community update)
Mobile phoneAndroid shippedofficial updatecommunity updateComments
Android Dev Phone 1 / HTC Dream / T-Mobile G11.0, 1.11.1, 1.5, 1.62.2.1, 2.3.7Update HBoot to 1.3.0033d and Radio to 2.22.28.25 for more available RAM
HTC Desire2.12.2, 2.3.32.3.7, 4.1.2, 4.2.2Use A2SD for more app-storage
HTC Hero / T-Mobile G21.52.12.3.7
HTC Magic1.5, 1.62.2.32.2.1, 2.3.7Update HBoot to 1.3.0033d and Radio to 2.22.28.25
LG GW6201.51.6, 2.2.12.2.1, 2.3.7, 2.3.7...
Motorola Milestone2.02.12.3.4...
Samsung Galaxy Spica I57001.5, 2.12.12.3.4...

A more complete list of Android devices you can find on Wikipedia.

2010-09-21

Install the latest and greatest on your HTC Dream / T-Mobile G1

Before we start create a backup of your data! Better be save than sorry! :)

In the first step we have to install an older version of Android on the phone. For the european G1 an RC7 (US: RC29) version of DREAIMG.nbh will do it. This version has a bug we need, to get root access on the phone, so that we can flash a new radio-firmware, the DangerSPL (new partition size for the system from 64MB to 96MB), a recovery image (for example from Amon_Ra) and new Android-Versions like Android 2.2 (CyanogenMod).

So we need the following software on the SD-Card:
a) DREAIMG.nbh RC7 (US: RC29)
b) Amon_Ra 1.7.0 Dream
c) Newest Radio-Firmware - 2.22.19.26i for Non US (US TMobile: 2.22.23.02)
d) DangerSPL
e) CyanogenMod

You can find a very good guide, with the necessary links for the software listed above, for the hole process on the CyanogenMod-Wiki.

1) To install the DREAIMG.nbh RC7, which is an image of Android 1.0, you need to reformat the SD-Card to a fat32 partition. Copy the DREAIMG.nbh to the root of the SD-Card. Turn off the phone. Hold the camera button pressed and press the power button. When the phone is in the bootloader mode it should start checking the DREAIMG.nbh and then start the flash-process.

1 a) With T-Mobile G1 from Austria I got the following error from the bootloader:
Not Allow
00028002


If you encounter also this error than you have to generate a goldcard. For that you will find a guide here. You will need the CID of the SD-Card. You can find it with the ASTRO File Manager. Open the App and go to /sys/class/mmc_host/mmc1/mmc1:aaaa (aaaa could be a different string aswell). Long press on the cid file and choose 'open as text'. Write down this number somewhere and then revert it pairwise (for example 125a00 -> 005a12).

1 b) You have to enter the reverted number on this homepage. Now you will receive a goldcard.img via email, save it on your computer. Now you have to apply this goldcard.img to the MBR of the SD-Card with:
dd bs=512 if=/path/to/goldcard.img of=/dev/sd[x]
... where /dev/sd[x] stands for the SD-Card.

Now you are able to flash the old Andoid 1.0 DREAIMG.nbh.

2) Now we want root access. To get it we have to open the keyboard and press Enter twice. Now type 'telnetd' and press enter. You will get no response but you now started the telnet deamon. Now go to Market and search for telnet and install Telnet from ClockworkMod. Start it and connect to localhost on port 23.

3) Now it is time to install Amon_Ra's recovery image, For that copy the recovery-RA-dream-1.7.0-cyan.img to the SD-Card and rename it to 'recovery.img' - to install it type the following into the terminal:
flash_image recovery /sdcard/recovery.img

If you get the 'file not found' message reboot the phone without the USB cable connected and then try again.

4) After installing the recovery image you can now boot into recovery mode holding the home button and pressing the power button till the recovery screen appears. Now install the newest radio image (2.22.19.26i) and after a reboot install the DangerSPL. It is important to keep this order, first radio then DangerSPL.

5) After rebooting into the recovery image you can now install the CyanogenMod 6 or the nightly builds. Before you should wipe all data and cache.

2010-08-10

Problems after Proxmox update to v1.5

After the update of Proxmox to version 1.5 and a reboot of the host all virtual qemu server (using KVM) where not booting up. It does not matter if it is a Windows XP or Windows 7, they stop there:

Starting SeaBIOS ( Version ......)

gPXE (htt://....) - 00:03.0 C900 PCI2.10 Pnp BBS PMM7FE0@10 C900

Press F12 for boot menu


So also trying to boot from CD-ROM will not help in that case. After some search on the web i found the solution in the Proxmox forum.

So the System was missing some packages, you can easily solve this with:

aptitude update && aptitude upgrade && aptitude install proxmox-ve-2.6.24

After reboot if you enter

# pveversion -v

you should find there the actual packages which correspond together. At the time of writing:
# pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.24-11-pve
proxmox-ve-2.6.24: 1.5-23
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1

2010-07-30

Install the latest and greatest on your Motorola Milestone

Before we start do a backup of your data! Better be save than sorry! :)

1) To backup the data on a Motorola Milestone you need to have a recovery version which is vulnerable. If your phone still has Android 2.0 or 2.0.1 you are on the right side.

If you already have Android 2.1 you need to downgrade just the vulnerable recovery partition of the 2.0.1 version (from SHOLS_U2_01.14.0). Therefore you normally needed access to a (virtualized) Windows-PC, install there RSD Lite (4.6.0) and the Motorola USB Drivers (4.6.5) or use a software for flashing sbf on Linux, sbf_flash, here.

The recovery image is in the SBF format, normally RSD Lite only was able to flash it. Shut down the Milestone, hold the up-button on the keyboard and turn it on again. Now connect the USB-cable, start RSD Lite and select the vulnerable recovery SBF file or under Linux type as root ./sbf_flash [sbf-file].sbf - Now flash it. :)

2) We are now able to start a update.zip with no signature. You just have to place the Open Recovery (1.46) (or Androidiani OpenRecovery for Milestone 3.3) on the SD-Card. Now turn of the Milestone, hold the Camera button pressed and turn it on again. When the warning symbol appears, you have to hold the volume up key also, then release the camera button and shortly afterwards the volume up. Maybe you need to repeat the key pressing till it works. When the recovery menu appears select update.zip - finally you can do a nandroid backup!

3) Alternatively you can flash now a fully prepared SBF f.e. from G.O.T. and flash it.

4) If you want with Open Recovery you can also root the device, overclock it and so on...

5) And if you want to run Android 2.2 or 2.3 on your Motorola Milestone you can download CyanogenMod 6.1.2/7 for Milestone from here. :)