yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 General] lettucecube:
This is great, I mistakenly once thought that by adding all lines (buil and product) you could spend safetynet but never gave it importance, now I see that I was right

This line to the build.prop of motorola G3 1GB US

ro.product.name=osprey_retus
ro.product.device=osprey_umts
ro.build.product=osprey_umts
ro.build.fingerprint=motorola/osprey_retus/osprey_umts:6.0/MPI24.65-25.1/1:user/release-keys

Thank you very much, I am trying to create a module but I will delay because I work and study
[Moto G 2015 General] IronTechmonkey:
Thanks [MENTION=8142843]lettucecube[/MENTION] for sharing this (I have the same US retail XT1540 device), and big thanks to [MENTION=6217614]coolguy_16[/MENTION] for the thread. While I'm at it, thanks also [MENTION=7868666]Subins Mani(Tintumonn)[/MENTION] for an old related jira ticket which was productive and informative even though it was rejected (actually because it was rejected), and thanks [MENTION=2945516]KrisM22[/MENTION] for giving Netflix a test. As yet it is only Netflix in Playstore that I would need this for and there is a workaround for that so I may wait a while before trying this, but it's nice to know that this works for that as well.
[Moto G 2015 General] KrisM22:
I downloaded the archive for the US 1GB Moto G3 and agree that the fingerprint is

ro.build.fingerprint=motorola/osprey_retus/osprey_umts:6.0/MPI24.65-25.1/1:user/release-keys

I suggest simply adding that one line to the top of the LinOS build.prob at /system/build.prop
[Moto G 2015 General] IronTechmonkey:
Thanks for the tip. Less is probably safer in a case like this (buildprop editing). Also, [MENTION=6217614]coolguy_16[/MENTION] et al, maybe we could put all these device specific lines in the OP or in one of the thread posts and have a link to that post in the OP.
[Moto G 2015 General] coolguy_16:
Yes it will work.

You can even use my build.prop values from OP.

I know it's a different device but safetynet for now only seems to be checking for a valid fingerprint value.

So, as long as you are using a valid fingerprint value, anything will work.
[Moto G 2015 General] coolguy_16:
I was thinking of doing that. I was initially trying to make a point that any fingerprint value will work.

I do hope people will get this fact even though they don't get their device fingerprint values.
[Moto G 2015 General] Subinsmani:
yeh its give me full happy... :P... it passs all safety net test and in playstore also showing that device status is certified... but for app app like payment and super mario.(m not fan of this game :p) this fingerprint is not fine.. they also test from bootloader also i think... but on stock rom this all are working... some more..

but m very happy that atlast safteynet has pssed..

for this we need magisk also...

thank u [MENTION=6217614]coolguy_16[/MENTION] for this wonderful guide... :)
[Moto G 2015 General] rahul9999:
Hi Friends.. Anyone from India can please check is Hike messenger is working fine after pass safety net ?
[Moto G 2015 General] Subinsmani:
not wrking... i think there is no link hike messenger to safetynet. because hike messenger is not supporting with android nougat...
[Moto G 2015 General] KrisM22:
Yeah, definitely. You could list the ones we have in the first post and then say if your phone isn't here just grab any one.
[Moto G 2015 General] rahul9999:
Ok thanks for the confirmation :good:
[Moto G 2015 General] coolguy_16:
OP updated. Feel free to tell if I've missed something there.
[Moto G 2015 General] IronTechmonkey:
I got the the the point about any fingerprint value working... because you did explain it :). I was just thinking that it might be marginally safer to have the line more closely match the device - to prevent as yet unseen problems beyond getting safety-net to work. Also, there is no need for you to have to harvest the various names from the thread yourself. I'm sure I'm not the only person who would be willing to gather the ones that have been reported into one post which would then be easier for you to add to the OP, along with [MENTION=2945516]KrisM22[/MENTION]'s suggestion about the wording. Thanks again for setting this up!

[EDIT] D'oh! We cross posted and you've already modified the OP. Thanks! (this thread is killing official TYs).

Also a question for those who have tried this in LOS 14.1 without SU: Does the LOS14.1 ROM without any SU package pass safety-net or would that also require this tweak?
[Moto G 2015 General] Subinsmani:
I have test no rooted device,,, yes it pass safety net and in play store it shows that ur device is certified,,, but only app is not working...
[Moto G 2015 General] KrisM22:
Very nice rewrite of OP!!!!!!!!!!!!!! :)
[Moto G 2015 General] coolguy_16:
Well this was bound to happen sooner or later. Read this-

