Today, I got a shiny new Nexus 6. I finally retired my Galaxy Nexus today after more than three years of service.
First things first – I’mma flash this baby.
Flashed TWRP first –
fastboot oem unlock then
fastboot flash recovery twrp-126.96.36.199-shamu.img – then tried to boot into it. Couldn’t mount? Buncha red text went by too fast. Hmm. Maybe it’s got to do with forced encryption. Well, I’d just flash it back to the stock ROM and call it a night and worry about CM12 tomorrow.
Downloaded the monstrous stock ROM – it’s 900 megabytes?!?! – and proceeded to
./flash-all.sh. What do you mean,
'system' is too big? Oh, I need the newest version of
fastboot. The one from the ubuntu phablet ppa won’t cut it.
Not able to just
sudo apt-get android-tools-* and have it magically work, I started fumbling around to get
adb to work the hard way. After two hours of brick-shitting, voila:
- Get the android sdk – I skipped the ide and just got the sdk in a tarball
- Install some sort of jdk – I used
- Untar the android sdk tarball; go inside to
./android sdkto install
platform-tools– uncheck everything except for platform-tools near the top; I didn’t need documentation or samples a phonebecause I’m not actually developing anything right now
- Finagle with udev to give
fastbootthe right permissions
- Fastboot was still giving me a bit of crap for some reason when I ran
./flash-all.sh, so I read the script with
cat flash-all.shand just ran the last line:
fastboot -w update image-shamu-lmy47i.zipand that worked.
So I’m done for now. Still have to figure out why TWRP didn’t work. I’ll get root soon, but pure android is actually pretty decent at the moment. Maybe I’ll see you in a couple of years, cyanogenmod, when Google stops updating android 9 for the N6.