yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] SilkyJohnson:
5 years worth of photos when Google+ auto backup has only been around for 3-4? ?

Trust me, I'm no noob. I troubleshoot for a living. I didn't just test it once, either. It was a test done in multiple environments and not just tested once.

Glad you have no issues though! My phone is finally running as good as my N5 now.
[Nexus 6 Android Development] rman18:
July 31, 2010 is my first backup on there... 4+ years.

The thumbnails are cached as well, the first time you open it, when you first get your phone, it will be slow. I have nothing to lose by saying it works fine on my encrypted phone, I came to the thread to look to see if it was worthwhile to shut off encryption and when I saw your post I had to try it, and I noticed the non issue.
[Nexus 6 Android Development] SilkyJohnson:
I hear ya, likewise - I have nothing to gain by saying it's faster ?

It was something that bothered me on this phone since I bought it. Been decrypted for two days and it's noticeably smoother for me, plus I haven't had a single reboot like I was having last week. Not saying encryption caused that, but after decrypting and disabling the OEM directory I'm loving this thing.
[Nexus 6 Android Development] mdpatterson:
Ok guys, Dont kill me. I've been scouring this thread for the past 4 hours trying to get this thing unencrypted. I have followed the instructions to a T, I have searched for my problem and found people with similar issues, but for some reason, it just isn't working. So here I am. Rooted, TWRP, unlocked. downloaded the boot.img noencrypt. flashed it in the bootloader via wugfresh. As soon as it booted up i get the "to start android, enter your password" I put in my password for google, and it says "your password is correct, but your data is corrupt. In order to use your phone you need to factory reset" Im then given one option to reset. After I do that, I get the green android erasing screen. then it boots up, still encrypted(checked via androbench 66.68MB/s sequential read). I then used wugfresh to format user data. and after a reboot, still encrypted. when I go into TWRP to format data, it says successful, but there are numerous messages that say "unable to mount /data" issue or no? Im at a loss.
[Nexus 6 Android Development] tee00max:
I just ran the command to decrypt and it asked me for my password and I entered something wrong and it rebooted and erased. Is there a way that I can check to make sure its decrypted?
[Nexus 6 Android Development] SilkyJohnson:
Go into security (settings) and see if it says 'Encrypt Phone' under Encryption. If yes, you were successful.

Fastboot TWRP and flash it. Format data from there. You'll be decrypted.
[Nexus 6 Android Development] mdpatterson:
flash the .img in twrp??
[Nexus 6 Android Development] dmbfan13:
I'm in the same exact boat as you. Done exact same thing as you. Still sitting here encrypted. When I flash the unencrypted image, it automatically boots and I get the password input prompt. I tried powering off from there and wiping user data (fastboot format userdata). It seems to wipe then upon reboot I'm still encrypted. Not sure to wipe user data after flashing the unencrypted image since it immediately boots.
[Nexus 6 Android Development] mdpatterson:
yes exactly, no matter at what point that I format data(after the auto reboot(reset),before it) , it never decrypts. Obviously I'm missing an integral part that is apparent to most, but for some reason eludes me.

and what gets me is that I believe I am following these instructions precisely, but apparently not, apparently I'm missing some crucial step.

---------- Post added at 03:08 AM ---------- Previous post was at 02:39 AM ----------

hey man, I found that in wugfresh's NRT, the latest update has a setting for non encrypt. advanced utilities launch--fastboot flash boot[kernel] then just select the non encrypt option. just like everyone's been saying, but wugfresh easy.

and now i can confirm it works flawlessly
[Nexus 6 Android Development] dmbfan13:
DId this method seem to bootloop to TWRP? I did what you said and it seems to be bootlooping to TWRP.
[Nexus 6 Android Development] djeddieone:
I'm in the same boat man i keep getting this message after booting up saying that I need to input my password. I flashed your image with flashify and it didn't work I just went to securty setting and still says encrypted the only rom that I'm able to flash at the moment is team nocturnal one all others give me that message after booting up.
[Nexus 6 Android Development] chris6278:
If your still having problems here is how i did it and is probably the easiest method. Go get the flashify app from the play store, press the option flash boot image and then select the img file the op gives and then flash it. Now go into twrp, then select wipe and press format data. After that your done. Make sure you backup whatever you want before you press format data cause everything will be erased. Hope this helps
[Nexus 6 Android Development] dmbfan13:
Can I flash it with flashify, then wipe data within Android (Settings->Backup & Reset->Factory Data Reset)? I dont have TWRP installed anymore.

