yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] msponsler:
Really frustrated...

I keep getting the chainfire auto root script running in a bootloop.

PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe flash boot .\boot_rooted_noforceencr
ypt.img
target reported max download size of 536870912 bytes
sending 'boot' (12040 KB)...
OKAY [ 0.416s]
writing 'boot'...
OKAY [ 0.555s]
finished. total time: 0.973s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe format userdata
Creating filesystem with parameters:
Size: 59751923712
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14587872
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3653632 inodes and 275392/14587872 blocks
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [ 7.115s]
sending 'userdata' (141067 KB)...
OKAY [ 4.826s]
writing 'userdata'...
OKAY [ 2.140s]
finished. total time: 47.922s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe reboot
rebooting...

finished. total time: 0.002s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>

I reapplied the factory images from google. I oem locked, rebooted. Went back into fastboot, oem unlocked and followed the instructions via the OP. Still the chainfire boot loop. Maybe I missed something, but I combed through the thread.

help?

---------- Post added at 05:59 AM ---------- Previous post was at 05:32 AM ----------

I I fixed issue. The "Stock LRX21O - No force encrypt:" download link actually points to the "Rooted no force encrypt" link.

I downloaded the "Stock No Force encrypt" file from post #7:

http://xdaforums.com/showpost.php?p=56897138&postcount=7

The actual stock no force encrypt is this link:

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

When I ran:

PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe flash boot .\boot_noforceencrypt.img

target reported max download size of 536870912 bytes
sending 'boot' (7624 KB)...
OKAY [ 0.264s]
writing 'boot'...
OKAY [ 0.266s]
finished. total time: 0.532s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe format userdata
Creating filesystem with parameters:
Size: 59751923712
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14587872
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3653632 inodes and 275392/14587872 blocks
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [ 1.910s]
sending 'userdata' (141067 KB)...
OKAY [ 4.825s]
writing 'userdata'...
OKAY [ 2.111s]
finished. total time: 8.852s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools> .\fastboot.exe reboot
rebooting...

finished. total time: 0.003s
PS C:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>

That worked. I was able to root and install TWRP afterwards.

Fix the 1st post OP!
[Nexus 6 Android Development] drawde40599:
You can install this boot img like OP says . Download superSu to phone , go back to Bootloader fastboot Twrp , flash superSu and your done . no cf-auto root . I didn't even know there was a auto root for this device .

---------- Post added at 10:53 PM ---------- Previous post was at 10:49 PM ----------

Its always taken a reset to disable encryption on previous Devices , its not specific to this MOD/device , its just the way it is .
[Nexus 6 Android Development] NEROVINCIO:
Can I use this tricks on nexus 4 lollipop build "LRX21T"?
[Nexus 6 Android Development] eep2378:
No. The only device with encryption is the Nexus 6.

Edit: I just disabled encryption via this method without issue. We'll see how it compares to encrypted image.
[Nexus 6 Android Development] obsanity:
Anyone not getting battery stats after doing this? See attached screenshot.

Edit: Never mind. It works, just needs a little time to get stats working.
[Nexus 6 Android Development] charesa39:
Which version of SuperSU did you use? I would rather flash the zip in TWRP than run auto root. Thanks in advance!
[Nexus 6 Android Development] drawde40599:
The latest . 2.27 . no issues . I don't remember ever using cf root on a nexus , I always just flash the latest SU
[Nexus 6 Android Development] ZombieUsr:
I searched and looked through the forums, but did not see anything pertaining to my question. I just received the N6. I turned it on, did not set up anything, unlocked, rooted, and installed TWRP. However I did not update to LRX21O. I am still at the build of LNX07M.

So my question is, can I use these files here without any possible issue? Or do I need to install normal android recovery and update the build number?

Thank you
[Nexus 6 Android Development] jhumps:
thanks for this workaround got my nexus 6 on Monday and this was the first thing i did......everything is still running fine i haven't noticed any issues, waiting for an ota update to see if that messes with anything
[Nexus 6 Android Development] charesa39:
Same here. It's so easy to do everything manually on a Nexus. There's really no need for a toolkit.
[Nexus 6 Android Development] thrillerbee:
I'd flash the stock LRX210 and then go through the process of disabling encryption, flashing TWRP, flashing SuperSU, etc.
[Nexus 6 Android Development] Vanhoud:
Has anyone noticed a real world speed increase after disabling encryption?
[Nexus 6 Android Development] Pl2lNCE:
Can't speak for Real World results, since I am just about to try for the first time. But here are some benchmarks that should make anyone who doesn't need the added security consider disabling encryption.

