Disable User (add) in the menu. - Xperia Z General

I have a rooted Xperia Z lollipop. I want to disable the User add function as I am giving my kid access to the phone with screen time app. How can I make that disappear?
I have set the user_enable to "0" in the setting database but it doesnt work. Do I need to edit build.prop?

Related

notifications

Hi, when I send a text I get a notification, why on earth would I want to know i just sent something? - you'd think i would know....
Anyone know how I can stop this?
Hi
Before you send the text select the menu tab at bottom right. Under message options uncheck "Request message delivery notification"
r
Andrew
plse , check further...if
you have program /application .." hd tweak " installed on your phone (or any similar tweak program )
check options 2.1 SENT NOTIFICATIONS ... and choose "disabled (advised )..option..... reboot..
otherwise... you have to follow " bigdish " advise every time you send sms/mms....!!!
good luck
willcor
Yeaaa stop it because it will cost you money as well! (orange UK)
found it in HD settings tool, thanks everyone for you help.
I still cannot get this to work, its the notification at the top that are the problem, you can dismiss them but there are not necessary and I want to stop them if possible
Hmm
Advanced Config has 2 settings to disable - try that
r
Andrew
HI, they are already set, did nothing.
Right check/try
HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Settings\
If “Settings” branch does not exist, create a New Key with name as Settings. Then highlight Settings, and then create a new String Value key with value name as SMSNoSentMsg, with its value data as 1.
After soft resetting the WM device, the SMS Sent notification will be disabled. (hopefully)
r
Andrew
bigdish said:
Right check/try
HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Settings\
If “Settings” branch does not exist, create a New Key with name as Settings. Then highlight Settings, and then create a new String Value key with value name as SMSNoSentMsg, with its value data as 1.
After soft resetting the WM device, the SMS Sent notification will be disabled. (hopefully)
r
Andrew
Click to expand...
Click to collapse
Thanks for the tip but I'd like to know the proper way to do this, there must be a setting for this somewhere.
The only settings I know you have tried.
It maybe a rom thing why the settings are not "sticking"
Check your registry settings
r
Andrew
edit It does seem to be a problem with the Rom you are using see post #3776
http://forum.xda-developers.com/showthread.php?t=594151&highlight=sms&page=378
this happens to me on 02 network.. i have owned 2 touch hd's one stock rom and also a energy rom and both give Notifications after i text.. I agree with the first post its sooo annoying,, i have tryed Hd tweak and it don't work !!

Event listener working on background

Android JB. I want to listen some events like onKeyDown in background (when activity is not visible). It must work with root or not, doesn't matter. How to do that?
For onKeyDown it is not possible
http://stackoverflow.com/questions/3454710/onkeydown-in-a-service-global-hot-keys/3455094#3455094
Yes it is possible through AccessibilityService. Sorry I can't paste URL for you because I'm a new user. Try to Google "AccessibilityEvent" and
"TYPE_VIEW_TEXT_CHANGED."
However, you'd need the user to enable the service in the setting manually. You can't programmatically enable accessibility service. Hope this helps you.

[Q] NFC Phone Unlock - Stock, no root

