yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] msponsler:
This is what I did. I have a 64GB Nexus 6. Running Android M Preview UNENCRYTPED.

My lollipop stock image was incorrectly reporting 23GB instead of 64GB. Doing a fastboot.exe -w during my process below fixed it.

In my environment adb.exe, fastboot.exe lives here:

C:\Android\android-sdk\platform-tools

I downloaded shamu-MPZ44Q-preview-c1d6506a.tgz directly from google.

Using 7zip, I opened up : shamu-MPZ44Q-preview-c1d6506a.tgz

Then I double clicked on : shamu-MPZ44Q-preview-c1d6506a.tar

That gives me the directory shamu-MPZ44Q. I extracted that directory to:

C:\Android\android-sdk\platform-tools

That resulted in this:

C:\Android\android-sdk\platform-tools\shamu-MPZ44Q

in that directory, the files image-shamu-MPZ44Q.zip exists.

I uncompressed that .zip file here:

C:\Android\android-sdk\platform-tools\shamu-MPZ44Q

That left me with this in the directory C:\Android\android-sdk\platform-tools\shamu-MPZ44Q :

android-info.txt boot.img bootloader-shamu-moto-apq8084-71.11.img cache.img flash-all.bat flash-all.sh flash-base.sh

image-shamu-MPZ44Q.zip radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img recovery.img system.img userdata.img

I downloaded NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip from here:

http://xdaforums.com/nexus-6/development/mod-disable-force-encryption-rom-kernel-t3000788

And I put NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip here:

C:\Android\android-sdk\platform-tools

With the phone booted up into Lollipop, I ran these commands while from the command prompt while IN the directory C:\Android\android-sdk\platform-tools

adb.exe reboot-bootloader

fastboot.exe erase boot

fastboot.exe erase cache

fastboot.exe erase recovery

fastboot.exe erase system

fastboot.exe erase userdata

fastboot.exe -w

fastboot.exe flash bootloader shamu-MPZ44Q/bootloader-shamu-moto-apq8084-71.11.img

fastboot.exe reboot-bootloader

fastboot.exe flash radio shamu-MPZ44Q/radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img

fastboot.exe reboot-bootloader

fastboot.exe flash system shamu-MPZ44Q/system.img

fastboot.exe flash boot shamu-MPZ44Q/boot.img

fastboot.exe flash cache shamu-MPZ44Q/cache.img

fastboot.exe flash userdata shamu-MPZ44Q/userdata.img

fastboot.exe flash recovery openrecovery-twrp-2.8.5.0-shamu.img

fastboot.exe reboot-bootloader

adb.exe push NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip /data

From bootloader, go to recovery. It should be TWRP.

Install NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip, which will be in /data

Reboot. DO NOT INSTALL SU!

It will give a verification warning, but it will boot into android.

Go through the setup. Because a lot of people here have recommended it, I did a factory reset. Which means you have to do the setup again. Oh well.

upon further reboots I do NOT get the verification warning.
[Nexus 6 Android Development] skhjpz:
I was on unencrypted and flashed zip and unencryption mod and it works
[Nexus 6 Android Development] drgonzo712:
Yes, I agree, that should be flashing 101 before moving on to zip files and I have installed with fastboot and adb before. I tried doing that and I keep getting an error in the CMD that I've never received before. Saying it can't, below is the error:

"load_file: could not allocate 1979559444 bytes

error: cannot load 'system.img'

I had to do it through WugFresh and booting up fine now. Thanks for the assistance.
[Nexus 6 Android Development] jawmail:
Amen

Here's what works guys for me, you still get the verification notification on reboots but everything boots. I won't go into the details, read the thread, it's all here.

1. Make a TWRP backup, you'll be sorry if you forget, you can go back to it even if it's 5.1 and new radio and BL

2. Flash M rom zip in OP, follow his instructions for wiping and installing radio and BL,

3. Flash noforceencrypt zip found elsewhere to remain unencrypted.

