yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] wrongway213:
read the leankernel op, it won't encrypt your phone or decrypt it. if you're decrypted, the kernel will leave you that way, if you're encrypted it'll leave you that way. if you wanna decrypt you can use this toolkit, but it'll wipe your data, so you'll wanna use TIBu or something to make a backup first and then open the toolkit, go into advanced utilities, then under fastboot flash go to boot (kernel) and select no force encrypt. it'll wipe your data so tibu restore after and you'll be on the stock kernel and decrypted. then if you wish to install custom kernels, check the OPs in the threads or search to find out if the kernels automatically encrypt your device or not, same with roms.
[Nexus 6 Android Development] calib3r:
I'm on a nexus 6. I don't have an sd. When I try to install it using twrp, it says

folder: /sdcard/download

file to flash: lk_shamu_lp-v1.2.zip

I downloaded the file using chrome. Its in the download section. Using twrp, it says its in sdcard/download even though i don't have an sd card. Is that the right location for the download section?

When I install it, it says its successful.
[Nexus 6 Android Development] wrongway213:
yeah, nexus has internal sd, your internal storage, there is no external sd slot in a nexus 6. check out this thread, reading made things much easier for me as this is my first nexus device myself http://xdaforums.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
[Nexus 6 Android Development] calib3r:
Ok I got it to decrypt. I just watched the videos on wug's website. Thanks
[Nexus 6 Android Development] kickenwing13:
I HAVE BEEN TRYING TO GET MTP FOR THE LAST 24 HOURS AND JUST SAW THIS POST!!! Thank you so much man!

---------- Post added at 01:21 AM ---------- Previous post was at 01:15 AM ----------

Tried returning to stock it went through the process in a matter of seconds.. at one point it also mentioned not being on the correct model or something.. I got the phone, took the ota, then used the kit to unlock bootloader and root.. I then installed euphoria i think is what the rom said. .or shame 20141209... So this is an AT&T phone and I'm on verizon... Would love to get rid of my annoying AT&T boot up screen and thought i'd flash the factory image, but it just went through the process in 1 second and didn't actually do anything.

---------- Post added at 01:47 AM ---------- Previous post was at 01:21 AM ----------

Tried returning to stock it went through the process in a matter of seconds.. at one point it also mentioned not being on the correct model or something.. I got the phone, took the ota, then used the kit to unlock bootloader and root.. I then installed euphoria i think is what the rom said. .or shame 20141209... So this is an AT&T phone and I'm on verizon... Would love to get rid of my annoying AT&T boot up screen and thought i'd flash the factory image, but it just went through the process in 1 second and didn't actually do anything.
[Nexus 6 Android Development] wrongway213:
ugh ATT splash screen is awful on reboot, easy to get rid of. just go into a root enabled browser and go into oem -->> media then mount r/w, delete bootanimation.zip or rename it bootanimation.bak and reboot.... no more annoying sound or logo
[Nexus 6 Android Development] New Rising:
I'm on liquid smooth right now and I'm trying to flash stock and unroot my phone but I get a remote failure when it's flashing everything and when it finishes I'm still on liquid. Any suggestions? Thanks
[Nexus 6 Android Development] Hand76:
Will version 2.0 have an easy way to update to 5.0.1 without the hassle of unrooting/updating/rerooting and stuff?
[Nexus 6 Android Development] mikeytusa:
I'm pretty sure this is what's being worked on right now with 2.0. I am waiting for the same thing. Hang in there!
[Nexus 6 Android Development] jayharper08:
http://xdaforums.com/showthread.php?p=57583648 ;)
[Nexus 6 Android Development] captemo:
I would even throw another warning out there.

This involves you flashing files for another device. Maybe the Nexus series is a little more flexible than Samsung, but flashing files from another device can be very risky and maybe should not be habit. Nobody is responsible for your device but you.

Be confident in what you are doing and your process. I would not want to feel the least bit responsible for anybody ruining there device because of what I suggested.

