[Q] PA 3.5, Unified Remote & Tasker issue - Nexus 4 Q&A, Help & Troubleshooting

Hi,
I'm not entirely sure where the problem is located (besides behind the buttons).
I've been using CM 10.1 with Unified Remote, a Tellstick and Tasker for almost 2 weeks now, and it's been flawless.
Alarm goes off -> Turn all lights on.
Run app on phone -> Start same application on HTPC.
You get my point.
When PA released it's HALO-included alpha build (3.5-ish?), I felt the urge to try it out.
I set it up the above applications in the exact same way that I did in CM 10.1, however, it seems as if Tasker can't run ur-addresses.
I tried re-installing all mentioned apps, just in case the way I installed them may have caused a malfunction.
No luck.
I can remote control everything from inside Unified Remote, but not from within Tasker, where I usually run Task -> Browse URL
Seems like the phone doesn't recognize "ur" as a valid protocol in the way it accepts ftp or http
After a few tries, I restored my CM-backup, where everything runs just fine.
Any ideas how this might be? Is PA connected in any way? I doubt it, but I can't find any relevant information elsewhere.

This has been resolved. I installed PA 3.55.
I guess it was fixed after a factory reset.

Related

[Q] After rooting, some apps don't quite behave normally

Bought a new NC last week and manually upgraded it to v1.2. Used ManualNooter last night to get it rooted and after seeing what was added, I don't think I'll be flashing a custom rom because I don't want to lose the standard Nook functionality. (the tab is more for the rest of my family who will want to use it as a reader first, everything else second)
I like that the Google apps were added along with the ability to install apps from the Market and that's really all I need.
I installed another e-reader app (Cool Reader) and found that the Back and Menu buttons are totally ignored while the app is running. Tried launching Soft Keys and the Back and Menu buttons it uses are ignored as well. Not being able to access the settings in Cool Reader prevents me from adjusting the font size or changing other items.
Any idea why this might be happening? Is this an app or device issue, you think? Are there other apps folks have found that experience the same thing that I should look out for?

Tasker

