*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
*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).
- Huge thanks to @_LuK1337_ for ih8sn
**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
Step 1: Get OxygenOS Build Fingerprint and Model Number
- Be on OxygenOS 11 and Enable Developer Options
- Enable USB Debugging and Allow USB Debugging? to ALWAYS
- On your PC, go to your ADB folder and type in CMD/Powershell:
Code:
adb shell
- On adb shell (OnePlus8:/ $), type and enter
Code:
adb shell OnePlus8:/ $ getprop ro.build.fingerprint
- 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
- 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
*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
- Extract the OP8.zip
- Open the extracted folder and go to "etc" folder
- Edit ih8sn.conf using Notepad
- 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
Step 3: Installing it on LineageOS or Other
- Fresh Install LineageOS and GApps
- Go to Settings and Enable Developer Options
- Enable USB Debugging and set Allow USB Debugging? to ALWAYS
- Enable Rooted Debugging underneath USB Debugging
- Now plug in OnePlus 8 to PC and extract OP8.zip if you haven't yet.
- Open extracted folder and open CMD/PowerShell from the folder
- Now run these commands one by one:
-
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/
- After each and every command is done, reboot device. AND KABOOOOOOM!!! DONE!!!
If SafetyNet didn't pass:
- Try changing Model Number in PRODUCT_NAME=
CREDITS:
- Huge thanks to @ihfandicahyo on Twitter for helping me pass it!- Huge thanks to @_LuK1337_ for ih8sn
Attachments
Last edited: