Related
See first post, page 3 for an solution
-------------------------------
Dear XDA,
I've searched for this kinda app but couldn't find it so i decided to make a thread about it.
Anyway, i was wondering if it's possible to make the backlight of the buttons light up when there is some kind of notification as the led in the One X is kinda useless imo.(dirt gets into the tiny holes)
If it IS possible, does someone want to take the effort to try and make such an application/mod?
I'll be eager and happy to test it and my thanks will be beyond eternity
Thanks in advance,
Joran
+1
Good idea, but I do think there could be any hardware limitations to make this work....
anyways, sounds great if it could be possible! :good:
I wrote an app called "Capacitive Button Brightness" which lets you control the brightness of the capacitive buttons backlight on the HTC One X: http://forum.xda-developers.com/showthread.php?t=2033973. Someone pointed this thread out to me so I thought I'd chime in with an idea.
I have not tested this (in fact I don't have a device to test it on!) but you might be able to flash the backlight of the capacitive buttons by running the following command from a root terminal:
Code:
echo 1 > /sys/class/leds/button-backlight/blink
If that doesn't work, take a look at the list of files in /sys/class/leds/button-backlight and see if perhaps I got the name of the file wrong. There should be one in there with "blink" in its name.
If this does indeed flash the capacitive button backlight then you could write a simple script in "Tasker" to blink the capacitive button backlight every time that a message is received.
User Vcek reported doing something very similar with Tasker, and I'd recommend to contact him if you have further questions. See http://forum.xda-developers.com/showthread.php?p=35266420#post35266420 and http://forum.xda-developers.com/showthread.php?p=35276999#post35276999
denversc said:
I wrote an app called "Capacitive Button Brightness" which lets you control the brightness of the capacitive buttons backlight on the HTC One X: http://forum.xda-developers.com/showthread.php?t=2033973. Someone pointed this thread out to me so I thought I'd chime in with an idea.
I have not tested this (in fact I don't have a device to test it on!) but you might be able to flash the backlight of the capacitive buttons by running the following command from a root terminal:
Code:
echo 1 > /sys/class/leds/button-backlight/blink
If that doesn't work, take a look at the list of files in /sys/class/leds/button-backlight and see if perhaps I got the name of the file wrong. There should be one in there with "blink" in its name.
If this does indeed flash the capacitive button backlight then you could write a simple script in "Tasker" to blink the capacitive button backlight every time that a message is received.
User Vcek reported doing something very similar with Tasker, and I'd recommend to contact him if you have further questions. See http://forum.xda-developers.com/showthread.php?p=35266420#post35266420 and http://forum.xda-developers.com/showthread.php?p=35276999#post35276999
Click to expand...
Click to collapse
i tried your app but all it does is either off or it's on.
Thanks for the input for this idea:good:, but i'm kinda low skilled (read no skill) in the technical side of the phone.
so i hope someone can try this?
edit: nvm, don't got terminal on this rom yet.
jorank said:
i tried your app but all it does is either off or it's on.
Thanks for the input for this idea:good:, but i'm kinda low skilled (read no skill) in the technical side of the phone.
so i hope someone can try this?
edit: nvm, don't got terminal on this rom yet.
Click to expand...
Click to collapse
You're right, my app won't address the feature you are looking for.
If you want a terminal, you can install "Android Terminal Emulator" from the Play store: https://play.google.com/store/apps/details?id=jackpal.androidterm. You will need to be rooted though.
If you want to test out the "echo" command in the previous post, you will need to run "su" in the terminal before running the "echo" command.
denversc said:
You're right, my app won't address the feature you are looking for.
If you want a terminal, you can install "Android Terminal Emulator" from the Play store: https://play.google.com/store/apps/details?id=jackpal.androidterm. You will need to be rooted though.
If you want to test out the "echo" command in the previous post, you will need to run "su" in the terminal before running the "echo" command.
Click to expand...
Click to collapse
tried the command and i confirm it works
jorank said:
tried the command and i confirm it works
Click to expand...
Click to collapse
Sweet. Now you can use an app like tasker to run that command every time you receive a message. Can anyone help with this?
denversc said:
Sweet. Now you can use an app like tasker to run that command every time you receive a message. Can anyone help with this?
Click to expand...
Click to collapse
I try to create a tasker profile with this. Does someone know a command to stop the blinking?
staffordniko said:
I try to create a tasker profile with this. Does someone know a command to stop the blinking?
Click to expand...
Click to collapse
Same command that is used to enable exept with echo 0.
Sent from my HTC One X
Got it done, how can i post a tasker script here?
Omg guys stop discussing aokp has this feature called button back light notification
Thread can be closes and don't forget to hit the thanks button
Gesendet von meinem HTC One X mit Tapatalk 2
howdid said:
Omg guys stop discussing aokp has this feature called button back light notification
Thread can be closes and don't forget to hit the thanks button
Gesendet von meinem HTC One X mit Tapatalk 2
Click to expand...
Click to collapse
and what if i don't want aokp but sense?
think twice please.
Okay so i've installed tasker but i can't find out how to set the appropriate settings for this event.
Anyone did it already?
Did anyone find a solution?
not really, tried tasker but that didn't get me any luck.
so i hope anyone else does
Profile: blink (2)
Event: Notification [ Owner Application:WhatsApp Title:* ]
Enter: blink (3)
A1: Run Shell [ Command:echo 1 > /sys/class/leds/button-backlight/blink Timeout (Seconds):0 Use Rootn Store Result In: ]
A2: Wait [ MS:0 Seconds:4 Minutes:0 Hours:0 Days:0 ]
A3: Run Shell [ Command:echo 0 > /sys/class/leds/button-backlight/blink Timeout (Seconds):0 Use Rootn Store Result In: ]
Did anyone test the battery usage for this?
@staffordniko: You could use a trigger for "screen on" to stop the blinking.
I can confirm that it works. It should be cool to blink one button at a time!
Sent from my EndeavorU using xda app-developers app
A mod like this would be nice!
I'll follow this thread!
I'm trying to export a app with this settings with "Tasker app factory", but no luck so far. Maybe someone know how to do this right? Getting a "package installer stopped" error.
Sent from my HTC One X using xda premium
Having used Samsung's before and other devices, I've become accustomed to the back button being on the right.
I was hesitant about changing this as it would mean that you'll have a back symbol on the left and recent's on the right, even though they've switched, which would look a bit crap to be honest.
Anyway, disabling the backlight's will make it look a lot better whilst you have your buttons swapped
To do this you'll need to be rooted, that's it.
Flashable Zip Method
Here are some zips for flashing via recovery should you not want to edit these files yourself.
ButtonSwapLights0% - Swaps back & recents, kills button backlight
ButtonsDefaultLights0% - Default button order, kills button backlight
ButtonsDefaultLights50% - Default button order, backlight brightness 50%
ButtonsDefaultLights100% - back to normal
Manual Method
Download a text editor capable of altering system files, i personally used QuickEdit which is free in the play store.
Once that's installed
To disable the back light go here with a text editor.
/sys/class/leds/button-backlight/max_brightness change the number in here which will be 255 to 0.
This will switch off the lights immediately.
If you'd like to swap out the buttons so that back is recent and recent is back,.
Go to cypress-cap-sensor.kl which is in
system/user/keylayout/cypress-cap-sensor.kl
and find then simply reverse the text from the following two lines (there's only two in the file anyway)
key 158 BACK VIRTUAL
key 580 APP_SWITCH VIRTUAL
to
key 158 APP_SWITCH VIRTUAL
key 580 BACK VIRTUAL
Reboot the device and the keys will be switched
Enjoy
Thanks to @LeeDroid for putting me onto the location of the recents and back button file. :good:
Another big thanks to @Chronzy for making these zips, very much appreciated :good:
Update : These same zips work with Nougat on both cm and sense based roms.. Can be flashed at the same time of a Rom.
Outstanding job dladz. This is exactly what I was looking for, and so easy in your instructions. Thank you.
Off topic;
What about a lower haptic vibration ? Stock this phone vibrates like a wild rattlesnake in my hand, about to bite me. I thought most phones have a setting to adjust the vibration ? My Galaxy Note 5 does, as well as my LG G5 did and OnePlus One.
I am running LeeDroid ROM and he has specific settings for power abd haptic feedback, but even down to 1 it's still pretty powerful, just too strong for my tastes. I like to feel a slight vibration, nothing much. Is that possible ?
Is there a way to swap the Nav / software keys that some ROM's enable ?
Zorachus said:
Is there a way to swap the Nav / software keys that some ROM's enable ?
Click to expand...
Click to collapse
I'd say there is, but haven't looked into it mate.
Zorachus said:
Outstanding job dladz. This is exactly what I was looking for, and so easy in your instructions. Thank you.
Off topic;
What about a lower haptic vibration ? Stock this phone vibrates like a wild rattlesnake in my hand, about to bite me. I thought most phones have a setting to adjust the vibration ? My Galaxy Note 5 does, as well as my LG G5 did and OnePlus One.
I am running LeeDroid ROM and he has specific settings for power abd haptic feedback, but even down to 1 it's still pretty powerful, just too strong for my tastes. I like to feel a slight vibration, nothing much. Is that possible ?
Click to expand...
Click to collapse
There should be a file which you can edit to make haptic feedback alter, I've never looked into it mate.
Personally I switch feedback off. I don't need it.
Google: marshmallow haptic feedback how to change system
Also mate,, use the thanks button [emoji106] [emoji16]
When i tested the htc 10 i was shocked how the vibration intensity felt.. just like a cheap phone. Sometimes, I cannot understand htc.
DSF said:
When i tested the htc 10 i was shocked how the vibration intensity felt.. just like a cheap phone. Sometimes, I cannot understand htc.
Click to expand...
Click to collapse
Custom kernels + app allow that to be adjusted. I turned mine way down, and it feels a lot better now.
DSF said:
When i tested the htc 10 i was shocked how the vibration intensity felt.. just like a cheap phone. Sometimes, I cannot understand htc.
Click to expand...
Click to collapse
Please. This and haptic feedback has nothing to do with this thread.. If you'd like to speak about this, then please, take it elsewhere.
You can use init.d script to prevent brightness changing on every reboot, i.e
"#! /system/bin/sh
echo 0 > /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/max_brightness"
Create a file in /system/etc/init.d and paste the above lines (without quotes), and give 755 permission, itll set to 0 before boot Everytime
If on stock rom dont have init.d support then use superSu's su.d, place same file to /system/su.d folder
Sent from my Redmi Note 3 using Tapatalk
Adarsh1998 said:
You can use init.d script to prevent brightness changing on every reboot, i.e
"#! /system/bin/sh
echo 0 > /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/max_brightness"
Create a file in /system/etc/init.d and paste the above lines (without quotes), and give 755 permission, itll set to 0 before boot Everytime
If on stock rom dont have init.d support then use superSu's su.d, place same file to /system/su.d folder
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
Cheers mate, will give it a whirl
Was looking all over the web for this.
Thank you, great job.
dladz said:
Cheers mate, will give it a whirl
Click to expand...
Click to collapse
If you want, i can make automated flashable zip to disable and enable the hardware keys, just upload Cypress-cap-sensor.kl here
Sent from my Redmi Note 3 using Tapatalk
FIFATG said:
Was looking all over the web for this.
Thank you, great job.
Click to expand...
Click to collapse
You're welcome
Adarsh1998 said:
If you want, i can make automated flashable zip to disable and enable the hardware keys, just upload Cypress-cap-sensor.kl here
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
That'd be brilliant, thank you, appreciate that.
Primarily it's the lights coming back on, i tried to lock down the permissions but they're reset on each boot, it isn't the end of the world but it's annoying if you reboot a lot.
Made the init.d file, just seeing if it works.
Will upload once i'm in work.
EDIT: Nah didn't work mate.
Permissions in root explorer are 4 places and not 3.
so 755 comes out like 0755
dladz said:
Made the init.d file, just seeing if it works.
Will upload once i'm in work.
EDIT: Nah didn't work mate.
Permissions in root explorer are 4 places and not 3.
so 755 comes out like 0755
Click to expand...
Click to collapse
You might need to place it in su.d?
This is awesome, thanks!
Quick question regarding the init.d script - I'm currently on the stock rom, rooted with Supersu, but don't have a system/su.d directory. Should this already have existed? I can't create it either due to read only file system.
dladz said:
Made the init.d file, just seeing if it works.
Will upload once i'm in work.
EDIT: Nah didn't work mate.
Permissions in root explorer are 4 places and not 3.
so 755 comes out like 0755
Click to expand...
Click to collapse
@Adarsh1998 thanks for your tip, exactly what this mod needed.
Got it to work in system/etc/init.d, had to enable all permissions: read, write, & exec for all 3 user groups: owner root, group root, and global.... 0777.
It's survived 2 reboots now and the lights are staying off. I might try to scale back the permissions one by one... don't know if there is any danger to leaving all off those permissions enabled.
Thank you both for the info, this is something I wanted to do since I bought the phone (on other devices as well) because i'm used to the Samsung (also older HTC) setup. The no lights looks so slick and the button swap feels perfect. Thanks again!
Chronzy said:
@Adarsh1998 thanks for your tip, exactly what this mod needed.
Got it to work in system/etc/init.d, had to enable all permissions: read, write, & exec for all 3 user groups: owner root, group root, and global.... 0777.
It's survived 2 reboots now and the lights are staying off. I might try to scale back the permissions one by one... don't know if there is any danger to leaving all off those permissions enabled.
Thank you both for the info, this is something I wanted to do since I bought the phone (on other devices as well) because i'm used to the Samsung (also older HTC) setup. The no lights looks so slick and the button swap feels perfect. Thanks again!
Click to expand...
Click to collapse
Thank you.
Flashable zip on the way, thanks to @Adarsh1998 Good times
Adarsh1998 said:
You can use init.d script to prevent brightness changing on every reboot, i.e
"#! /system/bin/sh
echo 0 > /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/max_brightness"
Create a file in /system/etc/init.d and paste the above lines (without quotes), and give 755 permission, itll set to 0 before boot Everytime
If on stock rom dont have init.d support then use superSu's su.d, place same file to /system/su.d folder
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
This worked perfectly. Thanks!
HTML:
Hello Good Day everyone.
I am pleased to announced that you can tweak some Android settings without root permissions Yay. Someone can try other phones but this works on my xiaomi mi A3 and A1. BOTH of my phones are not rooted neither are they unlocked. I borrowed my friends J7 prime and got some working there too. Your mileage may vary. It should work the same on most phones. I tried some stuff and this is my findings. Some tweaks require that you Write secure settings through adb. I am not taking responsibility if you try and you damage your phone. Do this at your own risk. Thank you.
NB
If you delete the app or uninstall you lose all your settings.
If you do want to undo changes just delete setting line.
For best user experience use all working tweaks. Or you can choose what you want or do not want it is up to you. Your mileage still may vary.
OTA UPDATES don't affect settings on my phone neither do they conflict with manufacturers settings. There are some new settings line enabled on android properties that made some of my added tweaks on system tables redundant so I just deleted those redundant ones from system table. Will do some further investigating YOU can always COMPARE android properties with the tweaks you are adding to see if you are adding redundant comands. Android is forever improving, rooting is becoming obsolete, for the not pickers, a lot of these tweaks may not be necessary in the future because android might have them as standard but until then this is necessary to get the best out of your phone or to get the things you want and not what Google gives you. Thank you
LETS BEGIN
https://youtu.be/I1EBwRBQAgw
1. Download database editor
https://play.google.com/store/apps/details?id=by4a.setedit22
2. Open settings database editor select system table.
3. Add new settings "ro.config.hw_quickpoweron" >save changes> value at "true"> save changes
Add new Setting "boot.fps" > save changes > value at "25" > save changes
Add new settings > "debug.sf.nobootanimation">save changes> value at "1" >save changes.
4. Reboot phone.
Enjoy faster boot.
You can try other working tweaks below:
1. Display density
display_density_forced "209" trust me on this for mi a3 IDK why but it does. For other phones add whatever you are comfortable with or is recommended.
2.Ring without delay
ring.delay "0"
3.Faster boot under 10 seconds.
boot.fps "25" range from 15 to 30 depending on how fast your processor is.
debug.sf.nobootanimation "1"
4.wifi scan interval
wifi.supplicant_scan_interval "120" increases time between WiFi scans, saves battery and CPU power.
5.power savings
pm.sleep_mode "1"
power_supply.wakeup "enable"
6.Gaming/3d performance.
debug.enabletr "true"
debug.qctwa.preservebuf "1"
dev.pm.dyn_samplingrate "1"
video.accelerate.hw "1"
debug.overlayui.enable "1"
debug.egl.hw "1"
Debug.egl.prifiler "1"
debug.sf.hw "1"
debug.composition.type "c2d"
debug.composition.type "gpu"
debug.performance.tuning "1"
7. Better navigation scrolling speed
windowsmgr.max_events_per_sec "100"
8. Disable fingerprint reader animation.
fod_animation_type "4"
9.disable logcat
Logcat.live "disable"
10. Enhance Sound quality
af.resampler.quality "255"
mpq.audio.decode "true"
11. Internet browsing and download.
net.tcp.buffersize.default "4096,87380,256960,4096, 16384,256960"
net.tcp.buffersize.wifi "4096,87380,256960,4096,163 84,256960"
net.tcp.buffersize.umts "4096,87380,256960,4096,163 84,256960"
net.tcp.buffersize.gprs "4096,87380,256960,4096,163 84,256960"
net.tcp.buffersize.edge "4096,87380,256960,4096,163 84,256960"
net.tcp.buffersize.hspa "6144,87380,524288,6144,163 84,262144"
net.tcp.buffersize.lte "524288,1048576,2097152,5242 88,1048576,2097152
net.tcp.buffersize.hsdpa "6144,87380,1048576,6144,8 7380,1048576"
net.tcp.buffersize.evdo_b "6144,87380,1048576,6144, 87380,1048576"
net.rmnet0.dns1 "8.8.8.8"
net.rmnet0.dns2 "8.8.4.4"
net.dns1 "8.8.8.8"
net.dns2 "8.8.4.4"
net.ppp0.dns1 "8.8.8.8"
net.ppp0.dns2 "8.8.4.4"
net.wlan0.dns1 "8.8.8.8"
net.wlan0.dns2 "8.8.4.4"
net.eth0.dns1 "8.8.8.8"
net.eth0.dns2 "8.8.4.4"
net.gprs.dns1 "8.8.8.8"
net.gprs.dns2 "8.8.4.4"
Note
You can use whAtever dns is faster for u for example cloud share dns1 1.1.1.1 dns2 1.0.0.1
12.Enable GPU Acceleration (avoid enabling this in developer mode it resets when phone restarts)
debug.qc.hardware "true"
debug.qctwa.statusbar "1"
debug.qctwa.preservebuf "1"
debug.composition.type "gpu"
hw3d.force "1"
hwui.render_dirty_regions "false"
hwui.disable_vsync "true"
13. Haptic feedback
haptic_feedback_enabled "0" 0 is off and 1 is on. 0 disables boot vibration as well.
14. Touch sensitivity
touch.presure.scale "0.001"
debug.egl.profiler "1"
15.Dalvik Virtual Machine tweaks. Better performance of device overall
dalvik.vm.checkjni "false"
dalvik.vm.dexopt-data-only "1"
dalvik.vm.heapstartsize "5m"
dalvik.vm.heapgrowthlimit "48m"
dalvik.vm.heapsize "64m"
dalvik.vm.verify-bytecode "false"
dalvik.vm.execution-mode "int:jit"
dalvik.vm.lockprof.threshold "250"
dalvik.vm.dexopt-flags "m=v,o=y"
dalvik.vm.stack-trace-file "/data/anr/traces.txt"
dalvik.vm.jmiopts "forcecopy"
16.Smoother video streaming and tweak media
media.stagefright.enable-player "true"
media.stagefright.enable-meta "true"
media.stagefright.enable-scan "true"
media.stagefright.enable-http "true"
media.stagefright.enable-aac "true"
media.stagefright.enable-qcp "true"
media.stagefright.enable-record "true"
17..Wireless Tweaks
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 18700
18. This removes fps cap (TRY AT YOUR OWN RISK) I run this doh it's fine.
debug.gr.swapinterval "0"
More Tweaks will be added soon stay tuned.
To disable fingerprint animation for faster unlocking do these settings in the same app.
Add new setting and type;
fod_animation_type
And in edit settings type;
4
garylawwd said:
To disable fingerprint animation for faster unlocking do these settings in the same app.
Add new setting and type;
fod_animation_type
And in edit settings type;
4
Click to expand...
Click to collapse
Do u think I should add 3verything I use? I think I should I'll update post. Thank u
If I follow this guide will I still be able to receive OTA updates??
Barbiox Dogg said:
If I follow this guide will I still be able to receive OTA updates??
Click to expand...
Click to collapse
In theory yes. Your phone is not unlocked neither is it rooted. No permissions to Google Android settings has been compromised so to Android your phone is still stock and locked. How the program works is like a launcher works on Android. Installing a launcher changes settings and allows features without affecting it's Android settings original launcher. Settings database editor does the same except it runs user commands on top of android system settings. That's why if u delete a setting or if u uninstall app it just goes back to original settings and deleted those you added. You can compare settings from system table and android properties tables. You cannot change android properties settings doh. I cannot confirm if you will get OTAs because I just played around with these settings yesterday and updates for XIAOMI MI A3 is the 5th of every month. What you can do is wait until after the 5th of october and I will update to let you know a defenitive yes. If anything just erase the settings u used. Remember or use settings from this guide so u can find and delete them. Or if u used a site use dat to find and delete. I'll add this reply to update post.thank you.
Dasmion said:
In theory. Your phone is not unlocked neither is it rooted. No permissions to Google Android settings has been compromised so to Android your phone is still stock and locked. How the program works is like a launcher works on Android. Installing a launcher changes settings and allows features without affecting it's Android settings original launcher. Settings database editor does the same except it runs user commands on top of android system settings. That's why if u delete a setting or if u uninstall app it just goes back to original settings and deleted those you added. You can compare settings from system table and android properties tables. You cannot change android properties settings doh. I cannot confirm if you will get OTAs because I just played around with these settings yesterday and updates for XIAOMI MI A3 is the 5th of every month. What you can do is wait until after the 5th of october and I will update to let you know a defenitive yes. If anything just erase the settings u used. Remember or use settings from this guide so u can find and delete them. Or if u used a site use dat to find and delete. I'll add this reply to update post.thank you.
Click to expand...
Click to collapse
Thanks so much for quick response. You are the man.
Barbiox Dogg said:
Thanks so much for quick response. You are the man.
Click to expand...
Click to collapse
You are welcome.
Hello, I was curious whether the audio improvement also affects the headphones or is it just the phone speaker?
Thank you.
something wrong with database link .... and setedit is not working with this adb command line
and which tabs we put the commands? system? global? secure? android propriet(cannot edit here)?
TiagOverminD said:
something wrong with database link .... and setedit is not working with this adb command line
and which tabs we put the commands? system? global? secure? android propriet(cannot edit here)?
Click to expand...
Click to collapse
1. Ok seeing that the link failed, you can get the app on the play store. It's name is "Settings database editor". It is represented by a blue gear and red background photo.
2. Explain what you mean by setedit isn't working with command line. Like is it that it closes after u put in the adb command. Does it not open, what is the error message?
3 system table.
1.Haptic feedback / intensity
haptic_feedback_enabled "1"
haptic_feedback_intensity "1"
this is not working for me. anyone tested?
bibekmufc said:
Hello, I was curious whether the audio improvement also affects the headphones or is it just the phone speaker?
Thank you.
Click to expand...
Click to collapse
In my opinion it applies to both. The difference is noticable in the speaker but not by a huge margin. With headphones I have the kz zs10 and the tin hifi p3. It's an improvement as well, not very drastic but it is there. In my opinion any improvement is good improvement with this phone. The other settings show drastic improvement for example fast boot, better WiFi and navigation fps.
grafa89 said:
1.Haptic feedback / intensity
haptic_feedback_enabled "1"
haptic_feedback_intensity "1"
this is not working for me. anyone tested?
Click to expand...
Click to collapse
Which one does not work for you?
The Intensity
grafa89 said:
The Intensity
Click to expand...
Click to collapse
Yea done testing on my A1 and A3. It works properly on my A1 but not my A3. I would have to remove this from my recommend list seeing that you and I are having this issue. Sorry for the inconveniences. Feel free to try the others. In the mean time I'm going to look for work around for vibration intensity without root. I'm sure there is one method out there.
Dasmion said:
1. Ok seeing that the link failed, you can get the app on the play store. It's name is "Settings database editor". It is represented by a blue gear and red background photo.
2. Explain what you mean by setedit isn't working with command line. Like is it that it closes after u put in the adb command. Does it not open, what is the error message?
3 system table.
Click to expand...
Click to collapse
working man ! thanks but maybe some lines ''ro.'' work only in build prop,i'm wondering disable passive gps and use only agps
can you make any video tutorial for all of us?? please
TiagOverminD said:
working man ! thanks but maybe some lines ''ro.'' work only in build prop,i'm wondering disable passive gps and use only agps
Click to expand...
Click to collapse
Glad it worked. Thanks.
soliman.sohan said:
can you make any video tutorial for all of us?? please
Click to expand...
Click to collapse
Thanks for the suggestions, I'll make the effort and put the link in the post.
bibekmufc said:
Hello, I was curious whether the audio improvement also affects the headphones or is it just the phone speaker?
Thank you.
Click to expand...
Click to collapse
Made a little video thanks
Hi all,
I am also missing a notification LED for incoming messages et al.
Well, the following might be of interest for some of you. Let me explain: I took a closer look at Automate and the flows provided by the user community there. Unfortunately all the flows for controlling the AOD there do support Samsung and LG devices only. By chance I stumbled across the correct name for the Huawei-specific variable that needs to be triggered. So, I took a working flow for LG, simply replaced the variable's name and voila, a working flow, without the need for root or something.
And it works like this: each time an incomming message (or something similar) triggers a notification, the stock AOD gets switched on, showing you the usual clock and notification icon. As soon as you are disabling the notification (by reading the message etc. pp.) the AOD gets switched off again. This works quite well, saves some battery (compared to having AOD constantly on), and you can clearly see when a new message arrives. I also didn't need to put Automate in the battery white list, it simply works as intended.
The necessary steps to get this working are as follows:
Install Automate from play store
Install the Automate extensions "network permissions", "settings permissions" and "superuser permissions" (the latter does not need root for granting the permissions indeed)
Enable "superuser permissions" via adb:
Code:
adb shell pm grant com.llamalab.automate.ext.superuser android.permission.WRITE_SECURE_SETTINGS
Switch off the AOD functionality in your devices settings
Download the (zipped) flow I have attached to this post and install it
Start the flow and grant the permissions you are asked for
If you use flow v01 switch off the logging of that flow, there are tons of data generated while the device is plugged in via USB, flow v02 works fine with loggin enabled
Enable "Automate" in Settings -> Accessibility features -> Accessibility -> Downloaded Services
I have been running this solution since late November. For me it runs smoothly, stable and battery friendly. Maybe it's also helpful for some of you. Just let me know when you have questions.
Disclaimer: I have published the flow on 25th November at android-hilfe.de and in the Automate community only recently.
Cheers.
Update:
@RoteDose has been so kind and had a closer look at the old flow and completely reworked the power charging check, so there's no log flooding anymore. So he created a v02, that I have attached here now. Thanks a bunch for your support, mate!
To do: research for AOD icons to be refreshed after disabling the notification
- Found a list of Huawei specific settings here.
- And you can list the settings by
Code:
adb shell settings list system|global|secure
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
praveen6585 said:
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
Click to expand...
Click to collapse
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
beggar23 said:
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
Click to expand...
Click to collapse
Thanks.. I'll try this and revert
Hi can you please give more details on no. 5, 6 and 7?
galaxy16 said:
Hi can you please give more details on no. 5, 6 and 7?
Click to expand...
Click to collapse
You can download to your phone the file "Huawei AOD switch.zip" I attached and unpack it to a path of your choice. In the Automate app you can import the unpacked "*.flo" file through the dots menu on the top right. You are then able to give permissions, switch logging and start/stop the flow.
Hope this helps. Just let me know. Cheers.
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
beginner user said:
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Have you switched off AOD before starting the flow?
beggar23 said:
Have you switched off AOD before starting the flow?
Click to expand...
Click to collapse
Yes, it's still off.
beginner user said:
Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
beggar23 said:
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
Click to expand...
Click to collapse
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
beginner user said:
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
Click to expand...
Click to collapse
Glad to hear that! :good:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
First of all, thank you for this solution.
But I have a little problem. I don't know why, but for me doesn't work :/
AOD switched off -> started the flow (granted all the permissions) -> lock the screen -> i got a message (the phone vibrated), but the AOD doesn't switch on -> unlock the phone, just to the home screen (doesn't read the message) and lock again -> and now the AOD is switched on
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
razer91 said:
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
Click to expand...
Click to collapse
Thank you for that. I will add it to the OP.
Alexxxx1 said:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
Click to expand...
Click to collapse
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
beggar23 said:
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
Click to expand...
Click to collapse
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Alexxxx1 said:
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Click to expand...
Click to collapse
I don't think so. At least here it's all fine. Automate is not even in the battery saver white list, and going to sleep perfectly. Also, I detected no CPU wakelocks.
Yes, I checked too. The consumption of battery by Automata is minor.
Excellent work man [emoji106][emoji108]
Sent from my ELE-L29 using Tapatalk
Contrary to what OnePlus have said, the code for the Always on Ambient Display is in the first beta of Oxygen OS 11. All you have to do is enable the feature, which is disabled in the "OPFeatures" framework. This is very simple, and can be done in two lines in a root terminal (ie. do "su" first):
Code:
setprop sys.aod.debug_support_always_on 1
pkill systemui
After you have done this, the option to enable it will appear in Settings > Display > Ambient Display > Always on ambient display.
This doesn't survive a reboot, but you can have Magisk do it on boot for you. Only the first line is required for this (since SystemUI won't have started yet), simply drop the .sh file from the attached zip into /data/adb/service.d, set its permissions to rwxr-xr-x (chmod 755) and reboot. Please note that the zip is not flashable and cannot be used as a Magisk module. Something as simple and temporary as this (hopefully anyway, OnePlus have said this feature will come later) doesn't need a full blown Magisk module.
DanGLES3 said:
Do you mind if I make a Magisk module for this? Should be easier for users to install
Click to expand...
Click to collapse
You can, but Magisk isn't really built for modules to do tiny things like this. One liners are what service.d scripts are for.
Quinny899 said:
You can, but Magisk isn't really built for modules to do tiny things like this. One liners are what service.d scripts are for.
Click to expand...
Click to collapse
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Agreed, maybe it'll come with the often-teased Xposed style injections one day
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Thank you!
Thank you guys for this.
Thank you very much for this.
Is there any shortcut for notification bar for fast on/off ?
And can I use Taskrer sehell command to Toggle AOD on/off (for example when "do not disturbe mode is on" or when I put phone to pocket). Something like options that existed in Exposed AOD Mod?
ontwykende said:
Thank you very much for this.
Is there any shortcut for notification bar for fast on/off ?
And can I use Taskrer sehell command to Toggle AOD on/off (for example when "do not disturbe mode is on" or when I put phone to pocket). Something like options that existed in Exposed AOD Mod?
Click to expand...
Click to collapse
It turns off automatically when it's in your pocket, but for DnD you probably would need to find the setting that controls it and toggle that
Is it a glitch or something but all I did was update my oneplus7t to is 11 and ambient on was already there I didn't need to use magisk
Is there no risk of burn in?
For some reason this doesn't work for me. It just restarts the SystemUI and the option still force closes when I go to it in the settings, just as before.
Nah mine works as intended I dunno honestly that's what I'm tryna figure out is magisk needed for certain versions of the 7t because I can go into settings and extra the only thing I noticed that does not function as should is the ambient light
DanGLES3 said:
I'm aware of that, i just think users would be more comfortable installing a module than moving files, i just like making things easy for people ya know
About Service.d/Post-fs-data imo it would be cool if Magisk had a built in interface to manage/install scripts as Magisk is great for boot scripts but offers no straightforward method of installing/managing them other than making modules or manually moving files
Click to expand...
Click to collapse
Thanks a bunch! Much much easier.
donjamal said:
Is there no risk of burn in?
Click to expand...
Click to collapse
No. It"s have burn in protection. This is bilt in AOD... This mod just bring hiden option in Settings (off, scheduled, all day) and it's work excellent.
MyDaugghterskeeper1429 said:
Nah mine works as intended I dunno honestly that's what I'm tryna figure out is magisk needed for certain versions of the 7t because I can go into settings and extra the only thing I noticed that does not function as should is the ambient light
Click to expand...
Click to collapse
I am on international version O2_BETA_01 and in my case I needed to unveil "when to show" option in display-ambient display, by using shell command /script from here.
I still didn't find out how to turn it on/off from tasker... only to use shell command from first post?
is there any other shell command just to turn AOD on/off and not to hide options from display/settings ?
ontwykende said:
I still didn't find out how to turn it on/off from tasker... only to use shell command from first post?
is there any other shell command just to turn AOD on/off and not to hide options from display/settings ?
Click to expand...
Click to collapse
Your right it does work excellent made a script from FKM to trigger both upon reboot. Thank
With FKM script manager you don't need to use a terminal you can run right from that app
lil_kujo said:
Your right it does work excellent made a script from FKM to trigger both upon reboot. Thank
With FKM script manager you don't need to use a terminal you can run right from that app
Click to expand...
Click to collapse
what I would like is to turn the AOD on or off with the shell command from Tasker ... For example, the AOD can only be ON when I have a new notification OR it can be completely Off when the "Do not disturb mode" is on (I already have task to turn Do not disturbe mode ih house (wifi zone) during night).
Thank you @Quinny899 for this work that allows us to have AOD.
After following the installation process, I have no problem.
AOD works very well.
I programmed it from 6:45am to 10:30pm and it disconnects when I switch to DND mode at night.
ontwykende said:
I am on international version O2_BETA_01 and in my case I needed to unveil "when to show" option in display-ambient display, by using shell command /script from here.
Click to expand...
Click to collapse
Ahhhh I see now I don't have that " when to show " option