Relocking bootloader - OnePlus 5T Questions & Answers

My phone is stock in every way, except bootloader.
What is the best way to lock the bootloader again without loosing any data?
I need my phone locked again to use google pay

rockuman_ex said:
My phone is stock in every way, except bootloader.
What is the best way to lock the bootloader again without loosing any data?
I need my phone locked again to use google pay
Click to expand...
Click to collapse
To use Google Pay, you need to pass Safety net.
It is not related to bootloader.
And relocking bootloader without losing any data is possible if and only if you did not flash any custom mods like recovery , kernel ..As it validates md5 checksum

rockuman_ex said:
My phone is stock in every way, except bootloader.
What is the best way to lock the bootloader again without loosing any data?
I need my phone locked again to use google pay
Click to expand...
Click to collapse
You don't need to re-lock the bootloader to use Google Pay. Install TWRP as your recovery and then install Magisk!

kingme.sri said:
To use Google Pay, you need to pass Safety net.
It is not related to bootloader.
And relocking bootloader without losing any data is possible if and only if you did not flash any custom mods like recovery , kernel ..As it validates md5 checksum
Click to expand...
Click to collapse
My phone is stock, not custom recovery or custom rom. Using 9.05 rom now.
So how do i re lock without losing any data

tye_time said:
You don't need to re-lock the bootloader to use Google Pay. Install TWRP as your recovery and then install Magisk!
Click to expand...
Click to collapse
That's what I'm trying to avoid.
I want to go 100% stock.

I just ran safetynet test, i got cts profile match failed.
How do i fix this?

You will need to relock the bootloader then, you may lose data. Just back up everything first like pictures and videos. All your apps will re-download when you sign back into Google

tye_time said:
You will need to relock the bootloader then, you may lose data. Just back up everything first like pictures and videos. All your apps will re-download when you sign back into Google
Click to expand...
Click to collapse
Is there a way to keep my phone as is when i relock the bootloader?
And how do i relock it?
Link to guide please?

Here is the guide: https://www.androidexplained.com/oneplus-5-lock-bootloader/
You won't be able to keep your phone 'as is' unfortunately, all data will be wiped and the phone reset.

rockuman_ex said:
My phone is stock in every way, except bootloader.
What is the best way to lock the bootloader again without loosing any data?
I need my phone locked again to use google pay
Click to expand...
Click to collapse
I am on latest open beta everything stock no root.. Google pay works flawless.. try disabling telephone permission of google play services & try registering google pay

Yash93 said:
I am on latest open beta everything stock no root.. Google pay works flawless.. try disabling telephone permission of google play services & try registering google pay
Click to expand...
Click to collapse
didn't work for me. still saying my phone is modified etc... :crying:

tye_time said:
Here is the guide: https://www.androidexplained.com/oneplus-5-lock-bootloader/
You won't be able to keep your phone 'as is' unfortunately, all data will be wiped and the phone reset.
Click to expand...
Click to collapse
sigh..... i have everything set up since i got the phone.... a bit reluctant to do this... but there's NO OTHER way right? :crying::crying::crying:

rockuman_ex said:
sigh..... i have everything set up since i got the phone.... a bit reluctant to do this... but there's NO OTHER way right? :crying::crying::crying:
Click to expand...
Click to collapse
Doesn't look like it I'm afraid. Sad times.

tye_time said:
Doesn't look like it I'm afraid. Sad times.
Click to expand...
Click to collapse
finally took the plunge and got my phone re-locked... everything was wiped :crying:

Related

[Q] Need to do anything before unlocking bootloader?

