yashsingh1/xdaforums huggingface dataset:
[Magisk] VR25:
[MENTION=7176522]aocboe[/MENTION] &

Try the previous version. That's a known issue caused by unexplained zip archive corruption.

Update: [MENTION=7176522]aocboe[/MENTION], [MENTION=4493252]vhick[/MENTION], I just confirmed this is actually a Magisk/Kernel problem. The latest version of MagicGApps has no issues whatsoever.
[Magisk] vhick:
This is what I thought also, I conclude that my ROM that I use is not compatible or with problem when using Magisk.

I'm thinking to giveup on Magisk :(
[Magisk] VR25:
I wish init.d worked as in the old days. I could emulate some of the features of Magisk and that would fulfill my needs.
[Magisk] edoardotavecchio:
Is anyone else experiencing issue with voice searching services? Google app doesn't even output "listening' text while in listening mode. Could it be because of some missing core GApp in this package?
[Magisk] VR25:
This is usually related to app permissions. This package doesn't "remember" default permissions for you like Open GApps do. You have to manage everything manually. Check Google and Google Play Services permissions. You should grant all permissions to both. I'll see if I can add default permission settings in the next version, so that people don't have to set them manually.
[Magisk] edoardotavecchio:
I've granted all permissions for Google App and now it works fine, thanks a lot!
[Magisk] reddsmokee:
We can only use this with aosp? Can we use it with other system interfaces like EUI on the Coolpad phones?
[Magisk] rcrd17:
any chance for a 5.1.1 lollipop version?
[Magisk] edoardotavecchio:
[MENTION=5228676]VR25[/MENTION], are you going to update this module to Magisk Template v4? I'm getting continuous Google Play Services FC's with latest Magisk (13.2) and the fix described in the support thread didn't work for me, so I presume it could be related to Magic Gapps, considering that they haven't been updated to latest template yet.
[Magisk] VR25:
[MENTION=6149777]reddsmokee[/MENTION], [MENTION=8045886]rcrd17[/MENTION], [MENTION=6526438]edoardotavecchio[/MENTION],

Sorry for the long wait. I will update the module as soon as I get a good internet connection (could be tomorrow). Where I am now is considered an "offline location."

I've never tested, but the module should work on non-AOSP too, since GApps tree structure is the same across all ROMs.

I'll build a Lollipop version.
[Magisk] R324D:
Honestly, I'm very interested in this module, but also confuse. So we don't need to flash gapps packages anymore after flashing rom?

Can we just flash ROM >Magisk> this module..?
[Magisk] VR25:
Exactly
[Magisk] edoardotavecchio:
Sorry, I was wrong: someone provided a fix in a magisk support thread (the issue was related to MagiskHide) and now everything's fine. Thanks for your support.
[Magisk] NamitNayan:
Hey [MENTION=5228676]VR25[/MENTION] this seems amazing but one request can you make a step by step guide (video preferred) of all feature (from installation to adding and removing gapps and updating them individually or at once)

Also is open gapps coming?
[Magisk] demonoidmaster:
Pretty interesting, I'll test this out vs using opengapps pico

---------- Post added at 02:06 PM ---------- Previous post was at 02:02 PM ----------

Umm why are you over complicating stuff? This is a flashable zip for Magisk, it's not complicated.

Any other gapp you'd need can be installed from the play store at your own need and gets updated via the play store

With his module it's the same as opengapps but in this case it's not installed to system directly rather it's having Magisk take care of that
[Magisk] R324D:
Thanks, I'll try to reinstall device.
[Magisk] demonoidmaster:
So I've noticed that right after I installed this and booted up the first thing I saw was that the play store downloaded an updated version of Google Play Services, even the Play Store was a few versions behind, anyways updated them but I kinda want the let's say newer version Play Store i installed in /data/app to be copied over/mirrored into the actual module where the older version ones are, any way to do that?

I might just replace each apk in the module zip with the newest ones taken from apkmirror and zip it back up, would be easier, but i know i don't have to reflash magisk or modules whenever i flash a rom update cuz since the v13 beta Topjohnwu actually made Magisk now have a survival script (worked last time i did a rom update) so ik i can just relax lol
[Magisk] R324D:
I tried, Flash ROM > flash magisk > reboot > install this module > reboot, failed.. Play service keep stopped..

I tried, flash ROM > flash magisk > flash this module > reboot, also failed.. Play service keep stopped every minute, I even can't add google account due to play service keep stopped..

Can anyone point me step by step installing this module properly please..
[Magisk] ErnyTech:
Why don't continue?
[Magisk] fernsruben:
[MENTION=5228676]VR25[/MENTION] is google voice hotword enabled in this?
[Magisk] demonoidmaster:
Post your logs and list your device, rom, etc
[Magisk] edoardotavecchio:
Try to disable MagiskHide. Google Play Services stopping due to MagiskHide it's a common issue in Magisk 13.1+
[Magisk] NamitNayan:
No issue for me

I just flashed rom-magisk-magicgapps

Then boot

Just skipped signing in from configure screen (which comes at start) as it was causing issues

But later signed in

All ok now

Edit: 400 MB free in system now(thanks a lot developer)
[Magisk] R324D:
But Magisk hide is crucial for safetynet to get passed, right? If it's really the issue, definitely I'll choose not to use this gapps :D

Did you mean setup wizard?

That strange too, I never entered setup wizard. After flash rom, magisk, magicgapps and reboot, system boot directly to home screen and play service FC pop up constantly..
[Magisk] demonoidmaster:
Edit nvm Topjohnwu pushed a new apk to fix the issue
[Magisk] R324D:
Sorry can't post a log right now, I clean flash my ROM to work properly.

Fyi, when I try this magicgapps, I'm using magisk 13.2, the device is OnePlus X running unofficial port of dirty unicorns v11.6 android 7.1.x. note that this rom is preinstalled with arsenic kernel.

Now I'm using opengapps, what happen if I installing this magicgapps module?

Thanks in advance..
[Magisk] demonoidmaster:
Well see this module is kinda like any gapps package but instead of flashing it to /system like normal it rather uses Magisks systemless type of mounting, thus for example if you flash a new update for your DU rom (simply selecting the zip, flash, wipe cache+dalvik/art.. Yknow) Magisk will autoreflash itself afterwards (Magisk itself along with your currently installed modules) so there's no need to flash magisk and modules after (unless a module or magisk has a new update zip you've also want to install to update those too, might aswell do it all in one go yknow lol)

Also don't worry about kernels, for me as an example if i flash a new Resurrection Remix update zip afterwards the Magisk survival script kicks in, putting magisk and it's modules back where they were, then i flash elementalx then my opengapps, debloat zip that removes rom related useless stuff and busybox by jrummy, wipe cache and dalvik/art + reboot. End result is that kernel works just fine, same with magisk, so in short don't matter what order you flash magisk and kernels (unless kernel dev specifies that the kernel has to be flashed before magisk, in which if that's the case then before you flash your rom update go to /system/addon.d and delete the magisk script (survival script for autoreflash of magisk) then do your rom update + kernel + magisk + modules + gapps + etc etc

Btw if you alreary have gapps installed, don't use this module
[Magisk] almmpt:
Can I flash this MagicGAppsv7.1.x-2017.6.22.zip in my AEX Rom with SuperSU or I must have Magisk in place of SuperSU?

