microg-unofficial-installer icon indicating copy to clipboard operation
microg-unofficial-installer copied to clipboard

Magisk Rooted Android 12 Stock - Can't install by manual script or flash zip from recovery

Open ethanhall opened this issue 2 years ago • 2 comments

Hello,

I have mounted RW and tried to run the install script from both local terminal and ADB Shell on Windows. Launched from either internal or external storage,I get the results below.

I have been searching XDA and SO with no solution so far. I'm sure I am doing something bone-headed, any ideas?

d2s:/ $ su d2s:/ # d2s:/ # mount -o rw,remount / d2s:/ # d2s:/ # cd /storage/2C41-653F/Repo/micro5k d2s:/storage/2C41-653F/Repo/micro5k # sh install.sh install.sh[38]: .: /inc/common.sh: No such file or directory

Or:

d2s:/storage/2C41-653F/Repo/micro5k # sh ./install.sh install.sh[38]: .: /inc/common.sh: No such file or directory

Or:

d2s:/storage/2C41-653F/Repo/micro5k # su -c sh ./install.sh install.sh[38]: .: /inc/common.sh: No such file or directory

With ADB sideload or apply update from SD, I get:

E: Signature verification failed E: error: 21 <...> Installation aborted.

Flashing the zip with terminal from SD fails:

Screenshot2

ethanhall avatar Jun 29 '22 19:06 ethanhall

  1. About flashing from terminal, I didn't know there was an option to flash from terminal, what app allow it? The zip isn't tested in this condition so I don't know. EDIT: You can now install it on terminal / ADB with: sh ./zip-install.sh './zip_file_name.zip'

  2. The TWRP recovery (and many custom recoveries) have an option to disable signature verification; what recovery do you have? On old phones enabling "Android debugging" inside "Developer options" before reboot in the recovery may make it accept the test signing keys but on new phones probably not.

ale5000-git avatar Jun 30 '22 11:06 ale5000-git

@ethanhall Could you please try the zip from here: https://github.com/micro5k/microg-unofficial-installer/actions/runs/3241123166 that should have better support for running from terminal?

PS: It is a zip inside a zip, you should use the inner zip.

ale5000-git avatar Jul 01 '22 12:07 ale5000-git

The user is disappeared by I believe the issue is already fixed in the latest code here on GitHub and in the version v1.3.0-beta (or later).

ale5000-git avatar Dec 21 '22 17:12 ale5000-git