I am not trying to bash the author of this post, whatever he wishes to do to his device is up to him. Especially if you consider yourself any kind of newbie, be confident in what you are doing.

I have not seen Wug himself validate this process, nor would he be responsible for any unfortunate outcome.

I am not saying this won't work, I just won't be doing it myself and more warning should be given to those who wish to attempt.

I have made an edit to what may have been considered disrespectful to author of this post. I mean no disrespect, just want folks to be aware. That's all
[Nexus 6 Android Development] michmeister:
Wow, why bother
[Nexus 6 Android Development] captemo:
Only intended as an additional warning. That's all.

In my past experience flashing files from another device can be catastrophic. I truly mean no disrespect.

I made an edit above as I don't want my introduction to the Nexus 6 to be a bad one. I have plenty of experience with XDA, but consider myself learning all the time. I help out if I can but everything is knowledge learned from other more brilliant minds than mine here on XDA.
[Nexus 6 Android Development] WugFresh:
Hello everyone,

You all have been very patient for the easy update solution (with no-force retained and no-wipe), and I have been slow. This is because v2.0.0 has a lot more changes and new stuff than just that feature. I thought for sure I would be done by today, but I ended up not having as much free time to work on it today as I would have liked. I don't want to rush the release as it has some cool new features, some still being coded and I want to test everything first, so...

For those losing patience - here is a simple temporary solution:

I repackaged a factory image with the no-force boot.img swapped in, utilizing the standard google format so NRT can flash it.

This is for the Nexus 6: shamu-lrx22c-factory-65077f8.tgz

(notice the file name is different than the one on googles site, which is: shamu-lrx22c-factory-ff173fc6.tgz)

1. Download that modified pack

2. In toolkit options, check:

- 'Force Flash Mode'

- And 'No Wipe Mode' (if you want to avoid a data wipe)

3. Use 'Flash Stock + Unroot'

4. Choose 'Other/Browse...' and select the pack you just downloaded

5. Ignore any warnings if it doesn't recognize that the pack is for your N6 device (it actually should recognize it, but this will be fixed in v2.0.0)

6. When it asks you for the hashvalue enter: d92f2a3adf9bd34af0651b645ea62361

7. Let it flash

8. Re-root afterwards if you want

That's it. To clarify, the above package is entirely stock except the no-force boot.img. This solution is technically equivalent to what will be provided in v2.0.0.

Stay tuned for v2.0.0, and happy flashing ^_^

{{ WugFresh }}
[Nexus 6 Android Development] jayharper08:
Awesome, Wug! Thank you! :D
[Nexus 6 Android Development] caspersfi:
I like this guy.

No homo ?
[Nexus 6 Android Development] WugFresh:
[deleted]

{{ WugFresh }}
[Nexus 6 Android Development] JoeJags:
Sweeeeeet!!!.......worked like a charm as ALWAYS.......Thanks, again Wugs!!
[Nexus 6 Android Development] mr pnut:
Nice stuff bro.....Keep up the good work well appreciated. :)
[Nexus 6 Android Development] Clob:
Any chance of this being cross platform?

I need some Linux love.
[Nexus 6 Android Development] WugFresh:
For now you would have to run through a VM or compatibility layer like Wine. I feel you though. I am almost a full Linux convert. It will take me rescripting the whole thing.. That's not something I want to think about this moment, lol.
[Nexus 6 Android Development] Skripka:
It is "only" 32MB of compiled code. :laugh:
[Nexus 6 Android Development] mk262:
Very handy app. +1 for the "decrypted" support. Thanks!
[Nexus 6 Android Development] bluh5d:
Thanks WugFresh your the best !!!!!!!!!! I sent you a long ass Pm which I am sure you will appreciate also :D
[Nexus 6 Android Development] mrw1215:
Question. If I run the root portion of the tool, then do a factory reset, will I need to run the root tool again to get access? I assume so, but figured I'd ask anyway.
[Nexus 6 Android Development] Karl_in_Chicago:
Thanks WugFresh, you are awesome. You make this so easy even a 'Bama fan can do it! :good:
[Nexus 6 Android Development] WugFresh:
A standard factory reset? Like not a flash stock? No, root should remain because the device will consider it a system app.

{{ WugFresh }}
[Nexus 6 Android Development] mrw1215:
Is that true as well if I did a basic wipe via TWRP?
[Nexus 6 Android Development] WugFresh:
Yes.
[Nexus 6 Android Development] NovaFox238:
Ok i believe I read through all of these pages and didnt read anything about this... *GASP* so... I'm unlocked AND rooted now (THANKS WUG) and was wondering if I can do the unencrypt process afterwards or will that mess up what I just did?
[Nexus 6 Android Development] Mistertac:
You should be good. States here..http://xdaforums.com/showthread.php?p=56896020

Doesn't matter when you do that.
[Nexus 6 Android Development] WugFresh:
I don't think he is correct. I am pretty sure it will break root if you do it now. Because you would be flashing his kernel. I haven't checked his boot.img yet, but if it doesn't include the edits to enable root.. then root won't work anymore. Like I mentioned earlier, I am going to support all this no-encryption stuff in a straight forward way in the next release. If his image does include the edits however, then yeah - it will work (flashing before or after).

{{ WugFresh }}
[Nexus 6 Android Development] WugFresh:
Can confirm. If you were to flash that no-force encryption kernel (post-rooting), it will break root. Unless you rooted with SuperSU 2.27 which doesn't require the kernel modification (however is alpha).

Give me a moment and will make a root+no-force-encryption kernel for those of you who are impatient ;)

{{ WugFresh }}
[Nexus 6 Android Development] sireniankyle:
This will be my first Nexus device. Is there anything I need to know before I use this tool? Also I ordered mine from AT&T. Will I run into any problems?
[Nexus 6 Android Development] WugFresh:
Alright guys, here you go: root_kernel_shamu_lrx21o_noforce_encrypt.img

I scripted everything so I can more easily build these moving forward.

To clarify, that kernel has the root mod + the no-force encryption mod. Credits to the original dev (bbedward) who figured out the no-force encryption stuff .

I will get this included in the kit, and make it a user option, under the root settings in the toolkits main options menu.

Cheers,

{{ WugFresh }}
[Nexus 6 Android Development] umair shaikh:
How do i flash de-encrypted file ??? Steps plzz ...am on 5.0.1
[Nexus 6 Android Development] juscozimme:
I followed the 5.01 install instructions without 2.0. Everything installed successfully. Thanks.....Once Again. Excellent, Wug!
[Nexus 6 Android Development] HotInEER:
Great work as usual!
[Nexus 6 Android Development] umair shaikh:
Can any one help me here....i flashed the de-encrypted file but when i reeboted it started encrypting...i even wiped data from twrp...help
[Nexus 6 Android Development] JoeJags:
Scrosler has posted a deencrypted 5.0.1 stock......if you are stock, you can just wipe dalvik and cache, and dirty flash.....worked great for me. Then I just flashed ElemX kernel. Everything is awesome. That is if you are having a hard time the other way and don't want to wait.

http://xdaforums.com/showthread.php?t=2980206
[Nexus 6 Android Development] michmeister:
Awesome
[Nexus 6 Android Development] Aston Martin:
I'm currently unrooted and de-encrypted. Does the no-wipe, no force update, turn encryption on?

Thanks
[Nexus 6 Android Development] misterzeno:
Great instructions very, very easy. Thanks Wug!
[Nexus 6 Android Development] selayan:
Has anyone used 1.9 to go back to stock from android 5.01 with twrp installed? I need to send my device back to Motorola and plan on doing that tonite.
[Nexus 6 Android Development] WugFresh:
http://youtu.be/Emyd6od3tGs

