yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] fuzzybuffalo:
Nope, the one zip I remembered was in /cache.

I googled ota update dir and the first 4 or 5 post all mention /cache.

Did you get a notification, and download it then not install it?
[Nexus 6 Android Development] belek1979:
yes, it shows downloaded and verified. update size 410.4MB

device/cache:

1st folder: BACKUP > 1 > delta and full (both empty)

2nd folder: lost+found (empty)

3rd folder: recovery > files: last_install, last_locale, log log1 log2 and log3

and thats all
[Nexus 6 Android Development] fuzzybuffalo:
It's usually a zip file with a big long string of numbers for the name and just in the /cache folder, not a subfolder.

Though I have heard of them named update.zip.

You could try doing a search for zip or *.zip from root. Though that will search everything.

Edit: You did not install it did you? If you install it, it will delete its self. I think even if you try to install it, it will delete.

---------- Post added at 06:58 AM ---------- Previous post was at 06:39 AM ----------

The update from LRX22C to LMY47D is named

ff9e83169f322ffc83b2e94357dd501fd789cab3.signed-shamu-ota-LMY47D-from-LRX22C-fullradio.zip

found it at this link http://www.droidviews.com/install-android-lollipop-5-1-ota-zip-on-nexus-6-manually/

it is 410 MB's, are you onLRX22C, if so you could do a search for LMY47D.
[Nexus 6 Android Development] belek1979:
thanks a lot - i tried *.zip but now I've found that es file explorer works just with names - so I typed "zip" and... voila

update.zip is in /data/data/com.google.android.gms/app_download/

I'm goin 2 make an update without loosing my data and switching for boot with no force encryption

thanks for inspiration ;)
[Nexus 6 Android Development] fuzzybuffalo:
Your welcome.
[Nexus 6 Android Development] belek1979:
another problem - my update zip is:

https://drive.google.com/file/d/0B6Ojd4m34YkrWTdqT1BHeERudFE/view

no system.img but system.patch.dat etc

omg why it is so difficult?
[Nexus 6 Android Development] pootown:
Got phone today, did tmobile OTA , now in the middle of using the Wugresh root kit now, for the first time.

THe boot loader is unlocked and I'm ready to root but want to flash the unforced encryption version. Coming from LMY47M which should I use (i have read previous pages still confused).

Thanks, wish this was built into the Wug kit but cant complain this kit is so easy.

please point me towards a download for the correct image for unencrypted

MANY THANKS!
[Nexus 6 Android Development] Pecata:
It is in the OP:

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

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

It works fine with the 47M build. I am running that build and I am un-encrypted.
[Nexus 6 Android Development] memekmek:
A couple of questions.

First Question: I recieved the OTA update for lmy47i but am running a 5.0.2 rom on LRX22G. Should I flash the LRX22G since that is the kernel/rom i'm on?

Second Question: Do I have to do this on every fresh rom install?
[Nexus 6 Android Development] wooddale:
If your just rooted and unlocked you can probably get OTA but if your on s custom recovery like twrp It won't work you need to be on stock recovery. Either way you will loose root. Your best bet would be try Wugs tool or one of the others.
[Nexus 6 Android Development] memekmek:
Sorry, I wasn't clear and that was my fault. I purchased it and it already had the LMY47i update installed. After that, I unlocked the bootloader, rooted the phone and then flashed a 5.0.2 rom as my daily driver. I'm still running blisspop 5.0.2 so I can use xposed. Blisspop is a LRX22G Build So i was wondering if I should flash that version to get unencrypted. Once unencrypted, if I flash a new rom, does it encrypt the phone again automatically and require this to be reflashed for the appropriate build?
[Nexus 6 Android Development] FormeriPhoney:
build

---------- Post added at 03:59 PM ---------- Previous post was at 03:56 PM ----------

I'm in the same boat. On the M build but can not unencrypt bc "any build" doesn't work.
[Nexus 6 Android Development] cam30era:
Quote from OP: "Stock LMY47D/LMY47E/

LMY47M

(5.1.0) - No force encrypt:"

With that said, I've not tried to M build myself. Are you saying that doesn't work for M build?
[Nexus 6 Android Development] wooddale:
When you decrypt your phone you will loose your data unless someone invented a new way. I've never tried blisspop but I would imagine it will not encrypt your phone once your decrypted nor will none of the other Roms . Once your decrypted you can do what you want except flash stock it will encrypt again. If your asking if you should flash lrx22 to decrypt that would be. down grading and you can't do that. I'm on both Clean and Chroma and once I flashed the 5.1 boot loader I am unable to get exposed. Are you sure your on lmy47 and not still on lrx when did you get your phone.
[Nexus 6 Android Development] memekmek:
got it on friday of last week...when I turned it on it was on a stock 5.1 rom unrooted and locked bootloader from sprint...didnt get any ota but assumed it was updated before I got it.

needless to say: i unlocked it first, then rooted, i was able to run 5.1 roms perfectly.
[Nexus 6 Android Development] wooddale:
You bought it used? That's weird exposed doesn't work on 5.1 works o 5.0.1 or 5.0.2
[Nexus 6 Android Development] memekmek:
Yeah I ended up getting it used Last week. It was never rooted or unlocked, and when I opened it up, it was on the stock 5.1 LMY47i Build so I assumed it got the OTA update from sprint. From there I flashed a 5.0.2 Rom to get xposed. Are you saying if you got the 5.1 update, you can't get xposed to work, even on a 5.0.2 rom?
[Nexus 6 Android Development] wooddale:
I'm on Verizon and as soon as I flashed the 5.1 boot loader any one of the 4 lol I lost exposed even on back up 5.0.2 Roms. Are you sure your on 5.1? The guy you bought it from could have left it on a 5.1 ROM and still be on 5.0. If you can flash a ROM like Clean 2.2 then your on 5.1 if it won't flash then your not. Don't upgrade the boot loader before you flash or you will be on 5.1.
[Nexus 6 Android Development] avengerpro:
When were published LMY47I Decrypted boot ???
[Nexus 6 Android Development] cam30era:
Post #776, on page 79.
[Nexus 6 Android Development] bbedward:
What's the difference?

I haven't seen any changes to the 5.1 kernel in any of the million builds they have.
[Nexus 6 Android Development] cam30era:
I agree. I've not seen any difference either.

But, when people see this in the OP, they get nervous > "You should be running the same build as the kernel you install (E.G. if you are running 5.1.0 LMY47D you should install the LM47D no force encrypt kernel)"
[Nexus 6 Android Development] marsdiamond:
I am a Root Newbie. I have a question. I am rooted, unlocked and running stock. I initially disabled encryption on my phone using the Toolkit. When I updated to 5.1 with the Toolkit my phone was encrypted during the process. Did I do something wrong?
[Nexus 6 Android Development] TMYINC:
The toolkit has the stock factory images so it will force encryption when flashed. I would make a backup of everything that you need and redo the steps in the OP. The easiest way to update is to just flash the newest bootloader and radio through recovery then flash one of the newest stock roms that are floating around that doesn't force encryption. That way you don't have to format user data.
[Nexus 6 Android Development] adichandra:
just need a confirmation..

i'm using stock rooted rom with encryption disabled from this thread http://xdaforums.com/nexus-6/development/rom-stock-rooted-5-1-lvy47h-root-t3070472

i know it's already disabled with that rom, but i just flashed franco's kernel yesterday and i didn't like it, can i just grab the boot.img from that rom and flash it right away without erasing userdata/factory reset and try other kernel like code blue? or should i erase the userdata too? because if so, that's gonna be a pain in the ass everytime i want to try a new kernel. thanks
[Nexus 6 Android Development] GuyInDogSuit:
No, just flash the new kernel, or reflash the ROM.

Is there not an M boot.img? Not like it matters, CM12.1 is I-based anyway. Problem is, I now have a phone that keeps rebooting recovery in an endless loop.

EDIT: I got it to boot into Android but I'm getting a repetitive message that System UI has stopped, making the phone unusable. WTF?!
[Nexus 6 Android Development] brosenz:
I am running the latest Chroma version with Franco Kernel r26, what happens if I install this Kernel, can I go back to FK? I have a Nexus 6, I am afraid to brick the phone, thanks
[Nexus 6 Android Development] wooddale:
You know when you disable your gonna loose all data. Wouldn't worry about bricking phone I think the only you can do that is to flash something not for nexus 6.
[Nexus 6 Android Development] brosenz:
But I am confused, what am I actually flashing unencrypted, is the ROM or the Kernel?, and what is going to happen to my actual Chroma ROM and Franco Kernel? please could you clarify
[Nexus 6 Android Development] wooddale:
When you disable forced encryption its kinda like flashing stock again only your not encrypted. You will still be unlocked and everything but you loose all your data that means everything pictures files Chroma. If your concerned about loosing stuff you must back it up to computer. I suppose if you backed up your SD card with a backup of chroma in twrp. Then when you got your phone back up again you cold take the nanoid put it in twrp and flash the nanoid never tried it but should work. Probably a lot easier to flash everything over fresh again
[Nexus 6 Android Development] bbedward:
I suspect franco kernel already doesn't force encryption.

You can just format userdata and be all set, but yes it is done in the kernel.
[Nexus 6 Android Development] brosenz:
Done, everything is working fine, thanks
[Nexus 6 Android Development] toknitup420:
If I encrypt on my current ROM will my backups be affected. Should I flash back to my stock back up and encrypt on that and start clean with custom ROMs.
[Nexus 6 Android Development] Jsunn:
is the bootimg_noforceencrypt_lmy47d.img the same as the bootimg_noforceencrypt_lmy47i.img
[Nexus 6 Android Development] bbedward:
Yes there is no difference between the kernels on the 5.1 builds so far.
[Nexus 6 Android Development] cam30era:
Yes.
[Nexus 6 Android Development] Jsunn:
Thanks Guys!!
[Nexus 6 Android Development] GuyInDogSuit:
Apparently. But they don't work with CM12.1.
[Nexus 6 Android Development] p-slim:
Cm12 has its own kernel that's not force encrypting, no need to flash this kernel
[Nexus 6 Android Development] luizffgarcia:
Guys, i am having a hard time figuring this out.

I am on Chroma ROM with Franco Kernel r26. My understanding is that i just have to flash the "bootimg_noforceencrypt_lmy47d" boot image and then format my userdata. Is this correct?

Will my current rom boot after that? Or do i have to install a lmy47d rom AND lmy47d kernel before proceeding?
[Nexus 6 Android Development] bbedward:
If you format userdata on most custom kernels including franco you will already not have forced encryption

This should only be used for people who are on stock really.
[Nexus 6 Android Development] luizffgarcia:
Really??? But will the kernel currently installed affect an ADB command to format userdata??? Im surprised to hear that...

EDIT: Nice, you were right it worked like a charm. Thanks!
[Nexus 6 Android Development] razorloves:
cm12 force encrypts.

https://github.com/CyanogenMod/android_device_moto_shamu/blob/cm-12.0/fstab.shamu
[Nexus 6 Android Development] toknitup420:
Are you talking pure CM 12. Or stuff that's based of CM 12
[Nexus 6 Android Development] bbedward:
Use zen15 AnyKernel on cm ;) it should disable force encryption.
[Nexus 6 Android Development] GuyInDogSuit:
CM12 does, but not albinoman887's CM12.1. It wasn't until I wiped userdata that it decrypted, though.
[Nexus 6 Android Development] USA-RedDragon:
[MENTION=2632235]bbedward[/MENTION]. I couldn't pm you and I wanted to ask a few questions about kernel building since you have the expertise. Would you please be able to email or hangouts me at jamcswain2000@gmail.com. If it matters, I work with Ryan on Vindicator at times. Thanks.
[Nexus 6 Android Development] bbedward:
hangouts message sent
[Nexus 6 Android Development] :
Hi guys, I'm wanting to disable encryption on my Nexus 6 (purchased directly from Moto) but admittedly, the posts about bootlooping early in the thread have made me gun-shy. I am running 100% stock - no custom ROMs in other words - and to be honest, I really don't care if I have root at the end or not. I just want to disable encryption. I'm running 5.1 on build LMY47D. I have downloaded Wug's NRT and updated it to the latest version. I also know my phone will connect to my laptop OK as I side-loaded 5.1. Took a while to get there, but it's all good now.

Point being, are there steps to disable encryption on the Nexus 6 for stock Lollipop (no custom ROMs) and if so, can someone please either link me to it or post them below? Thanks in advance!
[Nexus 6 Android Development] orangechoochoo:
All I did was flash a custom kernel in recovery and formatted SD card in recovery, now I'm not encrypted.

I was unlocked, rooted, and running a custom ROM prior to that. It was extremely easy, no chance of messing up.

The folks who bootlooped were using the decryption method listed in the OP that is done in fastboot, and were using the incorrect fastboot commands.
[Nexus 6 Android Development] bbedward:
The people who boot looped were not on stock rom I suspect.

This is a stock unencrypted kernel right from the stock factory images.
[Nexus 6 Android Development] orangechoochoo:
After flashing the altered kernel, remember some were just erasing data instead of formatting so nothing changed, while some others wiped SD card and system so that they had no system to boot back into.

The instructions are clear, but readers also have to read the whole thread too so they can avoid other's mistakes.

Thanks for making this thread bbedward:good:
[Nexus 6 Android Development] :
Thanks for the replies guys. I'm the first person who insists that people read before they post and I got through about 25 pages with my head spinning. It's difficult to sort through 85+ pages and not knowing exactly what's the right way to go, which is why I asked for steps for someone not running a custom ROM... It's hard to know what qualifies as "clear" instructions when sifting through 85 pages and never having done this before. So I'll copy/paste from an earlier post and if someone can confirm this is right, it's most appreciated.

1.

Download the following file:

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

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

2.

Boot into the bootloader

:

adb reboot bootloader

3.

Flash the boot.img (downloaded in Step 1) to disable FDE

:

adb sideload <filename> <--- not sure if that's the right command

4.

Reboot back into the device

5.

Run Chainfire's AutoRoot

(this can be done from within NRT, yes?)

6.

After it's rooted, reboot back into the device

7.

Download TWRP app and have it install the recovery

(this can also be done from within NRT, yes?)

8.

Reboot device

9.

Unencrypted happiness
[Nexus 6 Android Development] razorloves:
Those steps aren't right. Follow the first post
[Nexus 6 Android Development] bbedward:
Forget about all that.

- Download the boot.img

- Plug phone into PC

- adb reboot bootloader

- fastboot flash boot bootimg_noforceencrypt_lm47yd.img

The next one disables encryption but will wipe everything, including sdcard

- fastboot format userdata

- fastboot reboot

Done :)

The only people who bootlooped were probably not on stock rom, and probably didn't need this anyway.
[Nexus 6 Android Development] andrewc513:
Figured I'd ask before borking something and coming back again with stupid questions.. So If I currently have my storage encrypted and am running CM12.1.. I need to make a nandroid backup to my USB flash drive, follow the above steps, then restore my nandroid backup, right? Which will result in my current rom on unecrypted storage, if so?
[Nexus 6 Android Development] bbedward:
If you use this in cm12.1 you will boot loop ;)

You'll need to find a custom kernel that supports cm12.1 and disabled forced encryption (like the zen AnyKernel ;))
[Nexus 6 Android Development] andrewc513:
Roger that, thanks!

---------- Post added at 10:34 PM ---------- Previous post was at 09:42 PM ----------

Forgive my ignorance again, but I have another question as I'm playing catch-up since I've had my N6 for less than a week. The forced encryption was only with stock 5.0.x, right? When I got my phone I started it right off the bat with a bootloader unlock and a clean flash of the latest 5.1 factory image package. It's at this point that I enabled encryption without thinking about it. I later loaded up TWRP & CM12.1, with encryption still enabled.

The way I understand it, 5.1 does not force users to encrypt, right? It's optional? The wording of the message as I walked through the out-of-box setup after flashing the factory image gave me that impression.

And the reason you mention I'd boot loop in the other post is because of your modified boot.img I'd be flashing, right?

Could I not do your method to disable encryption & wipe the phone, and then re-flash the 5.1 factory image(including the stock boot.img), and be back to square one with unencrypted storage & ready to flash CM12.1?
[Nexus 6 Android Development] orangechoochoo:
5.1 will always force encrypt unless you flash a modified kernel that doesn't force encrypt. I believe official CM12 force encrypts, but Albinomans version of CM12 has a modified kernel that doesn't force encrypt according to this:

It gets a little confusing in his thread because some people post after having flashed official CM which does force encrypt.

If you're already encrypted then flash the ROM you want plus a custom kernel unless the ROM already comes with a kernel that doesn't force encrypt. Then while still in twrp you must format data so encryption is gone.

You should transfer all your SD card contents to a computer since formatting the SD card will wipe everything on it. Once your done flashing and formating, then boot up and transfer back all your stuff.
[Nexus 6 Android Development] cam30era:
Wrong. All Google factory images for N6 are encrypted.
[Nexus 6 Android Development] andrewc513:
That makes more sense then, since I've not had to deal with this on my flo, just my new shamu.

Thanks to everyone for the clarifications!
[Nexus 6 Android Development] cam30era:
Welcome. FWIW, there's a button for that. ;)
[Nexus 6 Android Development] :
Thank you very much for this. Once I get a chance to do this - hopefully this weekend - I'll report back.
[Nexus 6 Android Development] masi0:
[MENTION=535343]all[/MENTION] two questions:

1. will I get OTA with this no encrypt bootloader?

2. shall I flash newer no encrypt bootloader after OTA?

Thanks!
[Nexus 6 Android Development] cam30era:
Well, first off this isn't a bootloader. Secondly, if you flash this boot image/kernel you will not be able to accept an OTA. Have to have a stock system.img (i.e. no root), and a stock boot.img (i.e. stock encrypted kernel).
[Nexus 6 Android Development] puritan007:
Thank you sir, I did exactly as you stated here and copy pasted your instructions even, and bam done. Ty.
[Nexus 6 Android Development] a.demarco:
might be a stupid question, but do i just enter the commands in a command prompt window as is? do i need to do any other commands first before entering those commands? i am just learning how command prompt and adb work, please forgive my ignorance.
[Nexus 6 Android Development] cam30era:
The only stupid question is the one not asked.

This thread will help you > http://xdaforums.com/nexus-6/general/noob-read-adb-fastboot-how-help-t3006500

Don't hesitate to ask more questions after you've read that.
[Nexus 6 Android Development] a.demarco:
ok, read that, got adb and fastboot working again and my phone is being recognized.

i downloaded the lmy47e image, and it is saved on my desktop. it named itself bootimg_noforceencrypt_lmy47d

i open up command prompt, and type in fastboot flash boot boot_noforceencrypt.img like it says to do in post #1, and i get "cannot load boot_noforceencrypt.img". so i tried it again, this time using the actual file name, and command prompt is telling me again "cannot load bootimg_noforceencrypt_lmy47d.img"

so what am i doing wrong?
[Nexus 6 Android Development] bbedward:
Are you using actual file location.

You should download it and move it to the same directory as fastboot, or can adjust fastboot flash boot /wherever/file/is
[Nexus 6 Android Development] a.demarco:
nope, no clue how to do any of that. i am reading and teaching myself this on the fly as i am doing it. can i just drag and drop the .img to the fastboot folder in sdk?
[Nexus 6 Android Development] bbedward:
Yea just put it in the same folder as fastboot and you will be OK.
[Nexus 6 Android Development] a.demarco:
excellent, thanks!

---------- Post added at 02:37 PM ---------- Previous post was at 02:34 PM ----------

ok, so i got the .img to flash, then i did the fastboot format userdata, and rebooted the phone after it was done. i should be good to go now, right? is there any way to check to see if i am decrypted?
[Nexus 6 Android Development] cam30era:
Go to Settings/Security/Encrypt phone. You'll see that it offers you the ability it encrypt.
[Nexus 6 Android Development] a.demarco:
will do, thanks again for all your help.
[Nexus 6 Android Development] cam30era:
Welcome. BTW, there's a button for that. ;)
[Nexus 6 Android Development] stevew84:
What if I'm already on a custom ROM and already bootloader unlocked and all that good stuff, will this still benefit me?

Every ROM/kernel combination I use still results in the Security menu stating that the phone is Encrypted. Will I have to factory reset EVERYTHING and go from there or what happens exactly?

What if I want a custom ROM AND no encryption?
[Nexus 6 Android Development] cam30era:
[MENTION=3085842]stevew84[/MENTION],

Regardless, if you want an unencrypted kernel you will have to wipe everything
[Nexus 6 Android Development] ANDR01DN00B:
Is the 5.1 .img a one-time-flash or do I have to flash it every time I install a new ROM/Kernel? And does the 5.1 IMG work on 5.1.1?

Thanks in advance.
[Nexus 6 Android Development] cam30era:
One time flash, after flashing a factory image. There is no 5.1.1 factory image yet.
[Nexus 6 Android Development] ANDR01DN00B:
Just booted up and Encryption setting asks me to encrypt. Just to clarify, that means I am decrypted, correct? And now I am PERMANENTLY decrypted unless I manually encrypt it, right?

Thanks.
[Nexus 6 Android Development] fuzzybuffalo:
Yes you are decrypted.

PERMANENTLY is a very permanent word, if you flash a full stock image and boot up, it will force encryption.

I've heard there are CM 12 ROM's that force encryption, I don't use CM so cannot verify that.

Otherwise you should stay decrypted.
[Nexus 6 Android Development] RayMcGrath:
I did it! Thank you!
[Nexus 6 Android Development] petkyrk:
delete comment
[Nexus 6 Android Development] imablackhat:
If I'm already on clean ROM and don't have PC access can I use flashify and flash as boot IMG reboot and reinstall ROM after clean???
[Nexus 6 Android Development] cam30era:
I'm not sure about the flashing part as I don't use flashify. But even if you can do this, you will still be encrypted until you have PC access, boot bootloader and type "fastboot format userdata". That command will wipe your SDcard and you'll have to set up your phone again. But then you'll be unencrypted.
[Nexus 6 Android Development] imablackhat:
i flashed over cleanroom using flashify (read it online somewhere), rebooted into recovery formatted data, rebooted, setup phone again and it still says encrypted and when I tap it nothing happens??????