[Ask][Troubleshooting] Magisk Makes the ROM Super Laggy - Magisk

What I did:
- Wipe all (clean install).
- Flash latest Official MoKee ROM (Nougat).
- Flash latest GApps.
- Flash latest Magisk.
- Reboot.
After finished the Wizard Setup and before doing anything, my phone got very laggy, open menu, open Settings, etc.
Then I clean install again like the steps above, but this time using SuperSU, and everything normal, so I stick with SuperSU for now.
My questions, what is the cause of the lags? Is it known bug in Magisk, the ROM itself (not compatible), or GApps? I also heard ResurrectionRemix had the same problem after installing Magisk, so many people revert back to SuperSU.
Thanks,

I have Resurrectionremix and Magisk 14.3
No any lag on my phone.
Tapatalk - Xiaomi Mi6

You need to list what modules you're using.

BIGWORM said:
You need to list what modules you're using.
Click to expand...
Click to collapse
I only flash the ROM, GApps and Magisk without any additional flashable ZIPs.

Honestly that doesn't sound like Magisk. I've ran Magisk on literally probably 20 ROMs between Angler and Pixel XL and never Magisk caused lag... Did u try a different rom? Just curious, or maybe it's some incompatibility with that specific rom and magisk

yung40oz84 said:
Honestly that doesn't sound like Magisk. I've ran Magisk on literally probably 20 ROMs between Angler and Pixel XL and never Magisk caused lag... Did u try a different rom? Just curious, or maybe it's some incompatibility with that specific rom and magisk
Click to expand...
Click to collapse
I tried several ROMs that based on LOS and all same, maybe it's caused by LOS base that used in those ROMs. And since you say so, probably it's not an issue in Magisk, but the ROM itself.
I'll try Magisk again later when some ROM's builds available for my device.
-
I think my questions has been answered (it's appear not issue in Magisk side) and this thread can be closed.

irfanfadilah said:
I tried several ROMs that based on LOS and all same, maybe it's caused by LOS base that used in those ROMs. And since you say so, probably it's not an issue in Magisk, but the ROM itself.
I'll try Magisk again later when some ROM's builds available for my device.
-
I think my questions has been answered (it's appear not issue in Magisk side) and this thread can be closed.
Click to expand...
Click to collapse
Ya I was gonna say cause I use all AOSP and CAF based

I had this issue with Lineage 14.1 and AEX before.
Now I don't have this issue anymore.
What I do is:
- Wipe everything
- Install ROM
- Install GApps
- Reboot and finish Setup Wizard (then I install some or all apps that I use)
- Reboot to TWRP and flash Magisk.
The first time I reboot after flashing Magisk it's still a little slower than normal. Then I reboot one more time and never faced this anymore.
Now I do this everytime I make a clean install and everytime it works.

Danilo-Sanchez said:
I had this issue with Lineage 14.1 and AEX before.
Now I don't have this issue anymore.
What I do is:
- Wipe everything
- Install ROM
- Install GApps
- Reboot and finish Setup Wizard (then I install some or all apps that I use)
- Reboot to TWRP and flash Magisk.
The first time I reboot after flashing Magisk it's still a little slower than normal. Then I reboot one more time and never faced this anymore.
Now I do this everytime I make a clean install and everytime it works.
Click to expand...
Click to collapse
So don't flash Magisk along with the ROM?
Instead finish Wizard Setup first and back to TWRP to flash Magisk. I'll try this if the issue still persist. Many Thanks

irfanfadilah said:
So don't flash Magisk along with the ROM?
Instead finish Wizard Setup first and back to TWRP to flash Magisk. I'll try this if the issue still persist. Many Thanks
Click to expand...
Click to collapse
Yes.
Try it and let me know if this also fix the problem for you.

Yes, Magisk is the thing that's causing lag and stutter. My Nexus 5X is also barely responding to any commands if I flash Magisk right after a ROM clean installation. If you flash only the ROM, then you can finish setting up the device without much stutter or hiccups in performance.
If, after a clean installation (or after installing Magisk - didn't try this though) you use the phone without Magisk for a bit, maybe install some apps, etc, you'll see that everything is nice and smooth.
Now, you can check the smoothness without Magisk and with Magisk installed like this:
- Without Magisk: Update 'Google App' to the latest version then try to open the side panel from the latest Pixel Launcher. You'll see that opening/closing it is nice and smooth, and scrolling up and down is also smooth.
- With Magisk installed (without using any modules): The moment the phone turns on, at first, things might seem OK. First wait for the phone to settle down after the reboot for a few minutes. Then try opening the side panel. You'll see some stutter while dragging that panel to the right, maybe not huge, but it's there. Scrolling up and down is also stuttery. At first I thought it was because of the latest version of Google App, or the new cards design, or even the images in there, but that wasn't the issue. Then I thought maybe the launcher was somehow influencing Google App's performance, but that wasn't either the issue.
AND it was like I completely forgot about SuperSU and didn't even think of trying it in order to see how things were.
I even rebased my ROM in the hope that I'd find the culprit, and still nothing. Nothing weird appeared in any logs, which was so annoying. And a few hours ago, after finishing up cleaning up my sources (for other reasons), I compiled a fresh new build, and it crossed my mind to try SuperSU, just for the hell of it, and BOOM ! No more lag and stutter. The phone is snappy and responsive again.
I'll try to contact the dude behind Magisk and see what he has to say, or leave a comment in his thread.
The thing is, those with more recent phones, like the Pixels or any other phones than are more powerful than mine, might not notice what I described above, but there should be some stutter there, no matter how small, maybe in other scenarios as well.
The thing is, Magisk kinda slowly took the place of Xposed, at least that's what it looks like to me, and I personally don't like that but that's how things are, I suppose. All those modules or at least one of them WILL cause issues sooner or later, just like on Xposed.
But in the end, yes, it's Magisk what's destroying your phone's performance and nothing else. So if you're not really in the need to have your phone pass SafetyNet, and want to have your phone snappy and lag-free, use SuperSU, at least until things get better on Magisk.

dragos281993 said:
Yes, Magisk is the thing that's causing lag and stutter. My Nexus 5X is also barely responding to any commands if I flash Magisk right after a ROM clean installation. If you flash only the ROM, then you can finish setting up the device without much stutter or hiccups in performance.
If, after a clean installation (or after installing Magisk - didn't try this though) you use the phone without Magisk for a bit, maybe install some apps, etc, you'll see that everything is nice and smooth.
Now, you can check the smoothness without Magisk and with Magisk installed like this:
- Without Magisk: Update 'Google App' to the latest version then try to open the side panel from the latest Pixel Launcher. You'll see that opening/closing it is nice and smooth, and scrolling up and down is also smooth.
- With Magisk installed (without using any modules): The moment the phone turns on, at first, things might seem OK. First wait for the phone to settle down after the reboot for a few minutes. Then try opening the side panel. You'll see some stutter while dragging that panel to the right, maybe not huge, but it's there. Scrolling up and down is also stuttery. At first I thought it was because of the latest version of Google App, or the new cards design, or even the images in there, but that wasn't the issue. Then I thought maybe the launcher was somehow influencing Google App's performance, but that wasn't either the issue.
AND it was like I completely forgot about SuperSU and didn't even think of trying it in order to see how things were.
I even rebased my ROM in the hope that I'd find the culprit, and still nothing. Nothing weird appeared in any logs, which was so annoying. And a few hours ago, after finishing up cleaning up my sources (for other reasons), I compiled a fresh new build, and it crossed my mind to try SuperSU, just for the hell of it, and BOOM ! No more lag and stutter. The phone is snappy and responsive again.
I'll try to contact the dude behind Magisk and see what he has to say, or leave a comment in his thread.
The thing is, those with more recent phones, like the Pixels or any other phones than are more powerful than mine, might not notice what I described above, but there should be some stutter there, no matter how small, maybe in other scenarios as well.
The thing is, Magisk kinda slowly took the place of Xposed, at least that's what it looks like to me, and I personally don't like that but that's how things are, I suppose. All those modules or at least one of them WILL cause issues sooner or later, just like on Xposed.
But in the end, yes, it's Magisk what's destroying your phone's performance and nothing else. So if you're not really in the need to have your phone pass SafetyNet, and want to have your phone snappy and lag-free, use SuperSU, at least until things get better on Magisk.
Click to expand...
Click to collapse
I'm glad I'm not the only one experienced this issue, that's mean it's not entirely user fault. Maybe you're right, on more high-spec phones they won't really notice the lags/stutters.
Looking forward to the news/updates regarding this issue.

irfanfadilah said:
So don't flash Magisk along with the ROM?
Instead finish Wizard Setup first and back to TWRP to flash Magisk. I'll try this if the issue still persist. Many Thanks
Click to expand...
Click to collapse
I don't mean to necrobump, but did it work? I have an LG G4 (H815) and suffered the same issue. Like you, I only flashed magisk right after flashing the ROM (LG nougat).
Thanks

Camandros said:
I don't mean to necrobump, but did it work? I have an LG G4 (H815) and suffered the same issue. Like you, I only flashed magisk right after flashing the ROM (LG nougat).
Thanks
Click to expand...
Click to collapse
I haven't got the chance to try it.
Currently I'm using SuperSU to root my device.

I tried installing magisk on my currently in use ROM, i.e., a long time after flashing it, and although it got less laggy, there still was a heavy lag impact in some applications. Maybe it has less impact on lineage or on lighter ROMs? I'm using official LG nougat.

I'm using Mi 6 in Xiaomi.eu rom
YES, magisk causing laggy.

Same here
Mi5, tested on MIUI 9 and 10
Without Magisk everything was great and after flashing Magisk, the phone got laggy!

I have the same problem with my LG G6

interesting, first I thought that emmc will be broken. because the problem is the same (lag). but after i replace emmc, all back is fine. I just think emmc is broken because it is often flashing rom.

ChessPiece said:
What I did:
- Wipe all (clean install).
- Flash latest Official MoKee ROM (Nougat).
- Flash latest GApps.
- Flash latest Magisk.
- Reboot.
After finished the Wizard Setup and before doing anything, my phone got very laggy, open menu, open Settings, etc.
Then I clean install again like the steps above, but this time using SuperSU, and everything normal, so I stick with SuperSU for now.
My questions, what is the cause of the lags? Is it known bug in Magisk, the ROM itself (not compatible), or GApps? I also heard ResurrectionRemix had the same problem after installing Magisk, so many people revert back to SuperSU.
Thanks,
Click to expand...
Click to collapse
what magisk version 16.0 or beta? magisk can't make the phone lag but kernel or something in ROM may interrupt try to change kernel or flash the lastest Gapps

Related

YouTube Videos at 720p/[email protected] Freeze Video playback but continue playing audio.

So I've had this bug for a while and I've always thought it was a bug in CM14.1 since I had it come about when I switched both my Nexus 7 2013 and OnePlus One over to the CM14.1 nightlies but after talking to a few people they told me they don't have this problem. I decided to do some testing and upon uninstalling Magisk the bug seemed to not occur anymore on either my Tablet or my Phone. At one point I went through and installed everything one at a time on the Magisk 10 12/29 build oddly enough I didn't experience the bug on that even with all my normal modules installed. As soon as I reverted to Magisk 9 or a newer build of Magisk 10 (I'm currently on 01/01/17 after getting it to work by clearing my cache) the YouTube bug came back. I haven't been able to replicate not having the bug while magisk is installed a second time even with the same build however.
Now I'm wanting to know how many if any of you are also experiencing this same issue and if so what device, rom, and Magisk version are you on and what modules are you using? I really want to solve this issue without having to stop using Magisk because I need it for several things currently.
Link_of_Hyrule said:
So I've had this bug for a while and I've always thought it was a bug in CM14.1 since I had it come about when I switched both my Nexus 7 2013 and OnePlus One over to the CM14.1 nightlies but after talking to a few people they told me they don't have this problem. I decided to do some testing and upon uninstalling Magisk the bug seemed to not occur anymore on either my Tablet or my Phone. At one point I went through and installed everything one at a time on the Magisk 10 12/29 build oddly enough I didn't experience the bug on that even with all my normal modules installed. As soon as I reverted to Magisk 9 or a newer build of Magisk 10 (I'm currently on 01/01/17 after getting it to work by clearing my cache) the YouTube bug came back. I haven't been able to replicate not having the bug while magisk is installed a second time even with the same build however.
Now I'm wanting to know how many if any of you are also experiencing this same issue and if so what device, rom, and Magisk version are you on and what modules are you using? I really want to solve this issue without having to stop using Magisk because I need it for several things currently.
Click to expand...
Click to collapse
I have this... But it only happens after a lot of uptime... And only once in a great while
I chalk it up to running a custom ROM... And it is fixed with a reboot...
I get it with and without magisk
rignfool said:
I have this... But it only happens after a lot of uptime... And only once in a great while
I chalk it up to running a custom ROM... And it is fixed with a reboot...
I get it with and without magisk
Click to expand...
Click to collapse
For me it can't be up time because it occurs even between reboots on y nexus 7 and OnePlus One. I did seem to get it to well on u OnePlus one with the newest build some how but couldn't seem to replicate that on my Nexus 7. It must be a combination of things causing it ugh. If I could just disable 60fps and keep 720p/1080p that would be fine even. Just 480p looks like crap.

New oxygenOS or xposed?

Hey guys,
Just wanted to know how many of you ditched the Xposed on marshmallow for the latest 7.1.1 Android based oxygenos?
Since we don't know when nougat will be supported by xposed, is staying on marshmallow worth it?
Even though most of the modules I use are more or less esthetical, there's one thing I can't live without - youtube background playback and ad block.
Share your thoughts!
Xposed over any OS without Xposed. I have never even flashed Nouget because I know its just a waste of time for me. Ive been on cm13 since the day it came out. DEC 11 2016.
If all you need is the youtube modules, there's modded youtube apps out now with adblock and background playback. Check it out here.
I've also packaged the app in a convenient Magisk module, which you can find here.
It works exactly like the xposed-modified YouTube app, but it works on Nougat.
Anova's Origin said:
If all you need is the youtube modules, there's modded youtube apps out now with adblock and background playback. Check it out here.
I've also packaged the app in a convenient Magisk module, which you can find here.
It works exactly like the xposed-modified YouTube app, but it works on Nougat.
Click to expand...
Click to collapse
Hey Anova, what is this Magisk thingy you're talking about?
Also... For me The most important is gravitybox then come youtube modules and mock mock locations.
You think it's worth the upgrade? I personally never had a phone that would get updates so quickly or even at all. So I have no idea what to expect.. Would I have to reroot, reinstall recovery or it's all a piece of cake and only the exposed won't affect anything? Lemme know.
Crishien said:
Hey Anova, what is this Magisk thingy you're talking about?
Also... For me The most important is gravitybox then come youtube modules and mock mock locations.
You think it's worth the upgrade? I personally never had a phone that would get updates so quickly or even at all. So I have no idea what to expect.. Would I have to reroot, reinstall recovery or it's all a piece of cake and only the exposed won't affect anything? Lemme know.
Click to expand...
Click to collapse
Magisk is a framework that allows you to make temporary changes to your /system partition at boot, without actually modifying the partition. It works by superimposing user-defined changes to files in /system during boot; changes are reverted to their stock state afterwards. These user-defined changes are loaded into Magisk through Magisk modules. While a lot of people may think it's similar to Xposed, they're really nothing alike. I mentioned Magisk for the YouTube app because it is merely convenient. You could manually replace the YouTube APK in system without any additional software, but Magisk will do it for you while applying all the correct permissions, etc. As a bonus, Magisk also includes its own rooting method that works, for the most part, as well as SuperSU. This means that you can flash only Magisk to root your phone (flashing SuperSU is optional and is really based on personal preference, Magisk will work with SuperSU if you flash that first).
Because of what Magisk is and how it works, it is not able to modify your device in the same way that Xposed can. This means that mods like gravitybox and mock mock locations cannot be implemented with Magisk. Technically, all Magisk modules can be installed without Magisk by manually editing/replacing things in the /system partition. What is special about it is that Magisk does these things systemlessly, meaning that (with the proper configurations), you can modify /system without triggering safetynet.
For the modified YouTube app I was talking about, that was actually modded and compiled as a stand-alone APK by someone on XDA. It does not alter your current YouTube app, but rather outright replaces it.
As for upgrading to Nougat, it's really up to personal choice. I personally never used Xposed for anything other than YouTube Adaway and Background Playback, and to top it off I rarely use YouTube on my phone anyways so upgrading was an easy choice for me. If you do end up wanting to upgrade, do the following:
1) Download the full ROM of whatever version of OOS you want to use (4.1.0 is the latest, on Android 7.1.1). Do not use the "Upgrade Phone" option in settings if you are already rooted or have modified anything in your /system partition, as it will cause problems.
2) Flash the full zip in TWRP, wipe cache/Dalvik, then immediately flash the latest Magisk.zip (from the main Magisk thread on XDA)
3) Boot, then download Magisk Manager from the Play Store
At this point, Magisk will have been fully installed and your phone should be rooted. You can confirm through the Magisk Manager app
Anova's Origin said:
Magisk is a framework that allows you to make temporary changes to your /system partition at boot, without actually modifying the partition. It works by superimposing user-defined changes to files in /system during boot; changes are reverted to their stock state afterwards. These user-defined changes are loaded into Magisk through Magisk modules. While a lot of people may think it's similar to Xposed, they're really nothing alike. I mentioned Magisk for the YouTube app because it is merely convenient. You could manually replace the YouTube APK in system without any additional software, but Magisk will do it for you while applying all the correct permissions, etc. As a bonus, Magisk also includes its own rooting method that works, for the most part, as well as SuperSU. This means that you can flash only Magisk to root your phone (flashing SuperSU is optional and is really based on personal preference, Magisk will work with SuperSU if you flash that first).
Because of what Magisk is and how it works, it is not able to modify your device in the same way that Xposed can. This means that mods like gravitybox and mock mock locations cannot be implemented with Magisk. Technically, all Magisk modules can be installed without Magisk by manually editing/replacing things in the /system partition. What is special about it is that Magisk does these things systemlessly, meaning that (with the proper configurations), you can modify /system without triggering safetynet.
For the modified YouTube app I was talking about, that was actually modded and compiled as a stand-alone APK by someone on XDA. It does not alter your current YouTube app, but rather outright replaces it.
As for upgrading to Nougat, it's really up to personal choice. I personally never used Xposed for anything other than YouTube Adaway and Background Playback, and to top it off I rarely use YouTube on my phone anyways so upgrading was an easy choice for me. If you do end up wanting to upgrade, do the following:
1) Download the full ROM of whatever version of OOS you want to use (4.1.0 is the latest, on Android 7.1.1). Do not use the "Upgrade Phone" option in settings if you are already rooted or have modified anything in your /system partition, as it will cause problems.
2) Flash the full zip in TWRP, wipe cache/Dalvik, then immediately flash the latest Magisk.zip (from the main Magisk thread on XDA)
3) Boot, then download Magisk Manager from the Play Store
At this point, Magisk will have been fully installed and your phone should be rooted. You can confirm through the Magisk Manager app
Click to expand...
Click to collapse
Thanks for such a detailed description of everything! You're the best! I seriously decided to upgrade tomorrow.
Just last couple questions before I do... Should I delete anything? Like xposed itself with it's modules, or does the system upgrade wipe everything itself? Should I perform any backups other than usual titanium ones?
Thanks in advance
Crishien said:
Thanks for such a detailed description of everything! You're the best! I seriously decided to upgrade tomorrow.
Just last couple questions before I do... Should I delete anything? Like xposed itself with it's modules, or does the system upgrade wipe everything itself? Should I perform any backups other than usual titanium ones?
Thanks in advance
Click to expand...
Click to collapse
You should delete the Xposed modules prior to updating, as they are saved as user apps and will not be wiped with an upgrade. Delete the Xposed framework app as well for the same reason. Updating should erase all of the background stuff that the Xposed originally installed in /system. Take a nandroid prior to updating just in case.
Anova's Origin said:
You should delete the Xposed modules prior to updating, as they are saved as user apps and will not be wiped with an upgrade. Delete the Xposed framework app as well for the same reason. Updating should erase all of the background stuff that the Xposed originally installed in /system. Take a nandroid prior to updating just in case.
Click to expand...
Click to collapse
Thanks again, mate!
Is this the one I should download? https://forum.xda-developers.com/oneplus-3t/how-to/rom-oos4-0-nougat-op3t-leaked-t3523482
Crishien said:
Thanks again, mate!
Is this the one I should download? https://forum.xda-developers.com/oneplus-3t/how-to/rom-oos4-0-nougat-op3t-leaked-t3523482
Click to expand...
Click to collapse
Yes, that will work. OnePlus has not yet released the official zip through their website at this time, otherwise I would advise you to use the official zip.
Anova's Origin said:
Yes, that will work. OnePlus has not yet released the official zip through their website at this time, otherwise I would advise you to use the official zip.
Click to expand...
Click to collapse
Great, thank you. Imma let you know how it goes later today.
Anova's Origin said:
Yes, that will work. OnePlus has not yet released the official zip through their website at this time, otherwise I would advise you to use the official zip.
Click to expand...
Click to collapse
Not sure if I did anything wrong or I'm just impatient... But I flashed the update successfully and deleted dalvik. But got stuck at boot logo. Been hanging like this for 15 minutes, phone got hot and drained half its juice. So I reverted for now.... I'll try again at home with a charger... ?
954wrecker said:
Xposed over any OS without Xposed. I have never even flashed Nouget because I know its just a waste of time for me. Ive been on cm13 since the day it came out. DEC 11 2016.
Click to expand...
Click to collapse
what can xposed do that you actually need that you can't do with magisk?
EuEra said:
what can xposed do that you actually need that you can't do with magisk?
Click to expand...
Click to collapse
I don't think magisk can handle what xposed can handle.
954wrecker said:
I don't think magisk can handle what xposed can handle.
Click to expand...
Click to collapse
Indeed I will miss gravitybox. But if there is any other way to make my buttons do what I like which is (on the left - menu button with double tap for previous app/ home is home and recents on long press / right is back.)
Other than that it's all purely visual enhancement such as perfect color bar, media visualizer, and ****.
On the other hand I've just encountered a slight difficulty... Magisk won't work properly if I had Supersu previously installed, right?
Crishien said:
Indeed I will miss gravitybox. But if there is any other way to make my buttons do what I like which is (on the left - menu button with double tap for previous app/ home is home and recents on long press / right is back.)
Other than that it's all purely visual enhancement such as perfect color bar, media visualizer, and ****.
On the other hand I've just encountered a slight difficulty... Magisk won't work properly if I had Supersu previously installed, right?
Click to expand...
Click to collapse
What are you gaining if I may ask? I have never tried 7.0 or magisk because I see ZERO benefit and Id lose all my favorite modules.
954wrecker said:
What are you gaining if I may ask? I have never tried 7.0 or magisk because I see ZERO benefit and Id lose all my favorite modules.
Click to expand...
Click to collapse
That's what I wanna find out. I wanna see what's the new Android about. And I'm sure rovo will find a solution soon. And we will see xposed for nougat.
GravityBox is terrible and has slowed down every phone it's ever been put on (from my experience).
Xposed is a hack and it's shameful how it's holding back advancement.
Nougat > any hack
MattBooth said:
GravityBox is terrible and has slowed down every phone it's ever been put on (from my experience).
Xposed is a hack and it's shameful how it's holding back advancement.
Nougat > any hack
Click to expand...
Click to collapse
My phone is just as fast with xposed as it is without. All my apps work perfectly so I say any OS with Xposed is > Nougat
954wrecker said:
I don't think magisk can handle what xposed can handle.
Click to expand...
Click to collapse
Most of that is either completely unnessecary, pointless, or magisk can do it if people start developing for it. I have none of it (except no ads on youtube and the ability to turn off the screen) and i am completely fine. I think you tell yourself you need all that stuff but you actually don't, staying versions behind on the OS for it seems stupid.
954wrecker said:
My phone is just as fast with xposed as it is without. All my apps work perfectly so I say any OS with Xposed is > Nougat
Click to expand...
Click to collapse
Well that's your opinion and you're entitled to it, but I've noticed the total opposite across several devices. I always try Xposed on a new phone and I always massively dislike the way it works. Intercepting code that was not supposed to be intercepted just adds overhead. There's a good reason AOSP devs will refuse to look at any bug report that has Xposed in the logs.
EDIT:
Anyway, the battery savings from Nougat are too good to pass over. The only thing I need to customise on my phone is having the Google Dialer, and AdAway, whilst still keeping SafetyNet as passing, which Magisk does perfectly.
EuEra said:
Most of that is either completely unnessecary, pointless, or magisk can do it if people start developing for it. I have none of it (except no ads on youtube and the ability to turn off the screen) and i am completely fine. I think you tell yourself you need all that stuff but you actually don't, staying versions behind on the OS for it seems stupid.
Click to expand...
Click to collapse
Exactly, unless you use every setting on GravityBox then it's not entirely necessary, yet even if those functions are off or there are features of GravityBox you don't use, their code is still run. The bigger it gets the more the overhead there is. If you don't use, say, the network speed monitor, it's hook is still active. I could be wrong, but last time I dabbled with Xposed, this was the case.
If anything, smaller more granular modules would be better for GB. One module for network speed. One module for changing the on-screen buttons, etc. That way you only install modules that you use, rather than a whole library of them where you might only use 2-3 of the actual features.

Help flashing ROM (KatKiss), Magisk, Gapps and being able to download Netflix

I'm right now I'm at a point where I hate stock and these custom roms are great, but hate being held back by the Play store no longer allowing me to download/update Netflix which is used often.
Previously I had installed
KatKiss - Nougatella #023,
SuperSU
Gapps - Stock
I suppose I could have just installed netflix through the apk but I figured that would only be a temp solution.
So my first steps were to wipe and go back to stock.
I then proceeded to add CWM recovery back (Also tried with TWRP)
I wiped
I then ran an uninstall SuperSU zip (which may or may not have been needed but seemed safer to try.
I installed KatKiss
Then Magisk
Then Gapps - Stock
This will cause lots of crashing right from the start of the setup wizard... the the app/stopped don't ever stop. A lot of google related stuff as soon as I conect to Wifi.
I started over.
This time I installed Gapps - Mini instead.
No longer crashes the set up wizard. Everything seems stable.
At this point I have access to the tablet through KatKiss.
When I run Magisk Manager, the safetynet check never finished. Just spins.
If I hide the PlayStore from root and try to find Netflix it won't be there.
However, if I now install Gapps-Stock through recovery at this point... I can then go back to the Play Store and find Netflix. It will be there.
However, I still can't pass SecureNet check. It just spins.
I first thought to myself... Thats ok. I don't need it, Netflix was really the issue I needed addressing and I have that.
So I started putting apps back on my tablet to find... apps were crashing more. Facebook for example will never work. Just crashes on startup.
So something just isn't right and I don't really know what I'm doing. In the past I always just followed easy to follow guides.
Note: I believe I have better luck with KatKiss build #021. 023 gave me more issues with this process so I had 021 on hand.
You really should go with the gapps version recommended by the dev of your rom and that would be pico gapps in this case. If you flash a different gapps package you're on your own for trouble shooting fc'ing apps and system UI and such...
I have no idea if this rom works with Magisk and would be tickled to find out, but I don;t have the time for it right now. On other devices there were problems when the rom was pre-rooted or for some the build-in busybox did not work and they had to flash a different version. There could also be a problem if the boot image has been modded for SuperSU and idk if it has been on this rom.
Try this first:
If you flashed any other than pico gapps version you really should format /data before reflashing the rom. That done:
format /system, wipe /cache and Dalvik, then flash the rom and pico gapps, then flash unsu by osmosis followed by the Magisk flash. Then install Magisk Manager and try to pass Safetynet with both Busybox enabled and disabled.
Let me know how it goes
https://forum.xda-developers.com/showpost.php?p=63615067
Edit: couldn't help myself - had to try it :cyclops:
So I tried a quick and dirty switch from SuperSU rooted Katshmallow v33 to the same rom with Magisk. No reflash, just wiped cache and Dalvik, flashed unsu and then Magisk. Root works fine but it does not pass Safetynet check, Netflix app does not show in Playstore, device is uncertified in Play.
The failed check says: CTS profile mismatch and I believe that is the problem with the Busybox version that comes with Magisk. Read something somewhere about replacing it with a different one which solved the problem for some folks...
I'll dig some more later....
Thanks for the info. I didn't realize the importance of using Gapps-Pico in this case. I just figured they were recommending a light-weight Gapps opposed to a larger one... So I always went with "stock" and never had an issue.
I'll keep that in mind for debugging future issues.
I'm not sure how important formatting /system was... I always left that one alone, but I was formatting /data /cache and Dalvik
That CTS profile stuff all seems beyond my knowledge at the moment. I guess let me know what you find when you do.
Thanks again
No issues? I thought you had "lots of crashing".. ??
So you want me to do all the leg work, yes? Sorry man, it's you who wants Netflix :silly:
I dirty flashed the rom, ran unsu, then flashed Magisk and osmosis' Busybox but Safetynet check still fails for me...
Don't have time to do a clean install just now, but that would be the next step...
I like Magisk as systemless root and I got it working for my purposes.
As for Netflix - I don't use it much on the tablet and I just squirreled away the 4.16.1 version. Just in case I accidentally update it to the newer ones....
Sorry if that was unclear. I meant I never had any issues using Gapp Stock before this whole Rooted/Netflix thing came up last week. Now it is what it is.
And yeah, I didn't mean for it to be like I was asking anything of you. I'm not. You just seemed like the type who would be tinkering with this kind of stuff. If not, no worries.
Information/guidance is what I'm after. Not leg work.
I'm sure I just need to be patient really. Since a lot of people use Netflix I'm sure this will get a lot more attention in the near future.
Thanks again.

Note 5 Rooted lineage os Apps Force close

I have a rooted note 5 n920c im running lineage os and rooted with magisk 15.3 my apps keeps force closing
Like when im swiping through instagram stories or whatsapp stories or when im going through facebook news feed it happens after a while of using like if i use my phone for like half an hour and it stays when i go to recovery twrp i fix context it works fine i dont know if that fixes it or just the reboot fixes it i have used all the custom aosp roms this problem for me is in all of the roms i have used dr ketan rom but it works fine
Please help
Usually that happens when your magisk installation is dirty/broken. Try flashing magisk.
If all else fails, flash in this order, rom, kernel, magisk. Very important to flash magisk after the kernel.
Turbine1991 said:
Usually that happens when your magisk installation is dirty/broken. Try flashing magisk.
If all else fails, flash in this order, rom, kernel, magisk. Very important to flash magisk after the kernel.
Click to expand...
Click to collapse
Thank you very much will try this right away and tell u the results im using lineage os and the forum had another root file and didnt include magisk i installed magisk from its manager does not installing magisk will fix this? And do i have to clean install the rom now?
Update: i Have clean installed the rom and kernel gapps everything but still i have the same problem i get force closes on multiple apps like facebook whatsapp youtube instagram the force closes happen when i use the apps like with too fast of speed like if i scroll throught instagram stories too fast or i scroll throught facebook news feed very fast please help thanks in advance ps im using lineage os and opengapps no root or xposed installed

Camera not working anymore, and it may have something to do with Magisk

I just realized my camera isn't functioning anymore.
Each timeI try to open the stock camera app, the app will now say "can't connect to camera" and then quits. Other apps that make use of the camera will also complain about a problem with it.
Coincidentally, I upgraded magisk (canary build) to version ce7cb1ee (20706) last night. And I was using my camera just yesterday with no problems at all.
So I strongly suspect it may have something to do with the latest magisk build. Anything I can do to revert it back to the previous version?
(also note to self: do a full TWRP backup, and backup my own data too using methods like tar, next time before flashing new magisk)
seemebreakthis said:
I just realized my camera isn't functioning anymore.
Each timeI try to open the stock camera app, the app will now say "can't connect to camera" and then quits. Other apps that make use of the camera will also complain about a problem with it.
Coincidentally, I upgraded magisk (canary build) to version ce7cb1ee (20706) last night. And I was using my camera just yesterday with no problems at all.
So I strongly suspect it may have something to do with the latest magisk build. Anything I can do to revert it back to the previous version?
(also note to self: do a full TWRP backup, and backup my own data too using methods like tar, next time before flashing new magisk)
Click to expand...
Click to collapse
Try to flash magisk 20.3 via twrp and delete cache and dalvik
Maybe stupid question, but have you tried to reset your phone? Xd
Have you any camera mods in Magisk modules, like Camera 2 API enabler or sth?
SzczufFun said:
Maybe stupid question, but have you tried to reset your phone? Xd
Have you any camera mods in Magisk modules, like Camera 2 API enabler or sth?
Click to expand...
Click to collapse
Thanks for replying !
I am now all but certain the latest Magisk canary build (edit: version 20306) as a compatibility bug with MIUI 10.
Ended up flashing to MIUI 11, installed Magisk, no issues.
Just for the sake of testing, I used MiFlash to do a fresh install of MIUI10, then installed Magisk. Camera became useless. Flashed previous version of Magisk canary. Things went back to normal.
Because of this I spent hours upgrading to MIUI 11 (so it gave me extra motivation to finally made the move), figuring out what to debloat, and did a slow and arduous operation of moving data slowly back to the system (so I can have a clean fresh MIUI11 with empty data partition and empty storage to begin with). So all is still good i guess.

Categories

Resources