-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magisk not installing correctly - Unable to fully deploy modules (Requires Additional Setup) #46
Comments
thx for the logs, especially the path.sh one. while this is not the solution for your problem (at least afair) please install for the rest well yea I havent found a quick solution for the "Requires additional setup" yet (last time I looked into it is a while ago already) and yes I get that for some devices EVERY time when starting magisk. while on others it appears once and when letting it boot it went away. also never looked into it as it had no impact on the rooting part. the modules might be affected by that issue though - so I guess I need to solve that and when that msg is fixed your module problems should be fixed as well. do you have any logs from Magisk itself (Logs -> disk icon -> get them)? also if you can: pls build with the debug variant instead: replace |
Thanks for the quick reply! In terms of Magisk Logs there are no errors that jump out at me. Here is a gist with the module working Working Magisk and with Magisk built into the Rom Not Working Magisk. I made a start at deploying the Magisk_DEBUG build:
I've tried a couple of changes with libmagisk but keep on getting I'll keep reading through the code to try and work out what changes need integrating for the debug build to work |
ah well ok ,sorry I haven't thought it through. will look into this as I just added the debug one and not trying to build it yet (as I thought it would just work). will let u know when its ready |
I managed to get the debug version installed - I updated er.sh to copy
The debug logs from Magisk are here: Logs Interestingly, with the debug app, I am able to do the boot update now when Magisk asks, but as expected, this causes the phone no longer boot as it the boot image signatures have changed. |
hm
is that something else we need to add for the debug build? |
When I looked into the library it seems to commonly used for reporting GPS positions, I have managed to cobble together a build that works for installing my modules... When it is all installed and working the logs from magisk look like this: Logs As you can see "libmagtsync.so" is still not present |
oh nice.. but hm. for the second log I assume you have hidden magisk right (that would explain the diff pkg name)? I cant see anything obvious reason, the log is not very useful (for me): maybe topjohnwu can help you in that regard when sharing these logs?! |
yea since they released v28 recently I looked into that again and they changed the files you found already. |
Description
I have a aosp build which I want to use magisk to install gapps (Using https://github.com/chickendrop89/systemless-gapps to build the app package)
On my base build without extendrom, I am able to install magisk, modify the boot.img and install my module fully. - apps & google play are installed.
I have added extendrom to my tree and build a new image, as far as I can see everything is built successfully, and after rebooting I see magisk.
However, every time I launch the app I see the 'Requires Additional Setup' message (I have seen the wiki that states that is normal once or twice, but for me it is every time the app launches. - even after additional reboots. I have tried updating with the direct install command, but get the Unsupported/Unkown image format message.
When I try to install my module, magisk performs the install, however after rebooting only some of the apps and services are there (google play store and apps dependent on it are missing)
...
Required(!) information
vendor/extendrom/er.sh
-> er.sh outputvendor/extendrom/Android.mk
after running extendrom/a build -> Android.mk outputHere is also the output from patch.sh when it patches the boot img: patch.sh output
The text was updated successfully, but these errors were encountered: