[SOLVED] Shortcut to Restart Nova - Nexus 5 Q&A, Help & Troubleshooting

I've searched high and low, and posted in the Nova forums, but haven't received an answer, so I thought I'd try here, where I hang out the most and know that there are some people with exceptional expertise. Does anyone know how to create a shortcut to restart Nova? I can't find the intent in the manifest. Thanks

Wow. Time flies.

Have you found an answer to your question yet?

The launcher?

experience7 said:
Have you found an answer to your question yet?
Click to expand...
Click to collapse
No, I wish.

howard bamber said:
The launcher?
Click to expand...
Click to collapse
Yes

@PhilipTD
Use Tasker then create a task:
App > Kill app
App > Load app
Then add it as a shortcut on your homescreen or wherever.
Alternatively;
Script > Run Shell
Code:
am force-stop com.teslacoilsw.launcher
may have to tick "use root"
App > Load app

Lethargy said:
@PhilipTD
Use Tasker then create a task:
Script > Run Shell
Code:
am force-stop com.teslacoilsw.launcher
May have to tick "use root", I'm not sure
Probably also have to add another action to the task to start the app again, App > Load App or whatever
Then add it as a shortcut on your homescreen or wherever.
Click to expand...
Click to collapse
You just made my year.
THANK YOU!!!!

PhilipTD said:
You just made my year.
THANK YOU!!!!
Click to expand...
Click to collapse
Also edited my post above, but it should work exactly the same either way.

Lethargy said:
Also edited my post above, but it should work exactly the same either way.
Click to expand...
Click to collapse
Thanks, Bud. Actually, it works fine as is. I just created the task and use a gesture to run it. Nova restarts fine just like when you press the shortcut in Nova settings under "advanced". FINALLY!! And such a simple solution. Where have you been all these 11 months??!!

PhilipTD said:
Thanks, Bud. Actually, it works fine as is. I just created the task and use a gesture to run it. Nova restarts fine just like when you press the shortcut in Nova settings under "advanced". FINALLY!! And such a simple solution. Where have you been all these 11 months??!!
Click to expand...
Click to collapse
Only saw the thread because you bumped it lol.
Could you try killing it with Tasker but not restarting it in the task? I'm not sure, but it might restart by itself if its set as the home launcher; if so, restarting it manually with Tasker is not needed and could cause issues if its starting it again.
Also, was root access needed to kill the task with shell? I never had a need to do it so I never tried.

Lethargy said:
Only saw the thread because you bumped it lol.
Click to expand...
Click to collapse
That's what I was hoping for. And, lo and behold....
Lethargy said:
Could you try killing it with Tasker but not restarting it in the task? I'm not sure, but it might restart by itself if its set as the home launcher; if so, restarting it manually with Tasker is not needed and could cause issues if its starting it again.
Click to expand...
Click to collapse
The task I created included only the script exactly as you suggested, so it's just a "kill" command. I never added anything else to start Nova back up. When the task is run, Nova does, in fact, restart itself without any outside help from Tasker or otherwise. Nova is set as my default launcher.
Lethargy said:
Also, was root access needed to kill the task with shell? I never had a need to do it so I never tried.
Click to expand...
Click to collapse
Yes, root access is required; I had assumed as much, so I had checked "run as root" from the beginning. I just went back and unchecked it to test it out, and, you were right, it does not work without root.
I did all this on my N5 because I was reading your post on my N6 and couldn't wait to try it. I'll report back if there's any problem running the same thing on the N6.
Thanks again.

PhilipTD said:
That's what I was hoping for. And, lo and behold....
Click to expand...
Click to collapse
PhilipTD said:
The task I created included only the script exactly as you suggested, so it's just a "kill" command. I never added anything else to start Nova back up. When the task is run, Nova does, in fact, restart itself without any outside help from Tasker or otherwise. Nova is set as my default launcher.
Click to expand...
Click to collapse
Thought it might do that. If it isn't the default launcher then starting it up again is probably needed, then.
PhilipTD said:
Yes, root access is required; I had assumed as much, so I had checked "run as root" from the beginning. I just went back and unchecked it to test it out, and, you were right, it does not work without root.
Click to expand...
Click to collapse
Thought so. App instances are isolated and can't touch other apps without root access. In the case of running it with shell I guess it requires su so it prevent other apps from executing it to kill other apps.
PhilipTD said:
I did all this on my N5 because I was reading your post on my N6 and couldn't wait to try it. I'll report back if there's any problem running the same thing on the N6.
Thanks again.
Click to expand...
Click to collapse
No reason it wouldn't work, unless you're on pre-Honeycomb
Enjoy.

