Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Black Screen after successful run #55

Closed
mashincode opened this issue Jan 31, 2023 · 4 comments
Closed

Black Screen after successful run #55

mashincode opened this issue Jan 31, 2023 · 4 comments

Comments

@mashincode
Copy link

First need to say that I checked similar issues and it did not help

I am using Mac M1 and I tried to run the script with 2 different API 30 and 33, same results, after my emulator and adb closed due reloading I can't get into it, I see only a black screen and after 300 second it shot down

I tried to use restore argument did not help

Help please :)

Ask me any questions if needed, here is some screenshots of my last run with API 33 (Actually here i tried to run the script twice just in case maybe it will help)

Screenshot 2023-01-31 at 17 39 32

Screenshot 2023-01-31 at 17 39 38

@newbit1
Copy link
Owner

newbit1 commented Feb 1, 2023

Looks good so far.
Your screenshots are showing that your ramdisk is already patched, but you've said you did the restore already.
Make sure If you start over that you really start with a stock ramdisk.
Once patching the stock ramdisk is completed, and the AVD window is closed, restart the AVD with the
cold boot function.

@mashincode
Copy link
Author

Hey, that's really help, i have another issue or maybe miss understanding , should I create new issue here?

So I was able to

  • reboot with cold boot
  • i found Magisk app
  • following the gif image I went to settings and click Zygisk check box
  • reboot
  • install Magisk from Magisk app
  • reboot automatically
  • then I still see button install as active and tried to run adb root receive adbd cannot run as root in production builds

Screenshot 2023-02-01 at 18 43 58

I don't really know what I need to do next, I am very new to Android and I just tried to setup emulator with Burp Proxy on my mac, I need to add cert there and found that only option is to have root, so that's why I am here :) If there a chance that you can show me, what I really need to do next - please

@newbit1
Copy link
Owner

newbit1 commented Feb 2, 2023

  • install Magisk from Magisk app

This shouldn't be necessary if the script finished the job well.
But though it looks good your screenshot.

tried to run adb root receive adbd cannot run as root in production builds

adb root invokes the internal root from AOSP, not the magisk one.
If you go into the shell, adb shell, and run su, this will prompt you the magisk su toast,
and after granting it, you are root in your shell.

My support ends here, I am sorry I can't help you with cert or proxy settings. But you can check out other issues here,
I recall that they were at least one more who asked also about this stuff.

@newbit1 newbit1 closed this as completed Feb 2, 2023
@mashincode
Copy link
Author

Thank you! Yes, i was looking for this SU command , other things I can handle

Thank you very much, I think I will make tutorial for other guys and i will mention your project on it, that's really useful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants