How to I install custom ROMs on the Nexus 5X? - Nexus 5X Q&A, Help & Troubleshooting

Like I remember reading something about flashing factory images first them installing the ROM, I'm getting confused coming from an LG G3. On G3 it was just root, flash TWRP, then flash ROM of choice. But with Nexus 5X it's a lot more complicated. Can someone give me a detailed way of properly flashing a custom ROM?

LayWhoZayHer said:
Like I remember reading something about flashing factory images first them installing the ROM, I'm getting confused coming from an LG G3. On G3 it was just root, flash TWRP, then flash ROM of choice. But with Nexus 5X it's a lot more complicated. Can someone give me a detailed way of properly flashing a custom ROM?
Click to expand...
Click to collapse
Unlock Bootloader, Flash TWRP and Start Flashing lol
Sent from my Nexus 5X using Tapatalk

Psychofrantics said:
Unlock Bootloader, Flash TWRP and Start Flashing lol
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
But what's this thing about vendor images before I flash a custom ROM?

LayWhoZayHer said:
But what's this thing about vendor images before I flash a custom ROM?
Click to expand...
Click to collapse
You just have to flash corresponding vendor image for that months security update. E.g. Yiu are flashing a rom based on july security patch. You need to just flash vendor image from July once a month. As long as you are flashing rims based on july patched, you need just flash vendor from july once
Sent from my Nexus 5X using Tapatalk

just follow this HowTo step by step and you're good: http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930

Related

Rooting my Nexus 7

Hi, I've some basic experience regarding rooting and flashing of roms but I have some enquiry before I start flashing on my up and coming nexus 7.
So here are the steps to proceed on:
1st unlock the boot loader using fastboot oem unlock
2nd flashing a custom recovery using fastboot flash recover recovery.img
3rd just do a full wipe and install my downloaded rom and gapps
And I'm done with the steps for flashing on the N7 2013 edition right?
Bobbi lim said:
Hi, I've some basic experience regarding rooting and flashing of roms but I have some enquiry before I start flashing on my up and coming nexus 7.
So here are the steps to proceed on:
1st unlock the boot loader using fastboot oem unlock
2nd flashing a custom recovery using fastboot flash recover recovery.img
3rd just do a full wipe and install my downloaded rom and gapps
And I'm done with the steps for flashing on the N7 2013 edition right?
Click to expand...
Click to collapse
here you go
chrismast said:
here you go
Click to expand...
Click to collapse
Do i have to flash the boot.IMG for this device like the 2012 N7?
Bobbi lim said:
Do i have to flash the boot.IMG for this device like the 2012 N7?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2382051
http://www.youtube.com/watch?v=XM3CBtAaoWU
try these, this is what I followed when I rooted mine.
Bobbi lim said:
Hi, I've some basic experience regarding rooting and flashing of roms but I have some enquiry before I start flashing on my up and coming nexus 7.
So here are the steps to proceed on:
1st unlock the boot loader using fastboot oem unlock
2nd flashing a custom recovery using fastboot flash recover recovery.img
3rd just do a full wipe and install my downloaded rom and gapps
And I'm done with the steps for flashing on the N7 2013 edition right?
Click to expand...
Click to collapse
Nexus Toolkit from SkipSoft does it all and is very easy to use.
Sent from my XT907 using Tapatalk
dr_jpeg1254 said:
Nexus Toolkit from SkipSoft does it all and is very easy to use.
Sent from my XT907 using Tapatalk
Click to expand...
Click to collapse
toolkits are nice because they make it easier indeed, whereas they should not replace the knowledge of manually doing it for the case of emergencies should you mess it up.

[Q] CM10.2 MK3 build support?

I want to flash CM10.2 on my rooted 4.3 MK3 s3. Is it possible to flash that rom on the phone although Cm10.2 is android 4.2.2?
Thanks!
WoodenDiamond71 said:
I want to flash CM10.2 on my rooted 4.3 MK3 s3. Is it possible to flash that rom on the phone although Cm10.2 is android 4.2.2?
Thanks!
Click to expand...
Click to collapse
As long as the file you download does not downgrade the boot loader. ROM zips will not do this unless otherwise noted. Flashing tar files through ODIN can brick your phone if you downgrade Android version number because tar files reflash every part of the phone, including bootloader.
sent from my GS3
joeyhdownsouth said:
As long as the file you download does not downgrade the boot loader. ROM zips will not do this unless otherwise noted. Flashing tar files through ODIN can brick your phone if you downgrade Android version number because tar files reflash every part of the phone, including bootloader.
sent from my GS3
Click to expand...
Click to collapse
You're correct about the downgrading the bootloader part since i have learned my lesson the first time, but as far as flashing the rom is concerned my recovery will not flash it and i get the broken android as the background and my recovery says the installation was aborted. I am using philz touch recovery 6 btw.
WoodenDiamond71 said:
You're correct about the downgrading the bootloader part since i have learned my lesson the first time, but as far as flashing the rom is concerned my recovery will not flash it and i get the broken android as the background and my recovery says the installation was aborted. I am using philz touch recovery 6 btw.
Click to expand...
Click to collapse
You should be also getting a status 7 error, because the bootloader you currently have (MK3) is not listed as one of the "approved" bootloaders in the updater-script for any 4.3.x ROM based on AOSP. You will need to go into the updater-script and modify one of the lines to match your bootloader, or get rid of the assert lines altogether. Any KitKat 4.4.x ROM's will have your bootloader listed, so this is not necessary for the newest ROM's.
How would I do that? Is there a tutorial I can follow
Sent from my SPH-L710 using Tapatalk
WoodenDiamond71 said:
How would I do that? Is there a tutorial I can follow
Sent from my SPH-L710 using Tapatalk
Click to expand...
Click to collapse
http://androidforums.com/virgin-mobile-galaxy-s3-all-things-root/791952-all-in-one-guide-modifying-custom-sprint-roms-virgin-mobile-use.html
This is a tutorial I have put together on Android Forums for the rooted Virgin Mobile community (SGS3), since we have to always modify or delete the asserts in order to get Sprint ROM's to flash on our phones. Principle is the same for any Sprint user in your situation. I also just made a YouTube video showing how to do the relevant parts of my tutorial.
https://www.youtube.com/watch?v=IZnYSrUIXKM
Hope this helps! Feel free to PM me if need be for any clarification.
Sweet!! Thanks I'll check it out later once I get out of work. Thanks once again I'll pm if it worked
Sent from my SPH-L710 using Tapatalk

Nexus 5x TWRP flashable stock rom

Is it possible to obtain a flashable zip for the stock 7.1.1 ROM?
I'm running PureNexus as my primary ROM, but I would like to be able to flash the stock ROM as secondary ROM in multirom TWRP.
I guess it is possible. I wish someone will make it. lol. We only have debloated stock rom flashable via twrp as of now.
https://forum.xda-developers.com/showthread.php?t=3398617
Sent from my Nexus 5X using Tapatalk
Thank you very much.
That will suffice. I'm going to use it as a base ROM.
Lord_Flaya said:
Thank you very much.
That will suffice. I'm going to use it as a base ROM.
Click to expand...
Click to collapse
welcome ???
Sent from my Nexus 5X using Tapatalk
I was wondering if there is a flashable and up to date stock Oreo ROM. I searched but couldn't find one. I want to use xposed and want to update the rom through TWRP instead of flashing whole factory image and erasing all stuff. Debloated would be fine, too. Just no special featured added.
Sushi3110 said:
I was wondering if there is a flashable and up to date stock Oreo ROM. I searched but couldn't find one. I want to use xposed and want to update the rom through TWRP instead of flashing whole factory image and erasing all stuff. Debloated would be fine, too. Just no special featured added.
Click to expand...
Click to collapse
If you use the flash-all batch file to flash the factory image just go into the batch file and delete the -w paramater. Alternately you can flash each partition separately with fastboot.
To maintain twrp don't flash the recovery image. With any of this you'll have to root again.
Sent from my [device_name] using XDA-Developers Legacy app
jd1639 said:
If you use the flash-all batch file to flash the factory image just go into the batch file and delete the -w paramater. Alternately you can flash each partition separately with fastboot.
To maintain twrp don't flash the recovery image. With any of this you'll have to root again.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Is it possible to update the system this way with encryption enabled?
Would it be possible to flash one of the full OTA images?
eg. https://dl.google.com/dl/android/aosp/bullhead-ota-opm4.171019.016.a1-510a2077.zip
(NB. This will probably replace your recovery with the stock one on the first boot after upgrading.)

Nexus 5x ROM

Hi I am new to the Nexus 5x and need assistance. I dont know what factory image from https://developers.google.com/android/images#bullhead I need if I have metro pcs. And every time I need to go into custom recovery do I need to flash it threw bootloader with the custom rom folder in the adb folder? Please someone help me I am really confused
HaxUrMom69 said:
Hi I am new to the Nexus 5x and need assistance. I dont know what factory image from https://developers.google.com/android/images#bullhead I need if I have metro pcs. And every time I need to go into custom recovery do I need to flash it threw bootloader with the custom rom folder in the adb folder? Please someone help me I am really confused
Click to expand...
Click to collapse
Factory images are universal for this device. All carriers are supported. Just flash the June factory image.
You can flash the boot, system, recovery, and vendor images through TWRP. Those same images can be flashed in the bootloader. Radio and bootloader images must be flashed in bootloader. Does that answer your question? If not, read my guide and see if that resolves your questions:
https://forum.xda-developers.com/showthread.php?t=3206930
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
Factory images are universal for this device. All carriers are supported. Just flash the June factory image.
You can flash the boot, system, recovery, and vendor images through TWRP. Those same images can be flashed in the bootloader. Radio and bootloader images must be flashed in bootloader. Does that answer your question? If not, read my guide and see if that resolves your questions:
https://forum.xda-developers.com/showthread.php?t=3206930
Click to expand...
Click to collapse
So when you install a new rom you don't need to flash the vendor image also? Because some ROMs say to also flash vendor image when installing a rom
tactical bacon said:
So when you install a new rom you don't need to flash the vendor image also? Because some ROMs say to also flash vendor image when installing a rom
Click to expand...
Click to collapse
This is covered in-depth with FAQ #9 of my link above. But in short, each monthly security update brings a new vendor image that must be installed. Each time your rom updates to a new month's security update, you need to install that vendor image. If you flash back to a previous month's rom, you need to flash that respective vendor image. Only exception is if your rom includes the vendor image in the rom zip.
Sent from my Nexus 5X using Tapatalk
Sorry one last question. I am on the latest security update stock, if I was to flash the latest AOSP extended on the latest security update all I would have to do is flash the ROM and gapps? But when the new security update is added to the ROM then I would flash the vendor image. Sorry if I'm asking to many questions but I don't want to run into a problem.
tactical bacon said:
Sorry one last question. I am on the latest security update stock, if I was to flash the latest AOSP extended on the latest security update all I would have to do is flash the ROM and gapps? But when the new security update is added to the ROM then I would flash the vendor image. Sorry if I'm asking to many questions but I don't want to run into a problem.
Click to expand...
Click to collapse
You're fine, ask away! Yes to both questions. Let's say the July security update is released for your custom rom. You would flash the July vendor.img then your rom and then that's it.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
You're fine, ask away! Yes to both questions. Let's say the July security update is released for your custom rom. You would flash the July vendor.img then your rom and then that's it.
Click to expand...
Click to collapse
Just one more thing. I just realized there is no sd slot. where would I put the ROM and gapps
tactical bacon said:
Just one more thing. I just realized there is no sd slot. where would I put the ROM and gapps
Click to expand...
Click to collapse
I have my stuff in subfolders inside /sdcard
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
I have my stuff in subfolders inside /sdcard
Click to expand...
Click to collapse
Thanks for the help. I just flashed asop extended and everything works fine. Do you have a recommended ROM for stability?

Rom process

Whats the process to flashing a custom rom on the pixel devices? i read something about having to flash stock first?
xSpartacusx said:
Whats the process to flashing a custom rom on the pixel devices? i read something about having to flash stock first?
Click to expand...
Click to collapse
Your bootloader, radio and vendor should match whatever ROM you want to flash.
Basically you should flash and boot March stock first, set up and set pin
Download rom, twrp installer zip
Remove screen lock pin
Fastboot boot (twrp.img)
Factory reset
Flash rom + twrp installer
Reboot system
If you want to flash a 9 based ROM like carbonrom you'll have to format userdata and flash and boot August factory image then repeat the steps above
Either way you should learn the fastboot commands and do things manually, it comes in handy updating both slots if needed.
oh yea i got it figured out! now, if i go back to stock from a custom rom, using the stock March image, will i still get OTA updates or will i need to flash through the OTA images that are provided?
xSpartacusx said:
oh yea i got it figured out! now, if i go back to stock from a custom rom, using the stock March image, will i still get OTA updates or will i need to flash through the OTA images that are provided?
Click to expand...
Click to collapse
You'll need to relock your bootloader, just make sure you're full stock on both slots or you will brick your phone. I personally don't think it's worth the risk and just update through twrp or fastboot

Categories

Resources