@Lethargy, FYI, I finally got around to testing it on my Nexus 6 (was away on vacation). Works great but had to add an action to launch Nova because, unlike on the N5, Nova did not reboot automatically. Thanks again.

Hi,
is there a way to create a shortcut on homescreen to restart the phone using "Activities" in Nova Launcher or otherwise.
Regards

Related

[REQ] Lock Screen App

The power button on my N1 has been giving me fits, and given the number of people I've read about with "dead" power buttons, I think mine is going out so I'm trying to preserve it as long as possible.
I enabled trackball wake (using CM6) which takes care of 1/2 the equation, but I need a good lockscreen app (just something to make the phone go to sleep). I found one in the market called Lock Screen Enabler, but it's not a "true" lockscreen app and it's very buggy, causing all sorts of problems for me.
I've been a web developer for 8 years and recently got into Android development (which I hope to be doing full-time soon), so I thought I'd just code a quick app for personal use in 5 minutes.
The problem, however, is that the DEVICE_POWER permission is needed in order to call goToSleep() and from what I've read so far from other online posts, this permission is only granted to native system applications.
Since my phone is rooted, I even tried granting my application SU privileges, but that doesnt seem to work either.
So, my question boils down to how do I grant my application DEVICE_POWER permission? I figure if anyone out there knows the answer, it's going to be someone on XDA as this place is full of geniuses. Thanks in advance!!
UPDATE: I've attached the finished app. Made this for personal use but if anyone wants to use it they are welcome to. My only gripe about it right now is the "screen flicker" that happens when you launch it because it's trying to launch an app that immediately locks the screen and finishes itself. If I can figure out how to get the app to launch in a smaller window maybe I can minimize the size to reduce the screen flicker. But for now, this works and I can set it to launch when I click the clock on Fancy Widget, so I'm happy. Thanks again to everyone who offered answers to my questions. Just another reason why I love the Android development community!!
-teleknEsis
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
nDrg said:
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
Click to expand...
Click to collapse
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
teleknEsis said:
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
Click to expand...
Click to collapse
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
nDrg said:
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
Click to expand...
Click to collapse
I will probably still go ahead and create one. I like how with FancyWidget you can set it so clicking the clock will launch an app. Unfortunately it doesn't work with widgets, so I need an extra icon on my home screen just to lock it. If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
I would be happy with any icon to be honest, I just don't like the lock screen widget one Good luck bud
teleknEsis said:
..If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
Click to expand...
Click to collapse
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
rori~ said:
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
Click to expand...
Click to collapse
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
You disabled: device administrator ?
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
Try using "root explorer" to find the files and just delete them.
teleknEsis said:
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
You need to go to Security & Location - Device Administrators and disable both there.
Hollow.Droid said:
You need to go to Security & Location - Device Administrators and disable both there.
Click to expand...
Click to collapse
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
teleknEsis said:
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
Click to expand...
Click to collapse
Yeah I'd appreciate the single launcher version please if possible
Hollow.Droid said:
Yeah I'd appreciate the single launcher version please if possible
Click to expand...
Click to collapse
OK - I'll update and upload when I get into work
Application is in the OP. Have at it
Great, works perfect on MIUI 0.9.30
Does the job perfectly! I especially like how it runs as an app so I can change the icon
You're a lifesaver, or should I say power button saver
Thanks so much.
I tried to develop something similar before but got stuck. Saved me some time!
Thanks for creating such useful app for my N1. My power bt is fine, but I would like to preserve it to powering up/down the phone.
BTW, I also downloaded Lock Screen Widget to test it out. Is it possible that you can make your app to shut off the screen smoother, like LSW? I like it you set it up as an app, which is super useful for me set up as a gesture swipe on my LauncherPro dock icons.
Thanks again and keep up your good work!
Thanks again, your app is really great. But could you add a option to map it to the search button (long press) please?
Thank you!

[Q] Can you delete widgets from phone?

Can i delete the 60+ widgets on my phone that I never use? Does deleting widgets benefit the speed of my app drawer loading?
nihn75 said:
Can i delete the 60+ widgets on my phone that I never use? Does deleting widgets benefit the speed of my app drawer loading?
Click to expand...
Click to collapse
default widget? with root, yes.
nihn75 said:
Can i delete the 60+ widgets on my phone that I never use? Does deleting widgets benefit the speed of my app drawer loading?
Click to expand...
Click to collapse
I've been curious about this as well for a while. Although, I assume if the widgets are installed as part of an app, then the answer would be "no". For example, IP Cam Viewer comes with like 6 different widgets with different sizes and layouts. I'll never use any of them, but I don't think I can uninstall them without uninstalling the app altogether. Can somebody please let me know if I'm mistaken?
charesa39 said:
I've been curious about this as well for a while. Although, I assume if the widgets are installed as part of an app, then the answer would be "no". For example, IP Cam Viewer comes with like 6 different widgets with different sizes and layouts. I'll never use any of them, but I don't think I can uninstall them without uninstalling the app altogether. Can somebody please let me know if I'm mistaken?
Click to expand...
Click to collapse
if they are part of an app, you have to uninstall the app.
simms22 said:
if they are part of an app, you have to uninstall the app.
Click to expand...
Click to collapse
I figured. Oh well. I guess it doesn't bother me that much. Thanks for the reply!
@nihn75, @simms22, @charesa39 Actually, you can delete them. Use Autostarts to disable whichever widgets you don't want and they will disappear from the drawer and homescreen long-press list.
PhilipTD said:
@nihn75, @simms22, @charesa39 Actually, you can delete them. Use Autostarts to disable whichever widgets you don't want and they will disappear from the drawer and homescreen long-press list.
Click to expand...
Click to collapse
Wow! Interesting. Thanks for the tip. So does this do the same thing as the Xposed Module, BootManager?
charesa39 said:
Wow! Interesting. Thanks for the tip. So does this do the same thing as the Xposed Module, BootManager?
Click to expand...
Click to collapse
Could be.
charesa39 said:
Wow! Interesting. Thanks for the tip. So does this do the same thing as the Xposed Module, BootManager?
Click to expand...
Click to collapse
These apps disable the receivers. ROM Toolbox works as well.
PhilipTD said:
@nihn75, @simms22, @charesa39 Actually, you can delete them. Use Autostarts to disable whichever widgets you don't want and they will disappear from the drawer and homescreen long-press list.
Click to expand...
Click to collapse
Autostarts seems to disalbe most but there are still 25+ hanging around. Great start, thanks!
nihn75 said:
Autostarts seems to disalbe most but there are still 25+ hanging around. Great start, thanks!
Click to expand...
Click to collapse
Between Autostarts and Rom Toolbox (Thanks @Aerowinder) you should be able to get that number lower.
nihn75 said:
Autostarts seems to disalbe most but there are still 25+ hanging around. Great start, thanks!
Click to expand...
Click to collapse
Some widgets don't have separate receivers. You can't get rid of all of them, but most of them you can.

Direct Dial Permissions

Hi,
I've tried nearly 10-12 apps to do this but no one could do it. Just the Launchify app did something that i want.
The problem is when you create a direct dial shortcut to notification drawer/bar it does not do the calling when you tab.
It gives different errors according to the app. One is saying can't find the app the other gives more spesific error ( Attached).
What must i do to change the permissions with root or terminator framework etc? Or why is this happening? Can someone help?
Thanks.
gedizlib said:
Hi,
I've tried nearly 10-12 apps to do this but no one could do it. Just the Launchify app did something that i want.
The problem is when you create a direct dial shortcut to notification drawer/bar it does not do the calling when you tab.
It gives different errors according to the app. One is saying can't find the app the other gives more spesific error ( Attached).
What must i do to change the permissions with root or terminator framework etc? Or why is this happening? Can someone help?
Thanks.
Click to expand...
Click to collapse
Created a direct dial entry on the homescreen using Nova Launcher and it worked just as it should, dialed immediately :good:
Pfeffernuss said:
Created a direct dial entry on the homescreen using Nova Launcher and it worked just as it should, dialed immediately :good:
Click to expand...
Click to collapse
Nope Negative.
I already tried it. Just because of it i'm not using my favorite luncher Nova.
No permission it says with a message like in the smaller picture attached at my previous message.
gedizlib said:
Nope Negative.
I already tried it. Just because of it i'm not using my favorite luncher Nova.
No permission it says with a message like in the smaller picture attached at my previous message.
Click to expand...
Click to collapse
Same here , doenst work on nova
Same here.Quick Dial doesnt work on Nova Launcher."Permission Denied".It does work on stock launcher.
You all allowed Nova launcher all necessary permissions right?
Works fine, just as it should, over here.
Pfeffernuss said:
You all allowed Nova launcher all necessary permissions right?
Works fine, just as it should, over here.
Click to expand...
Click to collapse
Guess so
Yes did

pixel 3 modded launcher

Can't live without the pixel launcher no more, and the speed it adds to the p20 pro is superb.
Have been through pretty much every launcher and this adds to a better user experience.
The version i'm using is P-4623511 -modded-5.2.0
New themeable launcher here.
https://github.com/amirzaidi/launcher3/releases
.
Doesn't work. Crashes every time for me.
Jonathan-H said:
Doesn't work. Crashes every time for me.
Click to expand...
Click to collapse
Oh crap really! Hmmm I'll see if I can find the original, I've got a titanium back up if it on my phone, are you rooted? It's working for me, same version etc.
Sorry pal, I'll have a look tomorrow for you.
Let me know if you want the titanium restore file.
Try this one mate
https://www.google.com/amp/s/www.xd...rs.com/pixel-launcher-mod-pixel-3-search-bar/
Updated op
use 5.3 versiom, it works smooth till now, do you feel any improvements in battery life?
Any tips and tricks you recommend for this launcher?
New launcher now in OP
New features:
Theming
Gestures
Optimisations
+More
@justbeck
I'd say use swap torpedo to eliminate system lag in general.
Jonathan-H said:
Doesn't work. Crashes every time for me.
Click to expand...
Click to collapse
You have to manually give all permissions before opening for the fist time.
Strange Huawei bug with many custom launchers it would seem.
Do it need root, or is there a roothles version
thomas30 said:
Do it need root, or is there a roothles version
Click to expand...
Click to collapse
The link in the op works on non rooted handsets (it did on mine anyway!)
Be sure to give the app all available permissions BEFORE you run it for the first time or it will crash.
warface said:
The link in the op works on non rooted handsets (it did on mine anyway!)
Be sure to give the app all available permissions BEFORE you run it for the first time or it will crash.
Click to expand...
Click to collapse
I didn't have to do anything tbh.
And that's correct. You don't need root.
Lol @ your avatar, love that guy.
Sargent Hartman
How are you guys getting this to work? I installed Launcher3-aosp-optimized.apk then updated the permissions but I can't run it. I would have expected to just press the home button and it would ask which launcher I want to use but that doesn't happen.
fatguy666 said:
How are you guys getting this to work? I installed Launcher3-aosp-optimized.apk then updated the permissions but I can't run it. I would have expected to just press the home button and it would ask which launcher I want to use but that doesn't happen.
Click to expand...
Click to collapse
In the settings app search for 'Default Apps' then select Launcher3 from the 'Launcher' option.
bowlandspoon said:
In the settings app search for 'Default Apps' then select Launcher3 from the 'Launcher' option.
Click to expand...
Click to collapse
Think that was the one thing I never clicked! Cheers.

At a Glance not working properly...

