Giter Site home page Giter Site logo

Comments (15)

newbit1 avatar newbit1 commented on August 18, 2024

Oh thats a new one.
Can you connect via adb shell to the avd?
which terminal is it? Cmd?

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

I think so
image

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

I stopped bypassed the test adb function to see if it actually worked
image
no dice
image

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

Yeah just using windows terminal

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

Was able to shutdown the devices through shell

from rootavd.

newbit1 avatar newbit1 commented on August 18, 2024

Looks pretty good to me. And did it worked now?

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

It doesn't seem so, no magisk app is installed even on reboot. Doesnt look like it finishes the script based on your gif

from rootavd.

newbit1 avatar newbit1 commented on August 18, 2024

do you have a full log? As text and not just as screenshots.

from rootavd.

mthp1999 avatar mthp1999 commented on August 18, 2024

where would the log save?

from rootavd.

newbit1 avatar newbit1 commented on August 18, 2024

Just copy & paste the command window output

from rootavd.

sdlee3 avatar sdlee3 commented on August 18, 2024

Same to me, after run the command , the emulator closed
./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img

I manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline

image

from rootavd.

newbit1 avatar newbit1 commented on August 18, 2024

Same to me, after run the command , the emulator closed
./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img

I manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline

image

Please provide the complete log

from rootavd.

wubaojie avatar wubaojie commented on August 18, 2024

Same to me, after run the command , the emulator closed ./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img

I manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline

image

i have encountered the similar problem, maybe you can try my approach.
first, use cmd shell to start the emulator, and the cmd is " ~/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_30 -writable-system"
second, if the emulator runs ok, then you can try to launch emulator by android studio

from rootavd.

smoothdvd avatar smoothdvd commented on August 18, 2024

@mthp1999 @wubaojie @sdlee3 @newbit1 Try add arg -no-snapshot to emulator. Like this:

emulator -no-snapshot -avd Pixel_5_API_30

from rootavd.

ricklambrechts avatar ricklambrechts commented on August 18, 2024

Same issue. I remove @echo off from the script for debugging and this is the output:


rootAVD-master>REM Set Folders and FileNames

rootAVD-master>echo [*] Set Directorys
[*] Set Directorys

rootAVD-master>set AVDPATHWITHRDFFILE=InstallApps

rootAVD-master>for /F "delims=" %i in ("InstallApps") do (
set AVDPATH=%~dpi
 set RDFFILE=%~nxi
)

rootAVD-master>(
set AVDPATH=rootAVD-master\
 set RDFFILE=InstallApps
)

rootAVD-master>REM If we can CD into the ramdisk.img, it is not a file!

rootAVD-master>cd InstallApps  1>nul 2>&1

rootAVD-master>if "1" == "0" (call :ShowHelpText )

rootAVD-master>if 1 == 0 (call :restore_backups )

rootAVD-master>call :TestADB

rootAVD-master>SetLocal EnableDelayedExpansion

rootAVD-master>set HOME=C:\Users\Rick Lambrechts\AppData\Local\

rootAVD-master>set ADB_DIR_W=Android\Sdk\platform-tools\

rootAVD-master>set ADB_DIR=""

rootAVD-master>set ADB_EX=""

rootAVD-master>echo [-] Test if ADB SHELL is working
[-] Test if ADB SHELL is working

rootAVD-master>set ADBWORKS=

rootAVD-master>adb shell -n echo true  1>tmpFile 2>&1

rootAVD-master>set /P ADBWORKS= 0<tmpFile

rootAVD-master>del tmpFile
rootAVD-master>                       ) else (
rootAVD-master>

from rootavd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.