Unable to OTA or flash update for OP5 - OnePlus 5 Questions & Answers

Hi, a while back I managed to flash the Open Beta 3 for the OP5 but I ended up losing my files because of encryption.
Anyways, I'm not able to OTA or dirty flash any updates. I've tried both stable OOS 5.0.2 and the Open Beta 5 updates.
This is the message I get: https://i.imgur.com/wigXV3f.png

unless you relock your bootloader you won't be able to update. i tried everything. make sure you backup your data before you relock bootloader beacause this process will wipe everything.
cmd code to lock bootloader - fastboot oem lock

patel lav said:
unless you relock your bootloader you won't be able to update. i tried everything. make sure you backup your data before you relock bootloader beacause this process will wipe everything.
cmd code to lock bootloader - fastboot oem lock
Click to expand...
Click to collapse
Yeah that's really annoying, that's what happened the first time when I lost all my data.
What steps do you recommend for backing up? I have Titanium pro. So I would basically have to backup, relock, wipe, flash, root and restore?

erak606 said:
Yeah that's really annoying, that's what happened the first time when I lost all my data.
What steps do you recommend for backing up? I have Titanium pro. So I would basically have to backup, relock, wipe, flash, root and restore?
Click to expand...
Click to collapse
i backed up apks and copied all the data to my pc. my app data was gone.

Related

adb backup without touch and with black screen

I dropped my 6p and now have no screen and no touch.
The device is rooted on stock 7.1.1 with unlocked boot loader. and fingerprint scanner is working. I can answer the phone and make phone calls with Bluetooth and hear notification sounds but dark display and no touch.
I want to backup my data before sending it to repair. So far I was only able to adb pull the SD card. I cannot use adb backup because it requires the confirmation on the phone. any suggestion how I can backup the data without any touch access on the phone?
Also, if I go to bootlaoder and flash the entire stock there, all my data is erased right? what happens to fingerprint data stored on the device? If I relock the bootloader, will it do a factory reset? in another word what is the best way to do a factory reset and erase everything without access to phone screen and touch?
Any help is really appreciated.
mnlv said:
I dropped my 6p and now have no screen and no touch.
The device is rooted on stock 7.1.1 with unlocked boot loader. and fingerprint scanner is working. I can answer the phone and make phone calls with Bluetooth and hear notification sounds but dark display and no touch.
I want to backup my data before sending it to repair. So far I was only able to adb pull the SD card. I cannot use adb backup because it requires the confirmation on the phone. any suggestion how I can backup the data without any touch access on the phone?
Also, if I go to bootlaoder and flash the entire stock there, all my data is erased right? what happens to fingerprint data stored on the device? If I relock the bootloader, will it do a factory reset? in another word what is the best way to do a factory reset and erase everything without access to phone screen and touch?
Any help is really appreciated.
Click to expand...
Click to collapse
If you do a clean flash of the factory image all of your data is erased including your fingerprints. You shouldn't lock the bootloader before flashing the factory image. If you aren't fully stock including recovery and lock the bootloader you could brick the phone. There isn't really a need to lock the bootloader before sending it for repair.
jhs39 said:
If you do a clean flash of the factory image all of your data is erased including your fingerprints. You shouldn't lock the bootloader before flashing the factory image. If you aren't fully stock including recovery and lock the bootloader you could brick the phone. There isn't really a need to lock the bootloader before sending it for repair.
Click to expand...
Click to collapse
Thanks. I just did a backup in TWRP using adb.
If I receive another refurb 6p instead of what I send, Can I restore this backup to a new phone or something will not work because the data partition is encrypted?
Should I do a wipe data and system in TWRP before going to bootloader and flashing the factory image?
mnlv said:
Thanks. I just did a backup in TWRP using adb.
If I receive another refurb 6p instead of what I send, Can I restore this backup to a new phone or something will not work because the data partition is encrypted?
Should I do a wipe data and system in TWRP before going to bootloader and flashing the factory image?
Click to expand...
Click to collapse
I'm pretty sure you can't restore the backup from one phone to a different phone even if it's the same model. Maybe somebody knows a way to do it. You don't really need to wipe anything in TWRP if you are going to do a clean install of the factory image. The install will wipe everything.
If you have Usb debugging enabled you could also use Hisuite by Huawei. Do a google search for it as I can't post a link due to new account.

Backup of a unrooted Nexus 6P

My Nexus 6P is not rooted, bootloader is also locked. As the BLOD is imminent threat, i want to unlock my Bootloader. But i'm unable to find any app to backup my entire phone. Personally i like nandroid backup from TWRP, but without root, it's not possible, and in order to root i need to unlock BL which inturn will wipe my /data partition. See my dilemma here?
So, if therer is any software that can backup my phone while i unlock BL and restore my data?
badbd09 said:
My Nexus 6P is not rooted, bootloader is also locked. As the BLOD is imminent threat, i want to unlock my Bootloader. But i'm unable to find any app to backup my entire phone. Personally i like nandroid backup from TWRP, but without root, it's not possible, and in order to root i need to unlock BL which inturn will wipe my /data partition. See my dilemma here?
So, if therer is any software that can backup my phone while i unlock BL and restore my data?
Click to expand...
Click to collapse
Just backup and sync with google it's decent now. Can't remember if internal gets touched maybe backup to computer or thumb drive to be safe.
Exodusche said:
Just backup and sync with google it's decent now. Can't remember if internal gets touched maybe backup to computer or thumb drive to be safe.
Click to expand...
Click to collapse
Thanks. I decide to bite the bullet and go for bootloader unlock. You are right, google backup is now amazing, i've even got back my call log and sms. App data is also restored, but no internal Memory is backed up. luckily i did copy my Internal memory.
So, TL,DR: Copy all my internal, did google backup. Unlocked bootloader, Got TWRP then root using magisk immediately (otherwise TWRP dosent stay), restore backup. Got old phone back

Is there any way to root without losing everything?

As the titles says. I don't want to configure everything again
Yes
Btw u need unlocked bootloader for this
Make sure you have done it already
Doesn't unlocking your bootloader clear all data?
Chango96 said:
Doesn't unlocking your bootloader clear all data?
Click to expand...
Click to collapse
yes
Seems to be like deadlock
Do as full as possible backup of your current system, apps, data.
Export it to external storage.
Unlock the boot-loader. /≥168hrs/
Install the same firmware.
Root your phone.
Restore the backup.
MTFBWY
hrissim said:
Seems to be like deadlock
Do as full as possible backup of your current system, apps, data.
Export it to external storage.
Unlock the boot-loader. /≥168hrs/
Install the same firmware.
Root your phone.
Restore the backup.
MTFBWY
Click to expand...
Click to collapse
Why to install the same firmware?
After unlocking bootloader, he'll already get a clean system...
welder73 said:
Why to install the same firmware?
After unlocking bootloader, he'll already get a clean system...
Click to expand...
Click to collapse
Because for me it always is better to start as clean as possible.
Via XiaoMIflash - > fastboot rom.

Just wanting to make sure before I unlock my bootloader and install a custom rom

Hello,
I used this tool to root my device, install recovery, and backup TA.
Before unlocking the bootloader, I just want to make sure that I'm going to do the right thing.
1. Unlock bootloader using fastboot
2. Restore TA partition to get DRM keys back.
3. In TWRP wipe dalkvik, system and data
4. Install custom rom by flashing in TWRP.
5. Flash magisk zip to root device.
Is this right?
Thank you!!
You need to backup TA partition before unlocking bootloader. If you restore your TA backup then bootloader well be locked again.
Ok, thanks. I have already backed up the TA partition.
Is there any way to restore the DRM keys without relocking bootloader?
Spank2000 said:
Ok, thanks. I have already backed up the TA partition.
Is there any way to restore the DRM keys without relocking bootloader?
Click to expand...
Click to collapse
You can do it in stock rom and stock custome rom. I'm using this tool https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 it makes your device acting as locked bootloader with full drm function.
OK thanks.
However, I will install a new Android 10 ROM.
Is there any other way?
Spank2000 said:
OK thanks.
However, I will install a new Android 10 ROM.
Is there any other way?
Click to expand...
Click to collapse
I think you don't need it in android 10
OK then.
Are the rest of the steps alright?
Spank2000 said:
OK then.
Are the rest of the steps alright?
Click to expand...
Click to collapse
Before installing android 10 make sure you have flash 291 ftf first
1- backup TA
2- unlock bootloader
3- flash twrp for android 10 with fastboot
4- wipe system, data and cash
5- flash rom
6- flash gapps (optional)
7- flash magisk then reboot (some roms needs to reboot before install magisk)

HELP with resetting wifi config on V11.0.0.IN11BA

hey guys, i really need your help urgently.
i just finished setting up my OP8Pro to my needs and then i restored wifi networks from my Titanium Backup from Android 8, i booted and it won't boot anymore.
i get a FATAL EXCEPTION IN SYSTEM PROCESS: WifiHandlerThread...
so now i need to reset these settings via stock recovery and i already modified my recovery to enable ADB but i can't access /data
anyone has a hint for me how to access /data and where to find the wifi config on Android 11?
it's not stored in /data/misc/wifi anymore :/
thanks a lot in advance!
You can reset WiFi within WiFi settings in settings.
But I would probably just clear data on the app you restored either in settings/apps or simply via titanium.
If it still fails then boot to recovery and wipe system.
Your storage will remain unaffected.
You could also try safe mode, power off and hold vol up and down as soon as you see the bootloader warning
Fyi I wouldn't bother restoring WiFi passwords like that, there's other ways of doing it.
Google can back these up for you for example, there are apps which can do it like swift (I think can do it)
dladz said:
You can reset WiFi within WiFi settings in settings.
But I would probably just clear data on the app you restored either in settings/apps or simply via titanium.
If it still fails then boot to recovery and wipe system.
Your storage will remain unaffected.
You could also try safe mode, power off and hold vol up and down as soon as you see the bootloader warning
Fyi I wouldn't bother restoring WiFi passwords like that, there's other ways of doing it.
Google can back these up for you for example, there are apps which can do it like swift (I think can do it)
Click to expand...
Click to collapse
thanks for your answer but unfortunately i can't boot anymore and i can't decrypt /data anymore even after reflashing stock recovery.
what's the best way to flash via fastboot to preserve data?
thank you!
eis0r said:
thanks for your answer but unfortunately i can't boot anymore and i can't decrypt /data anymore even after reflashing stock recovery.
what's the best way to flash via fastboot to preserve data?
thank you!
Click to expand...
Click to collapse
You'd have to grab one of the fastboot ROMs then flash.
Why can't you open recovery? Isn't your pin / password being accepted?
If it's not and fastboot installation can't be done then honestly I'd just MSM your current firmware..it's easier than fastboot tbh.
You'd need to bootloader unlock after but this is going to wipe everything anyway.
dladz said:
You'd have to grab one of the fastboot ROMs then flash.
Why can't you open recovery? Isn't your pin / password being accepted?
If it's not and fastboot installation can't be done then honestly I'd just MSM your current firmware..it's easier than fastboot tbh.
You'd need to bootloader unlock after but this is going to wipe everything anyway.
Click to expand...
Click to collapse
my bootloader is already unlocked and i was rooted on 11.0.0... i can boot into fastboot and recovery but i'm not prompted my unlock pattern.
this was working before testing adb integrated recovery and restoring stock recovery...
eis0r said:
my bootloader is already unlocked and i was rooted on 11.0.0... i can boot into fastboot and recovery but i'm not prompted my unlock pattern.
this was working before testing adb integrated recovery and restoring stock recovery...
Click to expand...
Click to collapse
I don't get you mate??
I'm saying that if you use the MSM tool it will lock your bootloader so you'll need to unlock it again.
In regards to your recovery if you can get to it then choose English, then wipe, then system, then wipe system.
That will get you back like I said in my previous post.
If it's not asking for your pin/password (there is no pattern)
Then you're fine
I've not used that recovery but I don't see a point in using it
dladz said:
I don't get you mate??
I'm saying that if you use the MSM tool it will lock your bootloader so you'll need to unlock it again.
In regards to your recovery if you can get to it then choose English, then wipe, then system, then wipe system.
That will get you back like I said in my previous post.
If it's not asking for your pin/password (there is no pattern)
Then you're fine
I've not used that recovery but I don't see a point in using it
Click to expand...
Click to collapse
sorry i haven't used MSM yet so i didn't know it'll relock the bootloader but i'm more familiar with fastboot flashing so i'd like to stick with that also because i read of problems with the fingerprint reader when relocking the bootloader.
i thought i could delete reset the faulty wifi config via adb by using the adb-enabled stock recovery but i wasn't able to mount /data with it since it's encrypted and it's not asking for my pattern to decrypt it.
neither the stock recovery is asking for it now...
i don't want to lose my data hence i'm looking for a way to get it back running without completely reinstalling.
do you think it could work by only flashing system partition via fastboot?
thanks man!
eis0r said:
sorry i haven't used MSM yet so i didn't know it'll relock the bootloader but i'm more familiar with fastboot flashing so i'd like to stick with that also because i read of problems with the fingerprint reader when relocking the bootloader.
i thought i could delete reset the faulty wifi config via adb by using the adb-enabled stock recovery but i wasn't able to mount /data with it since it's encrypted and it's not asking for my pattern to decrypt it.
neither the stock recovery is asking for it now...
i don't want to lose my data hence i'm looking for a way to get it back running without completely reinstalling.
do you think it could work by only flashing system partition via fastboot?
thanks man!
Click to expand...
Click to collapse
Use the thanks button buddy
I think you've certainly got a shot at it and what's the worst that can happen?
Did you actually try to wipe system in recovery? That would be my way to go.
MSM is extremely easy but I understand not wanting to lose storage.
That being said if you're correct about decryption then it won't matter anyway
dladz said:
Use the thanks button buddy
I think you've certainly got a shot at it and what's the worst that can happen?
Did you actually try to wipe system in recovery? That would be my way to go.
MSM is extremely easy but I understand not wanting to lose storage.
That being said if you're correct about decryption then it won't matter anyway
Click to expand...
Click to collapse
well after trying lots of different things i ended up wiping system settings in stock recovery. atleast i didn't lose storage.
thanks a lot for your help tho!
eis0r said:
well after trying lots of different things i ended up wiping system settings in stock recovery. atleast i didn't lose storage.
thanks a lot for your help tho!
Click to expand...
Click to collapse
You're very welcome mate, I've done the same a few times..it's not that much of a loss really, a lot of apps pick up where they left off and if you do have titanium then your back ups are retained.
Glad you're sorted.
PS: this would have had the same effect that installing system would have had, only this time you get a clean slate

Resources