[Guide] How to Root & install a custom recovery by disabling Encryption!

TheDj408

Senior Member
Oct 24, 2013
303
265
0
Mumbai
This method successfully worked for me & @lysm bre (Thanks to him for the guiding)!

Your phone will be unencrypted after folllowing this guide and successfully rooted too if I didn't mention that :D
To flash ROMs in future you have to disable encryption so this method will make you ready for that too :)

Here is my video in which I explained in detailed and I've done all the steps from beginning! So you can follow this guide too here- https://youtu.be/mUq1xdJ-7-E


To Boot into Bootloader mode use command adb reboot bootloader or hold power and volume down button once its switched off!

I'll modify & beutify the guide in future so stay tuned for that! :confused:

1] Unlock bootloader- fastboot oem unlock [select yes by pressing volume up and then power button to confirm] :cowboy:
2] Reboot & skip everything in setup as we data will be wiped again!
3] Reboot into bootloader & flash the modified boot image- fastboot flash boot boot.img
4] Reboot into system to make sure it's booting properly! [May not be necessary!]
5] Reboot into bootloader again & flash twrp- fastboot flash recovery "recovery name".img
6] Boot into TWRP & select allow modifications ! :cool:
7] Goto Wipe & select format data !
8] After that is done, reboot into system without rooting& skip through setup again!
9] Now if you check the encryption status of your phone (Settings -> Security - Encrypt phone), it won't be encrypted anymore as it'll give you the option of encrypting it, which means it currently isn't encrypted.
10] Now transfer the SuperSU zip file in the internal storage of the phone, reboot into TWRP, and flash SuperSU! :cool:

BOOM! You have successfully rooted with encryption disabled.! Congratulations! ;)
Just a reminder that for video explanation watch this- https://youtu.be/mUq1xdJ-7-E :D
Downloads-
Modified boot.img- http://bit.ly/1MVtrNr Thanks to @Chainfire ONLY FOR build no mdb08i as of now! Do not flash on any other build!
TWRP recovery image- https://dl.twrp.me/bullhead Thanks to @Dees_Troy
SuperSU zip- https://download.chainfire.eu/743/SuperSU Thanks to @Chainfire

Modified boot images for all nexus devices- http://bit.ly/modifiedbootimages Thanks to @Chainfire
 
Last edited:

keynoto

Senior Member
May 23, 2010
85
20
0
Thank you OP and @lysm bre, great job. Might I suggest that you include the build number in your instructions as you have clearly stated in your video. I watched it and it was very helpful to learn that your boot image was from a specific build number. Thanks again
 
Last edited:

Hayth

Senior Member
Feb 15, 2012
388
141
0
Leicester
Might be worth mentioning it's build specific (only for mdb08i currently) and will save someone the time I wasted figuring that out [emoji14]

Sent from my Nexus 5X using Tapatalk
 

hawkins95

Member
May 7, 2013
5
0
0
Might be worth mentioning it's build specific (only for mdb08i currently) and will save someone the time I wasted figuring that out [emoji14]

Sent from my Nexus 5X using Tapatalk
just flash that build number then flash the modified version, thats what i did and its working fine ( i came from build number MDA89E)
 

Hayth

Senior Member
Feb 15, 2012
388
141
0
Leicester
just flash that build number then flash the modified version, thats what i did and its working fine ( i came from build number MDA89E)
I was thinking of doing that but wasn't sure if the builds are region specific and could affect something I wasn't aware of?

Sent from my Nexus 5X using Tapatalk
 
  • Like
Reactions: keynoto

hawkins95

Member
May 7, 2013
5
0
0
I was thinking of doing that but wasn't sure if the builds are region specific and could affect something I wasn't aware of?

Sent from my Nexus 5X using Tapatalk
Im in the uk and it is working great for me, im rooted and my data is working, just make sure to flash normal version from google first because when i did it with the modified version is came up with some weird bootloop image. and im pretty sure MDBO8I is an update everyone is getting saw a few articals saying it was.
 

Hayth

Senior Member
Feb 15, 2012
388
141
0
Leicester
Im in the uk and it is working great for me, im rooted and my data is working, just make sure to flash normal version from google first because when i did it with the modified version is came up with some weird bootloop image. and im pretty sure MDBO8I is an update everyone is getting saw a few articals saying it was.
Cool, that's good to know :) I saw those articles too but as they made reference to enabling band 12 in the US I wasn't sure. I've wiped and restored my phone that many times today I'm going to give it a few days to see if the OTA comes through [emoji14]

Sent from my Nexus 5X using Tapatalk
 

xtentual

Member
Dec 20, 2010
9
0
0
So this is not a complaint about the OP's awesome work, and sorry if I should start a new thread, but I just got a message I've never seen before attempting to unlock the bootloader...
Before attempting to unlock the bootloader, go into developer options and tick the option "OEM Unlocking"