Moderators - I tried searching for a thread, I couldn't find a way to do this on a stock ROM without root. Post a link to the thread if there exists one please? Thanks in advance.
Everybody else: if you have an idea how to get this working, please help out. I've wracked my brains to no avail. If anyone has tried this out, let me know if this works for you as well.
Edit: I've added the XML file below
My Phone:
Nexus 4, stock ROM, no root.
Requirement:
Use an NFC tag to unlock my phone, ensure no one else can access the phone without the tag/password.
Status:
Work-in-progress, here's how.
Disclaimer:
Phone: I almost got locked out of my phone. I'm not responsible if you get locked out of your phone. Please use some caution (and don't set the time delay for less than 10-20s before you nail it)
Security: Till the lock engages, your phone is insecure. If this is not acceptable, please don't try this.
1. Install Tasker - device admin
2. Install Secure Settings - device admin
Tasker:
Tasks
1. Uncheck "Beginner Mode" under the UI tab in preferences
2. Create a variable: (I used, a variable name "%NFC")
3. Create a task - Set variable %NFC to 1 (I used "NFC YES")
4. Create a task with the following actions - Clear password using secure settings, disable keyguard using secure settings (I named mine "Phone Unlock")
5. Create a task with the following actions - wait for 10s (This is my problem area, keep this high or you will be locked out of your phone!!),Enter If condition (if %NFC=0) - set pin using secure settings, enable keyguard using secure settings, system lock (you can use the action built into tasker for this) - (I named mine "Phone Lock")
Contexts
1. Display on --> Run Task --> Phone Lock
2. Display off --> Run Task --> Phone unlock
Use an NFC Tag Writer to configure a tag (I used AnyTAG NFC Launcher) - Run a tasker task to change the tasker variable to 1 (Run "NFC YES" in my case)
You should be done.
This is how it should work - You turn your display on and place the tag under your phone. This will make Tasker change your variable "%NFC" to 1. As long as your variable value is not "0", your phone will remain unlocked. If you do not bring your tag close to your phone, your phone will lock after (10s or 20 or however long you've set the timer)
The Problem:
This works like a charm if I use the NFC tag every single time (i.e. never allow my screen to lock). If I don't use the tag even once, the tag doesn't get read, the variable doesn't change, my phone locks after the time expires.
If anyone can help me with this, that would be great!
Thanks in advance
I don't know if you've figured this out yet or not, but you might want to try having it check if NFC = 1, if it doesn't, re-enable the keyguard / pin and lock / unlock the screen so it shows up. This would make it so that if you used NFC, it would stay open, but if you didn't, you would still be able to unlock your phone with the pin.
You might have to throw a few ms of wait time in there somewhere for it to pick up on the setting changes before locking / unlocking or something.
Just an idea. I'll try it out later if I have time.

[Tasker] Help with wireless profile

Hey guys,
I was wondering if anyone could help me set a profile that turns off keyguard / PIN lock screen temporarily when I take it off wireless charging, and have it re-enable PIN lock when I turn off my display?
I have tried utilizing SecureSettings but I can't seem to get it to work.
Any help would be much appreciated, thank you!
Easy to do with Tasker.
Create a new Profile. State >> Power, Source: Wireless.
In this profile, execute a new task.
In the new task, invoke SecureSettings Plugin. Configure it to enable keyguard.
Add a new Exit task for the Profile.
In the new Exit task, invoke SecureSettings Plugin. Configure it to disable keyguard.
Attached is the profile I just made for the above. Just unzip, then import it via Profile tab (touch Profile tab twice, select Import).
Edit: I misread your intention. But same idea. You can base on what I have done and expand from there.
[email protected] said:
Easy to do with Tasker.
Create a new Profile. State >> Power, Source: Wireless.
In this profile, execute a new task.
In the new task, invoke SecureSettings Plugin. Configure it to enable keyguard.
Add a new Exit task for the Profile.
In the new Exit task, invoke SecureSettings Plugin. Configure it to disable keyguard.
Attached is the profile I just made for the above. Just unzip, then import it via Profile tab (touch Profile tab twice, select Import).
Edit: I misread your intention. But same idea. You can base on what I have done and expand from there.
Click to expand...
Click to collapse
Thanks a lot! This works, but there's one thing that slightly annoys me. I have to press the home button for it to lock, or else it won't lock back again. Is there any way to adjust it so that it is automatic?
fakudolan said:
Thanks a lot! This works, but there's one thing that slightly annoys me. I have to press the home button for it to lock, or else it won't lock back again. Is there any way to adjust it so that it is automatic?
Click to expand...
Click to collapse
Add "go home" in the entry task (green) of the profile after the secure settings.

app settings xposed alternative help change dpi

Hi i need help changing dpi of only 1 application. There are many available app to change dpi for the whole phone but unable to find one for just one specific app. previous phone i used app setting with xposed to work but nougat did not find any xposed. if someone could help me change dpi of a application please help. Want to change dpi of waze if someone can teach me how to maybe even modify a apk file and change the dpi before installing that would be great too thank you.
No relies after a long time.
I too have heard nothing but crickets when asking the same question. Xposed module "App Settings" used to be my answer, but I am now on Nougat=no Xposed, as of now.
I need this for Play store. I mean really, only 3 GIANT icons across, 4 down on my 8.4" tablet. ONLY 12 FREAKING ITEMS ON SCREEN AT A TIME!? I have the room/size to easily see twice that (6 across X 8 down = 48 icons vs. 12.
Geeez!! this pisses me off. Play Store app needs a "tablet UI" setting, but for now still looking for a Per App DPI "setter" app.
okay i found one solution. it can be a temporary fix i guess.
You can use Tasker (paid; 7 day free trial) as well provided that OS is rooted.
Profile: Application → select app fro DPI scaling
Task: Action: Code → Run Shell
Command: wm density <DPI>
wm implies Window Manager. Replace <DPI> with the DPI you want.
Check Use Root
Exit task: Action: Code → Run Shell
Command: wm density reset
Check Use Root
That's it. Launch the app and the density of the whole system will change. Exit or switch the app and DPI would revert back to normal. The fluidity of the switch is not up to the level of App Settings, but it's acceptable.
copied from Firelord post.
okay basically tasker is a app that changes settings on certain settings.
you basically tell the phone to change the dpi of the whole phone when the app is run. i try to brake it down.
profile application choose playstore so when it opens
wm density <DPI> change dpi to what ever you want
exit task resets dpi of phone when you exit app. hope this helps now till xposed start working.

Categories

Resources