FORUMS
Remove All Ads from XDA

[KERNEL] [NMF26U] [Jan 4] Stock Kernel + SafetyNet Patch

288 posts
Thanks Meter: 137
 
By Sakete, Senior Member on 9th December 2016, 03:31 AM
Post Reply Email Thread
Stock Pixel/PixelXL Kernel + SafetyNet Patch
Current version: android-msm-marlin-3.18-nougat-mr1
Suitable for build: NMF26U
Security patch level: January 5, 2017


I compiled the stock kernel for the Pixel/PixelXL (they both use the same kernel) and applied the SafetyNet patch by sultanxda. The kernel name says marlin, but this also works on sailfish. Google just created one kernel that works on both sailfish (Pixel) and marlin (Pixel XL) devices.

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.
- If you do not have an unlocked bootloader there is no need to use this kernel. It's exactly the same as the kernel included in the stock builds, except with the addition of the SafetyNet patch.

Installation:
- Download attached .zip and unzip into a folder
- Reboot device into bootloader (power down device, then Power + Volume down)
- Connect device to computer
- Verify connection by typing 'fastboot devices'. Your device should show up (check serial number)
- Enter command: fastboot flash kernel <kernel_image>
- Once flashing is complete, enter command: fastboot reboot
- Disconnect device and wait for reboot sequence to complete.
- You now have a stock Pixel with an unlocked bootloader that can use Android Pay

**WARNING**
If flashing this kernel for whatever reason ruins your device, please don't hold me accountable. Use this at your own risk!


And otherwise, I'm not a professional developer, just a hobbyist. Please don't ask me for a ton of help, I only created this kernel because I want to run completely stock, but still use Android Pay while having an unlocked bootloader in case I ever decide to root my device in the future (am running a Verizon Pixel). I will try to maintain this kernel with each new release until I lose interest

Downloads:
NMF26U
All versions
The Following 19 Users Say Thank You to Sakete For This Useful Post: [ View ] Gift Sakete Ad-Free
 
 
9th December 2016, 03:34 AM |#2  
joetheshmo's Avatar
Senior Member
Flag Santa Cruz, CA
Thanks Meter: 813
 
More
If one wants to stay completely stock wouldn't they just keep bootloader locked?
Edit: nevermind seems like this will cater to Verizon pixel owners since you can't unlock the bootloader on latest build. Good job!

Sent from my Pixel using Tapatalk
The Following 2 Users Say Thank You to joetheshmo For This Useful Post: [ View ] Gift joetheshmo Ad-Free
9th December 2016, 04:08 AM |#3  
Senior Member
Thanks Meter: 167
 
More
Quote:
Originally Posted by joetheshmo

If one wants to stay completely stock wouldn't they just keep bootloader locked?
Edit: nevermind seems like this will cater to Verizon pixel owners since you can't unlock the bootloader on latest build. Good job!

Sent from my Pixel using Tapatalk

Yep, let's us unlock the bootloader in case we need it in the future, without committing to any mods or losing Android Pay just yet.
9th December 2016, 04:46 AM |#4  
jay661972's Avatar
Senior Member
Flag San Diego CA
Thanks Meter: 839
 
More
Stock + Safetynet patch.... Finally.

Thank you
9th December 2016, 08:33 AM |#5  
shinesthru's Avatar
Senior Member
Flag St. Paul, MN
Thanks Meter: 1,238
 
More
Thanks for sharing your work, OP.

Sent from my Pixel using Tapatalk
9th December 2016, 03:16 PM |#6  
Senior Member
Flag Bay City, MI
Thanks Meter: 46
 
More
Any chance of you turning this into a flashable TWRP zip? Then I could run ElementalX and root when I want to, and flash back to stock if I want to, all from my phone, in a single reboot.
9th December 2016, 03:32 PM |#7  
jay661972's Avatar
Senior Member
Flag San Diego CA
Thanks Meter: 839
 
More
Just want to confirm that this is for Sailfish also. The name of the file is marlin and just want to make sure. Thanks
9th December 2016, 04:38 PM |#8  
quangtran1's Avatar
Senior Member
Thanks Meter: 236
 
More
@Sakete, I appreciate your attitude.... You need something, you just make it.
9th December 2016, 04:49 PM |#9  
OP Senior Member
Thanks Meter: 137
 
More
Quote:
Originally Posted by jay661972

Just want to confirm that this is for Sailfish also. The name of the file is marlin and just want to make sure. Thanks

Yes, it will also work on sailfish. Sailfish and marlin both use the same kernel. I installed it last night on my own Pixel (sailfish) and it works great, no issues so far (and am not expecting any since it's just stock + safety net bypass patch)

Sent from my Pixel using Tapatalk
The Following User Says Thank You to Sakete For This Useful Post: [ View ] Gift Sakete Ad-Free
9th December 2016, 04:57 PM |#10  
quangtran1's Avatar
Senior Member
Thanks Meter: 236
 
More
Your Verizon Pixel can be unlocked and rooted, yet Android Pay works. What else can you want, right?
9th December 2016, 05:05 PM |#11  
jay661972's Avatar
Senior Member
Flag San Diego CA
Thanks Meter: 839
 
More
Quote:
Originally Posted by Sakete

Yes, it will also work on sailfish. Sailfish and marlin both use the same kernel. I installed it last night on my own Pixel (sailfish) and it works great, no issues so far (and am not expecting any since it's just stock + safety net bypass patch)

You are right there should have no issues at all since the change was the safetynet patch.
Thanks for this..
Post Reply Subscribe to Thread

Tags
kernel, safetynet, stock

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes