if i factory reset my phone, will it remove the root - myTouch 4G Q&A, Help & Troubleshooting

will the root be gone if i factory reset my mytouch 4g?

Yes. Everything Will be wipe, superuser too.

Wrong. Actually, no. Not at all.
Factory reset wipes the /data partition, which holds user data.
Superuser resides on /system partition, which isn't wiped, and the fresh system after wipe will retain root access. Superuser app might be installed on /data, but the actual SU file will be on /system.
To remove root, you need to unroot - or flash non-rooted stock ROM.

Right, "factory" reset is a bit of a misnomer on Android.
There is no backup of the factory firmware if you have modified your system partition.
But if you flash a full RUU or PD15IMG.zip of the stock ROM, then yes you will lose root. However if you still have Radio S-OFF, you will still be able to flash unsigned images through the bootloader.

syedquadri said:
will the root be gone if i factory reset my mytouch 4g?
Click to expand...
Click to collapse
What ROM do you have? This all depends on the current ROM you have. If you did not update your ROM, then you will lose root. If you only updated your ROM and did NOT update your recovery, you could ruin your device potentially by selecting that option from within the phone or the stock recovery.
However, if you have a custom (probably rooted already) ROM and you have a recovery like clockworkmod recovery installed, then go ahead and wipe away. You can also clear just your cache, dalvik and many other stuff, the menu has a lot of options.

Related

How can I unroot (used unrevoked previously) & re-root?

At some point in the past, I rooted my Evo with Unrevoked. I'd like to undo that (if necessary?), in order to run CM7. My current baseband version is 2.15.00.11.19. I'm on 2.2. What do I need to do in order to either 1) return to stock and update to 2.3 or 2) install CM7?
All you need to do is put cm7 on your SD go into recovery do a full wipe (factory reset/data, data, system, cache, boot, sd-ext, android_secure, dalvik cache, etc but not SD card or battery stats) go to flash zip from SD locate and select cm7 wipe cache and dalvik cache again flash gapps wipe cache and dalvik, reboot and presto! you're now on cm7 no need to unroot/reroot or go back to stock
We are legion, for we are many.
hey,
Yeah just like evil said, place it in your sd card, do your wipes and flash it. if you unroot then you wont be flashing roms at all! Just google how to flash a rom and it will give you pictures and everything, now if you want to update your device dont unroot, just find a stock sense rooted rom right here on XDA. Itl be allready updated and rooted for your flashing pleasure!

[Q] flashing ROM, lost SD card contents

This has been bugging me and I can't seem to find anything on here to explain it.
I have installed custom ROMs on my N7. Problem is most ROM instructions say to do a full wipe/factory reset. When I do that, the downloaded ROM that was sitting on the SDCard gets wiped out as well.
I then have to go back and search for info on how to reset/restore the N7 and start all over, because the recovery (both CWM and TeamWin) don't let me mount the SD card to copy the needed zip over.
How can I do the recommended data wipe without losing the sd card contents?
Failing that, what's easiest way to get the ROM zip back on the N7 when the recovery won't allow it?
Thanks
dont wipe data...
just do a 'factory reset' in custom recovery...then flash a rom
I use TWRP & don't wipe everything, just System & Factory (to delete installed apps).
This is after wiping Cache & Dalvik Cache.
Unless I'm missing something a data wipe will wipe everything except recovery.
I don't think we have the option to exempt the media folder like on other devices.
(you type faster than me PG)
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
jneg123 said:
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
Click to expand...
Click to collapse
factory reset in TWRP doesnt touch /data/media
are you sure you are on the most recent version of recovery?
updated to latest recovery version, that seemed to be my issue. sd card now untouched.
Pirateghost said:
factory reset in TWRP doesnt touch /data/media
Click to expand...
Click to collapse
Pirateghost speaks the truth.
The stock recovery however, wipes everything with it's "factory reset".
It's a little bit unfortunate that the identical terminology is used. No doubt new folks will occasionally get bit by assuming they are the same.
I haven't used cwm yet; not sure what it means by "factory reset" - or even if it uses that terminology.

How to flash a Rom on a Nexus 7

I have flashed many a Rom in my day, but the Nexus 7 is a unique beast. How do you flash a ROM and how do you go about erasing the internal storage without losing all the data on the device. I.e. what you are flashing the TWP back ups and the Titanium back ups.
IF THIS HAD BEEN POSTED BEFORE I AM SORRY I AM ON MY NEXUS I DON'T HAVE A WAY TO SEE OLD POSTS.
Sent from my Nexus 7 using xda app-developers app
Unlock the bootloader. (THIS WILL ERASE EVERYTHING - PERFORMS A FACTORY RESET).
(So perform a backup first using either adb pull or Carbon (available on PlayStore)).
Fastboot flash a custom recovery, (CWM or TWRP).
Reboot into that recovery...
Flash the ROM of your choice.
Rgrds,
Ged.
No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.
waffleb051 said:
No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.
Click to expand...
Click to collapse
factory reset on the nexus devices, DO NOT WIPE /data/media which is where your 'sdcard' data is.....
waffleb051 said:
No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.
Click to expand...
Click to collapse
I'm a little vague about what you're asking here...
Haven't used CWM for a while (I forget the details), but in TWRP, having pressed WIPE...
...you can then select (In the wipe menu) CACHE, DALVIK CACHE, FACTORY RESET all with relative impunity... even SYSTEM ('Wipe System? This will wipe your ROM') can be wiped, if you have NANDROID BACKUPS or flashable ROMs to fall back on in internal storage.
The options to wipe EXTERNAL STORAGE, INTERNAL STORAGE and FORMAT DATA, however should be treated with EXTREME CAUTION... as you may be left only with a custom recovery (if you have wiped SYSTEM beforehand)... and then you'll have either have to adb push a NANDROID (or flashable ROM) from your computer or fastboot flash back to stock.
(As an aside by the way, you aren't really 'bricked'... you just have no usable ROM on your system; but that really isn't a problem if you know how to use adb or fastboot).
------
FACTORY RESET in TWRP doesn't wipe the internal storage... if that is what you're alluding to...
Rgrds,
Ged.
That is exactly what I was wonder thank you for both your answers

Would reflashing the stock firmware via odin wipe data?

Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
i guess not
EarlZ said:
Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
Click to expand...
Click to collapse
I guess just flashing the firmware won't wipe the data.
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
AO7 said:
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
Click to expand...
Click to collapse
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
EDIT:
Im wondering if factory reset would delete camera photos stored on the internal memory, if not I have most of my impt stuff backed up online.
EarlZ said:
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
Click to expand...
Click to collapse
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
AO7 said:
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
Click to expand...
Click to collapse
My data is not that important to trip knox
EarlZ said:
My data is not that important to trip knox
Click to expand...
Click to collapse
In that case I would just flash stock and see what happens,
AO7 said:
In that case I would just flash stock and see what happens,
Click to expand...
Click to collapse
Still waiting for the download to complete. Samfirmware is only giving me 300kb/s and I dont know where else to get stock firmwares.
To close this issue with a resolved status, I would like to say one thing.
If you flash a leaked firmware - it will wipe your phone.
If you flash a stock firmware - it will NOT wipe your phone.
Factory reset will not wipe your internal SD.
Installing TWRP or anything unofficial will trip your KNOX. If your data is worth losing warranty - go for it
I was with a UEND6 firmware and just gonna flash the same to get my data back and factory reset the phone.
EDIT:
Got my data, everything seems to be perfectly working aside from the task manger, Gonna factory reset the phone and probably reflash with odin to have a clean start, would ticking repartition be necessary for a fresh install ? ( but I remember that required a PIT file )

three questions about Nexus 6P

