Problem with Auto Start of apps - Nexus 5 Root - Nexus 5 Q&A, Help & Troubleshooting

I have a rooted Nexus 5 with image downloaded as "bigxie_hammerhead_KOT49H_odexed-signed"
All things are working fine except auto-start of applications. Not even tasker is auto restarting when I reboot my phone.
Is there any service or anything else I need to check for this custom rom I am using? This is very annoying as I want 3-4 services to do an auto start. I am using Greenify but I have cross checked it and it is not doing anything to kill these services. They are not starting at all after a reboot.

Related

Juice Defender disabling the install button for new app installs

I have noticed a number of times now that I will download an app and its installer will run but when I get to the screen where I have to click either the "install" button or the "cancel" button, that the "install" button does not work. It has no effect and doesn't highlight - just seems completely dead. The "cancel" button always still works when this happens.
It has happened for apps being installed or updated from play and it has also happened on sideloaded or other apps - like my non-play version of tasker which just had an update to download and install. Downloaded just fine, "install" button non-functional. Rebooted the phone, went to the Download folder and launched the apk - now the install button works fine! WTF?!
This is very annoying. The same thing has happened trying to install some apps directly from google play. It will download and start the install, but when it comes time to click the install button - it doesn't work. Reboot the phone, go back to google play, and now it will install properly.
Is anyone else seeing this? How common is it? My phone is rooted, but everything else is stock.
Install button problem
I had this problem with "Turn off the screen" app. However, that's the only one so far
Just happened again - that's about 6 times today
I've been trying lots of apps on my new nexus 5, so lots of installs. From the tasker site, I downloaded two icon packs to the Download directory. I'm using es explorer to look at the details of the two apk files. When I click on them, I get the screen that shows me the applications access and asks me if I want to install it. The install button at the bottom does nothing, the cancel button works as expected.
Now I'm going to reboot - and experience tells me I will then be able to install them both...
Interesting - I was able to install the first icon apk, but not the second one. So installing the first one is causing some sort of state change, or something else started later in the phone's start up process to block it. Rebooting again and waiting this time for everything that starts on boot to start...
That was unexpected - I still can't install it. Going to try rebooting again and trying to install it earlier...
Alright, that seems to be the key. I was able to install it multiple times but eventually the install buttton stopped working.
I started killing applications and trying to install the apk after each app quit. I traced it to Juice Defender Ultimate, which is a surprise. I can disable Juice from its menu, keeping it loaded, and the install works. When I click the enable button in Juice, the install button for the apk immediately stops working.
I will continue searching and experimenting and report back my results. Have any other Juice Defender users noticed the problem?
Juice defender is a crap app. Don't use it, it'll only make matters worse for your battery.
I agree, it's not worth using it. Anyway when I used it some time ago I also had this problem, it's linked to the brightness control, so you need to disable it before every installation. They also have a fixed installer app that automatically disable auto brightness before install and then enable if after it finished. If your phone don't ask what app you want to use to install then clear the default app settings and choose the fixed installer next time.
Inviato dal mio Nexus 5 utilizzando Tapatalk
I have removed Juice Defender
Thanks for your reply. I had also noticed some unexpected changes in screen brightness with juice defender and will be interested to see if that also disappears now that it's gone.
I also own tasker so I'm looking at using that to save power by changing the phone settings in various ways.
Thanks for the input! It's a strange problem that the cancel button works but the install button doesn't.
yaconsult said:
Thanks for your reply. I had also noticed some unexpected changes in screen brightness with juice defender and will be interested to see if that also disappears now that it's gone.
I also own tasker so I'm looking at using that to save power by changing the phone settings in various ways.
Thanks for the input! It's a strange problem that the cancel button works but the install button doesn't.
Click to expand...
Click to collapse
Get betterbatterystats to see what wake locks are keeping your device awake. That's the best way to get good battery life. It can take a little figuring but once you know what's causing the problem you can start to address it
It isn't a problem. When an app like juice defender or screen filter or lux auto brightness controls your brightness, they use an overlay to make it look like your screen is getting darker than it can. The overlay, since it covers the entire screen without you noticing, also disables the install button. This is a security feature implemented BY GOOGLE to keep an overlay app with malicious intent from being able to hit the install button and installing things without you knowing.
THIS IS NOT A BUG
Sent from my Nexus 5 using Tapatalk
Additional links and info about Juice Defender and the app install button
http://feedback.latedroid.com/forums/70437-feedback/suggestions/2518486-i-can-t-install-apps-from-sd-card-when-jd-is-start
http://feedback.latedroid.com/forums/70437-feedback/suggestions/1681367-issue-can-t-install-apps
http://forum.xda-developers.com/showthread.php?t=1324537

Apps NOT auto starting on bootup

Hi, for reason my apps that normally run on bootup are no longer running on bootup!
As far as I know I installed cm battery beta app and ever since nothing's fires back up on startup even after uninstalling all cm related apps and also anti virus etc!
Even my Timely alarm didn't sound this morning!
The apps that are normally set to start on bootup are swipepad, adaptive rotation lock, any.do, profile scheduler..... None of these are auto starting on bootup even after I run them and change settings to auto start!
I'm using standard AOKP ROM which has been running fine...
Any ideas much appreciated... Thanks in advance.
Sent from my Nexus 5 using Tapatalk
I'd dirty flash your rom and see if that gets rid of whatever the battery beta did
Sent from my Nexus 5

CM 12 Nightlies Battery Issue with 'Android System' Very High CPU Usage

Hello guys,
First, I'm somewhat noob in all of this.
After keep on waiting for the cm12 OTA, I finally decided to root. Since I am very new to rooting game, I have done long and hard research about everything related to root, twrp, unlocking bootloader and supersu. Then I followed this guide step by step without missing a bit:
https://forums.oneplus.net/threads/...oader-install-custom-recovery-and-root.64487/
I downloaded and flashed these (following the guide)
cm-12-20150329-NIGHTLY-bacon - directly from cm website
and
gapps-lp-20150222-signed - from basketbuid
Everything went smooth without any problems.
But the battery started giving me the worse time ever I had with OPO. The culprit seems to be the 'Android System' which was taking my whole battery to sh*t even when the phone was idle with wifi and mobile data being turned off. It was keeping my phone (specially the CPU) awake the whole time. Then I downloaded Wakelock detector, greenify and tried everything that i found anywhere and everywhere, including the privacy guard with play services and others wake up feature being turned off, but nothing helped.
Here are some screenshots of bettery life
http://i.imgur.com/ygcx1al.png
http://i.imgur.com/fe2hQaL.png
http://i.imgur.com/dmY8Hs2.png
http://i.imgur.com/fC17Yfc.png
I newly re flashed CM 12s nightly (after wiping everything as a new OS) which is
cm-12-20150402-NIGHTLY-bacon
I left the phone as it is without installing the Gapps after installing the rom for couple hours and saw the battery was not draining while the phone was idle neither it was draining while the screen was on as it drained with Gapps being installed. Then I installed the Gapps from here -
http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330.
And then it started again being "Android System" on the top of the list of battery usage.
What should I do now?
Anyone had/having the same issue?
Did I do anything wrong?
Thank you very much for reading this long post and any help in advance.
It's probably Google Play Services that's draining your battery, try this:
http://forum.xda-developers.com/showthread.php?t=2832525
Transmitted via Bacon
Better than AppOpps:
It's most likely the "SystemUpdateService" which constantly runs in the background with custom Roms. If your phone is rooted, download and install 'DisableService' app from Google Play and navigate to System>Google Play Services>SystemUpdateService and disable it. You have to do this everytime you reboot since it just tells you which services autostart and then you're able to disable them. This is a better fix than the AppOps option as you still need Google Play Services to run in the background. I had this same issue and this fixed it.
joshklee said:
It's most likely the "SystemUpdateService" which constantly runs in the background with custom Roms. If your phone is rooted, download and install 'DisableService' app from Google Play and navigate to System>Google Play Services>SystemUpdateService and disable it. You have to do this everytime you reboot since it just tells you which services autostart and then you're able to disable them. This is a better fix than the AppOps option as you still need Google Play Services to run in the background. I had this same issue and this fixed it.
Click to expand...
Click to collapse
The only reason you need Play Services to run in the background is if you need your location updated every minute for Google Now cards. Every single other Google service runs perfectly being pulled instead of pushed.
Transmitted via Bacon
This is more of a specific fix for a specific problem. This solution is like fixing the leak instead of turning off the water.
joshklee said:
This is more of a specific fix for a specific problem. This solution is like fixing the leak instead of turning off the water.
Click to expand...
Click to collapse
If you say so.
Transmitted via Bacon
joshklee said:
It's most likely the "SystemUpdateService" which constantly runs in the background with custom Roms. If your phone is rooted, download and install 'DisableService' app from Google Play and navigate to System>Google Play Services>SystemUpdateService and disable it. You have to do this everytime you reboot since it just tells you which services autostart and then you're able to disable them. This is a better fix than the AppOps option as you still need Google Play Services to run in the background. I had this same issue and this fixed it.
Click to expand...
Click to collapse
will try it now and post update if anything changes.
timmaaa said:
It's probably Google Play Services that's draining your battery, try this:
http://forum.xda-developers.com/showthread.php?t=2832525
Transmitted via Bacon
Click to expand...
Click to collapse
I have tried it, but nothing happens.
Thanks for the reply everyone.
what if i disable all the packages with 'Disable Service' app that is found under android system in the battery details page?
i.e
quickboot
pppreference
fused location
key chain
ant hal services
locationservices
dev tools
etc.
is that going to interrupt anything or damage the os in anyway?
have the same problem with cm12, tried different gapps, nothing helps.

How to turn off/disable application (no root)

Hello.
Im changed my device from S4 (kitkat) to S7 (marshmallow) and Im really annoyed of many changes what google did, but I had no choice.
My question is following,
how to temporary turn off/disable selected application like messanger/viber etc. I tried in app manager "Force stop" but after some short time app started itself, and I get back receiving messages.
Is there any way to turn off selected apps until I will run them manually ? Are all apps really must work in background ?
Please help me Im so annoyed of that version of android
Most of use use this if we're not rooted
https://play.google.com/store/apps/details?id=com.ospolice.packagedisablerpro&hl=en_GB

Pixel and Android 10 permissions question

So Android 10 is running great on my OG Pixel so far but I'm puzzled by the fact that I'm now getting random prompts that some random app that I haven't run in a long time has just requested location access. This might actually be more of an "how does android work" than a pixel question but I thought I'd ask here first. So apps that I haven't run in months will just get flagged for requesting location. An app like the TouchTunes app which uses location I understand but a network app like Fing? Why are these apps running at all? I know the phone has been rebooted since the last time I used these apps and I know for a fact that I've actively force stopped TouchTunes. Why are these apps waking up and requesting location?
PS: Love the fact that Android 10 is telling me about this as it's giving me an easy way to slowly work through permissions for all my apps!
Its all part of the new location privacy/permissions/security set up on 10 that flags up background location requests etc.
If you been into the main settings menu you will have probably seen the separate location tab with the new 3 level location settings, bit better than on or off lol.
Oh and those apps you force stopped have probably re started on reboot, if they have run at start perms a reboot will start them again when the system is fully booted.
junglism93 said:
Its all part of the new location privacy/permissions/security set up on 10 that flags up background location requests etc.
If you been into the main settings menu you will have probably seen the separate location tab with the new 3 level location settings, bit better than on or off lol.
Oh and those apps you force stopped have probably re started on reboot, if they have run at start perms a reboot will start them again when the system is fully booted.
Click to expand...
Click to collapse
So my dumb question then is there an easy way to go through all apps and turn on/off run at startup?
JoeHockey said:
So my dumb question then is there an easy way to go through all apps and turn on/off run at startup?
Click to expand...
Click to collapse
Not really mate, it's not a user facing permission that you can switch on and off in app settings like location etc.
I'm not even sure that would be possible nowadays even if your device is rooted?. All I can suggest is either disable it (if it allows) and open when needed or uninstall it.

Categories

Resources