Modified boot.imgs (Nougat & Oreo)-Disable forced encryption/dm-verity (1/7/18)

Search This thread
i maked it myself. Work stable :good: I didnt want to wait and maked it myslef

Thank you for helping these folks out. I truly appreciate it. I hate that I'm always a little late with these. Life just...keeps happening. Anyway, 8.1 is uploaded. As always, I don't have a 5X anymore so I have no way of testing, but all should be well.
 
  • Like
Reactions: Matoxxi

kain144000

Senior Member
Jan 19, 2008
335
24
Modified Nexus 5X boot.imgs for opm5.171019.015 (Oreo 8.1, Feb 2018), cont...

forceencrypt & dm-verity disabled
 

Attachments

  • boot.zip
    10.2 MB · Views: 84
Last edited:
  • Like
Reactions: stmims1124

gregkow

New member
May 1, 2016
1
0
Compilation number on my nexus 5x is opm3.171019.014. (security pack 05 Feb 2018) Can I use boot.imgs from first page corresponding to previous build (OPM3.171019.013)?
 
D

Deleted member 7981479

Guest
Many Thanks

Thank you for continuing to crank out new modified images with each months release! You rock! :good:
 

kain144000

Senior Member
Jan 19, 2008
335
24
OPM2.171019.029, Apr 2018
 

Attachments

  • forceencrypt_disabled.zip
    10.2 MB · Views: 55
  • forceencrypt_dm-verity_disabled.zip
    10.2 MB · Views: 63
  • Like
Reactions: skyjuicerz

kain144000

Senior Member
Jan 19, 2008
335
24
OPM6.171019.030.B1, Jun 2018
 

Attachments

  • forceencrypt_disabled.zip
    10.2 MB · Views: 31
  • forceencrypt_dm-verity_disabled.zip
    10.2 MB · Views: 42

ErrOzz

New member
Jul 23, 2018
3
0
Hello!
Do I understand correctly that I can lock the bootloader after flashing this kernel, and there will be no problems with Google Pay?
 

kain144000

Senior Member
Jan 19, 2008
335
24
OPM6.171019.030.H1, Aug 2018
 

Attachments

  • forceencrypt_disabled.zip
    10.2 MB · Views: 22
  • forceencrypt_dm-verity_disabled.zip
    10.2 MB · Views: 23
  • Like
Reactions: mosta00

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    *8.1 Official is here! -Updated 1/7/18*

    Thank you to @osm0sis for the Android Image Kitchen tool used to modify the boot.img's, found here. An especially huge thanks to @Tigerstown for teaching my Windows-using rookie ass, and just for supporting a device he doesn't even own for so long. It is incredibly appreciated.

    Next to each build number you'll find the first links are simply boot.imgs modified to just disable forced encryption. The second links are stock boot.imgs that have both disabled forced encryption, and dm verity has been disabled as well - take your pick. Only SYSTEMLESS ROOT is working with these boot.imgs. Tigerstown has put a lot of effort into trying to get system root working, but unfortunately it doesn't seem doable yet.

    Naturally, the regular warnings and disclaimers apply here. I cannot be held responsible if anything goes wrong, no warranties, etc. Of course should something happen, myself and the community are here to help.

    Going from using a boot.img that is just decrypted to one that also has dm-verity disabled will cause SuperSU to fail when flashing - specifically when the script gets to patching sepolicy.

    Starting with NRD90R and on, see the download links in this thread below. Any build prior you will find the modified boot.imgs for your respective builds in Tigerstowns thread here.

    Simply flash the corresponding boot.img for your build number via fastboot:
    Code:
    fastboot flash boot boot.img

    If your device is currently encrypted and you are looking to decrypt it, use the commands below. Please note that coming from an encrypted device, when you decrpyt it you WILL WIPE YOUR PHONE AND YOU LOSE YOUR DATA.
    Code:
    fastboot flash boot boot.img
    fastboot format userdata
    fastboot format cache

    LG NEXUS 5X NOUGAT & OREO MODIFIED BOOT.IMG DOWNLOADS

    Android Nougat 7.0
    NRD90R 7.0 September Security Update #1- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NRD90S 7.0 September Security Update #2- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NBD90W 7.0 October Security Update- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NDR91N 7.0 November Security Update #1- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N5D91L 7.0 November Security Update #2- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NRD91P 7.0 December Security Update- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android Nougat 7.1.1
    NMF26F 7.1.1- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N4F26I 7.1.1 January Security Update- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N4F26O 7.1.1 February Security Update- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N4F26T 7.1.1 March Security Update- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android Nougat 7.1.2
    N2G47F 7.1.2 April- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N2G47O 7.1.2 May- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N2G47W 7.1.2 June- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N2G47Z 7.1.2 July- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    N2G48C 7.1.2 August- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android Nougat 8.0 Oreo
    OPR6.170623.013 8.0 Aug. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPR4.170623.006 8.0 Sept. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPR4.170623.009 8.0 Oct. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPR6.170623.023 8.0 Nov. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    ***Android 8.1 Oreo***
    OPM1.171019.011 8.1 Dec. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPM3.171019.013 8.1 Jan. forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    DEVELOPER PREVIEW DOWNLOADS FOR NOUGAT & OREO
    Android Nougat 7.1 Developer Preview
    NPF10C (DP1) forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NPF26F (DP2) forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android Nougat 7.1.2 Developer Preview
    NPG05D (DP1)-forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    NPG47I (DP2)-forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android 8.0 Developer Preview
    OPP1.170223.012 DP1- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPP2.170420.019 DP2- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPP3.170518.006 DP3- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPP4.170623.014 DP4- forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link

    Android Oreo 8.1 Developer Preview
    OPP5.170921.005 DP5 - forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    OPP6.171019.012 DP6 - forced encryption disabled - link / forced encryption disabled & dm-verity disabled - link
    7
    How do you disable dm-verity in the boot.img just out of interest?

    Once the boot.img file has been extracted (like with the Android Image Kitchen I have linked in the OP), It's simply editing 2 lines. Within the ramdisk folder resides the fstab.bullhead file (file system table). Lines 6 & 7 are edited so that everything after the word "wait," in both lines is deleted. It's super simple, and I can't take any credit for any of this. @Tigerstown showed me what to do, I simply just do it for any new firmware to make it easy for people who want stock kernels and want to keep decrypted and/or dm-verity disabled. See below-
    From this:
    Code:
    /dev/block/platform/soc.0/f9824900.sdhci/by-name/system       /system         ext4    ro,barrier=1,inode_readahead_blks=8                             [B]wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata[/B]
    /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor       /vendor         ext4    ro,barrier=1,inode_readahead_blks=8                             [B]wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata[/B]
    To this:
    Code:
    /dev/block/platform/soc.0/f9824900.sdhci/by-name/system       /system         ext4    ro,barrier=1,inode_readahead_blks=8                             [B]wait,[/B]
    /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor       /vendor         ext4    ro,barrier=1,inode_readahead_blks=8                             [B]wait,[/B]
    5
    OPM7.181205.001, Dec 2018

    incase someone still need this.
    p.s. currently using forceencrypt_disabled_dm-verity_disabled, I didn't test forceencrypt_disabled
    4
    If anyone needs it, I'll have the img for today's update to 7.1.1. up in just a couple of hours once I'm home from work.
    4
    OPM3.171019.016, Mar 2018