Has anyone got wakelock detector running on their OP5?
I am running OOS so there is no custom rom Messing with it, but I always get an error message.
I also cannot Install it as a system app which was suggested because it cant mount rw
I have the same issue. haven't found a solution yet. Does anyone have any insight
I posted a workaround in a different thread.
Basically don't install the root version, install the Wakelock Detector Lite version, then you need to follow the in-app guide to grant the app battery stats via ADB and a Chrome Extension. That works.
oggew2 said:
Has anyone got wakelock detector running on their OP5?
I am running OOS so there is no custom rom Messing with it, but I always get an error message.
I also cannot Install it as a system app which was suggested because it cant mount rw
Click to expand...
Click to collapse
Works fine with Magisk / AppSystemizer (+ reboot twice ?!).
BetterBatteryStats_xda will give you more analyses.
for new version is need run adb command
Code:
adb -d shell pm grant com.uzumapps.wakelockdetector.full android.permission.BATTERY_STATS
Hi could you help me to figure out why
KERNEL wakelock is failed to open for me ?
First time I was able to open kernel mode, after that I have made some settings adjustment BUT not with this app. I changed background mode for samsung push nitifications, removed permissions for body sensor and microphone for google play service, but not have changed anything for wakelock detector.
do you kow what should be enabled/permissions for KERNEL mode view ?
Hello. It's driving me crazy: microphone access permissions for Google Meet, Microsoft Teams, Facebook Messenger keep reverting to disabled state after reboot. I tried setting them from adb (e.g. pm grant com.google.android.apps.meetings android.permission.RECORD_AUDIO) but it behaves the same. I do not have profiles enabled, I already wiped cache from recovery, I do not know what to try next. Storage and Camera permissions remain, just the Microphone is stubborn. Please help, thank you.
Update to 7.3.1.7 (a quick bug-fix release), then go through ALL of the tablet settings and toggle every one of them back and forth one time to end up on the correct setting, even if it looks like it is already on the correct setting (sometimes it isn't).
Just received 7.3.1.7 and the problem is still there after restart. Do you have the same version and for you is the microphone permission working fine for either of the sideloaded apps?
I'm having same problem. It seems to be happening only with sideloaded apps.
Actually I take that back, I just tried facebook app downloaded from Amazon appstore and it's also happening.
Restart your Fire tablet and view logs on your Fire tablet using ADB
Code:
//Enter ADB shell
adb shell
//Start logcat
logcat
and you can see the suspected app that revokes microphone permission.
I am on my second V20, H990DS this time and I am running Superv20 which I have been using the past few days and is a dream, bar these issues I have run into which seem to be related to each other.
I have been unable to get youtube vanced to install on this V20, and it returns with
'Installation failed for unkown reasons'
then in advanced
'java.io.FileNotFoundException: No such file or directory'
I was also restoring a backup with Titanium Backup from my other phone to get around snapchats root detection as magisk hide did not work. On restoring the app+data I am hit with a generic 'App not installed.' message, and then titanium hangs on the screen indefinitely until rebooting the phone (did manage to restore just Data after installing stock snapchat).
Then I remembered the first few times I attempted to setup the phone and update magisk and magisk manager. After updating magisk, the next time the phone was booted I got a simple grey background and small white writing filling half the screen with the first line stating something similar to
'Crash on the LK!' (might not be exact, didn't have my other phone to take a photo) and I had to reinstall the rom. I did this twice to test just in case it was a random issue.
My assumption is that it is related to storage somehow and I did manage to find one thread with a similar issue so I checked if internal was not the default install location, but pm get-install-location returns with
1[internal]
but also I have tried setting the storage to auto and external and neither worked (for vanced at least)
Unsure what to try next as my troubleshooting and searching for similar issues has run dry.
Help much appreciated and thanks in advance <3
-A9
tl;dr: I uninstalled com.android.vending via adb, now re-installing it from APK isn't bringing the icon, or the functionality, back.
So today I tried to use my phone as you do, and "Application Google Play Services has stopped" was popping constantly, stacking the messages one after another, making it hard to even browse through GUI. Restart or clearing app data and app caches didn't helped. So I connected it to PC, and did:
```
adb shell
su
pm disable com.google.android.gms
```
(note: I should've tried "safe mode". But I didn't, so I don't know if it would help.)
The service disable command stopped the errors, but nothing else worked - Google Maps, GMail, even contacts stopped showing - looks like they had no proper local copy (which is concerning as well, but not really the issue I'm trying to solve).
So keeping GMS disabled is not really an option. I tried installing version 21.something and 19.something via adb, these both were constantly crashing as well. I finally went down to `com.google.android.gms_18.7.19` and that one seem to be working. But before that, I started removing services which use GMS - as I assumed the crash is probably caused not by GMS just existing, but by being used incorrectly by other things. One of the removed ones was Play Store - I did:
```
adb shell pm uninstall --user 0 com.android.vending
```
Ok, so no play store. But no problem, it can be easily re-installed from apk, right? Well no. This is the issue.
I tried installing a lot of various versions, but the store just isn't popping in the menu, nor in the activities handlers:
```
# adb shell monkey -p com.android.vending 1
** No activities found to run, monkey aborted.
# adb shell am start -n com.android.vending/com.google.android.vending.activities.MainActivity
Starting: Intent { cmp=com.android.vending/com.google.android.vending.activities.MainActivity }
Error type 3
Error: Activity class {com.android.vending/com.google.android.vending.activities.MainActivity} does not exist.
```
In the "Settings" -> "Applications", the Play Store is on the list, but it is marked as "not installed". Trying to "DISABLE" it or "ENABLE" again does not do anything useful (it uninstalls the version I installed, but original is still missing).
So installing the store succeeds, it just doesn't seem to do anything. Example cmd I use for installation:
```
# adb install -r -d "com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk"
Performing Push Install
com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk: 1 file pushed, 0 skipped. 2.7 MB/s (21821561 bytes in 7.817s)
pkg: /data/local/tmp/com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk
Success
```
I tied extracting all the factory APKs from N910 stock images, but I can't easily figure out which APK stores the shop (yeah, I might try extracting them all, it's one line script after all).
Any idea what's going on, or what I should check?
Ooh..
```
adb install -r --user 0 "com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk"
```
That worked. It took me far too long to figure out.
So I uninstalled the app from "--user 0" - so from system apps, but tried to re-install it for local user instead. Turns out the Play services won't work if installed this way.
Issue solved.
I started to have exactly the same f***ing issue yesterday! I have wiped all data tried reinstalling ROM and still same errror... Why did this happen?
Does your fix corrects it forever?
I will need to try your solution. Thinking of moving to another custom ROM from almost original one.
Sadly I am getting INSTALL_FAILED_VERSION_DOWNGRADE.
What ROM do you have? Does this work only with stock ROM?
Condensing the story down for people who just want to solve constant "Application Google Play Services has stopped":
If you have this error, try downloading and installing "com.google.android.gms" APK in version "18.7.19".
You don't need to uninstall anything, you can just replace the existing package with:
```
adb install -r -d --user 0 "com.google.android.gms_18.7.19_(040300-262610125)-18719015_minAPI23(armeabi-v7a)(nodpi).apk"
```
options:
* -r will allow re-installing the package on existing installation
* -d will allow to downgrade the package if current version is newer
* --user 0 will install the package as system package, as the original package is installed this way (on Note4 stock images)
You need to find and download the proper APK file first, ofc.
I also have this problem with Google Play services constantly crashing and making phone almost unusable.
I tried clearing app cache, safe mode. Did not help. Only uninstalling updates for Google Play Services stopped constant crashes, but left about half of my apps unusable state because they relay to recent version of GMS.
I will try manually install recent working google play services .apk and see if it helps.
But how to stop automatic update of Google Play Services to the crashing one again? Automatic updates disabled everywhere, including Auto Update Google apps.
dib3ns said:
I also have this problem with Google Play services constantly crashing and making phone almost unusable.
I tried clearing app cache, safe mode. Did not help. Only uninstalling updates for Google Play Services stopped constant crashes, but left about half of my apps unusable state because they relay to recent version of GMS.
I will try manually install recent working google play services .apk and see if it helps.
But how to stop automatic update of Google Play Services to the crashing one again? Automatic updates disabled everywhere, including Auto Update Google apps.
Click to expand...
Click to collapse
Seems that clearing internal storage helped, so I think update + someold settings/data files causes this issue.
Could You please specify? By clearing internal storage You mean wipe all data?
Because Nothing helps, uninstalling Play Services updates, clearing app cache and even clearing the data. Also I cannot manually install google pay services .apk file, after installing it gives me installation failed. Play store installs Play Services, but they start crashing right after that.
Galaxy Note4 910F with stock 6.0.1 Android and Magisk rooted.
The issue returned for me, and I was able to make it go away again by clearing cache & data only for few specific apps. Details here:
[Solved] Error: "Unfortunately, Google Play Services has stopped" On different Note 4 Variants!!
Getting an error on multiple Note 4 variants N910V running Modest Rom & N916K (converted to N910C) running eRobot all within the last couple of days "Unfortunately, Google Play Services has stopped" , seems like a global issue anyone knows why &...
forum.xda-developers.com
I then allowed Google Store to update everything, and the issue didn't come back. So looks like the solution from the above thread really fixed it.
Solved for me. I updated Google Play services from Play Store and appears that Google fixed the botched update by releasing new version. Hope they never botch it again and not trash my phone, but more permanent fix needed, like completely preventing unnecessary auto updates to critical Android parts.
Hello
According to the forum research if i
- perform factory reset then the previously debloated apps will be reinstalled
- they can be reinstalled by adb command adb shell cmd package install-existing com.android.something without needing to factory reset.
- disabled (frozen) apps can be enabled through adb pm enable <packagename>
I have tried al three but it does not work. the commands were correctly used.
- If i perform factory reset (tried only through twrp recovery clearing cache, dalvik,data) then after initial setup the previously debloated apps are not back (i did not try factory reset through system settings yet because i dont know how it affects magisk)
Edit: only Kids mode got reinstalled. strange!
- If i use adb command adb shell cmd package install-existing com.android.something the terminal gives back that "the app was succesfully installed to user 0" but after checking the tablet the app is nowhere. I have tried it using the newest adb fastboot toolkit which has a nice terminal UI so i can reinstall all apps at once- which apps should be present on the tablet they give back "the app was succesfully installed to user 0" (they were uninstalled from user 0 so installing to user 0 should be fine) but they are not reinstalled.
- Titanium backup had accidentally frozen two apps, one is smart things, the second it android system webview- i cannot defrost them through titanium backup. I have tried several apps but none of them defrosts back. I have tried adb command pm enable <packagename> which gives me message "package succesfully enabled" but after checking state through adb pm list packages -d or tablet app setting they are still frozen.
My samsung tablet is rooted (at least i believe rooting was succesful because root checker says that) and on stock ROM.. It is strange that none of these commands are effective.
Does anybody have any clue why?
Thank you