Hi All,
I'm using Android 6 on i,MX6 sabresd DL.
In my kernel settings and uboot settings is 1920x1080.
Now I wanna change HDMI resolution in system from 1920x1080 to 1280x720.
I changed it by running below command.
echo "S:1280x720p-60" > /sys/class/graphics/fb0/mode
But output is not showing perfectly.
It shows like below picture
How can I fix this problem?
After I change the command line form
console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=FA30H_HW100 cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled androidboot.serialno=251c89d4eacb4af3
to
console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=FA30H_HW100 cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled androidboot.serialno=251c89d4eacb4af3
And output will show like below picture.
It cannot show full screen and have black space on it.
Any suggestion?
It might because you change to lower resolution, so navigation bar moves.
You could try to modify /frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
// Allow the navigation bar to move on small devices (phones).
mNavigationBarCanMove = shortSizeDp < 600;
Modify 600 to smaller numbers might fix the issue.
I've tried to change it to true but still the same.
Actually customer wants to change it via command instead of changing command line.
So the issue is still here.
You mean to modify kernel driver?
Or changing it in system?
Hi Victor,
I am not expert but I can give one solution may be you can try.
This is issue with Xserver, Just try dynamic resolution change in xserver using newmode, addmode(you will easily get in google).
Regards,
Solanki Deven
Did you mean to use xrandr to dynamic resolution change?
Android busybox has no "xrandr" command to use.