Category Archives: Technology

Solved: Updating partition details… Unable to open zip file. Error flashing zip

When trying to flash my old Motorola Xoom using this excellent guide I was unable to flash the system and google apps zips from TWRP and received the following error:

Updating partition details...
Unable to open zip file.
Error flashing zip '/sdcard/

The error wasn’t quite verbose enough. I found when I tried to have another stab at flashing the recovery partition Android was more helpful and told me that the battery level was too low.

Plugging the device in I was able to flash the device straight away and bring my Xoom back to life and make use of an old tablet again!

Exporting Active Directory Users Into CSV

It took far too long to find this very very useful command online so I thought I’d repost to help others find it.
The below command exports as follows:
Connection to server: domain.local
Exporting attributes: whenChanged,whenCreated,cn,sAMAccountName,givenName,sn
From DN Root: DC=domain,DC=local
Into File: domain.local-users.csv
csvde -s domain.local -l "whenChanged,whenCreated,cn,sAMAccountName,givenName,sn" -d "DC=domain,DC=local" -f domain.local-users.csv

Solution: libpam-radius-auth: Sends out as NAS-IP-Address


When authentication linux to radius using libpam-radius-auth: Sends out as NAS-IP-Address


/etc/hosts file contains the local machine’s hostname with


Either remove the offending line, or before this line place the correct ip address with the hostname (note that order is important). computerName computerName

OnePlus X vs. OnePlus One vs OnePlus 2 Specification Comparision

For full Google Sheet version go here OnePlus X vs. OnePlus One vs OnePlus 2 Specification Comparision

OnePlus One OnePlus 2 OnePlus X
Height in Inches 6.02 5.98 5.51
Width in Inches 2.99 2.95 2.72
Depth in Inches 0.35 0.39 0.27
Available Materials Sandstone Black Sandstone Black Or Silk White Onyx Black Glass or Ceramic
Display Resolution 1920 x 1080 1920 x 1080 1920.108
Display PPI (Pixels Per Inch) 401 401 441
Display Size (in Inches) 5.5 5.5 5
Camera Resolution (in Megapixels) 13 13 13
Camera Aperture (lower number bigger aperture) f/2.0 f/2.0 f/2.2
Auto Focus Time in Seconds 0.2 0.2
Front Camera Resolution (in Megapixels) 5 5 8
Processor Qualcomm Snapdragon 801 Qualcomm Snapdragon 810 Qualcomm Snapdragon 801
RAM (GB) 3 3 3 or 4
Storage Options Available (in GB) 16/64 32/64 16 (SD card upto 128GB for expansion)
Default Software CyanogenMod Oxygen 2 Oxygen 2
Price (in Dollars) 299 for 64GB 389 for 64GB 250 Onyx / 370 Ceramic