http://www.androidpolice.com/2017/0...app-availability-devices-dont-pass-safetynet/
[Moto G 2015 General] KrisM22:
all workarounds will eventually be blocked - enjoy it while you have it.
[Moto G 2015 General] KrisM22:
EDIT: ignore this - see post 51 for an easier MORE EFFECTIVE approach!

----------------------------------

Before you try this do a current nandroid backup in TWRP. I hosed my ROM many times in trying to get it to work right.

The purpose of this is to add your fingerprint mod to /system/build.prop by flashing the below zip.

The zip you will flash in TWRP can be found at post #153 in

https://xdaforums.com/showthread.php?t=2664332&page=16

5._MOD_build_prop.zip

Grab it!!!

Your mod is in tweak.prop

Create it as tweak.txt and then after you have edited it, rename it to tweak.prop

It's contents will look like

BACKUP=n

ro.build.fingerprint=motorola/osprey_retus_2gb/osprey_u2:6.0/MPI24.65-25/28:user/release-keys

Assure that there is an

EXTRA

carriage return(enter)

afte

r BACKUP=n, and again

after

your fingerprint mod.

Replace the fingerprint I used above with your own.(if you wish)

Be wary of typos as you will have to restore your nandroid and start over.

I actually put a copy of this on both Internal Storage,

and

the SDcard.

reference post #182 at https://xdaforums.com/showthread.php?p=72342981#post72342981

It puts the mod at the end of /system/build.prop

Soooooooo - when you're all set up, just boot to TWRP and flash the above zip and hopefully you have done everything correctly.

I have attached my tweak.txt - don't forget to rename it to tweak.prop or the flash will crash and you'll have to restore the nandroid.

-
[Moto G 2015 General] coolguy_16:
I have updated OP with link to your method.

And..

https://play.google.com/store/apps/details?id=com.iponyradio.integritytest

https://play.google.com/store/apps/details?id=com.iponyradio.uncertifiedtest

These apps show "Not compatible" if device is uncertfied or doesnt pass safetynet. They are only for testing,nothing else.

They implement the new Developer console tools provided by google for checking device status.

I checked it on my other rooted phone and it did show up as not compatible on playstore.
[Moto G 2015 General] Subinsmani:
He he he what a joke, i tested the above above app on unrooted device and i didn't enter fingerprint on my build.prop....

Joke is that this two app compatible with my safetynet failed device... :P

but still why SBI Pay is not working dont know. for this app i need to go Stock android every month.

I have check this app on magisk module also. on that app is not showing any error message by app is not opening it stuck on welcome screen.
[Moto G 2015 General] coolguy_16:
Well until now people have had mixed results.

Many people on reddit had failures even though their device was completely stock and unmodified. Some people (like you) still were able to install these apps even though their device showed "Uncertified".

In my personal tests too one device failed and other device passed. My friend too wasnt able to install these apps on his modified device.

And about SBI pay.. See the screenshots i'm attaching. Second Screenshot is after enabling Magisk hide specifically for the app.
[Moto G 2015 General] Subinsmani:
OOps for me it didn't go to next screen :P.I have install magisk module 4 days ago and m not sure on what screen it stuck. but it not proceeding....

SBI Service + app is very very crappy.. :P
[Moto G 2015 General] KrisM22:
Is SBI pay checked in Magisk Mgr / settings / Magisk Hide ?
[Moto G 2015 General] Subinsmani:
yes yes..
[Moto G 2015 General] lettucecube:
Module for Magisk

Well, this is a module I did, it solves problems with build.Prop as well as problems with system integrity and Play Store certification

Only have installed Magisk in latest version

Not having supersu installed (Just have installed MagiskSu)

- How to -

Flash from TWRP or from "Magisk Manager app > Modules > (+)"

Reboot

NOTE: If you have got SuperSU or Xposed, you will get CTS profile mismatch, so uninstall them & reflash Magisk to get MagiskSU

After installing the module can takes some time to appear as certificate in the Google Play Store

If it still does not work delete all data from "google play store" and "google play services"

Magisk credit [MENTION=4470081]topjohnwu[/MENTION]
[Moto G 2015 General] KrisM22:
SUPURB WORK!

Did clean flash incl system, flash ROM and gapps and boot to let it install to desktop.

Playstore installed Magisk, d/l magisk zip, boot to TWRP and flash it,

While still in TWRP flash SafetyMotoG2015.zip from above

reboot

Set Magisk/3 bars/settings/Magisk Hide ON.

Unless I'm forgetting something, PokemonGo worked fine but I had to wait a bit for Play Store to show Netflix. Don't know how long as I restored to old system, used it, then restored back to test and it was there.
[Moto G 2015 General] coolguy_16:
Wow man.. Thanks for creating this Magisk module. I'll add the link to OP.

For those interested, this module just sets the fingerprint value to

ro.build.fingerprint=motorola/osprey_retus/osprey_umts:6.0/MPI24.65-25.1/1:user/release-keys

You can change this value by opening the system.prop file located in "common" folder of the Magisk module zip. Open it in any text editor and change the value to whatever you need.

Edit- Attached the same module with modified value for XT1550(2GB).Tested and works.
[Moto G 2015 General] KrisM22:
Interesting - this does not change /system/build.prop . Seems very nice!!!
[Moto G 2015 General] coolguy_16:
This is what I love about Magisk. Changes made by Magisk are easily revertible and don't affect actual system files.

In this case, Magisk creates a pseudo build.prop for the system without modifying the actual one and making the system use the pseudo one.
[Moto G 2015 General] KrisM22:
Much appreciate the education!!! :)
[Moto G 2015 General] Subinsmani:
hurrrreeeyy now i can open sbi pay app easily... thank to allll....

thanks [MENTION=8142843]lettucecube[/MENTION], [MENTION=2945516]KrisM22[/MENTION] and [MENTION=6217614]coolguy_16[/MENTION]
[Moto G 2015 General] KrisM22:
YAY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :)
[Moto G 2015 General] fersy:
Sounds really great... How to completely remove Superuser from prerooted roms like CrDroid?

Thanks
[Moto G 2015 General] Subinsmani:
told ur dev to remove superusser from ur rom and ship with magisk...

let see what his response..

because once u remove it manually but on every update u need to do this.. so it is good to get magisk su insted of supperuser
[Moto G 2015 General] fersy:
Ok... im going to ask

But for simple testing if its working on my motoZ

Do i only have to remove su file in system/bin and system/xbin?

Then flashing magisk and edit my build.prop?

or flashing the tweakprop.zip?

Thanks
[Moto G 2015 General] fersy:
I flashed pure Nexus Rom on my MotoZ Griffin

Rooted with Magisk

and now?

Can anybody give me advice how to edit my build.prop

Thanks a lot
[Moto G 2015 General] KrisM22:
Switch from official TWRP to squid TWRP and prob solved.
[Moto G 2015 General] coolguy_16:
Now just add "ro.build.fingerprint" value from your stock ROM build.prop to your current PureNexus build.prop. Then enable Magisk hide and reboot to see if it worked.

IIRC.. Newer devices have an additional layer of checking for bootloader status. I believe this can easily be circumvented with a custom kernel. (Try this if above method fails)

Do you mean to say official TWRP installs SuperSU?
[Moto G 2015 General] KrisM22:
This goes back a bit but I believe it did.
[Moto G 2015 General] coolguy_16:
Well it used to a long time ago. Present TWRP builds don't do that. Now they only nag you about installing official twrp app which does go away after you dismiss it.
[Moto G 2015 General] fersy:
Ok thanks... I will try... But first i have to get an original build.prop

Because i don't have a Backup of StockRom
[Moto G 2015 General] KrisM22:
This was 2-3 months ago. Mar 13,2017

Lineage is unrooted and I know that when I flashed it with official twrp I was rooted. Not so with squid.

Yes it wants the TWRP app.
[Moto G 2015 General] justjr:
TWRP don't install SuperSU, you can just go to options and disable it from asking you to install TWRP app too. Not the problem here.
[Moto G 2015 General] fersy:
ok... only adding ro.build.thumbprint is not working

you thought on which kernel?
[Moto G 2015 General] coolguy_16:
After adding ro.build.fingerprint value, did you enable Magisk hide?

Well as for kernel, look here

Well even after that if it doesn't work, then sorry I can't suggest anything else.
[Moto G 2015 General] IronTechmonkey:
Just an FYI in regards to the deeper hiding of SU in this weeks Osprey build: https://xdaforums.com/showpost.php?p=72406489&postcount=4705]. Perhaps that will make passing safetynet easier to do.

[EDIT] Corrected above link. Thanks [MENTION=7868666]Subins Mani(Tintumonn)[/MENTION].
[Moto G 2015 General] coolguy_16:
Even I was waiting for the commit to appear in a build.

Since you are using it, can you test that playstore shows "certified" or uncertified.

I saw your post and wanted to ask that did you reboot after disabling root?
[Moto G 2015 General] IronTechmonkey:
D'oh! Apologies, I forgot to mention that. Thanks for the reminder. With the LOS SU package installed and with Root enabled the device is "Certified" in Playstore > Settings > Device certification (even though Netflix is not visible).
[Moto G 2015 General] Subinsmani:
no see the commit message... still device is uncertified.. so i just drop this fingerpiring to the message box.. i think they dont like it... [emoji14]
[Moto G 2015 General] IronTechmonkey:
I linked to the wrong post but thanks to your note corrected it. Here is the link to the new commit for Osprey https://review.lineageos.org/#/c/172881 which should be in next build.
[Moto G 2015 General] Subinsmani:
yes see the commit mesaages :p...
[Moto G 2015 General] IronTechmonkey:
In regards to safety net and the new commit that "hides" SU (borrowing from my post in the main Osprey LOS 14.1 thread): For what this is worth: I've flashed May 25 LOS build with OpenGapps Pico May 25 and LOS SU on both Osprey and Peregrine. With root enabled for apps: On Peregrine Playstore reports device certified but on Osprey it reports as uncertified. I dont know what the differences are between the way that commit was implemented between the 2 devices.

[EDIT] Where this may make a difference: The Osprey device has no SIM while the Peregrine devices does have a SIM.
[Moto G 2015 General] KrisM22:
SIM?
[Moto G 2015 General] IronTechmonkey:
SIM card (Subscriber Identity Module). Not the quad-coptor Sim(ulator) I may have mentioned in the past :). Presence of SIM should not matter but mentioned just in case there is some dependency on cellular service for this.
[Moto G 2015 General] KrisM22:
And you.re saying the Osprey has no SIM?????? What.s that funny little card that I have in there? Beside the SDcard. That I swap from one phone to another. Connects me to my carrier.
[Moto G 2015 General] IronTechmonkey:
... and the SIM is removable and can be swapped to other devices as easily as the SD card. My SIM lives in Peregrine as implied here: https://xdaforums.com/showpost.php?p=72432345&postcount=78, and it has also lived in Otus.

Before we go too far laterally, I want to get back to the point that; I mentioned the state of SIM only in case there is a dependency on connection to cellular network in re safeteynet, but would expect it (absence of SIM) not to be a factor since the range of devices affected by Google's shenanigans (and perhaps the SU hide commit) could include Wifi only tablets.
[Moto G 2015 General] KrisM22:
Oh. So why does mine work and yours not. Or

do you have root on osprey.
[Moto G 2015 General] IronTechmonkey:
https://xdaforums.com/showpost.php?p=72432249&postcount=4735, consistent with your tests here: https://xdaforums.com/showpost.php?p=72433037&postcount=4743. Again closing with the salient point: That cellular network connection should be watched as a potential factor (which I'll test for in Peregrine clean flash as described in a previous post).
[Moto G 2015 General] Malgotra:
Can we flash module (via TWRP) while flashing magisk?
[Moto G 2015 General] KrisM22:
I believe that works - I did it and had problems but I think that it was just that I didn't wait long enough for playstore to "wake up".
[Moto G 2015 General] Malgotra:
OK. I will try it later today to check is it successfully work or not.
[Moto G 2015 General] Ardany Jolón:
Thanks a lot, tested the file for XT1540 from 2G in 1G and it worked the same way (Do you think there might be any inconvenience in having it like this?).

I also did what you did on an LG device (with its respective fingerprint) and it worked perfectly.
[Moto G 2015 General] KrisM22:
I don't think it matters what the fingerprint says as long as it's valid for some phone.
[Moto G 2015 General] Ardany Jolón:
OK thanks!
[Moto G 2015 General] KrisM22:
By the by, if anyone cares, I flashed official TWRP and ran a bunch of tests (2 more testbeds) and I see no difference in how sefetynet acts vs squid's. I flashed back to squid's.
[Moto G 2015 General] Subinsmani:
for regards safetynet lineage team post on their blog...

please read it will get helpfull...

https://www.lineageos.org/Safetynet/
[Moto G 2015 General] KrisM22:
Magisk and the Magisk module no longer works for me. I believe I saw a google change come in a few days ago.
[Moto G 2015 General] IronTechmonkey:
I've seen peripheral reports of same in either Adaway or Afwall+ forums from people who use Magisk. I shake my fist at a google colored sky. Boogle!
[Moto G 2015 General] KrisM22:
I am now assuming that google is reading this.
[Moto G 2015 General] IronTechmonkey:
They dont have to, they can see it all anyhow. :silly:
[Moto G 2015 General] Subinsmani:
i assumed this will happen within a mnth after they remove magisk from playstore.

now it hppn..

as the source code of magisk is open source so google can read all and they can take measure for this...

[emoji14]
[Moto G 2015 General] KrisM22:
I tried to send you a PM but it failed.
[Moto G 2015 General] Subinsmani:
oops now u PM me.. :D
[Moto G 2015 General] KrisM22:
nope, get: Subins Mani(Tintumonn) has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.
[Moto G 2015 General] Subinsmani:
i have sent u pm... check that.. actually m in travel thats why there is some problems with network also so my message is delaying..
[Moto G 2015 General] KrisM22:
sent :)
[Moto G 2015 General] SayantanRC:
Read this everyone:

https://www.xda-developers.com/magisk-developer-assures-next-magisk-beta-will-pass-safetynet-again/
[Moto G 2015 General] RijuSarkar:
Not working in lineage os 8th June build...

I have used the zip..it is not working...

Then manually edited the build.prop...also not working..

Screenshots
[Moto G 2015 General] Subinsmani:
m just check only installing fingerprint by twrp... :laugh:
[Moto G 2015 General] coolguy_16:
While this method is great for users who don't want root, for root users..not so much.

Because of this safetynet dilemma, its great to see that custom ROM devs trying to implement features that required root to going rootless for the same feature.( A recent example can be rootless method to do a system UI restart or Substatum)

But in the end, one still ends up losing some features which root allowed us to enjoy. Frankly, if Google didn't make a feature to disable apps for rooted users, I would have been still happy with my current Magisk setup.

Lets hope Magisk v13 helps in bypassing Safetynet again.

PS: I think Magisk dev should make Magisk core features closed source. Its like asking Google to block Magisk easily. Magisk SU can remain open source though.
[Moto G 2015 General] rahul9999:
Thank you very much everyone who all are working in this project.. I'm able to pass safetynet In Latest Unofficial Purenexus Build using latest Magisk 13.0 & with safetynet pass flash file created for our phone.. & wholla I'm able to use Hike messenger now :laugh::fingers-crossed::highfive:

---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------

Thank you very much.. :fingers-crossed:
[Moto G 2015 General] RijuSarkar:
not working..........

i think as my gapps are 14 june build.....and google updated their play services recently.......its not working

Edit-i have updated to magisk v13...now it passes safety ney
[Moto G 2015 General] rahul9999:
Successfully passed safetynet on Latest lineageos build.. and able to Run Hike messenger.. :) Thanks all contributors once again.. :D ;)
[Moto G 2015 General] rahul9999:
Hi Try Latest Magisk Build https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589.. As per devloper he have fixed safety net pass issue in latest build,

I have successufully passed Safety Net on my Osprey XT1550 2GB RAM model using latest Lineageos build & Latest Magisk Build.. Now my play store says device is certified :victory:
[Moto G 2015 General] lettucecube:
Module

Well, this is the [MENTION=4476591]Deic[/MENTION] module modification, With modified fingerprint for motorola g (motorola/osprey_retus...), solve problems with build.Prop as well as problems with system integrity and Play Store Certification

Also has a modification to be able to watch videos in 1080p, 1440p(2K) and 4K in compatible devices

Only have installed Magisk in latest version

Not having supersu installed (Just have installed MagiskSu)

Working Magisk v12/13 Beta

- How to -

Flash from TWRP or from "Magisk Manager app > Modules > (+)

Reboot

NOTE: Does not work with Xposed or SuperSu, do not try

After installing the module can takes some time to appear as certificate in the Google Play Store

CREDITS: Creator of magisk [MENTION=4470081]topjohnwu[/MENTION]

Creator of module: [MENTION=4476591]Deic[/MENTION]

Unlock the maximum resolution on youtube. Based on XDA article.

thanks
[Moto G 2015 General] KrisM22:
Yep, works as advertised:

wipe dalvik/art,data,system,cache

flash 6-15 LinOS rom

flash gapps nano 6-15 (7.1 ARM)

boot/install

back to recovery to back it up.

boot and install magisk mgr from SDcard. (6-12 I think)

back to recovery and flash latest magisk zip (v13: 6-12)and the above magisk module.

Boot and Install TBPro - root is there.

Try google for n - get Netscape - this time I didn't have to wait but previous times I have.

Haven't checked Hide yet,default ON. but would have to for PoGo.

Thanks! Nice work!