hard reset - Xiaomi Mi A2 Lite Questions & Answers

Am I can do hard reset to my rooted phone without any problem or I should uninstall magisk first?

Rooted or not... doesn't make a difference. Remove all the Google accounts just in case, as if you forgot the password or the account you have used on the phone, the device will be locked after factory reset.
When you're ready just wipe Data, Cache and Dalvik in TWRP (that will leave Internal Storage untouched) or format Data (that will erase also Internal Storage and remove encryption of you have one).

Related

Factory reset wipe?

Now I think I know the answer, but by doing a factory reset wipe, do I delete the files on my SD?
It has begun...
I actually had a question like this too, if I were to factory wipe my SD card, would I loose root? I've wanted to start from scratch with as much of a clean slate as I could without losing root to make my own ROM, just didn't know how close I could actually get.
Still need this answered, any help is appreciated.
No its like when you do data wipe in recovery.
FACTORY RESET WIPE will erase all user info from internal storage. Dloaded apps, contacts, accounts... This will not erase any contents of the SDcard.
FORMAT SDCARD will erase all memory stored on card.
Edit: you will not lose root from factory reset.
Info appreciated.
It has begun...

Factory wipe questions

I've had my nexus since December and have tried several ROMs since then--not a total noob, but there's a lot I don't know.
I've been wondering what part of the memory is left untouched by the factory wipes that I've been doing in preparation to flash a ROM? And is there any need to periodically wipe that portion of the memory to remove any remnants of ROMs or deleted apps or anything else that is potentially problem causing or just eating up memory space?
And would your answer explain this: I once did a factory wipe and then accidentally selected reboot before flashing the new ROM and the phone booted normally into the ROM I thought I had just wiped.
factory wipe (data/cache) in CWM only removes the apps, user data, and cache
it leaves /data/media alone (this is the /sdcard/ partition)
so if you hit reboot after a factory reset, it will still keep the same rom as /system is untouched unless you remove it or the rom installer script for the new rom deletes the partition.
When you wipe you clean the ROM for a new one to come. and as far as I know there's no storage to be cleaned up. When yo wipe cache and data it should be good to go.
Sent from my Galaxy Nexus using xda app-developers app
if you factory wipe using CWM, it will keep the data/media folder, which is all your sdcard contents. other than that the rest of the data folder (apps/settings) will get wiped.
if you wipe userdata using fastboot, either by typing in 'fastboot erase userdata' or when using the -w command when installing factory images then your sdcard will get formatted too.
Anytime you want to change Rom's just move the important files/pics/etc to a subfolder of /data/media or just copy them to your PC first. I think its good to factory reset every once in a while to clear out the remnants of uninstalled programs. Seems to speed up the phone too in my opinion.
Mounts & Storage → Format System "Not SD"
It will help with issues people mostly run into.
bOx Stash - https://www.box.com/shared/d8a46b7252c38069deb1

[Q] factory reset function in twrp

Hi,
I'd like to know what happen, if I push the factory reset button in twrp 2.0.0.
Delete this my SDcard? Is after that the twrp still present?
Thanks for your help.
Frank
Factory reset just erases the /data portion of your device. It will not wipe your sdcard. And yes twrp will still be there

Cleaning internal memory & internal SD card

Have had my Galaxy Nexus for 2 years now. It was also my first android device so I've tried every app out there haha. This year I did my first root and tested a few roms. I think I have found one I like but before starting fresh I would like to completely restart my internal memory and SD card. Every flash I have done I have just done the factory reset which clears my SD card only I believe. I use TWRP and see that they have a few options to erase internal memory along with other things. Is it safe to do the advanced wipe? If I checked off all of the items and did the advanced erase, would I have to install the factory image in SDK again before being able to install a rom? How else would I install a rom if there is no data on the phone? All I am looking for is to completely clean up my phone before continuing on with it. Hopefully my post makes sense. Thanks for any future replies.
Best way to do that is to follow this guide and return to stock then start over. I'm pretty sure it wipes everything in the process.
http://forum.xda-developers.com/showthread.php?t=1626895
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
sumthin2die4 said:
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
Click to expand...
Click to collapse
re-lock then unlock the bootloader will wipe your data and internal sdcard.
flashing userdata.img with fastboot will do the same

Clean wipe along with internal storage wipe? Consequences on phone?

I have rooted phones for years and am currently on a debloated Verizon LG v30 vs99630c rom. In all these years, all of my "clean" wipes have constituted of a factory reset and/or a cache, dalvik, system and data wipe. I have never done an internal storage wipe of my phone. I am wondering exactly what happens if I do an internal storage wipe either by itself or with the clean wipe. Does that wipe my external SD card (should I remove it before wiping?) Does it do anything to my sim card (I have never removed it)?
Would I have an operating system (vs99630c?) on my phone or in twrp to install? Would I still be rooted? I would like to start with a clean phone with zero on it (except the debloated rom).
Or is a factory reset and my Google sign on the same thing? I did do a clean factory reset yesterday, but not an internal storage wipe, but would kind of like to, as long as I still have my Verizon phone and root.
All of this would need to be done only on my phone and in twrp, NOT connected to a computer.
Thx, for any help, advice, answers and suggestions.
Please make them, if any, in a dummies sort of way.
Frank
gimpy1 said:
I have rooted phones for years and am currently on a debloated Verizon LG v30 vs99630c rom. In all these years, all of my "clean" wipes have constituted of a factory reset and/or a cache, dalvik, system and data wipe. I have never done an internal storage wipe of my phone. I am wondering exactly what happens if I do an internal storage wipe either by itself or with the clean wipe. Does that wipe my external SD card (should I remove it before wiping?) Does it do anything to my sim card (I have never removed it)?
Would I have an operating system (vs99630c?) on my phone or in twrp to install? Would I still be rooted? I would like to start with a clean phone with zero on it (except the debloated rom).
Or is a factory reset and my Google sign on the same thing? I did do a clean factory reset yesterday, but not an internal storage wipe, but would kind of like to, as long as I still have my Verizon phone and root.
All of this would need to be done only on my phone and in twrp, NOT connected to a computer.
Thx, for any help, advice, answers and suggestions.
Please make them, if any, in a dummies sort of way.
Frank
Click to expand...
Click to collapse
Look at WTF Section 6, Step 7a, 7f, 7g. Yes it's written for installing TWRP, but those three steps are what you're asking about. See attached screenshot.
7a is factory reset. You've done that several times.
7f is where you reformat your internal memory, where you type YES. (Then, Step 7g is just reloading TWRP from within TWRP, to refresh it.)
BUT, you do NOTwant to wipe out your OS. That's a step too far. Some people have done that. And in those cases they had to reinstall their OS through a zip file, as well as disable checker and disable encryption. They did this, either by dragging files over from PC (while still in TWRP, like a flash drive) OR by already having those files on microSD card. microSD card is not touched, either thorough proper data reformat or by accidentally destroying the Android OS.
If you completely wipe internal memory the wrong way, then you will need those three files on a microSD card -- or by connecting to a PC to drag them over -- so you can reinstall them.
But if you do it the right way, then you will not need those files. You will still have your OS but just with reformatted data. Which is a more thorough than normal factory reset. That's why factory reset is 7a, but reformatting data is 7f.
When you install TWRP, you have to do them both. Your TWRP is already installed, you're just going to revisit those two steps to have a very clean phone.
NOTE:. after doing this you will still need to re-flash Magisk, of course. So best to have that on microSD card, also!
Good luck!

Categories

Resources