http://www.anandtech.com/show/8725/...e-performance-in-android-50-lollipop#comments

This may have already been answered elsewhere but does flashing this require you to Root your device again?

And similarly, where on this list of steps could I restore my backup.ab without affecting Root/Encryption?

How-to:

1.) Reboot to boot loader

2.) Unlock device if not already (fastboot oem unlock) - will wipe all data

3.) I think unlocking the device will automatically run encryption jobs, so don't boot android write your most important stuff down and then continue without backing it up.

4.) Download the boot.img noencrypt above

5.) Flash it in the bootloader (fastboot flash boot boot_noforceencrypt.img)

6.) To disable encryption, a factory reset is needed (Done by fastboot format userdata, once booted in Settings -> Backup & Reset, or in recovery)

7.) If it doesn't work, you can go back into the bootloader and flash the stock image.

8.) Run CF-Auto-Root for root, if desired. Flash TWRP, do wutever you want.

9.) Updates will overwrite this and turn encryption back on, you should probably update manually (or remove the boot.img from the update) if you don't want encryption to get turned back on (turning it back on may be a PITA in the sense that you'll have to factory reset to get it off again)

Thanks.
[Nexus 6 Android Development] tmccommas:
I have noticed a real world difference. Feels much more fluid. Takes a while for everything to settle after restoring everything. I can say it was rather painless flashing this. I flashed with flashify then booted to twrp then format data ( not factory reset) then reboot system. Had to re-root and flash twrp again.
[Nexus 6 Android Development] dadoc04:
id say update to LRX21O first man. Its probably your safest bet.
[Nexus 6 Android Development] Vanhoud:
Can confirm, much better real world performance once decrypted
[Nexus 6 Android Development] Sultan of Speed:
Thanks. Precisely what I wanted to see/hear. A real world performance summary.
[Nexus 6 Android Development] Pl2lNCE:
I had this same issue. You can follow the instructions for disabling encryption here:

http://nexus5.wonderhowto.com/how-t...ption-nexus-6-for-faster-performance-0158696/

Part 2 is to flash the stock user data. That and a reboot with a twrp install fixed it for me.
[Nexus 6 Android Development] drawde40599:
After using stock for a week, now using this, I'm noticing nothing , G+ may be a little smoother scrolling , but the app got updated today so ... Battery is the same , speed feels the same . I'm going back to stock tomorrow if nothing changes .

Edit: found this https://plus.google.com/111385118254259112370/posts/2jhuVMDfHNF

---------- Post added at 11:20 PM ---------- Previous post was at 11:16 PM ----------

You should update . can I ask y you didn't update ?

---------- Post added at 11:49 PM ---------- Previous post was at 11:20 PM ----------

https://plus.google.com/111385118254259112370/posts/2jhuVMDfHNF
[Nexus 6 Android Development] Shaquiel Harris:
Hmm.. I can't update to LXR210, don't have one available. And when i did this it kept me on the older software.
[Nexus 6 Android Development] Vanhoud:
Anyone else getting a "!" icon next to this cell connection symbol in the status bar? Weird thing is that i has perfectly good internet access, however, this "!" icon remains
[Nexus 6 Android Development] mallman:
i can also confirm that i can tell a very noticable difference. Even writing data back and forth to my OTG drive seems much faster to me. I cant make this thing lag at all now.
[Nexus 6 Android Development] Vanhoud:
Turned out to be a tmobile problem, works now
[Nexus 6 Android Development] b.huss2:
Successfully decrypted without losing my data ;) . anxious to see if i feel any difference.
[Nexus 6 Android Development] plastik46:
how did you manage to do that:confused:
[Nexus 6 Android Development] b.huss2:
I restored my data from the backup I made just before flashing the no encrypt img and formating user data. You guys not do it this way?

edit: of-course i had to transfer to my PC and back because of the wipe.
[Nexus 6 Android Development] plastik46:
i had to format my internal storage, i thought you did this with out formatting the internal storage but just saw you had to do the transfer.
[Nexus 6 Android Development] b.huss2:
Yea i backed up my sdcard contents, flashed the modified img, full wipe, restored sdcard contents, restored data portion of my backup, and I'm right where i left off, less encryption.

edit: I almost forgot, I also had to re-root (cf)
[Nexus 6 Android Development] maddoggin:
tried this but got back to screen asking for my password and then said my data was corupted. i went back to twrp recovery and tried to reset but same thing
[Nexus 6 Android Development] b.huss2:
You're not doing a FULL reset. You need to do the one that gives you the warning about erasing all your stuff. It's not the factory reset one, that's not enough. The whole userdata partition has to be wiped.

Twrp>wipe>format data
[Nexus 6 Android Development] maddoggin:
i did that and now it says no os installed and i erased my backups too so now i have to flash factory images
[Nexus 6 Android Development] b.huss2:
You must have done advanced wipe and checked system. Just "format data", that will not wipe system.
[Nexus 6 Android Development] maddoggin:
now i cant even run the factory images it runs through the process but doesnt auto boot it doesnt wipe user data
[Nexus 6 Android Development] b.huss2:
I haven't had to flash the factory image yet so I'm not sure of that process. I don't know why you wouldn't be able to do that successfully though. Do you not still have custom recovery installed?
[Nexus 6 Android Development] nibrwr:
Do you see success messages when fastboot flashing factory images?
[Nexus 6 Android Development] FMMFL:
I noticed a few pages back a couple users complaining about the missing storage. Just wondering if anyone has found a fix.

I have wiped from the OS, that didn't work so I wiped from the bootloader which also did not work.

I am seeing 25.98GB total space on a 32GB model.
[Nexus 6 Android Development] maddoggin:
no do not have custom recovery and factory images are not working
[Nexus 6 Android Development] b.huss2:
Have you updated your sdk lately? (Update adb and fastboot)
[Nexus 6 Android Development] maddoggin:
well im stuck on google screen, the bootloader has a bunch of other options now like factory, qcom, bp tools bootloader logs barcodes and a few others. i cannot flasgh factory images. on my nexus 5 it would flah the images by just running the flash all.sh and the reboot into system. this runs through the process of flahing bootloader and radio and then sppeds thru the system and then nothing

---------- Post added at 08:08 PM ---------- Previous post was at 08:02 PM ----------

updating it now thats probably it, i have android studio and run sdk thru that i havnt updated it in a while.

---------- Post added at 08:12 PM ---------- Previous post was at 08:08 PM ----------

nope didnt work
[Nexus 6 Android Development] charesa39:
Have you tried flashing each partition individually instead of using the flash-all script? It's been mentioned that flash-all doesn't currently work properly on Lollipop. Have to flash each image manually.
[Nexus 6 Android Development] adbFreedom:
Flashing the factory image on the Nexus 6 is a little different, when I tried it told my it could not find the system.img . Here is what you need to do...

-Once you are in the main unzipped folder, you need to also unzip " image-shamu-lrx21o"

-go in there and copy the system.img, recovery.img, and boot.img and place them in your main folder that has the bootloader and radio in it.

-Open up CMD in that path and manually flash each component

fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
fastboot flash radio radio-shamu-d4.0-9625-02.55.03a.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
[Nexus 6 Android Development] maddoggin:
yeah just did that, its rebooting now thanks

phew!!!
[Nexus 6 Android Development] b.huss2:
Glad to hear you got it.
[Nexus 6 Android Development] maddoggin:
started getting worried! lol. sorry op for spamming your thread. feel free to delete the entire ordeal! lmao! or leave it for others.
[Nexus 6 Android Development] arcanexvi:
So after disabling encryption my battery life is up considerably... like 30%. Just thought I'd share. General lag is gone which is nice as well. Wish they would have just shipped the thing this way.
[Nexus 6 Android Development] guut13:
Thanks for this. Any idea if we can replace the boot.img with the no encrypt one from the OP? That way we'd be able to upgrade and remove encryption in one step.
[Nexus 6 Android Development] adbFreedom:
I would assume yes, after you flash the system.img I would also enter

fastboot format userdata

Before rebooting
[Nexus 6 Android Development] Namolas:
That is normal. You'll never have access to the full 32GB. The OS takes up space. My 64GB only has 54.65GB available. The users complaining before had 64GB models that were only displaying as 32GB models.
[Nexus 6 Android Development] jp555soul:
Hey so ive flashed the boot.img to the bootloader and works great. Im getting a system update for 5.0 and now when it runs, it errors out.

Anyone else having to go through this?
[Nexus 6 Android Development] guut13:
Thanks. 100% confirmed. Replaced the boot.img and was able to do it all in one step.
[Nexus 6 Android Development] adbFreedom:
Sprint? My co-worker's Nexus 6 on sprint was having that issue. I even tried installing through adb with no success. I ended up just downloading the factory image which is the newest build and flashing it with the method I posted a couple posts up.
[Nexus 6 Android Development] jp555soul:
TMO, yea I'm thinking I might have to flash the newest system.img, not really looking forward to it. Rather just have the option to encrypt or decrypt.
[Nexus 6 Android Development] markwebb:
I agree.. This phone is a BEAST!
[Nexus 6 Android Development] SilkyJohnson:
That's normal, bud.
[Nexus 6 Android Development] casonswag:
Can i factory reset in recovery will that work or i have to use fastboot and wipe userdata??
[Nexus 6 Android Development] b.huss2:
factory reset won't be enough. You need "format data". You can do this in twrp though. **be prepared this will wipe everything on you "sdcard" as well as factory reset the device.
[Nexus 6 Android Development] casonswag:
Hey in twrp in the backup section theres a no encryption button will that work ?
[Nexus 6 Android Development] b.huss2:
that button is to enable encryption. by default there is "no encryption" as the button says.

---------- Post added at 09:31 PM ---------- Previous post was at 09:28 PM ----------

I'm not even sure if that has anything to do with data encryption in the context of this thread or just password protecting your backup. i've never used that option.
[Nexus 6 Android Development] mindflayyer:
[MENTION=2632235]bbedward[/MENTION] thanks for this. Worked great on my T-Mobile Nexus 6 via fastboot and android sdk. Donated for your work!
[Nexus 6 Android Development] markwebb:
Here are mine.
[Nexus 6 Android Development] mrakifa:
Dumb question, but how do you know the device is decrypted? I ran the script and under settings it says my device is encrypted, unless I didn't do it right, any insight would be helpful, thank you
[Nexus 6 Android Development] Namolas:
If you ran it right it would just say "Encrypt Phone" with nothing under it.
[Nexus 6 Android Development] markwebb:
Updated benchmarks
[Nexus 6 Android Development] dambrosioj:
Could you guys let me know based on my benchmark if encryption is disabled?
[Nexus 6 Android Development] bamfsig45:
No issues, thought I had one but figured it out.
[Nexus 6 Android Development] old_fart:
Looks to me like it is disabled.
[Nexus 6 Android Development] un.droid:
anyone who decrypted their phone witnessing any visible and actual gains? better battery \ apps load faster \ anything other than synthetic benchmarks?
[Nexus 6 Android Development] antiochasylum:
I just did mine yesterday, I wasnt sure I wanted to do it. However I did. The phone is faster. Things just open quicker. Apps install faster, phone boots up in half the time now.

I thought it was a placebo effect, but it honestly seems faster to me.
[Nexus 6 Android Development] un.droid:
awesome. could you please report in a day or so how is the battery affected from this change?
[Nexus 6 Android Development] markwebb:
I agree. An entirely different phone. Battery seems to be a tad better but I have changed Roms a few times so I don't have a good baseline yet.
[Nexus 6 Android Development] gtshiftin6:
I flashify rootednoencrypt and got the password prompt I manually went to twrp wiped system and reboot encryption off root and twrp still there ftw
[Nexus 6 Android Development] umair shaikh:
What should i do first ??? I mean after unlocking bootloader....should i root first or de-encrypt first ?
[Nexus 6 Android Development] chris6278:
Ive noticed some ppl are using flashify which i wanna try since i dont have access to a pc at the moment but wanna make sure i know the right steps first. After i flash the boot img in flashify and go into twrp do i just do a basic factory reset or do i press format data?
[Nexus 6 Android Development] b.huss2:
Format data is the only way to remove existing encryption. Save anything you may need to your pc first though. It will all be gone.
[Nexus 6 Android Development] chris6278:
That's what i thought. Thank for the help
[Nexus 6 Android Development] SilkyJohnson:
This is a night and day difference.