4. Reboot to bootloader and reflash system.img (hint if you get file size error use mfastboot)

5. reboot, do not follow prompt in TWRP to root, profit.
[Nexus 6 Android Development] mike105105:
Also never run a command before finding out what it does or you will lose your backups like I just did. I've used all these commands through the years but never fastboot -w, I just assumed it was safe and ran it after I skipped over the wipe userdata command in the post further up the page and cursed when I watched it wipe my junk.
[Nexus 6 Android Development] davanw:
I used to change the DPI of my roms, but I don't know which number to use. All I recall is it was the second number in the list in settings. Can anyone post up what the proper dpi numbers are?

Thanks in advance!
[Nexus 6 Android Development] buckmarble:
I have some quick and simple install instruction in my kernel thread with a new boot image that will resolve the error at boot and any other booting issues. http://xdaforums.com/showpost.php?p=61041335&postcount=146
[Nexus 6 Android Development] datajosh:
Flashing the stock recovery stopped it for me. I also downgraded to 5.1.1 for the moment and the message is still gone. Personally I only saw it while using the M preview with TWRP installed. (I was also on the stock encrypted kernel during that time FWIW.)
[Nexus 6 Android Development] buckmarble:
Flashing the boot img in my kernel thread will alleviate that message, regardless of recovery.
[Nexus 6 Android Development] datajosh:
Yeah, I plan to give yours a try tonight or tomorrow when I go back to M :D (And then flashing SuperSU 2.49 and hoping it works, I couldn't manage to get SELinux to permissive in the ramdisk last night.)
[Nexus 6 Android Development] Drjjones426:
I updated multirom(now compatible with M preview) and flashed vomers zip as a secondary ROM and it booted with no issues at all. I didn't even flash the boot loader or new radio
[Nexus 6 Android Development] TWong1200:
Is there a working root method yet? I'm using M on Multi-ROM and works just fine as well.
[Nexus 6 Android Development] jeebuspwnz:
It doesn't. His boot img does get rid of the boot message, but I cannot get it to boot into android with supersu 2.49 or 2.46.
[Nexus 6 Android Development] atcchris:
Thanks! That is really good to know. There's so much sh***y information and FUD flying around right now, it's hard to make sense of it.

I should just calm down anyways, I shouldn't be pondering or thinking about using a Dev Preview as my Daily Driver. Heck, I haven't even updated to 5.1.1 yet (still on the 47D build of 5.1).
[Nexus 6 Android Development] datajosh:
I was wondering about that. I'm not sure what the results are with any of the kernels floating around but every time I tried to set the kernel to permissive last night, running the getenforce command still showed Enforcing. Might have to wait on Chainfire to release something.
[Nexus 6 Android Development] bill3508:
Just installed this via fastboot. Boots up quick and I stayed on the 98r radio so volte works fine still. App drawer is horrid but overall its very smooth. Impressed.
[Nexus 6 Android Development] ilpolpi65:
SOLVED :

rebooting in stock recovery >factory reset>reboot : message gone !
[Nexus 6 Android Development] sn0warmy:
Can you do me a favor and try installing TWRP and seeing what happens when you reboot? Is the message back or is it still gone?
[Nexus 6 Android Development] Philly Jim:
Sorry for the noob Question but can you just flash the Radio and boot img...?
[Nexus 6 Android Development] stevew84:
Verified as working? Also forces encryption?
[Nexus 6 Android Development] ilpolpi65:
message has come back.....strange story....
[Nexus 6 Android Development] sn0warmy:
Weird.

Now I have a better question, after installing the stock recovery, how do you boot into the stock recovery? I just get Android with a blue spinning ball in his stomach when trying to boot into the stock recovery.
[Nexus 6 Android Development] ohad129:
Please im very confused is there away to flash recovery like twrp??
[Nexus 6 Android Development] jamezr:
I think we have all done that ONCE! :)

The best lessons learned are the hard ones!

Sorry you lost your stuff.
[Nexus 6 Android Development] ilpolpi65:
When you sede that press power wait a second and volume up (only once)
[Nexus 6 Android Development] buckmarble:
No, force encryption is disabled.
[Nexus 6 Android Development] ilpolpi65:
Select factory reset
[Nexus 6 Android Development] sn0warmy:
Weird. When I see that screen I hold down power, wait a second and tap volume up once. It then goes to a black screen and at the bottom left is says "wiping data" then "formatting data" automatically. It doesn't give me an option to select factory reset at all.
[Nexus 6 Android Development] ilpolpi65:
Strange.....but it worked or you still have the verifying alert message ?
[Nexus 6 Android Development] Diesel779:
I just flashed the stock image so I'm also using stock recovery. I'm having no messages at boot up and everything is running great! I'd be even happier if I had TWRP installed and SuperSU lol.

Edit: Dumb question, but are any custom kernels working on this build?
[Nexus 6 Android Development] sn0warmy:
Woah, it worked!!

You should probably PM the OP too and have him insert that info into the first post. Great find!

It sounds like this whole error message is just an issue with TWRP. I imagine an update to TWRP would resolve it.
[Nexus 6 Android Development] ilpolpi65:
Good !!![emoji6]
[Nexus 6 Android Development] mbargerhuff:
Hey all, so I noticed one person post that Bluetooth streaming sounded poor in the preview build, just wanted to see if anyone else has experienced it as well... Don't want to flash it yet if that's the case
[Nexus 6 Android Development] Scott41373:
Anyone tried the zip with multirom? Just wondering of it was worth a shot.
[Nexus 6 Android Development] kidhudi:
http://xdaforums.com/showpost.php?p=61025771&postcount=228

i am running it now. just make sure you get the latest multiboot 32b
[Nexus 6 Android Development] stevew84:
Anyone have any luck with the new 2.49 SU?
[Nexus 6 Android Development] Scott41373:
Sweet, thanks for the info.
[Nexus 6 Android Development] ohad129:
How to flash img file?
[Nexus 6 Android Development] sn0warmy:
I'm going to test out bluetooth streaming in my car on my lunch break. I'll report back with results.

The detailed instructions are right in the first post. Read.
[Nexus 6 Android Development] ohad129:
So if im on M and cant flash SU its means i need to flash back to LP and then use this file?

Why you write flash radio its optional? The rom zip already contain radio?
[Nexus 6 Android Development] force70:
Read OP

sent from Canada via my Note 4, 3, 2 or S3
[Nexus 6 Android Development] msponsler:
Not until SELinux is set to permissive.
[Nexus 6 Android Development] sn0warmy:
Come on man. Read the thread. All of your questions have been answered over and over. Stop being lazy.
[Nexus 6 Android Development] stevew84:
Check here...

http://xdaforums.com/showpost.php?p=61041335&postcount=146

