FORUMS
Remove All Ads from XDA

[GUIDE] Update with fastboot

117 posts
Thanks Meter: 89
 
By firewave, Senior Member on 11th November 2016, 06:49 PM
Post Reply Email Thread
Guide for installing new security update with fastboot and with a bootloader-unlocked Pixel XL.
This is basically the same thing as usual but with the new structure.

If you have modified a little the stock android (hosts file, root, kernel, etc.), you may experience a fail in OTA update;
If you have a bootloop/soft brick/not sure of the state of your android system;
This is the solution.

This WILL NOT delete your data and apps. This will remove your custom kernel/root/hosts/recovery through (which is a good thing because it will be clean then).

I assume you already have anything to do fastboot command. If not, see this good thread.

1) Download your system image for Marlin (Pixel XL) on google website.
For November update, there are 3 versions:
NDE63U Europe
NDE63V US, except Verizon
NDE63X Verizon

2) Unzip the file marlin-nde63v-factory-a66866ba.zip

3) Unzip inside the new directory (marlin-nde63v) the image-marlin-nde63v.zip

4) Reboot into bootloader
Code:
adb reboot bootloader
5) Execute fastboot commands (assuming the bin is on your PATH)
Code:
fastboot flash bootloader bootloader-marlin-*.img
fastboot reboot-bootloader
fastboot flash radio radio-marlin-*.img
fastboot reboot-bootloader
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system system.img
fastboot flash system_b system_other.img
fastboot flash vendor vendor.img
fastboot flash modem modem.img
fastboot reboot
Here we go, you have a fresh unrooted vanilla android with latest security patch.

6) To add TWRP and Root:
Code:
fastboot boot /path/to/twrp.img
In TWRP, install twrp.zip
Reboot into the installed recovery
In TWRP, install supersu.zip

Root thread for more information.
TWRP thread for more information.
The Following 35 Users Say Thank You to firewave For This Useful Post: [ View ] Gift firewave Ad-Free
 
 
11th November 2016, 06:49 PM |#2  
OP Senior Member
Flag Montreal, QC
Thanks Meter: 89
 
More
** Reserved **
11th November 2016, 07:25 PM |#3  
OP Senior Member
Flag Montreal, QC
Thanks Meter: 89
 
More
Quote:
Originally Posted by cam30era

@firewave,

Thanks for posting the guide. Just like Nexus devices except for the slot files. After unzipping the factory image, I do notice 15 additional files (other than boot, system, vendor, etc) that I've never seen before on a Nexus device. Do you happen to know what those are for, and why we don't flash them if doing a manual fastboot flash?

Thanks, in advance....

Other files are more for complete reset. There are for example, time-zones data, default crypto key, default /sdcard, bootlocker state, etc.
Only aboot.img is obscure for me. I'm at work so I can't dig into it, but I updated my pixel xl without issue that way.
I'm also add EX kernel and root again without issue.
The Following User Says Thank You to firewave For This Useful Post: [ View ] Gift firewave Ad-Free
11th November 2016, 07:28 PM |#4  
Senior Member
Flag Illinois
Thanks Meter: 298
 
Donate to Me
More
Quote:
Originally Posted by firewave

Other files are more for complete reset. There are for example, time-zones data, default crypto key, default /sdcard, bootlocker state, etc.
Only aboot.img is obscure for me. I'm at work so I can't dig into it, but I updated my pixel xl without issue that way.
I'm also add EX kernel and root again without issue.

aboot is actually part of the bootloader.
The Following User Says Thank You to death2all110 For This Useful Post: [ View ] Gift death2all110 Ad-Free
11th November 2016, 07:33 PM |#5  
OP Senior Member
Flag Montreal, QC
Thanks Meter: 89
 
More
Quote:
Originally Posted by death2all110

aboot is actually part of the bootloader.