Thanks.
[Magisk] abacate123:
Well... Since it's a magisk module, to install gapps systemlessly, then I guess you already have your answer.
[Magisk] Ajaykumar21066:
Flashed fine , booted up fine, but i dont see any google contacts or an option to sync them under account
[Magisk] VR25:
Sorry again for the long wait everybody! I just got internet access (finally!). The module will be updated to the new Magisk module template and I'll add default permissions to fix some synch issues and FCs. I'll also build a Lollipop (5.1.1) version. Remaining questions/requests will be answered soon. -- Thanks!
[Magisk] Linzeal:
[MENTION=5228676]VR25[/MENTION] Great Magic GApps! :svetius:

But no includes the Face Unlock?:confused: I think Magic GApps should includes all the non-Play Store applications that cannt be installed from Google Play!
[Magisk] Anarchy16:
1) flash rom > magisk > reboot > flash module > reboot

issues: play store & play services permission unticked, random force close

2)flash rom > magisk > module > reboot

issues: stuck at checking for updates (myb bcause of permission is failure, unticked, so cannot download & install latest update), i wait for another minutes got random force close

possible cause for these issues;

-permission failure, not granted, unticked, even tho at twrp says "setting permission"

-force close is 'maybe' bcause of play services is in battery optimisation (i know this is for the battery life as mention in op)

device - OP3

rom - PA 7.2.1

magisk - 13.3

im not a dev, so i may be wrong ;)
[Magisk] demonoidmaster:
Lmao isn't this posted in the Magisk forums? This isn't the SuperSU forums.

---------- Post added at 08:56 PM ---------- Previous post was at 08:52 PM ----------

Yeah his play services is a bit dated, for me when i had flashed this a week ago on my first reboot it auto downloaded a more recent version of Google Play Services
[Magisk] NamitNayan:
It means I need to copy magisk.img folder than install the ROM update then magisk after that ?(what to do)
[Magisk] demonoidmaster:
No what that says is if you want to backup your boot img if you ever need to flash it to boot

Just copy the img file somewhere safe for future use
[Magisk] VR25:
1. Backup /data/magisk.img file to your sdcard

2. Install new ROM

3. Restore /data/magisk.img file backup

4. Install Magisk

When you update a ROM, you don't need to backup magisk.img, unless you wipe /data in the process.
[Magisk] VR25:
Greetings, folks!

I have a good and a bad news:

THE GOOD: MagicGApps is already on the latest template and has additional features & optimizations as requested. I couldn't answer all the questions, but I did read all of them! ;)

************************

*Full Google Framework

*Core syncing APKs (i.e., Google Play Services, SetupWizard, Google Play Store)

*Google App, Google TTS + off-line voice data, Face Unlock and legacy LatinIME swype libs

*Default permissions (to prevent FCs)

*Battery & data saving patches (hungry GApps removed from "power whitelist" -- /system/etc/sysconfig/google.xml)

*Dynamic installer (single package for both ARM & ARM64)

************************

THE BAD: My internet connection is s-l-o-w af! Unfortunately, I can't upload the new version. I'm currently waiting for ISPs to solve the nationwide internet issue (I'm at the end of the world). :mad: :(
[Magisk] ainurrofiq:
I hope your problem will solved soon
[Magisk] vinanrra:
When i log in with my google acc give me a problem that cant connect to servers and google play give me FC
[Magisk] demonoidmaster:
Either ways there's no need to fiddle around with this because Magisk has a survival script now, so you don't need to flash Magisk and modules after you update your rom
[Magisk] oF2pks:
Unfortunatly, GoogleServices constantly crashes, will try back soon. Also I had trouble with resize : always asking to first check magisk.img integrity (?)

[MENTION=5228676]VR25[/MENTION] , [MENTION=7296895]veez21[/MENTION] ; just let you know that on

first

Magisk install, you can resize straight : modify Magisk.zip/META-INF.../update-binary (fake "txt") 64M -> 200M

[I](#128)[/I] $MAGISKBIN/magisk --createimg $IMG [B][U]64M[/U][/B]
[Magisk] veez21:
Of course, but unzipping the zip just to edit that single line is frustrating, at least for me ;)

Also, this was created before magisk v13.x, which doesn't have the magisk binary with it (which you can actually execute directly from terminal, making things even more easier)
[Magisk] phpbb3:
Installed on top of an existing installation of eucos with pico gapps. Works fine for me, and Google services no longer show up as Not Optimized in the Battery section of Settings. This is my first Magisk Module. Very nice.
[Magisk] Shished:
Module works perfectly. I had no FCs and SafetyNet is all green.
[Magisk] VR25:
I recently pushed to Magisk-Modules-Repo/MagicGApps some of the changes announced. The changelog for v2017.7.25 is as follows:

* Updated to template v4 (for Magisk v13.1+)

* Added default permissions to prevent FCs

* Under-the-hood optimizations

My internet is still down -- no big files were updated and the Lollipop version couldn't be baked. Should the issue be stepped on, I'll finish the job right after.

The latest version is only available from Magisk Manager for now.
[Magisk] Sahaj Jain:
Hey I installed this module on freshly installed rom but SafetyNet check gives "The response is invalid". Can you please let me know how did you bypass SafetyNet?
[Magisk] Shished:
My ROM (Resurrection Remix N) passes SN out of box. I reinstalled it with system, dalvik and cache wipes to get rid of openGapps and then installed module.
[Magisk] rignfool:
Not that I really have any idea if this is possible...

But I look at this mod and I wonder... Would it be possible to have your magisk module take say... An OpenGapps zip file and break it apart and convert it, on device, on the fly, to a magisk compatible installation?
[Magisk] VR25:
It can be done. I'll consider you idea and work on an entirely new module for that. It'll take a while to see the light, though. My current internet connection is beyond terrible. Nice idea by the way! -- New goal on my list.
[Magisk] cantenna:
hi VR, tried the latest but it errors with this is not a magisk module. tried on S4 i9505 android 7.1 2 lineage OS
[Magisk] demonoidmaster:
Like, use the opengapps app to dl opengapps update zip, then have some kind of other magisk moduled app update itself using a zip.. Pretty dank idea

Or sand thing but have your module simply merge the newest opengapps zip into it i guess

PS: ya know you can ask for help from other devs who would wanna collaborate with you, this is XDA afterall so someone surely would be ok with helping out and be a contributor
[Magisk] VR25:
Could you please provide a TWRP log? -- Thanks
[Magisk] ProudRed:
Installed this with a clean flash while installing rom. Setup wizard crashes.
[Magisk] demonoidmaster:
You need to continuously try to swipe down the notif panel and press the gear icon for settings then connect to wifi, otherwise it'll always fail
[Magisk] x11term:
Won't install :(

"Flashing

Copying zip to tmp directory

The zip is not a Magisk Module!! "

And magisk hangs.
[Magisk] VR25:
[MENTION=8333646]x11term[/MENTION], could you try installing it through TWRP & provide a log?
[Magisk] VR25:
[MENTION=4778658]cantenna[/MENTION], [MENTION=8333646]x11term[/MENTION], that was a GitHub issue. Re-download and try installing again.
[Magisk] x11term:
Can you provide md5sum ?

P. S. Downloaded directly from github. It did not help.

P. P. S. TWRP said, wrong zip file.
[Magisk] zalaTheOne:
I'm having the same issue, it doesn't installed from magisk or twrp.

So i had installed old version.
[Magisk] x11term:
The cloned version was successfully installed.

Worked after deleting all data of google apps.
[Magisk] VR25:
If I only had a decent internet connection... ?
[Magisk] cantenna:
Sorry for the lack of timely response, been sorting out a few things...

Latest doesn't work for me either, same error,invalid zip format when flashing via twrp.
[Magisk] demonoidmaster:
Hmm could have it all put up on github and have someone officially build it for you whenever you'd need to publish an updated version here / magisk repo
[Magisk] x11term:
MagicGApps-7.1.x-2017.7.29.zip https://yadi.sk/d/TCXrlaYK3LdvNw from https://github.com/Magisk-Modules-Repo/MagicGApps
[Magisk] OsamaTookMyCat:
Running fresh install of LineageOS Android v7.1.2 on Samsung S7.

Play Store and Services crash regularly, and even more frequently when MagiskHide is enabled.

Play Store gives me an "Authentication is required. You need to sign in to your Google Account" error.

Uninstalling leaves me with no Home UI, just a black screen, despite switching between Trebuchet and Nova Launcher.

Cleared data and all accounts for Google apps, trying to sign back in or use the Play Store returns a "Problem Communicating to Google Servers" error.
[Magisk] x11term:
try wipe "internal storage"
[Magisk] demonoidmaster:
Tf? No he shouldn't do that it would wipe his user storage aswell

It's easier to just delete all com.google.android.* folders in /data/data and in /data/user_de/0 and then all some stuff in the /data/system folder, like usagestats, procstats, netstats, any other empty folder, can delete files like batterystats and the lockscreen files related to it's settings

If need be I'll list what he should delete manually via twrp rather than wipe everything including /data/apps because like that folder isn't the issue, all it is is your installed apps everything else is in /data/data or /data/system and the user_de and system_ce/system_de folders

---------- Post added at 11:19 AM ---------- Previous post was at 11:16 AM ----------

----------

Edit: if he installed this on a fresh rom flash then i don't see how this would cause those issues, seems to me like it's either the rom that's the problem or his magisk install (or if on his rom he's removed certain system apps)
[Magisk] OsamaTookMyCat:
It's LineageOS. I hate Touchwiz but always seem to find problems with AOSP ROMs.

