Will recovery flash wipe my phone? - General Questions and Answers

Hi and merry Christmas
I do rooting for years, but never separated process of unlocking bootloader and flashing custom recovery. All guides speak about that phone will be wiped.
My bootloader is unlocked, but I am back on stock recovery. Will my phone be wiped when I flash custom recovery?
TIA!

moskito99 said:
Hi and merry Christmas
I do rooting for years, but never separated process of unlocking bootloader and flashing custom recovery. All guides speak about that phone will be wiped.
My bootloader is unlocked, but I am back on stock recovery. Will my phone be wiped when I flash custom recovery?
TIA!
Click to expand...
Click to collapse
Flashing of custom recovery needs unlocked bootloader. Unlocking of bootloader wipes your data. As you said your bootloader is already unlocked. Then you can flash custom recovery without worry of data loss.

Just flashed recovery via adb fastbook and installed supersu. All good, all data there

Related

[Q] Assisstance Understanding Unlocking Bootloaders

Need some assistance understanding how rooting, bootloader unlocking, ROM flashing. I came from the Samsung Fascinate (i500) where there was no bootloader to my knowledge, flashing ROMs with ODIN or CWM was straight forward.
Out from box I used the following method outlined from PhoneRebel (http://phonerebel.com/how-to-root-a...-4-1-1-verizonattsprintt-mobilei9300-version/) to root and then unknowingly assumed that this process also unlocked the bootloader for flashing various ROMs (I was wrong). Next I installed goomanager and flashed TWRP Recovery. Following booting into recovery and performing a backup, then while in Recovery mode attempted to install CleanROM7.
As what appeared to be a normal install using Aroma, the phone then rebooted and the infamous triangle appeared. Guess I "tripped" because the bootloader was still locked, or better yet I did not know that flashing (VRBMB1_Bootchain.tar.md5) was a relocked bootloader! The phone was now soft-bricked without the ability to get to a lock screen or enter Recovery Mode. Download Mode was still possible.
Since I had the ability to ODIN, I then followed Hero's method (http://forum.xda-developers.com/showthread.php?t=1840030) for unbricking. I'm back to where I think I was following my first root. The phone is running Verizon TW stock 4.1.2 rooted, Android Recovery, and not unlocked.
I am looking to flash Scott's (scrosler's) CleanROM 7 (http://forum.xda-developers.com/showthread.php?t=1832070) or any other ROM.
Specifically what are the steps that I need to follow which allows me to install other ROMs? Do I ODIN an unlocked bootloader (VRALEC.bootchain.tar.md5), ODIN TWRP, reset counter using Triangle Away, reboot into Recovery and install new ROM? Do I need to lock the bootloader following the ROM installation? Do I need to Triangle Away to reset the counter each time I want to install a different ROM, or is it once I install a new/custom ROM, I do not need to worry about the bootloader?
i535\VRBMA2\4.1.2
eggyjla74 said:
Need some assistance understanding how rooting, bootloader unlocking, ROM flashing. I came from the Samsung Fascinate (i500) where there was no bootloader to my knowledge, flashing ROMs with ODIN or CWM was straight forward.
Out from box I used the following method outlined from PhoneRebel (http://phonerebel.com/how-to-root-a...-4-1-1-verizonattsprintt-mobilei9300-version/) to root and then unknowingly assumed that this process also unlocked the bootloader for flashing various ROMs (I was wrong). Next I installed goomanager and flashed TWRP Recovery. Following booting into recovery and performing a backup, then while in Recovery mode attempted to install CleanROM7.
As what appeared to be a normal install using Aroma, the phone then rebooted and the infamous triangle appeared. Guess I "tripped" because the bootloader was still locked, or better yet I did not know that flashing (VRBMB1_Bootchain.tar.md5) was a relocked bootloader! The phone was now soft-bricked without the ability to get to a lock screen or enter Recovery Mode. Download Mode was still possible.
Since I had the ability to ODIN, I then followed Hero's method (http://forum.xda-developers.com/showthread.php?t=1840030) for unbricking. I'm back to where I think I was following my first root. The phone is running Verizon TW stock 4.1.2 rooted, Android Recovery, and not unlocked.
I am looking to flash Scott's (scrosler's) CleanROM 7 (http://forum.xda-developers.com/showthread.php?t=1832070) or any other ROM.
Specifically what are the steps that I need to follow which allows me to install other ROMs? Do I ODIN an unlocked bootloader (VRALEC.bootchain.tar.md5), ODIN TWRP, reset counter using Triangle Away, reboot into Recovery and install new ROM? Do I need to lock the bootloader following the ROM installation? Do I need to Triangle Away to reset the counter each time I want to install a different ROM, or is it once I install a new/custom ROM, I do not need to worry about the bootloader?
i535\VRBMA2\4.1.2
Click to expand...
Click to collapse
this should work
http://forum.xda-developers.com/showthread.php?t=2332825
after you root, unlock the bootloader and havea c ustom recovery installed you can flash zip files like youre probably used to.
good luck
Triangle Away is only for those looking to return the phone to their carrier. Also you MUST have an unlocked bootloader to flash custom ROMs. So to recap once you unlock the bootloader you can start flashing to your heart's content.

Wiping Rooted Nexus 5 For Resale + Keeping Root

Hi, I have a rooted nexus 5 which I want to sell, I really don't mind selling it rooted or not but all I want to do is factory reset it so none of my old data is on there. Can I just factory reset it in settings or Do I need to flash a stock image. It has the stock rom, with Super Su installed, and a custom recovery has also been installed. I also want to make sure the customer will be able to update the device normally. I have seen many ways to unroot the device and bring it back to stock, but I wanted to make sure which route to go as the last thing I want is the device to be bricked or anything like that. :'(
Factory reset should be enough. Make sure you haven't modified any system files and Xposed isn't installed and he should be able to update. I would go ahead and update the recovery to. Use TWRP as CWR is buggy as hell
#AndroidL
If it were me, I'd flash the stock firmware in fastboot, lock the bootloader and sell it like that.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If it were me, I'd flash the stock firmware in fastboot, lock the bootloader and sell it like that.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I would to. I would also use the SDK kit to securely wipe my device properly as well.
#AndroidL
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
josephlavagna said:
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
Click to expand...
Click to collapse
All that does is wipe /data and /cache. SuperSU binaries/apk are in /system.
josephlavagna said:
Hi, I have a rooted nexus 5 which I want to sell, I really don't mind selling it rooted or not but all I want to do is factory reset it so none of my old data is on there. Can I just factory reset it in settings or Do I need to flash a stock image. It has the stock rom, with Super Su installed, and a custom recovery has also been installed. I also want to make sure the customer will be able to update the device normally. I have seen many ways to unroot the device and bring it back to stock, but I wanted to make sure which route to go as the last thing I want is the device to be bricked or anything like that. :'(
Click to expand...
Click to collapse
There is more than one option to wipe your personal info and sell it rooted and hopefully I can add to the confusion. This is what I've done in the past when selling or giving away any device that the new owner wants to have rooted. I fastboot flash the system and boot images that are extracted from the factory image. Flashing the system image will make 100% sure that no modified system files will be lurking around trying to cause problems in the future. After flashing the system and boot images, while your device is in the bootloader screen, use the buttons to boot into recovery and flash the SuperSu installable zip that you will have downloaded to your device storage before flashing any images. After installing SuperSu while still in TWRP go to Wipe/Advanced Wipe and check the boxes for Cache, Internal Storage, Data and Dalvik Cache. Do NOT check System, you will have no OS to boot into if you do! If you're extra cautious/paranoid or have OCD (like myself) you can do a factory reset from inside your device settings after it boots up. TWRP has very recently been updated so that image can be flashed with the other images or beforehand using Flashify, if it needs to be updated. The above is just one of the ways to get to the same outcome, making sure there are no modified files in the system and that all personal info has been removed!
josephlavagna said:
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
Click to expand...
Click to collapse
You can use factory reset but if the seller want to recover your old file; its possible.
http://www.cnet.com/news/android-phone-wiping-fails-to-delete-personal-data/
Good luck!
I believe encrypting your device prior to doing a factory reset will prevent recovery of your files, but I haven't been able to confirm that.
Restola said:
I believe encrypting your device prior to doing a factory reset will prevent recovery of your files, but I haven't been able to confirm that.
Click to expand...
Click to collapse
Yes it would because the files left on the device after a factory reset will be inaccessible.
good thinking...
Possibly most efficient way:
fastboot oem lock (if currently unlocked)
boot into Android then go to Settings and turn on encryption
reboot to bootloader (or "adb reboot bootloader") and then fastboot oem unlock (this will absolutely erase everything on your device!)
boot into recovery and use ADB sideload to flash SuperSU (TWRP should support this)
(optional) relock bootloader?
That should result in a completely wiped, stock, rooted device with TWRP and unrecoverable personal data without having to reflash anything other than SuperSU?
chaosdefinesorder said:
Possibly most efficient way:
fastboot oem lock (if currently unlocked)
boot into Android then go to Settings and turn on encryption
reboot to bootloader (or "adb reboot bootloader") and then fastboot oem unlock (this will absolutely erase everything on your device!)
boot into recovery and use ADB sideload to flash SuperSU (TWRP should support this)
(optional) relock bootloader?
That should result in a completely wiped, stock, rooted device with TWRP and unrecoverable personal data without having to reflash anything other than SuperSU?
Click to expand...
Click to collapse
1. Encrypt.
2. Flash and wipe everything with fastboot (flash-all.bat/sh).
3. Relock bootloader
4. Sell.
Alternatively, use LG Flashtool and it'll automatically reflash/wipe + relock bootloader + reset tamper flag. Then it would be three steps.
Lethargy said:
1. Encrypt.
2. Flash and wipe everything with fastboot (flash-all.bat/sh).
3. Relock bootloader
4. Sell.
Alternatively, use LG Flashtool and it'll automatically reflash/wipe + relock bootloader + reset tamper flag. Then it would be three steps.
Click to expand...
Click to collapse
I was going for the route that did not require downloading the full ROM first...
chaosdefinesorder said:
I was going for the route that did not require downloading the full ROM first...
Click to expand...
Click to collapse
Quite a few of us always keep a set of factory images on a PC anyways
Edit: also, there are many people on custom ROMs or have modified /system. Factory reset within Android only wipes /data (internal storage included) and doesn't do anything else. Same with bootloader unlock. If you deleted an .apk in /system for example, where would a factory reset/bootloader unlock get it back from?
chaosdefinesorder said:
I was going for the route that did not require downloading the full ROM first...
Click to expand...
Click to collapse
To keep rooted but give a good clean up - you can
-download rooted rom.zip and flash via recovery.
-Lockock bootloader and reset flag via bootunlocker app.
-Encrypt.
-Wipe.
Easy. Can even flash a different recovery first although, if rooted, custom recovery is good idea. Still best to unroot if you ask me, which you can easily do via the superuser app..
-download rooted rom.zip and flash via recovery.
-Flash stock recovery zip
-Lockock bootloader and reset flag via bootunlocker app.
-Uroot via supersu
-Encrypt.
-Wipe.

[Q] update on 32gb LTE unit

So I did the lollipop upgrade got root and unlocked my bootloader but I think I used the wifi build to update with but it works fine. However my tablet says there is a new update out and I know it will kill root and recovery but will it matter since I unlocked the bootloader? Update has been sitting there for awhile because I keep putting it off.
If your bootloader is unlocked you can flash any recovery (Cwm, philz or TWRP) via fastboot and then use it to flash supersu zip file from it.
An unlocked bootloader lets you flash unsupported firmware; e.g., another bootloader, custom kernel, recovery or ROM. Don't worry about updating, but expect to have to reflash recovery and re-root the device after pulling down an OTA.

How do we get rid of custom recovery, then relock bootloader on Samsung SM-J327P

Hello there,
Recently I wanted root on my J3, but then after unlocking bootloader and installing TWRP via Odin, I keep having these messages pop up telling me these apps stopped working.
Now I know if I just lock the bootloader, it will brick the device (from my research).
I now want to get rid of TWRP, and install stock recovery, then lock the bootloader.
Thanks,
Cody
you can flash stock rom. it will be fine probably

Will flashing twrp recovery delete my data

I'm planing to boot android 9 to my lebovo tab m7.
If i flash twrp recovery will it dlete my data
Flashing TWRP requires tablet's bootloader got unlocked before.
Unlocking the bootloader wipes all user-data.

Categories

Resources