tl;dr Use the fastboot executable that comes with adb-tools instead of the one that comes with CF-Auto-Root
I decided to upgrade the N6 to Marshmallow today, and everything was going smoothly until I tried to regain root with CF-Auto-Root. Every time I ran the .bat file I got he error:
I hunted around google for a bit but couldn't find any real answer. I opened the .bat file to see what it was doing and maybe try to pinpoint the command that was failing. I saw that it was calling the fastboot that came in the CF-AutoRoot zip (tools\fastboot-windows.exe) On a hunch I copied in the fastboot.exe I had from adb-tools into the CF-AutoRoot directory, and changed all references of 'tools\fastboot-windows.exe' to 'fastboot.exe' in the .bat file.
I ran the .bat file again, and everything worked as it should. Booted into the OS and had root again.
Hopefully this can help someone in the future!
I decided to upgrade the N6 to Marshmallow today, and everything was going smoothly until I tried to regain root with CF-Auto-Root. Every time I ran the .bat file I got he error:
Code:
...
We will now attempt to boot CF-Auto-Root. You should see a red Android on the
screen of your device in a minute, with scrolling white text on top of it.
downloading 'boot.img'...
FAILED (command write failed (Unknown error))
finished. total time: 5.004s
...
I hunted around google for a bit but couldn't find any real answer. I opened the .bat file to see what it was doing and maybe try to pinpoint the command that was failing. I saw that it was calling the fastboot that came in the CF-AutoRoot zip (tools\fastboot-windows.exe) On a hunch I copied in the fastboot.exe I had from adb-tools into the CF-AutoRoot directory, and changed all references of 'tools\fastboot-windows.exe' to 'fastboot.exe' in the .bat file.
I ran the .bat file again, and everything worked as it should. Booted into the OS and had root again.
Hopefully this can help someone in the future!