What system apps would cause FCs if removed? Magisk ain't the problem as most of my other modules work.

I keep thinking it's some sort of syncing error. Adding Google to hosts list seemed to curb a few FCs until restating my phone.
[Magisk] Anarchy16:
might be OT but what is your kernel version ? 3.4.xxx or higher ?

i ask bcause in my phone (mi 4) running custom rom (kernel version 3.4.113) latest magisk causing play services & play store to FC !

i have to downgrade to v13.0 or v12 for magisk to work
[Magisk] OsamaTookMyCat:
My kernel is version 3.18.14

Do earlier versions of Magisk pass Safety Net?
[Magisk] Anarchy16:
yeah, it pass safetynet

but if fail, u may try 'Universal SafetyNet Fix' module
[Magisk] OsamaTookMyCat:
Reinstalled v12 and my home screen is as I described. Screenshot included. Recents still work which is why I can type here before I restore my data, but there's no home button nor can I pull down my notifs bar both on Trebuchet or Nova Launcher.

Opening my lockscreen or my recent shows my wallpaper but home screen is just black.
[Magisk] Anarchy16:
strange ! does this also happen when u not flashing magisk ? (i mean only rom + gapps)
[Magisk] OsamaTookMyCat:
No. It's only a problem with MagicGApps.
[Magisk] darkeyes22:
Do you need to flash this before or after you flash Gapps? Or you don't need Gapps with this module?
[Magisk] OsamaTookMyCat:
You don't need GApps at all with this module.
[Magisk] OsamaTookMyCat:
OK, after a full wipe, with MicroG being installed, besides SafetyNet timing out, all previous problems are gone, but the frequent crashing remains if I flash MagicGApps. Will update with a log. Data partition is encrypted if that happens to **** with anything.
[Magisk] demonoidmaster:
Read the op...
[Magisk] VR25:
Nice idea, but I want to halt the current development and start working on the version that converts a regular OpenGApps zip to systemless, Magisk compatible package. The greatest advantages: 1. extremely small module, 2. significantly easier to maintain/update (regardless of internet speeds) & 3. more flexible.

However, for that to be real, I need some help...

