Flash bootloader and boot.img? - Nexus 5X Q&A, Help & Troubleshooting

When I upgrade Cyanogenmod, I download the matching archive from here:
https://developers.google.com/android/nexus/images#bullhead
and do (with MTC20F for example):
flashboot flash bootloader bootloader-bullhead-bhz10r.img
flashboot flash radio radio-bullhead-m8994f-2.6.32.1.13.img
flashboot flash vendor vendor.img
Are there any other files I should be flashing such as boot.img?

xdadevelopersrocks said:
When I upgrade Cyanogenmod, I download the matching archive from here:
https://developers.google.com/android/nexus/images#bullhead
and do (with MTC20F for example):
flashboot flash bootloader bootloader-bullhead-bhz10r.img
flashboot flash radio radio-bullhead-m8994f-2.6.32.1.13.img
flashboot flash vendor vendor.img
Are there any other files I should be flashing such as boot.img?
Click to expand...
Click to collapse
No. Everything else is contained in the rom zip.
Sent from my Nexus 5X using Tapatalk

OK, is there a better way of figuring out which version to download from developers.google.com than watching the output from TWRP when installing a ROM?

xdadevelopersrocks said:
OK, is there a better way of figuring out which version to download from developers.google.com than watching the output from TWRP when installing a ROM?
Click to expand...
Click to collapse
The rom dev will inform you which Android base is installed if you read their changelog. Then you download that factory image from Google to flash vendor. Radio and bootloader are optional.
Sent from my Nexus 5X using Tapatalk

Related

updating ota under CWM

Hi,
How do I update to the latest stock OTA when using CWM?
Do I extract the image zip file from the google image
and update in fastboot as below:
fastboot -w update image-yakju-icl53f.zip
if so, will this wipe anything?
either you use fastboot or you use cwm, no point using the two at the same time, under controlled conditions.
garpunkal said:
Hi,
How do I update to the latest stock OTA when using CWM?
Do I extract the image zip file from the google image
and update in fastboot as below:
fastboot -w update image-yakju-icl53f.zip
if so, will this wipe anything?
Click to expand...
Click to collapse
-w wipes. Omit -w and it won't wipe.
With that being said it's not necessary. Download the OTA, boot into recovery and apply the update with CWM.
garpunkal said:
Hi,
How do I update to the latest stock OTA when using CWM?
Do I extract the image zip file from the google image
and update in fastboot as below:
fastboot -w update image-yakju-icl53f.zip
if so, will this wipe anything?
Click to expand...
Click to collapse
You are mixing-up two things: there is a difference between flashing the latest build or updating a previous build. In the first case, you actually flash a full ROM. In the latter, you flash an increment OTA update. Both methods should get you to exactly the same build.
See links in my signature.
Sent from my Galaxy Nexus using Tapatalk
Look at this link, Worked for me thru CWM: http://forum.xda-developers.com/showthread.php?t=1419170

Stock GPE L kernel

Anyone know where to get it? to flash in twrp?
malteasers said:
Anyone know where to get it? to flash in twrp?
Click to expand...
Click to collapse
Try getting it from here: http://forum.xda-developers.com/showthread.php?t=2706441
Download the whole rom and unzip it, you'll find a file call boot.img
Extract it out and flash that to your device in fastboot by using fastboot flash boot boot.img
Bobbi lim said:
Try getting it from here: http://forum.xda-developers.com/showthread.php?t=2706441
Download the whole rom and unzip it, you'll find a file call boot.img
Extract it out and flash that to your device in fastboot by using fastboot flash boot boot.img
Click to expand...
Click to collapse
you are forgetting the modules !

[HELP NEEDED] Android Oreo (final) install Android 7.1.2 Custom Rom (Pure Nexus)

Hi,
I've installed Android O on my Nexus 5x right now.
Now I want to install The Pure Nexus Project, but I don't know if it's possible.
Do I get any problems with vendor images etc.? I only unlocked the bootloader now.
I hope you can help me (fast),
Remy B
Is your bootloader all ready unlocked???
Yes, I unlocked my bootloader already.
RemyB______ said:
Hi,
I've installed Android O on my Nexus 5x right now.
Now I want to install The Pure Nexus Project, but I don't know if it's possible.
Do I get any problems with vendor images etc.? I only unlocked the bootloader now.
I hope you can help me (fast),
Remy B
Click to expand...
Click to collapse
Download 7.1.2 factory image, unzip it and fastboot flash bootloader, vendor and radio images as well as the TWRP recovery, reboot to recovery and install Pure Nexus.
Nicktheprofessor said:
Download 7.1.2 factory image, unzip it and fastboot flash bootloader, vendor and radio images as well as the TWRP recovery, reboot to recovery and install Pure Nexus.
Click to expand...
Click to collapse
That's the way to do it lol
So if I download the vendor image that's given with the rom I'm safe?
RemyB______ said:
So if I download the vendor image that's given with the rom I'm safe?
Click to expand...
Click to collapse
Yes, as long as you flash the bootloader and the radio images from 7.1.2.
If the ROM provides vendor you only have to flash bootloader and radio images, if it doesn't then you'll need to flash the vendor too. Pure Nexus does not provide vendor so you'll have to flash that as well, and it's not provided by Pure Nexus either, it's the same vendor.img that you get from the 7.1.2 factory image that you'll have to download for bootloader and radio anyway.
Just do what I told you.
Nicktheprofessor said:
Yes, as long as you flash the bootloader and the radio images from 7.1.2.
If the ROM provides vendor you only have to flash bootloader and radio images, if it doesn't then you'll need to flash the vendor too. Pure Nexus does not provide vendor so you'll have to flash that as well, and it's not provided by Pure Nexus either, it's the same vendor.img that you get from the 7.1.2 factory image that you'll have to download for bootloader and radio anyway.
Just do what I told you.
Click to expand...
Click to collapse
Okay thank you!
I'll try
Thanks!
Remy
RemyB______ said:
Okay thank you!
I'll try
Thanks!
Remy
Click to expand...
Click to collapse
No worries, if I were you I'd just use the flash-all.bat (windows)/flash-all.sh (nice open operating systems) to ensure you get a clean slate, then fastboot flash TWRP and install Pure Nexus from that.

