[G2 Android Development] IT Tech:
Root Undetected - How To Get Root, Remove SuperSU and Pass SafetyNet Check

THANK YOU [MENTION=4433692]prsa01[/MENTION]

THANK YOU [MENTION=4742143]YoDevil[/MENTION]

As I mentioned in my previous post I had rooted the phone years ago with SuperSU. I recently flashed Magisk in TWRP but I was unable to obtain Root. I had to do a complete Un-Install of SuperSU (binaries, etc) through the apps settings to Un-Root.

HERE IS SOME USEFUL INFORMATION ABOUT UNINSTALLING SUPERSU:

Thank You to [MENTION=4480725]Shane[/MENTION] Britton, Developer/Recognized Contributor at XDA Developers (2015-present)

Posted May 14 2018

Uninstalling SuperSU typically refers to unrooting an Android device. There are two methods for doing this, depending on the type of method used to root your Android device:

1) If your device was rooted using the older system-mode method (mostly seen on devices running Android 5.1.1 and earlier versions), there is an option in the SuperSU root management app called Full Unroot. Selecting this option removes the superuser daemon and root binaries from your Android OS, effectively “unrooting” your device and fully uninstalling SuperSU.

2) If your device was rooted using the systemless root method (mostly used on devices running Android 6.0 and later versions), uninstalling the SuperSU root management app does not unroot your device. Since systemless root works by implementing root binaries into your Android OS by way of patching your device's boot image, unrooting your device is accomplished by flashing the stock boot image to your /boot partition, then performing a factory data reset. Flashing the stock boot image can be done by using a custom recovery such as TWRP, using fastboot mode, or by an on-device flashing app such as Flashify, Rashr, or Flashfire. The Official TWRP app can also be used on a rooted device to flash the stock boot image onto your /boot partition, all from the Android OS.

ALSO THANKS TO:

Mani Teja Posted May 25, 2018

Uninstalling SuperSU is quite simple. Follow the below steps to uninstall SuperSU on Android

1) Open “SuperSU” app.

2) Now go to the “Settings” tab.

3) After which, Scroll down and find the “Cleanup” option.

4) To uninstall SuperSU click on “Full Unroot”.

5) A prompt to confirm appears.

6) Tap “Continue”.

7) Now Reboot your phone and the SuperSU is successfully uninstalled.

Also:

To remove the SuperSU application installed on your device you can simply open it, you will see the granted apps. Look for "settings" tab and click on it, scroll down till you see "full unroot" .. if you click on it you will lose your root privilege as well as your SuperSU app which will be deleted from your phone.

********************************************************************************

My Steps after un-install of SuperSU:

1) Boot into TWRP and flash Magisk 18.1

2) Wipe Data, Dalvik, Cache

3) Reboot System

4) Install MagiskManager-v7.1.1 apk

5) Run MagiskManager-v7.1.1 apk and perform SafteyNet check on it's main page

BINGO!!!...…………. ROOT!!! and Passes the SafetyNet check

AS A SIDE NOTE FOR YOUR INFORMATION:

This may help others trying to clean-up and rid your LG G2 of SuperSU.

On my android Tablet I could not get SuperSU to uninstall because when I ran the SuperSU app it would say Root Undetected and would only show me a box on top of the main SuperSU window with a link that said "How To Root" and would not allow me to access the SuperSU app settings/main window. I installed ROOT CHECK, It showed ROOTED and then I was able to open the SuperSU app and access the SETTINGS to completely uninstall and Un-Root.

Hopefully this will help others ;) :good:

THANK YOU AGAIN GUYS!!! :good:

The attached picture is a screenshot of AospExtended-v6.7-vs980-20190830-1852-OFFICIAL ROM with ROOT and Passes SAFETYNET Check :