It's not showing the weather...
Just reads for eg, 'Sunday, 22 Dec'
Isn't it followed by the temperature?
Thanks
Xebeck said:
It's not showing the weather...
Just reads for eg, 'Sunday, 22 Dec'
Isn't it followed by the temperature?
Thanks
Click to expand...
Click to collapse
Try to enable location, or reboot the device.
dark90_ said:
Try to enable location, or reboot the device.
Click to expand...
Click to collapse
.
Thanks but that didn't seem to work.
It works perfectly if I use lawnchair 2 launcher. But I don't wanna use that.
check the google app. goto settings/notifications and then current weather. my was the same as yours and i changed something but don't remember exactly what so that might have been it.
dkryder said:
check the google app. goto settings/notifications and then current weather. my was the same as yours and i changed something but don't remember exactly what so that might have been it.
Click to expand...
Click to collapse
.
Thanks.
But didn't work.
If you could remember the exact steps you took, that'd be of great help.
Xebeck said:
.
Thanks.
But didn't work.
If you could remember the exact steps you took, that'd be of great help.
Click to expand...
Click to collapse
yeah, i agree. it's frustrating for me that i can't remember things. maybe when you're near 70 you'll have perfect memory, i don't.
Update the google app, if its already updated to latest then join the beta and update, will fix it after reboot
dkryder said:
yeah, i agree. it's frustrating for me that i can't remember things. maybe when you're near 70 you'll have perfect memory, i don't.
Click to expand...
Click to collapse
.
Thanks anyways sir
boe323 said:
Update the google app, if its already updated to latest then join the beta and update, will fix it after reboot
Click to expand...
Click to collapse
i have been in beta for a while, so that may explain why it worked for me and not the poster in need of solution., maybe.
Thanks a lot guys
OT but
But does anyone know a way to lock screen ( like by double tap) without the power button and without any launcher or rooting.
Thanks
Xebeck said:
Thanks a lot guys
OT but
But does anyone know a way to lock screen ( like by double tap) without the power button and without any launcher or rooting.
Thanks
Click to expand...
Click to collapse
I think it's only possible with those 2 options you mentioned.
I'm using nova so that works
Royalfox said:
I think it's only possible with those 2 options you mentioned.
I'm using nova so that works
Click to expand...
Click to collapse
.
Really...
Do launchers slow down a mobile?
Thanks for replying
Xebeck said:
.
Really...
Do launchers slow down a mobile?
Thanks for replying
Click to expand...
Click to collapse
I found nova, I'm using prime, doesn't. Phone still fast and snappy af
* just so everyone knows, the original problem has not been solved yet.
No weather in At a glance.
It sucks
Xebeck said:
* just so everyone knows, the original problem has not been solved yet.
No weather in At a glance.
It sucks
Click to expand...
Click to collapse
You are not alone. I started having the same problem (occasionally) since the latest system update (December 5, 2019). Plus apps no longer auto-update (never), even when I am on Wi-Fi. None of that was an issue prior to mentioned update.
For weather not showing I suspect app gets "power-optimized".
For app auto-update not working - there are multiple reports for that over the past year for Pixel and other phones with no clear solution. I tried clearing Storage and Cache for Google Play Services but it didn't help.
Xebeck said:
* just so everyone knows, the original problem has not been solved yet.
No weather in At a glance.
It sucks
Click to expand...
Click to collapse
just checking that you have given google app location permission and location is on.
another thing is i'm also using nova launcher in a very minimal way but that might have something to do with it.
i discovered by searching that it's a pretty common issue. but if it's something you want and you can have it by using a different launcher try out a different launcher for a week, maybe. good luck in finding a solution.
JoeSchmoe007 said:
You are not alone. I started having the same problem (occasionally) since the latest system update (December 5, 2019). Plus apps no longer auto-update (never), even when I am on Wi-Fi. None of that was an issue prior to mentioned update.
For weather not showing I suspect app gets "power-optimized".
For app auto-update not working - there are multiple reports for that over the past year for Pixel and other phones with no clear solution. I tried clearing Storage and Cache for Google Play Services but it didn't help.
Click to expand...
Click to collapse
.
dkryder said:
just checking that you have given google app location permission and location is on.
another thing is i'm also using nova launcher in a very minimal way but that might have something to do with it.
i discovered by searching that it's a pretty common issue. but if it's something you want and you can have it by using a different launcher try out a different launcher for a week, maybe. good luck in finding a solution.
Click to expand...
Click to collapse
.
.
I found the solution. I'm on basic phone launcher ( no launcher installed or rooting done).
Just enable location on and go to your Google account and turn location history on.
Then restart with location turned on.
It's there now.
Found sort of a solution
It isn't the best solution, but it works (at least for me it does). I found that if I put another at a glace widget on another screen (so there are 2 now, one on my home screen, one on another), it works and shows weather on both. If I remove it, the weather goes away again.. Hoping this is some sort of clue to get this fixed permanently.

Categories

Resources