I had high hopes (very high!) that I could get tasker to run on the ouya, unfortunately I have not had any luck as of yet.
Maps was installed, as was a few files that needed to be manually installed in /system, but unfortunately neither seemed to work.
Has anybody had any luck? Please let me know if you did, I had big plans for this little system and tasker was a key piece to it.
Thanks.
Well, apparently I'm batting 1000 tonight on threads.
A reboot allowed instillation of the tasker trial version.
It looks like everything works, or as much as you would expect for the ouya. I did two test tasks. First was just a screen popup, which obviously worked great. The other was a reboot to test root access, and this also worked perfect (say hello to automated weekly reboots!).
Now, to see if autoremote can be made to work, and then on to autovoice or utter! and the inherently difficult prospect that will be.
Snoman002 said:
Well, apparently I'm batting 1000 tonight on threads.
A reboot allowed instillation of the tasker trial version.
It looks like everything works, or as much as you would expect for the ouya. I did two test tasks. First was just a screen popup, which obviously worked great. The other was a reboot to test root access, and this also worked perfect (say hello to automated weekly reboots!).
Now, to see if autoremote can be made to work, and then on to autovoice or utter! and the inherently difficult prospect that will be.
Click to expand...
Click to collapse
Please periodically update this thread with your progress? Curious to follow suit, though don't have the time to help in the investigations
A few issues with tasker itself, such as I can't download from Google play, it won't recognize my original order #, i can't find 'my' .apk, basically can't get my purchased version working and am stuck on the 7 day trial version. As for functionality it works great.
Current main task is to start XBMC if Autoremote received a certain message, as well as sending a message when xbmc is open and a different one when it closes.
On my tablet when I fire up the Yatse app, Tasker checks to see if XBMC is running, if not it displays a popup asking if I want to start xbmc. If I say yes it sends a command through autoremote which is what triggers tasker to start xbmc.
OK, a few things I have found.
Originally I could not download Tasker through the Play Store as the Ouya showed up as 'incompatible', however after a Play Store crash that removed it from my system, and subsequent reinstall, I can now download it from Google Play. I don't know why this was, but when I first did the play store mod I didn't have busybox installed, I did for the reinstall. I don't need the play version however as I was able to get the 'Trial' version validated, which is good as the direct download has added functionality (that I will never use). To validate the trial version you need to find the 15 digit order number (not the 16 digit Google provides in the email). This is best accomplished by using the 'Contact Crafty Apps' link in the email, and then finding Tasker, the 15 digit order number should then be visible. This only works if you bought Tasker before March 2013 though, otherwise you will need the Play store version (thanks Google :/)
To get Tasker to run you need to be Rooted and move two Google files to the proper location on the Ouya. Tasker will not run without the Google maps framework and oddly enough installing Google maps doesn't install the full framework. You can get these files by flashing the gapps package with CWM, or just install the two files themselves. To get the files unzip the gapps package, I think in the 'framework' folder. You need to move com.Google.android.maps.XML to /system/etc/permissions, and move com.Google.android.maps.jar to /system/framework. This WILL require you to remount /system as writeable. ES File Explorer worked for me (download an old version, 3.0.4 maybe, as the newest Play store version crashes), it was the only free root access file manager to work for me. Remount /system back to the way it was. BTW, I did all of this without adb, it was all done on the system itself with some help from dropbox (unzipped on my nexus, it was easier).
Tasker itself works great and I currently have it sending messages through autoremote to update variables on my other devices, this triggers a popup that asks if I want to start XBMC when I start my XBMC remote app (only if XBMC isn't running). If I select yes then it sends an Autoremote message that triggers a Tasker profile that starts XBMC. I also have Utter! setup to trigger the 'Start XBMC' Auto remote message on my Nexus
My next two tasks will be for an automatic nightly reboot, and a task that sends the Ouya into sleep mode when I start my alarm clock app on my nexus. I'm still trying to think of good ideas to implement. I hope to get a microphone working to use voice commands directly on the Ouya, and my dream is for an IR blaster to work so the Ouya could turn on my TV with voice commands (old TV)
Snoman002 said:
OK, a few things I have found.
Click to expand...
Click to collapse
Wow! I really commend you for your perseverance and willingness to share your experience and findings...people don't realize how much this helps others.
Scenes Working
Hey Snoman002,
I have my Ouya rooted and found a Tasker that can be used to mount and unmount NFS mounts. I have the two google maps files installed and have version 4.2 of Tasker installed. When i try to open the scene or even create a new one Tasker closes and goes back to the Make Menu. Have you seen a similar thing with the version you have been using ?
Thanks
Techhhead33
Techhead33 said:
Hey Snoman002,
I have my Ouya rooted and found a Tasker that can be used to mount and unmount NFS mounts. I have the two google maps files installed and have version 4.2 of Tasker installed. When i try to open the scene or even create a new one Tasker closes and goes back to the Make Menu. Have you seen a similar thing with the version you have been using ?
Thanks
Techhhead33
Click to expand...
Click to collapse
Sadly, other than getting it running initially I have done nothing more with Tasked on my ouya.
Your trying to make a scene in tasked? Scenes are really only for overlays and custom menus (drastic oversimplification I know). I fail to see the need for the complication of a scene just for mounting and unmounting. Perhaps you could change the tasker task to a simple popup menu (which now that I think about it may be a scene...). Popups worked for me, but that's all I can say about it.
Sorry, I'm not here much anymore as my ouya just runs xbmc now. I will try and check in more often.

Which cloud/sync app? (Nook battery/wakelocks)

Been a long time since I posted here.
I don't use my Nook as much as I I could or I think I should. I think the main reason is that I haven't been using apps which sync across devices for fear of ruining the very good battery life.
What are some good apps which integrate with say Chrome? What things have you found useful? Do you toggle WiFi on and off? If so do you then need to hit sync or does that partial wakelock reciever for detecting that WiFi is on and off do that for you? Or will this app keep trying to sync even when there is no wifi?
I think if I start using something like ReaditLater again (tap button in chrome, sync and then read on Nook)... I'll probably use it more.
Also, pulling apps off Google Play and installing the apk was better for battery but I can't get the apk extractor websites to work anymore. Did anyone have a workaround for that?
One more thing, I have been using the latest Cyanogenmod and I notice it comes with PrivacyGuard. Now, the interersting thing about that is that PrivacyGuard now has options to block autostart, keep device awake and wake up device. So this could be useful to put in a ROM, or something like it, bearing in mind the nice battery life we get. Or, maybe have 2 modes - one with everything disabled for hikes, and another for use at home where a charger is handy and the auto sync is more useful.
Apologies, didn't search well enough:
http://forum.xda-developers.com/showthread.php?t=1898358
(adbsync)
Yeah, Renate NST's adbsync program is definitely going to be your best (and really only) option that fits your description.
Thinking about it, there's probably more efficient ways to do it.
For example, Evernote, Unified Remote Full, Wiki Encyclopedia Offline. I don't think Pocket (formerly ReaditLater works anymore very unfortunately... that was my favorite thing)
But of course, getting these things working on the older Android now could be difficult. How do I get the apks from play these days now the various website extractors don't work?
And ways to automate adbsync. For example, have it as a schedule in the background along with adb connect to your Nook. But remember to give the Nook a static IP on the WiFi by assigning via MAC on the router.
If you save pages as .pdf and automate the sync that's good but browsing pages as pdf isn't great.
edit to avoid bump:
You can use it as a 2nd monitor.
Windows:
http://superuser.com/questions/62051/is-there-a-way-to-fake-a-dual-second-monitor
(then use VNC to access. My thread has a howto for install) (MaxiVista probably works to if you're prepared to pay or steal)
Also possible on other platforms. The key phrase to use when searching is "Extend desktop"
I don't know why I didn't think of this before but you can access Evernote through the web interface. Probably similar for OneNote too.
A browser I heard is good, possible better than Opera now is NakedBrowser and the apk is available from the authors website.
I found a way to get the apk is to find an old phone to install too and then use an apk extractor app. A desktop extractor would still be better
Edit again;
I'm still not using it like I feel I should. I think this is because it's just not as Easy to pick up and read. The problem with advanced is that I have to wake up the nook, turn on WiFi and then hit my sync script on the desktop. Because of this I only use it if I have a lot to read, like a full book. I envisioned using it for just reading lengthier forum posts and white papers.
A start I think is to disable the screen saver.
Next will be to put enabling WiFi and keep awake while charging, and then disable after a period if the user fails to cancel and it's unplugged.
If you know how to do either of these things please let me know.
edit avoid bump:
I can't install the tasker apk unfortunately... and they're not giving out licenses anymore without Play. Is there an similar alternative is now my search..
Would be really good to enable and disable adb wireless and wifi when plugged in.
Actually there's a fix for tasker asking for a .jar. So it should be possible tonautomate connecting to WiFi and adb WiFi. Just a matter of getting tasker license or something else. AutomateIT won't run.
jago25_98 said:
I'm still not using it like I feel I should. I think this is because it's just not as Easy to pick up and read. The problem with advanced is that I have to wake up the nook, turn on WiFi and then hit my sync script on the desktop. Because of this I only use it if I have a lot to read, like a full book. I envisioned using it for just reading lengthier forum posts and white papers.
A start I think is to disable the screen saver.
Next will be to put enabling WiFi and keep awake while charging, and then disable after a period if the user fails to cancel and it's unplugged.
If you know how to do either of these things please let me know.
Click to expand...
Click to collapse
My Nook is currently out of commission, but I know at one point I had Pocket running (while it was still called ReadItLater), so there might be an old apk floating around that works. Alternatively, you can setup Wallabag, which is the same thing but run on your own server. Between that and a feed reader, I had thousands of articles to pick from whenever I picked up my Nook. It was quite a delight.
Also, there are a couple of wifi saving tools that can be found in F-Droid. If I recall, I used one called Battery Fu to have my Nook connect, force a sync, then disconnect once every few hours. It worked quite well.
thanks FbYAx
I looked up wallabag but when I try to install every version back to 1.6 I get the message 'older SDK'. I guess you had an older version... but I don't know how far back i have to go.
i will have to start archiving and hosting apks that work
edit to try to be a bit more helpful for people who might be trying to do this same:
get android version (mine is 2.1. i think that is normal (kitkat)):
Code:
adb shell getprop ro.build.version.release
change sdk apk version to see if it was developed without using newer sdk stuff (force it):
http://stackoverflow.com/questions/...on-and-targetsdkversion-specified-both-in-and

VPN and AFWall+

I have a Shield TV arriving later today. On my previous Android box I setup a VPN with a kill switch via AFWall+. This involved the installation of the OpenVPN connect application with my VPN provider details, then I used AFWall+ to prevent any data that didn't originate via a VPN connection, effectively making this a kill switch. This involved allowing both the OpenVPN application and Android's VPN api full access. It's the latter I'm enquiring about, does this api exist on the Shield TV? I've heard that native VPN isn't possible as the normal VPN settings aren't present. But does that include the vpn service api itself?
No one?
Beefheart said:
I have a Shield TV arriving later today. On my previous Android box I setup a VPN with a kill switch via AFWall+. This involved the installation of the OpenVPN connect application with my VPN provider details, then I used AFWall+ to prevent any data that didn't originate via a VPN connection, effectively making this a kill switch. This involved allowing both the OpenVPN application and Android's VPN api full access. It's the latter I'm enquiring about, does this api exist on the Shield TV? I've heard that native VPN isn't possible as the normal VPN settings aren't present. But does that include the vpn service api itself?
Click to expand...
Click to collapse
i have the exact same setup on all my devices, including shield tv, although ive only had to allow the openvpn app, wifi/data/vpn access for things to work, ive never had to allow androids vpn ........is their a specific reason you grant android vpn access?does it not work otherwise?
I use the other openvpn app, by the way
I originally set it up on the tutorial in the link below, which mentions that the VPN Networking service needs to have full access. Is that service present on the Shield?
https://www.privateinternetaccess.c...otection-on-android-with-afwall-requires-root
Beefheart said:
I originally set it up on the tutorial in the link below, which mentions that the VPN Networking service needs to have full access. Is that service present on the Shield?
https://www.privateinternetaccess.c...otection-on-android-with-afwall-requires-root
Click to expand...
Click to collapse
I just checked for you, and yes, its there, mind you, im using zulu's full rom, not sure about stock rom but as with all my devices, i havent needed to allow this for vpn to work.
Unless theres a specific reason to do so, try without on your current devices, i suspect, vpn networking may only apply if you use androids inbuilt vpn found in settings
Edit
By the way, i dont know how far you wanna take it, but afwall has tasker plugin support, which i use to apply an afwall profile, i named "secure", that denies everything when screen turns off......aswell as other things in the same vain
Edit
I do it a little differently then what youre link suggests, i only allow the bare minimum of apps, those that i actually need internet for.......if an app has internet capability, but i have no need for that side of it, its denied, i dont whitelist ALL apps for vpn as your link suggests
I also suspect that guide was written for privateinternets method of using vpn on android, so maybe vpn networking applies if using private internet, but as for my openvpn app, its not needed.......neither is "GPS"
Cheers. Everything set up and working perfectly in stock, no DNS leaks. A combination of AFWall+, VPN and Xprivacy has the device locked down pretty well.
And what a device, the speed is in another league compared to other similar boxes and worth the extra money. I'm glad I returned my newly purchased Minix Neo U1, this thing is so much faster and not as restricted as I was lead to believe. With a bit of work the Shield TV, even on stock, can do as much as any other Android based TV box, even one based on vanilla.
Beefheart said:
Cheers. Everything set up and working perfectly in stock, no DNS leaks. A combination of AFWall+, VPN and Xprivacy has the device locked down pretty well.
And what a device, the speed is in another league compared to other similar boxes and worth the extra money. I'm glad I returned my newly purchased Minix Neo U1, this thing is so much faster and not as restricted as I was lead to believe. With a bit of work the Shield TV, even on stock, can do as much as any other Android based TV box, even one based on vanilla.
Click to expand...
Click to collapse
Yep, ive said it before and ill say it again, the shields an impressive piece of kit for sure
Xprivacy.........snap
We seem to have a very similar setup........believe me, if you wanna take it further at some point in the future.......tasker.........although, fair warning, theres a learning curve
Just some of the more basic things i automate with tasker with plugins like afwalls
When screen goes off, tasker......
Turns off wifi/3g
Turns of bluetooth
Afwall secure profile
Greenify all preselected apps
turn off "unknown sources" for extra measure, as tasker turns this off after it detects an apk install anyway
Turn of "debugging", incase i turn it on one day out of need and forget to turn off
Media volume set to 4 edit:this ones a bit out of place
Aplly afwall profiles depending on what app you happen to be using
Many possibilities with tasker, VERY usefull for many things
Non security related....kinda......... could potentially be used for such if modified
I have a small bluetooth media remote which has the numbers 1 to ten, with tasker and xposed additions module, i fooled around with it, pressing 1 connects the shields bluetooth to the bedroom speakers, long pressing 1 connects to the living room speakers..........i can imagine my self doing some neat stuff with these combination of apps and future accesories
Also, i use it to turn the shields light led to dim to let me now at a glance if the shields on or asleep, without having to change the channel
food for thought for those with similar setups
Edit
By the way, you mention dns leak, i assume you used a test site to check for the leak, any chance of a link? Incase its something very new
This ones the one i use,
https://ipleak.net/
Detects webrtc leaks on the specific browser you happen to be using at the time
Edit
For those interested
More on webrtc here
https://www.privateinternetaccess.c...ome-and-mozilla-firefox-while-using-private-i
If you use firefox or chrome, you can disable manually following this guide
https://www.purevpn.com/blog/disable-webrtc-in-chrome-and-firefox-to-protect-anonymity/
I think there are addons aswell
Edit
"and not as restricted as I was lead to believe"
Yep, i had the same thoughts, just my own assumption really, that android tv was completely different, internally, to "standard" android , pleasantly surprised, no incompatibilities so far............................good to know that stock is like that too :good:
Cheers, I'll read into all that.
One issue I'm finding at the moment is that, on a reboot, AFWall+ doesn't apply as default on the Shield and has to be done manually. This doesn't happen on my Note 3 running Lollipop. I'm sure there is a simple explanation, I'll look into it a bit more.
That website is the one I user to check leaks but there are numerous others too.
Beefheart said:
Cheers, I'll read into all that.
One issue I'm finding at the moment is that, on a reboot, AFWall+ doesn't apply as default on the Shield and has to be done manually. This doesn't happen on my Note 3 running Lollipop. I'm sure there is a simple explanation, I'll look into it a bit more.
That website is the one I user to check leaks but there are numerous others too.
Click to expand...
Click to collapse
Im not sure i understand fully, afwall is not enabled? Or, afwall IS enabled, but your prefered profile is not "applied"?
On full android at least, afwall is enabled upon reboot i havent had any issues in that regard, (saw your other post) i dont need init.d script (usefull to have though, if/when possible)
Have you tried reverting all afwalls settings to default, to rule out that likely suspect
Another likely suspect, xprivacy, but that depends if you restrict everything like i do, including system apps , if so, have you checked xprivacies usage data for afwall and global apps?
Another suspect, could be stock firmware, but i have my doubts about that one
Assuming im understanding the issue correctly
Edit
I dont have "fix startup data leak" checked(as we dont have init.d), nor ipv6 support checked as your link described

T515 Very Sluggish. Any Suggestions to Make it Smoother?

Hi All,
I have a tablet Tab A model SM-T515 LTE. It has the latest update but it's so slow it's pain to use it. Any suggestions how to make it a bit more usable?
Greetings.
I have a US SM-T515 with a similar issue. I actually logged in to seek a bare-bones ROM. I was able to improve it a lot, however. I started with standard troubleshooting, disabling all visual and system enhancements in the setings, but that made litle change.
Next, I accessed the "Google" tab in settings. I began to disable everything.
When I got to customizion services, i went down the list, disabling each item.
I got to Chrome and disabled that. The screen froze for a moment, and the window closed. Suddenly, there was a marked improvement in performance.
Next, I changed my default browser from Chrome to Firefox, just to be certain that using the browser might not re-enable this somehow, someday, like after an update.
The only issue I found is that now, when I try to access that Google tab in settings, the window flashes open, and closes. I believe something may be corrupt, and removing all Google applications, then re-installing them might fix that, but for now, everything that I want to work, works fine, so I am not touching it.
Good luck, and best wishes!
A sure fire way to speed everything is to degoogle with microg. I haven't tried it on my T510, but the rom I use here still seems peppy. Another thing to try is use a script to reorganize all the sql lite databases. Last resort before degoogle is to backup all your data with the help of Neo Backup and factory reset your device. Then restore the app backups, leaving out anything you can do without.

Categories

Resources