diff --git a/README.md b/README.md index 2bf86b5..d7d1476 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-S\google_apis_plays * [Inject Android Hardware USB HOST Permissions](https://github.com/newbit1/usbhostpermissons) * [XDA [SCRIPT] rootAVD - root your Android Studio Virtual Device emulator with Magisk [Android 11][Linux][Darwin/MacOS][WIN][Google Play Store APIs]](https://forum.xda-developers.com/t/script-rootavd-root-your-android-studio-virtual-device-emulator-with-magisk-android-11-linux-darwin-macos-win-google-play-store-apis.4218123) -### Magisk v22 Successfully tested with Stock Kernel on +### Magisk v22.1+ Successfully tested with Stock Kernel on +* [[Apr. 2021] - Android 12 (S) API 30 Google Apis Play Store x86_64 r03 Darwin/MacOS Production Build](https://dl.google.com/android/repository/sys-img/google_apis_playstore/x86_64-S_r03-darwin.zip) * [[Mar. 2021] - Android 12 (S) API 30 Google Apis Play Store x86_64 r02 Darwin/MacOS Production Build](https://dl.google.com/android/repository/sys-img/google_apis_playstore/x86_64-S_r02-darwin.zip) * [[Mar. 2021] - Android 12 (S) API 30 Google Apis Play Store x86_64 r01 Darwin/MacOS Production Build](https://dl.google.com/android/repository/sys-img/google_apis_playstore/x86_64-S_r01-darwin.zip) * [[Mar. 2021] - Android 12 (S) API 30 Google Apis Play Store x86_64 r02 Windows Production Build](https://dl.google.com/android/repository/sys-img/google_apis_playstore/x86_64-S_r02-windows.zip) @@ -113,6 +114,7 @@ rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-S\google_apis_plays ### Change Logs #### [Apr. 2021] +* [rootAVD.sh] - Added Android S rev 3 support * [General] - Added "InstallKernelModules" update/install custom build kernel and modules * [rootAVD.sh] - Added update_lib_modules function * [General] - Added "restore" to put back your backup files diff --git a/rootAVD.sh b/rootAVD.sh index 42f4f43..709887c 100755 --- a/rootAVD.sh +++ b/rootAVD.sh @@ -339,7 +339,7 @@ CopyMagiskToAVD() { echo "[-] Convert Script to Unix Ending" adb -e shell "dos2unix $ADBBASEDIR/rootAVD.sh" - + echo "[-] run the actually Boot/Ramdisk/Kernel Image Patch Script" echo "[*] from Magisk by topjohnwu and modded by NewBit XDA" adb shell sh $ADBBASEDIR/rootAVD.sh $@ @@ -897,7 +897,7 @@ InstallMagiskToAVD() { # Script Entry Point # Checking in which shell we are RANCHU=false -SHELL=$(getprop ro.kernel.androidboot.hardware 2>/dev/null) +SHELL=$(getprop ro.boot.hardware 2>/dev/null) if [[ $SHELL == "ranchu" ]]; then echo "[!] We are in an emulator shell" RANCHU=true