Related
I was having a problem with apps that require Superuser permissions after upgrading to the @munjeni CM9 ICS rom which is otherwise fantastic. It would repeatedly ask for permission in an endless loops and none of the app-based solutions would work.
The Fix:
After opening Superuser -> Settings/Automatic response/set to Allow
Note:
This will automatically allow any application requesting root access so if you are prone to installing apks from nefarious sources, be ware or only toggle this setting right before using the desired app.
The real fix is to reinstall the SU Binary from the settings menu. Then the Superuser request works correctly again.
Sent from my Liberty using xda premium
Many people have been having a problem with the SystemUpdateService Wakelock from Google Play Services on their OnePlus One. On other custom roms people have been able to fix it by disabling Wakeup in Google play services in Privacy Guard. I tried that using appops using Xposed but the wakelock was still there even after disabling Wakeup to Google Play services.
Looking at how CM12 Nightlies fixed the issue I learned how to fix it on Oxygen OS.
Method 1 (Tasker)- credit Dimitris Psallidas
* Tasker and Root required
** tested and survives reboot
1. Create a profile based on "Event > System > Device Boot"
2. Add a "Run Shell" action with the command
"pm enable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
3. Add a "Run Shell" action with the command
"pm disable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Method 2 - credit Calkulin
This method fixes the problem at the source by flashing a zip file through your custom recovery. It will fix the wakelock until play services updates. Then you will have to flash a new updated zip. Find it here: http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Method 3
First, you need to download Disable Service from the Play Store, it requires root. Then under the System tab you need to go to Google Play Services and enable SystemUpdateService. That will fix your wakelock. You will notice that there is another SystemUpdateService under Google Services Framework, but leave that one disabled. -
This method is a Temporary Fix. You must enable that service again after a Reboot. OxygenOS disables it by default on boot which causes the wakelock.
http://forum.xda-developers.com/optimus-l9/general/carbonrom-wakelock-systemupdateservice-t3059218
Already posted it on the Ox OS thread.
jdtimothy said:
Does anyone no now to enable the service on boot with Tasker? I don't know if a terminal command or a script could be used to enable that service.
Click to expand...
Click to collapse
Yup. This was posted for CM back when it had the same wakelock: https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Thanks, those methods work great for automatically taking care of the problem.
It's by far easier:
- Xposed
- Install "Wakelock Terminator" from the Play Store
- Search for the Play Services, filter the wakelock "SystemUpdateService"
kurtextrem said:
It's by far easier:
- Xposed
- Install "Wakelock Terminator" from the Play Store
- Search for the Play Services, filter the wakelock "SystemUpdateService"
Click to expand...
Click to collapse
Not working with oxygen os (5.0.2)
I did this Tasker fix on mine and holy crap what a difference. Back to similar battery life as when I was running stock 4.4.4.
denyo81 said:
Not working with oxygen os (5.0.2)
Click to expand...
Click to collapse
You need to download xposed for 5.0
Jgard said:
I did this Tasker fix on mine and holy crap what a difference. Back to similar battery life as when I was running stock 4.4.4.
Click to expand...
Click to collapse
Can you guide me configuring tasker ? I never used it actually. Please tell me a step by step procedure as I am a total noob in this.
I pretty much haven't ever gotten Tasker to work because it requires a lot of effort. But if you follow the OP, it's really easy to figure out. (this is my way of saying I barely know what I'm doing and don't feel qualified to explain how to do it)
jdtimothy said:
Many people have been having a problem with the SystemUpdateService Wakelock from Google Play Services on their OnePlus One. On other custom roms people have been able to fix it by disabling Wakeup in Google play services in Privacy Guard. I tried that using appops using Xposed but the wakelock was still there even after disabling Wakeup to Google Play services.
Looking at how CM12 Nightlies fixed the issue I learned how to fix it on Oxygen OS.
Method 1 (Tasker)- credit Dimitris Psallidas
* Tasker and Root required
** tested and survives reboot
1. Create a profile based on "Event > System > Device Boot"
2. Add a "Run Shell" action with the command
"pm enable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
3. Add a "Run Shell" action with the command
"pm disable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Method 2
First, you need to download Disable Service from the Play Store, it requires root. Then under the System tab you need to go to Google Play Services and enable SystemUpdateService. That will fix your wakelock. You will notice that there is another SystemUpdateService under Google Services Framework, but leave that one disabled. -
This method is a Temporary Fix. You must enable that service again after a Reboot. OxygenOS disables it by default on boot which causes the wakelock.
Click to expand...
Click to collapse
Works like a charm thank you very much
HUGE THUMBS UP! This totally fixed my battery issue! Thank you so much!!!
Sent from my A0001 using XDA Premium HD app
Any fix without root. I can't root for work apps on phone.
What a difference this makes... Loving oxygen with xposed... It does everything I want and rock solid stable. Thanks for this fix!
A.VOID said:
Any fix without root. I can't root for work apps on phone.
Click to expand...
Click to collapse
This will work for you but you need a custom recovery to flash
http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Calkulin said:
This will work for you but you need a custom recovery to flash
http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Click to expand...
Click to collapse
Was there another non-root solution? The two methods in the op speak to root.
I have twrp recovery installed now
I haven't seen any that don't require root but then again, I didn't really look since I fixed the source of the issue the first time I saw it on my phone
Calkulin said:
I haven't seen any that don't require root but then again, I didn't really look since I fixed the source of the issue the first time I saw it on my phone
Click to expand...
Click to collapse
I posted your fix as a method on the original post. Thanks for your contribution.
works great thanks
Hi, I've been using LG for a while and had been using a rootless permission manager to disable some permissions that arent named on the stock settings app. But it is not working on the v20. Its called "LG Access Lock" on the playstore. Anyome know of any similar that do not require root? I know root is available but I dont feel comfortable enough to risk messing up and bricking my one week old device haha. Thabk you in advance.
el_chuqui said:
Hi, I've been using LG for a while and had been using a rootless permission manager to disable some permissions that arent named on the stock settings app. But it is not working on the v20. Its called "LG Access Lock" on the playstore. Anyome know of any similar that do not require root? I know root is available but I dont feel comfortable enough to risk messing up and bricking my one week old device haha. Thabk you in advance.
Click to expand...
Click to collapse
The app SD MAID (PRO) accesses all permissions (App Manager Section),but,unless you're rooted,that function does not work,nor does the disabling (freezing) function.
I suspect all apps similar to these have the same limitations w/o root access.
el_chuqui said:
Hi, I've been using LG for a while and had been using a rootless permission manager to disable some permissions that arent named on the stock settings app. But it is not working on the v20. Its called "LG Access Lock" on the playstore. Anyome know of any similar that do not require root? I know root is available but I dont feel comfortable enough to risk messing up and bricking my one week old device haha. Thabk you in advance.
Click to expand...
Click to collapse
Looks like LG finally removed it. I used it on G4 and V10 but I used QuickShortcutMaker to get to it but it's not in settings anymore. Not really needed on Nougat.
tourbound129 said:
Looks like LG finally removed it. I used it on G4 and V10 but I used QuickShortcutMaker to get to it but it's not in settings anymore. Not really needed on Nougat.
Click to expand...
Click to collapse
SD Maid (Pro) actually does get into the permissions deeper than what is listed in SETTINGS > APPLICATIONS, but,you cannot toggle anything more than the stock settings unless you have root.
KOLIOSIS said:
SD Maid (Pro) actually does get into the permissions deeper than what is listed in SETTINGS > APPLICATIONS, but,you cannot toggle anything more than the stock settings unless you have root.
Click to expand...
Click to collapse
Access Lock was in LG builds since 4.3 and looks like they finally took it out with 7.0. It wasn't accessible just by going into Apps- permissions.
I have the MicroG apps, as well as tingle on my Moto G4 Play.
For apps that require Google Play Services (Protonmail, Nextdoor, etc), the "missing Google Play Services" errors are gone, but I still don't receive push notifications. Nextdoor app simply crashes with the error "Nextdoor has stopped - Open app again or Mute until device restarts"
This thread regarding Unifiedlp is similar to what I see occurring in Microg: https://github.com/ale5000-git/tingle/issues/23
The dev states, "This usually happen when you install the app as user app, on Android 7+ it should be installed as system app" - can any one point me to info on how to do that?
This is my first time installing a new OS to a phone.
The easiest way is to use this: microG unofficial installer
ale5000 said:
The easiest way is to use this: microG unofficial installer
Click to expand...
Click to collapse
I already installed microg & tingle on my device; I can uninstall the microg apps to use this, but how do I uninstall tingle (I don;t see any presence for it)?
Will this installer simply overwrite/ignore anything that already exists?
I think there may simply be a setting I'm overlooking, perhaps.. like, unifiedlp is all unticked in the self-check, but the app shows under settings, so it exists and is installed.
Not sure what else to check
z0m8i3 said:
I already installed microg & tingle on my device; I can uninstall the microg apps to use this, but how do I uninstall tingle (I don;t see any presence for it)?
Click to expand...
Click to collapse
Tingle isn't a thing that can be installed, it simply patch a file on the device.
It is needed for microG so if you use it, I suggest to NOT undo the patch.
z0m8i3 said:
Will this installer simply overwrite/ignore anything that already exists?
I think there may simply be a setting I'm overlooking, perhaps.. like, unifiedlp is all unticked in the self-check, but the app shows under settings, so it exists and is installed.
Not sure what else to check
Click to expand...
Click to collapse
Yes, the installer will simply overwrite anything that already exists (except if you have already installed microG on the /system with custom filenames but it is unlikely).
Thanks to the Signal messaging app, I clued in on what I was doing wrong.
If anyone else researching this issue stumbles across this, here's what fixed it:
1) Update the affected app, if updates are available
2) microG Settings -> Google Cloud Messaging: Enable, not sure if I needed Google device registration, but I enabled it, too; as well as Google SafetyNet
Today I received my first notification from one of the apps I was struggling with. Nothing for Protonmail yet, though.
z0m8i3 said:
Thanks to the Signal messaging app, I clued in on what I was doing wrong.
If anyone else researching this issue stumbles across this, here's what fixed it:
1) Update the affected app, if updates are available
2) microG Settings -> Google Cloud Messaging: Enable, not sure if I needed Google device registration, but I enabled it, too; as well as Google SafetyNet
Today I received my first notification from one of the apps I was struggling with. Nothing for Protonmail yet, though.
Click to expand...
Click to collapse
SafetyNet isn't needed for most apps.
If you use Push notifications you must enable Google device registration and Google Cloud Messaging.
Reinstall all the apps installed before microG (it is needed to get the permissions); also in case an app don't have working push notification you must also delete its app data.
ale5000 said:
SafetyNet isn't needed for most apps.
If you use Push notifications you must enable Google device registration and Google Cloud Messaging.
Reinstall all the apps installed before microG (it is needed to get the permissions); also in case an app don't have working push notification you must also delete its app data.
Click to expand...
Click to collapse
Thank you very much for the explanations!! Super helpful! Proton hasn't updated/reinstalled since I installed microG; uninstalling now.
I disabled SafetyNet.
in case an app don't have working push notification you must also delete its app data
Click to expand...
Click to collapse
Where can I do that, or is it done automatically upon uninstall?
z0m8i3 said:
Thank you very much for the explanations!! Super helpful! Proton hasn't updated/reinstalled since I installed microG; uninstalling now.
I disabled SafetyNet.
Where can I do that, or is it done automatically upon uninstall?
Click to expand...
Click to collapse
It is in the Android settings inside Apps, but if you uninstall it will also clear data.
The problem that I have faced was some application such as Boost App (e-wallet service in my country) detected my device as rooted and that's why I can't proceed to use the application but my banking app just run fine.
I tried KingRoot before but it was a failure and uninstalled it. I also tried reset my device and the problem still persist.
Do anyone have the same problem?
Ps: I wanted to root my device because I need to remove the default browser. I can't change default browser to Chrome maybe because of EUI bug maybe.
Thanks.
LE PRO3 AI LEX653
EUI 5.9.028S
Android 6.0
I don't know what root app you're using, but most people use Magisk. You can hide Magisk root with Magisk Hide. Hider apps also exist for SuperSU and SuperUser, but you'll have to research those yourself. Most people these days use Magisk.
Anyway, I assume your device is considered rooted because your vendor ROM doesn't pass SafetyNet. There's no way to hide from SafetyNet unless you're rooted or on a SafetyNet passing ROM, i.e. an official stock ROM, which probably doesn't exist for your device (unless you're okay with the Chinese one without Google apps). So you need to find a way to root your device first.
sk8223 said:
I don't know what root app you're using, but most people use Magisk, AKA system pressure root. You can hide Magisk root with Magisk Hide. Hider apps also exist for SuperSU and SuperUser, but you'll have to research those yourself. Most people these days use Magisk.
Anyway, I assume your device is considered rooted because your vendor ROM doesn't pass SafetyNet. There's no way to hide from SafetyNet unless you're rooted or on a SafetyNet passing ROM, i.e. an official stock ROM, which probably doesn't exist for your device (unless you're okay with the Chinese one without Google apps). So you need to find a way to root your device first.
Click to expand...
Click to collapse
I understand the use case for Magisk root. Unfortunately, my Mediatek device does not support custom recovery for now. :crying:
It seems that there is a twrp available for pro3 ai in the x651 section on the forum.
BTW, you can also use pm hide command in adb shell to hide chinese apps and change the default browser without rooting the phone.
smae said:
It seems that there is a twrp available for pro3 ai in the x651 section on the forum.
BTW, you can also use pm hide command in adb shell to hide chinese apps and change the default browser without rooting the phone.
Click to expand...
Click to collapse
I believe that TWRP is not finalized yet from what I read in that thread here: https://forum.xda-developers.com/le-pro3/leeco-le-pro3-a1-model-x651-guides-development--and-mods/twrp-mauronofrio-le-pro3-ai-x650-t3741669
Code:
adb shell pm hide <package>
really works from you have suggested, much thanks to you! :good::highfive:
seosac said:
The problem that I have faced was some application such as Boost App (e-wallet service in my country) detected my device as rooted and that's why I can't proceed to use the application but my banking app just run fine.
I tried KingRoot before but it was a failure and uninstalled it. I also tried reset my device and the problem still persist.
Do anyone have the same problem?
Ps: I wanted to root my device because I need to remove the default browser. I can't change default browser to Chrome maybe because of EUI bug maybe.
Thanks.
LE PRO3 AI LEX653
EUI 5.9.028S
Android 6.0
Click to expand...
Click to collapse
Are you even rooted?
Sent from my LEX727 using xda premium
mchlbenner said:
Are you even rooted?
Click to expand...
Click to collapse
I tried KingRoot app to root but unfortunately it was failed. So, my device is not rooted.
seosac said:
I tried KingRoot app to root but unfortunately it was failed. So, my device is not rooted.
Click to expand...
Click to collapse
Your device is not covered in these threads.
You can try lex 650_651 thread.
Sent from my LEX727 using xda premium l
seosac said:
Code:
adb shell pm hide <package>
really works from you have suggested, much thanks to you! :good::highfive:
Click to expand...
Click to collapse
Hi, I'm a newbie to Android tweaking so perhaps I missed something.
I installed ADBkit from play store and when I gave the command I got this:
$ pm hide Browser
Error: java.lang.SecurityException: Neither user 10216 nor current process has android.permission.MANAGE_USERS.
Any suggestion will be appreciated. Thanks.
smae said:
It seems that there is a twrp available for pro3 ai in the x651 section on the forum.
BTW, you can also use pm hide command in adb shell to hide chinese apps and change the default browser without rooting the phone.
Click to expand...
Click to collapse
Thanks so much !!
It was an incredible pain for me for so long.