Forgot my new PIN - OnePlus 5T Questions & Answers

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.

Related

[Q] rooting erases the phone?

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!

[Q] question about bootloader

hi sorry for noob question.
i rooted my phone a while ago, and i think i remember unlocking bootloader but im not sure. i DO have TWRP recovery, does that mean that i had to unlock my bootloader to get it; thus it is unlocked?
thanks!
souvasaurus said:
hi sorry for noob question.
i rooted my phone a while ago, and i think i remember unlocking bootloader but im not sure. i DO have TWRP recovery, does that mean that i had to unlock my bootloader to get it; thus it is unlocked?
thanks!
Click to expand...
Click to collapse
Since u r rooted and already have custom recovery flashed,there's no need to do anything else..u can now flash custom rom of ur need via recovery.
International Samsung devices have an unlocked bootloader when you buy it.
So it's necesseray but already done by the manufacturer.

Help needed here :) Newbie user Nexus 7 2013 wifi

Hi everyone. I'm a new user of Nexus 7 2013 WiFi
I just recently updated it to android 4.4 and it was my first time doing it.All I've done was unlock the bootloader and installing it using the "adb sideload" command.
Can I relock the bootloader?Did I missed any step before installing?Please I need help and suggestions.
Yes you can relock it
just look here
http://forum.xda-developers.com/showthread.php?t=2389107
macaroonsZ said:
Hi everyone. I'm a new user of Nexus 7 2013 WiFi
I just recently updated it to android 4.4 and it was my first time doing it.All I've done was unlock the bootloader and installing it using the "adb sideload" command.
Can I relock the bootloader?Did I missed any step before installing?Please I need help and suggestions.
Click to expand...
Click to collapse
You didn't need to unlock to use adb sideload, but now that you have it unlocked, personally I would leave it unlocked. You have more options to recover from problems with it unlocked and also if you ever want to root, you don't need to do the wipe/restore sequence again.
sfhub said:
You didn't need to unlock to use adb sideload, but now that you have it unlocked, personally I would leave it unlocked. You have more options to recover from problems with it unlocked and also if you ever want to root, you don't need to do the wipe/restore sequence again.
Click to expand...
Click to collapse
Thank you for your response what about the twrp?what is it?
macaroonsZ said:
Thank you for your response what about the twrp?what is it?
Click to expand...
Click to collapse
It's a recovery module.Where you can create backup, reset the device, restore the backup, etc etc!
Just google a little about it!

relock boot loader after rooting?

ok, this is driving me crazy. had every nexus except the 6, got the 5x. unlocked bootloader, ok. flash twrp. cool. install root files, great. set up android pay, denied due to unlocked boot loader. went to lock boot loader... wants to do a factory reset.... ok..... now it just boot loops in twrp formats cache, and phone gives errors about corrupt system, different system, blah blah. so right now im bootloader unlocked, rooted with twrp. how is everyone relocking the boot loader?
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
berndblb said:
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
Click to expand...
Click to collapse
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
PiousInquisitor said:
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
Click to expand...
Click to collapse
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
dwreck420 said:
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
Click to expand...
Click to collapse
It plainly says:
mportant: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
dwreck420 said:
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
Click to expand...
Click to collapse
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
SlimSnoopOS said:
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
Click to expand...
Click to collapse
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
PiousInquisitor said:
It plainly says:
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
Click to expand...
Click to collapse
does android pay work for you with unlocked bootloaders and systemless root?
dwreck420 said:
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
Click to expand...
Click to collapse
Oh, that sounds pretty cool actually.
I don't use Android Pay but I know you do not need a locked bootloader to get it working. Which version of SuperSU did you install? Cuz every time I see a 5X user with working Android Pay, they have systemless root and even a custom rom. I am pretty certain that I read that you just need to delete /SU/xbin_bind to get Android Pay working with systemless root.
Edit: I've seen it mentioned in the SuperSU thread I think, but it is explicitly mentioned in this Nexus 6P Android Pay thread
dwreck420 said:
does android pay work for you with unlocked bootloaders and systemless root?
Click to expand...
Click to collapse
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
PiousInquisitor said:
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
thanks for the clarification.
dwreck420 said:
thanks for the clarification.
Click to expand...
Click to collapse
No problem. Sorry if I came across a bit hostile. I may have been up too late last night.
Android Pay is also working on some ROMs. Cataclysm for one. PureNexus will be comparable next update too.
Sent from my Nexus 5X using Tapatalk
Never mind
Sent from my Nexus 5X using Tapatalk

Relocking bootloader question

Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
just oem lock it. but everything will be removed when you do that.
Playa82 said:
just oem lock it. but everything will be removed when you do that.
Click to expand...
Click to collapse
Thanks, I thought so but I had to check. Strange... after rooting phones and installing custom ROMs for maybe 8 years, I don't think I've ever relocked a bootloader.
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
SpaceGooner said:
Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
Click to expand...
Click to collapse
Deleted my comment for incorrect information
Le_Zouave said:
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
Click to expand...
Click to collapse
Thanks, but I plan to sell my OP3 to a high street store that buys and sells second-hand phones and tablets. Although it's only 3 months old and in immaculate condition, I'm guessing they may be reluctant to buy it if the start up screen says 'this phone can't be trusted...'
No choice in this situation - I will need to relock the bootloader I guess.
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
ungeeked said:
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
Click to expand...
Click to collapse
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Yup.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
Ta mate. I already saw that thread but as I'm running a clean sideloaded OOS that has never been rooted, I am already back to stock. Anyway, as opinion seems to be divided on whether OEM lock alone is enough, I will also sideload a full OOS update zip again to be sure.
Won't be doing it for a few days though so it's all academic at the moment.
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
i did that guide too. i came from cm13. thiss guide works perfect if you follow all steps exactly.

Categories

Resources