yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] imablackhat:
I had to ADB back to stock after I already did the decryption and now my phone is bricked and won't let me in it. I cant get into TWRP cuz it requires a password, and I can't boot into the OS because it says its not encrypted. How can I just revert the encryption and get my phone back to 100% stock please, anyone.
[Nexus 6 Android Development] cam30era:
In bootloader try > fastboot format cache

Then > fastboot format userdata

NOTE: if this succeds it will wipe the contents of your SDcard.
[Nexus 6 Android Development] badboyg200:
5.1.1

So just to be clear... if I am running 5.1.1 I CANNOT use the 5.1.0 file?
[Nexus 6 Android Development] razorloves:
this thread is for stock rom.

5.1.1 hasn't come out yet
[Nexus 6 Android Development] SugeLover:
If I am running a custom rom with 5.1.1 can I flash the 5.1 image? Thanks.
[Nexus 6 Android Development] toknitup420:
read the op. It clearly states prerequisites.

---------- Post added at 09:51 AM ---------- Previous post was at 09:48 AM ----------

Have you tried entering you're google password. Or just flash factory image in fastboot.
[Nexus 6 Android Development] SugeLover:
Actually the op says nothing about custom roms running 5.1.1, which hasn't been released yet. But thanks anyway.
[Nexus 6 Android Development] bbedward:
Custom ROMs on 5.1.1 are either aosp or cm based . these are all for the stock factory images, likely incompatible with at least cm-based variants
[Nexus 6 Android Development] toknitup420:
Deleted.
[Nexus 6 Android Development] p-slim:
5.1.1 is out http://xdaforums.com/showpost.php?p=60912531&postcount=176
[Nexus 6 Android Development] patmw123:
Does anyone know if there is a no force encrypt .zip available anywhere for the new 5.1.1 build yet? LYZ28E.
[Nexus 6 Android Development] crowbarman:
If you are rooted on 5.1 tmobile, you can get to decrypted 5.1.1 by: downloading the 5.01 factory image, downloading the M and 5.1.1 OTA s, revert back to 501 (don't worry about the bootloader, it won't matter), boot into stock recovery and side load the first OTA.. Boot phone then power off and side load the 5.1.1 Ota. Root and install custom recovery. Then apply the following http://xdaforums.com/nexus-6/development/mod-disable-force-encryption-rom-kernel-t3000788, factory reset and wipe user data.
[Nexus 6 Android Development] liqice:
I was able to sideload 5.1.1 without a factory reset or wiping my user data, and kept encryption disabled. I used the same tool you did to complete everything.

Here is a link to how I did it:

http://xdaforums.com/nexus-6/general/info-how-to-sideload-5-1-1-lyz28e-t3118057#post60959787
[Nexus 6 Android Development] Lancez:
[MENTION=2632235]bbedward[/MENTION] Google posted LYZ28E factory image https://developers.google.com/android/nexus/images
[Nexus 6 Android Development] estallings15:
Here's a link to the factory image https://dl.google.com/dl/android/aosp/shamu-lyz28e-factory-b542b88a.tgz

I'm sure the OP knows, though. :good:
[Nexus 6 Android Development] patmw123:
Anyone still looking for an unencrypted boot.IMG for the new build - just download the new stock rooted version and extract the boot.IMG and flash with fastboot. It worked great.
[Nexus 6 Android Development] IINexusII:
I have attched the no force encrypt boot.img for the latest LMY47Z build, for the international and other devices

just tested it on mine and it works, if you are sideloading the OTA, make sure you reboot back into the bootloader and then apply this boot.img.

rebooting straight after the update will force encryption.
[Nexus 6 Android Development] patmw123:
Awesome. Thanks for uploading this
[Nexus 6 Android Development] STi_Fanatic:
I assume this boot.img will also work with the LYZ28E build?
[Nexus 6 Android Development] patmw123:
If I were you, I would just download the nocturnal team's stock rooted ROM for LYZ28E and extract the boot.img from it and flash that. The boot images could be the exact same from the two builds but I don't think anyone knows for sure yet - at least I don't. Better safe than sorry.
[Nexus 6 Android Development] IINexusII:
Here's one for LYZ28E