I heard about Wallet not working if you unlock bootloader without logging in or something? Is that true? Is there anything I should do before I unlock my bootloader, root, and install custom roms?
Thanks.
fredryk said:
I heard about Wallet not working if you unlock bootloader without logging in or something? Is that true? Is there anything I should do before I unlock my bootloader, root, and install custom roms?
Thanks.
Click to expand...
Click to collapse
Back up your sdcard to your computer, as unlocking will wipe that. As far as the Google Wallet question, I am not sure. I've never had an issue with it.
fredryk said:
I heard about Wallet not working if you unlock bootloader without logging in or something? Is that true?
Click to expand...
Click to collapse
Is that true?
No it's not true.
Is there anything I should do before I unlock my bootloader, root, and install custom roms?
Thanks.
Click to expand...
Click to collapse
If you've been using your phone before your unlock the bootloader, then back up your "/mnt/sdcard" because it will be wiped when you unlock bootloader.
You must reset Google Wallet from within the apps settings. Open the app and go to settings>reset wallet. This MUST be done before you do a factory reset, unlock the bootloader, or flash a ROM otherwise you run the risk of breaking the NFC secure element for wallet.
So If I have had my Nexus for an entire day and I don't care if I lose anything, since there is nothing but a few apps I can get again, I can just go for it?
Should I wait until my Verizon Nexus upgrades itself to 4.0.4??
Big Cam said:
So If I have had my Nexus for an entire day and I don't care if I lose anything, since there is nothing but a few apps I can get again, I can just go for it?
Should I wait until my Verizon Nexus upgrades itself to 4.0.4??
Click to expand...
Click to collapse
That's totally up to you. I personally ran mine stock for a month to make sure I didn't have any hardware issues. I'm in the process of backing up my SDcard right now so I can unlock and root.
Big Cam said:
So If I have had my Nexus for an entire day and I don't care if I lose anything, since there is nothing but a few apps I can get again, I can just go for it?
Should I wait until my Verizon Nexus upgrades itself to 4.0.4??
Click to expand...
Click to collapse
Just unlock it now so you don't have to worry about backing up your sdcard later when you do unlock later.
You'll still get the OTA if your boot loader is unlocked.
Galaxy Nexus GSM
Juggernaut79 said:
That's totally up to you. I personally ran mine stock for a month to make sure I didn't have any hardware issues. I'm in the process of backing up my SDcard right now so I can unlock and root.
Click to expand...
Click to collapse
I know I'm going to jinx myself, but I love my screen, no gray scale issues at least that I can see, which is all that matters.
nxt said:
Just unlock it now so you don't have to worry about backing up your sdcard later when you do unlock later.
You'll still get the OTA if your boot loader is unlocked.
Galaxy Nexus GSM
Click to expand...
Click to collapse
Great, thank you very much!

[Q] Is there anyway to unlock your boot loader and root without factory reset

Sorry guys im pretty new to all this rooting business And aopk and stuff like that i just want to know can you root without wiping everything off your phone?
thanks
Sorry for being a noob
No. You must unlock the bootloader, which wipes the device. Just back up your stuff and do it.
martonikaj said:
No. You must unlock the bootloader, which wipes the device. Just back up your stuff and do it.
Click to expand...
Click to collapse
ive got sms back up and my apps back up to my google account but like my data and settings is there anything to back them up with mate thanks
No, it will destroy everything, even on the sdcard partition (backup before unlocking). Also, use the GN Toolkit, makes it very easy to perform.
burnz1983 said:
No, it will destroy everything, even on the sdcard partition (backup before unlocking). Also, use the GN Toolkit, makes it very easy to perform.
Click to expand...
Click to collapse
i will do thanks
there is a way, there is a thing called CasualRoot, which claims to but i havent tried myself. although apparently it only works pre 4.0.4.
post back if anybody can confirm this
Where did you get your phone? MOST Play Store phones from the batch last April/May don't wipe when unlocked.
Also, there's a hack/exploit that lets you unlock without wiping.
http://forum.xda-developers.com/showthread.php?t=1731993
1) If you have a Play Store GNex, you can unlock without wiping.
2) If you are running a build earlier than IMM76D (i.e., 4.0.4), you can root and then unlock without wiping.
3) If you have root, you can unlock without wiping.
im on GSM From The UK and I dont have root yet
lewisb246 said:
im on GSM From The UK and I dont have root yet
Click to expand...
Click to collapse
As I had indicated, if you are running 4.0.1 or 4.0.2, you are able to root without unlocking the bootloader, and then you can unlock without wiping.
efrant said:
As I had indicated, if you are running 4.0.1 or 4.0.2, you are able to root without unlocking the bootloader, and then you can unlock without wiping.
Click to expand...
Click to collapse
Ok thanks for all your help im on 4.0.4 IMM76I from the UK
Im a Noob lol :laugh::good:
lewisb246 said:
Ok thanks for all your help im on 4.0.4 IMM76I from the UK
Im a Noob lol :laugh::good:
Click to expand...
Click to collapse
Then you are out of luck. No way without wiping.
thanks mate anyway for your help

[Q] Rolling back to 4.3

I've just upgraded to 4.4 here on my Nexus 7 which has broken Kingsoft office which I require for my work.
Whilst I wait for a fix from Kingsoft, is there any way to roll back to 4.3 without voiding my warranty?
Thanks in advance.
Try quick office. It's free and works fine.
If you still want to roll back, you can do without voiding warranty
Download the one click factory restore from here
http://liciousroms.com/nexus7Gen2_restore.html
and some instructions and info here
http://forum.xda-developers.com/showthread.php?t=2381582
also your bootloader needs to unlocked for it to work and you will lose your data if you unlock the bootloader now.
There might be better options though. Wait for someone more knowledgeable to reply.
littleromeo said:
Try quick office. It's free and works fine.
If you still want to roll back, you can do without voiding warranty
Download the one click factory restore from here
http://liciousroms.com/nexus7Gen2_restore.html
and some instructions and info here
http://forum.xda-developers.com/showthread.php?t=2381582
also your bootloader needs to unlocked for it to work and you will lose your data if you unlock the bootloader now.
There might be better options though. Wait for someone more knowledgeable to reply.
Click to expand...
Click to collapse
Thanks for that. The reason I need to use Kingsoft is because I need the data validation function on the spreadsheets with drop down boxes for what's allowed.
Cheers
mattburley said:
I've just upgraded to 4.4 here on my Nexus 7 which has broken Kingsoft office which I require for my work.
Whilst I wait for a fix from Kingsoft, is there any way to roll back to 4.3 without voiding my warranty?
Click to expand...
Click to collapse
You can rollback to 4.3 system software however if you try to keep your user data your system will hang at boot. If you have a backup of your 4.3 user data then that is not a big deal. Alternatively if you wipe data factory reset from recovery that will get things working again.
You do need to unlock your bootloader and flash the factory images though.
sfhub said:
You can rollback to 4.3 system software however if you try to keep your user data your system will hang at boot. If you have a backup of your 4.3 user data then that is not a big deal. Alternatively if you wipe data factory reset from recovery that will get things working again.
You do need to unlock your bootloader and flash the factory images though.
Click to expand...
Click to collapse
Thanks both.
So if I follow the instructions on http://forum.xda-developers.com/showthread.php?t=2381582 I should be OK? Or do I need to unlock the bootloader? If so how do I do that?
Cheers
mattburley said:
Thanks both.
So if I follow the instructions on http://forum.xda-developers.com/showthread.php?t=2381582 I should be OK? Or do I need to unlock the bootloader? If so how do I do that?
Cheers
Click to expand...
Click to collapse
You need to have the bootloader unlocked to flash anything unsigned. Currently the only thing Google sends out that is signed are the OTAs. There is no OTA from KRT16S/O back to JSS15*, so your only option is to use a factory restore. Since the factory restores shipped so far are not signed, you need to unlock bootloader.
You can unlock the bootloader here:
http://forum.xda-developers.com/showthread.php?t=2379618
During the process of unlocking bootloader, the system will wipe your userdata and sdcard for security reasons.
The post you reference assumes your bootloader is already unlocked.
So, you got two options left.
You need to unlock the bootloader under both methods. Remember it wipes user data completely.
After unlocking you can either flash the factory image for 4.3 or use the one click factory restore.
Personally I feel one click factory restore is easier
littleromeo said:
So, you got two options left.
You need to unlock the bootloader under both methods. Remember it wipes user data completely.
After unlocking you can either flash the factory image for 4.3 or use the one click factory restore.
Personally I feel one click factory restore is easier
Click to expand...
Click to collapse
If the bootloader is already unlocked, could I revert to 4.3 without losing data ?
lapocompris said:
If the bootloader is already unlocked, could I revert to 4.3 without losing data ?
Click to expand...
Click to collapse
Yes, but I may be mistaken but unlocking the boot loader may constitute as voiding the warranty as well.
You would have to unlock it, which will wipe, downgrade to 4.3, then relock it to make it look stock.
Thanks guys I'm back on 4.3. How do I re-lock the boot loader?
Matt
lapocompris said:
If the bootloader is already unlocked, could I revert to 4.3 without losing data ?
Click to expand...
Click to collapse
You can get back to the 4.3 ROM w/o wiping user data (as a result of the unlock)
However the 4.3 ROM will not boot (will hang at X animation) with your user data once the 4.4 upgrade process has completed on your user data, so you will probably end up wiping user data anyway to get the boot to complete.
---------- Post added at 12:26 PM ---------- Previous post was at 12:25 PM ----------
mattburley said:
Thanks guys I'm back on 4.3. How do I re-lock the boot loader?
Matt
Click to expand...
Click to collapse
Boot to bootloader (Power+VolDown)
in command prompt in your SDKs platform-tools directory
fastboot oem lock
Unlike unlocking, you will NOT have to wipe user data when locking.
Locking just sets a flag so it is very fast.
However, I would leave it unlocked if I were you and you are not selling it or getting warranty work done. If you ever need to unlock again you are going to be in the same boat of losing all of your data.
Rick
mattburley said:
I've just upgraded to 4.4 here on my Nexus 7 which has broken Kingsoft office which I require for my work.
Whilst I wait for a fix from Kingsoft, is there any way to roll back to 4.3 without voiding my warranty?
Thanks in advance.
Click to expand...
Click to collapse
latest version is compatible with kitkat
Let me ask a question. I've got my bootloader unlocked and I've downloaded the stock 4.3.2 from the Google Developer's site. If I don't want to do the one click restore can someone point me in the right direction for a good step by step? I've looked at a couple of different ones but none looked right or I'm not reading things correctly. To be honest I can't find the one I read from a couple of days ago. It addresses dealing with the tarball you get when you download the image from Google, but I'm really really bad about not using bookmarks. So I'm kinda stuck at this point now. Thanks in advanced.
Found it

Bank nfc app problem after re-lock bootloader

Hi, I have a problem after re-lock and factory reset. My bank app, paylib, which allows to pay with phone using NFC, recognize my phone as a new one. The problem is that if I choose the"new" terminal for installation it doesn't work and installation aborts. Just message : error #tech. 03000# at the end. Is it because I relocked bootloader?
Can anyone help me?
Thanks!
I have the same problem with Google Pay after installing Leedroid.
I can add my card but when i click verify card the app glitches and force closes.
fax11 said:
Hi, I have a problem after re-lock and factory reset. My bank app, paylib, which allows to pay with phone using NFC, recognize my phone as a new one. The problem is that if I choose the"new" terminal for installation it doesn't work and installation aborts. Just message : error #tech. 03000# at the end. Is it because I relocked bootloader?
Can anyone help me?
Thanks!
Click to expand...
Click to collapse
It might be due to relocked bootloader. Cant offer much help.
rajkatiyar07 said:
It might be due to relocked bootloader. Cant offer much help.
Click to expand...
Click to collapse
Do you think I can get it back to locked status ?
fax11 said:
Do you think I can get it back to locked status ?
Click to expand...
Click to collapse
It's not working not because of your relocked/unlocked or locked status, it doesn't work because you probably messed with the OS.
See if you can find a ruu and flash it to be sure you are completely stock. If you had at some point rooted your software and unrooted it by the uninstaller it leaves traces. Bank apps are very bad when it comes to root.
Mr Hofs said:
It's not working not because of your relocked/unlocked or locked status, it doesn't work because you probably messed with the OS.
See if you can find a ruu and flash it to be sure you are completely stock. If you had at some point rooted your software and unrooted it by the uninstaller it leaves traces. Bank apps are very bad when it comes to root.
Click to expand...
Click to collapse
I never changed the os, I was completely stock. I unlocked my bootloader only for a maybe change of rom.
fax11 said:
I never changed the os, I was completely stock. I unlocked my bootloader only for a maybe change of rom.
Click to expand...
Click to collapse
Strange. Because i know several banking apps are even working on a custom rom rooted via Magisk. With the needed modules they are able to use the applications without any strange behavior.
Not sure where your issue lies then.
Mr Hofs said:
Strange. Because i know several banking apps are even working on a custom rom rooted via Magisk. With the needed modules they are able to use the applications without any strange behavior.
Not sure where your issue lies then.
Click to expand...
Click to collapse
I now have a custom rom, maximus hd with root (magisk) but I still can't get nfc pay to work, my bank app recognize root even if I hide it from root with magiskhide.
What modules are you talking about?
fax11 said:
I now have a custom rom, maximus hd with root (magisk) but I still can't get nfc pay to work, my bank app recognize root even if I hide it from root with magiskhide.
What modules are you talking about?
Click to expand...
Click to collapse
settings > apps > *your bank card app* > storage > clear data > reboot
Your bank card app should work after that if you have it hidden with Magisk.
xunholyx said:
settings > apps > *your bank card app* > storage > clear data > reboot
Your bank card app should work after that if you have it hidden with Magisk.
Click to expand...
Click to collapse
Thanks for answering, but I already tried that and it doesn't work.

Re-Lock Bootloader?

So a little while ago i tried to root my S9, it did not go well so i flashed stock firmware in Odin and everything started working fine again.
Yesterday my bank finally started supporting Google pay so i went to add my card but it said i was still rooted. After some searching i found out the my CTS Profile Match was failing because i unlocked the bootloader, is there anyway to relock the bootloader to pass safetynet?
on developer options you can disable bootloader unlock but its gonna factory reset your device.
dimitrispas22 said:
on developer options you can disable bootloader unlock but its gonna factory reset your device.
Click to expand...
Click to collapse
ok, are you sure that it will work. I have heard some theorys that once you trip Knox you can't relock the bootloader
thewoolysheep08 said:
ok, are you sure that it will work. I have heard some theorys that once you trip Knox you can't relock the bootloader
Click to expand...
Click to collapse
that knox how much i HATE it....
anyway i have the same device and i did that...
your knox is already 0x1 samsung pay and some other features for example s health you can not access it anymore via the original apk and firmware if you don't have root..
google pay will work just fine after you gonna lock the bootloader.
and if you want to use gpay with custom rom you must delete google play services and install a version that starts from 14. something and hide magisk but it works just fine
aparently
dimitrispas22 said:
that knox how much i HATE it....
anyway i have the same device and i did that...
your knox is already 0x1 samsung pay and some other features for example s health you can not access it anymore via the original apk and firmware if you don't have root..
google pay will work just fine after you gonna lock the bootloader.
and if you want to use gpay with custom rom you must delete google play services and install a version that starts from 14. something and hide magisk but it works just fine
aparently
Click to expand...
Click to collapse
I don't really care about the Samsung pay and that stuff. but will locking the bootloader even work with Knox tripped? all I want to do is pass safetynet
thewoolysheep08 said:
I don't really care about the Samsung pay and that stuff. but will locking the bootloader even work with Knox tripped? all I want to do is pass safetynet
Click to expand...
Click to collapse
after locking the bootloader you gonna pass safetynet yes
dimitrispas22 said:
after locking the bootloader you gonna pass safetynet yes
Click to expand...
Click to collapse
yeah I know that, but doesn't having Knox tripped make it unable to lock? have you done this exact thing before?
thewoolysheep08 said:
I don't really care about the Samsung pay and that stuff. but will locking the bootloader even work with Knox tripped? all I want to do is pass safetynet
Click to expand...
Click to collapse
https://photos.app.goo.gl/FVWPKofhji5EQKvq7
dont worry this is a google photo link which contains a proof that gpay works when you gonna lock the bootloader..
you can use smart switch to backup your data
dimitrispas22 said:
https://photos.app.goo.gl/FVWPKofhji5EQKvq7
dont worry this is a google photo link which contains a proof that gpay works when you gonna lock the bootloader..
you can use smart switch to backup your data
Click to expand...
Click to collapse
have you done this exact same thing before?
thewoolysheep08 said:
have you done this exact same thing before?
Click to expand...
Click to collapse
yes
dimitrispas22 said:
yes
Click to expand...
Click to collapse
alright, thanks so much for your help. I'll try this tomorrow and let you know how it went
dimitrispas22 said:
yes
Click to expand...
Click to collapse
ok, thanks so much for your help. I'll try it tomorrow and let you know how it goes
dimitrispas22 said:
yes
Click to expand...
Click to collapse
Thanks so much for your help, just did it today and it worked great!
I have a custom rom. If I block the bootloader, can I have google play certified?
I've a Samsung Galaxy S9 Plus

Categories

Resources