[UPDATE 06/10/19][Guide][Tweaks] for ANDROID phones without root. Fast boot, power sa - Xiaomi Mi A3 Guides, News, & Discussion

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

Related

TouchControl and Tasker

For anyone trying to integrate TouchControl into Tasker as per the instructions in this thread, the syntax has apparently changed with the newest version of the program.
As such:
echo disable > /proc/ponury/status no longer works and should now be echo enabled 0 > /proc/touch_control/<<gesture>>
And:
echo enable > /proc/ponury/status now becomes echo enabled 1 > /proc/touch_control/<<gesture>>
Note that <<gesture>> needs to be replaced with either g_doubletap2wake, g_slide2unlock, g_slide2media_next, g_slide2wake or g_touch2wake, depending on which gesture you want to enable/disable.
I can't seem to find a post anywhere in the thread reflecting these changes so figured I would try to save anyone else trying to accomplish what I was some time and frustration.
As I only have a couple posts I can't post to the Dev section of the forum so perhaps someone could either copy/paste it in the post or maybe link back to this thread. Feel free to verify the above if you need to before linking but it works for me perfectly.
Thanks!
If I have multiple gestures enabled, do I need to disable all of them for this to work?
---------- Post added 10th September 2013 at 12:43 AM ---------- Previous post was 9th September 2013 at 11:53 PM ----------
dave__ said:
If I have multiple gestures enabled, do I need to disable all of them for this to work?
Click to expand...
Click to collapse
Played around with it a bit more tonight and it works by just having each echo statement on a seperate line in the shell command, like so:
echo enabled 0 > /proc/touch_control/g_slide2wake
echo enabled 0 > /proc/touch_control/g_slide2lock
You can still completely enable/disable Touch Control the old school way without enabling/disabling each individual gesture
echo enable > /proc/touch_control/controller
or
echo disable > /proc/touch_control/controller
Is this working for anybody? I've tried tons of different variations with no success.
Run Shell -> Command: Echo enable 0 > /proc/touch_control/controller
This does not work. I also check marked the "use root" box. Any suggestions?
thanks
i will try it
I got it to work
Here is the correct syntax:
echo disable > /proc/touch_control/controller
Change disable to enable as your exit task or as a "not call any" task.
This will switch touch control entirely off/on. It will remember your settings when it is re-enabled.
Thanks to @evo5ive for pointing me in the right direction with this.
dvorak67 said:
Here is the correct syntax:
echo disable > /proc/touch_control/controller
Change disable to enable as your exit task or as a "not call any" task.
This will switch touch control entirely off/on. It will remember your settings when it is re-enabled.
Thanks to @evo5ive for pointing me in the right direction with this.
Click to expand...
Click to collapse
http://postimg.org/image/pzm78p9n7/
Can you tell me why this isn't working? I'm losing my mind over it! :crying:
Nephilim-Giant said:
http://postimg.org/image/pzm78p9n7/
Can you tell me why this isn't working? I'm losing my mind over it! :crying:
Click to expand...
Click to collapse
You are using the Touch Control app, correct? Not s2w, which many kernels have implemented?
This is what I did on my Nexii 4 and 5 to successfully disable the Touch Control app. Note that you will have to completely close and reopen Touch Control to see this work (swipe it out of your recent app list). I will see if I can export this as an app to share and will update this post.
Can you verify that the file: "/proc/touch_control/controller" exists? Proc is located at the root level, so you'll need a root file explorer like ES if you don't have one already.
dvorak67 said:
You are using the Touch Control app, correct? Not s2w, which many kernels have implemented?
This is what I did on my Nexii 4 and 5 to successfully disable the Touch Control app. Note that you will have to completely close and reopen Touch Control to see this work (swipe it out of your recent app list). I will see if I can export this as an app to share and will update this post.
Can you verify that the file: "/proc/touch_control/controller" exists? Proc is located at the root level, so you'll need a root file explorer like ES if you don't have one already.
Click to expand...
Click to collapse
I'm using Touch Control app. Not s2w of any kernels (never even downloaded one).
I'm running 4.4 kitkat on Nexus 5. I do see the "/proc/touch_control/controller", along with "g_doubletap2wake" and three others.
I posted an image on my previous post, is that the correct implementation? Otherwise, I'm quite stumped .
I'm extremely grateful for the time you are taking to help me out, I appreciate it!
Nephilim-Giant said:
I'm using Touch Control app. Not s2w of any kernels (never even downloaded one).
I'm running 4.4 kitkat on Nexus 5. I do see the "/proc/touch_control/controller", along with "g_doubletap2wake" and three others.
I posted an image on my previous post, is that the correct implementation? Otherwise, I'm quite stumped .
I'm extremely grateful for the time you are taking to help me out, I appreciate it!
Click to expand...
Click to collapse
I'm sorry, I don't know what the problem is for you here. It works for me, and you seem to have it set up the same way. The only thing I can think to try is to check your trigger states in Tasker.
Hey dvorak, I setup my scripts like you did a couple above and it looks like they are working (disables and enables when I hit "play" in tasker to test them). I made two profiles, one for Call Any and another for Orientation Face Down and put them as enter/exit tasks. I haven't had a chance to try the call profile, but when I flip the phone face down and slide it still wakes up. I tried to nudge it to edge of the table to ensure it is flat and it still is enabled. Any advice?
Thanks!
Dude ! Thank you ! I couldn't stand my phone to do whatever in my pocket while I'm biking !!

