[How-to]flash Android M Preview -without- wiping your Userdata or Force Encrypt

Was this method Helpful for you?


  • Total voters
    38
Search This thread

yeticomes

Senior Member
Feb 15, 2009
337
2
Samsung Galaxy Z Fold2
I've followed the Tutorial to flash Android M without data wipe, but after the reboot, the Phone asked me to restore all Apps & data from the lates Google Online Backup?!

As I have to do this now I wanted to ask if I then should flash the whole Android M instead of the listed images from this thread or is there nothing important missing?

Thanx for any support!
 
If I'm already on android m, is it possible to flash the no encrypt boot image to remove encryption?

Sent from my Nexus 6 using Tapatalk

I was in the same boat and I had to format data and start over, i don't think you have any options other than that. The boot image keeps you from encrypting, it doesn't decrypt...
 
  • Like
Reactions: gunigugu

gunigugu

Senior Member
Apr 18, 2006
213
3
Melbourne, Vic
I was in the same boat and I had to format data and start over, i don't think you have any options other than that
:'(
Also what impact will that have on future updates? At google IO google talked about releasing updates on a regular basis for the n6. I wonder if the next update will have hardware encryption support....


Sent from my Nexus 6 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Google just released the M preview for the Nexus 6 and I see some guys having some issues with flashing the preview, So what I did is just modify on the kernel not to encrypt the device during the first boot

    and here is the simplest way to flash the preview

    1-Download the preview factory image http://developer.android.com/preview/download.html
    2-download this modified version of the stock M boot img https://goo.gl/SFWpMO
    3-unpack the M preview .tgz file in your fastboot/adb folder and you will get the radio file and the bootloader file and the image-shamu-MPZ44Q.zip file
    4-go to TWRP backup your ROM then wipe cache/dalvic/data/system ( watch out don't wipe the internal storage)
    5-boot into bootloader and flash the bootloader : fastboot flash bootloader bootloader-shamu-moto-apq8084-71.11.img
    6-fastboot reboot-bootloader
    7-flash the radio file : fastboot flash radio radio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img
    8-fastboot reboot-bootloader
    9-Unpack the image-shamu-MPZ44Q.zip file
    10-you need just system.img from this file
    11-flash the system : fastboot flash system system.img
    12-flash the modified boot img that you downloaded in step 2 : fastboot flash boot boot-noencryption.img/B]
    13-fastboot reboot

    You also use NRT for flashing the M Preview if you prefer but flash the noencrption boot img instead of the stock img in order to avoid encrypting your device

    It won't take time to boot but it's really important to wipe from twrp before flashing and as always try this on your own risk
    6
    Not since the 1st grade was I ever asked anything close to the question "did you even read anything at all?"

    Of course I read it, if I hadn't, why would I ask about the modified boot image?

    I missed the part about encryption. I'm very sorry if that offended you. Thanks for letting me know what the modified boot image does.

    Not to make you feel like you are being ganged up on, but the OP did answer your question in the very first sentence of the initial post in this thread. Had you taken the time to read the very first sentence after entering the thread, you would have had your answer.

    I don't want to sound like an ass but this forum is completely SWAMPED with people who can't seem to be bothered by reading a single OP thoroughly. I'd argue that if everyone on this forum took an additional 10-20 seconds to properly read/comprehend a thread's initial post, over 75% of the posts on this entire forum wouldn't exist.
    3
    What is the modified boot.img? Why is it modified?

    Did you even read anything at all?

    He has modified so it does not force encrypt for those who have unencrypted internal SD cards.
    2
    How do one activate doze mode?

    You don't activate it, it's coded into Android M....
    1
    Can't wait to flash thanks!!