EDIT: I ended up just rooting and flashing TWRP again. Did what you said and it worked! Thanks!
[Nexus 6 Android Development] mouse100:
Just a noob question...

Will I be able to set a pin on lockscreen, smartlock, facelock, etc. if I remove encryption?
[Nexus 6 Android Development] PDP///M:
Yes
[Nexus 6 Android Development] DizzyThermal:
Is there a way to check if your device is encrypted or not once you're in Android?
[Nexus 6 Android Development] NWKENT:
See post # 314

sent by my

5.0_22.11.6 Lollipop (Rooted)

TWRP v2.8.0.1-titan

UPDATE-SuperSU-v2.16

XT1064 Moto G (2nd Gen.)

http://waynekent.com/page6.html

"Praise Jah" YOU people.!
[Nexus 6 Android Development] ninjoe8:
How long does it take for the N6 to start up after flashing the img and formatting the userdata? Mine's been stuck in the splash screen for 5 minutes now.
[Nexus 6 Android Development] Cheater912:
I was very skeptical of the real-world performance difference, but I tried it out anyway. Things seem a bit snappier; nothing crazy. I'm going to keep it disabled because encryption with a pattern lock is worthless if the bootloader is unlocked.
[Nexus 6 Android Development] chris6278:
Glad i could help!
[Nexus 6 Android Development] Jepod:
I'm curious as to what you're saying here. Is using a pattern lock not as secure in encryption as a PIN or Password beyond the fact that a password could be longer and/or more intricate? Or is that the only reason?

In either case, I tried the modified boot.img on my Nexus 6 and Nexus 9 (using the boot.img off it's forums) to disable encryption. I did all the steps to remove encryption and ran it for a few days after having encryption on for about a week before. I don't think I notice much of a difference on the Nexus 6 but there does seem to be some minor performance gains on the Nexus 9 with not having encryption. I couldn't detect any battery life improvements though which is what I was mainly hoping for. In either case, I do appreciate the OP's work in doing this for us. I'm ultimately going to stick with the stock boot.img on both devices as it makes my life easier when OTA's come out; its strictly out of laziness :)
[Nexus 6 Android Development] Cheater912:
Android limits the number of attempts you can make with the pattern. But if the bootloader is unlocked, you can flash something that removes that limit or even attempts to brute-force the password/pattern. Each dot of the pattern is mapped to a number between 1 and 9. So a 5-dot pattern is only a 5 character password guaranteed to only use 1-9. Too easy to brute-force.
[Nexus 6 Android Development] Jepod:
Ah that makes sense. Good to know, thanks!
[Nexus 6 Android Development] kregstrong:
Anyone have an easier way to do this? If I'm already unlocked and rooted will.I still lose all data?
[Nexus 6 Android Development] imtjnotu:
having a hard time doing this as im on a mac. anyone have a mac that has done this or can help me out...i keep getting stuck at a screen "to start android enter your password"
[Nexus 6 Android Development] suzook:
Stupid question...but are there roms out there with no encryption? Or is this needed for all roms if i want no encrpt?
[Nexus 6 Android Development] nfs3freak:
Just letting OP know that this worked for me first try!

I was stock, rooted, unlocked w/ twrp installed

Used Flashify

Didn't restart. Shut off phone.

Loaded phone into bootloader

Set to factory

Loaded up just fine, installed my apps, was still rooted and decrypted!

!!
[Nexus 6 Android Development] Cheater912:
Boot into TWRP and format data (not wipe).
[Nexus 6 Android Development] chrisnk204:
I truly dont understand how you ppl are having problems. Download the altered boot image, reboot into bootloader and in your command prompt type in what the OP says whats so hard about that? I did it in less than a minute LITERALLY. No problems still rooted and not encrypted anymore
[Nexus 6 Android Development] Sultan of Speed:
Some of them are not as tech savvy as the rest of them are. I think we should support as far as possible.

Having said this, they should also realise what they are getting into, before venturing into such stuff that could potentially become a stalemate for them.
[Nexus 6 Android Development] Aston Martin:
I saw this on youtube, is this the easiest way? Also will you still get OTA updates if you do this? Thanks.

[YOUTUBE]pcLbA64Hb4k[/YOUTUBE]
[Nexus 6 Android Development] jawmail:
Has anyone reencrypted after disabling encryption using the encrypt button in security settings. Just curious if it works, not sure why you would do it :) The option is also there on the N5 Lollipop update.
[Nexus 6 Android Development] jawmail:
delete, double post
[Nexus 6 Android Development] BinarySauce:
Someone should make a side by side video to show any real-world differences in performance.
[Nexus 6 Android Development] CCJ22:
I would like to know as well... What benefit is this if there are no roms out there for decrypted devices?
[Nexus 6 Android Development] oak:
I finally got rid of encryption. I think performance is noticeably improved.
[Nexus 6 Android Development] markwebb:
Most of the Roms are decrypted.
[Nexus 6 Android Development] kregstrong:
So if I wipe and install a decrypted ROM will it work or do I need to first do this method in this thread?
[Nexus 6 Android Development] old_fart:
Yes. You need to first do this method in this thread. The roms just keep the things the way you load them. You "have to" format data to clobber the default ( in place ) encryption. No getting around it.
[Nexus 6 Android Development] b.huss2:
You don't have to do this method. A no force encrypt kernel like what is packaged with most of the roms has the same effect as the one in this thread op. You install your rom and then format data and you will be good to go. Just make sure you do it in that order.
[Nexus 6 Android Development] kregstrong:
So format, install, then format again? Or do a dirty install then format?
[Nexus 6 Android Development] b.huss2:
Install rom

Install gapps

Format data - last or there won't be anything to install
[Nexus 6 Android Development] zweetz32:
Im on 100% stock and I went to photos and scrolled back a few years and my photo loads instantly. Did not even have to wait a second.
[Nexus 6 Android Development] wytecaztle:
Can I decrypt then wipe then restore my data?
[Nexus 6 Android Development] b.huss2:
You can install a no-force-encrypt kernel, format data, and restore a backup from when your data was encrypted. So, yes, as long as you remember to back that up to your pc because format data will erase it from your phone.
[Nexus 6 Android Development] italia0101:
Just a little heads up : https://plus.google.com/109078966818501160423/posts/3bawiwhK5Tz
[Nexus 6 Android Development] lewis-brooks:
I've tried disabling the encryption, worked fine but my read/write speeds have not increased dramatically enough.

Read: 140

Write: 50
[Nexus 6 Android Development] ohhdavid:
Has anyone used this method with the new LRX22C build factory images?
[Nexus 6 Android Development] drawde40599:
Is the kernel different ? [MENTION=2632235]bbedward[/MENTION]
[Nexus 6 Android Development] arcanexvi:
There is a kernel packaged but flashing it will encrypt your device on first boot.
[Nexus 6 Android Development] bbedward:
I'm going to update this tonight, for now you can probably use this on the new one, not sure.
[Nexus 6 Android Development] XorZone:
5.0.1 boot image force encrypt disabled

Disabled force encrypt in 5.0.1 (lrx22c)

only change is forceencrypt->encryptable in fstab.shamu
[Nexus 6 Android Development] ohhdavid:
I thought that the unencrypt mod only affected the boot image not the kernel?
[Nexus 6 Android Development] BRKotucs:
boot.img = Kernel
[Nexus 6 Android Development] XorZone:
Well, technically speaking boot.img is package that contains kernel image, kernel ramdisk and some metadata. Subj disables force encryption by modifying fstab in ramdisk.
[Nexus 6 Android Development] curtdragon:
Do I have to wipe coming from the 5.0 with disabled encryption?
[Nexus 6 Android Development] XorZone:
If you flash individual .img files (skip userdata.img and original boot.img), then no.
[Nexus 6 Android Development] kenhunt:
Well I can confirm that OTAs don't work if you're on this. Figured that'd be so but thought I'd state since I've not seen anyone else do so yet.
[Nexus 6 Android Development] marc.ientilucci:
When someone pulls the ota.zip is it possible to modify the boot.img and flash over our current unencrypted 5.0 ROM without losing any data? From the OP, we had to format userdata.
[Nexus 6 Android Development] drawde40599:
you dont need the ota . just use the factory img and the new modified boot img on last page . same user that made the new boot also posted the directions on how to flash without loosing data . IMO its the only way to update screw a ota :P
[Nexus 6 Android Development] marc.ientilucci:
maybe i'm missing it, but i dont see the directions - can you link me?
[Nexus 6 Android Development] drawde40599:
post 365

its assuming you know your way around fastboot . if you dont . pm me ill give you detailed step by step
[Nexus 6 Android Development] marc.ientilucci:
ahh okay thats what i thought. im familiar with fastboot. i guess my question is, if we dont flash userdata.img, do we still get the entire update? i guess the bigger question for me is, what is in userdata.img?

EDIT: looks like i found my answer here http://xdaforums.com/showpost.php?p=32776126&postcount=2
[Nexus 6 Android Development] crowbarman:
There is a boot loader.IMG and radio in the root of the factory image, separate from the zip that contains boot.IMG. Should boot loader also be flashed along with radio? Thanks!
[Nexus 6 Android Development] andy o:
Normally yes, but this time the bootloader img is the exact same, though radio was updated, so you can just flash radio.
[Nexus 6 Android Development] crowbarman:
fastboot commands

If it helps anyone else, I executed the following commands to upgrade from 5.0.0 unencrypted to 5.0.1 unencrypted. If something is not necessary (like bootloader, which I included even though it wasn't necessary for this OTA) feel free to correct:

fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img

fastboot reboot-bootloader

fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img

fastboot reboot-bootloader

fastboot flash boot boot-501-noforceencrypt.img

fastboot flash recovery recovery.img

fastboot flash system system.img

then re-run CF-Auto-Root for root (you are already in fastboot, so might as well). Applications will upgrade for a while upon reboot. Verified 5.0.1 with no encryption, all data intact.

Link to modded boot.img:

http://xdaforums.com/showpost.php?p=57406510&postcount=360

Link to CF Auto Root

http://autoroot.chainfire.eu/#fastboot
[Nexus 6 Android Development] drawde40599:
You should reboot bootloader after Bootloader flash and after radio flash . you don't need to flash cache or erase system . i use twrp and just flash supersu for root . I have no clue about auto root .
[Nexus 6 Android Development] dodgebizkit:
Is there any way to have the encryption off, the device back at stock, unrooted, stock recovery, able to receive OTA updates etc and never get encryption turned back on?
[Nexus 6 Android Development] Cheater912:
Nope. The OTA update won't install because the boot partition was modified to disable encryption. The only way to do that would be to download the OTA zip, boot into recovery, flash the stock kernel, install the OTA, and flash back a kernel with encryption disabled before booting the device again.
[Nexus 6 Android Development] .BetaBoy:
Can't get my nexus to show up under adb devices on Mac :( idk what I'm doing wrong . usb debugging is on
[Nexus 6 Android Development] crowbarman:
Thanks, I updated the original post with your modifications.
[Nexus 6 Android Development] drawde40599:
Now if your doing a Fresh Wipe ( starting over ) then ya you should flash everything , but for just a update ...
[Nexus 6 Android Development] glensta:
Ok all don't smack me too hard Lol.

I'm rooted with twrp installed. Which one should I flash in Fastboot and sounds like it'll wipe data afterwards?

Thanks ahead.
[Nexus 6 Android Development] bbedward:
Just follow the instructions and you'll be ok, twrp and root don't matter for it - it's just changing the kernel/ramfs partition out. You have to factory reset in order for the encryption to "turn off." Normally encryption is forced at bootup on the Nexus 6 (can't be disabled), this just gives you the ability to disable it - which apparently fixes some I/O read issues (as expected from an encryption SW layer I guess).
[Nexus 6 Android Development] glensta:
I booted into fastboot mode and did the fastboot flash which said it completed. Then I did the fastboot erase user data to factory reset the device, no it's stuck in twrp recovery mode blinking on and off. Any suggestions? Do I need to reflash the factory image?
[Nexus 6 Android Development] bbedward:
That's weird. It shouldn't have anything to do with TWRP or recovery in general. If you can't get it to boot, then you're probably best of reflashing the factory image. (You did "fastboot flash boot" not "fastboot flash recovery" right :P)
[Nexus 6 Android Development] jaysins:
Does the device feel any different by chance?
[Nexus 6 Android Development] Xileforce:
This is awesome to hear! Hopefully we will be able to find out more about if the hardware is being utilized for the encryption after more devs start getting their hands on these.
[Nexus 6 Android Development] glensta:
Lol yes I did. I actually copied/pasted the command. Ok I'll reflash the factory image and go from there. Thanks
[Nexus 6 Android Development] bbedward:
I'm pretty sure it isn't, but I could be wrong.
[Nexus 6 Android Development] Berzerker7:
If I have backups (from TiBu) created while the entire phone is encrypted and I pull the backups off the storage, can they be restored on the phone after I go through the process to disable mandatory encryption, or on any other unencrypted phone?
[Nexus 6 Android Development] cheami:
I am also getting FAST reboots into Google screen and TWRP. I was unlocked/rooted/TWRP before I attempted each step 100%. Stuck in boot loot.

I tried flashing stock image then again and nothing,
[Nexus 6 Android Development] Lebage:
Just went through the whole nine yards with my shiny new N6: unlocked, rooted, TWRP and now forced de-encryption. Really curious if the disabled auto encryption will improve battery.
[Nexus 6 Android Development] glensta:
Hmmmmm could be a pattern.

I tried flashing the factory image and this is what I"m getting:

C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>flash-al

target reported max download size of 536870912 bytes

sending 'bootloader' (3807 KB)...

OKAY [ 0.122s]

writing 'bootloader'...

(bootloader) flashing partition ...

(bootloader) This may take a few seconds if a

(bootloader) different partition table is being

(bootloader) flashed since we need to backup

(bootloader) and restore a few partitions

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

(bootloader) flashing rpm ...

(bootloader) flashing tz ...

(bootloader) flashing sdi ...

(bootloader) flashing logo ...

OKAY [ 0.333s]

finished. total time: 0.457s

rebooting into bootloader...

OKAY [ 0.002s]

finished. total time: 0.003s

target reported max download size of 536870912 bytes

sending 'radio' (67170 KB)...

OKAY [ 2.106s]

writing 'radio'...

(bootloader) flashing modem ...

(bootloader) flashing mdm1m9kefs1 ...

(bootloader) flashing mdm1m9kefs2 ...

(bootloader) flashing mdm1m9kefs3 ...

(bootloader) flashing versions ...

OKAY [ 0.686s]

finished. total time: 2.794s

rebooting into bootloader...

OKAY [ 0.002s]

finished. total time: 0.003s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

failed to allocate 1679592636 bytes

error: update package missing system.img

Press any key to exit...

STUCK!!!!!!!!!
[Nexus 6 Android Development] cheami:
I did it the manual way just fine here: http://www.ibtimes.co.uk/how-fix-er...roid-5-0-factory-images-nexus-devices-1474865

Going to attempt disable forced encryption again.

Edit: Manually go back to stock that way then attempt to disable encrypt again. Worked 100% for me with the same error you pasted before (I received it also).
[Nexus 6 Android Development] glensta:
Cool thank you I'll give that a shot. :good:

Edit - seems to work, thanks so much [MENTION=4348360]cheami[/MENTION]! I'm all out of thanks for the day but really appreciate it. I was swettin' bullets
[Nexus 6 Android Development] tflogic:
just a quick silly question. by disabling encryption, would it have any positive benefits for battery life?
[Nexus 6 Android Development] Xileforce:
In my mind it makes sense that it should especially in the event that its not utilizing the hardware to do it as it is believed. I have to imagine that the CPU cycles required to de encrypt the files needed every time is worse not only for CPU performance, but for the battery as well. How much of course, I have no clue.

---------- Post added at 11:19 PM ---------- Previous post was at 11:17 PM ----------

Please let us know when u get results! I'm sure many are eagerly waiting.
[Nexus 6 Android Development] Lebage:
Sure thing!
[Nexus 6 Android Development] digitheatre:
this is very interesting.. and someone even post this amazing result (he did ran few times just to confirm) .. is this true?

if true than it is clear winner faster than iphone6+ except that it is not encrypted
[Nexus 6 Android Development] italia0101:
Where did you find that ? can't verify its the N6 i guess.

---------- Post added at 09:06 AM ---------- Previous post was at 09:05 AM ----------

Does it feel any different in usage?
[Nexus 6 Android Development] glensta:
Feels noticeably snappier to me
[Nexus 6 Android Development] wolfnumba1:
64GB Owners Beware

Hey guys it seems that using the patched boot.img for the 5.0.1 update makes the phone only have 23.3GB free of storage at boot. I have tried factory reset a bunch of times, reflash the files a bunch of times, only way I have been able to get the full 64GB available to using the unmondified boot.img file after performing a full factory restore using factory images. Anybody else have this issue?