Says that he modified the boot to set permissive, it boots up and runs fine.
[Nexus 6 Android Development] ohad129:
I read it already thx i decided to stay as i am not rooted and not to flash it manualy
[Nexus 6 Android Development] joackie27:
Anyone tried flashing the permissive.zip made by [MENTION=4684315]flar2[/MENTION] (http://xdaforums.com/showpost.php?p=60706248&postcount=735).
[Nexus 6 Android Development] benrees21:
Just to clarify, I can flash the bootloader and radio IMG files on 5.1.1 and it will be fine? I won't lose TWRP? If so then I will just do that as I'm not interested in M until it's official. Thanks.
[Nexus 6 Android Development] simms22:
anyone happen to see a twrp flashable new bootliader around?
[Nexus 6 Android Development] ForeverZ3RO:
Flashed everything manually with Fastboot and everything is working perfectly. Very fast so far, definitely in love with M.

Only getting the bootup error that everyone else is getting and I still haven't flashed SuperSU (not sure if I can yet).

Edit: Typo
[Nexus 6 Android Development] simms22:
you didnt flash everything manually with adb, because that not how it works. you flashed everything via fastboot. fastboot and adb are different.
[Nexus 6 Android Development] bdivs11:
I love this build everything is smooth. The only issue is the phone gets warm/hot easily and fast? Anybody else experiencing this?
[Nexus 6 Android Development] ohad129:
Yes at the begining after couple of hours he become great
[Nexus 6 Android Development] stevew84:
Seems like a catch 22 because you need SU to use that zip...but yet has to be set to permissive to use SU!
[Nexus 6 Android Development] SilentO:
Which SuperSU version is compatible?

I get sick at the boot animation after flashing SuperSU 2.46.
[Nexus 6 Android Development] marcadam:
I was having major issues to begin with, just seemed to hang on boot after the pop-up, so I decided to flash everything including recovery.img & cache.img. Everything is now working great and I also haven't had the failed verification pop-up. I really like what they have done, it's definitely a step up from lollipop.
[Nexus 6 Android Development] blakedunc235:
Ive been putting my text to small since like jellybean
[Nexus 6 Android Development] Character Zero:
He's got one:

http://xdaforums.com/nexus-6/development/rom-jdx-1-0-t3121053
[Nexus 6 Android Development] datajosh:
There isn't one. Someone on the Nexus 9 was able to get it to work by using a permissive kernel but I haven't heard much about it being done with the 6 yet. I think I've seen one person say it worked and then several others say it didn't.
[Nexus 6 Android Development] ForeverZ3RO:
Thanks for pointing out a typo. Didn't realize I did that. Editing now.
[Nexus 6 Android Development] buckmarble:
I have a full permissive boot image in my Elite kernel thread. Also is insecure and removed the warning. With it you only with have to flash the new boot loader, system, my boot IMG, then factory reset in twrp. There is no need to wipe internal or flash the data or cache image with my boot IMG.
[Nexus 6 Android Development] simms22:
thank you. i dont own a computer nor laptop, so i couldnt flash it until sunday. but now.. :)
[Nexus 6 Android Development] minieod:
\

i cant find anything in the phone for doze..is this an automatic under the hood thing, or do we have to actually activate it?
[Nexus 6 Android Development] redalertlb:
I think its the "ignore optimizations" thing but I'm not totally sure
[Nexus 6 Android Development] NolenUmar:
I have the new radio and volte works fine. I'll send you pictures if you want proof. I'm with tmo
[Nexus 6 Android Development] bill3508:
I'm on Verizon. I had heard that some folks lost volte so I just stayed with the old radio. No proof needed.
[Nexus 6 Android Development] jason1332:
I'm on Verizon and volte works fine. You do have to turn the flag on as described previously.
[Nexus 6 Android Development] bill3508:
Thanks, I'll probably just do a clean install once su gets settled.
[Nexus 6 Android Development] brizey:
I think there was some context lost.

For T-Mobile, using the radios that allow WifFi calling with non-WiFi calling ROMs seems to break VoLTE. So if we flash the M radio on the M build, everything works (VoLTE and WiFi calling), but when we flash back to a Lollipop AOSP ROM (not the factory 5.1.1), VoLTE does not work until we flash back to an non-WiFi calling radio.
[Nexus 6 Android Development] benrees21:
Thanks for this! Flashable radio there as well which I needed!! [emoji106]
[Nexus 6 Android Development] drdoulittle:
Thanks Vomer, the Preview Build M run nice.

Mobile Office 365 not work and for me no Problem...

Installed Stock M with adb commands and very cool Rom.:good:
[Nexus 6 Android Development] iStayHigh:
Would a modified stock boot IMG break WiFi calling,it's modified so it won't force encrypted.

Sent from my Nexus 6
[Nexus 6 Android Development] elreydenj:
Anyone limited to 720p in YouTube?? If so, do you know how to get past that? Is there a setting to tweak?
[Nexus 6 Android Development] asd87:
How long does it usually take to for the phone to boot up after flashing the factory images??
[Nexus 6 Android Development] sn0warmy:
30 seconds?

If it's stuck on black screen go back into recovery and do a factory reset and reboot.
[Nexus 6 Android Development] redalertlb:
Is it just me or is everyone else's battery life horrible?
[Nexus 6 Android Development] asd87:
Thanks, I somehow over looked that tid bit of information.
[Nexus 6 Android Development] dwang:
For a stock unrooted kernel, I think battery life has been pretty good.
[Nexus 6 Android Development] redalertlb:
I'm a moderate user and I'm having to charge my phone back up by 2/3 pm and then overnight or before bed also. I'm not expecting it to be amazing but at least last 9 to 5
[Nexus 6 Android Development] suku_patel_22:
Disable Google backup. It's draining battery..

Sent from my Nexus 6
[Nexus 6 Android Development] pantmunu:
Nvm .. I was late. :)
[Nexus 6 Android Development] jnclocker:
horrible
[Nexus 6 Android Development] le0.br4zuc4:
Flashed this yesterday night and went to bed. I'm very surprised by how stable and smooth this is for a developer preview. Small bugs don't really bother me and I'm loving it.
[Nexus 6 Android Development] vomer:
flashable bootloader and radio added to op :good:
[Nexus 6 Android Development] vomer:
yes :)

this is actually a very important step... I have it in bold red letters in op too but I guess no one reads op :p
[Nexus 6 Android Development] puritan007:
It's funny. Everyone knows android battery life improves significantly after a few days, all the initial start up, backup/restore, getting apps, etc etc etc, so when you say horrible, and it's about the same as the lolipop roms I've ran, and it's only been out a day, oh and you realize it's a developer preview right? End rant. Lol honestly is great. Ty for getting a multi boot compatible zip. Up.
[Nexus 6 Android Development] vomer:
LOL it's always funny to see battery complaints and bug complaints... it's called preview for a reason :p
[Nexus 6 Android Development] iStayHigh:
My WiFi icon keeps flickering. I rebooted my phone just to see if twrp was still my recovery and it is and when I restarted the phone, I got that weird message about my phone failed and then it just booted up fine. I can't receive or send pictures through messenger but other than that everything else is working fine. WiFi calling is not working for me because I flashed the modified boot IMG to stay unencrypted.

Sent from my Nexus 6
[Nexus 6 Android Development] adamfair:
If you turn off WiFi your pictures will go through. Hope this gets fixed. WiFi calling not working for me either
[Nexus 6 Android Development] derekr44:
Honestly, this is pretty good for a preview released nearly six months before release... I'm happy with the direction.
[Nexus 6 Android Development] antiochasylum:
6 months? No way. 3-4 tops. They said Q3 release, not Q4.
[Nexus 6 Android Development] Zenzr:
Does this work with multirom?
[Nexus 6 Android Development] spevil07:
Yes!!

Take a look: http://xdaforums.com/showthread.php?p=61025771

Gesendet von meinem Nexus 6
[Nexus 6 Android Development] the.emilio:
Rule of thumb is match the PPI of the device. In our case, 493.
[Nexus 6 Android Development] billydroid:
Mine has been great.
[Nexus 6 Android Development] ohad129:
Mine its awsome
[Nexus 6 Android Development] kleptonez:
proximity sensor fix

seems the proximity sensor problem got carried over. anyone with screen protectors having the same issue?
[Nexus 6 Android Development] cdsbj6508:
Can't download from AFH.
[Nexus 6 Android Development] DaMyth:
well my cage is open, just lemme know when and I'm there :D
[Nexus 6 Android Development] Rangizingo:
I volunteer :)
[Nexus 6 Android Development] cammykool:
Link added to the discussion thread in the general forum.
[Nexus 6 Android Development] vomer:
Hmm changes to system image in M... trying to figure out extraction problems hmm

