yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] sgloki77:
me too, 99% certainty I clicked on 5.1

op prbly messed up the links and then quietly fixed it, that's the only logical explanation at this point [emoji4]
[Nexus 6 Android Development] @home:
I know I clicked on the correct link & my N6 wont decrypt.
[Nexus 6 Android Development] cam30era:
[MENTION=4739007]sgloki77[/MENTION], [MENTION=2826663]mardiie[/MENTION], [MENTION=313982]home[/MENTION]

I downloaded the noenforceencrypt LMY47D kernel from the OP yesterday (03/12) at about 2:00 PM EST. The link was correct, and I downloaded and installed the correct kernel.

I suspect operator error, not [MENTION=2632235]bbedward[/MENTION] error.

Many thanks, again to Brandon for the work he does here.
[Nexus 6 Android Development] bbedward:
Lol the links were correct yesterday when I first put it up. If you look carefully that's when it was last updated ?

[MENTION=313982]home[/MENTION] follow the instructions. You have to flash kernel and then format userdata to disable it.
[Nexus 6 Android Development] mardiie:
I wasn't blaming OP.

I might be blaming the file host, but it seems strange to me that there system would make such an error.

Still weird since I'm pretty sure I picked the right version.

Just make sure u get the new one, double check :D
[Nexus 6 Android Development] @home:
Thanks - I was hoping to avoid erasing all my stuff on the device.
[Nexus 6 Android Development] efrant:
Just copy your data off your device, and copy back after the format.
[Nexus 6 Android Development] bbedward:
It is the only way to disable it. I think you could restore data from a nandroid though.
[Nexus 6 Android Development] @home:
Yeah. I'm stock rom with stock recovery, just rooted.
[Nexus 6 Android Development] Lex_407:
I would like to know if this would work on a custom rom like CM12? Thanks in advanced and if it has already been answered (I couldn't find it) sorry in advanced.
[Nexus 6 Android Development] gorei23:
Before I buy this phone, can I disable encryption as shown above, and then re-lock the bootloader? I like sticking with stock for a few weeks with new devices, and I don't want to stare at that ugly unlock logo.
[Nexus 6 Android Development] xdatastic:
Yes, you can re-lock. Obviously you would then need to unlock (and wipe the device) in order to flash any future versions.
[Nexus 6 Android Development] gorei23:
Thanks! Just got my Blue Sprint Nexus 6! So happy! :D
[Nexus 6 Android Development] drawde40599:
Cm has there own kernel . I'm pretty sure you just do the same steps but within CM to get cm decrypted.

---------- Post added at 06:52 PM ---------- Previous post was at 06:50 PM ----------

Can Someone that actually used stock 5.1 more than 5 min tell me if decrypt is even worth it anymore ? All the "lag" and slow is completely gone in 5.1 so I'm assuming there's no point to decrypt anymore . But I'd like to here opinion of someone that actually used stock
[Nexus 6 Android Development] jrbxx7:
I ran stock most of the day and didn't notice any problem being encrypted. In fact I still am on sinless ROM. And its flawless.

Sent from my Nexus 6 using Xparent Red Tapatalk 2
[Nexus 6 Android Development] drawde40599:
Ya 5.1 is great . Are you decrypted now on that ROM ?
[Nexus 6 Android Development] jrbxx7:
Nope still encrypted for now. Lol

Sent from my Nexus 6 using Xparent Red Tapatalk 2
[Nexus 6 Android Development] @home:
Finally Decrypted after resetting device.

Thanks to the OP for his help :good:
[Nexus 6 Android Development] jvidia:
Do you guys notice the difference after being decrypted in the daily usage

with the 5.1

??
[Nexus 6 Android Development] cam30era:
Yes. I ran about a day with 5.1 encrypted. Then flashed this boot.img. Phone feels a lot snappier.
[Nexus 6 Android Development] dannytanky:
Sequential read 201.6

Sequential 70.79

That's the best my N6 can manage. Good enough?
[Nexus 6 Android Development] avengerpro:
Update for Nexus 6

LMY74E Update has arrived.

bootloader decrypted please...
[Nexus 6 Android Development] dodgebizkit:
What's that? 5.1.1?

-----------------------<SiG>-------------------

My house phone is better than your iPhone.
[Nexus 6 Android Development] springer.music:
It's still 5.1

https://developers.google.com/android/nexus/images#shamulmy47e
[Nexus 6 Android Development] Pecata:
According to Google it's still 5.1.0

https://developers.google.com/android/nexus/images
[Nexus 6 Android Development] aagvain:
are the boot images different?
[Nexus 6 Android Development] dodgebizkit:
Sweet... Is there a sideloadable OTA .zip for that one yet, and is there any noticeable difference between this and the previous 5.1 OTA?

-----------------------<SiG>-------------------

My house phone is better than your iPhone.
[Nexus 6 Android Development] patmw123:
Couldn't agree more.
[Nexus 6 Android Development] rebretz000:
boot.img/kernel appears to be the same.
[Nexus 6 Android Development] patmw123:
Kernel is the same for sure, but I am unsure about whether or not the boot.img is the same. Does the kernel being the same indicate the same boot.img too?
[Nexus 6 Android Development] :
Boot.img is the kernel :good:
[Nexus 6 Android Development] patmw123:
I was thinking that might be the case. Thanks!
[Nexus 6 Android Development] springer.music:
The MD5 values for boot.img from LM47D and LM47E are different.

Are we sure that kernel is the same for LM47D and LM47E?

I just want to be 100% sure before going ahead.
[Nexus 6 Android Development] patmw123:
Yes, the kernels are the same. The kernels are identical in settings > about phone on both 47D and 47E.

I ended up just flashing the system.img and the radio.img without wiping data and everything is fine. I made sure everything else was unchanged between the two builds.

Edit: Might also want to flash the newest 47E recovery just so it reads correctly when booting into recovery. I'm not sure if anything actually changed with it though.
[Nexus 6 Android Development] rebretz000:
I fastbooted the system and radio but kept TWRP recovery. Then flashed SuperSU and Lean Kernel
[Nexus 6 Android Development] patmw123:
I'm completely stock, just unencrypted. The need to flash recovery is just necessary for those wishing to stay on stock recovery.
[Nexus 6 Android Development] bigant262:
Anyone flash this on the newest image and see if it works?
[Nexus 6 Android Development] gbalerdi:
Hi !

Can anybody please benchmark 5.1 with and without encryption? is it still worth it to disable it?

Thanks!

Gonza
[Nexus 6 Android Development] beelow319:
See post 686. Somebody ran benchmark with and without encryption
[Nexus 6 Android Development] Jsunn:
I'm trying to get to 5.1

I am unlocked and unencrypted, can someone please help. I have downloaded the factory image and also the noforceencrypt boot image.

Um, now what?

Thanks,

-Jason
[Nexus 6 Android Development] beelow319:
Fastboot flash bootloader bootloader-shamu...

Fastboot flash radio radio-shamu...

Fastboot reboot bootloader

Fastboot flash boot boot.img (i used a no force encrypt boot.img)

Fastboot flash system system.img

Reboot and let apks update

Boot to recovery, flash SU and done
[Nexus 6 Android Development] Jsunn:
You rock!!

I wasn't going to root, any steps differ for that?

Thanks,

-Jason
[Nexus 6 Android Development] beelow319:
Depends if you want a custom recovery. Also, before doing this, make sure your bootloader is unlocked first. Just in case of issues.

So if you're not going to run a stock recovery: fastboot flash recovery recovery.img

If you want a custom recovery, replace "recovery.img" with custom recovery img name, like twrp-2.8.5.0 or whatever it is.

Also, replace "boot.img" with the no enforce boot img name.

Personally, I didn't flash cache or anything else.
[Nexus 6 Android Development] marc.ientilucci:
how did u determine the kernels were identical? did u flash, grab the info and then un-encrypt again? or are there screenshots floating around that u just matched up before and after shots of someone who flashed "5.1E"
[Nexus 6 Android Development] Ladduro:
Any plans for a LMY47E with foce encryption removed? Even if build timestamp is the same... I would like the latest boot.img (OCD !!!)
[Nexus 6 Android Development] patmw123:
I compared screenshots to before and after. Identical. I never wiped data and just flashed in fastboot the .img's in this order:

-system.img

-radio.img

-recovery.img (only necessary if you want to be on stock recovery)

-47Enoencryptboot.img (I found this on reddit)

I flashed all of these without wiping data.

47E no force encrypt boot.img Reddit link below.

http://www.reddit.com/r/nexus6/comments/2zd0u7/google_just_posted_a_new_android_51_factory_image/
[Nexus 6 Android Development] cobyman7035:
is this the steps from 5.01 decrypted boot.img via franco kernel to preserve all my data and apps right?

i extracted the tgz file and got this....

*** We appreciate your suggestions at support@structurise.com ***

Name /1 Date modified Type Size android-info 2/22/2015 3:23 AM Text Document 1 KB boot 12/31/200811:00 PM IMG File 7,682 KB

E] cache 12/31/200811:00 PM IMG File 6,249 KB recovery 12/31/200811:00 PM IMG File 8,274 KB

E] system 3X18/2015 4:22 AM IMG File 1,736,381 KB userdata 12/31/200811:00 PM IMG File 138,869 KB
[Nexus 6 Android Development] dodgebizkit:
Is there an OTA zip of LMY47E (going from LMY47D)?
[Nexus 6 Android Development] beelow319:
Those steps will keep your data. If you want to use a different kernal just flash it how you normally would in place of stock kernel.

The stock files downloaded from google are inside a zip within the tar file.
[Nexus 6 Android Development] wietse1988:
http://xdaforums.com/nexus-6/development/rom-stock-rooted-5-1-lmy47e-root-t3057902

This is stock, rooted and with disabled force encryption
[Nexus 6 Android Development] belek1979:
I have Stock LRX22C (5.0.1) with no force encrypt from first post and TWRP.

Is it possible to update to 5.1 (no force encrypt) without loosing my data (I dont want to use TiBa etc)?
[Nexus 6 Android Development] beelow319:
Yes, use info from post #743 in this thread. Change .img names to the files you're flashing.
[Nexus 6 Android Development] kingston73:
I have read nearly the whole thread but want to verify before I do anything, if I am using a custom 5.0.2 rom and want to decrypt, I can just format data using twrp and reboot? I know formatting data will erase my sd card contents but will it still allow me to boot back into my rom or no? Sorry if this is a basic question, I m still learning.
[Nexus 6 Android Development] iifuzz:
Is there still a big performance gain after 5,1?
[Nexus 6 Android Development] gnubian:
Not sure about TWRP. But if ur flashing the bootloader, ur in adb and might as well wipe that way. I can say for sure that if you follow instructions ( fastboot flash boot, and then reboot to bootloader (from bootloader) then execute the other command (the one to erase user data) then reboot phone, ur rom is still there but as if you factory reset it from within rom. Just did it myself.
[Nexus 6 Android Development] thenewak:
The Verizon model is LMY47E. 5.1 anyone tried this? Should it work the same way?
[Nexus 6 Android Development] Decimation:
Yep, this works independent of your carrier
[Nexus 6 Android Development] smclaughlin3:
Any hope for T-Mobile folks lmy47m build? Thanks
[Nexus 6 Android Development] p-slim:
This post already works with the T-Mobile build
[Nexus 6 Android Development] smclaughlin3:
i dont see the no force encrypt boot image for lmy47m?

arent the boot images specific to builds to avoid issues?

Thanks in advance
[Nexus 6 Android Development] p-slim:
it is essential to build as in 5.0, 5.01, and 5.1. All the 5.1 builds are basically the exact same build.
[Nexus 6 Android Development] smclaughlin3:
ok thanks ill go with the d build 5.1 see how it goes

to be honest i read the op and it clearly says the prerequisite is that you have the same build as the kernel you install EG if you are running 5.1 lmy47d you should install the lmy47d no force encrypt kernel
[Nexus 6 Android Development] p-slim:
cool, yeah ive been using that on my M build since the first day M was released and its working perfectly fine.
[Nexus 6 Android Development] Alex740il:
I just flashed the no encrypt boot, and now the phone is stuck in boot loop. TWRP screen flashes over and over, but doesnt load recovery or boot up. Anyone have idea what to do?? I'm on 5.1 lmy47e..
[Nexus 6 Android Development] patmw123:
Flash ALL of the LMY47E images again to go back to stock and wait for someone to provide a no-force-encrypt LMY47M boot.img .

It may work to just flash the standard LMY47M boot.img. I would try that first.
[Nexus 6 Android Development] Alex740il:
I downloaded factory images. It flashes everything except the last image-shamu-lmy47e.zip...

fastboot.exe -w update image-shamu-lmy47e.zip

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

failed to allocate 1778054096 bytes

error: update package missing system.img
[Nexus 6 Android Development] patmw123:
You need to unzip that .zip file and flash each image individually. I wouldn't flash the userdata.img as it wipes data and I have heard conflicting reports of it messing things up. If you want to wipe data I would just do it in recovery before or after you flash the images individually. It's a newer thing that Nexus 6 devices have to do in terms of unzipping the update.zip.
[Nexus 6 Android Development] xdatastic:
Make sure you have the latest version of the SDK platform-tools. Also make sure you have plenty of free disk space on your computer. It takes a few GB to unpack and flash the system.img
[Nexus 6 Android Development] iStayHigh:
Alright I just flashed the image through flashify then booted into twrp and hit format data and bam no more encryption and I didn't even lose root access this way. Yay

Sent from my Nexus 6
[Nexus 6 Android Development] Alex740il:
I definitely have enough disk space, newest sdk, tried to manually flash each img file, no go. Same error every time.. Tried different images, verified md5 on each download... Not sure what to do at this point.

Update: I was able to flash the factory images. First I deleted android skd, downloaded new one from google site, installed it, updated and all worked!
[Nexus 6 Android Development] Chahk:
LMY47I was released recently with very few changes from "M". The LMY47D/LMY47E/LMY47M version should still work on it, right?
[Nexus 6 Android Development] stas333:
i would like to know also
[Nexus 6 Android Development] old_fart:
Did you see ? Vomer made an " I " version to grab / try . . .
[Nexus 6 Android Development] XorZone:
LMY47I no force encrypt

Disabled force encrypt in 5.1 (lmy47i)

only change is forceencrypt->encryptable in fstab.shamu
[Nexus 6 Android Development] belek1979:
Gentlements one more time:

1 what are the most correct steps?

Fastboot flash bootloader bootloader-shamu...

Fastboot flash radio radio-shamu...

Fastboot reboot bootloader

Fastboot flash boot boot.img (i used a no force encrypt boot.img)

Fastboot flash recovery recovery.img (twrp)

Fastboot flash system system.img

Reboot and let apks update

Boot to recovery, flash SU and done

?

Did you unpack that files from stock update?

2 is there fixed ZIP for twrp with stock system and no force encrypt boot? So I boot to recovery, run zip, restart and wait for apps to update?

3 what is that 47 D, E, M? OP has 47D.
[Nexus 6 Android Development] XorZone:
If updating from LMY47D you only need to update boot image and system (and recovery if using stock)
[Nexus 6 Android Development] belek1979:
I'm updating from LRX22C (5.0.1) with no force encryption and I dont want to wipey data
[Nexus 6 Android Development] XorZone:
Then follow your #1 but reboot to recovery first and flash SuperSU to disable stock install recovery script
[Nexus 6 Android Development] natezire71:
I'd like to recap this. My N6 gets here today, and this was on the list of things to do.

So, when you get the N6, you need to (in this order):

Do an initial boot into the device

Skip all the set-up crap. Get the latest OTA.

After the OTA is complete, boot back into the phone.

adb reboot bootloader

flash the boot.img to disable FDE

Reboot back into the device

Run Chainfire's AutoRoot (I think it automatically reboots you into the bootloader)

After it's rooted, reboot back into the device

adb reboot bootloader (last time, I promise)

fastboot flash TWRP.img (flash the recovery)

Reboot device

Enter the Nexus experience (All done!)

Would this be correct? I intended on doing this all first so I didn't have to worry about setting up the device twice. I want to do all of this in such a way where after I'm done--I'm left with the initial setup.
[Nexus 6 Android Development] biggiestuff:
you forgot to unlock your bootloader?
[Nexus 6 Android Development] natezire71:
ChainFire's AutoRoot runs "fastboot oem unlock" for ya.
[Nexus 6 Android Development] pappy97:
If from here on out, you plan to flash factory images, yeah.

I know it's dumb, but the less I do with ADB and fastboot the better. This thread already has some people in bootloops and I don't want to risk it when I've been wanting this phone BAD. When I get my N6 today, I think I'll use Chainfire's autoroot to both unlock the bootloader and root (AFTER I pull down the current OTA update). Then install TWRP custom recovery. THEN, once we start getting custom kernels, go with those, as you know every xda kernel dev who does an N6 kernel will disable encryption.

Then when new images come down the pike, rather than flash those new images with stock kernel, just use flashable zips that will be here and flash my custom kernel of choice.
[Nexus 6 Android Development] akellar:
You can't flash the boot image until you unlock the bootloader.
[Nexus 6 Android Development] bbedward:
Unlocking the boot loader forces you to reboot and runs encryption stuff right? If so that's why you need to factory reset after the boot.img or encryption won't be disabled.
[Nexus 6 Android Development] Berzerker7:
BTW, you should probably change the command to "fastboot format userdata," erase actually 0s out the partition and leaves the phone unbootable.
[Nexus 6 Android Development] rman18:
Fixed it for you:

Do an initial boot into the device

Skip all the set-up crap. Get the latest OTA.

After the OTA is complete, boot into the bootloader

fastboot OEM Unlock

adb reboot bootloader

flash the boot.img to disable FDE

Reboot back into the device

Run Chainfire's AutoRoot (I think it automatically reboots you into the bootloader)

After it's rooted, reboot back into the device

Download TWRP app and have it install the recovery

Reboot device

Enter the Nexus experience (All done!)
[Nexus 6 Android Development] natezire71:
Awesome, thank you! I completely forgot I had to unlock to flash the boot.img--that was my bad. :P
[Nexus 6 Android Development] dmbfan13:
Will any part of this wipe the device?

EDIT: I assume unlocking the bootloader will be the part that is going to wipe the device. I think I'll just wait. I've been using the device since Monday. Really no need to unlock or have root...yet.
[Nexus 6 Android Development] ejkeebler:
fastboot oem unlock will wipe your device.
[Nexus 6 Android Development] rman18:
And so will disabling the encryption (well you'll have to force the wipe) - so its best to do both at the same time.
[Nexus 6 Android Development] jairusz:
Will this work and has anyone flashed this using TWRP?
[Nexus 6 Android Development] bbedward:
It will work in twrp if someone adds the scripts and what not to the zip. Not sure what the boot partition is on n6, but can check in /Dev/block/platform/ area.
[Nexus 6 Android Development] Smallsmx3:
Couldn't I just unlock boot loader, root phone then just flash the boot image via flashify?
[Nexus 6 Android Development] jimbridgman:
So how can we check that encryption is disabled?

I had no issues flashing but after and before the factory reset happened it said something about being unable to encrypt/de-encrypt the device, then the factory reset did its thing and everything seems fine. I ran andro bench and I am getting the same very low read and write scores. However my boot time seems faster and other things feel faster.

Just to be clear how I did it:

I was already unlocked and rooted, so...

Fastboot flashed the image

Did a factory reset in fastboot from the choices there

Got the unable to encrypt/de-encrypt the storage, and I touched nothing then the factory reset erasing screen appeared.

Phone rebooted automatically and all seemed fine, everything was reinstalled but as stated andro bench scores did not improve.
[Nexus 6 Android Development] akellar:
I haven't done this yet but I would assume in settings-security it would show under encryption the accurate status.
[Nexus 6 Android Development] jimbridgman:
Yeah it says Encrypt phone, then in that screen the encrypt phone button is greyed out.

EDIT:

I plugged in the charger and the button now shows up. I am guessing that the phone is un-encrypted.

now to figure out why the scores in andro bench still show like 27MB reads and writes .
[Nexus 6 Android Development] yohandesilva1:
This was the only thing I doubted about Nexus hardware, Now that You did this I'm 100% sure I'm going to buy it. Can someone please post a video speed test vs N5? Great Work :highfive:
[Nexus 6 Android Development] coach26:
Help for rooting and XDA rookie...

I would like to do this also, but I need to educate myself on rooting, the lingo your using for apps and processes, things like that. Some makes sense, but a lot don't. Can someone provide me with some good links of articles or how to guides to the things being done in this thread. Would like to start taking advantage of the freedom of a nexus, but need some education. Everyone has to start somewhere right??? :D:D:D
[Nexus 6 Android Development] belek1979:
What do you mean? Could you be more precise?

Why disable stock install recovery script?
[Nexus 6 Android Development] ufinmd:
Worked Like A Charm

I followed the instructions in the OP and it worked no Problem. No problems whatsoever.

I came from Stock LMY47D, rooted and unlocked bootloader.
[Nexus 6 Android Development] XorZone:
ffs

Follow this steps, but skip "Reboot and let apks update", boot to recovery and install supersu zip, reboot.

yes
[Nexus 6 Android Development] forcedairinduction:
Hi all.

I'm still noon so please go easy :). I want to disable forced encryption but have a few questions. I'm unlocked and rooted & using terminus, 5.1 & elemental x. I intend to use wugs toolkit do the disabling.

Q1. If I have to wipe everything, does this mean my twrp with also be wiped. If so, how do I then re-flash ROM, kernel, su etc?

Q2. I have the files for ROM, kernel etc backed up a USB stick, can I use the files from there (hmm I won't have stickmount if everything's wiped I presume).

Q3. Will using the toolkit reset my phone back to being locked & unrooted if I decrypt?

Actually....... Can I just d/l the boot image in op and use flashify????

Thanks for being patient :)
[Nexus 6 Android Development] bill3508:
I don't see the E build listed. Only D is there when I go to download.
[Nexus 6 Android Development] cam30era:
Look again, carefully. The first download link is for D, E, and M.
[Nexus 6 Android Development] bill3508:
I saw that but when you go to download page it list only the d.
[Nexus 6 Android Development] cam30era:
Because it's the same zip for all three. Kernel is the same.
[Nexus 6 Android Development] motempo:
what about LMY47I?
[Nexus 6 Android Development] pafimal:
the same here,i have LMY47i
[Nexus 6 Android Development] belek1979:
where is my downloaded OTA 5.1 update? do you know the path?
[Nexus 6 Android Development] fuzzybuffalo:
If I remember correctly, it's in /cache
[Nexus 6 Android Development] belek1979:
it's not in cache... any other idea?
[Nexus 6 Android Development] cam30era:
When you are new to a thread, it pays to read a little bit. At least the past two or three pages....

The download link for LMY47I is back, just one page before your post. Post #776.