Your device is corrupted. - Nexus 6P Q&A, Help & Troubleshooting

Yo. I got my Nexus 6P the other day and immediately flashed CM13 on it, and came across a couple of problems. I used the following guide, step by step: (Can't post links. but it's on Devs-Lab)
So, first off, after finishing everything (Unlocking the bootloader, Rooting & Installing Recovery and finally installing CM13) I came across a couple of problems. Firstly, my phone refused to start as it couldn't be decrypted even though I never encrypted it or set a password for the encryption (which it asked me for, to decrypt) so I tried to factory reset the phone. Didn't work, formated the phone which did work and now it launches / works with no issues. However, every time I start the phone it tells me that the device is corrupted and can't be trusted. What's up with this?
Thanks in advance,
Alex.

I don't have CM installed but what you are describing is normal. Read this:
https://support.google.com/nexus/answer/6185381?p=verified_boot&rd=1

Ah yeah, you're right.
But what about the encryption thing? It's sketchy as ****, I know for sure I didn't encrypt the phone myself / set a password to decrypt it.

zixti said:
Ah yeah, you're right.
But what about the encryption thing? It's sketchy as ****, I know for sure I didn't encrypt the phone myself / set a password to decrypt it.
Click to expand...
Click to collapse
The device comes encrypted out the box.
If you look at the article by Heisenberg
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
3. How To Decrypt Your Data Partition
This is no longer necessary as long as you use TWRP 2.8.7.1 or newer
Click to expand...
Click to collapse

And according to that thread, formatting your phone will remove the encryption. Which it did. Gotcha.
Last thing, why did it ask me for a password to decrypt? Or, why didn't I have that password? Mostly out of curiosity.

Related

Completely bricked. BL unlocked, TWRP installed. Won't boot

