[Kernel][E5823] Stock Kernel + SafetyNet Patch + DRM Fix /Nougat 2.33 & 0.160

Search This thread

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
Stock Kernel + SafetyNet Patch + DRM Fix

Use case for this kernel:
- If you want to stay completely stock, but have an unlocked bootloader, the SafetyNet is tripped which disables features such as Android Pay.
- This kernel is completely stock except for the addition of a patch that removes the SafetyNet check.
- This will not prevent SafetyNet from tripping for other reasons, like rooting.
- Now You can use Android Pay with an unlocked bootloader.

Installation:
- Installation using TWRP
- Installation via the bootloader
Code:
fastboot flash boot boot.img

Downloads: Dropbox; AndroidFileHost

Sourse: 32.3.A.2.33; 32.4.A.0.160; 32.4.A.1.54

I compiled the stock kernel and applied the SafetyNet patch by sultanxda.

DISCLAIMER:
No one is responsible for any damage caused to your device except You. You have been warned.
 

Attachments

  • Screenshot_20170602-215525.png
    Screenshot_20170602-215525.png
    106.1 KB · Views: 2,679
  • Screenshot_20170602-211734.png
    Screenshot_20170602-211734.png
    119.4 KB · Views: 2,678
  • Screenshot_20170602-211719.png
    Screenshot_20170602-211719.png
    67.2 KB · Views: 2,619
  • Screenshot_20170602-211748.png
    Screenshot_20170602-211748.png
    83.4 KB · Views: 2,448
Last edited:

NeoBeum

Senior Member
Feb 25, 2017
223
81
@NeoBeum
At me on stock firmware of Magisk, doesn't hide SafetyNet and therefore I compiled this kernel.
grab the recovery image I made and then flash it to recovery while you're using your kernel, then flash magisk I the fota/recovery partition recovery, then magisk will be able to capture the sepolicy it needs, then you should be able to flash a full ftf excluding FOTAKernel. to test, you'll have 2 recovery working. the one that's in the boot img, and recovery img.
I had this at the start, and once I got recovery to the recovery partition, ive been free to flash anything if I exclude the fotakernel wipe.

I had to add the fstab for the older Android versions. but I haven't included that in the prebuilt recovery.


magisk only needs to capture a pure system and boot image once, and it mirrors it. after that, you can load up modified kernels
 
Last edited:

dlee390

Senior Member
Nov 12, 2016
54
13
also, why doesn't this work with magisk like your other kernels for z5p and z5? thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Stock Kernel + SafetyNet Patch + DRM Fix

    Use case for this kernel:
    - If you want to stay completely stock, but have an unlocked bootloader, the SafetyNet is tripped which disables features such as Android Pay.
    - This kernel is completely stock except for the addition of a patch that removes the SafetyNet check.
    - This will not prevent SafetyNet from tripping for other reasons, like rooting.
    - Now You can use Android Pay with an unlocked bootloader.

    Installation:
    - Installation using TWRP
    - Installation via the bootloader
    Code:
    fastboot flash boot boot.img

    Downloads: Dropbox; AndroidFileHost

    Sourse: 32.3.A.2.33; 32.4.A.0.160; 32.4.A.1.54

    I compiled the stock kernel and applied the SafetyNet patch by sultanxda.

    DISCLAIMER:
    No one is responsible for any damage caused to your device except You. You have been warned.
    1
    @NeoBeum
    At me on stock firmware of Magisk, doesn't hide SafetyNet and therefore I compiled this kernel.
    1
    Can i flash and working with LOS 14.1?

    if they haven't made a recovery for LOS, I'll have a recovery twrp port for it after the Z5C gets official support for the Omni base, AOSP is completed, but there's no room on their build server for new AOSP devices
    1
    Upd 32.4.A.0.160