S-pen auto switch IME - Samsung Galaxy Note 8 Themes, Apps, and Mods

I'm not real keen on rooting my Note8 just yet but the only way I know how to change the IME with the Spen is with tasker, Secure settings and root access. Is there a way to get around needing root access to set the IME with secure settings? Orban alternative method? Thanks

So I finally figured out how to do this. It requires AutoTools (you also need to give it permission to write secure settings via adb). I'm sure you can configure this in Tasker but since I use Macrodroid, that's what I used.
Configure it to trigger based on an intent, com.samsung.pen.INSERT to be exact. Now in Macrodroid I set this up as 2 macros. For the removal I had it trigger on that intent with the extra of penInsert and a value of false. That means the pen was removed, the the reverse for when it was inserted.
It's the same intent, com.samsung.pen.INSERT and extra of penInsert but with a value of true. Then for each macro I used the AutoTools Secure Settings option then under services it lists input method.
You can then select an input method for each macro, one for when the pen is removed (like Google handwriting) and then when it's reinserted have it swap back to a normal keyboard.

Related

[Q] Auto airplane mode with Nougat (AutoTools or similar)?

Hi,
I noticed it's possible to grant special permissions using ADB to unlock AutoTools Secure Settings (see here).
I saw a demonstration of auto GPS on/off without root and without the "automatic click path" (as we see in Greenify and AutoInput actions), is it possible to have the same behaviour for airplane mode? A simple toast notification instead of the complex path, which needs screen on and unlocked phone.
I hope I've explained well what I want to say.
Look at http://forum.xda-developers.com/showpost.php?p=68495077&postcount=3 No Secure Settings, AutoTools etc.
For me - it works (on Nougat SlimRom 7 on HTC One 7).
It seems it needs root.
DeX1009 said:
It seems it needs root.
Click to expand...
Click to collapse
Of course... It can't be done without a root.
Unlocking AutoTools Secure Settings through ADB allows users to turn on/off GPS, and GPS can't be switched without root...

Trigger Task when KeePass keyboard is activated

Is it possible to trigger a task when a keyboard, in my case the KeePaas keyboard, is activated by keyboard switcher? If so, how, without root?
TIA
I don't think you can achieve this without root.
You should be able to achieve this without root but enabling secure settings "autotools plugin" is your search term on Google play.
Then monitor the default input method.
You're welcome
Thanks, I will give it a try.
Sent from my Motorola XT1650 using XDA Labs
loogielv said:
You should be able to achieve this without root but enabling secure settings "autotools plugin" is your search term on Google play.
Then monitor the default input method.
Click to expand...
Click to collapse
Can you please give me an other hint how to "monitor the default input method" with "autotools plugin" ? Installation and enabling secure settings was no problem.
Since you asked so politely.
Download auto notification.
And Set a profile for notification intercept for android System and "change keyboard" and "keepass" when it detects your keyboard is displayed AND while that notification is out... there ya go...
Or
Download autotools and create a task and plugin for secure settings.
Go down to services and input method, and this will change your default keyboard method.
You can set autotools to monitor the setting "default input method" too

Setting pin when away from home? Not quite working.

I have a profile to set a pin code when I am not near my home WiFi, using Secure Settings. It seems to work except the pin doesn't activate until I unlock the screen and relock it. Is there another step I need to have tasker do to jump start this.
Sent from my SM-T820 using Tapatalk
That's expected behavior. You can leave the pin always set and use a tasker shell action to set the lock screen timeout to a ridiculously long period at home. The command with a 10 day time out would look like:
settings put secure lock_screen_lock_after_timeout 86400000
Then the exit task would set the timeout back to a sane number:
Settings put secure lock_screen_lock_after_timeout 5000
notenoughtech.com has a write-up on using the shell in tasker to replace secure settings.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Thanks. Unfortunately looks like that requires root. My phone is unrootable last I checked into it.
It actually does work once I turn screen on and back off since setting pin doesn't require root. Next step I'm going to see if having tasker turn the screen on and back off after setting the pin.
Disabling the pin when I'm back home works without issue.
Sent from my SM-T820 using Tapatalk
The AutoTools (paid) plugin for Tasker has a secure settings replacement. It doesn't require root, but gets permissions set through ADB commands.
In the tasker action:
plugins -> autotools -> secure settings
You can configure:
lock screen -> automatic lock
And set the time out for the lock screen similar to what I did above. It basically sets the same command I'm doing through the shell but doesn't require root.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
in my experience, this plugin Profile Shortcuts for LineageOS is the best to achieve this Secure Settings or AutoTools, you will have to depend on your ROM though, and cannot backup the profile.
Create 2 system profiles, leave everything unchanged, just use
Don't ask for PIN or password
and
Use system default
As Android is getting more and more 'secured', we user have less options to mess around on a system level. This method uses native system function, do it should work without problem.

[GUIDE] Device Settings Menu | Part III - Display, Lock screen, Biometrics, Security

Device Settings Menu Guide, Tips & Discussions
Part 3 - Display, Lock screen, Biometrics and security​
If you're new to this series or want to see the index, please read the Introductory Post first.​
Display
Auto brightness: When you change brightness in Auto mode, your device is smart enough to learn your usage patterns to determine the best level according to the environment as per your preferences. 'Reset usage patterns' in case you think your phone is drunk when in Auto mode.
Blue light filter: Learn why you should use it here. I've set it to 'Turn on as scheduled' > 'Sunset to sunrise'. You can toggle it from the notification panel as well.
Night Mode: (Pie update) Enable it to make use of true blacks on your AMOLED screen, save battery and put less strain on eyes. I know you want it to only enable at night, so hop up to developer mode and set 'Night mode' to Automatic. I don't know why Samsung has put up such a useful mode here.
Screen mode: I've set it to 'Adaptive Display'. Do play with other modes and toggle them when needed. Customize 'Full screen colour balance' (and Advanced) when 'Adaptive Display' is enabled in case you don't like the default setup.
Font size and style; Screen zoom: I've set 'Screen Zoom' to 'Small' and 'Font Size' to Level 2 in order to get more content in a screen view. Please tell if there's any better font on Galaxy Apps.
Screen resolution: By default, you don't get the resolution enabled what your Note9 is capable of. I've changed it WQHD+ for getting the most out of the best display in the market. I've the resolution set to HD+ in Medium Battery Saver mode in case I'm on Survival mode.
Full screen apps: I customize it when needed for an app.
Screen timeout: Mine is set to 10 minutes. You know, pro users!
Home screen: Self-explanatory and I use Nova Launcher. Do enable 'Quick-open' notification panel.
Edge screen: Do you need a seperate guide for this? Or can anyone provide a link to one. If you use it right, this can make your life much simpler.
Edge panels: You can set a maximum of 9 panels. Explore options of each panel and try more of them from the Store. I've enabled Apps edge (also make app pair and folders), People edge (upto 10), Smart select (take portion screenshots, make screen GIFs, pin a screen's content), Clipboard edge (auto-categorizes items), Reminder, Device maintenance (useful to review device performance OTG), Tasks edge (explore all available tasks), Quick tools (must have), Calendar. Tap Menu and 'Reorder' the panels as per your needs. In 'Edge panel handle', I've set the Transparency to highest and Size to smallest. I've dragged the handle to Right near power button so that I can always guess where the handle is.
Edge lighting: For me, it feels great to have it for some very important notifications that too 'when screen is off'. Do note that if you enable it for screen on as well, it will disable heads-up notifications. Play with 'Edge lighting style' as it shows the effect generated as you customize one. For me, {effect=basic, color=app_color, transparency=low, width=narrow} works. You can customize the lighting color for each app separately as well. In 'Manage notifications', you can define those apps for which you want this effect enabled.
Menu > Quick reply: Do define a reply because it can be useful in cases where you can't or don't prefer to type or check messages.
Navigation bar: I've enabled 'Hard press Home button' (great alternative to physical home button) and set the pressure to lightest (since I don't want to hurt my screen). With Pie, you can enjoy the immersive display by setting 'Navigation type' to 'Full screen gestures' and disabling 'Gesture hints'. I eventually got used to this. You can use Nav bar button on Quick Settings by dragging down the notification panel to toggle showing navbar then.
Accidental touch protection: Really useful because I keep my phone screen faced to my leg side when inside pocket so that it's protected from the outside cruel world.
Screensaver: In case phone is your life even when it wants to get charged peacefully.
Lock screen
Screen lock type: I use Pattern with Biometrics (Intelligent Scan and Fingerprints or sometimes Fingerprints only). Fingerprints remain the best security and battery-efficient method till date atleast for me. Use Iris for more security than regular face recognition. Also, with Iris, your device won't get unlocked while you're sleeping or with your photo. Use 'Intelligent Scan' for bit more ease (read about it here).
Smart Lock: It's a Google feature that can unlock your phone via On-body detection, Trusted places/devices and Voice Match. I used it once with On-body detection but couldn't impress me. Read about it here.
Secure lock settings: Disabled 'Make pattern visible'. Set 'Lock automatically' to 15 seconds in case I want to turn on the screen immediately without unlocking it. Anyways, 'Lock instantly with power key ' is enabled when I explicitly want it to get locked. Use 'Auto factory reset' carefully as someone could initiate this by simply making incorrect attempts. I've enabled 'Lock network and security' especially for theft use-case.
Always On Display: For customizing it, go to 'Clock style' below. Guide on AOD here and video here. With Pie, you now have new display mode as 'Tap to show' AOD for 30 seconds. I've set it to 'show as scheduled' such it doesn't glow when I sleep. Also, I get an idea that it's time to get to bed when AOD stops showing up (same for wakeup).
Content to show: 'Home button and clock' feel elegant for me.
Double tap Home button: Changed to 'Quick launch Camera' since I want it more often and I can turn on the screen by hard pressing anyways.
Auto brightness: Enabled. If you are okay with manually controlling this brightness less often by double tapping the AOD clock, disabling can save you some battery.
Show always; Set schedule: If you often check clock at night, you can enable the former. I've disabled AOD during my night sleep schedule so that I additionally get a hint when it's already time to go to bed and whether it's time to get up or not.
Turn off to save battery: Enabled. Do you need AOD in survival mode too?
Clock style: You can customize AOD with different clock styles, pictures, GIFs, Calendar and roaming clocks. Blue 'colour' gives a soothing effect every time I look at the clock for me. Similarly, you can customize your Lock Screen clock style here.
Roaming clock: I had to disable it as every operator in India puts SIM to Roaming mode when you're out of your circle (mostly defined to a state) and I get two identical clocks whenever I travel out of state.
FaceWidgets: Enabled all available choices and will decide about the reordering or need of each of them after I arrive at the use-cases. Same goes for you maybe.
Contact information: Do fill it. I've include my name and number on it. Can be useful when stolen, lost or misplaced. You can include email or alternative mobile number as well since the primary number would probably be in the device itself.
Notifications: I've kept the defaults. 'Hide content' if you don't want people to read your notifications. I rather do this on per-app basis (like messages for OTPs, sensitive apps). 'Notifications icons only' makes it similar to AOD style notifications and I want description of notifications once I go over my AOD screen. Toggle 'Transparency' if you find it difficult to read notification over the wallpaper or want your wallpaper to expose. 'Auto-reverse text colour' makes it easier to adapt with the wallpaper. You can define 'Where to show' your notifications here (AOD or Lock screen or both).
App shortcuts: Define the two shortcuts you see on the bottom screen corners while on lock screen. You can choose any app though default (phone and camera) works for me.
Biometrics and security
Biometrics: You can remove biometrics data and configure 'Samsung Pass' to use these here. You can enable 'Screen-on' scan for making the device scan for your face/iris as soon as screen turns on. This increases brightness immediately while it's scanning (can be annoying) and will drain some battery. 'Samsung Pay' works only with 'Fingerprint' and 'Iris Scanner'. Try different ' preview screen mask' for 'Iris Scanner'. In 'Fingerprint Scanner', you can add as many as 4 fingerprints (reserve one for Secure Folder). Put your finger on the reader and you can see the detected one highlited.
Screen transition effect: Disabled as I want things at fastest.
Google Play Protect: Enabled. Read more here.
Find My Mobile: 'Remote controls', 'Google location service' and 'Send last location' enabled. This should be the first things to review once you buy the device. Prepare yourself with a demo on findmymobile.samsung.com.
Security update: Shows the patch level and gets updated with 'Software Update'.
Samsung Pass: Similar to 'Google Smart Lock' for passwords but with biometrics and less support as of now.
Install Unknown Apps: Allow/Disallow existing apps to install apps from APK.
Secure Folder: The replacement for Samsunh My Knox. Must use feature to serparate your very private and confidential part of the phone. Guide here and video here.
Secure startup: Disabled for me. Should be enabled if you want your SIM, notifications, alarms and anything related to device startup not to start without passing the lock screen after the device boots up. For the kind of short-term memory loss I have, I want to call my phone or want it recieve inputs if in any case it gets misplaced with maybe low battery.
Encrypt SD card: Okay, so your phone is secured by Knox or 'Device encryption'. What about your SD card? Anyone can take it out and access your data, right? Encrypt it here and it won't be accessible to any device beside yours. Be careful to decrypt it in case you want to use it somewhere else or even when you are going to format your device.
Other security settings: 'Set up SIM card lock' disabled (same reason as in 'Secure startup'), 'Make passwords visible' disabled, 'Security policy updates' auto update enabled (Here is what are these), 'Send security reports' enabled. Set 'Device admin apps' with care (Learn about them here in case you haven't). You need to remove an app from here before uninstalling it. 'Creditial Storage' for CAs and user certificates (Learn more about CAs here). 'Pin windows' is a very useful feature for me. In cases where you need to give your device to someone (for like watching a movie or seeing the gallery), if this is enabled with 'ask for pattern before unpinning', when you 'pin' that app (video player or gallery), people will have to pass the lock method to get out of that app. Configure which apps can have 'Usage data access', 'Notification access' and 'Do not disturb permission'.
Location:
Allow apps and sites to detect your device's location. I've enabled it since I use too much location-specific content. You can turn it off if you suspect your dad working in NSA (approx locality can still be tracked through IP, use VPN).
Locating method: Change the method as per your requirements. I use 'High accuracy' while you can use 'Battery saving' to save a significant amount of battery that GPS uses. I simply turn off 'Location' from the notification bar when not needed or during survival mode.
Improve Accuracy: You can turn this off for WiFi and BT in case you don't want apps to override your decision of not making them search for WiFi or BT when you have explicitly turned them off!
Recent Location Requests; Location Services: Do review the apps that your girlfriend may have installed in your phone; Do review Google Location History and Sharing settings.
App permissions; Permission usage monitor: You can review the 'Permission History' here and enable/disable notifications for permission access on per-app per-permission basis. You suspect an app tracking your location occasionally and want to prove this instead of not granting it the permission? You can do it here.
-- Reserved for FAQs --
Why are you posting this??
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
henklbr said:
Why are you posting this??
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
Click to expand...
Click to collapse
You have commented the same query on each of my parts. I have already answered you here where the similar discussion is already going on. Let's discuss there and keep this thread clean. Also, the 'why am I posting this' is already described in the Introductory Post.
thanks, op for the posts, very useful

How to activate/deactivate a qs tile upon screen off/on?

In android 10,a new feature called as TURN ALL SENSORS OFF is available in developer settings. It also has a qs tile.
Is there a way to automatically enable this feature upon screen off and then disable upon screen on?
The obvious answer is absolutely yes using AutoInput to emulate the touches. That can also be done with more effort using just built in Tasker actions.
However, it's possible (likely?) That there is a secure setting that controls this action. You can sort that out by comparing the secure settings before and after toggling the tile. The AutoTools secure settings action has an assistant that may help you sort this out.
ktmom said:
The obvious answer is absolutely yes using AutoInput to emulate the touches. That can also be done with more effort using just built in Tasker actions.
However, it's possible (likely?) That there is a secure setting that controls this action. You can sort that out by comparing the secure settings before and after toggling the tile. The AutoTools secure settings action has an assistant that may help you sort this out.
Click to expand...
Click to collapse
1) In android 10,there is an option to disable all sensors in developer options. So i turned it on last night, and battery drain was less than 2 % in 4 hrs, compared to 1% per hour usually, with volte and 4g data on. I would get more accurate stats later on.
There's a qs tile available to activate it.
What I want to ask is, is there a way to automatically enable it every time the screen goes off, and then disable it when screen goes on, without any user input?Either as a shortcut or as a qs tile.
2) I am afraid i don't have enough knowledge to exactly understand the steps you are telling. Do you know of a pre made recipe to execute this. I tried to search but in vain. Or if you are on android 10,maybe you can try doing what i need.
Thank you.
There are loads of tutorials available to use the AutoInput plugin.
As far as issuing the native tasker custom setting action;
Create a new task
Add a Settings -> Custom Setting action
A developer settings action is probably a global setting but you may have to explore
When you are in the configuration for the Custom Setting action, use the magnifying glass and Find to identify the setting you want. A pop-up will appear directing you to ok out of the instructions then go to the setting you want to manage, activate the setting and return to Tasker. Then hit the magnifying glass again and if the setting was identified, it will display in the pop-up where you can select it.
No offence, even if I were on A10, this can be done with a basic understanding of Tasker so I wouldn't create a project for it. If you are still unsure what to do, please take the time to work through some basic tasker tutorials to gain familiarity with the app.
ktmom said:
There are loads of tutorials available to use the AutoInput plugin.
As far as issuing the native tasker custom setting action;
Create a new task
Add a Settings -> Custom Setting action
A developer settings action is probably a global setting but you may have to explore
When you are in the configuration for the Custom Setting action, use the magnifying glass and Find to identify the setting you want. A pop-up will appear directing you to ok out of the instructions then go to the setting you want to manage, activate the setting and return to Tasker. Then hit the magnifying glass again and if the setting was identified, it will display in the pop-up where you can select it.
No offence, even if I were on A10, this can be done with a basic understanding of Tasker so I wouldn't create a project for it. If you are still unsure what to do, please take the time to work through some basic tasker tutorials to gain familiarity with the app.
Click to expand...
Click to collapse
Will follow the steps. If I encounter any issues, will reply back here.
Big thanks.

Categories

Resources