yep, it's why I'm unsure what to do with. Probably nothing.
I will loopmount the file at home and see.
12th November 2016, 03:37 AM |#6  
wx9kvh's Avatar
Member
Flag Burlington, WI
Thanks Meter: 32
 
Donate to Me
More
Will this FDR the phone or just apply the update? I am currently on a Verizon Pixel XL Rooted/Unlocked and on the P build. Thanks for any information.
12th November 2016, 04:18 AM |#7  
fiffan86's Avatar
Senior Member
Flag Las Vegas, NV
Thanks Meter: 194
 
More
Quote:
Originally Posted by wx9kvh

Will this FDR the phone or just apply the update? I am currently on a Verizon Pixel XL Rooted/Unlocked and on the P build. Thanks for any information.

In the op in bold, he said it will not erase your data or apps
12th November 2016, 04:56 AM |#8  
dablitzkrieg's Avatar
Senior Member
Thanks Meter: 47
 
More
C:\android>fastboot flash bootloader bootloader-marlin-*.img
error: cannot load 'bootloader-marlin-*.img'

C:\android>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.047s]
finished. total time: 0.105s

C:\android>fastboot flash radio radio-marlin-*.img
< waiting for any device >
error: cannot load 'radio-marlin-*.img'

C:\android>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.047s]
finished. total time: 0.048s

C:\android>fastboot flash boot boot.img
target didn't report max-download-size
sending 'boot' (26405 KB)...
FAILED (command write failed (No error))
finished. total time: 0.001s

C:\android>fastboot flash system system.img
< waiting for any device >
target reported max download size of 536870912 bytes

I am getting the above error but it proceeds to do all other commands. Then I get hung up at the Google screen. Any suggestions? I can get into the bootloader. I've tried the fastboot commands twice now...same result
12th November 2016, 07:19 AM |#9  
Scott's Avatar
Inactive Recognized Developer
Flag Fargo
Thanks Meter: 66,238
 
Donate to Me
More
Quote:
Originally Posted by dablitzkrieg

C:\android>fastboot flash bootloader bootloader-marlin-*.img
error: cannot load 'bootloader-marlin-*.img'

C:\android>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.047s]
finished. total time: 0.105s

C:\android>fastboot flash radio radio-marlin-*.img
< waiting for any device >
error: cannot load 'radio-marlin-*.img'

C:\android>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.047s]
finished. total time: 0.048s

C:\android>fastboot flash boot boot.img
target didn't report max-download-size
sending 'boot' (26405 KB)...
FAILED (command write failed (No error))
finished. total time: 0.001s

C:\android>fastboot flash system system.img
< waiting for any device >
target reported max download size of 536870912 bytes

I am getting the above error but it proceeds to do all other commands. Then I get hung up at the Google screen. Any suggestions? I can get into the bootloader. I've tried the fastboot commands twice now...same result

Yes! Your using an old ADB / Fastboot combo...

See my post here: http://forum.xda-developers.com/show...8&postcount=74

Post if that does not resolve.

Also stop using wildcards "*". Use absolute paths.
The Following 2 Users Say Thank You to Scott For This Useful Post: [ View ] Gift Scott Ad-Free
12th November 2016, 07:34 AM |#10  
wx9kvh's Avatar
Member
Flag Burlington, WI
Thanks Meter: 32
 
Donate to Me
More
Quote:
Originally Posted by chapelfreak

In the op in bold, he said it will not erase your data or apps

That was not in the original post. I screenshot the OP, the part about adding a kernel or custom ROM at the bottom was also added. But thanks for the update.
12th November 2016, 07:44 AM |#11  
fiffan86's Avatar
Senior Member
Flag Las Vegas, NV
Thanks Meter: 194
 
More
Quote:
Originally Posted by wx9kvh

That was not in the original post. I screenshot the OP, the part about adding a kernel or custom ROM at the bottom was also added. But thanks for the update.

That makes sense, our posts are an hour apart or so.
Post Reply Subscribe to Thread

Tags
fastboot, kernel, ota, root, update

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes