Cover photo
Nathan Olsen
Works at Washington State Department of Revenue
Attended St. Martin's University
Lives in Olympia, WA


Nathan Olsen

Shared publicly  - 
ZOMG! My encrypted partitions are now flashable!!! w00t!
TWRP now supports Qualcomm encryption for the OnePlus One.

Why does this matter? Probably the biggest is that AOSP is making moves towards supporting this type of encryption as seen here:

So eventually we'll probably see Nexus and other OEMs start to use Qualcomm's encryption methods on future devices. Additional devices using Qualcomm encryption plus forced encryption may make TWRP supporting Qualcomm encryption very important, at least for some users.

Qualcomm encryption offers better performance than "stock" Android encryption. I think this better performance is mostly due to using larger block sizes, but you can read more about it at the link below if you are so inclined. At the bottom of the page you'll find some benchmarks comparing performance.

Also, the OnePlus One is one of the most popular TWRP devices based on download counts.

It took quite a while to get TWRP to work properly with Qualcomm encryption. Part of the trouble is that Qualcomm uses some closed source, proprietary binaries and libraries to make it work. Part of the problem is that it seems that some of the QSEE / Trust Zone functions fail to work properly when you fastboot boot an image on the OnePlus One. Whether this failure to work properly is by design or a bug, I have no idea. Even regular Android fails to decrypt properly when you fastboot boot an image, so it doesn't appear to be a TWRP issue. Further, it seems that if you fastboot boot an image and fail to decrypt properly, Android will claim that your data partition is corrupt and insist that you wipe and start all over. Oddly enough, usually TWRP can still decrypt and read the data partition just fine, but even after TWRP succeeds, Android still complains. Go figure.

I lost many hours testing images using fastboot boot and having to wipe and re-encrypt before finding out that I had to flash my images to get decrypt to work. It seems that supporting Qualcomm encryption was also an exercise in testing how resilient the emmc chip is on the OnePlus One. I won't be surprised if my OnePlus One dies of premature emmc failure due to all of the flashing and re-encrypting.

The latest build of TWRP for the OnePlus One should now support decrypting of CM 11, CM 12.0, CM 12.1, and Oxygen OS. Use this table to get an idea of what type of encryption you may be using:
CM 11: regular 4.4 encryption
CM 12.0 or CM 12.1 but you originally encrypted with CM 11: regular AOSP encryption with the hardware backed keymaster
CM 12.0 nightly before the 16th of January, 2015: regular AOSP encryption with the hardware backed keymaster
CM 12.0 on or after the 16th of January 2015 or CM 12.1: Qualcomm hardare encryption with the hardware backed keymaster
Oxygen OS: regular AOSP encryption with the hardware backed keymaster

If you didn't encrypt using CM 12.0 nightly on or after 16th of January 2015, you probably aren't getting the performance benefits of Qualcomm's encryption. It also appears that the Oxygen OS team did not add support for Qualcomm encryption. If performance matters to you but you need to be encrypted, then I'd suggest sticking with CM. If you want to know for sure if you're using Qualcomm encryption, flash TWRP, decrypt the device, then check the recovery log (adb pull /tmp/recovery.log or use the copy log button under advanced) and search for "has_hw_crypto is". If the value is 1, then you're using Qualcomm encryption. A value of 0 means that you are not.

Hope that helps and enjoy!
fall back to dm-crypt if device already encrypted Devices already encrypted with aes-cbc-essiv:sha256 will continue to be decrypted in software, until a factory data reset. New devices that implement CONFIG_HW_DISK_ENCRYPTION will switch to aes-xts. b/17475056 Enable hardware crypto for userdata ...
9 comments on original post
Add a comment...

Nathan Olsen

Shared publicly  - 
I'm coming for you, +Tejas Richard​!
Add a comment...

Nathan Olsen

Shared publicly  - 
CTS Building. No-Maintenance, eco-friendly landscaping.
Add a comment...

Nathan Olsen

Shared publicly  - 
New In Box, not gently used. Brand. New. #OnePlus #forsale
For sale on Swappa: a gently-used MMW918 OnePlus One (Unlocked) for $450. Buy safely on Swappa and save time and money.
Add a comment...

Nathan Olsen

Shared publicly  - 
Happy April Fool's Day from +CyanogenMod​!
Add a comment...

Nathan Olsen

Shared publicly  - 
Incredible deal on a month's worth of weekly boxes of fresh, local, artisan baked goods!
How does a box of "handcrafted, artisan baked goods made from local, natural, and organic ingredients" sound? Get ready to enjoy some of the best oven-produced treats around with this offer: • $22 ($44 value) for a one-month membership to the 8 Arms bake-share program • Every week for four weeks, you'll pick up a box of handcrafted goodies • Each box includes a half-loaf of slicing bread and of specialty bread, six cookies, and two pieces of dess...
Add a comment...

Nathan Olsen

Shared publicly  - 
W00t! Closer than most I've seen! #how-old
Add a comment...

Nathan Olsen

Cyanogen (OS/Mod)  - 
Can anyone comment on whether device encryption is working? Last time I tried it still corrupted the block headers and lost all my data. Granted, this was on an early nightly.
Add a comment...

Nathan Olsen