IMG file mirrors: https://www.androidfilehost.com/?w=files&flid=32588
[Nexus 6 Android Development] stevew84:
We can still use TWRP and revert to a backup, right? Meaning we do not NEED to install recovery.img.
[Nexus 6 Android Development] Luke2508:
I volunteer, already got my backup and everything :P
[Nexus 6 Android Development] vomer:
should be ok... but too soon to confirm

new system img is HUGE... 1.8 gigs :eek:
[Nexus 6 Android Development] mastibeta:
I am here to test sir
[Nexus 6 Android Development] vomer:
if someone gets the /system dump from their manual M installation - please zip up the contents and send me a link via PM?

will help me save some time :good: :)
[Nexus 6 Android Development] Zer0_Cool:
Does anyone know the details about downgrading back to L in case this is super buggy?

To the best of my knowledge, on a motorola device (even a nexus) you CAN NOT downgrade the bootloader. This was a huge issue when CM included a downgraded bootloader before on our device:

http://xdaforums.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518

Google has instructions to revert as follows:

"Revert a Device to Factory Specifications

If you want to uninstall the preview and revert the device to factory specifications, go to developers.google.com/android and and download the image you want to flash to for your device. Follow the instructions on that page to flash the image to your device."

The M preview does come with an updated bootloader:

LMY47E bootloader-shamu-moto-apq8084-71.08

MPZ44Q Preview bootloader-shamu-moto-apq8084-71.11

You would still be downgrading if you went back, which you can't do on moto devices, which is why I'm apprehensive to install the preview. Also, while the new bootloader may be backwards compatible, the google site doesn't direct to flash individual images when installing the preview or other developer images, it instructs you to use their flash-all.sh script, which installs everything (including the bootloader).

Edit: flashing now, hoping for the best.
[Nexus 6 Android Development] riggsandroid:
pretty sure the issue wasn't about loading an older bootloader. you should be able to flash whatever you want via fastboot.
[Nexus 6 Android Development] patmw123:
I downgraded perfectly fine from the LYZ28E bootloader to the LMY47D bootloader.
[Nexus 6 Android Development] HaRdC0r3:
So what's broken? Anything?
[Nexus 6 Android Development] antiochasylum:
Anyone who has flashed. I assume it encrypts your SD card?
[Nexus 6 Android Development] Marcellus1:
From mxmumtuna on Reddit in response to this question: For kicks I just tried it and downgrading worked (from the new/MPZ44Q build 71.11 to the previous LMY47I 71.08). No issue here, it seems. Just fastboot flash bootloader <filename>
[Nexus 6 Android Development] mastibeta:
I got a device verification error during boot, but it boots
[Nexus 6 Android Development] vomer:
yes
[Nexus 6 Android Development] aFancyTickler:
i get failed verification at boot and it boots , but when i flash superSU it doesnt boot
[Nexus 6 Android Development] stevew84:
Can't you just restore a TWRP backup and achieve the same thing?
[Nexus 6 Android Development] antiochasylum:
Figured as much, sucks as the N5 is does not force encrypt. Why the Hate google lol.
[Nexus 6 Android Development] Langduscher:
When decrypting M (secondary ROM) by formating userdata; thus wiping sdcard - I'll also break MultiROM I guess? I.e. the only way to use M as a secondary ROM is to have it encrypted?
[Nexus 6 Android Development] puritan007:
I've no idea what your talking about.... I updated multirom, installed M as a secondary, it didn't encrypt.... Rebooted everything fine, first real annoyance after a day of ROM use paired Bluetooth fine and listened to music but upon disconnect reconnect no audio, might have fixed had I rebooted or repaired but I didn't care enough to try. Basically, maybe your over complicating it?

---------- Post added at 12:57 AM ---------- Previous post was at 12:54 AM ----------

I guess I mean if your installing it as second or this ROM you don't need to wipe anything... And mine didn't encrypt, and I did nothing to try to prevent it.