[Q] How to verify if encryption is enabled or disabled? - Nexus 6 Q&A, Help & Troubleshooting

I just ran through the process of installing the boot.img to disabled encryption and wanted to verify that this worked.
Is there a menu or something I can tell that the encryption is disabled?
Also is there a way to disable the OTA update notification, it wants to install Lollipop when I already have it installed...

thomas.owns said:
I just ran through the process of installing the boot.img to disabled encryption and wanted to verify that this worked.
Is there a menu or something I can tell that the encryption is disabled?
Also is there a way to disable the OTA update notification, it wants to install Lollipop when I already have it installed...
Click to expand...
Click to collapse
Your first question is asked/answered about a dozen times in the encryption thread.
If you aren't on LRX210 then your device isn't up to date and should be notifying you of the OTA.

akellar said:
Your first question is asked/answered about a dozen times in the encryption thread.
If you aren't on LRX210 then your device isn't up to date and should be notifying you of the OTA.
Click to expand...
Click to collapse
Alright, fair enough.
I disabled encryption but do I need to update first on stock before disabling it?

thomas.owns said:
Alright, fair enough.
I disabled encryption but do I need to update first on stock before disabling it?
Click to expand...
Click to collapse
If you go to settings, security and touch encryption it will ask if you want to encrypt the phone. If you don't update first you may need to decrypt again.

Related

How to disable ota notifications? Or trick phone into thinking it's been updated?

How can I disable ota notifications here? I am rooted.
Or what could i edit in the build.prop that would show I'm up to date? The build info?
Hello? Is this thing on? Lol anyone know how and also avoid any wakelocks?
Or just update the phone?
You can press and hold on the notification, tap app info and tick hide notifications from this app. Alternatively, you can install an xposed module called notify clean if you have xposed. Incredibly useful.
lolcakes203 said:
You can press and hold on the notification, tap app info and tick hide notifications from this app. Alternatively, you can install an xposed module called notify clean if you have xposed. Incredibly useful.
Click to expand...
Click to collapse
xposed doesn't work with ART (the runtime in Android 5.0) so this isn't a solution
You are absolutely correct, that completely slipped my mind. Sorry!
Take take the easy and just upgrade
xxfwmxx said:
Take take the easy and just upgrade
Click to expand...
Click to collapse
Not so easy if you are rooted or anything modified.
Actually it is as I did so to go from 5 to 5.0.1 I was rooted, had twrp, elementalx kernel, and decrypted. Instead of flashing the entire factory image you just flash the needed images. That's what I did and didn't loose any data. There are a few posts here on how to do it. Here is one http://forum.xda-developers.com/nexus-6/help/5-0-1-wiping-t2975382
xxfwmxx said:
Actually it is as I did so to go from 5 to 5.0.1 I was rooted, had twrp, elementalx kernel, and decrypted. Instead of flashing the entire factory image you just flash the needed images. That's what I did and didn't loose any data. There are a few posts here on how to do it. Here is one http://forum.xda-developers.com/nexus-6/help/5-0-1-wiping-t2975382
Click to expand...
Click to collapse
I understand how to do it. I've done it many times before. But the op asked how to get rid of the notification. For whatever reason, some people may not want to take the update, or are modified & don't have time to restore stock, or will be away from their PC over the holidays. It would be useful to know how to disable the ota notification until we have time/ equipment to return to stock or flash images.
What I have done on my n5 is go to /etc/security & rename otacerts.zip to otacerts.zip.bak & reboot. Then try to take the ota & it will immediately fail verification. Voila, no more ota notification. I think this will last until a reboot & then it will try to verify again.
I'm not sure of a more permanent solution.
Thanks Stumpey. Yea haven't had the time yet. Still setting my phone up and haven't even backed up in Tb or Twrp yet. Plus this update is a relatively small one so not in a hurry to manually unroot-update-reroot.
Anyway just turned the notification off like another poster suggested and that's good enough for now. Didn't even realize you could do that.

Went to bed with an encrypted phone.

And this morning the phone was acting weird. I rebooted the phone and did not get the screen to unlock before the phone boots. Now I see the phone is no longer encrypted. Anybody else have this happen?
I'm stock with with faux kernal.
Larzzzz82 said:
And this morning the phone was acting weird. I rebooted the phone and did not get the screen to unlock before the phone boots. Now I see the phone is no longer encrypted. Anybody else have this happen?
I'm stock with with faux kernal.
Click to expand...
Click to collapse
mines encrypted, and mine doesn't have an unlock code, as i didnt set one up. how do you know your device in unencrypted? or are you just assuming it is? you have to format your data before ypu can decrypt it btw. if you gobinto your main settings, security, itll tell you if your phone is encrypted or decrypted.
I looked in the settings/security and saw this... If I'm reading this correctly, the phone is no longer encrypted.
Larzzzz82 said:
I looked in the settings/security and saw this... If I'm reading this correctly, the phone is no longer encrypted.
Click to expand...
Click to collapse
yup, looks like its decrypted. as heres my encryoted n6..
and how does a phone decrypt itself?
Larzzzz82 said:
and how does a phone decrypt itself?
Click to expand...
Click to collapse
good question! maybe a derp somewhere.. have you rebooted since?
I did reboot because chrome and messaging would not open up. The icon would get a white halo around them yet nothing would happen. Upon rebooting I was not asked for my pattern lock before Android fully booted
Larzzzz82 said:
I did reboot because chrome and messaging would not open up. The icon would get a white halo around them yet nothing would happen. Upon rebooting I was not asked for my pattern lock before Android fully booted
Click to expand...
Click to collapse
did u factory reset the phone from recovery?
Nikos2k said:
did u factory reset the phone from recovery?
Click to expand...
Click to collapse
Through twrp, yes, last night. Just what was recommended. I did not do anything in the advanced settings
Larzzzz82 said:
Through twrp, yes, last night. Just what was recommended. I did not do anything in the advanced settings
Click to expand...
Click to collapse
The reset probably disabled the encryption
Re-encrypt it through Security settings
Nikos2k said:
The reset probably disabled the encryption
Re-encrypt it through Security settings
Click to expand...
Click to collapse
The phone was decrypted before I reset. It was never decrypted to begin with until yesterday when I was having issues with a couple of apps. I rebooted and I decided to check if it was because it didn't ask for my pattern lock as it used to when booting up.
Larzzzz82 said:
The phone was decrypted before I reset. It was never decrypted to begin with until yesterday when I was having issues with a couple of apps. I rebooted and I decided to check if it was because it didn't ask for my pattern lock as it used to when booting up.
Click to expand...
Click to collapse
As far as I know, there is no way to decrypt the contents of an encrypted nexus6 (which is not the same as disabling encryption, as an actual decryption of the device would preserve the contents of the device)
Since you now have an unencrypted device, the contents of your device must have been erased during the disabling of the encryption
Nikos2k said:
Since you now have an unencrypted device, the contents of your device must have been erased during the disabling of the encryption
Click to expand...
Click to collapse
No, they weren't. Everything was intact.
Larzzzz82 said:
No, they weren't. Everything was intact.
Click to expand...
Click to collapse
I don't think that android5 has a function to decrypt the whole content of the device.
In this page about how encryption works its says "New Android 5.0 devices encrypted at first boot cannot be returned to an unencrypted state."
And obviously it should be so.
Anyway, maybe it's better that you factory reset the device and encrypt it afterwards so that you set a pin yourserf
(android5 devices are encrypted on first boot, and there is no password)
When you had the pattern security option set, did TWRP ask for any password?
And if yes, how did you input the pattern?
TWRP does not ask me for a password. I broke the seal on the box of this phone came in. It was set up before I had a sim card in it.the phone was encrypted. I did look within the first week or two of my owning it. aside from unlocking, rooting, and a couple of mods, it is stock. I am NOT using a custom ROM. I have installed faux kernel within the last couple of weeks and the request for a pattern unlock in the middle of booting Android remained until the other day. To say I am perplexed as an understatement.
Larzzzz82 said:
And this morning the phone was acting weird. I rebooted the phone and did not get the screen to unlock before the phone boots. Now I see the phone is no longer encrypted. Anybody else have this happen?
I'm stock with with faux kernal.
Click to expand...
Click to collapse
When did you install the kernel and had you done a TWRP factory wipe prior to the install?
Your post made me double check my phone - I am now unencrypted
Earlier this week I had had done a TWRP (2.8.4.0) factory wipe to do a clean install of CleanROM 1.4 and I think TWRP did a full decrypt wipe without me wanting to do so when it was supposed to do a simple reset
SP_Kenny said:
When did you install the kernel and had you done a TWRP factory wipe prior to the install?
Your post made me double check my phone - I am now unencrypted
Earlier this week I had had done a TWRP (2.8.4.0) factory wipe to do a clean install of CleanROM 1.4 and I think TWRP did a full decrypt wipe without me wanting to do so when it was supposed to do a simple reset
Click to expand...
Click to collapse
The factory wipe in TWRP, besides wiping everything, it disabled the forced encryption, so you have to select encrypt yourself if you want it to be encrypted.
And "CleanROM is decrypted by default. This means if you are encrypted or are decrypted you will stay that way! It wont change you crypto settings!"
---------- Post added at 02:27 AM ---------- Previous post was at 02:24 AM ----------
Larzzzz82 said:
TWRP does not ask me for a password. I broke the seal on the box of this phone came in. It was set up before I had a sim card in it.the phone was encrypted. I did look within the first week or two of my owning it. aside from unlocking, rooting, and a couple of mods, it is stock. I am NOT using a custom ROM. I have installed faux kernel within the last couple of weeks and the request for a pattern unlock in the middle of booting Android remained until the other day. To say I am perplexed as an understatement.
Click to expand...
Click to collapse
Anyway, you can encrypt it yourself, but if you select a pattern instead of pin/password in the security settings, i do not think that you will be able to access the data in TWRP as it seems there is no way to input the pattern in TWRP
So b4 entering recovery, u will have to change the security setting
In the past when I had done a factory rest / wipe via TWRP it had not changed my encryption. This only happened with the current version and gave no indication that it was going to be in an unencrypted state
Sent from my Nexus 6 using XDA Free mobile app
I like my security so I guess I'll just leave my device encrypted. I believe if I decrypted, it wouldn't really make it that much faster than this?
Apologies if this was suggested further in the thread, and that I'm replying to an old post. But I recently had this problem and figured out a solution.
- Accessibility was enabled and for some reason this cached the boot password. So- when I removed the app (rights) and turned off accessibility, and changed (reset/reentered) the password in security settings... On next boot the phone correctly asked me for password.

