[Q] Chage DPI of incoming call interface - Xperia Z2 Q&A, Help & Troubleshooting

Hello everyone, I hope you guys can help me solve this issue
I change my Z2 DPI to 360, everything is fine except Incoming call interface when I get a call, the swipe to answer bar and the button don't fit the screen, I tried to use Per App settings module of Xposed but useless, can someone give me a solution to make these things fit the screen , thanks in advance!

thode1226 said:
Hello everyone, I hope you guys can help me solve this issue
I change my Z2 DPI to 360, everything is fine except Incoming call interface when I get a call, the swipe to answer bar and the button don't fit the screen, I tried to use Per App settings module of Xposed but useless, can someone give me a solution to make these things fit the screen , thanks in advance!
Click to expand...
Click to collapse
that should be an easy one with tasker, executing 'wm density xxx' whenever call comes in
(xxx stands for numeric dpi value)
and exit with 'wm density 360' when call ends

bgumble said:
that should be an easy one with tasker, executing 'wm density xxx' whenever call comes in
(xxx stands for numeric dpi value)
and exit with 'wm density 360' when call ends
Click to expand...
Click to collapse
Thank you for give me an idea but can you show me detail about the procedure to set that with tasker ?, I got the app but I don't know how to make a task as you said

thode1226 said:
Thank you for give me an idea but can you show me detail about the procedure to set that with tasker ?, I got the app but I don't know how to make a task as you said
Click to expand...
Click to collapse
On profile add App, select Phone, new task (name it), add shell, enter command 'wm density 424' (without quotes), add exit task (name it), add shell, enter command 'wm density 360'
Not exactly, but you'll figure it out.
Give feedback :good:

bgumble said:
On profile add App, select Phone, new task (name it), add shell, enter command 'wm density 424' (without quotes), add exit task (name it), add shell, enter command 'wm density 360'
Not exactly, but you'll figure it out.
Give feedback :good:
Click to expand...
Click to collapse
I've try as you said but when a call comes in, the screen still like above , i tried to check all service involved to phone, but nothing changes.

thode1226 said:
I've try as you said but when a call comes in, the screen still like above , i tried to check all service involved to phone, but nothing changes.
Click to expand...
Click to collapse
you may execute the script as root user.
Other than this I have no idea.

I've already execute the shell with root user, but I think the problem here is "Phone" app is incorrect, it must be another app, but anyway, thanks for your help

Not exactly what you want, but if you use 320dpi instead all apps works fine and adapt perfectly to the screen size.
Maybe try it and see if you like how it looks.

On profile add Status, select Calls (both incoming and outgoing), new task (name it), add shell, enter command 'wm density 424' (without quotes), add exit task (name it), add shell, enter command 'wm density 360'

Thanks to both of you, I decided come back to stock dpi and set specific app I want to 320dpi, that makes me breath easily

Related

[Q] x10 mini pro keyboard backlight

I've tried searching in the forums, but no luck..
I've installed CM6-v3.1 on my phone, and now it seems that the backlight on the pull-out-keyboard always is on? (as long as the phone's not at standby) It drains my battery.. Any ways to fix this?
Also, I wonder if it's possible to get the key-setup fixed for the pull-out-keyboard?
It's now in English, and I have an Norwegian phone..
Then I have 3more letters in my alphabet (æ-ø-å), which means I have some extra keys on it.. The keyboard is messed up with the signs, but not the letters and numbers.. f.inst. : my dot button (.) and the '':'' button now shows ''?'' and ''!'' ..
My ''æ'' button shows dot (.) and '':''...
See my point ? I think I just need the Original SE ''pull-out-keyboard'' file to replace the CM file? If, how do I get it?
Please answer my first question first, as that is more important to me
Thanks!
HanMedSverd said:
I've tried searching in the forums, but no luck..
I've installed CM6-v3.1 on my phone, and now it seems that the backlight on the pull-out-keyboard always is on? (as long as the phone's not at standby) It drains my battery.. Any ways to fix this?
Also, I wonder if it's possible to get the key-setup fixed for the pull-out-keyboard?
It's now in English, and I have an Norwegian phone..
Then I have 3more letters in my alphabet (æ-ø-å), which means I have some extra keys on it.. The keyboard is messed up with the signs, but not the letters and numbers.. f.inst. : my dot button (.) and the '':'' button now shows ''?'' and ''!'' ..
My ''æ'' button shows dot (.) and '':''...
See my point ? I think I just need the Original SE ''pull-out-keyboard'' file to replace the CM file? If, how do I get it?
Please answer my first question first, as that is more important to me
Thanks!
Click to expand...
Click to collapse
the keyboard light is a quick dirty fix coz we have bigger bugs to solve now i fixed it that way for now
and don't panic the led almost don't eat battery mike and i will look into it after fixing the bigger bugs
and please reflash make an backup in xRecovery flash se firmware back
then please copy the /syetem/usr folder and sent it to me (pm) and i will fix your keyboard (i thougt it was the same as swedish (try to flash that one first) if it dont work sent me your usr folder)
after you sent it you can place your floyo backup back
Owain
i have the same problem here.. Not just about killing battery owain, but it reduce our own visibility of the keyboard characters itself when we are on the bright room.. Maybe there's a generic fix that we can apply by ourself if that's quite easy for us?
Well anyway if it's easy to fix then i guess you must be already bundling it on the next version Thanks so much for the hard work.
hansip87 said:
i have the same problem here.. Not just about killing battery owain, but it reduce our own visibility of the keyboard characters itself when we are on the bright room.. Maybe there's a generic fix that we can apply by ourself if that's quite easy for us?
Well anyway if it's easy to fix then i guess you must be already bundling it on the next version Thanks so much for the hard work.
Click to expand...
Click to collapse
if you really wanna turn it of do this in root explorer
put a "0" in "/sys/devices/platform/msm_pmic_misc_led.0/brightness" file and save it now your led is off and if you want it on again just put a 1 or any number above 1 in the file it is quite simple lol
im trying to get it nice fixed in the CM settings but that kinda hard so when i fail at that i will try another way bash script i guess
owain94 said:
put a "0" in "/sys/devices/platform/msm_pmic_misc_led.0/brightness" file and save it now your led is off and if you want it on again just put a 1 or any number above 1 in the file it is quite simple lol
Click to expand...
Click to collapse
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
owain94 said:
Please reflash make an backup in xRecovery flash se firmware back
then please copy the /syetem/usr folder and sent it to me (pm) and i will fix your keyboard (i thougt it was the same as swedish (try to flash that one first) if it dont work sent me your usr folder)
after you sent it you can place your floyo backup back
Owain
Click to expand...
Click to collapse
Ok, I got a little confused in there.. Im really a noob so ;
* Reflash to CM again? And then make backup.
* Then flash to SE fw. and copy ''/syetem/usr'' (< u mean system right?)
* Then flash back to CM again, and w8 4 U fix 4 me?
(About the SWE. Keyb. : Sweden have 3 letters 2, but it's not the same symbol.. :S Then I'll probably get the key-setup right, but it will input the swedish letters?)
Thanks 4 the help! (I dont rlly care about the backlight, just wondered ^^)
P's, I did take backup in xRecovery b4 starting with CM (and thats the 2.1-update1 version..). Is it possible 2 find the file in the backup? or i can send u the backup? Then I wont have 2 reflash..
Also : When im gonna reflash, which program should I use 2 backup my apps ?
My keyboard : http://www.google.com/imgres?imgurl...ndsp=21&ved=1t:429,r:16,s:19&biw=1366&bih=625
drsood said:
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
Click to expand...
Click to collapse
Really ?
I tried it, but no chance that tasker detect the keyboard out event.
You did it ?
regs
Dominic
Edit :
Sorry, I am stupid, of course it works, I had to enable the task
just flashed the ''danish.zip'' works perfectly" ;D
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
I have that same issue about that special bottom right button "àü" in Belgium, which had to show me a panel of symbols or could push it with another key to have a special letter like these "é è ë ê à ç"
it should normally be the same as the french keyboard (don't know if they have QWERTY or AZERTY keyboards tho)
liquidsk said:
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
Click to expand...
Click to collapse
hello how to change /sys/devices/platform/msm_pmic_misc_led.0/brightness into 1 or 0???
im trying to do with rootexplorer but when i open this file via text editor it shows blank & after i changed the value & exit after saving its not changed means file remains blank..
please help?
liquidsk said:
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
Click to expand...
Click to collapse
Not sure where to input these commands. Mind give me a simplistic step by step where to go to input these commands? thanks in advance!
ctalcant said:
Not sure where to input these commands. Mind give me a simplistic step by step where to go to input these commands? thanks in advance!
Click to expand...
Click to collapse
Make sure u have installed Tasker and Locale Execute plugin (from market)
after that just import the attached profile into tasker...
drsood said:
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
Click to expand...
Click to collapse
Please help me with this :
I don't want the backlight to be off.. I just want it to be off when the keyboard is in, and if it's out> I want it to turn off when not touched, and turn on as long as I use the buttons..
Think thats how the default in the 2.1-update1 SE fw was..
At least thats how it was on my phone
Working with locale plugin ... just one thing, every time I open or close physical keyboard, a notification appears, echo "x" >> .... on half of my screen, how to remove it ?
D4rKn3sSyS said:
Working with locale plugin ... just one thing, every time I open or close physical keyboard, a notification appears, echo "x" >> .... on half of my screen, how to remove it ?
Click to expand...
Click to collapse
u must have entered the command as "echo..........."
just add @ infront of the command and the notifications (toasts) should disappear e.g. "@ echo...."
drsood said:
u must have entered the command as "echo..........."
just add @ infront of the command and the notifications (toasts) should disappear e.g. "@ echo...."
Click to expand...
Click to collapse
Nice man thanks
keyboard light
Works perfect for me tasker+locale execute= problem solved. thanks.,..
widget
I'll be the first to admit that I'm a noob. But it seems to me that if you can switch it at runtime with a command it would be fairly easy to make a widget for the switching right?
That way you can manually select at any moment whether you want the light to be on or not. (Possibly working together with the solution above to automatically switch it off when the keyboard isn't out.)
In-deep-taskin'
JDRX said:
I'll be the first to admit that I'm a noob. But it seems to me that if you can switch it at runtime with a command it would be fairly easy to make a widget for the switching right?
That way you can manually select at any moment whether you want the light to be on or not. (Possibly working together with the solution above to automatically switch it off when the keyboard isn't out.)
Click to expand...
Click to collapse
In Tasker you have the ability to "link" the keyb-light-on command to the keyb-out state, aswell to "link" the keyb-light-off script to the keyb-in state (or as exit task)...
BUT
you could also make the command on + off on exit task (keyb-in) LINKED to a variable determined by an external condition (external LIGHT intensity):
in simple words:
hi tasker, i would like to have my keyboard backlight on when i slide out my physical qwerty but only ***IF*** the ambient light level is not enough to make me easily identify the buttons, then, please tasker, turn off the light when I close my qwerty if before you have turned it on.
To achieve this behaviour, just check the ***If*** box by editing the execute command in the created task (keyb-light-on when keyb-state=out) to set the If variable. Select as variable **Light level** (%LIGHT) and link it to a math **Condition Operator** like "less than" (<) then put the desired percentage of ambient light below which (in this case) the command keyb-light-on triggered by keyb-out state will get executed. Remember to also create an exit task with the keyb-light-off execute command (obviously without setting the **IF** variable).
Note:
On tasker, the first time you use the %LIGHT (light level variable) you should expose your device first a while in a dark place, then a while in a WELL lightened place. Do that in order to allow tasker to set properly the on-off border working conditions to internally understand light sensor datas
Hope that could help.
Any doubt --> post here
best regards,
respect!

[Q] Run ADB Command from Home Screen Shortcut

The backstory first:
I have a Nexus 10. I like to plug it into my TV via HDMI and watch videos or play games, or what have you. Since the aspect ratio doesn't match the TV I get black bars on the sides. In a command line, one can type
Code:
am display-size 2560x1440
to change the resolution of the screen and get rid of the black bars on the TV completely (at the cost of adding black bars on the top and bottom of the tablet.)
Code:
am display-size reset
Sets it back to normal.
Rather than typing this into a terminal /every time/ I want to do this, is there a simple widget or app that will let me set up a shortcut on the homescreen that I can just click on to toggle instead?
There isn't a utility that does that, but i made one in dos for you. too lazy to upload, will give you the code.
Make a batch file by making a new file in notepad and saving it as a .bat extension for eg. filename.bat
inside the file, copy-paste this code :
Code:
@echo off
ECHO Please enter x for screen resolution of 2560x1440 and enter y to get back to default resolution
SET /P res=Please enter x or y:
IF "%res%"=="x" (
adb shell am display-size 2560x1440 ) ELSE (
adb shell am display-size reset )
ECHO Done!
Hit save!
if you want to set your resolution to 2560x1440 , type x and hit enter. if you want it set to normal hit y.
save this file and adb in the same folder.
I haven't tested it, so test it and tell me if it worked :good:
Lazz said:
The backstory first:
I have a Nexus 10. I like to plug it into my TV via HDMI and watch videos or play games, or what have you. Since the aspect ratio doesn't match the TV I get black bars on the sides. In a command line, one can type
Code:
am display-size 2560x1440
to change the resolution of the screen and get rid of the black bars on the TV completely (at the cost of adding black bars on the top and bottom of the tablet.)
Code:
am display-size reset
Sets it back to normal.
Rather than typing this into a terminal /every time/ I want to do this, is there a simple widget or app that will let me set up a shortcut on the homescreen that I can just click on to toggle instead?
Click to expand...
Click to collapse
For these kind of things:
Script Manager can create widgets from scripts.
TechMasta said:
There isn't a utility that does that, but i made one in dos for you. too lazy to upload, will give you the code.
Make a batch file by making a new file in notepad and saving it as a .bat extension for eg. filename.bat
I haven't tested it, so test it and tell me if it worked :good:
Click to expand...
Click to collapse
I never thought of using a batch file on a computer to do this. I have one hooked up near my TV, I could just plug the tablet in and set the batch file to a hotkey and it would be just as good as running from the tablet itself.
It seems "am" needs root permissions for some reason
It throws:
Code:
java.lang.SecurityException: Neither user 2000 nor current process has android.permission.WAKE_LOCK.
I tried to modify the code to get root access but then it gets stuck in adb shell. perhaps there is a way to run more than one shell command per line?
"am" does work from adb shell when it has root permission. This is strange since I don't need root permission from the terminal emulator on the tablet itself. Maybe there is something corny going on with my tablet.
Zatta said:
For these kind of things:
<URL> can create widgets from scripts.
Click to expand...
Click to collapse
This looks like it would work as well, except for some reason the Play Store says it isn't compatible. Perhaps I can download it on my phone, and then copy it to the Nexus 10.
Thank you both for your assistance!
We'll get this going somehow!

HOW TO: Change the Dell Venue 8 7840 DPI for better viewing

I am late to the Dell Venue 8 7840 party as I just bought mine three days ago. What a beautiful tablet and absolutely gorgeous display. However, I think that the text is just a little too small for my likings so I wanted to do something about it. Well, you first have to root your device which is kind of a nightmare if you ask me (after updating to Lollipop 5.1).
My first attempt at changing the resolution was through editing the build.prop and adding a value of "ro.sf.lcd_density=360" since the default density is 320. Anyways, every time you reboot it just is completely ignored.
I take no blame for anything that goes wrong with this.
So here's how you change the DPI:
1) Get root by following this most recent root tutorial. You will need to install "Busy-Box" as mentioned in that tutorial.
2) Install a terminal emulator such as "Terminal Emulator" or "Termux" from the Play Store
3) Start the terminal program
4) Type "su" and press enter. NOTE: You will need to grant your terminal emulator root access after you press enter.
5) Type "wm density" and press enter. You will see the default density of "320".
6) Type "wm density xxx" where xxx is the density you want to switch to such as 360. Basically anything above 320 is larger, anything below 320 is smaller.
Once you type the command such as "wm density 360" it instantly applies it. It also survives a reboot so please be careful to type the command exactly as it is supposed to be typed and do not use too small or too large of a change. If you change the density to 390 and utilize Google Now you will see that it changes format from a dual column to a single column. I prefer this look and feel plus tabs in Chrome are more normal sized to myself. Some DPI's cause text to shift off the sides of the display so it's just a matter of trying to increment or decrement by one until you reach the sweet spot.
If you want to reset it back to normal you can simply type "wm density reset".
Good luck and hopefully this helps someone.
Awesome. Looks a tad bigger but still sharp. So that's a plus.
Quick question. Do you know how to swap the menu and back soft keys? I tried switching with the..kl files and no luck.
joeminati said:
Awesome. Looks a tad bigger but still sharp. So that's a plus.
Quick question. Do you know how to swap the menu and back soft keys? I tried switching with the..kl files and no luck.
Click to expand...
Click to collapse
I haven't looked into this myself and couldn't be of any help. I'm use to the positioning and never tried to swap them on my own.
With other high-res tablets such as the Samsung Tab Pro it is much easier to do this with one of the many apps available on the Play Store. However Texdroider and some of the others do not work; the change is not applied on reboots. By trial and error I stumbled upon Easy DPI changer, which works perfectly. It is probably applying the same change "automatically" that the op applied manually.

