How to Root HTC One M9

Step 1: Unlock Bootloader

The first step in rooting your HTC One M9 is to ensure that the bootloader is unlocked. This will allow you to install a custom recovery on your device such as TWRP or CWM. In this example we will use TWRP.

First download Mini-SDK and extract this to your C: drive

Next create an account on the HTC Dev Website and confirm your registration through the verification email you will be sent.
Now, access this page and login with your account. From that page select the “Unlock bootloader” option and click on “Get Started”.

Select HTC One M9 on the right hand side then click ‘Unlock Bootloader’

Follow steps 1 – 4 provided by HTC Dev. When downloading the fastboot binary ensure you extract this to the same location as MiniSDK. Click ‘Proceed to Step 5’ Do not follow the instructions in Step 5 – 6 as we will be using MiniSDK.

Continue reading


Make Deluge Stop Seeding When Torrent Completes Downloading

Deluge is one of the most popular multi platform torrent clients. Often after you have started a torrent downloading especially on a torrent server your will forget about it. Once the download is completed you don’t want the torrent to use all of your bandwidth if your on a metered connection or have a limited upload speed. This guide will show you how to stop Deluge from seeding when your torrent has finished downloading.

Load up your Deluge client

Click Edit > Preferences

Under Categories click Queue

Change the following values to 0: Share Ratio Limit, Seed Time Ratio, Seed Time

Check Stop seeding when share ratio reaches and change the value to 0

Click Apply then Close


Delude will now automatically stop seeding when a download is complete.


Change Office 365 Passwords in PowerShell

Below is a quick script to quickly change a users password in Office 365 using PowerShell.  The script will prompt you to connect to Office 365. You will then need to enter the users UPN and new password. It will also ensure they do not need to change the password on first log in. This can however be changed by chaging the “-ForceChangePassword” parameter to “$true”

I have included a download link at the bottom of the post.

Download here


Using Your Raspberry Pi as a File Server

2015-05-30 12.56.34Below is a basic guide on how to use your Raspberry Pi as a file server. I will be mounting an external drive and then sharing it across my network using the Pi. I am using the Raspbian image which can be downloaded here.

Continue reading


Share Your Wi-Fi Password Using QR Codes (Android Only)

If you are fed up of giving your Wi-Fi password out to friends and family visiting your home or clients visiting your office, here is a perfect solution!

First you will need to generate a Quick Response code. There are many sites you are able to do this on however ZXing’s Barcode Generator was the best one I came across. In the contents drop down choose Wi-Fi network enter your SSID along with the password and network type then click generate.


This will generate a QR code which you should then print/save. Once you have the QR code you can then test this on any android device using a QR code reader. QR Code Reader is a good example of one however there are hundreds on the Play Store.

Now whenever friends, family or colleague visits you will be able to give them the QR code to scan with their android device which will authenticate them to your wireless network.


Installing Windows 10 Technical Preview with VMware Workstation 11

Win10-FinishedMicrosoft have announced their next version of its operating system with Windows 10 and released a technical preview version. As this is a preview version it is recommended to not install this on your primary PC. I have chosen to to install this with VMware workstation as a virtual machine.

To install the Windows Tech Preview, you need to sign up for the Tech Preview insider program and download the ISO from This is easy enough done with just your Hotmail/Outlook account.

Launch VMware Workstation 11 and on the Home page launch the ‘Create a New Virtual Machine’ wizard.

Continue reading


Get Last log in time for Office 365 users

First you will need to connect to Office 365 Exchange, to do this:

$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic -AllowRedirection

Import-PSSession $Session

The simplest way of getting all users last log in times is by running the following command:

get-mailbox | get-mailboxstatistics | ft displayname, LastLogonTime

However if you have a lot of users in Office 365 then you may require to export this list to a csv file. The following command will do this for you:

(Get-Mailbox) | Foreach {Get-MailboxStatistics $_.Identity | Select DisplayName, LastLogonTime} | Export-CSV C:\LastLogonDate.csv

It’s always best to close the session once you have finished administrating with PowerShell. To do this:

Remove-PSSession $Session


Export Local Mail from Outlook and Import to Office 365

Export Local Mail to a PST File

  • In Outlook click File > Options > Advanced > Export
  • Click Export to a file, and then click Next
  • Click Outlook Data File (.pst), and then click Next.
  • Select the account — a top level folder — that you want to export. This enables exporting all mail, calendar, contacts, tasks, and notes if available for that account.
  • Make sure that the Include sub folders check box is selected.
  • Click Next.
  • Click Browseto select where you want to save the Outlook Data File (.pst) and to enter a file name.
  • Click OK to continue.

Continue reading


Update Raspbian ready for the Pi 2

The Raspberry Pi 2 is a massive upgrade for the Pi family. The new Pi is based on an ARM 7 processor whereas the old Pi’s are all based on ARM 6. If you don’t want to lose the hours spent on projects on your old Pi’s SD card then you will have to follow these upgrade instructions. As always it is important you backup your Pi’s SD card before making these changes. Click Here for a brilliant guide on how to do this.

To upgrade enter these commands into the terminal:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

sudo apt-get install raspberrypi-ui-mods

Now put your SD card in your Pi 2 and enjoy!


Adding and Verifying a domain in Office 365 using PowerShell


In order to use your domain with Office 365, you will first need to verify your domain name and setup the DNS records that Microsoft provides. The best way I have found to do this is through the Office 365 cmdlets in PowerShell. These cmdlets are not installed out of the box so you will need to install them first.

Installing the Office 365 cmdlets

You must be running at least Windows Server 2008 /Windows 7 and have at least Net Framework 3.5.1.

To install:

Azure Active Directory Module for Windows PowerShell (32-bit version)

Azure Active Directory Module for Windows PowerShell (64-bit version)

Continue reading


© 2018 Calum Thompson

Theme by Anders NorénUp ↑