* How to remove navbar
Youtube link (Korean language): http://www.youtube.com/watch?v=hOa3uX4CY2s
1. Rooted device
2. Install Root Browser : Play Store
3. Install Handy Soft Keys : Play Store
4. Open Root Browser
5. system folder -> build.prop file click -> edit
6. type "qemu.hw.mainkeys=1" on the bottom without " "
7. Go Android setting -> Accessibility -> Handy Soft Keys -> On
8. Reboot system
* My Gesture Shortcut Launcher
Youtube link (Korean language): http://www.youtube.com/watch?v=Zc45IdaWvDs
1. Root is not required
2. Download My Gesture Shortcut Launcher : Play store
You just stroke a phone with your own gesture mark and the phone will remember where to take you.
Your favorite apps, internet pages, contact numbers by calling or texting people or even your phone settings !!!
- Facebook? Just write 'f'.
- Calling to someone? just add your gesture to call
that person or to text other person.
- WI-FI On Off? Let’s make ‘W’ for this.
How to use is really simple:
1. Select a category from [Internet / Application / Contact / Phone Setting ]
2. Select an item from the list
3. Create a gesture for the item
4. Turn on My Gesture (The icon will stay on the top layer when turned on)
5. Click on the icon
6. Draw a gesture
7. The desired app/internet/calling/texting/settings will be available instantaneously!!!
*This requires root!*
So i was tweaking around with Tasker and I came across this tutorial online: http://www.notenoughtech.com/tasker/tasker-run-shell-commands
I decided to use the 3 commands he uses to make a list of shell commands that we can use. Basically this will allow you to change settings that are only found in Oxygen os and thus you can't normally change within Tasker. (I recommend you check out the page and try some things for yourself. There are more settings like these. The ones below are just the ones I thought would be most useful.)
Some examples of what you could use this for: A better power saving mode that disables all gestures and backlighting. Or automatically lock the hardware buttons when watching a show or movie, etc. This is not a guide for Tasker. If you don't know how Tasker works then I recommend you go watch some tutorials on YouTube. It definitely has a learning curve, but it is 100% worth it.
To add the shell script in Tasker:
create a task>'+' button>Code>Run Shell>enter the command line
Make sure you select the 'use root' checkbox, otherwise this will not work!
I've tested all of the commands below (on Oxygen os 4.0.3), however I'm not responsible for any damage that might occur to your phone.
Lock hw buttons
(You don't get the notification to re-enable the buttons. To do so you have to toggle the quick tile. Keep this in mind!)
On: settings put system oem_acc_key_lock_mode 4
Off: settings put system oem_acc_key_lock_mode 0
[Choose any percentage. If you go to battery settings and then tap 'Turn on automatically', it will set the value to 0. (So if you want to keep your settings, don't do this.)]
Auto enable battery saver at XX%: settings put global low_power_trigger_level XX
Capacitive button backlight
On: settings put system buttons_brightness 1
Off: settings put system buttons_brightness 0
Seconds in the clock
On: settings put secure clock_seconds 1
Off: settings put secure clock_seconds 0
Advanced reboot
On: settings put secure advanced_reboot 1
Off: settings put secure advanced_reboot 0
Double click power for camera
On: settings put secure
camera_double_tap_power_gesture_disabled 0
Off: settings put secure camera_double_tap_power_gesture_disabled 1
[For the button commands you can set it to multiple values (0-10). Below is a list of what the values mean. Replace the 'X' in the command line by the number of your choosing.]
0=No Action
1=Open/Close Menu
2=Recents
3=Search Assistant
4=Turn Off Screen
5=Open Camera
6=Voice Search
7=Open Last Used App
8=Open Shelf
9=Open/Close Notification Center
10=Open/Close Split Screen
Button Commands:
Long press home: settings put system key_home_long_press_action X
Double tap home: settings put system key_home_double_tap_action X
Long press Recents: settings put system key_app_switch_long_press_action X
Double tap Recents: settings put system key_app_switch_double_tap_action X
Long press back: settings put system key_back_long_press_action X
Double tap back: settings put system key_back_double_tap_action X
Screen on Gestures
Flip to mute
On: settings put system
oem_acc_sensor_rotate_silent 1
Off: settings put system
oem_acc_sensor_rotate_silent 0
3 Finger screenshot
On: settings put system
oem_acc_sensor_three_finger 1
Off: settings put system oem_acc_sensor_three_finger 0
[The screen off gestures work a little different. Every gesture has a certain number (written below). You have to add up the values of the gestures you want to have enabled. So everything enabled is 128+64+1+30=223 and nothing enabled is 0+0+0+0=0. Replace the 'XXX' in the command by the value you get.]
Double tap to wake=128
Open camera=64
Toggle flashlight=1
Music control=30
Screen off gesture: settings put system oem_acc_blackscreen_gestrue_enable XXX
I've tested these on Oxygen os 4.0.3. I'm not sure if they work on other versions/on the OnePlus 3t. I believe that the 'seconds in clock' and the 'lock hw buttons' weren't available before. So I doubt that those will work on marshmallow versions of Oxygen os (aside from maybe the marshmallow open beta). The others should be fine.
Hi,
The following are few tricks for unrooted stock miui 12. These are somewhat basics and possibly known methods. Please feel free to share your thoughts or share something that hasn't been included.
1. Double tap lock screen on third party launcher
- Install OneKeyLockScreen-signed from https://drive.google.com/file/d/15kfzoSnz6WOSh8KD2LTNT297nEfOPexd/view?usp=drivesdk This is not my work so credits to OP / dev.
- Grant necessary permission
- Set double tap gesture on launcher settings
- Screen will be locked instantly, no 10 seconds waiting time nonsense. Fingerprint unlock works.
You can also use "Button shortcuts" in Settings to turn off (and lock) screen using long press
2. Add media / volume control on quick ball
- Install Media Volume Control from https://play.google.com/store/apps/details?id=com.krdevteam.mediavolumecontrol
- Open Quick Ball settings
- Replace one of current shortcuts with "App"
- Select (Media) Volume Control
3. If Quick Ball isn't your cup of tea, you can use "Shortcutter" or "Tiles" to add available shortcuts to quick settings tiles.
4. Add Accessibility Menu to nav bar, as an alternative to Quick Ball
- Go to "Accessibility"
- Turn on "Accessibility Menu"
- It will show up on bottom right corner, comprises of a handful shortcuts including volume panel, toggles etc
- The downside is, it's not one-hand operation friendly.
- On the other hand, if you use Control Center with third party launcher, selecting 'Toggles' will show Control Center.
This particularly useful since swipe down gesture on the right side of home screen will show notifications i/o CC
5. User friendly debloat tool with GUI (executable JAR), credits to dev
https://github.com/Szaki/XiaomiADBFastbootTools
Thnaks man! I love the 3rd one! I was looking for it the first time i got pro!
Is there a way to have flashlight shortcut on the lock screen? Ideally by button press.
One of the most used function is missing on this phone
Draw a "V" on the screen whilst it's turned off and the flashlight will turn on/off
dnaswitcher said:
Draw a "V" on the screen whilst it's turned off and the flashlight will turn on/off
Click to expand...
Click to collapse
This doesn't work on X5 pro that I have
Did you activate the feature as described on the Oppo-site that appears after you click on my link?
It works on mine after doing so:
Go to [Settings] > [Gesture & Motion] > [Screen-off Gestures] > toggle to enable or disable [Screen-off Gestures].
You can also have more Screen-off Gestures by tapping [Add a Screen-off Gesture].
There are 7 more gestures to choose from.
dnaswitcher said:
Did you activate the feature as described on the Oppo-site that appears after you click on my link?
It works on mine after doing so:
Go to [Settings] > [Gesture & Motion] > [Screen-off Gestures] > toggle to enable or disable [Screen-off Gestures].
You can also have more Screen-off Gestures by tapping [Add a Screen-off Gesture].
There are 7 more gestures to choose from.
Click to expand...
Click to collapse
Working now. Many thanks
Note: app compatible with any phone with 1080x2400 screen or lower. Probably higher too, try it. Also it's impossible to make such block when talking in messengers (more precisely, it's difficult). App won't work without gapps, rare case.
Instead of classic reliable optical sensor we have sucky ultrasonic one.
Sometimes it does not turn off the screen while phone call and something is pressed with ear or cheek up to dropping call.
Popular workaround is app "Call Proximity Sensor Fix" which automatically turns off the screen. Or you can press the power button immediately after the answer.
But IMHO this is inconvenient because if you need to look at something on the screen it will not turn on by itself which is so familiar.
My simple application makes screen insensitive to taps. And unlike analogs soft buttons and status bar are blocked too (but not gestures).
On screen will be translucent button that disables lock if you need to use the phone:
– Long tap on button - unlock (button will turn green)
– Short tap when unlocked - lock again
– Long tap when unlocked - remove button at all so as not to interfere with e.g. for entering text
When second call comes in screen will automatically unlock so you can easily answer or hang up. Then it blocks again.
When manually launching the application there will be a question whether to enable 4 seconds delay for an outgoing call. So you able to choose SIM card.
Made by powerful Tasker, the project was exported as standalone application via App Factory. Implemented via scenes with new full-screen blocking type.
Location of button adapted for default AOSP / Google Dialer. It can be misplaced for third-party dialers and / or interface scale. It's impossible to cover all possible variants. So if it really bothers you, install Tasker and project below. Then change coordinates of the buttons.
Installation
Follow manual carefully, otherwise nothing will work.
Application is safe and doesn't have internet access.
1. Download APK below this post
2. Install it via file manager and launch
3. Answer the question about delay, decision can be changed later by launching app again
4. Open Settings > Apps & Notifications > In-Call Screen Lock
5. In "Notifications" turn off them all completely, otherwise they will be annoy you
6. In "Permissions" enable everything: Contacts, Call List and Phone
7. MIUI: right there in application settings enable "Autostart"
8. MIUI: and in "Background" select "No restrictions"
9. Custom: Settings > Apps & Notifications > Advanced > Special app access > Battery optimization > All apps > In-Call Screen Lock > Don't optimize
10. Custom: Settings > Apps & Notifications > Advanced > Special app access > Display over other apps > In-Call Screen Lock > Allow display over other apps
11. MIUI: Settings > Privacy > Management > Special app access > Display over other apps > In-Call Screen Lock > Allow display over other apps
12. Settings > [MIUI: Advanced settings] > Accessibility > In-Call Screen Lock > enable "Use In-Call Screen Lock"
If you using Tasker
1. Download ZIP archive below this post
2. Extract file from it to phone/Tasker/projects
3. Tap on "House" icon at the bottom > Import Project > In-Call_Screen_Lock
4. If you don't need a delay on an outgoing call: delete / disable action #3 ("Wait") from the "In-Call Lock Start" task
5. Custom: Settings > Apps & Notifications > Advanced > Special app access > Display over other apps > Tasker > Allow display over other apps
6. MIUI: Settings > Privacy > Management > Special app access > Display over other apps > Tasker > Allow display over other apps
7. Settings > [MIUI: Advanced settings] > Accessibility > Tasker > enable "Use Tasker"
UPD: files updated, fixed small bug.
does this affect battery life
shakeelbirmani said:
does this affect battery life
Click to expand...
Click to collapse
No.
Tested now on my RN10-pro... works just fine! Thank you!
Tested without gapps and it didn't work. I use the standard phone app from Arrow OS. I do all settings from your instruction.
There was no 4 seconds query of the sim card. The and no lock screen button.
Social_Work said:
Tested without gapps and it didn't work.
Click to expand...
Click to collapse
Unfortunately, APK's exported by Tasker always have dependencies from GMS no matter actions it should perform. Sorry, I can't fix that.
I reinstal Arrow with Gapps and Install tasker. IT works great! Thx a lot! Now ist this Phone uesable.
Great application. Tested it via Tasker and works. Thank you so much!
Small question, if you do use the power button while in call to lock the screen and you unlock it again and then use your unlock button, it unlocks but the button disappears so you can't lock it again. How do I get the button back then?
Note: sensors are automatically calibrated and sometimes this creates a problem.
To cleanup and recalibrate the sensors, all you need to do is this:
Bash:
# dd if=/dev/block/by-name/persistbak of=/dev/block/by-name/persist conv=notrunc
For me that solved everything on official MIUI V13.0.12.0 (and previously on V12.5.9.0).
Amazfit User said:
if you do use the power button while in call to lock the screen and you unlock it again and then use your unlock button, it unlocks but the button disappears so you can't lock it again
Click to expand...
Click to collapse
That's strange. I tested as you wrote and button visible, nothing in profile logic should block its appearing. I used clean Android 11 and AOSP dialer.
As possible workaround please test this: Tasker > tab "Scenes" > Lock On > tap on lock icon > tab "Long tap" > action "Show Scene" > tick "Block Overlay+"
Zibri said:
sensors are automatically calibrated and sometimes this creates a problem
Click to expand...
Click to collapse
That's legit for classic sensor, but I'm doubt, that ultrasonic store its calibration data there (if even have it). "Sensor" unreliable just by design.
Bonoboo said:
That's strange. I tested as you wrote and button visible, nothing in profile logic should block its appearing. I used clean Android 11 and AOSP dialer.
As possible workaround please test this: Tasker > tab "Scenes" > Lock On > tap on lock icon > tab "Long tap" > action "Show Scene" > tick "Block Overlay+"
That's legit for classic sensor, but I'm doubt, that ultrasonic store its calibration data there (if even have it). "Sensor" unreliable just by design.
Click to expand...
Click to collapse
Thanks for the information. Tested it and ticking the block overlay + fixes the issue. I guess it's because even though I'm able to tap the icon and other call icons the phone is still locked. I guess the overlay + makes sure that the lock off scene is still visible on the "lock" screen. I'm on Samsung One UI 4.1 with the native Google dialer.
Thanks for the help.
Bonoboo said:
That's strange. I tested as you wrote and button visible, nothing in profile logic should block its appearing. I used clean Android 11 and AOSP dialer.
As possible workaround please test this: Tasker > tab "Scenes" > Lock On > tap on lock icon > tab "Long tap" > action "Show Scene" > tick "Block Overlay+"
That's legit for classic sensor, but I'm doubt, that ultrasonic store its calibration data there (if even have it). "Sensor" unreliable just by design.
Click to expand...
Click to collapse
ultrasonic sensor can be even manually calibrated and the calibration is indeed stored and used.
Also: the ultrasonic sensor works in software, relying also on the position and angle of the phone.
If that measurement fails or is inaccurate, everything is ruined.
Trust me: try to do a fastboot flash of V13.0.12.0 then reset that partition as I said.
Then you can tell me if it improves or not.
For me now it works perfect both in DUO both in the stock dialer and messenger.
You can find the latest stock firmwares here:
Codes and study of the Redmi Note 10 PRO (SWEET) and some findings
code name 76937 com.miui.powerkeeper.cloudcontrol.CloudUpdateReceiver 8437625 com.miui.powerkeeper.thermalconfig.ThermalConfigReceiver 37263 com.miui.powerkeeper.ui.framerate.FrameRateSecretCodeReceiver 2877...
forum.xda-developers.com