hi guys,
please i have some questions i really need there answers:
1- (rooted phone) if i do a factory data reset will the root gone and the TWRP also ?
2- (rooted phone) is there a way to install an update if i got it ( like update security patches "monthly" ) on rooted phone without wipe data or loosing the root or TWRP?
3- (rooted phone) if i reinstall the factory image full,the root and TWRP will have gone or not ?
thanks a lot !
1. If you use systemless root a factory reset will remove it. If you use a root method that modifies the system partition a factory reset won't remove root. Factory resets will not remove TWRP.
2. Installing monthly security updates and keeping TWRP, root, and data can be done by manually installing the update using fastboot and doing the following:
-Systemless root method: flash everything EXCEPT the recovery, boot, and userdata images.
-System based root method: install everything EXCEPT the recovery and userdata images. You will have to reflash Superuser/SuperSU (whichever you prefer) in TWRP since flashing the system image will remove root. There's no way around this.
3. If you use fastboot to install everything included in a factory image you will lose root, data, and TWRP.
Face_Plant said:
1. If you use systemless root a factory reset will remove it. If you use a root method that modifies the system partition a factory reset won't remove root. Factory resets will not remove TWRP.
2. Installing monthly security updates and keeping TWRP, root, and data can be done by manually installing the update using fastboot and doing the following:
-Systemless root method: flash everything EXCEPT the recovery, boot, and userdata images.
-System based root method: install everything EXCEPT the recovery and userdata images. You will have to reflash Superuser/SuperSU (whichever you prefer) in TWRP since flashing the system image will remove root. There's no way around this.
3. If you use fastboot to install everything included in a factory image you will lose root, data, and TWRP.
Click to expand...
Click to collapse
Could you explain me what are the difference between systemless root method and system based root method, in order to get know what is it the method that I used
Chouiyekh said:
Could you explain me what are the difference between systemless root method and system based root method, in order to get know what is it the method that I used
Click to expand...
Click to collapse
If you are running Marshmallow or Nouget and used a version of SuperSU that is a year or less old it does system less root by default.
You can flash OTA updates on a rooted device with FlashFire without using a computer.
You can also flash an OTA image in TWRP and then simply flash root after, before you boot the phone. If the phone boots without root, out will wipe TWRP and leave you with stock recovery.
But honestly, from the questions being asked, you might not want to try this stuff until you understand it better. Losing root and TWRP is not a big deal. You can flash them again in about 1min and 30 seconds, so it's not worth worrying about.
Sent from my Nexus 6P using Tapatalk
Why would factory reset remove systemless root? I expect factory reset to only reset what you're supposed to have changed since factory image. That is /data.
Systemless must be in /data if it's not in /system, right? I don't really know much about systemless, because I don't use Android pay, Snapchat or play children's games haha.
But my guess is that if it's not touching system, then it must be in data, so wiping data would remove it. But I'm just guessing.
Sent from my Nexus 6P using Tapatalk
HikingMoose said:
You can also flash an OTA image in TWRP and then simply flash root after, before you boot the phone. If the phone boots without root, out will wipe TWRP and leave you with stock recovery.
But honestly, from the questions being asked, you might not want to try this stuff until you understand it better. Losing root and TWRP is not a big deal. You can flash them again in about 1min and 30 seconds, so it's not worth worrying about.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
thank you, i got it easily because i'm not a beginner i have some experience
HikingMoose said:
Systemless must be in /data if it's not in /system, right?
But my guess is that if it's not touching system, then it must be in data, so wiping data would remove it. But I'm just guessing.
Click to expand...
Click to collapse
You guessed right. Never thought of that, thought it was actually all done from boot partition.
Quoting Chainfire:
As the binaries should still be updatable, and we don't know the space we have available in the boot image itself, we're mounting a (writable) ext4 image with /su as mount point from /data, and modifying PATH accordingly. Interestingly, for reasons yet unknown to me, if the image is mounted r/o by init, later remounting it r/w causes a bunch of issues. So we're keeping it r/w (for root) for now.

Categories

Resources