Where can I find the Pixel XL kernel source?

DanRyb

Senior Member
Jun 6, 2010
521
126
0
Los Angeles
Speaking of kernel source is there any information on building a kernel with dm-verity disabled? I don't really "need" root/SuperSU per se but I do like to make changes to the /system partition (replace hosts file, some font files and the Emoji font file) and of course if I do that on 7.0+ without dm-verity patched, my changes don't "stick."
 

BDogg718

Senior Member
Apr 12, 2011
1,364
4,742
0
Slaughtermore
Speaking of kernel source is there any information on building a kernel with dm-verity disabled? I don't really "need" root/SuperSU per se but I do like to make changes to the /system partition (replace hosts file, some font files and the Emoji font file) and of course if I do that on 7.0+ without dm-verity patched, my changes don't "stick."
You could try this. https://review.lineageos.org/#/c/155400/ . And in kernel source find file "drivers/md/dm-android-verity.c" and find this line "int retval = -EINVAL;" . Example in Lineage kernel it on line 370. On line 372 put in "return VERITY_STATE_DISABLE;" save and build. BTW, I have not personally done this. Just trying to help. :)
 
  • Like
Reactions: DanRyb