Wifi not turning on other than marshmallow firmware

I'm facing a weird problem with my wifi on nexus5x
I can only open/access wifi on just marshmallow 6.0.1 firmware which is MTC20K
I tried flashing around 6 different stock firmwares including the latest 4 oreo firmwares. On every firmware other than mtc20k i can't turn on wifi.
Any way to fix this on oreo or nougat?
Any one else having this issue?
Note : i have fixed BLOD. Is that the reason for this?
I don't think so you probably have bad vendor.img
kastik4 said:
I don't think so you probably have bad vendor.img
Click to expand...
Click to collapse
I tried flashing stock firmware via fastboot which includes vendor image right?
Hassan_Elyas said:
I tried flashing stock firmware via fastboot which includes vendor image right?
Click to expand...
Click to collapse
it does include vendor img but depends if it gets flashed you can try flashing it manually. Extract the vendor img from the zip and move it to the folder you have fastboot "installed" and flash it with the command fastboot flash vendor vendor.img if that doesn't help either maybe its because you're radio img doesn't match the firmware you have and you can re flash it with with the command fastboot flash radio radio-bullhead-yourfirmware'sradio.img you need to extract that to the fastboot folder too
kastik4 said:
it does include vendor img but depends if it gets flashed you can try flashing it manually. Extract the vendor img from the zip and move it to the folder you have fastboot "installed" and flash it with the command fastboot flash vendor vendor.img if that doesn't help either maybe its because you're radio img doesn't match the firmware you have and you can re flash it with with the command fastboot flash radio radio-bullhead-yourfirmware'sradio.img you need to extract that to the fastboot folder too
Click to expand...
Click to collapse
Will try tonight. Thanks.
did it work? i have the same issue
Didn't work for me I'm running 8.1 Oreo with June security patches. Also my MAC address is weird 02:00:00:00:00:00 never seen one like this.
Did you do a full firmware flash, or just boot and system?

Flash AOSP

Hi
I have Xperia XZ2 Compact with Android 9 with unlocked bootloader. was trying to flash a ROM built from AOSP. I followed this official Sony's instruction: https://developer.sony.com/develop/...build-instructions/build-aosp-android-p-9-0-0. I have just added a field in xml that is used in Information about phone activity. The build was succesfull. In the end I get an information: "Your device is corrupt. It can't be trusted and will not boot". I did wiped the data, system and dalvik before flashing in TWRP. What the hell is going on?
kiubaz said:
Hi
I have Xperia XZ2 Compact with Android 9 with unlocked bootloader. was trying to flash a ROM built from AOSP. I followed this official Sony's instruction: https://developer.sony.com/develop/...build-instructions/build-aosp-android-p-9-0-0. I have just added a field in xml that is used in Information about phone activity. The build was succesfull. In the end I get an information: "Your device is corrupt. It can't be trusted and will not boot". I did wiped the data, system and dalvik before flashing in TWRP. What the hell is going on?
Click to expand...
Click to collapse
Flashed OEM?
Deactivated vbmeta?
MartinX3 said:
Flashed OEM?
Click to expand...
Click to collapse
Yes, OEM was already flashed to the one from XperiFirm.
MartinX3 said:
Deactivated vbmeta?
Click to expand...
Click to collapse
How to do that?
kiubaz said:
Yes, OEM was already flashed to the one from XperiFirm.
How to do that?
Click to expand...
Click to collapse
That's the wrong OEM.
Please follow my instructions in the SonyAOSP thread.
Or step 7 of your linked guide from sony.
So now the following steps to do:
1) download oem.img from https://developer.sony.com/file/download/software-binaries-for-aosp-pie-android-9-0-kernel-4-9-tama/
2) wipe data/cache/system,
3) from package built from AOSP do this
fastboot flash boot out/target/product/<device>/boot.img
fastboot flash system out/target/product/<device>/system.img
fastboot flash vendor out/target/product/<device>/vendor.img
fastboot flash userdata out/target/product/<device>/userdata.img
and lastly
fastboot flash oem img_from_point_one.img ?
kiubaz said:
So now the following steps to do:
1) download oem.img from https://developer.sony.com/file/download/software-binaries-for-aosp-pie-android-9-0-kernel-4-9-tama/
2) wipe data/cache/system,
3) from package built from AOSP do this
fastboot flash boot out/target/product//boot.img
fastboot flash system out/target/product//system.img
fastboot flash vendor out/target/product//vendor.img
fastboot flash userdata out/target/product//userdata.img
and lastly
fastboot flash oem img_from_point_one.img ?
Click to expand...
Click to collapse
Just follow my sonyaosp thread fastboot instructions
No files found in android 9 stock firmware https://androidfilehost.com/?w=files&flid=288319.
Allright that's original firmware but what if I want to make my own changes in AOSP? Thats the point.

Categories

Resources