Are ROM's not Encryption Enabled?

I'm new to the 6 and I haven't really read too much into the whole encryption thing, so I don't know the pros/cons of having it that way, or not.
During my first boot of this thing, I started the unlock/root process, then I quickly remembered about encryption...and what the whole thing was about. Well I'm curious, are these custom ROM's built without the encryption? In the security menu of Chroma, encryption is enabled. In another ROM which specifically stated encryption was off...it was actually on.
So I'm confused.
Thanks.
Some ROMs do not force encryption. They can still be encrypted. It depends on the kernel. You will need to perform a wipe to unencrypt
stevew84 said:
I'm new to the 6 and I haven't really read too much into the whole encryption thing, so I don't know the pros/cons of having it that way, or not.
During my first boot of this thing, I started the unlock/root process, then I quickly remembered about encryption...and what the whole thing was about. Well I'm curious, are these custom ROM's built without the encryption? In the security menu of Chroma, encryption is enabled. In another ROM which specifically stated encryption was off...it was actually on.
So I'm confused.
Thanks.
Click to expand...
Click to collapse
It depends on the state of your device before you flash the ROM. If you are unencrypted prior to flashing the ROM, you will stay unencrypted. And if encrypted, you will stay encrypted. For most ROMs. Read the fine print in the OP.
cam30era said:
It depends on the state of your device before you flash the ROM. If you are unencrypted prior to flashing the ROM, you will stay unencrypted. And if encrypted, you will stay encrypted. For most ROMs. Read the fine print in the OP.
Click to expand...
Click to collapse
I've also read about long "encrypting now" screens during first boot of fresh ROM's, I've never seen those.
Encryption depends on the kernel or more accurately the fstab, so it depends what kernel is supplied with the ROM or which kernel you plan on flashing with the ROM.
There are 2 types of ROM. Stock based and AOSP based. I find it hard to believe any AOSP ROM dev would turn on force encryption, but with a stock ROM, it could be on or off - depending. Read each thread to find out.
All ROMs and kernels are encryption enabled by the way. Turning off force encryption inky prevents first boot from encrypting your data partition. You can still turn on encryption yourself in settings and if you're already encrypted, turning off force encryption will not unencrypt your data, so it will still be on. Once force encryption has been turned off, you must then format /userdata to remove encryption
stevew84 said:
I've also read about long "encrypting now" screens during first boot of fresh ROM's, I've never seen those.
Click to expand...
Click to collapse
Correct. If you are unsure of your kernel status go to Settings/Security/Encryption. If it says "Encrypt phone", then you are unencrypted.
cam30era said:
Correct. If you are unsure of your kernel status go to Settings/Security/Encryption. If it says "Encrypt phone", then you are unencrypted.
Click to expand...
Click to collapse
Ah alright, well each and every time I flash something new, I'm encrypted. I'm interested in getting rid of that, but not sure exactly how to do it.
stevew84 said:
Ah alright, well each and every time I flash something new, I'm encrypted. I'm interested in getting rid of that, but not sure exactly how to do it.
Click to expand...
Click to collapse
It says in my post
Encryption will stay on unless you completely wipe the device and have a kernel installed that doesn't force you to encrypt. So you'll never see an option for decrypting your device. This comes with a huge warning that ANYTHING on the internal storage will be lost, that goes for the ROM and your files, including your ROM zip files for flashing. If you want to decrypt the device I suggest you first practice by flashing a ROM that you copy into your phone while in recovery so you know you can do it.
Guide: http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
This will get you to a clean slate, make sure you test MTP (file transfer over usb from computer) in recovery and verify that you can move files over to your device in recovery. You should already have a custom recovery installed such as TWRP. If you are considering disabling make sure you know exactly what is going on first, its not as straight forward as it seems. Goodluck
stevew84 said:
Ah alright, well each and every time I flash something new, I'm encrypted. I'm interested in getting rid of that, but not sure exactly how to do it.
Click to expand...
Click to collapse
If you are on stock, rooted, or a non-CM12 based ROM, one way is to go here > http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
Remember, after flashing the boot.img, you need to "fastboot format userdata" to unencrypt. This will wipe your SDcard.
rootSU said:
It says in my post
Click to expand...
Click to collapse
Sorry, I didn't see you posted.
Right now with Chroma + Vindicator kernel...Encryption states Enabled in the security menu.
stevew84 said:
Sorry, I didn't see you posted.
Right now with Chroma + Vindicator kernel...Encryption states Enabled in the security menu.
Click to expand...
Click to collapse
Because you were already encrypted.
stevew84 said:
I don't know the pros/cons of having it that way, or not.
Click to expand...
Click to collapse
Pros for encryption;
- security. This is pretty obvious, if somebody hostile gets their hands on your phone, your data will not be obtained by them.
Cons;
- performance and battery life. There is indication in AOSP that google *intends* to activate hardware crypto, but as of yet, have not. That means that the crypto function is done on your main CPU, which is (a) not as fast as the hwcrypto block, and (b) takes up valuable CPU cycles from other software that is running, and (c) anything that uses CPU heavily will consume battery.
Another con with encryption that I have (which I admit is extremely unlikely - but has happened in the past) is that files that are backed up off the device may not get decrypted correctly, leaving them corrupt. That is my main hate of encryption. That and the fact that I cannot automate my TWRP backups
rootSU said:
Another con with encryption that I have (which I admit is extremely unlikely - but has happened in the past) is that files that are backed up off the device may not get decrypted correctly, leaving them corrupt. That is my main hate of encryption. That and the fact that I cannot automate my TWRP backups
Click to expand...
Click to collapse
That isn't a con of encryption. That's a con of using broken software to perform your backup.
doitright said:
That isn't a con of encryption. That's a con of using broken software to perform your backup.
Click to expand...
Click to collapse
The con of encrypting data is that it may not always decrypt-able. Regardless of the root cause being Android, Windows, Linux or "broken software". If doing something to your data leads to it being useless via whatever means, then there is a negative effect of doing that something to your data

Selling my N6 need to turn off OTA's in M

Just restored my N6 and am getting ready to sell the phone, I will be turning on the hotspot feature, and need to make sure that the phone does not notify or download OTA's - I do realize that's why we have our Nexus' but the person that I am selling it to can't sideload OTA's himself. He will be giving it to me periodically to upgrade and doesn't want to be bothered with the notifications... is there an easy way to do this? Thanks!
BL
blemert said:
Just restored my N6 and am getting ready to sell the phone, I will be turning on the hotspot feature, and need to make sure that the phone does not notify or download OTA's - I do realize that's why we have our Nexus' but the person that I am selling it to can't sideload OTA's himself. He will be giving it to me periodically to upgrade and doesn't want to be bothered with the notifications... is there an easy way to do this? Thanks!
BL
Click to expand...
Click to collapse
do you have root on it?
simms22 said:
do you have root on it?
Click to expand...
Click to collapse
I do not, just flashed fresh M. I am not opposed to rooting, what are your thoughts?
blemert said:
I do not, just flashed fresh M. I am not opposed to rooting, what are your thoughts?
Click to expand...
Click to collapse
well, if you do ever get an update notification, you can always long press on it then turn it off.
simms22 said:
well, if you do ever get an update notification, you can always long press on it then turn it off.
Click to expand...
Click to collapse
I do not want any notifications to appear...
Unless things have changed in Marshmallow, but I am pretty sure disabling notifications from Google Play Services disables the OTA update notification. I don't remember what else this gives notifications for, but there is probably something you may be blocking as well with this.
With Lollipop and above, all OTAs check for modifications before installing. Root and/or the changes you would need to stop the OTA notification would make it so you can't install an OTA. You would need to flash the factory images, then re-root and make the changes to stop the next OTA notification again. So this would be a bit more work on your end to install an update for the owner.
cupfulloflol said:
Unless things have changed in Marshmallow, but I am pretty sure disabling notifications from Google Play Services disables the OTA update notification. I don't remember what else this gives notifications for, but there is probably something you may be blocking as well with this.
With Lollipop and above, all OTAs check for modifications before installing. Root and/or the changes you would need to stop the OTA notification would make it so you can't install an OTA. You would need to flash the factory images, then re-root and make the changes to stop the next OTA notification again. So this would be a bit more work on your end to install an update for the owner.
Click to expand...
Click to collapse
Yeah - I am aware that OTA's check for mods... What about disabling the "SystemUpdateService" - I know that would require root, but has anyone else had success with this?
blemert said:
Yeah - I am aware that OTA's check for mods... What about disabling the "SystemUpdateService" - I know that would require root, but has anyone else had success with this?
Click to expand...
Click to collapse
Flash a custom stock based rom on it.
Sendt fra min D6603 med Tapatalk