Swap recent and back keys and kill the lights on both buttons.

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!

[MOD] Change Default Resolution to 4k - No root needed!

Hey there,
Daki from www.androidkosmos.de published a short article that the resolution can be changed to 4k by default (so Kudos to you man). As it's in German and not exactly step-by-step, I felt like posting a short how-to.
Step 1: Turn on Developer Options.
- Settings -> About -> Click 5x on Build-Number
Step 2: Allow USB debugging
- Settings -> Developer Options -> USB Debugging [X]
Step 3: Open ADB, (always without the " ofc!)
- Type "adb devices", click on "allow request" on your phone
Step 4: Change Resolution and DPI
- Type "adb shell"
- Type "wm size 2160×3840"
- Type "wm density 807 (after a little tinkering, I found 721 to be the best DPI. Yea, really, 721)"
There is no information so far as to how battery life is affected!
Back to default:
Repeat steps 1-3
Step 4: Change Resolution and DPI (back to default)
- Type "adb shell"
- Type "wm size 1080×1920"
- Type "wm density 403"
Best
IlluX
Further to this, if you're a weirdo like me and want everything reset rather than a set value due to your own personal OCD, you can use "wm size reset && wm density reset" :good::fingers-crossed::silly:
Illux said:
Hey there,
Daki from www.androidkosmos.de published a short article that the resolution can be changed to 4k by default (so Kudos to you man). As it's in German and not exactly step-by-step, I felt like posting a short how-to.
Step 1: Turn on Developer Options.
- Settings -> About -> Click 5x on Build-Number
Step 2: Allow USB debugging
- Settings -> Developer Options -> USB Debugging [X]
Step 3: Open ADB, (always without the " ofc!)
- Type "adb devices", click on "allow request" on your phone
Step 4: Change Resolution and DPI
- Type "adb shell"
- Type "wm size 2160×3840"
- Type "wm density 807 (after a little tinkering, I found 721 to be the best DPI. Yea, really, 721)"
There is no information so far as to how battery life is affected!
Back to default:
Repeat steps 1-3
Step 4: Change Resolution and DPI (back to default)
- Type "adb shell"
- Type "wm size 1080×1920"
- Type "wm density 403"
Best
IlluX
Click to expand...
Click to collapse
Thanks, when I set the 4k res, I get the error message "bad resolution"... why?
Awesome!
will this work on Z5 Premium?
sev7en said:
Thanks, when I set the 4k res, I get the error message "bad resolution"... why?
Click to expand...
Click to collapse
No idea, typo maybe? Tested it back and forth, not a single issue to report.
sev7en said:
Thanks, when I set the 4k res, I get the error message "bad resolution"... why?
Click to expand...
Click to collapse
ytheekshana said:
will this work on Z5 Premium?
Click to expand...
Click to collapse
I don't have a Z5P so I can't guarantee but I'm quite confident it does.
Haha look at that. Nice and thanks for share
I also published on talk.sonymobile.com forum.
Illux said:
No idea, typo maybe? Tested it back and forth, not a single issue to report.
Click to expand...
Click to collapse
Morning! Yes, it was... I used * instead of "x", I need new glasses eheh
How's the battery for you guys? When I do this to my Z5P, the battery doesn't even last a few hours
jms.flynn said:
Further to this, if you're a weirdo like me and want everything reset rather than a set value due to your own personal OCD, you can use "wm size reset && wm density reset" :good::fingers-crossed::silly:
Click to expand...
Click to collapse
Thanks. I checked my default density before changing it with the command "wm density" which exported 420, not 403 like OP said .
Phat-T said:
How's the battery for you guys? When I do this to my Z5P, the battery doesn't even last a few hours
Click to expand...
Click to collapse
The draining is very poor, not an impact so remarkable. The issue is about the themes, e.g. in the Agree Bird I have now when I asnwer to a call, the dialer disappear and it becomes a nightmare eheh
the phone app is not working correctly after change to 4k. phone app force close if you try to make a call and dialer disappear
got the aame result did not see any different on battery anyway, i think it is just mock, the desity shown in cpu z is same. but resolution is making at 4k in cpu z. need to change back due to phone app force closing though
gpx said:
the phone app is not working correctly after change to 4k. phone app force close if you try to make a call and dialer disappear
Click to expand...
Click to collapse
I heard somewhere that the phone app will work properly if you use 1440x2560 resolution, not sure about DPI though. I think it was Z5 Premium thread.
aren't the ui supposed to be 4k unlike the z5 p? or did they changed it?
tommy96814 said:
aren't the ui supposed to be 4k unlike the z5 p? or did they changed it?
Click to expand...
Click to collapse
They said during CES or something similar that you would be able to change the resolution in settings, so you could run 4K all the time if you wanted to. But that isn't the case on the phone right now.
Either the people from Sony that made the claim had their information wrong or Sony changed their mind afterwards. Either way, it sucks that you can't control your resolution in the settings.
MiniDemonic said:
They said during CES or something similar that you would be able to change the resolution in settings, so you could run 4K all the time if you wanted to. But that isn't the case on the phone right now.
Either the people from Sony that made the claim had their information wrong or Sony changed their mind afterwards. Either way, it sucks that you can't control your resolution in the settings.
Click to expand...
Click to collapse
yes i do not know they give us independently, like s8 did. easily for them to control like that actually.
tanipat said:
yes i do not know they give us independently, like s8 did. easily for them to control like that actually.
Click to expand...
Click to collapse
Hopefully it comes in a future update, maybe there were some issues with certain apps in 4K. I wouldn't count on it happening but it's not completely off the table.
Has someone used this for a while and can tell us about eventually battery effects of this? Does the phone app force closes etc?

Question Google Screen Call For OP9/9Pro

Hey there guys!
I just wanted to post this in case anybody out there wants to have Google Screen Call feature on their stock phone app.
It's pretty easy to be honest
Since the OnePlus 9 and 9 Pro have the google phone apk built in, I had to look at a bunch of info to see how it could work but figured out that it's a lot easier than I thought.
Requirements needed:
-Rooted One Plus 9/ 9Pro
-Termux installed (Play Store)
- Busy Box module installed
-Magisk Hide Props module installed
-PrefEdit installed (Play Store)
1st Step:
Open Termux
Type
su
Click to expand...
Click to collapse
Grant root permission
Then Type
props
Click to expand...
Click to collapse
If you have enable Device Simulation then skip 2nd step (If not then continue)
2nd Step:
Type in "1" ( to edit device fingerprint)
Type "f" (to pick a certified fingerprint)
After that you are going to choose Google and type the number it corresponds to ( Mine was 7)
It will show you a bunch of phones.
Just find the Pixel 4 XL and type the number it corresponds to ( mine was 23)
In reality I don't think it matters which phone you use just make sure it was a pixel phone that has screen call built in.
It's going to be give you some options of which OS version you want
I chose android 11 just to be sure
Type
2
Click to expand...
Click to collapse
Then it will ask you if you want to reboot
Type in "y" to finish the 2nd Step
3rd step:
Open Termux again and redo 1st step
once your on the page it should say "device Fingerprint (active)"
Type
2
Click to expand...
Click to collapse
The next page will show you a bunch of options that you can enable.
The ones you need to enable are-
1,2,3,4,5,6,7,9,10
Click to expand...
Click to collapse
(DON'T enable "8") I accidentally enabled it and screen call didn't work
once it says it's finished Type in "y"
then it will reboot
4th Step:
Once your phone has booted up
you need to go to settings then apps and clear phone data and cache
then find Google Play services and clear data and cache
After that open the phone app and go to settings to see if screen call feature is there
If it isn't showing up then you'll need to use PrefEdit
Close the phone app (if you haven't already)
Open PrefEdit and find Phone
It should show you like 5 files
Choose dialer
Once there tap on "dialer_phenotype_flags.xml"
then search for "speak"
Find this code line
G_speak_easy_bypass_locale_check
Click to expand...
Click to collapse
tap on it and change it from false to true
then tap the save button
Now you're finished!!
Things to note once you go back to the phone app you'll need to be on Wifi to enable the feature.
If you have any questions just let me know and I'll help you out as best I can !
I will post ScreenShots of what to do if you need to see how yours should look like.
Outstanding guide ty!
Have this option already without any mods.
Very nice guide! Man, I'm super conflicted. I'd love to have the screen call feature, but I'm already using the OP dialer for call recording. No way to have the best of both worlds I guess.
r4p70r said:
Have this option already without any mods.
Click to expand...
Click to collapse
How?
Hey that's a really good guide. And a good way to get that feature. But can u not still go back and just change the flags??? And make it work with out changing the fingerprint?
bb12489 said:
How?
Click to expand...
Click to collapse
I don't know. I have the EU Version and I am from Germany. This feature may already be officially available here in Germany. I have no other explanation for this.
amaroney55 said:
Hey that's a really good guide. And a good way to get that feature. But can u not still go back and just change the flags??? And make it work with out changing the fingerprint?
Click to expand...
Click to collapse
I've tried it but it doesn't seem to want to work on my device.
r4p70r said:
I don't know. I have the EU Version and I am from Germany. This feature may already be officially available here in Germany. I have no other explanation for this.
View attachment 5282765
Click to expand...
Click to collapse
I'm translating so I could be wrong but pretty sure that's "Caller-ID and Spam" which is the option you get when you don't have Call Screening. So you don't actually have Call Screening I believe.
JayGoat said:
I'm translating so I could be wrong but pretty sure that's "Caller-ID and Spam" which is the option you get when you don't have Call Screening. So you don't actually have Call Screening I believe.
Click to expand...
Click to collapse
Yes, you are right
r4p70r said:
Yes, you are right
View attachment 5282983
Click to expand...
Click to collapse
No worries! Just wanted to make sure.
Off topic, how did you get that circle battery around the camera hole?
JayGoat said:
No worries! Just wanted to make sure.
Off topic, how did you get that circle battery around the camera hole?
Click to expand...
Click to collapse
It's an app called Energy Ring
Nice easy to follow guide but will not activate at all. Just stuck at activating call screen (requires wifi) and yes wifi is working.....lol
bamemanxxa3416 said:
Nice easy to follow guide but will not activate at all. Just stuck at activating call screen (requires wifi) and yes wifi is working.....lol
Click to expand...
Click to collapse
hm thats odd, ry leaving the app open while connected to wifi and see if that changes cause it took a while for me when it activated
wooo000 said:
hm thats odd, ry leaving the app open while connected to wifi and see if that changes cause it took a while for me when it activated
Click to expand...
Click to collapse
I tried an older method that worked on my 7t and it's now working but it had to be done on an older google dialer ver 39.270.
It's not the fancy newer version but it works
wooo000 said:
Hey there guys!
I just wanted to post this in case anybody out there wants to have Google Screen Call feature on their stock phone app.
It's pretty easy to be honest
Since the OnePlus 9 and 9 Pro have the google phone apk built in, I had to look at a bunch of info to see how it could work but figured out that it's a lot easier than I thought.
Requirements needed:
-Rooted One Plus 9/ 9Pro
-Termux installed (Play Store)
- Busy Box module installed
-Magisk Hide Props module installed
-PrefEdit installed (Play Store)
1st Step:
Open Termux
Type
Grant root permission
Then Type
If you have enable Device Simulation then skip 2nd step (If not then continue)
2nd Step:
Type in "1" ( to edit device fingerprint)
Type "f" (to pick a certified fingerprint)
After that you are going to choose Google and type the number it corresponds to ( Mine was 7)
It will show you a bunch of phones.
Just find the Pixel 4 XL and type the number it corresponds to ( mine was 23)
In reality I don't think it matters which phone you use just make sure it was a pixel phone that has screen call built in.
It's going to be give you some options of which OS version you want
I chose android 11 just to be sure
Type
Then it will ask you if you want to reboot
Type in "y" to finish the 2nd Step
3rd step:
Open Termux again and redo 1st step
once your on the page it should say "device Fingerprint (active)"
Type
The next page will show you a bunch of options that you can enable.
The ones you need to enable are-
(DON'T enable "8") I accidentally enabled it and screen call didn't work
once it says it's finished Type in "y"
then it will reboot
4th Step:
Once your phone has booted up
you need to go to settings then apps and clear phone data and cache
then find Google Play services and clear data and cache
After that open the phone app and go to settings to see if screen call feature is there
If it isn't showing up then you'll need to use PrefEdit
Close the phone app (if you haven't already)
Open PrefEdit and find Phone
It should show you like 5 files
Choose dialer
Once there tap on "dialer_phenotype_flags.xml"
then search for "speak"
Find this code line
tap on it and change it from false to true
then tap the save button
Now you're finished!!
Things to note once you go back to the phone app you'll need to be on Wifi to enable the feature.
If you have any questions just let me know and I'll help you out as best I can !
I will post ScreenShots of what to do if you need to see how yours should look like.
Click to expand...
Click to collapse
Going to add to this, if it doesn't show up in your dialer settings, clear the cache from both your Phone app and from Google Play Services, then open the Phone app again, and wait a few minutes if you still don't see it. Once you do, toggle it and see if your basic phone functions are still working. Believe it or not, some people's microphones wouldn't work with this trick in effect.
And now a rant of sorts.
The problem with this process is that in doing such, you are tricking not only the Google Phone application into thinking you're running actual Pixel hardware, but everything else, too. So this opens a whole can of worms when it comes to things like software/OOS updates, kernels, Magisk modules, etc.
For example, Elemental Kernel refused to install on my OP 7T because it was identifying itself as a "Pixel 4a." And even then, while I did get call screening to work, briefly, having to revert the changes to update things, then redo the changes, and hope they stick again.... wasn't worth it for me to do all that. I just wish we could officially get their call screening technology on EVERY Google device. Or at least ones that can use the Google Dialer framework.
So be prepared for a lot of troubleshooting and frustration. You may have to ask yourself if this is worth it.
Ty so much for this. I finally had time to do it. But the weirdest thing happened it never showed the screen option or hold for me option. But like 9 hours later I used my phone and there it was setting up.
Is it possible to enable call recording with this method as well?
according to the link, call recording should be integrated in the dialer starting vom version v63:
OnePlus exploring adding automatic call recording support in India
OnePlus devices don't support automatic call recording, but this may change in future in India, at least according to a staff member.
piunikaweb.com
So I've tried this a numerous amount of times with zero luck on firmware 11.2.4.4. does anyone have any ideas as to why it's not working for me?
ilikepie___ said:
So I've tried this a numerous amount of times with zero luck on firmware 11.2.4.4. does anyone have any ideas as to why it's not working for me?
Click to expand...
Click to collapse
Could you explain? Which part is failing? What isn't working? The call screen part? The dialer?

Question R

.
kevinireland11 said:
The refresh rate must need some work done to it because when you enable force 120, the screen doesn't stutter when scrolling anymore.
Although might hit battery life a little moreView attachment 5468011
Click to expand...
Click to collapse
This isn't a revelation bro. People already know this. LTPO is still a very new technology and hasn't been perfected yet.
kevinireland11 said:
The refresh rate must need some work done to it because when you enable force 120, the screen doesn't stutter when scrolling anymore.
Although might hit battery life a little moreView attachment 5468011
Click to expand...
Click to collapse
Ah yes the oldest trick in the book
Screen refresh rate is controlled by several variables, 3 which I found are:
Code:
# getprop ro.surface_flinger.use_content_detection_for_refresh_rate
<true by default; you will need Magisk's resetprop to override it>
# settings get system min_refresh_rate
<0 by default; you can set e.g. to '60'>
# settings get system peak_refresh_rate
<60 or 120 depending on toggle 'Smooth display' in Settings>
When you use 'Force peak refresh rate' in developer options then:
Code:
# settings list system | grep refresh
min_refresh_rate=120.00001
Weird number by the way. Anyway that forces the driver into 120Hz continuously.
Burt Squirtz said:
This isn't a revelation bro. People already know this. LTPO is still a very new technology and hasn't been perfected yet.
Click to expand...
Click to collapse
There's a catch though,
It's for the people that didn't know, if "we all" new then I wouldn't have posted it
On my Pixel 6 Pro it always displays '60' if you turn on 'Show refresh rate', regardless if any of the other use/force smooth display/refresh rate options is set to true...
Is this the same for you?
HerrT said:
On my Pixel 6 Pro it always displays '60' if you turn on 'Show refresh rate', regardless if any of the other use/force smooth display/refresh rate options is set to true...
Is this the same for you?
Click to expand...
Click to collapse
Mine is 60, except when things are changing on the screen, then its 120.
96carboard said:
Mine is 60, except when things are changing on the screen, then its 120.
Click to expand...
Click to collapse
After a reboot mine is behaving the same (and as originally expected) now.
Thanks for the reply!

Categories

Resources