How to Set Permission for App and Fix Force Close? - Magisk

So i try to make a magisk module with a google apps, but the things became weird. The permission not activated and the GMS Core keep crashing. The GMS Core gonna crash in a few minutes and keep crashing after multiple time. After a few minutes since it last crash, its working perfectly like things never happen, but if the phone rebooted it will start crashing again. Anyway to fix the problem?

Related

[Q] Every app on my phone is force closing. Cm 10.1

I'm running a CM 10.1 nightly and every time I start my phone, every singe app that starts force closes, even Trebuchet and Nova Launcher. I'm really frustrated at this point, and can't figure out what is causing my problem. I would love to do a fresh CM install, but I can't get into people to backup my contacts. The problem started about a week ago where there would be random times where every app on my phone would force close and I wouldn't be able to do anything, so I would set my phone down and pick it up later and everything would be working perfectly. Now it's progressed so far that every time I take it off the charger, every app force closes, every time I move from wifi to 3G/HSPA every app force closes, and every time I move from 3G/HSPA to wifi every app force closes. I'm really at a loss to what is causing this problem.
How do I fix this?
For the record I figured out the problem. It seems /datadata gets filled up and then apps start force closing, apparently this happens to a good number of people. To see if /datadata is causing force close problems on your phone open a terminal and type
Code:
>su
>df
Find /datadata and if the limit is almost reached start clearing out old apps/delete data from apps that you aren't using all the time. You can also move some of your larger apps to an SD card if you have one.

App installation (from Playstore) causes multiple OS services to crash :(

I've been running Lineage 13 for 6 months, but the phone mysteriously got into a boot loop yesterday, so I had clear the local data and re-install the apps from the Playstore
However I found that every time I installed the nRFToolbox app (by Nordic Semiconductors) (Who are a reputable company), that when the App installed, it crashed a load of internal OS services e.g. PlayServices and all sorts of Google services.
If I rebooted the phone it appeared to work OK, but if I went into the "Apps" in Settings, the phone hung again, and I had to reboot it.
I tried updating to the latest unofficial Lineage 13, but that didnt help, so I've now installed the official Lineage 14, and this seems to have solved the problem.
But I don't quite see how a single app can kill so many core services, and I prefer to stay on Android 6 (Lineage 13), because of XPosed and specifically XPrivacy.
(BTW. I know XPosed is now supposed to work on Android 7, but I didnt think XPrivacy will every get ported to work with the updated version of Xposed - at least according to the developer)
Does anyone have any insight into why this app can hang the phone
I don't know, why this APP makes your phone crash, but i had similar problems when installing greenifys latest app and two days ago, i updated some apps ending in bootloops.... I am using unofficial Lineage 13 with xposed and xprivacy too
I run stock OS but have this same issue when updating any big and heavy apps such as Snapchat, Google app and FB Messenger for the past 6 months at least. The app starts to update but then will crash in the installing phase often giving an error such as "503 can't be updated", at which point multiple Google services will crash endlessly the only way to stop the crash is hold down power to force the phone to reboot.
I have reset the phone several times but after setting up the phone and updating all the apps the first update to one of those apps the issue happens again (the app always installs from scratch ok it's only it's updates that cause it)
A sort of fix I have been using (because it doesn't 100% always work) is when you see an update for the app you know will cause the crash first update all the other apps manually leaving only the problem app, then close all apps go to Settings > Storage & USB > Internal storage and clear the Cached data, then power cycle the phone, let the phone boot and complete all it's background tasks it does after booting, then open Play Store and click Update on the offending app then put the phone down and leave it until the app either updates or causes the crashes. If this doesn't work then waiting 24 hours and doing the same steps seems to work.
I am certain it comes from either an app update (probably from Play services or the Play Store app) or maybe from having the phone encrypted which does make the phone run slower especially over time. (May or may not be related but I've noticed on my phone if I factory reset it then after setting it up and updating all the apps I try to encrypt the phone the phone will 'break' and will boot loop forcing a reset from the boot loader, however if I set up the phone, don't update any apps then encrypt it completes successfully, all the apps will then update ok and the phone then functions as you would expect)
All in all this issue is incredibly frustrating!

Snapchat crashing when opening keyboard

Hi,
Snapchat is frequently crashing after taking a picture when I open the keyboard (when I'm about to start writing something). Snapchat is forced to stop and the error message comes up. It happens when I haven't used snapchat for a little while (around 10 minutes +). When it crashes, I can load snapchat again and use it as normal, but this is obviously frustrating.
This has happened to some other apps occasionally, but snapchat is crashing all the time.
This is what I've tried:
Reinstalling snapchat
Clearing cache
Changing keyboard to swiftkey
Factory reset. After the factory reset snapchat was working fine for one day.
The warranty is not covering software issues and I bought it 5 months ago, so I can't return it.
Do anyone have a solution?

Question Pokemon Go

I've installed GMS on the phone and I am having trouble getting Pokemon Go to run properly. The game opens but about a 5 to 30 seconds after the map loads the game will freeze. The music will continue to play. Can anyone else who has the phone and has GMS installed try the game and see if the same thing happens to them? Thank you.
I'm seeing 'GPS signal not found. (11)' in game, It doesn't freeze it's just not playable without gps being detected
Did you freeze GSF?
kennyk319 said:
Did you freeze GSF?
Click to expand...
Click to collapse
For what its worth, Pokémon Go is running fine on my Huawei Mate X2 (with GMS installed on Emui11).
Originally, it was hanging like 30 secs to a minute after start up. Don't recall what I actually did, but I remembering granting all the permissions avail for the app, but it still had issues. I then restarted the game and allowed Game Space / Acceleration permission (i.e. Guess giving it overriding priority) and it has been running fine...
It does lose its location occasionally (happened twice in a space of 7 days playing), but can just turn off/on GPS and it's back...
No crashes or any other hangups other than that...

Google Apps constantly stop working/ Cellphone often crashing

I have been experiencing a problem with my X4 lately. Suddenly, Google Apps such as Youtube, Google Chrome, Youtube Music, Play Store, even GMAIL started to crash. Out of the blue, they just close, sometimes they close and report that "app x stopped working", and often "Google Play Services stopped working" and this pretty much makes the cellphone unusable, the apps won't open anymore, not even a reboot would solve it. Sometimes apps as Facebook, Instagram, the Native Camera, even SETTINGS will crash. Following this crashes, sometimes the cellphone will just shut off the display and crash, only coming back after a forced reboot (BUT, as strange as it may seem, the long press on the power button works just fine and the display wakes but only showing shut off and reboot options).
I was experiencing this problem with the stock Android 9 ROM. I then removed my google account, wiped it, did a factory reset for a couple times, did not work. I flashed the stock ROM, but the problems only got worse. Then i flashed the Pixel Experience w/ Android 10 using the latest TWRP, same problems happened, with a clean installation, wiped everything. I used it for a couple of months, but the crashes were just increasing over time.
I then installed the Lineage OS 18.1 on Android 11 on my X4; Same thing, clean installation, wiped everything, removed all Google Accounts, flashed the latest GAPPS. Boy oh boy, it was smooth like butter on the beginning (i recommend this ROM very much), one week goes by and the same crashes come back again, every once in a while. I just can't figure what could be causing the crashes, same issues with 4 different roms!
If anyone please has experienced this or know how could i fix it, it would help me very much. Thank y'all for your attention.
Next time it happens i will try and take a screenshot to post here.
Did you ever get a solution to this? I am having the same issue.

Categories

Resources