yashsingh1/xdaforums huggingface dataset:
[Magisk] Linzeal:
Thx. i'm on LineageOS 7.12 ,and need the xposed-systemless-by-PurifyOS which is the xposed for Nougat ported by PurifyOS at XDA.
[Magisk] demonoidmaster:
Could you set everything up and then flash magicgapps through magisk instead of twrp and see if it works? If it doesnt post the magisk log
[Magisk] kasav:
Hi, this module would be great for my nexus 7 which has barely enough system-space for open_gapps micro. Unfortunately it doesn't work for me, i tried on a fresh LOS install with Magisk 13.3 and open_gapps full and it always fails with insufficient space (which can only be seen in the open_gapps-Logfile, the module doesn't give any error messages).

Maybe I'm doing something wrong?

Thanks
[Magisk] VR25:
I see where the error might be. Perhaps I should increase the buffer size to 2.5GB or even 3 to be enough for the "full" variant. A new version will be pushed soon to test that. Meanwhile, could you please upload here the "update binary" and "installer.sh" scripts from the full package?
[Magisk] kasav:
I have attached the files in a zip-file (don't worry it's not the complete gapps, only the requested files) and also the logfiles.

I'm not sure if it is really insufficient space as even the installation of mini-gapps fails...
[Magisk] VR25:
Interesting fact...

Have you tried the Nano variant?

- Thanks for the files.
[Magisk] kasav:
Tried with a dry run, according to the logfile nano and micro would succeed (cannot really test though as i have micro installed in system) - maybe the problem lies within the space calculation (seems it doesn't take into account the space offered by the magisk.img). BTW after resizing magisk.img 'du -h' only shows a file size of 7,5M
[Magisk] VR25:
You can test even with micro installed. There won't be any conflicts. I think I found where the problem lies, though.

Do the following, jut to be sure:

1. Reboot into recovery

2. Mount /data

3. Run "mount -o bind /data /system"

4. Report whether the bind mount worked. /data & /system should have the same contents.
[Magisk] VR25:
[MENTION=7627918]Linzeal[/MENTION], I'll work on your case once I put my hands onto that Xposed port & get some extra free time.
[Magisk] kasav:
- bind mount worked

- ls /data and ls /system show identical folders/files
[Magisk] zeft64:
Okay I'd hate to be "that guy" bit can someone please explain the benefits of using this module other than limited space on system partition or is that the only benefit?
[Magisk] kwanthenewbie:
Do I have to flash gapps again after flash this module?
[Magisk] ryaniskira:
Not actually flashing?

Does anyone seem to have an issue where Gapps doesn't actually flash? In TWRP the module runs through its script and appears to flash just fine, but when my device reboots, there are isn't any indication the module actually flashed. I checked the /Magisk directory and no new module was installed (there should be a folder named something like "Magic-Gapps" that contains all the usual module things plus the directory containing the Gapps), although the system installed Gapps were removed.

This is on Deb with the AICP ROM, attempting with the "Stock" OpenGapps package.
[Magisk] Linzeal:
[MENTION=5228676]VR25[/MENTION], i think magic gapps module should be updated to Magisk 14.

I tried to install the last version "Magic_GApps-v2017.9.4-Beta.zip " again with the "Xposed_Framework_SDK_25-87.3_Systemless_by_topjohnwu.zip" together.

First,

reboot into twrp, wipe all cache/dalvilk/system/data, flash rom, magisk 14, then Magic_GApps.

Installation was stopped here while TWRP showed "ERROR 1"

Second,

reboot into twrp, wipe all cache/dalvilk/system/data, flash rom, magisk 14, then Xposed_Framework_SDK_25-87.3_Systemless_by_topjohnwu. TWRP shows "SUCCESSFUL". And reboot.

Xposed works OK, and systemless hosts in Magisk Manager works OK.

Last,

reboot into twrp, wipe all cache/dalvilk/system/data, flash rom, magisk 14, then Xposed_Framework_SDK_25-87.3_Systemless_by_topjohnwu, then Magic_GApps. TWRP shows "SUCCESSFUL". And reboot.

Xposed works OK, BUT Google Play services keeps stopping and systemless hosts in Magisk Manager couldn't work.

So, waiting for your new version of magic gapps.:)
[Magisk] demonoidmaster:
It's for those who don't have enough space and besides it's systemless too so
[Magisk] kwanthenewbie:
Can you give me the procedure to install please?
[Magisk] demonoidmaster:
Read the op
[Magisk] kwanthenewbie:
I placed gapps.zip in the root of my sdcard then install the module. Rebooted and gapps weren't installed. Did I miss something?
[Magisk] demonoidmaster:
You didn't read the op did you

Gapps zip must be named open_gapps-*.zip

* being the rest of the naming of the file, as for example open_gapps-arm-7.1-pico-20170905.zip

Place the zip in Download/OpenGapps/
[Magisk] kwanthenewbie:
I DID read it bro.

I place the zip at the root of my externel_SD then flash the module. It said that the installation is successful but when I rebooted to system thera are no gapps installed. I tried put it in external/Download/OpenGapps,too but still having the same issue. I couldn't put the zip in the system because i font have computer and my device's recovery doesn't have file manager feature.
[Magisk] demonoidmaster:
What's your gapps zip named.

Make sure there's no other files in the folder
[Magisk] tom.android:
not install with magisk v14.00.
[Magisk] VR25:
So, [MENTION=7627918]Linzeal[/MENTION]... I've tested the Xposed port for Nougat. That doesn't even allow my device to boot (module not installed). I recommend waiting for more dev progress before attempting to use that again.

[MENTION=8134535]kwanthenewbie[/MENTION], a recovery log would be greatly appreciated...

[MENTION=7586138]tom.android[/MENTION], the module should work with Magisk v12+ as long as you install it from recovery. I assume you got an error message saying, "Bootmode install not supported." So...
[Magisk] NamitNayan:
I am having magic gapps nano and system less Xposed

Apart from "Google play services" has stopped error dialog appearing Everytime no problem

Device redmi 2 prime

Cosmic os (caf based)
[Magisk] Linzeal:
Which zip of Xposed for Nougat have you already tested? :confused: topjohnwu's?
[Magisk] VR25:
Oh, I just realized there's been a version for SDK25 available in the Magisk repo for the last 9 days already. I've been disconnected for a while, so...

Will test that one too.

The classic GMS FCs... again.

I'm thinking now that might be a signature issue in contrast to missing permissions -- as I enabled these by default.

Lets see... framework patching upon installation should fix that... :rolleyes:

Will try it next. Thanks for the report.
[Magisk] Shished:
Wonderful module. It even works with the unofficial Oreo OpenGapps.

---------- Post added at 09:52 AM ---------- Previous post was at 09:51 AM ----------

Wonderful module. It even works with the unofficial Oreo OpenGapps
[Magisk] VR25:
Alright, I've tested Xposed SDK25 + Magic GApps, no issues (not even GMS FCs).

I think what's going on for some of you guys regarding Google Play Services random FCs is a signature-related issue (as aforementioned). So, the next version will auto-patch target framework files for signature spoofing. That might fix the FCs.

As for other issues, I'll keep optimizing the module & trying to fix as many found/reported bugs as time allows me.
[Magisk] naboleo:
2 feedbacks :

- When trying to install the wrong gapps package (ARM instead of ARM64), there is no obvious error message during process. All seems OK (Unzio, step1, step 2...), and the only noticable effet is that installation is quickier, and nothing happens once reboot. Maybe a specific break/error message could improve the user experience, there is no need to run the whole script.....

- Module can even install "customed" package : removing included apps from the zip does not break capability ! Nice !
[Magisk] VR25:
# v2017.9.21-Beta (20179210) -- get it from Magisk Manager

- Massive cleanup & optimizations

- Signature spoofing patch to avoid GMS FCs in some ROMs. Set it to be ignore by running "touch /data/_s".

- Ability to uninstall the module by running "touch /data/_u" before flashing Magic GApps zip."

- Updated reference (please, READ it).

