Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.21 KB

Unroot

Flashable ZIP to unroot Android. This was created originally as a clean way to unroot Fairphone 2 Open OS, that comes prerooted and with TWRP.

Removes bin/su and xbin/su binaries from /system, and some other configuration files if they exist. Unrooting is needed to pass SafetyNet requirements for some apps. Guide and motivation behind.

Build

Run:

make build

This will generate a emojione.zip in the build/ folder.

To make a public release, run:

make release

This will generate a unroot_YYYY-MM-DD.zip file in the release/ folder.

Install

You'll need a custom recovery installed on your device, such as TWRP.

Restart your device into recovery and start ADB sideload. Then run:

adb sideload <flashable-zip-name>

Alternatively, copy the resulting ZIP to your device storage, restart your device into recovery and use the GUI Install or Install ZIP option.