From 260e2aab07ff0127aa3929d66ea8015f2a1e54c8 Mon Sep 17 00:00:00 2001 From: Mygod Date: Wed, 31 Aug 2022 13:05:21 -0400 Subject: [PATCH] Expand README even more --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 497470a..d0f33c5 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,21 @@ Run rooted Kotlin JVM code made super easy with coroutines and parcelize! Check out demo at `app` to see just how easy it is. Also check out more complicated demos: * [VPN Hotspot](https://github.com/Mygod/VPNHotspot) + +## Features + +* Supports coroutines +* Persistent root session that closes itself on inactive (optional and configurable) +* Works around not able to `exec` on certain devices running Android 5-7.1 + (See `RootServer.init#shouldRelocate` if you need this feature) + +## Private APIs used + +The following private platform APIs are invoked if you use `shouldRelocate = true` on Android 10+. +(So never under normal circumstances.) +API restrictions are updated up to [SHA-256 checksum `2886a24b6382be8751e86e3c355516c448987c3b0550eb8bb906a34490cfaa3c`](https://dl.google.com/developers/android/tm/non-sdk/hiddenapi-flags.csv). + +* `Landroid/os/SystemProperties;->get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;,sdk,system-api,test-api` +* `Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z,sdk,system-api,test-api` +* `Ldalvik/system/VMRuntime;->getCurrentInstructionSet()Ljava/lang/String;,core-platform-api,unsupported` +* `Ldalvik/system/VMRuntime;->getRuntime()Ldalvik/system/VMRuntime;,core-platform-api,unsupported`