Doesnt take a genius to mode the boot.img

Extract the Android Image Kitchen zip i uploaded in this post

drag in the boot.img file you wish to modify onto the unpackimg.bat file

you should get a command window pop up, it should say succesfull and you will get a few folders added.

open the ramdisk folder and open the fstab.shamu file using notepad++

search for forceencrypt and replace it with encryptable. there should be only one case where this exists.

save the file, go back to the root of the image kitchen folder, and run the repackimg.bat file.

you should get a new boot.img build called image-new.img, you can use this now to flash on your device
[Nexus 6 Android Development] Syndrome666:
Thanks for the links and info. I was wondering how to modify the boot image myself, since no one really had a confirmed non encrypting boot for this build.

Does android image kitchen work on Mac or Linux platforms? I don't have any PCs running Windows OS.
[Nexus 6 Android Development] charesa39:
AWESOME! I didn't realize it was this easy. Now I can take care of it myself without having to wait or bug anybody to do it. Thanks a million!
[Nexus 6 Android Development] mark.m.moran:
Hey there,

With the latest build (5.1.1) have you noticed any big differences in performance or battery life?

Thanks,

M
[Nexus 6 Android Development] beelow319:
thanks to IINexusII for posting the guide for modding the boot.img file.

here is a dropbox link for any who want the no force encrypt Android M boot.img

https://www.dropbox.com/s/y4aovlu0576fx4e/android-M-noforceencrypt-boot.img?dl=0
[Nexus 6 Android Development] cam30era:
Absolutely no difference in anything, from my experience.
[Nexus 6 Android Development] ANDR01DN00B:
So just use the same instructions just a different image and boot.IMG? So we will still have to wipe sdcard?

Thanks.
[Nexus 6 Android Development] beelow319:
yep, same as always. if data is already encrypted you have to wipe
[Nexus 6 Android Development] billups55:
Is the boot image the same for the Tmobile and sprint version of 5.1.1?
[Nexus 6 Android Development] nba1341:
I get "Device has failed verification" rebooting in 5 seconds then the phone boots. Are you getting this error too?
[Nexus 6 Android Development] beelow319:
I did not, try this: http://xdaforums.com/showthread.php?p=61055712
[Nexus 6 Android Development] Chochiwpg:
I uploaded a no force encryption boot.img for the 5.1.1 LMY47Z (Sprint and International Variant) if anyone is interested. Download can be found below. Thanks [MENTION=3157660]IINexusII[/MENTION] on the instructions on how to disable force encryption. Peace.

Download

https://www.androidfilehost.com/?fid=23991606952615329

md5 checksum de73235328169bc14be8d394485255ef
[Nexus 6 Android Development] vivithemage:
will the no encrypt work for 5.1.1?

Stock LMY47D/LMY47E/LMY47M/LMY47I (5.1.0) - No force encrypt:

https://www.androidfilehost.com/?fid=95916177934540533
[Nexus 6 Android Development] backslashV:
same question here. I am on LYZ28E.
[Nexus 6 Android Development] rizz2pro:
Hey question. Will I be able to root if I unencrypt? Do these images come rooted already?
[Nexus 6 Android Development] Chochiwpg:
No encrypt kernel for LYZ28E was posted by one page back. Use that one it should work for you.
[Nexus 6 Android Development] vivithemage:
Which build so I go to even? I am on ATT Nexus 6. I read people are using 5.1.1 (For Sprint, USC ONLY) and (LMY47Z) 5.1.1 (For T-Mobile ONLY) (LYZ28E)

which is the correct one for ATT N6? haha

Looks like it's the sprint one: http://www.androidcentral.com/att-starts-rolling-out-android-511-update-nexus-6
[Nexus 6 Android Development] Chochiwpg:
Here's a good article from Android Police that should help you determine which build you should be running depending on the carrier you are using.

http://www.androidpolice.com/2015/0...-builds-why-they-exist-and-what-it-all-means/

As per the article it says this about AT&T:

AT&T

America's largest GSM carrier has been on the Nexus 6 train since the beginning, just like T-Mobile and Sprint. Amazingly, AT&T has not strayed from the international update path so far. Devices on AT&T have gone from LRX22C to LMY47D, although that OTA was delayed for over a month for AT&T customers. Since an OTA from LMY47D to LMY47Z is available, you can flash that update manually, however it could take you off the carrier's official update path if AT&T gets its own Android 5.1.1 build for some reason. We won't know what its build will be until there's an official announcement, so it may be best to just sit on the fence a while longer.
[Nexus 6 Android Development] vivithemage:
Yeah, that's why I ended up with LMY47Z
[Nexus 6 Android Development] jvidia:
Is it still worth to decrypt the N6 to use with a custom ROM?

And what are the risks of dencrypting the N6 ?﻿
[Nexus 6 Android Development] Andromendous:
I was kinda wondering the same thing, if i want to run a custom rom decrypted, does this mean i have to flash back to stock, then flash the decrypted bootloader, do a data factory reset, then proceed to flashing roms?
[Nexus 6 Android Development] Chochiwpg:
You have to flash a kernel that doesn't force encryption, which is almost all of them. Then wipe user data (which will wipe your entire device). Then reboot. Then you'll be decrypted and stay decrypted for all future ROM flashing you plan on doing.
[Nexus 6 Android Development] Andromendous:
ok thanks, so one little question, can i still do this if ive already flashed my rom and kernel and setup my phone and all?
[Nexus 6 Android Development] Chochiwpg:
Unfortunately the only way to get un encrypted is to wipe user data after flashing compatible kernel which will wipe your phone clean. So initially you'd have to start from the beginning. After that you will be fine.
[Nexus 6 Android Development] Andromendous:
Am i missing something? I flashed benzo kernel, booted up, then did a data factory reset, even wiped internal storage and am still encrypted, is benzo not compatible?
[Nexus 6 Android Development] Chochiwpg:
You have to flash unencrypted kernel, then wipe user data, then boot and you'll be decrypted. User data has to be wiped prior to booting into Android.

If you follow the steps in the OP of the thread you shouldn't run into any issues.
[Nexus 6 Android Development] geekabilly:
I just used this file, worked perfectly -- thanks!
[Nexus 6 Android Development] Deckard_9732:
Does anyone have the no force encryption boot.img for the 5.1.1 LVY48C (Google Fi)???
[Nexus 6 Android Development] Aanze:
Hi there,

So I'm really sorry if this is redundant but I have trouble understanding how to decryption process works.

So currently I'm on the Chroma 5.1.1 rom and my understanding is that the kernel included does not force encryption.

However, since I'm already encrypted I'm not sure how to proceed to decrypt the rom:

Do I have to simply run bootloader and "fastboot format userdata" and reflash the rom and I'll be decrypted ?

Thanks in advance
[Nexus 6 Android Development] efrant:
Just "fastboot format userdata" is needed and a reboot. No need to re-flash your ROM.

There is no decryption process. Once you are encrypted, the only way to remove it is to wipe.
[Nexus 6 Android Development] Aanze:
Thank you for the answer mate.
[Nexus 6 Android Development] Deckard_9732:
Would someone please help the poor Google Fi phone owners? ... Please post the boot.img for LVY48C or tell us how to make the changes manually to the extracted boot.img

Thanks, Mark
[Nexus 6 Android Development] marc.ientilucci:
Hey all, just got an OTA notification for 5.1.1, I'm currently rooted, is there anyway I can help by capturing the download and posting it?
[Nexus 6 Android Development] beelow319:
Follow instructions in post 902 in this thread to modify your boot.img yourself. I did it and it worked perfect. Takes no time at all, I'd post it but I'm not near my computer
[Nexus 6 Android Development] Deckard_9732:
Google Nexus 6 XT 1103 Project Fi LVY48C 5.1.1

You are the man!!! ... I've been researching for more than 6 hours and missed the #902 post about repacking the boot.img for Google Nexus 6 XT1103 (Project Fi) 5.1.1 LVY48C ... Our builds are different from the other carriers and we are usually left out when it comes to things like this? No posted files or links ... If anyone wants the repacked boot.img for Project Fi LVY48C 5.1.1 please PM me and I will send it to you. Thanks again!

Mark
[Nexus 6 Android Development] marc.ientilucci:
bootimg_noforceencrypt_lvy48c.img

Attached is the modified boot image from lvy48c. i made this myself using the instructions from post #902.

file is attached to post, here is an androidfilehost link: https://www.androidfilehost.com/?fid=24052804347776178
[Nexus 6 Android Development] Jsunn:
Hello All,

I needed some help updating to 5.1.1. (T-Mobile Only) (LYZ28E).

I am Unlocked and NOT Encrypted.

I am still rooted and don't have any desire to "root"

I want to updated to LYZ28E, keep my phone not encrypted.

Where can I get a a no force encrypt boot.img for LYZ28E?

These are the steps I used in the past, is this still correct?
[Nexus 6 Android Development] :
okay,ive read the OP but still dont know what encrypted and decrypted is??? I was using Minimus rom until i decided to flash and try out Fusion Rom. after flashing it booted and an android on the screen showed up and said please wait while encrypting.....what is going on i have never seen that before??
[Nexus 6 Android Development] fuzzybuffalo:
Google, in all their wisdom has decided that everyone needs to be encrypted for security reasons.

It encrypts your userdata so that supposedly nobody can get to it.

General theory on Android 5.0 is that being encrypted is slower than being decrypted.

General theory on Android 5.1 is that it doesn't really matter, being decrypted is only faster on read / write access.

So, unless you move a lot of files to and from your sdcard, there's not a lot of difference.

The only way to remove encryption is to wipe your data - fastboot format userdata.

You can copy all your data to your PC or a USB OTG drive, decrypt, and copy it all back.

It's up to you whether it's worth it or not.
[Nexus 6 Android Development] :
Nice thanks for the info
[Nexus 6 Android Development] burdo:
Im on 5.1.1 International LMY47Z and I flashed Stock LMY47D/LMY47E/LMY47M/LMY47I (5.1.0) - No force encrypt kernel from the first post.

Encryption successfully disabled and everything working fine but Should I expect any problems? Should I reflash the correct kernel for my build, and would I lose Data by doing so?
[Nexus 6 Android Development] snovvman:
Has anyone tried it with LVY48C? I assume the no forced encryption flash will modify the LVY48C kernel just fine?

Another question: Since the encryption is managed by the kernel, the next ROM release will cause the forced encryption to engage again, unless it is first modified before applied?

Thanks.
[Nexus 6 Android Development] phillybizzle:
is it true that if you disable encryption your phone will increase in speed/performance?

Sent from my Nexus 6
[Nexus 6 Android Development] snovvman:
3 posts up provides good info.
[Nexus 6 Android Development] TheDonXR:
Is there a decrypted boot.img for LMY48I?
[Nexus 6 Android Development] rebel1699:
There is a script floating around that can be flashed after the kernel that will remove the forced encryption from most any N6 kernel. A search in the forum should locate it and get you up and going.
[Nexus 6 Android Development] DarkSorcerer:
Good question. Would like that myself.
[Nexus 6 Android Development] sarcoptic:
Interested as well...when I flash the factory image I just use the decrypted boot.img rather than the one included.
[Nexus 6 Android Development] patmw123:
I would love a no force encrypt boot.img as well for LMY48I.
[Nexus 6 Android Development] sarcoptic:
I decided to make my own courtesy of post #902 :good: Tested and worked perfectly! Enjoy everyone!
[Nexus 6 Android Development] patmw123:
Awesome, thanks!
[Nexus 6 Android Development] cobyman7035:
im running LTE n9 from canada, unlocked no carrier

my build number is LMY47X andro 5.1.1

baseband: 0.09.30.0105_0054

is there a no encrypt boot img file for me? thx
[Nexus 6 Android Development] efrant:
Probably not in this thread, as this is for the Nexus 6, not Nexus 9. In any case, why don't you try to take a stab at it yourself -- it's really quite simple. Instructions were provided in post #902.
[Nexus 6 Android Development] cobyman7035:
wow ok lol i got confused, i didn't know this was the nexus 6 forum! what if i flashed a n6 img file into a n9? brick???
[Nexus 6 Android Development] efrant:
Likely... :)
[Nexus 6 Android Development] vivithemage:
What happens if you sideload a new version without the noencryption (from LYZ28E with modified no encrypt to LYZ28J stock) , will my data get removed? I was also wondering, are they utilizing hardware encryption, or did we figure out the nexus 6 doesn't have that capability?

I was also wondering, I am using my ATT nexus 6 on tmobile, should I go with the tmobile branch, or just the stock? What is the benefit of the tmobile branch?
[Nexus 6 Android Development] cam30era:
What happens if you sideload a new version without the noencryption (from LYZ28E with modified no encrypt to LYZ28J stock) , will my data get removed?

No, but you will be encrypted.

I was also wondering, are they utilizing hardware encryption, or did we figure out the nexus 6 doesn't have that capability?

No hardware encryption.

I was also wondering, I am using my ATT nexus 6 on tmobile, should I go with the tmobile branch, or just the stock?

Yes, the TMO version will solve a lot of call problems.

What is the benefit of the tmobile branch?
[Nexus 6 Android Development] vivithemage:
Thanks cam30era. I was hoping to use this with my companies mdm, so I need to unroot, and get 'legit'. So I am going to just encrypt it. I heard people don't have any speed issues, so... shrug. I wish there was a way to trick mobile iron MDM that I am not rooted, but from what i've googled, no one has had such luck.
[Nexus 6 Android Development] burdo:
How can I apply de OTA for the stage fringe If i have flashed the custom kernel to disable encryption. I tried via settings, but as expected it failed.
[Nexus 6 Android Development] burdo:
For those who need it, I managed to apply the OTA without losing any data or wiping the device.

I was completely stock except for the no force encryption.

Download no force encryption image

Download factory image and extract the stock boot.img

Download the OTA,. I've got it from Android Police.

Boot into fastboot by pressing vol dow + power

ON a command prompt type:

fastboot flash boot boot.img (stock image)

Without restarting go to recovery mode

Apply update from ADB

type in the command prompt:

adb sideload ota.zip (or the file name you have)

Without restarting, go back to fastboot mode

In the command prompt type:

fastboot flash boot noforceencrypt.img (or whatever name you have)

Restart.

Remember to never restart during the process or your phone will start the encryption process and to disable it you will have to format user data and you will lose your data.
[Nexus 6 Android Development] p-slim:
This image doesn't allow WiFi calling on the T-Mobile nexus 6
[Nexus 6 Android Development] sarcoptic:
Correct hence the file name refers to LMY48I and not LYZ28J nor LYV48E:

"bootimg_noforceencrypt_5.1.1_LMY48I.img"
[Nexus 6 Android Development] NotATreoFan:
Here you go. Be gentle, first attempt. But it does work... :)
[Nexus 6 Android Development] p-slim:
Thanks, will load it up after work
[Nexus 6 Android Development] fuzzybuffalo:
Here's LVY48E, tested and working, courtesy of post #902...

View attachment bootimg_noforceencrypt_5.1.1_LVY48E.img
[Nexus 6 Android Development] wase4711:
I'm on Tmobile, with LYZ28J; not sure which version to use..