More videos can be found here: http://www.wugfresh.com/nrt/wiki
[Nexus 6 Android Development] pside15:
I was wondering the exact same thing.
[Nexus 6 Android Development] selayan:
The tool stores the downloaded images under my documents. My PC has a wugfresh folder there.
[Nexus 6 Android Development] pside15:
I was referring to the OTA downloads on my phone. Maybe I misread the other post. I'm rooted with TWRP and am constantly getting the OTA prompt on my phone and would like to get rid of it.
[Nexus 6 Android Development] selayan:
I'm on verizon so I updated before I rooted but I think the notification is from the system itself because nothing was downloaded until I accepted the download. It then downloaded files and installed them. I don't think they are stored anywhere.
[Nexus 6 Android Development] pside15:
OK, this is the first time I've encountered this on a Nexus phone before. On my LG G3 I would get an OTA system update prompt and without doing anything it would automatically download an update.zip file that I could delete and then disable OTAs through a hidden menu.
[Nexus 6 Android Development] WugFresh:
OTA's are downloaded to the devices cache partition. You should be able to disable the OTA prompts by stopping the update service. I haven't tried this recently myself, but I am pretty sure the following will work:

1. Download + Install this - https://play.google.com/store/apps/details?id=cn.wq.disableservice

2. Open it > System Apps > Google Services Framework >Uncheck "SystemUpdateService"

Reboot.

{{ WugFresh }}
[Nexus 6 Android Development] michmeister:
What's a nag screen?
[Nexus 6 Android Development] ggrant3876:
The screen that continually nags you to update to 5.0.1.

---------- Post added at 11:12 AM ---------- Previous post was at 11:07 AM ----------

In addition to just checking the System UpdateService you also need to clear cache, data, force stop Google Services Framework and reboot your phone to get rid of the nag screen.
[Nexus 6 Android Development] WugFresh:
Right. Thank you. To clarify, he means clear cache and data for "Google Services Framework" then force stop it. Not clear cache and data for the whole device.
[Nexus 6 Android Development] franatic08:
I just used this great tool to unlock, root (and flash TWRP), do a nandroid and flash the no force encrypt kernel.

However after this last operation it's booting way longer then the 10-15 minutes the script said it could take.

Is it safe/ok to unplug usb and do a hard reset by pressing and holding the power button, or is there anything else/better action I need to perform?

Thanks!

EDIT:

Yes, it booted after manual reboot.

No forced encryption kernel flashed succesful!
[Nexus 6 Android Development] kickenwing13:
oh my gosh it worked!!!!! Thank you so much man!!!!!!
[Nexus 6 Android Development] LordDeath:
I just used this to unlock the bootloader and after the first reboot it started to encrypt my phone again.

How long does this process take? It is already encrypting it since 5 minutes and from the beginning the remaining time was: "00:00".

Should I wait longer or did something went wrong?
[Nexus 6 Android Development] Amos91:
Fairly certain mine did that. Just restarted and it was fine.
[Nexus 6 Android Development] selayan:
I just used unlock option on the 64gb I got and it worked but now its been stuck on the android spinning guy with erasing for a while. Is this normal?
[Nexus 6 Android Development] WugFresh:
It should take a while to boot after unlocking, yes. If it goes more than 15-20min, then factory reset in stock recovery: https://support.google.com/nexus/answer/4596836?hl=en
[Nexus 6 Android Development] selayan:
Ok cool I'll just wait it out some more and see what happens.
[Nexus 6 Android Development] TheRealKingSen:
Worked flawlessly. Thanks
[Nexus 6 Android Development] zigzampow:
So i had a bootloop and force flashed last night. No issue now except incorrect storage size. I did a factory reset via lollipop and twrp...but i am not seeing what I'm expecting. Storage in settings says 23.03gb total space. I have a 64 gb nexus 6 from tmobile, and this is what i see when i go to terminal and do df.

u0_a105@shamu:/ $ #df

u0_a105@shamu:/ $ df

Filesystem Size Used Free Blksize

/dev 1.4G 48.0K 1.4G 4096

/dev/usb-ffs/adb: Permission denied

/sys/fs/cgroup 1.4G 12.0K 1.4G 4096

/mnt/asec 1.4G 0.0K 1.4G 4096

/mnt/obb 1.4G 0.0K 1.4G 4096

/system 1.9G 1.5G 428.8M 4096

/cache 248.0M 252.0K 247.7M 4096

/firmware 59.9M 59.9M 0.0K 4096

/persist 928.0K 240.0K 688.0K 4096

/fsg 686.0K 685.0K 1.0K 1024

/data 23.0G 6.7G 16.3G 4096

/mnt/shell/emulated: Permission denied

/storage/emulated 1.5G 0.0K 1.5G 4096

root@shamu:/ # df

Filesystem Size Used Free Blksize

/dev 1.4G 48.0K 1.4G 4096

/sys/fs/cgroup 1.4G 12.0K 1.4G 4096

/mnt/asec 1.4G 0.0K 1.4G 4096

/mnt/obb 1.4G 0.0K 1.4G 4096

/system 1.9G 1.5G 428.8M 4096

/cache 248.0M 204.0K 247.8M 4096

/firmware 59.9M 59.9M 0.0K 4096

/persist 928.0K 240.0K 688.0K 4096

/fsg 686.0K 685.0K 1.0K 1024

/data 23.0G 6.9G 16.1G 4096

/mnt/shell/emulated 23.0G 6.9G 16.1G 4096

/storage/emulated 1.5G 0.0K 1.5G 4096

/storage/emulated/0 23.0G 6.9G 16.1G 4096

/storage/emulated/0/Android/obb 23.0G 6.9G 16.1G 4096

/storage/emulated/legacy 23.0G 6.9G 16.1G 4096

/storage/emulated/legacy/Android/obb 23.0G 6.9G 16.1G 4096

root@shamu:/ #

---------- Post added at 09:17 PM ---------- Previous post was at 08:56 PM ----------

I found a guy with similar issue on reddit. Will try his fix and also try and not be such a n00b
[Nexus 6 Android Development] Mahapederdon:
Fastboot format userdata.
[Nexus 6 Android Development] anthonyp326:
2.0?
[Nexus 6 Android Development] halon17:
When he is done with it he will release it.
[Nexus 6 Android Development] selayan:
No need to rush people he does good work, this tool does everything you possibly want with the phone. When he's ready to post it, it will be up.
[Nexus 6 Android Development] TexasRules777:
Dude it's Christmas in most of the world. Relax for day.
[Nexus 6 Android Development] urnamese3:
first of all thanks for this amazing release!!

I found 3 bugs in your tool, when using the Fkash Stock + Unroot command it won't automatically extract the files contained in the image.zip file but you have to do it manually (Win 8.1x 64).

After everything is done fastboot.exe crashes as shown here (https :// whokal .tinytake. com/sf/Mjc0MjBfMjQyNjI4 remove spaces).

The restore Nandroid backup doesn't work to me as shown here:

https :// whokal.tinytake. com/sf/MjczNDlfMjQxOTk2
[Nexus 6 Android Development] coryjeb:
Good stuff...

I was an early adopter (since I had my phone with the first shipments) and was waiting for your 2.0. Decided to go ahead and do this and it all worked without a hitch! Thanks for your great work!

On a side note, 95% of the time I open the toolkit and it updates, I get "mismatch" when it gets to updating SuperSU. Then, when following the prompt to download and point to the file manually, I get "hash Invalid". Any thoughts on that?
[Nexus 6 Android Development] Skripka:
Means you have a bad internet connection that is corrupting the download, most likely.
[Nexus 6 Android Development] jaysmiff:
I'm having an issue with Superuser after using the root method from here. The SU dialog box won't work for me. I can't hit deny or grant or any of the options that show up. Also after rooting I can't grant apps permission in the Accessibility settings panel. Has anyone seen this problem before?

Edit: Uninstalling Lux fixed my issue.
[Nexus 6 Android Development] NOUFELP:
Use the tool to boot into recovery (available under advanced). Then flash latest SuperSU zip. You can download it from Chainfire's website.

Hit thanks button if I helped you[emoji4]
[Nexus 6 Android Development] k.s.deviate:
plz delete
[Nexus 6 Android Development] FormeriPhoney:
Hey wug! Just bought a Nexus 6 and look forward to using your toolkit yet again.

I want to root, twrp and disable encryption. Is that all possible with your toolkit at this point?

I should review my device Monday
[Nexus 6 Android Development] jbdan:
Yes. Enjoy your N6!
[Nexus 6 Android Development] FormeriPhoney:
Thanks. Pretty excited. I own a tmobile note 4 and flashed the cm12 alpha build.. Just can't go back to touchwiz, so I figured I'd just pick up a Nexus 6 lol

Id like a stock based rom.. How is that Pure rom build?
[Nexus 6 Android Development] jbdan:
OT: idk I stick to stock. But I can relate to using TW....yuck! :sly:
[Nexus 6 Android Development] jiv101:
Read back in this forum all that you've mentioned is talked about. Also flashing the modified boot to get decrypted
[Nexus 6 Android Development] sp0njah4Life:
I just wanted to take the time to express my thanks for your hard work in putting together this toolkit Wugs. Followed everything to the tee and I'm a happy owner of a rooted Nexus 6. I got a little nervous during the unlock bootloader portion because my phone hung up for close to 10 minutes. Alas, patience is a virtue. Thanks again and keep up the great work!
[Nexus 6 Android Development] Tankslappa:
No Autodetect

Hi,

I've used NRT frequently with Nexus 4,5 and 7 (and quite honestly, it's amazingly useful - Thanks!), and now I own a 6 I wanted to unlock it, but the autodetect doesn't seem to know what it is (NRT 1.9.9).

I opened a command prompt in C:\Program Files (x86)\WugFresh Development\data and used the adb and fastboot in there to do the oem unlock.

Doing the "Full Driver Test" goes through all the steps, reboots to bootloader, checks fastboot, everything looks fine.

ADB Status: Device Connected

Information: Rebooting your device into bootloader mode...

adb reboot bootloader

Information: Checking Fastboot Status

fastboot devices

ZX1G54326W	fastboot

Fastboot Status: Device Connected

Information: Rebooting your device...

Information: Waiting for your device...

Information: Device Detected

Pressing auto detect makes "Information: Getting Device Properties..." appear in the live log, but that's it. It never comes back. Nexus 6 and LRX22C are both available in the combo boxes if I want to do it manually, so I can just proceed that way, but I thought I'd report the oddity.
[Nexus 6 Android Development] LillieBennett:
Running through the full driver installation I did not uninstall the Samsung stuff because I have a note 3 I am still using. The full driver test was successful! :good:
[Nexus 6 Android Development] chief2842:
Just got my Nexus 6 after coming from Nexus 5. I was able to use the ToolKit with my 4 and 5 but now I am getting a "ADB Not Enable" error when I try to unlock and root. I have the drivers installed but I cannot get pass that error any help would be appreciated.

Thanks
[Nexus 6 Android Development] Geko-x:
no encrypt

i have tried the no encrypt flash method from advanced utilities on my 5.1 nexus 6 and it has not worked , anyone got any idea why and how , and has anyone been able to do that?
[Nexus 6 Android Development] Swamphound:
Got my 6 yesterday and had trouble b/c I didn't follow directions to the letter. Had to watch the video linked in the OP a couple of times before I caught my issues, which were 1) trying to flash the images for decryption from the "disable forced encryption" thread and 2) I needed to toggle "fastboot-bootloader" under Quick tools in the advanced utilities menu. What a great tool and many thanks to the OP.
[Nexus 6 Android Development] Danish2980:
Extremely helpful !

Thank you ! Didn't encounter any issues..
[Nexus 6 Android Development] micmars:
Welcome to the Nexus 6 forums...so nice to see familiar avatars here. Awesome device, isn't it? Also, this utility is just amazing, has everything one needs to manage the device just perfectly and swiftly.

As you rightly note, reading/viewing beforehand and having the steps in your head seems to make things go a lot easier than without having done so.