[GUIDE][ih8sn] Pass SafetyNet without Magisk/ROOT

Search This thread
*It only works on ROMS with no SafetyNet that has "root debugging" in developer options, ex: LineageOS
**Also refer to post #10 if you would like a flashable version of this method. Credits to @huskydg

Requirements:

  • download OP8.zip
  • Stock OxygenOS Build Fingerprint and Model Number
  • ADB and Fastboot Drivers
*This step is for non-T-Mobile OnePlus 8, if you have a T-Mobile OnePlus 8 (IN2017) skip step 1 and 2.

Step 1: Get OxygenOS Build Fingerprint and Model Number

  1. Be on OxygenOS 11 and Enable Developer Options
  2. Enable USB Debugging and Allow USB Debugging? to ALWAYS
  3. On your PC, go to your ADB folder and type in CMD/Powershell:
    Code:
    adb shell
  4. On adb shell (OnePlus8:/ $), type and enter
    Code:
    adb shell
    OnePlus8:/ $ getprop ro.build.fingerprint
  5. You would then get your build fingerprint (keep in mind, build fingerprints differ from each Model Number) and store it in Notepad. For Example:
    Code:
    OnePlus/OnePlus8_EEA/OnePlus8:11/RP1A.201005.001/2012102310:user/release-keys
  6. Find your Model Number in this table and store it in the same Notepad as the build fingerprint: For example, for T-Mobile is IN2017
Screenshot (126).png


*AGAIN this step is for non-T-Mobile OnePlus 8, if you have a T-Mobile OnePlus 8 (IN2017) skip this step because the OP8.zip is already configured for T-Mobile OnePlus 8 (IN2017).

Step 2: Configuring the OP8.zip

  1. Extract the OP8.zip
  2. Open the extracted folder and go to "etc" folder
  3. Edit ih8sn.conf using Notepad
  4. Replace the BUILD_FINGERPRINT with the build fingerprint you did in Step 1 and the PRODUCT_NAME with the Model Number your OnePlus 8 has

Screenshot (127).png


Step 3: Installing it on LineageOS or Other

  1. Fresh Install LineageOS and GApps
  2. Go to Settings and Enable Developer Options
  3. Enable USB Debugging and set Allow USB Debugging? to ALWAYS
  4. Enable Rooted Debugging underneath USB Debugging
  5. Now plug in OnePlus 8 to PC and extract OP8.zip if you haven't yet.
  6. Open extracted folder and open CMD/PowerShell from the folder
  7. Now run these commands one by one:
  8. Code:
    adb wait-for-device root (Allow Yes to USB Debugging? to ALWAYS)
    adb wait-for-device remount
    adb wait-for-device push etc/60-ih8sn.sh /system/addon.d/
    adb wait-for-device push ih8sn /system/bin/
    adb wait-for-device push etc/ih8sn.rc /system/etc/init/
    adb wait-for-device push etc/ih8sn.conf /system/etc/
  9. After each and every command is done, reboot device. AND KABOOOOOOM!!! DONE!!!

If SafetyNet didn't pass:

  • Try changing Model Number in PRODUCT_NAME=
For example: IN2017 -> OnePlus8TMO, IN2013 -> OnePlus8EEA=not sure about this one if its the same model number or not


Screenshot (128).png


CREDITS:​

- Huge thanks to @ihfandicahyo on Twitter for helping me pass it!
- Huge thanks to @_LuK1337_ for ih8sn
 

Attachments

  • Screenshot_20220525-232602_Google_Play_Store[1].png
    Screenshot_20220525-232602_Google_Play_Store[1].png
    145.5 KB · Views: 482
Last edited:

CK0y0TE

Member
Feb 6, 2014
7
0
I am still trying this on a Motorola One Action "Troika XT2013-2" with latest 19.1 Lineage but it is not working. Double checking every thing. All files look OK, checked for weird markups and linefeed/cariageR but I cant see anything wrong.
When booting it first shows "OS Fingerprint: NA" shortly and then continues to boot. Debugging with root enabled.
Is the string for _SECURITY_PATCH_DATE and _VERSION_RELEASE relevant? What do I enter?
 