thanks so much!
[Nexus 6 Android Development] Pecata:
I had to create my own (instructions are on page 902) since there isn't one for our T-Mobile Build yet - here are the instructions it's not hard at all: http://xdaforums.com/showpost.php?p=61015828&postcount=902

I am not sure if you like using toolkits, but if you do Wug's NRT has been updated with the T-mobile un-encrypted boot image as well: http://xdaforums.com/showpost.php?p=56913254&postcount=1
[Nexus 6 Android Development] USMC retired:
none

Anything for LMY 48I?
[Nexus 6 Android Development] NotATreoFan:
I posted one right above your posts.

I posted one right above your posts.
[Nexus 6 Android Development] fuzzybuffalo:
Post #951
[Nexus 6 Android Development] veloslave:
Thank you and.........

I assume I still have the no force encryption image on the phone since I never deleted it so I am good there.

Could you be so kind to describe on where to find (Links) the files that you are using like the stock image and the update and how you extracted it? I am on LMY47Z... is that what you are working with?

Silly update notice is close to irritating me... not to mention it would be nice to have it installed anyway. I love the performance of this phone, it is practically desktop/laptop performance in a handset so I sure don't want to mess with the encryption (and resulting battery life/performance decrease) so it is awesome to see you have found the fix.
[Nexus 6 Android Development] burdo:
OTA from 5.1.1

https://android.googleapis.com/pack...amu-ota-LMY48I-from-LMY47Z-superblock-fix.zip

Stock image

https://dl.google.com/dl/android/aosp/shamu-lmy48i-factory-230e50fe.tgz
[Nexus 6 Android Development] segfault82:
thanks for this. just to confirm, this is for LYZ28J right? because the filename says LMZ28J. i assume that's a typo?
[Nexus 6 Android Development] NotATreoFan:
Correct, that is a typo. Sorry about that. It's for the official 5.1.1 T-Mobile image posted by Google.
[Nexus 6 Android Development] Xplicit84:
Anyone going to be making a new no force encrypt boot file for the new image? Google just released the update LMY48M: https://developers.google.com/android/nexus/images
[Nexus 6 Android Development] belek1979:
No encrypt img for 48M?
[Nexus 6 Android Development] Pecata:
You can create one yourself-courtesy of post #902 ;)

http://xdaforums.com/showpost.php?p=61015828&postcount=902
[Nexus 6 Android Development] belek1979:
Gr8. And how about flashable zip?

Old one would work?
[Nexus 6 Android Development] sarcoptic:
Thanks and enjoy :)
[Nexus 6 Android Development] adbFreedom:
The only reason people were getting boot loops was because they used the command

fastboot erase userdata instead of fastboot format userdata after flashing the modified boot.img
[Nexus 6 Android Development] mk92595:
My N6 is in a bootloop right now
[Nexus 6 Android Development] stuff:
Read the post above yours
[Nexus 6 Android Development] mk92595:
downloading the stock image as I type this
[Nexus 6 Android Development] bbedward:
Best to do a factory reset after the system is booted, or possibly in recovery.
[Nexus 6 Android Development] NeoteriX:
You may want to let things settle down first -- in the first 24 hours, there's usually a lot of background read/writes as the phone is pulling down emails, scanning storage for media, etc.
[Nexus 6 Android Development] jimmydigital00:
Other than running a benchmark, how can I tell if my phone is un-encrypted?

Thanks for your help
[Nexus 6 Android Development] adbFreedom:
go back into bootloader

fastboot flash boot boot_noforceencrypt.img
fastboot format userdata
fastboot reboot

once you are back in Android and get settled in you can go back into bootloader and flash recovery and run CF Auto root.
[Nexus 6 Android Development] Evo_Shift:
I doubt it. Google and the media are all over this government snooping and encryption BS. And the fact Apple defaults to encrypt means Google is probably going to keep it even though the way Apple does it is vastly superior. Not giving the option is annoying.