Need help to disable stylus menu programatically - Moto G Stylus (Moto G Pro) ROMs, Kernels, Recoveri

I have a kiosk mode app where the user should not interact with the device outside the app. Usually I disable things like notifications, etc. using User Manager options or at least I check that the initial settings aren´t correct checking settings.secure, global or system and redirecting the initial setup engineer to the correct settings page.
But I´m not able to find neither a setting (secure / global / system) that changes with the stylus menu setting nor the stylus menu setting activity.
Any clue will be welcomed.

Related

[PRJ] XDA_Sync

Hello fellow XDA members,
Last week I flashed my favorite ROM to it's newest version again and once again I had to put some settings right and all. Now, this is nothing new and you can let the process be done for you with tools already availabe. However, I'm not pleased with the options given by the different apps to be set!
Synchronizing different data is one of the most important features on any smartphone at the moment in my opinion. Some you like to do manually, but lots of them you just let go on schedule. This is where my problem popped up. Quick searching didn't give any results, so I decided to start this tread. Example of a problem: you have to set every app to roaming or not and give them a refresh rate.
My idea/project I would like to start is making an app that has the following features:
setting up syncing schedules with the following options:
selecting days on which it syncs
timespan for synchronisation
refresh rate
roaming/no roaming
toggle list for assigning installed syncable programs fast and easy
assigning apps to different schedules
menu item for a list of schedules (with a subtext which programs follow and list of programs (with a subtext which schedule they follow)
Manila styled menus for known user interface
detection of different already syncing apps or syncable apps on the phone (adding them to the program list but not importing schedules since those would spam the list)
menu option to stop all syncing so everything is manual (useful when roaming but wanting to sync on demand)
import/export settings and automatic importing settings from the XDA_UC folder on install
making internet connection on sync and if it was off before turning it off after sync (don't know if some apps do this already, but then the turning off has to wait until the end of all synchronization)
option to show pop-up on sync fail with an option to retry in a given time or automatic retry time
I had some more features in mind but they fail to pop up right now.
What this solves:
schedules all crossing eachother which makes your phone connecting to and disconnecting from the internet all day (some have 3h option, some 4h)
unnessecary syncs, for example during your sleep
hopefully more options for selecting sync times (like with the FB-tab which can't go higher than 99)
one menu serving all the main apps on your phone
if importing settings on install works: no need to set everything up again, never!
There's only one big problem:
I'm not a developer and have no idea of any coding for WM devices at all. I do have some basic insight in structures and can help searching for entries and locations of different settings/manual sync triggers, but not much more than that. I'd like to see how this works during the project if there are others out there who like this app and a developer to take the big job!
Coding challenges I expect:
I think it has to set the apps assigned to a schedule to "manual" in the offical app/tab and has to trigger the manual synchronisation when schedule starts. If we really get into the core of other apps too: we could add the option "XDA_Sync schedule" to the drop down menus which pops up a schedule selector for the app. This way you could enable the automatic sync in the tab and the "roaming" item should be grayed out because that's fixed in the XDA_Sync schedule.
Locating all syncing.
Different devices (I have a Touch Pro2)
So: Good idea?
And: Any developer willing to take the challenge?
P.S. Not sure if I'm allowed to use the "XDA" part in the name, thread name could then be changed to "Cell_Sync" or something similar.

[Q] privacy Settings in Froyo

I can't seem to find the privacy setting in froyo?Was this taken out during the OTA update?
From home screen press the search button and type "privacy" , the setting should be there.
this is driving me nuts (and my searches have turned up nothing other than this thread)
I'm having the same issue - I cannot for the life of me find the 'Account' screen NOR the 'Privacy Settings' screen on my device.
The above advice simply opens a google search - and even if I tweak the search settings under Phone/Searchable Items to only look for 'Settings' it seems ot simply ignore that entirely and always returns a google-wide web search with the top result as the Wikipedia definition for 'Privacy'....
Anyone have any clues as to how to access these 2 screens in Froyo 2.2 on HTC Desire?
Many thanks in advance!
The "accounts&sync" should be already in your standard settings option, it's not "hidden" as the privacy settings.
Try allowing google search to search only for settings, without web and other. Also you can try to type "back" instead of privacy, as it should bring the option too (because backup settings are in "privacy).
Hi - many thanks for your reply.
Unfortuantely I've already tried restricting the search parameters across a number of variations (including only checking 'settings') but it seems to completely ignore that and perform a google 'web-wide' search no matter what - so what exactly the point of being able to manipulate the search perameters is I have no idea (seems like it's simply window dressing!?)
Same story searching for back or back up (and variations thereof)
Yes - the Accounts and Synch appears to be the way to access the account screen - The Account screen doesn't appear to exist as such, however I can get to what it (as in the manual) refers to by tapping on Accounts and Synch and then tapping on individual 'accounts' - to alter what does/doesn't synch for that particular account
Thanks again - still searching for these elusive 'Privacy Settings' though - I even just tried using Astro file manager to search for some terms that may indicate where some of the access files are located and nothing
I too had problems using the method below to find the Privacy settings:
From the Home screen, press the search button.
Press the menu Button & select "Search settings".
Select "Searchable items" and tick Settings.
Press the back button twice.
Touch the icon to the left of the search input & select "Settings"
Type "Privacy"
Privacy (HTC global search) should appear - select this.
I found that the setting wasn't appearing because I was using Swype!
A long touch in the search input brings up a menu.
Select Input method.
Select Touch Input.
Repeat the privacy search as above.
Voila - the Privacy setting appears!
SPANNAA - you are a GOD!!
Brilliant walkthrough - worked a charm
Many thanks mate, much obliged

Bar Control & access to hiden settings

Hey folks I downloaded an app off the Market called Bar Control. This app basically allows you to pin frequently used apps to your notification bar, in short its a multi tasker.
What's odd is that I thought I would merely have access to the apps in the app drawer but once I installed it & went to pin apps to my notification bar, it gave me a crap load of what I guess are system functions. I don't know what alot of them do as I'm not to savvy in regards to that area.
Some examples are:
APN's
Auto Answer Without Device
Auto Reject List
Battery Read
Camera Firmware Standard
CDMA Options
Cell Broadcast SMS
Check MSL
DATA
Device Administration Settings etc. etc
I point this out because maybe some of the info could be of use to someone or our more technically savvy members..
Maybe it's no big deal but I just wanted to point it out.

Gmail push notification does'nt work- somone secceeded to fix it?

Hi
i have xiaomi mi5s (miui global 8.0.3.0 stable) and i dont get push notification form the gmail app.
i try all the instructors that i found at the internet and nothings fix it, is there somone that know haw to fix it?
i try this steps:
1: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
2: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
3: Go to settings --> app notifications --> pick the apps you want to receive notifications, then turn the toggle for "Priority" on.
4: Lock the app in the "recent apps"/ "app overview" plane. Do so by first opening the apps, then press the "recent apps/overview button" (that's the square button on stock Android, or the button with three horizontal lines on the Mi Mix). From there, find the app you want to receive notifications, pull down on it to "lock it", so it never gets cleared.
5: This last step requires Developer Options privileges. To enable that, go to settings (man... I'm getting tired of typing "go to settings" ...) --> about phone
--> tap on MIUI version tab like eight times. You should then get a little message saying "you are now a developer." Then head back out to settings, go to developer option, scroll to nearly the bottom, find "memory optimization," and turn it off.
Mine does the same sometimes it's intermittent.
Things like this is why I never use Miui, its a horribly crippled version of Android that just makes life more difficult unnessesarily if you live in a country that allows free access to a service called Google
Never own a Xiaomi phone without removing Miui and replacing with a ROM that works in the real world
i wtire this comment for who will need this solution.
i secceeded to fix the push notification problem by the following
1:I changedmy rom to original miui rom (mine was fake) now i have 8.0.3.0 global
2: go to setting -> sync -> and disabled "wifi only" and enable "sync"
3: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
4: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
hope it will help..
Also have a look here for some more context: https://forum.xda-developers.com/mi-5s/how-to/miui-kills-background-processes-solution-t3532397
The guys above me pretty much summed it up - setup autostart for the Gmail app and Google service frameworks, disable MIUI memory optimization and lock the Gmail app (menu button --> slide the app thumbnail down and click the lock icon).
Having done all of this, the push notifications are fine. I use the EU rom 7.3.30 (weekly).
Hi,
I have a brand new Mi 6 which im loving (running the standard default theme), however i have a bit of a problem with Gmail.
Im getting all the notifications, no problem at all. However, the floating notifications do not show a preview of the email i have received for Gmail. I get a floating popup, but all it shows is that i have a new email, it does not show who sent the email or the subject line, nothing.
All my other floating notifications are fine. Whatsapp, outlook, facebook etc, all of them show the floating notification with a small preview of what the message is.
Anyone else experiencing this? any ideas?
I have ALL settings correctly set to receive all the notifications, floating, etc and as i said, i DO receive notifications, they just dont show a preview specifically for Gmail. Im using latest Global Rom by the way.
nirb91 said:
Hi
i have xiaomi mi5s (miui global 8.0.3.0 stable) and i dont get push notification form the gmail app.
i try all the instructors that i found at the internet and nothings fix it, is there somone that know haw to fix it?
i try this steps:
1: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
2: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
3: Go to settings --> app notifications --> pick the apps you want to receive notifications, then turn the toggle for "Priority" on.
4: Lock the app in the "recent apps"/ "app overview" plane. Do so by first opening the apps, then press the "recent apps/overview button" (that's the square button on stock Android, or the button with three horizontal lines on the Mi Mix). From there, find the app you want to receive notifications, pull down on it to "lock it", so it never gets cleared.
5: This last step requires Developer Options privileges. To enable that, go to settings (man... I'm getting tired of typing "go to settings" ...) --> about phone
--> tap on MIUI version tab like eight times. You should then get a little message saying "you are now a developer." Then head back out to settings, go to developer option, scroll to nearly the bottom, find "memory optimization," and turn it off.
Click to expand...
Click to collapse
Thanks. This worked perfectly on my Mi Mix2.

Problem that need to be resolved

I have demo phone honor view 20
1. I can't change my password
2.There is notification on bar live demo is active
Please help me to resolve these issues
Unfortunately ? files cannot be attached some app bug it always show network error please help me I give you my number if you want for discussion
Demo mode can be turned off in Developers' options. To enable Developers options you have to tap version number in Settings > About phone a few times in a row, until you get a notification Developers' options have been enabled. You can then access it in Settings > System.

Categories

Resources