[Q] rooting erases the phone? - Samsung Galaxy Nexus

ive read in some other posts here that rooting our gsm gnexus will erase the phones data/settings/etc. because it is an "oem root". is this true? does it apply to the gnex toolkit?
thanks!

joshtb86 said:
ive read in some other posts here that rooting our gsm gnexus will erase the phones data/settings/etc. because it is an "oem root". is this true? does it apply to the gnex toolkit?
thanks!
Click to expand...
Click to collapse
Rooting does not erase data/settings. HOWEVER, if you unlock your bootloader, it will erase everything. All toolkits that I have seen, root by unlocking your bootloader first (if it is locked).
Use this, and you will root without losing anything, locked bootloader or not.

efrant said:
Rooting does not erase data/settings. HOWEVER, if you unlock your bootloader, it will erase everything. All toolkits that I have seen, root by unlocking your bootloader first (if it is locked).
Use this, and you will root without losing anything, locked bootloader or not.
Click to expand...
Click to collapse
why does unlocking the bootloader erase everything? and that is necessary to flash a new rom or kernel, correct?

joshtb86 said:
why does unlocking the bootloader erase everything? and that is necessary to flash a new rom or kernel, correct?
Click to expand...
Click to collapse
Because it just does. It's a security thing. But it doesn't matter - with what I pointed you to in my previous post, you can root, flash a custom recovery, backup everything, then unlock your bootloader and restore the backup.
An unlocked bootloader is not required to flash a new ROM or kernel if you have root. You cannot, however, flash things through fastboot, but it doesn't matter.
In any case, I would recommend you unlock your bootloader and leave it unlocked.

joshtb86 said:
why does unlocking the bootloader erase everything?
Click to expand...
Click to collapse
security reason...if you have a phone with the bootloader locked and a lockscreen password, ur phone is secure (EDIT: usb debug need to be disabled to be real secure)...so if u lost the phone for example someone could unlock the bootloader and with root permission could get ur personal data..instead in this way if he unlock the bootloader the data in it is wiped..
with the bootloader unlocked ur phone give u free access to the system, so u can root it, flash rom, kernel and everything
in case a day u change idea, u can also relock the bootloader (this will wipe again ur phone EDIT: will not wipe it)..this is usefull to get warranty for example
there is also an exploit, mentioned before in the thread, that is able to root ur phone without unlocking the bootloader..but i suggest to unlock the bootloader as u have more control of ur phone by having access to fastboot commands

thanks for the help guys! i have to figure out if i really want to wipe all my data. if i use titanium to backup everything, then unlock bootloader, can i still restore the same backed up data, or does the changed bootloader make that impossible?

andQlimax said:
security reason...if you have a phone with the bootloader locked and a lockscreen password, ur phone is secure...
Click to expand...
Click to collapse
Not entirely true. You need to have USB debugging disabled in settings as well for it to be secure.
andQlimax said:
in case a day u change idea, u can also relock the bootloader (this will wipe again ur phone)..this is usefull to get warranty for example
Click to expand...
Click to collapse
Not true. Relocking the bootloader does not wipe anything.
---------- Post added at 11:21 AM ---------- Previous post was at 11:17 AM ----------
joshtb86 said:
thanks for the help guys! i have to figure out if i really want to wipe all my data. if i use titanium to backup everything, then unlock bootloader, can i still restore the same backed up data, or does the changed bootloader make that impossible?
Click to expand...
Click to collapse
You do NOT have to wipe all your data.
Follow these steps:
1) Root your device using the method I linked to above;
2) Download ROM Manager from the market;
3) Using ROM Manager, flash CWM recovery;
4) Reboot into recovery and perform a backup;
5) Copy that backup OFF of your device;
6) Unlock your bootloader; <== This will wipe your device, including everything in /sdcard...
7) Copy your backup back to your device;
8) Reboot into recovery and restore your backup;
9) Done. Now your bootloader is unlocked, you have root, and your data/settings are exactly how they were before.
EDIT: Yes, you can use Titanium Backup once you root, but using CWM recovery is easier and faster.

efrant said:
Not entirely true. You need to have USB debugging disabled in settings as well for it to be secure.
Click to expand...
Click to collapse
yeah true
efrant said:
Not true. Relocking the bootloader does not wipe anything.
Click to expand...
Click to collapse
didn't know that..it makes sense anyway
thanks for the corrections

so the bootloader is not affected by a CWM backup.
this is so helpful. thanks so much guys! i thanked both of you for your replies!

joshtb86 said:
[snip]
so the bootloader is not affected by a CWM backup.
Click to expand...
Click to collapse
No, it is not.

Always root the first day to avoid this!

Related

[Q] Can I pull/push system files without being root?

My bootloader is locked so I can't boot an insecure boot.img and run adb root, without unlocking it and loosing all my data. Is there any other way to pull and push system files?
i believe you can pull, but cannot push.
i'm not a 100% on that however.
Zepius said:
i believe you can pull, but cannot push.
i'm not a 100% on that however.
Click to expand...
Click to collapse
I need to edit /data/data/com.android.providers.contacts/databases/contacts2.db in order to enable Facebook contacts sync. I can confirm that pull doesn't work.
Can you confirm that I need to unlock and thus loose all my data to apply this hack?
if you need root, you will have to unlock the bootloader and that will trigger a data wipe (including contents on your /sdcard/)
Gremo said:
My bootloader is locked so I can't boot an insecure boot.img and run adb root, without unlocking it and loosing all my data. Is there any other way to pull and push system files?
Click to expand...
Click to collapse
You can try rooting without unlocking the bootloader using this exploit:
http://forum.xda-developers.com/showthread.php?t=1894717
Once rooted, you can use bootunlocker to unlock the bootloader without losing any data.
strumcat said:
You can try rooting without unlocking the bootloader using this exploit:
http://forum.xda-developers.com/showthread.php?t=1894717
Once rooted, you can use bootunlocker to unlock the bootloader without losing any data.
Click to expand...
Click to collapse
According to his signature he's on JB 4.1.2 so I don't think that exploit will work
3rdstring said:
According to his signature he's on JB 4.1.2 so I don't think that exploit will work
Click to expand...
Click to collapse
OK, thanks. I'm using Tapatalk and can't see signatures, etc.

[Q] Install Stock Recovery

Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
niftycalls said:
Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
Click to expand...
Click to collapse
post result from command fastboot getvar version-main and we will find you the stock recovery
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
niftycalls said:
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
Click to expand...
Click to collapse
as i can remember even if your bootloader is unlocked as long as you have stock recovery you can update.. just make sure you have a backup of all your data.
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
niftycalls said:
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
Click to expand...
Click to collapse
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
[email protected]|-|oR said:
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
Click to expand...
Click to collapse
yess.. i have the unlock.bin, but then i lose all the data no?
niftycalls said:
yess.. i have the unlock.bin, but then i lose all the data no?
Click to expand...
Click to collapse
As far as I remember you will lose data. Make a backup (Titanium, or similar app) of important data, unlock the bootloader, flash stock recovery, reboot, restore data.
And keep the bootloader unlocked!
damn!! if i keep my bootloader unlocked, i keep getting an error from an anitvirus kinda tool tht i had to install so that i receive my office emails. thanks for your help, will do this when i have a lot of time..

[Q] Root Toolkit - no device

Hello from Germany!
I got a new device and want to get root access. Trying to use the Toolkit 2.0.2; drivers are installed and M8 ist identified by PC. But when I want to proceed, I receive an error saying "device not detected".
What can I do?
Use fastboot and flash recovery, then root. Simple.
Toolkits don't always make life easier.
You did unlock your bootloader? Cause that's step 1. ?
KJ said:
Use fastboot and flash recovery, then root. Simple.
Toolkits don't always make life easier.
You did unlock your bootloader? Cause that's step 1. ?
Click to expand...
Click to collapse
Will I lose any data when flashing recovery?
Schlicki said:
Will I lose any data when flashing recovery?
Click to expand...
Click to collapse
If you still have to unlock your bootloader, that will wipe the phone completely.
You can try "bootunlocker" from the play store to unlock and keep your data... But at own risk, I've never used it.
Or, transfer all your important stuff to the computer. Pics and whatnot. You can try Helium from play store to backup user apps and data and then transfer the backup folder to your computer.
If you've already unlocked the bootloader..... And just are flashing recovery, no... That does not wipe anything.
KJ said:
If you still have to unlock your bootloader, that will wipe the phone completely.
You can try "bootunlocker" from the play store to unlock and keep your data... But at own risk, I've never used it.
Or, transfer all your important stuff to the computer. Pics and whatnot. You can try Helium from play store to backup user apps and data and then transfer the backup folder to your computer.
If you've already unlocked the bootloader..... And just are flashing recovery, no... That does not wipe anything.
Click to expand...
Click to collapse
My M8 is 2 weeks old and totally stock....
You have a link for the Bootunlocker? Can only find one for Nexus devices.....
You can unlock at htcdev website. Warranty will be void. Or pay 25 and use sunshine. Warranty will be good still, cause as long as you're able, you can return it to stock setup. ?
Just Google each.
---------- Post added at 04:02 PM ---------- Previous post was at 04:00 PM ----------
Yeah, I was wrong. Seems bootunlocker is only for the nexus.
So backup to the computer first.

Forgot my new PIN

Hi XDA Community,
I recently changed my PIN and forgot all about it until my phone ran out of battery. After my reboot, it asks me for my PIN, and I forgot it... My 5T is not rooted. My question is, do I have to be rooted to install TWRP recovery? I do not want to wipe my device. Please assist. Thank you so much for your help.
skyhonor said:
Hi XDA Community,
I recently changed my PIN and forgot all about it until my phone ran out of battery. After my reboot, it asks me for my PIN, and I forgot it... My 5T is not rooted. My question is, do I have to be rooted to install TWRP recovery? I do not want to wipe my device. Please assist. Thank you so much for your help.
Click to expand...
Click to collapse
You don't have to be rooted to install TWRP but you need an unlocked bootloader. Is your bootloader unlocked? If not I ask you to kindly follow the steps given here.
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
PrismereKnight said:
You don't have to be rooted to install TWRP but you need an unlocked bootloader. Is your bootloader unlocked? If not I ask you to kindly follow the steps given here.
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
Click to expand...
Click to collapse
When I unlock the bootloader that will wipe everything on my phone... Is there anyway possible for me to backup all my stuff?
skyhonor said:
When I unlock the bootloader that will wipe everything on my phone... Is there anyway possible for me to backup all my stuff?
Click to expand...
Click to collapse
AFAIK, no.
How do you unlock the bootloader if you do not have OEM unlock and usb debugging in the developer options?
Thank you for all your responses. I have taken this opportunity to learn and ALWAYS have a custom recovery. I've wiped everything sadly, unlocked bootloader, rooted and am on TWRP with a custom rom now.

[RECOVERY]Honor 7x stuck in bootloop

Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Oloccin said:
Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Click to expand...
Click to collapse
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
sliding_billy said:
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
Click to expand...
Click to collapse
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Oloccin said:
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Click to expand...
Click to collapse
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
sliding_billy said:
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
Click to expand...
Click to collapse
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Oloccin said:
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Click to expand...
Click to collapse
Can you get into stock recovery for a factory reset?

Categories

Resources