Res issue & getting started +

Hi folks,
after long searchs, compares, thoughts and headaches, my decision went for a brand new Xperia Z5c. It is my first ever just-touch phone.
I am on Android 6.0 Marshmallow now.
I guess most of you have gained some experience already, so I would be glad if someone could give me some advices on my issues:
1. I would like to have more grids on home screen, smaller icons, spaces and texts, as well as applied to all apps. Just would like to "increase" the "resolution". that "small" from settings is not small enough for me. I can reduce the icon sizes by using the Holo launcher though, but still the apps are in big sizes, like calendary, emails, status bar, settings etc.
2. I was told by the seller that I should better avoid using the quick charger, but he seemed for me like not sure. If sony offers that, why should it be bad? Is that true?
3. When I start the radio it does not end, even I try to close it through the right app button (where all the running apps are listed), it closes there but still runs in background. when I put off the ear plugs, and plug it in again, it still continues with radio. Only restarting the phone helps. What can I do that I can run it normally and close whenever I want? Or what could be the reason for that problem?
4. What simple music player can you suggest for me?
5. is it possible to record a video with HD (ready) instead of FullHD with 60Hz ? How?
Thank you in advance!
1. You can try change the dpi. If adb is installed on your computer, then connect phone to pc. Make sure USB debugging is turned on in Developer Options. Open a command window in the adb folder, and type "adb devices". If you see a device listed, you are good to go.
Then type adb shell
Then type wm density 260 or any value less than 320 (which is the default dpi). The lower, the smaller everything becomes. Then restart. You can always revert back to 320 dpi through the same process.
2. Use the quick charger
3. There is a switch off button in radio and that must be used
4. Phonograph
5. Swipe up in camera till you get to "Video". Then tap the gear icon at the bottom right. Select any resolution you want
Sent from my E5803 using XDA-Developers mobile app
Sadman Khan said:
1. You can try change the dpi. If adb is installed on your computer, then connect phone to pc. Make sure USB debugging is turned on in Developer Options. Open a command window in the adb folder, and type "adb devices". If you see a device listed, you are good to go.
Then type adb shell
Then type wm density 260 or any value less than 320 (which is the default dpi). The lower, the smaller everything becomes. Then restart. You can always revert back to 320 dpi through the same process.
2. Use the quick charger
3. There is a switch off button in radio and that must be used
4. Phonograph
5. Swipe up in camera till you get to "Video". Then tap the gear icon at the bottom right. Select any resolution you want
Sent from my E5803 using XDA-Developers mobile app
Click to expand...
Click to collapse
Sadman Khan! Thank you ALOT for the help, and quick and direct reply!
For these 2 points:
1. dpi is ok now, worked like a charm, icons and texts on apps got smaller as I wished. so simple! Since I can not set grid size and reduce the spaces between the icons with Xperia Launcher, is it ok that I am using Holo Launcher (which is probably old? I am careful in installing apps to avoid high memory usages and slow down) just because of that? (I admittedly do not know other way, and I don't know whether it is normal. just pity that the weather widget is not so beautiful anymore, but is still ok.)
5. I didn't write correct, excuses. I mean: I can use 60 frames per second only on FullHD, I wished I could use for normal HD also 60. On the camera app it is just for FullHD available. What app can you suggest me to make use of it on a one lower resolution if there is no way with the current app? (I prefer more frames to resolution, in order to save a bit from file sizes.)

A fix for wrong Status Bar padding.

So, i recently got this device and i found it pretty annoying how the clock and battery icons were too close to the rounded corner of the screen, and since my device is still in warranty i can't use advanced root tools to fix this, but fortunately i found a solution that works in unrooted stock rom and i wanted to share in case anyone wants to fix their device too.
All you need is to have access to Developer Settings and enable Device Debugging, and ADB installed in your computer.
With your device connected, open CMD in the folder you installed ADB or just open Terminal if you're in linux, then enter this commmand:
Code:
adb shell settings put secure sysui_rounded_content_padding 8
And done! You should see the difference right away.
This setting is kept after a reboot, but i doubt you'll ever want to change it back to it's default, but if you want you can change the value to 0.
You can change the value at the end of the command to your liking, i just found 8 to be my prefered setting.
I hope this helps!
EDIT: Actually, there's a problem. The padding changes to the default everytime you change the screen orientation which is very annoying. I couldn't find a fix for this but if you know of any please let me know!
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Bartoshevsky said:
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Click to expand...
Click to collapse
I'm not sure if you can change the vertical padding, but if you did it the notch would probably cover the apps on screen so i think it wouldn't be a good idea
Hi,
I have found a little workaround for the padding setting reset after screen orientation change. It is possible to get the padding back without using ADB again.
Set the padding using the ADB method
Now if you change screen orientation the padding will disappear
Go to Settings -> Display -> Advanced -> Device Theme
Switch to the theme that is not currently used and back (Note: If you have an automatic theme selected, try to select both light and dark theme, it should change after selecting one or another)
The desired padding should be back again.

Categories

Resources