Just a reminder -- you no longer have to isolate open_gapps-*.zip files (that issue has been fixed in the previous version already)!

Those facing Google Play Services FCs, please report back whether these still persist after this update.

Closing note: please, read the ****ing reference! ?

[MENTION=326282]naboleo[/MENTION], nice observation; I'll fix that. -- Thanks!

Update: fixed. Build 2017.9.21.1 is live.
[Magisk] bnwg:
Deleted
[Magisk] NamitNayan:
My phone (Redmi 2 prime) stucks at signature spoofing.

Also system less xposed worked for me only with your module and not with normal gapps

ROM- Dirty unicorns 11.7.1
[Magisk] VR25:
Run "touch /data/_s" before flashing to skip it.
[Magisk] Linzeal:
One issue:

With Magic GApps been installed, Systemless hosts in Magisk Manager turns off after each reboot.
[Magisk] Didgeridoohan:
It's probably still enabled. There's a bug that sometimes causes the switch to show off even though the setting is set to on... It's under investigation.

Easiest way to know if it's actually enabled is to look at your hosts file in /system/etc. If it's a copy of /magisk/.core/hosts, it's working.
[Magisk] Linzeal:
No, actually, it won't work when the switch of Systemless hosts shows off.
[Magisk] Didgeridoohan:
In that case: Logs or it didn't happen. :p
[Magisk] VR25:
# v2017.9.26-Beta (20179260)

- Added "pm grant" script (another attempt to fixing FCs).

- Signature spoofing is now disabled by default.

- Minor optimizations

