need little help? - Nexus 5X Q&A, Help & Troubleshooting

currently running pure nexus rom 6.0.1 on my n5x and want to upgrade to android n
any way to flash android n update without any data or app loss?
ps: n5x rooted with twrp recovery
Sent from my Nexus 5X

Download the N factory image and extract it. Use fastboot to first flash the bootloader. Then re-boot into the bootloader. Then flash the boot, system, radio, and vendor images. It's always good to back everything up first, just in case. You might have to uninstall then re-install some apps. You'll have to re-flash twrp and SU.
Sent from my Nexus 9 using XDA-Developers mobile app

but i guess
flashing factory image will wipe my internal storage too?
if not then how?
Sent from my Nexus 5X

gtsfreak said:
but i guess
flashing factory image will wipe my internal storage too?
if not then how?
Click to expand...
Click to collapse
He literally just explained step by step how to do it. You can do it this way or use ADB sideload like I did. Some apps needed to be reinstalled, but all of my internal storage was kept.

Okay thanks
Sent from my Nexus 5X

Related

[Q] What does the boot loader lock/unlock actually wipe out

I did the update to 4.0.4 and my phone is running like crap; laggy, radio doesn't perform well, and occasional crashes.
That said, I'm thinking it would be best to wipe it clean and start again. I was curious if doing the boot loader lock or unlock just wipes data that's been added, or if it would reset the entire phone to 4.0.1. I'm assuming it just wipes the data, but wanted to know for sure.
On a related note, would I be better off downloading the 4.0.4 image from google and just reflashing the phone with the Galaxy Nexus Toolkit if I'm seeing performance issues?
If you want a reinstall, just re-flash the images.
Locking then unlocking the bootloader wipes the entire device, and you have to reinstall the OS. Might as well just skip that step and completely re-flash the images. Using the bootloader is just an unnecessary step. Re-flashing the images will accomplish the same thing of reloading the OS from scratch.
Everything.
Sent from my Galaxy Nexus using XDA
martonikaj said:
If you want a reinstall, just re-flash the images.
Locking then unlocking the bootloader wipes the entire device, and you have to reinstall the OS. Might as well just skip that step and completely re-flash the images. Using the bootloader is just an unnecessary step. Re-flashing the images will accomplish the same thing of reloading the OS from scratch.
Click to expand...
Click to collapse
Really??? I haven't heard anything about having to reinstall the entire os from relocking and unlocking the boot loader...
I'll probably just reflashing the 4.0.4 build on the google nexus builds page
pr3cision said:
Everything.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
So does that mean it would go back to 4.0.1 and lose the 4.0.2 and 4.0.4 patches?
It does not wipe the is partition. When ur firmware is updated its updated. It won't revert back unless u flash a different image or stock ruu or image. It wipes all the data. Allll the data, not the os. You can't delete the os.
Sent from my Galaxy Nexus using XDA
ChazzMichaelMichaels said:
Really??? I haven't heard anything about having to reinstall the entire os from relocking and unlocking the boot loader...
I'll probably just reflashing the 4.0.4 build on the google nexus builds page
Click to expand...
Click to collapse
What I'm saying is it won't wipe the update. If you want to go back to 4.0.1 or 4.0.2 you have to flash images. Locking then Unlocking won't just put you back to 4.0.1. Sorry if it was a little confusing.
Unlocking the bootloader wipes the user data partition only, which includes /sdcard. It does not wipe the system partition where the OS resides.
Sent from my Galaxy Nexus using Tapatalk

[Q] Flash factory image

Is it beneficial to flash the factory image if you have flashed lots of ROMs recently?
I was thinking of doing this when 4.2 is released but was curious if it would actually make a difference.
Nah.
Just factory reset + clear cache in cwm will do.
Mach3.2 said:
Nah.
Just factory reset + clear cache in cwm will do.
Click to expand...
Click to collapse
However, a true fresh start would be reflashing factory images, custom recovery, etc
bk201doesntexist said:
However, a true fresh start would be reflashing factory images, custom recovery, etc
Click to expand...
Click to collapse
Actually, flashing a stock image doesn't take 5 minutes lol.
Mach3.2 said:
Actually, flashing a stock image doesn't take 5 minutes lol.
Click to expand...
Click to collapse
So we both agree. OP, start fresh from factory images.
Sent from my i9250
Thanks for the replies. Backing up and restoring the SD card after flashing the factory image shouldn't cause any problems either correct? I don't want to lose all my pictures and other files.
KnappyRoot said:
Thanks for the replies. Backing up and restoring the SD card after flashing the factory image shouldn't cause any problems either correct? I don't want to lose all my pictures and other files.
Click to expand...
Click to collapse
Back up everything you need on your computer. Re-lock & then unlock the bootloader, that will wipe everything clean. Then follow procedure to flash factory image, look for efrant's post in general.
Vangelis13 said:
Back up everything you need on your computer. Re-lock & then unlock the bootloader, that will wipe everything clean. Then follow procedure to flash factory image, look for efrant's post in general.
Click to expand...
Click to collapse
no need to relock/unlock, either pass '-w' to have fastboot wipe userdata partition or just 'fastboot erase userdata'.
userdata is at /data, i think.
I use the fastbook -w update command and it deletes all information.
Sent from my Galaxy Nexus using xda app-developers app
Well I flashed 4.0.4 factory image and restored my SD card. When I try to move files on the SD card I keep getting message that file can't be moved. Am I missing a check box somewhere?
My next idea was to re-flash factory image, root, then manually restore files from my computer. Any other easier suggestions?
Sent from my Galaxy Nexus using xda app-developers app

How to "Factory Reset" via Clockworkmod Recovery

Hello All,
its a bit confusing for me. many threads describe that we should "Factory reset" the device before flashing a new ROM. what does it mean ? when i did factory reset my original stock ROM it deleted all my data and brought me an "out of box" phone. now when i have rooted my phone and flashed couple of roms, i just wiped cache and dalvik cache bla bla ... and of course my previous data was there..
actually what i want to do is ... i want to install a stock 4.2 and i don't want any previous data on my phone .. can it be possible ??
A little advice would be grateful ... ... thanks in advance ..
Hi,
Have you ever used the factory image that Google released to flash your phone?
takju has 4.2 factory image now.
You can download it, extract it, connect your galaxy nexus with fastboot mode to pc. Just double click flash_all.bat in the extracted folder if you are using windows.
"fastboot -w" will erase all user data. (include sdcard partition... remember to backup your file in the sdcard before you run this command)
The last fastboot command of flash_all.bat has the "-w" parameter. It'll clean all user data.
Sent from my Galaxy Nexus using xda app-developers app
V0odo0 said:
Hello All,
its a bit confusing for me. many threads describe that we should "Factory reset" the device before flashing a new ROM. what does it mean ? when i did factory reset my original stock ROM it deleted all my data and brought me an "out of box" phone. now when i have rooted my phone and flashed couple of roms, i just wiped cache and dalvik cache bla bla ... and of course my previous data was there..
actually what i want to do is ... i want to install a stock 4.2 and i don't want any previous data on my phone .. can it be possible ??
A little advice would be grateful ... ... thanks in advance ..
Click to expand...
Click to collapse
Why not use TWP, instead of CWM?
ilu73224 said:
Hi,
Have you ever used the factory image that Google released to flash your phone?
takju has 4.2 factory image now.
You can download it, extract it, connect your galaxy nexus with fastboot mode to pc. Just double click flash_all.bat in the extracted folder if you are using windows.
"fastboot -w" will erase all user data. (include sdcard partition... remember to backup your file in the sdcard before you run this command)
The last fastboot command of flash_all.bat has the "-w" parameter. It'll clean all user data.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
yes i did flashed factory image of 4.1 .. before rooting my phone .. so unlocking bootloader did work for me that time ... i appreciate for what you have guided me to .. but what if i want to use 4.2 roms .. not stock image using fastboot .. and if i use fastboot to erase all things ... will i have to flash recovery again too .. ?
Sorry if it sound dumb ..
Sent from my Galaxy Nexus using xda premium
tufel said:
Why not use TWP, instead of CWM?
Click to expand...
Click to collapse
Does TWRP have an option to factory reset .. ?
Sent from my Galaxy Nexus using xda premium
V0odo0 said:
Does TWRP have an option to factory reset .. ?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
They both do and in the context of a custom recovery they wipe data and cache, your sdcard is untouched in this factory reset
Sent from my Galaxy Nexus
go in the dev section download the 4.2 factory image zip.. then in cwm or twrp
wipe data
wipe system
wipe cache
wipe dalvik
flash the factory image
reboot
As far as I know all custom Recovery's leave your sd card untouched so unless u flash a factory image or relock/unlock or bootloader there's no way to reset to a factory state. Another method is to flash just the stock recovery using fast boot then factory reset using that then flash cwm again
Sent from my Galaxy Nexus using Tapatalk 2
@k786: Flash the factory image? Thought it could only be done through fastboot. Is there something I missed, like making a zip file with a factory image? If so, how? Tnx.
What people mean when they say to do a factory reset before flashing is to choose that option in your recovery. It removes your previously installed apps and configurations so that you are starting from a known configuration. They are not telling you to restore the factory rom for an "out of the box" configuration.
Sent from my Nexus 7 using Tapatalk 2
Okie .. i got that ... i use to wipe cache and dalvik .. etc... and its called factory resetting when flashing a rom ..
But what if i want to delete the contents on my phone's storage .. particularly in sd card folder .. obviously nexus has no physical sd card to format .. and it cant be mounted either to copy a flashable zip like i used to do with my wildfire ..
One option above was locking and unlocking boot loader again .. will it work now after rooting and custom recovery and custom rom .. ??
Sent from my Galaxy Nexus using xda premium
As I said flash stock recovery. It will reset everything
Sent from my Galaxy Nexus using Tapatalk 2

[Q] TWRP for N7 2013 question - does it prevent OTA update?

I rootd my N7 2013 LTE but did not install TWRP. If I install TWRP, will this prevent future OTA pushed by Google?
If yes, how do I UNINSTALL TWRP? Will I have to wipe my device in order to do so?
I am not planning to install custom ROM, just trying to access TWRP to do tablet and dalvick cache wipe, since I have issues with thousands of deleted_wakelock and suspend_backoff. Per this guide on wakelocks, I have to do the wipe.
Yes and yes
Sent from my Nexus 7 using Tapatalk
z0phi3l said:
Yes and yes
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Crap, I don't want to wipe my device just to uninstall TWRP, given I have stock ROM.
Any other way to wipe cache without TWRP?
No it will not prevent an OTA update, however you will have to flash it yourself, just let the update download, reboot into TWRP, navigate to the OTA zip which will be in /cache directory on your device, and flash as normal, clear dalvik and caches, and reboot.

Nexus 5x VERYY noob question!

Guys I rooted my phone (nexus 5x 16gb) I unlocked the bootloader and I instaled a twrp custom recovery... My question is simple for you I guess : My phone have only 10.67gb avabile for user usage and If I suit my phone up will remain only 3-4 gb. If I do a back up on twrp I will not have any space avabile and now my question if I want to delete all my apps and data to give my phone to an other person and go to Setting->Backup&Reset->Factory reset without an back up on twrp to save space will my phone remain without operation sistem (android 7) and I will be stuck in recovery mode without OS ( I am verry noob and if you can explain to me I will be greatfull And please do no be mad on my english
If you do a factory reset you will just erase all your data, it wont touch the system
AtField said:
If you do a factory reset you will just erase all your data, it wont touch the system
Click to expand...
Click to collapse
so I no need a back up in the twrp????
Tnx for your help seams to no need a backup when you do a factory restore
Gabriel9 said:
Tnx for your help seams to no need a backup when you do a factory restore
Click to expand...
Click to collapse
You don't need a backup in TWRP. Best way to get back to factory is use image from google and flashall in fastboot. This will erase userdata, system, and recovery all back to stock. Best way to do it. Once you do flashall you can lock bootloader if you want though it's better to stay unlocked if ever there are problems.
If you are giving your phone to someone else make sure to delete your google account to disable device protection so someone else can use it.
Sent from my Nexus 5X using Tapatalk

Categories

Resources