BOOTLOADER/Factory Reset - G2 and Desire Z General

Was mucking around and noticed in the bootloader there is an option that I haven't noticed in other bootloaders. 'Factory Reset'. Is this a standard reset or does that completely reinstall the stock rom? It would be amazing if HTC has included a complete reset in this newest bootloader.

Related

[Q] N7 Factory Reset: Have to Unlock and Root again?

Ok, I come from the Apple world where you have to restore the iPhone / iPad first to update to the latest iOS then re-jailbreak.
With the N7, if I wanted to upgrade to a newer version of Android (currently on 4.2.2, so whatever comes next), would I have to re-flash the N7 to stock 4.2.2 then re-unlock and re-root it?
What if I just want to do a factory reset to start over? Do I have to re-flash stock 4.2.2 then re-unlock and re-root in that case too?
Synomenon said:
Ok, I come from the Apple world where you have to restore the iPhone / iPad first to update to the latest iOS then re-jailbreak.
With the N7, if I wanted to upgrade to a newer version of Android (currently on 4.2.2, so whatever comes next), would I have to re-flash the N7 to stock 4.2.2 then re-unlock and re-root it?
What if I just want to do a factory reset to start over? Do I have to re-flash stock 4.2.2 then re-unlock and re-root in that case too?
Click to expand...
Click to collapse
To do an official ota yes. There are stock odexed/deodexed ROMs you can flash in the dev forums without having to go through that though.
Sent from my Paranoid 3.0 Nexus7 running M-Kernel mr1
Locking/unlocking of the boot loader is completely independent from other "rooting" activity. Under normal circumstances, it is only unlocked once and then left that way.
In Android, there are 5 principal partitions: recovery, boot, system, data, and cache. In pure stock devices, it is intended that recovery, boot, and the system partition are always used in a read-only fashion by the end user. All user changes, customizations, settings, and data are recorded into the data (sometimes also called "userdata") partition. (The cache partition is used for temporary/transient stuff)
So, the Android "factory reset" is not precisely what you are thinking of - it is a procedure which erases only the cache and data partitions. IT RESTORES NOTHING - IT ONLY DELETES.
So, if a device "rooter" comes along and alters the boot/recovery/system partition, those changes stay on the tablet/phone even when a "factory reset" procedure is performed. THOSE CHANGES CAN BREAK THE SUCCESSFUL INSTALL OF AN OTA BUNDLE, so, yes - it is generally cleaner to install a pure stock ROM for the purposes of performing an OTA upgrade... at which point you need to re-root and re-customize ( not including the boot loader unlock step).
One more thing, too: because the Nexus 7 has no physical SD card, it has an "emulated" SD card which is stored in the /data (userdata) partition. When the "stock recovery" performs a "factory reset", it erases EVERYTHING in /data - including this psuedo SD card! The newer versions of the CWM or TWRP custom recoveries define "factory reset" a little differently - they erase everything except what is stored in the /data/media/ folder - the location of the emulated SD card (usually /data/media/0). This is important to understand, as your backups will be stored in there.
HTH
PS There is no need for you to "hurry up and install an OTA" if you are using a well supported custom ROM - generally after a few weeks a ROM dev will rebase their ROM onto the new release, and you can simply "dirty flash" the replacement ROM over the top of the existing ROM. That will save you some effort if you just wait a little.
So I just unlocked and rooted my N7 last night.
Since it is unlocked and rooted, do I have to do anything different if I want or have to perform a factory reset (using the hardware buttons to go into recovery mode and use the "wipe data/factory reset" option)?
If I do this factory reset, it stays unlocked right? Does it stay rooted too?
Synomenon said:
If I do this factory reset, it stays unlocked right? Does it stay rooted too?
Click to expand...
Click to collapse
Yes and Yes.
PS. The most important skill set you can develop right now is making backups using the custom recovery. You should be 100% comfortable using the backup/restore menus of the custom recovery ... and almost as important knowing where they are stored so you can get copies of them off the tablet for safe keeping.
Thank You!
bftb0 said:
Locking/unlocking of the boot loader is completely independent from other "rooting" activity. Under normal circumstances, it is only unlocked once and then left that way.
In Android, there are 5 principal partitions: recovery, boot, system, data, and cache. In pure stock devices, it is intended that recovery, boot, and the system partition are always used in a read-only fashion by the end user. All user changes, customizations, settings, and data are recorded into the data (sometimes also called "userdata") partition. (The cache partition is used for temporary/transient stuff)
So, the Android "factory reset" is not precisely what you are thinking of - it is a procedure which erases only the cache and data partitions. IT RESTORES NOTHING - IT ONLY DELETES.
So, if a device "rooter" comes along and alters the boot/recovery/system partition, those changes stay on the tablet/phone even when a "factory reset" procedure is performed. THOSE CHANGES CAN BREAK THE SUCCESSFUL INSTALL OF AN OTA BUNDLE, so, yes - it is generally cleaner to install a pure stock ROM for the purposes of performing an OTA upgrade... at which point you need to re-root and re-customize ( not including the boot loader unlock step).
One more thing, too: because the Nexus 7 has no physical SD card, it has an "emulated" SD card which is stored in the /data (userdata) partition. When the "stock recovery" performs a "factory reset", it erases EVERYTHING in /data - including this psuedo SD card! The newer versions of the CWM or TWRP custom recoveries define "factory reset" a little differently - they erase everything except what is stored in the /data/media/ folder - the location of the emulated SD card (usually /data/media/0). This is important to understand, as your backups will be stored in there.
HTH
PS There is no need for you to "hurry up and install an OTA" if you are using a well supported custom ROM - generally after a few weeks a ROM dev will rebase their ROM onto the new release, and you can simply "dirty flash" the replacement ROM over the top of the existing ROM. That will save you some effort if you just wait a little.
Click to expand...
Click to collapse
Thank you bftb0:good::good:

[D803] Does doing a factory reset remove root? (applied via IORoot22)

As per thread title, I was wondering if performing a factory reset removes root? I do not yet have a custom recovery, and the local stock KitKat OTA update is going out soon. I was considering holding off on the custom recovery and taking the OTA update, but my understanding is that doing so rooted will cause problems so I'm not about to try.
Basically, just how "reset" is the "factory reset" - and do the factory reset options in the Settings>Backup and Reset do the same thing as the Factory Reset from Power+VolDown boot?
root stays
Um, I'm pretty sure you lose root.
Your phone gets reset to factory default, which is no root...
And yes, it's the same as doing it from stock recovery or from the settings

Different factory reset between stock and custom ROMs?

If I remember it correctly, when performing factory reset under stock ROM, you basically erase everything you've put in the phone. However, I just noticed recently that factory reset does not seem to remove directories such as DCIM, TWRP and TitaniumBack (as well as the files underneath). At least that's what I saw in CM12 ROMs. Of course this is convenient when we flash different ROMs, but why is the difference?

Factory reset

I've upgraded to 5.02, so now if I do a factory reset, will the phone load the kitkat it came with or lollipop?
Lollipop.
Thanks
in reply to factory reset
when you flash a custom recovery the phone deletes the old recovery and applies the new one, the only way to change that is to reflash the recovery with another rom or the stock rom

Help needed regarding factory reset

Hello,
I am currently running Nuclear Rom 7.1.2 on my zuk z1 with TWRP recovery. What if I do factory reset of my phone, will the phone stays the same with rom, gapps and super su and all the data will be wiped
OR
it will remove the root and get the phone back into its proper shape
OR
will it brick my device
I am asking if I do factory reset from Settings -Back up and reset - Factory reset
I am selling my phone in the market so want to confirm that what would be the scenario if I wipe my data like that
Shaheer12345 said:
Hello,
I am currently running Nuclear Rom 7.1.2 on my zuk z1 with TWRP recovery. What if I do factory reset of my phone, will the phone stays the same with rom, gapps and super su and all the data will be wiped
OR
it will remove the root and get the phone back into its proper shape
OR
will it brick my device
I am asking if I do factory reset from Settings -Back up and reset - Factory reset
I am selling my phone in the market so want to confirm that what would be the scenario if I wipe my data like that
Click to expand...
Click to collapse
Better to flash it again and wipe all data
Shaheer12345 said:
Hello,
I am currently running Nuclear Rom 7.1.2 on my zuk z1 with TWRP recovery. What if I do factory reset of my phone, will the phone stays the same with rom, gapps and super su and all the data will be wiped
OR
it will remove the root and get the phone back into its proper shape
OR
will it brick my device
I am asking if I do factory reset from Settings -Back up and reset - Factory reset
I am selling my phone in the market so want to confirm that what would be the scenario if I wipe my data like that
Click to expand...
Click to collapse
fastboot cos and sell or flash any official n rom with ota.

Categories

Resources