Shared publicly  - 
For sale on Swappa: a gently-used MMW918 OnePlus One (Unlocked) for $420. Buy safely on Swappa and save time and money.
Add a comment...
Nathan's Collections
Mostly Harmless; Naturalist Post-Punk Radical Leftist Secular Humanist
“He was a dreamer, a thinker, a speculative philosopher...or, as his wife would have it, an idiot.”

“Man has always assumed that he was more intelligent than dolphins because he had achieved so much...the wheel, New York, wars and so on...while all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man...for precisely the same reason.”

"The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be." 
Bragging rights
passed the Turing Test...but failed Voight-Kampff.
  • St. Martin's University
    Accounting, 2012 - 2013
    Accounting, Business Administration, Statistics
  • Timberline High School, Lacey, WA
    1992 - 1995
  • Dana College, Blair, NE
    Chemistry, 1995 - 1999
    Organic Chemistry, Qualitative Chemistry, Instrumental Analysis, Physical Chemistry, Philosophy, Film, General Fun Times
  • Pacific Lutheran University, Tacoma, WA
    B.S. Chemistry, 1999 - 2001
    Physical Chemistry, Inorganic Chemistry, Philosophy, Biology
  • The Evergreen State College, Olympia, WA
    Computer Science, 2003 - 2003
Basic Information
Other names
Grand Master Useless, nolsen311
Collections Nathan is following
InfoSec Code Monkey
  • Washington State Department of Revenue
    InfoSec Code Monkey, 2014 - present
    Keepin my peeps safe from the interwebs
  • Washington State Department of Revenue
    Information Technology Specialist, 2004 - 2014
    ITS 3-5 Local Tax
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Olympia, WA
Tumwater, WA - Lacey, WA - Aberdeen, WA - Hoquiam, WA - Blair, NE - Orofino, ID - Lacey, WA - Olympia, WA - Google - Caye Caulker, Belize
Nathan Olsen's +1's are the things they like, agree with, or want to recommend.
VPN Unlimited–Hotspot Security - Aplicaciones Android en Google Play

Join our Testing Program now to get the 3 months subscription for free. More details here!forum/vpn-unlimi

Google+ Photos

Upload and share photos

Google+ Hangouts

Hangouts: One place for all your conversations. Available for Android, iOS and computers. Get the app here:

Additional Scripting options for SQL objects scripting

SSMS shows not all scripting options by default. For SSMSBoost operations we provide you all internal scripting options structure available

Little Passport ~ Explorer Kit Month One

*post contains referral and affiliate links. I received this box free for reviewing purposes. Comments/reviews on this post, and every post,

Introducing a Toddler Bed

Oh my. We decided to convert one of the cribs into a toddler bed for L (age 2); why you ask? Well, we will file this under, "thought it was

877-778-2106: T-Mobile customer service phone number #2

This is the #2 phone number for T-Mobile customer service with tips to quickly reach a live T-Mobile support rep. If you're going to call 87


Pushbullet te muestra todas las notificaciones de tu móvil directamente en la pantalla del ordenador, ¡para que no te vuelvas a perder ningu

Washington State Liquor Tax Calculator

Calculate total liquor cost without going to the register

Googaro July Box

It felt like a long wait for Googaro this month; and I should know by now, a watched USPS tracking website does not ship... Last month, I re

It's Blizzarding Invites! -

This is your chance to win an invite to buy the 64GB Sandstone Black OnePlus One.

Citrus Lane July Box (2 year old boy)

*I would like to apologize to Citrus Lane for repeatedly posting on their page *shakes fist at FB* Citrus Lane is a monthly subscription box

Ask Nicola: Wife

Nicola Griffith, author of books such as And Now We Are Going to Have a Party, The Blue Place, and Slow River, rants, rhapsodises, and rambl

Aereo | Protect My Antenna

At Aereo, we believe that technology can play a vital role in making people’s lives better. So, we set out to build a technology that was si

Atomic Green Plus CM11 Addons

REQUIREMENTS: - You need a rooted phone with the newest CM11 Nightly to use this pack! FEATURES: Atomic Green + is the first set of addition


Declare your independence from locked down devices and encourage others to join you with the I VOID WARRANTIES shirt!

The Ultimate Hitchhiker's Guide to the Galaxy

At last in paperback in one complete volume, here are the five classic novels from Douglas Adams’s beloved Hitchiker series. The Hitchhiker

World Cup: Jurgen Klinsmann names preliminary 30-man USMNT roster; Eddie...

America, meet your final 30. Jurgen Klinsmann named his preliminary roster on Monday for next month's World Cup in Brazil. And although it i

Testing for "reverse" Heartbleed

While patching our systems for the recent Heartbleed vulnerability, we found that some sites (including huge web properties), which had patc

Great food and delivery too
Public - 10 months ago
reviewed 10 months ago
First retail marijuana in the area! Classy, clean, friendly employees who will help you pick out just the right product for your needs! It's about time!
Public - 10 months ago
reviewed 10 months ago
31 reviews
Public - 8 months ago
reviewed 8 months ago
Great sushi; sometimes slow service. This is a great place to eat and socialize, not so great for a quick bite.
Public - 10 months ago
reviewed 10 months ago
Public - a year ago
reviewed a year ago