I need you guys to provide me with ALL the script files inside each one of the most popular OpenGApps packages (zips) -- "Nano" is the best starting point. Due to my unreliable internet connection, it's extremely difficult for me to obtain these.

Moving on, I updated the module on Magisk-Modules-Repo/MagicGApps to fix all the issues mentioned here. Some of these may still persist, though. Either way, this may be the last update before the "converter version" takes over.
[Magisk] ainurrofiq:
You should make telegram channel. So its easier to share info and it's fast
[Magisk] Azims Lives:
google play services keeps stopping

installed on Moto G (falcon) fresh install LineageOS 14.1 Nightly (magisk v13.3)

and I was unable to check SafetyNet status ("The response is invalid")
[Magisk] demonoidmaster:
I'll post em

Edit: any preference for the type? Arm, arm64, x86 or x86_64
[Magisk] nhizzat:
LG G3, clean flashed latest RR, flashed Magisk_uninstall then Magisk 13.3, then booted into system. Tried flashing the 7/29 build with both Magisk and TWRP with identical results. No FCs but I did have issues with signing into Google a few times. Finally had success signing in, got all excited, then the FCs started popping up like clockwork. I checked and enabled permissions, I installed the latest beta APK from apkmirror, and can't remember what else I've done to troubleshoot.

Is it normal to have only location as the only permission enabled upon first boot after flashing? I haven't attempted to modify the APKs within the zip yet since I don't fully understand what is required to change the APK and permissions.

What can I do to help? The G3 is a backup phone I hardly ever use so it can have apps force close or get stuck in a boot loop all day for all I care.
[Magisk] nwlun:
[MENTION=5228676]VR25[/MENTION] do I need to install pico gapps in order to use this or just clean flash ROM then ur package will do?
[Magisk] Kris Chen:
FC after installed on MIUI8

Attachment was the error message what I had after installed this Module on MIUI8 !

Any solution ?
[Magisk] demonoidmaster:
This is a gapps package in module form. You don't need anything else but your rom and magisk (including whatever modules you want)

---------- Post added at 04:31 PM ---------- Previous post was at 04:29 PM ----------

When that happens try to swipe down your notification panel, press the gear icon to open settings, from there go to WiFi and enable it and connect to WiFi.

Note: IF you've switched from opengapps or such to using this make sure you don't already have any google gapps in

/system/app

/system/priv-app

as those will interfere and also make sure you delete any

com.android.google.*

folders that might be in

/data/data

/data/user_de/0
[Magisk] VR25:
One from each architecture for comparison. -- Thanks. By the way, I found a pico arm package on my basement. Already started analyzing the scripts. Luckly, they seem very similar across architectures. ;)
[Magisk] demonoidmaster:
Here you go, Nano opengapps, all 4 dif types, deleted the apks (and busybox & archive applets that were bundled in the root directory) and kept only the scripts
[Magisk] demonoidmaster:
Happy to help
[Magisk] rignfool:
For inspiration...

Might I direct you to [MENTION=4544860]osm0sis[/MENTION]'s adreno update installer...

You flash his installer and it finds the updated driver zip on its own... And installs it via Magisk if available
[Magisk] VR25:
Slightly similar to what we want, but that's not the actual challenge. -- Thanks for the suggestion though!

... and here's a good news:

I'm almost done writing the "OpenGApps package to Magisk module converter." The greatest challenge was already beaten. :)
[Magisk] demonoidmaster:
Yeah i know, now i can use the opengapps app to dl pico zips and then use your module to import and repack itself, honestly that makes the module always user updated for the gapps and everything else that makes it tick gets updated/fixed by you, making it a hella lot less work for ya to go through since now you won't need to bundle gapps in it and stuff since you said your internet ain't too great rn
[Magisk] emmmmc:
about Android 7.0

Hi.

I'm using offical Sense 8.0 on my HTC 10(Chinese version and no gapps), based on Android 7.0.

Can I use this 7.1 version on 7.0?:)