Is it safe to do a system update

I have a Droid Turbo that is currently on version 5.1 (23.21.44) and I just recently unfroze the system update notifications for my phone because of the news of MM. I am currently rooted and have an unlocked bootloader but I don't have TWRP installed and would rather not install it for now if I don't have to.
The system update that it is trying to push to my phone isn't MM, instead it is version 23.21.49.en.US. Is it safe to just take this update while being rooted and with an unlocked bootloader? I'm also not sure how many updates I'll have to make my way through before reaching the MM update, but if there are other updates, should it also be safe to go ahead with those as well? I know I could install TWRP and flash the MM ROM that way but I would prefer to do the updates officially if it is not risking a bricked phone.
Thanks for any advice.
EDIT: I forgot to finish the title of the thread...
AirJordanTS said:
I have a Droid Turbo that is currently on version 5.1 (23.21.44) and I just recently unfroze the system update notifications for my phone because of the news of MM. I am currently rooted and have an unlocked bootloader but I don't have TWRP installed and would rather not install it for now if I don't have to.
The system update that it is trying to push to my phone isn't MM, instead it is version 23.21.49.en.US. Is it safe to just take this update while being rooted and with an unlocked bootloader? I'm also not sure how many updates I'll have to make my way through before reaching the MM update, but if there are other updates, should it also be safe to go ahead with those as well? I know I could install TWRP and flash the MM ROM that way but I would prefer to do the updates officially if it is not risking a bricked phone.
Thanks for any advice.
EDIT: I forgot to finish the title of the thread...
Click to expand...
Click to collapse
It's safe, but it will be unsuccessful until you unroot your phone and undo any other system modifications that you've done (xposed, for example). There's a huge part of the update script that checks every single file in your system partition to make sure nothing has been modified.
Ok great, thanks.
The only other modification I can think that I've made is enabling mobile Hotspot through editing a setting somewhere. Do you know if that would be affected or would need changed back?
AirJordanTS said:
Ok great, thanks.
The only other modification I can think that I've made is enabling mobile Hotspot through editing a setting somewhere. Do you know if that would be affected or would need changed back?
Click to expand...
Click to collapse
You did that by modifying /system/build.prop. That change might be okay, but I would change it back if I were you just to be safe. The change is going to be overwritten anyway once the OTA is done.
AirJordanTS said:
Ok great, thanks.
The only other modification I can think that I've made is enabling mobile Hotspot through editing a setting somewhere. Do you know if that would be affected or would need changed back?
Click to expand...
Click to collapse
It's possible it may miss overlooking that. The worst that could happen was the update just doesn't take. It fails and nothing is changed. There is a pure MM official version that you can Flash in TWRP. It will update everything, radios and all, but will not relock the bootloader. I recommend you download Titanium Backup and backup all of your apps and their data to be restored after the update. A factory reset is recommended after the update. Also, don't forget to back up all of your photos, documents, music, etc. 24.81.5 is MM. Your update was a prep for MM.
Thanks for the advice guys.
I didn't realize it but I had TWRP installed so I decided to flash a stock ROM and proceed with the OTA updates from there. The problem currently is that I'm being locked out of my phone because of the Google "verify your account" page. I reset my account password on that page and now I'm not able to log in.

Categories

Resources