axonasif / gearlock

Custom Recovery Replacement for Android-x86
https://supreme-gamers.com/r/gearlock-custom-recovery-replacement-for-android-x86.40
GNU General Public License v2.0
104 stars 23 forks source link

Magisk problem with Bliss on tablet #14

Open MoonDragon-MD opened 3 years ago

MoonDragon-MD commented 3 years ago

I installed bliss in a folder along with Ubuntu on the tablet, set the grub to boot Bliss 11.13 with android 9. I've tried to install Magisk both online and offline via package from android gearlock app, I've done a test from magisk package to boot but even in this way I get errors. Magisk 22.1 Errors: 1) cd: /data/ghome/dependencies/mbtmp/common: No such file or directory 2) "/gearlock/gearrot/android/gearload/ramdisk.cpio.gz" failed: No such file or directory 3) Installing magisk app: Error: Unable to open file: magisk.apk At the end it says to me operation executed with success of yellow color I should add that the MAgisk app is already installed and opens with root permissions. Can it be fixed? Or could you make a program on linux to patch the file with magisk without going through android? Thank you and congratulations for the program

axonasif commented 3 years ago

What's your gearlock version?

MoonDragon-MD commented 3 years ago

the gearlock app is at version 6.4.0 (build: 640), if I open it it tells me that there are updates but I can't find More> Updater

axonasif commented 3 years ago

the gearlock app is at version 6.4.0 (build: 640), if I open it it tells me that there are updates but I can't find More> Updater

Use metro theme.

MoonDragon-MD commented 3 years ago

Thanks I managed to update it but I still have a problem with the Magisk installation: the download always stops both on wifi and cable (on different lines), at different rates "Connection unexpectedly closed" ( stands for a number) " the download was interrupted, try again". I've tried many times, once it went well but then because it has to download a second package it failed that one and makes me start again. Could you make sure that the buffer is increased so that the connection doesn't expire?

axonasif commented 3 years ago

Run nano /gearlock/bin/gdload and try changing this line: axel -a -o "$2" "$1"

To curl -L -o "$2" "$1"

Then try again.

MoonDragon-MD commented 3 years ago

Many thanks!, it worked and installed Magisk with no further problems. One last thing, if I open the Magisk app I get the following warning: "a "su" command that does not belong to Magisk has been detected Remove it to avoid malfunctions" . What do you advise me to do? do I ignore it? furthermore, any installation of additional modules fails

MoonDragon-MD commented 3 years ago

I forgot: is it possible to install microG or not? Why NanoDroid complains that that i686 architecture is not supported, after all it's Bliss X86 should go I found two interesting projects: 1) github.com/micro5k/microg-unofficial-installer 2) github.com/Lanchon/haystack

axonasif commented 3 years ago

I forgot: is it possible to install microG or not? Why NanoDroid complains that that i686 architecture is not supported, after all it's Bliss X86 should go I found two interesting projects:

1. github.com/micro5k/microg-unofficial-installer

2. github.com/Lanchon/haystack

It's possible to install microG, we have done that on PhoenixOS DarkMatter but I haven't made a portable microG installable package for gearlock yet. Installing microG requires system framework to be patched.

GearLock itself supports installing flashable zips I can not guarantee whether a particular zip will work, same goes for magisk modules due to structural differences in android-x86.

Although I will see if I can do something to workaround this compatibility issue for most of the things but I don't have time for it at the moment, it's hanging in my to-do list so far.

MoonDragon-MD commented 3 years ago

Thank you for your time! I hope you will continue to improve this project ;)

ale5000-git commented 2 years ago

@MoonDragon-MD @axonasif Hi, I'm the author of microG unofficial installer. It theoretically works on any device but if there is any problem you can tell me. What are the structural differences of android-x86?

I have released a new version now for those interested.

MoonDragon-MD commented 2 years ago

@ale5000-git Thanks for the reply. I personally have no idea of the differences, I'm just a user who enjoys trying various solutions. The programmer is @axonasif I'd like to install microG on my X86 tablet

ale5000-git commented 2 years ago

@MoonDragon-MD Well, in case you try microG unofficial installer and encounter any problem you can report it directly in my project.