Last edited:
I am still trying this on a Motorola One Action "Troika XT2013-2" with latest 19.1 Lineage but it is not working. Double checking every thing. All files look OK, checked for weird markups and linefeed/cariageR but I cant see anything wrong.
When booting it first shows "OS Fingerprint: NA" shortly and then continues to boot. Debugging with root enabled.
Is the string for _SECURITY_PATCH_DATE and _VERSION_RELEASE relevant? What do I enter?
I have only tested this on 18.1 because no build no 19.1 build yet for OnePlus 8, however, try putting these values BUILD_SECURITY_PATCH_DATE=2021-11-02 and for BUILD_VERSION_RELEASE=11 (if latest firmware is Android 11) or BUILD_VERSION_RELEASE=12 (if latest firmware is Android 12) hope this helps
 
I am still trying this on a Motorola One Action "Troika XT2013-2" with latest 19.1 Lineage but it is not working. Double checking every thing. All files look OK, checked for weird markups and linefeed/cariageR but I cant see anything wrong.
When booting it first shows "OS Fingerprint: NA" shortly and then continues to boot. Debugging with root enabled.
Is the string for _SECURITY_PATCH_DATE and _VERSION_RELEASE relevant? What do I enter?
Also replace your product name with this, PRODUCT_NAME=XT2013-2
 
No this method does not require root. In LineageOS, there is an option in developer settings called "Root Debugging". You can also find this option in some roms, from what I am aware of besides LineageOS that has it is HavocOS. But HavocOS already has safetynet so no need to do this guide.
 

pati--patou

New member
Jul 11, 2011
2
0
Brusels
Thanks for the work,

I tried the injectprop, I used /zFM to update the props ( I also set `inject_props=1`)

I sideload the zip using the lineage recovery and adb: it looked like it worked (it said "all done" without error message but the signature issue)

BUT

when I run Safetynet test (2022) it does find the pervious fingerprint

any idea of what could have failed ?

----
Phone; oneplus6 A6003
Rom: lineage-19.1-20220830-nightly-enchilada-signed
recovery: lineage-19.1-20220830-recovery-enchilada
props

note: the last oxygenOS is on Android 11 (so I copied the verison 11 in the props) but lineage is version 12
```
BUILD_FINGERPRINT=OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys
BUILD_DESCRIPTION=OnePlus6-user 11 RKQ1.201217.002 2111252325 release-keys
BUILD_SECURITY_PATCH_DATE=2021-11-01
BUILD_VERSION_RELEASE=11
BUILD_VERSION_RELEASE_OR_CODENAME=11
MANUFACTURER_NAME=OnePlus
PRODUCT_NAME=A6003
BUILD_TAGS=release-keys
BUILD_TYPE=user
DEBUGGABLE=0
```
 

Eric_Lev

Senior Member
Jan 27, 2019
1,386
2,575
Angers
sourceforge.net
Thanks for the work,

I tried the injectprop, I used /zFM to update the props ( I also set `inject_props=1`)

I sideload the zip using the lineage recovery and adb: it looked like it worked (it said "all done" without error message but the signature issue)

BUT

when I run Safetynet test (2022) it does find the pervious fingerprint

any idea of what could have failed ?

----
Phone; oneplus6 A6003
Rom: lineage-19.1-20220830-nightly-enchilada-signed
recovery: lineage-19.1-20220830-recovery-enchilada
props

note: the last oxygenOS is on Android 11 (so I copied the verison 11 in the props) but lineage is version 12
```
BUILD_FINGERPRINT=OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys
BUILD_DESCRIPTION=OnePlus6-user 11 RKQ1.201217.002 2111252325 release-keys
BUILD_SECURITY_PATCH_DATE=2021-11-01
BUILD_VERSION_RELEASE=11
BUILD_VERSION_RELEASE_OR_CODENAME=11
MANUFACTURER_NAME=OnePlus
PRODUCT_NAME=A6003
BUILD_TAGS=release-keys
BUILD_TYPE=user
DEBUGGABLE=0
```
Try this one ... https://forum.xda-developers.com/t/rom-official-hotdogb-12-lineageos-19.4509251/post-87666693
 

Top Liked Posts