And I hate saying this, but now the Nexus 6 is as smooth as the Nexus 5 ☺
[Nexus 6 Android Development] SilkyJohnson:
So to anyone wanting to see the difference with their own eyes, here is a test:

While encrypted, I opened up Google Photos. I average about 2-3 phones/year, so auto upload is a lifesaver for me. While encrypted, I tried to view all of my photos as I always do. I could maybe get 10% of my thumbnails to load.

After decypting, I launched Photos. HUGE difference - every thumbnail loaded right away, and we're talking going back three years or so.

Try it out and see. That made it worth it for me.
[Nexus 6 Android Development] Sultan of Speed:
But isn't loading of thumbnails dependent upon Internet connectivity? How can you be sure that there were no Internet speed issues or slow server issues?

IMHO, this isn't a real test. The real test would be something similar but that which does not involve external entities/factors/dependencies, like network. See if you can perform such/similar test, but locally without the use of any kind of network.
[Nexus 6 Android Development] SilkyJohnson:
The connection was the exact same network in the same spot. Additionally, it was something that's irked me since coming from an N5 running official 5.0. The N5 is leaps and bounds smoother. Photos and News stand are the worst offenders for me. Unfortunately, News Stand is still horrid, but Photos is 100% faster loading.

Last thing - multitasking seems a tad smoother.

I don't buy into placebos and kept this thing encrypted since I got it. Today felt like a much quicker phone.

EDIT: clarification on the photos app. Open it up and flick your finger up and keep flicking. My pics go back years (and I take a lot) so it's about an endless flick. While encrypted, I would have to sit at a spot and wait a minute or so for maybe 10-15% of my pics to start appearing. Tried the exact same test (same data/apps) while unencrypted and it's like a different phone.

Try it ☺
[Nexus 6 Android Development] drawde40599:
It dosent do anything to battery , not better not worse . , speed is barley noticeable , its faster but not like some people are saying .

IMO , run your phone stock for at least 3-4 days before doing this so u actually have a comparison. A lot of these guys in here are posting how much faster it is and never used the damn thing stock :P
[Nexus 6 Android Development] Sultan of Speed:
A very basic question - probably already asked and/or already answered, but can someone care to repeat it?

After flashing the image for an un-encrypted phone, will I receive OTA's from Google? Would it be "stock" per se? Would Google still recognise it as a regular phone & send me updates?

Thanks in advance!
[Nexus 6 Android Development] antiochasylum:
Yes, however flashing a new boot image will enable encryption again. Also unless you have stock recovery it wont flash an OTA anyway.
[Nexus 6 Android Development] Sultan of Speed:
Thanks antiochasylum.

I am probably going to keep it stock for sometime, perhaps like 3 to 6 months. Enjoy the "stock" phone before rooting. But I do intend to decrypt it or rather have an "unencrypted" phone, but all else stock. And I am guessing from your reply, that a stock phone with everything stock (recovery too) but "unencrypted" (flashing unencrypted boot image), will continue receiving OTA's.
[Nexus 6 Android Development] un.droid:
haha thanks for the answer. i dont own the device, i though about buying one, but im a little disappointed so i guess i'll go for the note :)
[Nexus 6 Android Development] rman18:
Just tried it on my encrypted phone and all the thumbnails load instantaneously. You must have had a bad connection the first time. I have 5 years of photos in there.
[Nexus 6 Android Development] Sultan of Speed:
More than Androbench, I'm more interested in knowing real life performance improvement.
[Nexus 6 Android Development] wooddale:
+1 on that Ive been holding off because of that (and for the fact Im on Verizon and cant get one anyway lol). Im in a real crap signal area Scores for the most part dont mean squat here whats the point in having a real hi score when you cant connect to the internet. I dont have the phone but that would be the test for me if it hangs hooking up and another phone doesnt thats a problem doesnt matter what the numbers say.
[Nexus 6 Android Development] Sultan of Speed:
LOL. Same here. Don't got the phone yet. Expecting it soon. Though, here in india, in my city Pune, the coverage of most of the operators are pretty fine. Not much issues regarding coverage. Competition ensured that for us.

Though I still am keen to know real life improvement and if/whether all this is worth the effort.