- Updated reference.
[Magisk] sergej_7:
after downloading I get a 0 kb file :( will flashing Magic-GApps-SafetyNet-Fix.zip remove all the sysconfig patches?
[Magisk] VR25:
Same issue here. I'm wondering what's causing that. The repo looks normal to me. All files are there as they should. Downloading other modules works just fine.

To remove all sysconfig patches

1. Delete /magisk/MagicGApps/post-fs-data.sh

2. Delete all files from /magisk/MagicGApps/system/etc/sysconfig (don't remove the folder)

3. Flash Magic-GApps-SafetyNet-Fix.zip

Since some users may not want the patches, I'll make sysconfig patching optional in the next version & add a persistent config file for seamless user experience.
[Magisk] Shished:
Can you add some sort of progress bar when module applies spoofing patch to see if its working and not stuck?
[Magisk] naboleo:
[MENTION=5228676]VR25[/MENTION], can the module itself be update, without reinstalling GAPPxxx.Zip ? If not; maybe a flag (touch /data/__m ; m for module) can be created ?
[Magisk] VR25:
If it gets stuck, then your ROM is incompatible. That patching process really shouldn't take long. If something goes wrong, then a comprehensive error messages is displayed (clearly stating what went wrong). That's the standard behavior. I would add a progress bar if it took long enough to break my already limited patience. :p

Anyway, that's now disabled by default, so you don't have to worry. The "pm grant" script should handle the FCs issue. Unless I find another core use for signature spoofing or enough requests are made to support it more, that'll remain a "resting" feature for the time being.

Well, the reason why I didn't implement that flag [yet] is -- as long as Open GApps package is installed and working, the module doesn't need to be updated. Yes, it really doesn't. Currently, there are no extra components which require regular updates besides Open GApps setup itself.
[Magisk] naboleo:
It makes sense
[Magisk] Linzeal:
It showed me "Magisk is not installed" even though Magisk was just installed before Magic GApps in the Installation queue. Er, did I do something wrong? :confused:

build versions:

Magisk v14.0

Magic_GApps-v2017.9.26-Beta

open_gapps-arm-7.1-nano-20170926

LineageOS 7.12
[Magisk] VR25:
I've seen that happen. It seems magisk fails to create the file /data/magisk.img sometimes. Reboot recovery & check to make sure you have it. The error says that file is missing.
[Magisk] NamitNayan:
Whenever ROM is clean flashed this happens with all magisk modules

Need to reboot to ROM then recovery then flash the modules
[Magisk] Didgeridoohan:
Since Magisk v14.0 the Magisk installation script doesn't create the Magisk image. That's taken care of on the first reboot or when installing a template 1400 module.
[Magisk] Linzeal:
[MENTION=5228676]VR25[/MENTION], there are two issues while I can now install Magic GApps module successfully.

1. Google Play services keeps stopping.

2. Face Unlock in the Smart Lock is lost.

versions:

Magisk v14.0

Magic_GApps-v2017.9.26-Beta

open_gapps-arm-7.1-nano-20170926

LineageOS 7.12
[Magisk] VR25:
[MENTION=7627918]Linzeal[/MENTION], did you have the same issues with signature spoofing enabled?

Regardless, try the following this time:

1. Flash your ROM as you normally would

2. Flash Magisk

3. Boot the system & allow it to fully initialize

4. Reboot into recovery & flash MagicGApps

See if those issues still persist (especially Google Play Services FCs).
[Magisk] NamitNayan:
Well if I don't do these 4 steps

None of my modules flash (says magisk not installed)

Magisk 14 issue I guess
[Magisk] VR25:
Oh oh... we've got a much bigger issue then. I'll test new tricks & see what happens.
[Magisk] Linzeal:
Still persist as following your steps:

1. Google Play services keeps stopping.

2. Face Unlock in the Smart Lock is lost.

versions:

Magisk v14.0

Magic_GApps-v2017.9.26-Beta

open_gapps-arm-7.1-nano-20170930

LineageOS 7.12
[Magisk] plutoGhost:
My phone is Huawei honor V8. I following the instructions:unlock, flash twrp recovery,flash rom,flash magisk and flash this module. But my phone reboot whenever the update-binary script run to

if [ "$?" -eq "0" ]; then

mount -t ext4 -o loop $LOOPDEVICE $2

if (! is_mounted $2); then

/system/bin/toolbox mount -t ext4 -o loop $LOOPDEVICE $2

fi

if (! is_mounted $2); then

/system/bin/toybox mount -t ext4 -o loop $LOOPDEVICE $2

fi

Google said that huawei kernel is rescricted from mounting loop devices at booting process probably. Is there other way to solve this?
[Magisk] NamitNayan:
For me says zip file corrupted

Both from xda and from magisk module repo

Latest one earlier worked fine

Redmi 2 prime

Aosp CAF 64 bit

Nougat

No xposed
[Magisk] naboleo:
Actually downloaded archive size is 0. That's why error message says "corrupted"
[Magisk] demonoidmaster:
Idk how y'all having issues downloading the zip, mine was downloaded no issue as a test just now
[Magisk] demonoidmaster:
See if it downloads, it should since i just downloaded it from the previous page
[Magisk] Enismirdal:
Moto X Pure (clark), DU 11.7.1 (Android 7.1.2 w/patches thru Sept.), running lots of Magisk modules.

Lately, using this module -

Under Magisk 13.3, worked fine.

14.0 would boot but caused constant FCs in many apps, especially Google ones, regardless of how they were installed. Basically, everything crashed and it even broke Magisk Manager, so couldn't get any idea if Magic GApps itself was working. 14.1 wouldn't boot.

With 14.2 (beta), it all works correctly again. The issues with Magisk 14.0/.1 could be ROM-related, so take that as you will.

I'm guessing the Magisk repo copy of Magic GApps 9-26 might've been broken, could never get a download at anything other than 0 bytes. The 10-2 version downloads fine and installs correctly, and the modified template seems to be about on par with the 1400+ templates, as far as I can tell. As a whole, it's awfully handy and a neat piece of work.
[Magisk] Eyan67:
I have the same problem in my mi note pro which is running MIUI baesd on Android 7.0 .
[Magisk] FloyderE:
If I want to uninstall this module what I have to do?
[Magisk] demonoidmaster:
Remove it through magisk like any other module? Lol
[Magisk] Simone98RC:
I've seen that this module enhance magisk.img from 64 MB (default) to 2048 MB.

So, when I'll install/update other Magisk modules, there will be troubles (because of aggressive resizing)?
[Magisk] naboleo:
[MENTION=5318895]Simone98RC[/MENTION] : Resizing ito 2048 is only temporary. Then the image is shrinked to optimal size. Other modules are doing the same
[Magisk] Spartacus500:
[MENTION=5228676]VR25[/MENTION]

Hello, does this Magic Gapps module work properly on S7 edge Nougat 7.0 Stock Root Magisk? What does this module actually do?
[Magisk] Spartacus500:
[MENTION=5228676]VR25[/MENTION]

Please answer, can I safely install your Magic GApps module on Stock Nougat 7.0 S7 edge? I understand that I will not remove this Google Play store module?
[Magisk] NamitNayan:
In latest update (and 1-2 before it) Google assistant stucks and configuring screen

Earlier it worked.

Not necessary just letting you know
[Magisk] VR25:
Before answering your question, I've got one for you: did your system come with Google Play Store pre-installed?

Nothing has changed in the module that would cause such an issue. Currently suspected possibilities: ROM related issue or Magisk bug -- both under investigation.
[Magisk] Spartacus500:
I do not understand what's with this Google Play store? I have a Google Play store stock and I use it all the time, so I would not want your Magic GApps module to remove this store.
[Magisk] Spartacus500:
S7 edge nougat 7.0 Stock not working

TWRP log info :

Resize magisk.img to 20??

Not found update GApps
[Magisk] VR25:
Ok, why would you want to install Open GApps on a stock ROM with pre-installed Google apps?
[Magisk] Spartacus500:
I thought your module keeps all Google apps in a different memory and for that it free system memory. Did you write that your module should free up memory in the system anyway?
[Magisk] demonoidmaster:
...stick to your stock phone stuff, otherwise you'll brick it (i hope i don't have to explain why)

---------- Post added at 07:51 PM ---------- Previous post was at 07:50 PM ----------

Sometimes i lose all hope in humanity when I'm on XDA forums
[Magisk] NamitNayan:
[MENTION=5228676]VR25[/MENTION] module missing from magisk manager repo
[Magisk] Didgeridoohan:
That's probably because the repo now doesn't show modules older than template v4 (see the release post from yesterday).
[Magisk] VR25:
Will push a new version soon.

EDIT: fixed.

EDIT 2:

# v2017.10.15-Beta (201710150)

- Added Magisk's built-in busybox to PATH (installer, post-fs-data.sh & service.sh).

- General optimizations

- Bumped template version code to 1400 to avoid Magisk Manager blacklisting.

- Module config & log files moved to /data/MagicGApps for better organization.

- New version code format YYYYMMDDD. Magisk Manager won't recognize this as an update.

- Display a comprehensive error message when no compatible Open GApps zip is found, then exit.

- Redesigned sysconfig patcher & auto-re-patcher. Fixed GApps sysconfig files not being affected on auto-re-patching.
[Magisk] andrizmitnick:
i'm using LOS 14.1 and pico gapps. it gives me google play service crash everytime
[Magisk] vhick:
Same with me. Latest Magic GApps Beta, nano opengapps in Resurrection Remix 5.8.5 64bit. Also with signature spoofing enabled.
[Magisk] VR25:
I'm yet to find out what exactly is causing this. I experience the same issue from time to time. Currently suspecting Magisk itself is the culprit.

You can try the following workaround:

1. Delete the file /data/MagicGApps/.perms

2. Reboot & use your device normally for a few minutes or until you see "Done" at the end of the aforementioned file.

3. Reboot once more.
[Magisk] godofsalt:
ME Tooo

Same issues, on galaxy s5 sprint, LOS, dated 11Oct17....including a wipe an fresh install.

Edit- Somehow missed that there might be a work around for this. Will try and hopefully don't have to do a logcat for this, but will if it may help.
[Magisk] Simone98RC:
What you tell me about Magisk v14.3b + Magic Gapps v20171015b + OpenGapps Stock ?

My experience was terrible: on my OP3 with OxygenOS 4.5.0 I've upgraded from Magisk 14.2b to 14.3b and when I rebooted, device was stuck at black screen with looped vibration... even after uninstalling Magisk.
[Magisk] VR25:
OxygenOS comes with pre-installed Google apps, doesn't it?
[Magisk] Simone98RC:
Yeah it does.

But to have apps and functionalities like Google Dialer, I prefer to use your module with latest OpenGapps Stock.

OpenGapps work properly with OxygenOS (despite the firmware is already Gapps-provided).

However I'd a bad experience when updating Magisk from 14.2b to 14.3b.

I would know if someone has Magic Gapps working with Magisk 14.3b and preferably with the official firmware of OP3.

That trouble is caused by Magic Gapps with Magisk 14.3b, or by OOS 4.5.0 unsupported by Magisk 14.3b?

This is the real question.
[Magisk] NamitNayan:
Use this module only if you don't have gapps pre installed.
[Magisk] Simone98RC:
But I'm telling that Magic Gapps works properly with OxygenOS v4.5.0... with Magisk 14.2b.

However I had problem when upgrading to Magisk 14.3b, that's the real problem.

So, there are known issue with Magisk 14.3b? If not, maybe it's a Magisk-related issue with OxygenOS, at this point my report would be OT.
[Magisk] godofsalt:
Ok followed I followed the instructions to a T.... Results didn't look good at first.

Second time around, I followed it again bit added in 1 last step, went to terminal and use 1 from that you have out on the module in Magisk, and that is "touch /data/_r"... Then went back to recovery and tried to install again, BUT build 10.15 didn't work... I did get an older build to actually work. Think it's 10.2. Hope this can help.

Just been trying for some time and always use the latest build. 10.15 just didnt want to go, however 10.2 seems to work properly.

Galaxy S 5 kltespr, Los 14.1 built yesterday.
[Magisk] demonoidmaster:
Or if you don't have enough space in /system for gapps since this module is meant for those who don't have enough space
[Magisk] VR25:
Did you update Magisk in between? It seems recent versions might cause some device-specific issues.

The workaround I described solved the FC problem for me.
[Magisk] godofsalt:
Actually no. Have tried the Beta builds, however IMO, very tuff to deal with when an issue occurs.

Galaxy S 5 (sm-g900p), Los 14.1 (18Oct17), GApps same day build, Magisk v14.

Just could not get your last build (15Oct17) to work. Tried many times.

But, like I said the build for the 12th worked out.

Hey no worries I'm still here, and still would like the idea.

Tanx

Will stay tuned in
[Magisk] krish@3T:
Is aroma varient supported ?
[Magisk] VR25:
I re-read your last and previous posts multiple times, thought about what changed in the module from Oct 2-15 builds...

- Nothing that would cause such an issue.

So, between build days 2 and 15, your system/ROM has been updated -- not sure about Magisk, though... :rolleyes:

Anyway, the issue is there, though still unclear. Soon or later, we'll get the culprit. This kind of [detailed] report is like a police officer in the wild.

Unfortunately, no (at least not yet).
[Magisk] krish@3T:
Thats sad :(
[Magisk] NamitNayan:
I didn't find the aforementioned file but I got play services has stopped error just during initial setup and not facing it now!
[Magisk] dr.bathman:
Once your play service will get updated from old to new version itself, it will stop crashing.

So if you're using latest gapps, it would crash continuously or say randomly.
[Magisk] NamitNayan:
I made play services beta

Had no crashes just a notification to update (unremoveable)
[Magisk] razr96:
I just wanted to check before I tried it, does gapps-config.txt work with this module?
[Magisk] VR25:
It seems permissions aren't being granted to core Google apps in certain cases. Hence, the next version will attempt to grant all necessary permissions to those packages three times, as opposed to just once. One run per reboot -- each takes about 2,5 minutes to complete (after the device has fully booted). There will also be an executable named "gp" (grant perms) to do things manually from terminal. Each method will generate the file "/data/MagicGApps/.perms." This works as a control mechanism to determine whether permissions have been granted already.

The automatic process won't delay boot nor degrade performance/user experience.

Yes, it does.