Thought I was good at this. Never mind.
So I have managed to brick my device after 6 hours of having it.
Managed to unlock the BL, install TWRP, but the OS has gone, and I have no way of getting the thing mounted to copy over a ROM or anything.
What's the best way for me to sort this out ?
I'm thinking I could buy an SD card, copy a ROM to it, then flash it via TWRP.
Is this the only option ?
Help
grifforama said:
Thought I was good at this. Never mind.
So I have managed to brick my device after 6 hours of having it.
Managed to unlock the BL, install TWRP, but the OS has gone, and I have no way of getting the thing mounted to copy over a ROM or anything.
What's the best way for me to sort this out ?
I'm thinking I could buy an SD card, copy a ROM to it, then flash it via TWRP.
Is this the only option ?
Help
Click to expand...
Click to collapse
If you can get to the bootloader then just use the restore to stock tool from shawn5162. Should work fine as long as you have successfully unlocked the bootloader. Here is the link http://forum.xda-developers.com/moto-x-style/development/windows-tool-moto-x-style-pure-edition-t3199905
Should be clear that this will put your device to LP 5.1.1 without root or TWRP. Then just do the OTA MM update and re-root and flash TWRP. You can follow this guide I created if you like.
http://forum.xda-developers.com/moto-x-style/help/updating-to-mm-lp-moto-x-pure-t3270473
robn30 said:
If you can get to the bootloader then just use the restore to stock tool from shawn5162. Should work fine as long as you have successfully unlocked the bootloader. Here is the link http://forum.xda-developers.com/moto-x-style/development/windows-tool-moto-x-style-pure-edition-t3199905
Should be clear that this will put your device to LP 5.1.1 without root or TWRP. Then just do the OTA MM update and re-root and flash TWRP. You can follow this guide I created if you like.
http://forum.xda-developers.com/moto-x-style/help/updating-to-mm-lp-moto-x-pure-t3270473
Click to expand...
Click to collapse
Thanks for this, and I now have a booting , but wifi is not working ? I cannot connect to any wifi at all ? And when I try to turn wifi on, it turns itself off immediately ?
grifforama said:
Thanks for this, and I now have a booting , but wifi is not working ? I cannot connect to any wifi at all ? And when I try to turn wifi on, it turns itself off immediately ?
Click to expand...
Click to collapse
You have to flash correct modem to your device. Check that thread for more info.
kadopt said:
You have to flash correct modem to your device. Check that thread for more info.
Click to expand...
Click to collapse
I have never had such issues when setting up a phone before. Now I have this message
"there's a problem signing in to your google account on this device
Please sign in from a browser on your computer or tablet first, then try signing in again on this device"
Needless to say, I've done this numerous times, and I still cannot sign in on the phone.
Ugh.
grifforama said:
I have never had such issues when setting up a phone before. Now I have this message
"there's a problem signing in to your google account on this device
Please sign in from a browser on your computer or tablet first, then try signing in again on this device"
Needless to say, I've done this numerous times, and I still cannot sign in on the phone.
Ugh.
Click to expand...
Click to collapse
Ouch...Thats a security feature on MM... Only way ive found to avoid it is to restore a backup and before you wipe/flash your next ROM either disable the lockscreen(i.e. unsecured lockscreen), re-enable OEM unlocking, or factory reset your device from it from your running phone(not in TWRP) through settings->Backup and reset...that removes your google account from your phone so once you reset it you can set your phone up with your google account
pizzlewizzle said:
Ouch...Thats a security feature on MM... Only way ive found to avoid it is to restore a backup and before you wipe/flash your next ROM either disable the lockscreen(i.e. unsecured lockscreen), re-enable OEM unlocking, or factory reset your device from it from your running phone(not in TWRP) through settings->Backup and reset...that removes your google account from your phone so once you reset it you can set your phone up with your google account
Click to expand...
Click to collapse
Think I'm screwed. No backup. No ability to log into the OS to reset from within. Just keeps looping on the input screen.
I think I read somewhere that if you wait 72 hours it fixes itself. We'll see.
Joyful start to the year
grifforama said:
Think I'm screwed. No backup. No ability to log into the OS to reset from within. Just keeps looping on the input screen.
I think I read somewhere that if you wait 72 hours it fixes itself. We'll see.
Joyful start to the year
Click to expand...
Click to collapse
Why not use the restore to stock tool then before taking the update just make sure your phone has no security on it or the OEM unnlocked turned on...
pizzlewizzle said:
Why not use the restore to stock tool then before taking the update just make sure your phone has no security on it or the OEM unnlocked turned on...
Click to expand...
Click to collapse
That's what I've tried. I used the return to stock tool, and when it asks for my google email address and password, that's what it won't go past. that's exactly where I'm at right now. Stuck at the verification screen.
Is this an xt1575? If so, try my TWRP stock backup?
gokart2 said:
Is this an xt1575? If so, try my TWRP stock backup?
Click to expand...
Click to collapse
Can you give me me a link ?
grifforama said:
That's what I've tried. I used the return to stock tool, and when it asks for my google email address and password, that's what it won't go past. that's exactly where I'm at right now. Stuck at the verification screen.
Click to expand...
Click to collapse
hmmm thats weird... the new security feature wasn't implemented until MM... The restore to stock should take you to 5.1.1. not sure what else to try. Hopefully you can get in after the wait...next time you get your phone running make a backup to save a headache down the road
edit: you couldnt use the restore to stock then before it loads flash a 5.1 ROM?
gokart2 said:
Is this an xt1575? If so, try my TWRP stock backup?
Click to expand...
Click to collapse
Do you have a link ?
I keep trying and trying. I just keep getting sent back to a screen saying "This device was reset. To continue, sign in with a Google account that was previously synced on this device"
infuriating
http://www.androidpolice.com/2015/03/12/guide-what-is-android-5-1s-antitheft-device-protection-feature-and-how-do-i-use-it/
OK looks like this is a "feature" I guess. I'm stuck for 72 hours
grifforama said:
Can you give me me a link ?
Click to expand...
Click to collapse
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Its the stock TWRP backup from either 5.1.1 or 6.0....whichever you are currently supposed to be on.
wait, if this is a new phone and you had added your google account before "bricking," why cant you just sign in using that google account. My understanding is that the lockout is to prevent a NEW google account that was not associated with your phone from being used to set it up
pizzlewizzle said:
Ouch...Thats a security feature on MM... Only way ive found to avoid it is to restore a backup and before you wipe/flash your next ROM either disable the lockscreen(i.e. unsecured lockscreen), re-enable OEM unlocking, or factory reset your device from it from your running phone(not in TWRP) through settings->Backup and reset...that removes your google account from your phone so once you reset it you can set your phone up with your google account
Click to expand...
Click to collapse
That error means you don't have a 72 hour lock yet. Go to https://accounts.google.com/b/0/displayunlockcaptcha on your computer. Login, hit the accept button, then try logging in your phone. Your phone is not locked out, just to to the website. If you changed your password, though, then you shot yourself in the foot with the Google protection.

Nexus 6P Software Issues. TWRP & Android N Preview

I'll make this as short and quick as I can. I had unlocked my bootloader, rooted my device and flashed a custom ROM(PureNexus) and TWRP. I had made a full nandroid backup and all was good.
Then the Android N Developer preview came along and I just HAD TO get it. So I used a tutorial on YouTube to ease the process and it went downhill from there. I used my fastboot folder and a command prompt to run the version of the file that wouldn't wipe my data.
When the device rebooted I noticed that none of my third party (downloaded) apps were working. I was upset and decided to just go back and restore my backup. That's when I noticed that I had no custom recovery anymore. I reinstalled TWRP, but when it loaded it told me my internal storage was encrypted. I tried the method of getting rid of all lock screen security and fingerprints but to no success. I also noticed that every time I reboot TWRP never seems to stick, I have to reinstall it through the fastboot folder and a command prompt every single time. I just wnna be able to get back to where i was and use my backup.
I'm lost on the situation, any suggestions guys? Any help is much appreciated
Big-K said:
I'll make this as short and quick as I can. I had unlocked my bootloader, rooted my device and flashed a custom ROM(PureNexus) and TWRP. I had made a full nandroid backup and all was good.
Then the Android N Developer preview came along and I just HAD TO get it. So I used a tutorial on YouTube to ease the process and it went downhill from there. I used my fastboot folder and a command prompt to run the version of the file that wouldn't wipe my data.
When the device rebooted I noticed that none of my third party (downloaded) apps were working. I was upset and decided to just go back and restore my backup. That's when I noticed that I had no custom recovery anymore. I reinstalled TWRP, but when it loaded it told me my internal storage was encrypted. I tried the method of getting rid of all lock screen security and fingerprints but to no success. I also noticed that every time I reboot TWRP never seems to stick, I have to reinstall it through the fastboot folder and a command prompt every single time. I just wnna be able to get back to where i was and use my backup.
I'm lost on the situation, any suggestions guys? Any help is much appreciated
Click to expand...
Click to collapse
Flash the MHC19I factory images to get back to a stock configuration, then start fresh; flash TWRP again (the latest) and then flash whatever ROM you want to use.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Thank you for the reply and info. I actually just got an RMA request approved because my Nexus also had some hardware issues. So my question now is, will my phone being rooted, with an unlocked bootloader, and in this condition have its warranty voided? Or am I good to exchange it just the way it is?
Big-K said:
Thank you for the reply and info. I actually just got an RMA request approved because my Nexus also had some hardware issues. So my question now is, will my phone being rooted, with an unlocked bootloader, and in this condition have its warranty voided? Or am I good to exchange it just the way it is?
Click to expand...
Click to collapse
The warranty isn't voided by unlocking or rooting, but you should return it to a stock configuration before sending it back anyway. Check out section 10 of my guide.
Heisenberg said:
The warranty isn't voided by unlocking or rooting, but you should return it to a stock configuration before sending it back anyway. Check out section 10 of my guide.
Click to expand...
Click to collapse
Thanks for all your help!
Big-K said:
Thanks for all your help!
Click to expand...
Click to collapse
No problems.

Lockscreen bypass

I need to recover data from a samsung galaxy s7 edge, but I don't know the code for unlocking the screen. There's a way to bypass this?
1. How could You forget a 4 digit pin code? Seriously.
2. Is it rooted? Any custom rom on it? Encryption?
ProtoDeVNan0 said:
1. How could You forget a 4 digit pin code? Seriously.
2. Is it rooted? Any custom rom on it? Encryption?
Click to expand...
Click to collapse
It isn't mine, it was of a dead person and the family asks me to recover data but they don't know the pin.
It's fully original.
Then I'm not sure if it's possible.
If it didn't have encryption enabled (it's enabled by default by samsung) then You could flash TWRP and then flash a zip file which removes certain files in Data partition and well, unlocks the device (I've done it before when I broke my lock screen buttons). But with Encryption being enabled TWRP won't be able to read Data partition and yeah. I'm not sure if You can even access internal storage through TWRP.
Maybe try all possible combinations? Or the most popular ones.
Try this:
Flash TWRP(a detailed instruction is on XDA)
Tap on advanced and then file manager.
You should be able to see internal storage if it's not encrypted, and then just copy all files that You want to sd card or just mount usb storage.
But if the encryption covers Data and internal storage then I don't think You can do anything.
Like I said, in the worst case try using most popular code combinations and maybe one will work. But try that before flashing TWRP, cause TWRP might soft brick the device.
No. Who knows what you're really after? I'm totally against questions like these and would urge people not to answer. If it's really your own device, you have to deal with the consequences of forgetting a 4 digit number.
Not possible with encryption, only way is brute forcing it and it might auto wipe after 15 attempts
Really??? Xda is the first place someone with this situation would ask for help? First post? I'm calling BS.
If - hah - you are legit, the "dead" person's phone is still under warranty, therefore the "family" can take the phone to the dealer/network provider and get help there.
sounds very suspicious

Decrypt or Not (?)

Hi all,
Just ordered my OnePlus 5 and doing a little research whilst waiting for it to reply.
I'm struggling to understand why people would choose to disable encryption - have I missed something?
The only 'downside' to having it (that I can see) is having to unlock with a pattern/PIN at first boot (and when entering TWPR etc). I guess there will also be a slight performance hit, but shouldn't be noticeable.
The 'upsides' to having it are the added security if you loose your phone (and maybe Magisk needs it).
Removing encryption needs an extra file to flash after installing TWRP, and then having to format the user partition / sd card.
Any thoughts?
Cheers,
phoenix1589 said:
Hi all,
Just ordered my OnePlus 5 and doing a little research whilst waiting for it to reply.
I'm struggling to understand why people would choose to disable encryption - have I missed something?
The only 'downside' to having it (that I can see) is having to unlock with a pattern/PIN at first boot (and when entering TWPR etc). I guess there will also be a slight performance hit, but shouldn't be noticeable.
The 'upsides' to having it are the added security if you loose your phone (and maybe Magisk needs it).
Removing encryption needs an extra file to flash after installing TWRP, and then having to format the user partition / sd card.
Any thoughts?
Cheers,
Click to expand...
Click to collapse
I second this opinion, I'd like to know before my device arrives tomorrow.
I did find a thread on the OP3 forums earlier, the read/write speed difference is negligible... So performance wise it doesn't make much difference.
My university requires an encrypted phone for Outlook though... Not a big deal as there are plenty of other alternate email apps available but it'd be nice to use for a change.
Alex Charles said:
I second this opinion, I'd like to know before my device arrives tomorrow.
I did find a thread on the OP3 forums earlier, the read/write speed difference is negligible... So performance wise it doesn't make much difference.
My university requires an encrypted phone for Outlook though... Not a big deal as there are plenty of other alternate email apps available but it'd be nice to use for a change.
Click to expand...
Click to collapse
my 1+3 was always encrypted, never had to wait for anything.
Gesendet von meinem Lenovo YT3-X50F mit Tapatalk
I remember reading something about not being able to restore data partition from a nandroid backup as it leads to bootloop and something about not being able to make a backup with security such as PIN, is this the case or an i mistaken?
AllEyezOnMe said:
I remember reading something about not being able to restore data partition from a nandroid backup as it leads to bootloop and something about not being able to make a backup with security such as PIN, is this the case or an i mistaken?
Click to expand...
Click to collapse
As far as nandroid backups and the data partition restore causing bootloops, there is a TWRP beta version released where the dev is asking for someone to test if it is fixed. As of that threads current posts no one has stepped up and confirmed if its fixed one way or the other.
You are correct that it is recommend that before you take a nandroid backup that you need to change your lock screen security to swipe or none. Otherwise a restore causes bootloops but there is a documented workaround using TWRP.
The workaround results in your lock screen security being removed (specific files are deleted). What I don't like about being forced to remove the lock screen security to do a nandroid backup is that it also wipes all your finger print input. Re-entering a pin number or swipe, is not much of a bother but doing four fingerprint training each time I want to take a safe nandroid backup is a pain. Previously I liked doing a nandroid backup at least once a week now I'll only do it when I feel any system changes (e.g. OTA, ROM flash), will put my phone at risk. With that being written I will still remain encrypted at least for the foreseeable future.
What I don't like about being forced to remove the lock screen security to do a nandroid backup is that it also wipes all your finger print input. Re-entering a pin number or swipe, is not much of a bother but doing four fingerprint training each time I want to take a safe nandroid backup is a pain.
Click to expand...
Click to collapse
Is there not some kind of system-app that holds this info, that we could back-up with Titanium, and restore after taking the Nandroid? Still a bit of work, but at least you'll be consequent.
Encryption is automatically enabled if you set up any sort of screen lock (PIN, etc). Booting into recovery gives you a password prompt by which the PIN does not work as a decryption password.
gdanko said:
Encryption is automatically enabled if you set up any sort of screen lock (PIN, etc). Booting into recovery gives you a password prompt by which the PIN does not work as a decryption password.
Click to expand...
Click to collapse
So how do you decrypt to access files from within TWRP recovery? Given this is needed to do backups (which are working, according to the TWRP 3.1.1 thread) there must be a way.
gdanko said:
Encryption is automatically enabled if you set up any sort of screen lock (PIN, etc). Booting into recovery gives you a password prompt by which the PIN does not work as a decryption password.
Click to expand...
Click to collapse
In my case the PIN I've set up works perfectly as decryption password.
phoenix1589 said:
So how do you decrypt to access files from within TWRP recovery? Given this is needed to do backups (which are working, according to the TWRP 3.1.1 thread) there must be a way.
Click to expand...
Click to collapse
depends on the right twrp version. dont look for the original one yet, look for the right one for the op5.
halfblack said:
In my case the PIN I've set up works perfectly as decryption password.
Click to expand...
Click to collapse
I've tried both PIN and password with zero success.
---------- Post added at 11:46 PM ---------- Previous post was at 11:44 PM ----------
halfblack said:
In my case the PIN I've set up works perfectly as decryption password.
Click to expand...
Click to collapse
What version of OxygenOS do you have?
gdanko said:
I've tried both PIN and password with zero success.
---------- Post added at 11:46 PM ---------- Previous post was at 11:44 PM ----------
What version of OxygenOS do you have?
Click to expand...
Click to collapse
I went from 4.5.0 to 4.5.3. I don't know what makes it work for me (I remember that I had issues just like you did on 3T).
From what I've gathered, you must remove pattern/PIN protection (I'm assuming this disables encryption?) before creating a backup via TWRP or else it will be impossible to decrypt (even with the right pattern/PIN), requiring a factory reset, which kinda negates the whole point of a backup. As long as you remember to do that (or TWRP for the OP5 matures a little more, it is after all only a few days old at this point), there isn't really a reason to disable it.
Also, any non OxygenOS based ROM will need the data to be decrypted for it to boot.
There are a few reasons to decrypt, but if you have to ask why you should or shouldn't, then you probably don't need to decrypt if the first place, so don't.
So I need to decrypt in order to flash roms?
Not, there is no reason to. Bare in mind I always decrypted my phone's
The trade off just isn't worth it.
Run a script is enter a password, either way you have work to do.
Sent from my ONEPLUS A5000 using XDA-Developers Legacy app
gursimar said:
So I need to decrypt in order to flash roms?
Click to expand...
Click to collapse
For the oreo Rom yes
Padres_1984 said:
For the oreo Rom yes
Click to expand...
Click to collapse
When it's completely released this should not be the case.
How I decrypt my phone. There is something called no verity, but I can't find it.
Odoslané z ONEPLUS A5000 pomocou Tapatalku
chlap said:
How I decrypt my phone. There is something called no verity, but I can't find it.
Odoslané z ONEPLUS A5000 pomocou Tapatalku
Click to expand...
Click to collapse
To decrypt your phone you need to back it up and format data..if you check my signature you'll see the method I used for no limits Oreo (decrypted) from nougat (encrypted)

[solved] is it possible to remove screen unlock pattern (fingerprint works)?

Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice
1. Boot to TWRP
2. In File Manager go to the /data/system folder. Scroll down and find the two files with the .key extension. Delete both of them (by tapping on the file and then tapping the <Delete> button). Then, delete all the files containing the word locksettings:
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
3. Reboot system.
kinetiq said:
Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice
Click to expand...
Click to collapse
Is it possible for you to post in the right section (i.e. questions & answers)?
besides from that, the user above is right, you just have to do that
Thank you very much, for your advice.
Unfortunately I haven't rooted my phone yet, and after lecture of few tutorials I'm slightly intimidated, so...
Is it possible to do something with my problem without rooting, instaling custom recovery etc?
I could even accept factory reset, after all, but it asks for unlock pattern as well...
kinetiq said:
Thank you very much, for your advice.
Unfortunately I haven't rooted my phone yet, and after lecture of few tutorials I'm slightly intimidated, so...
Is it possible to do something with my problem without rooting, instaling custom recovery etc?
I could even accept factory reset, after all, but it asks for unlock pattern as well...
Click to expand...
Click to collapse
No man, without your bootloader unlocked there's not much you can do, unlock bootloader then install twrp and you'll be good to go
I made some digging, and found solution: Power on+vol up allowed factory reset, problem is solved.
Thank you all for your help.
kinetiq said:
Hi,
I've just set up my Axon7 from scratch, after it returns from service, and set up new unlock pattern. I admit, I must've been drunk or something, because can't remember the pattern itself. Currently I unlock the phone with fingerprint sensor.
Is it possible to change/remove the unlock method without factory reset? As I said, the phone reads my fingerpritnts fine.
Thank's for any advice
Click to expand...
Click to collapse
kinetiq said:
I made some digging, and found solution: Power on+vol up allowed factory reset, problem is solved.
Thank you all for your help.
Click to expand...
Click to collapse
Hmm... Well you said "without factory reset" in OP... Else everyone could've told you to do that...
Gachmuret said:
Hmm... Well you said "without factory reset" in OP... Else everyone could've told you to do that...
Click to expand...
Click to collapse
i guess he was still a little drunk?

Categories

Resources