- How can I set a custom screen resolution for my Android TV box?
- Changing HDMI Resolution
- Breadcrumb
- mybook4
- Paulenski
- GizmoTheGreen
- FrostyWolf
- sonofskywalker3
- professorpoptart
- GizmoTheGreen
- FrostyWolf
- GizmoTheGreen
- Asadullah
- muriani
- khanning88
- Xerion
- muriani
- How to change HDMI output resolution
- Android
- Linux / Ubuntu
- Lowlevel Change
- How to change the value of hdmimode
- U-boot
- Android change hdmi resolution
- Android change hdmi resolution
How can I set a custom screen resolution for my Android TV box?
I am trying to use a new-ish Android TV box with an old projector. The devices in question are an M8 Android media player and an Optoma EP719 projector.
The media player is connected to the projector through an HDMI to DVI adapter. The media player is rooted and I have adb access to it over the network. It is running Android 4.4.
The problem I am having is this:
Part of the image is repeated on the right side. This does not appear in screenshots. I believe this is due to the 16:9 aspect ratio of the resolution. Technically this resolution should work, but in any case my preferred solution (and I hope the easier one) is to set the resolution to 1280×1024. I know this works with my raspberry pi already, though I have a similar distortion when trying to set it to 720p resolution.
The problem is, I can’t seem to set the resolution to this value. I am able to select resolutions by going to Settings > Display, toggling HDMI auto-detect off, and picking from a list of HDMI resolutions but neither 1280×1024 nor any other resolutions commonly available for monitors but not televisions are listed. I can choose, e.g., 480p, 720p, and 1080i all of which should work with this projector, but all cause some manner of distortion (usually stretching one side of the screen way out instead of duplicating it).
I’ve tried to manually set the resolution with a few different apps and via the CLI with wm size as in the related question Change the screen resolution to 1024×768 on Samsung Galaxy S3. This causes the screen to become much smaller than it should be, occupying only a small portion of the screen (e.g. the top left quarter).
I’ve also tried setprop hw.hdmi.resolution 133 (with 133 being the code for the 1280×1024 resolution, I think) then disconnecting and reconnecting the adapter as suggested in the other related question How to change external screen resolution?. That didn’t work either.
Is this possible and, if so, how can I do it? Getting the projector to handle 1280×720 resolution would also be acceptable but I am not sure whether that’s a problem on the projector end or the device end.
EDIT: I tried flashing the media player with an OpenELEC image. The same issue occurred even with Kodi’s resolution changer. For some reason, it insists on detecting the device as 16:9 even though it reports itself as 4:3.
Источник
Changing HDMI Resolution
Breadcrumb
mybook4
Senior Member
I don’t know about you guys, but my Ouya stays on 1080p all of the time. This would normally be great for most uses, but Mupen64plus is a tad laggy at 1080p. I’d rather play at 720p so things might be smoother.
I googled a bunch, but couldn’t find much on how to force a manual resolution change (short of buying a 720p-only TV…not an option).
I did some digging of my own. Here’s what I found:
In /sys/class/graphics/fb0 are several files I believe are related to HDMI output:
«cat mode» displays:
I figured I would take a shot at changing the resolution to 720p. I performed the following as root:
When I ran the command, the screen went blank (at least it did something, lol).
I then tried to change back to D:1920x1080p60 with the following
The screen remained blank. I tried several other modes in the list 600p, 480p, 768p, but none worked. I set mode to D:1280x720p-60 and rebooted the Ouya. The console booted back up, but it was still in 1080p. I checked the mode file. It had reverted back to D:1920x1080p-60.
Hopefully this helps us get somewhere
Paulenski
Senior Member
I need this on my TV, I haven’t checked what it’s outputting thru adb(it’s connected to comp atm) but it’s oversizing when I first got the console. My guess is it’s forcing 1080p on the TV.
Sent from my GT-P1000 using Tapatalk HD
GizmoTheGreen
Senior Member
FrostyWolf
Senior Member
sonofskywalker3
Senior Member
professorpoptart
Senior Member
For years I didn’t know my tv had it. Mine calls it «hd size» hidden 3 menus deep.
Size 2 is what I set it to
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
GizmoTheGreen
Senior Member
it’s quite alot missing and my tv has no overscan settings. there was 16:9, 4:3, zoom 1 and zoom 2. neither helped any (zoom just made it worse)
it’s a 1366×768 resolution tv but it obviously takes 1080p and scales it down (my ps3 works fine in 1080p!)
I’m hoping 720p output from the ouya would solve it.
FrostyWolf
Senior Member
it’s quite alot missing and my tv has no overscan settings. there was 16:9, 4:3, zoom 1 and zoom 2. neither helped any (zoom just made it worse)
it’s a 1366×768 resolution tv but it obviously takes 1080p and scales it down (my ps3 works fine in 1080p!)
I’m hoping 720p output from the ouya would solve it.
GizmoTheGreen
Senior Member
I seem to have slight more luck doing this:
1. echo 0 > /sys/class/graphics/fb0/device/enable
2. echo (videomodefrommodesfile) > /sys/class/graphics/fb0/mode
3 echo 1 > /sys/class/graphics/fb0/device/enable
atleast I get picture after doing this but it’s the top half center of the screen only. :/
Asadullah
Senior Member
I don’t have my ouya yet but try an app like anycut that allows you to make activity shortcuts. I used it on my htc evo 4g lte to make a shortcut that would change the screen resolution to 480p. Also maybe a build.prop edit would work.
Nope tested out anycut it’s a no go
muriani
Senior Member
khanning88
Senior Member
You can change resolutions using the activity manager command.
‘am display-size’
eg.
am display-size 1920×1080
am display-size 1080×720
am display-size 720×480
Xerion
Member
muriani
Senior Member
That works to some extent for me, through my VGA adapter.
For example, if I echo D:1280x1024p-74 > /sys/class/graphics/fb0/mode
then I’ll get a 1280×1024 screen on my 4:3 LCD, but with only a 16:9 play area.
Using am display-size 1280×1024 will crop it down to a 4:3 720p instead of filling out the rest of the screen.
At this point I’m not sure if I’m running into limitations on the ouya, or fighting the VGA adapter. Eventually this all does have to go through the VGA adapter as the display I’ll be using has no DVI or HDMI input.
E: While connected directly to my LCD via HDMI->DVI, it’s actually quite curious, if I set the resolution to 1024×768, and confirm on the monitor that it is receiving that res, I have a letterboxed 640×480 play area in the corner.
When I am display-size 1024×768, the play area SHRINKS further. I think this does not quite what we expect.
Источник
How to change HDMI output resolution
ODROID-C2 can support various resolution on HDMI output, you can select one of supported resolutions for your display (LCD monitor or TV).
Please make sure the resolution you select can be supported by your display before you start. Otherwise you would be hard to recover the resolution again.
Android
We provide you a simple but useful application, ODROID Utility. This helps you to change the resolution by menu as below and you can select one of them for your display. Once you select one, click the button Apply and Reboot. Then your ODROID-C2 will restart with new resolution.
Linux / Ubuntu
Lowlevel Change
This section introduce you to change the resolution by manual, this would be helpful if you are failure to change the resolution and not able to sett the face of ODROID-C2.
The fact what initiate the resolution is from U-boot and the environment key is hdmimode. Probably your U-boot would have the one like this by default.
This will be passed to Linux kernel by bootargs just before Linux kernel is started. Here is the default value of bootcmd which starts Linux kernel. As you see, hdmimode is passing as boot argument.
How to change the value of hdmimode
There are three ways to change hdmimode to change the resolution, you can replace 1080p60hz with the other resolution you wish to change for your display. And only the way with adjusting hdmimode arg value in boot.ini is available for ODROID-C2 so far, the other ways are in progress.
U-boot
Currently, 720p60hz mode is fixed on U-Boot stage after power-on and reset. But you can change hdmimode temporarily using ‘showlogo’ command.
Источник
Android change hdmi resolution
Term&conditions: [что и как]:
— Всё описываемое оборудование, так или иначе было у меня в руках. То, что в руках не держал – описывать не буду.
— Всё, что применялось – будет только в виде фоток и номеров моделей (если есть) без ссылок в интернетах,
ибо магазины постоянно закрываются, ассортимент меняется и потом личка трещит от вопросов «где взять?». Так что сразу пройдите в Гугел.
— Телефоны-планшеты с MHL IMHO уже давно не производят, но их всё ещё очень много на руках,
на вторичке и по достаточно приятной цене. Собрать проигрыватель/смотрелку или игралку в эмуляторы (мой случай, да!)
можно за вполне вменяемые деньги и с гораздо более ёмким функционалом, чем всякие «Титаны» и «Сегадрайвы»,
коими сейчас почему-то забиты все магазины электроники.
Итак, основное исполнение адаптеров – в двух видах:
5 и 11 пин.
Все адаптеры в HDMI – активные, всем надо дополнительное питание 5 вольт. Со всех адаптеров идёт зарядка телефона.
Токи зарядки маленькие, потребление всей конструкции порядка 600-700 миллиампер, телефону достаётся всего 500 миллиампер при
использовании отдельного блока питания, и того меньше, если MHL-адаптер воткнут в маломощный USB самого телевизора.
Это в принципе совсем не много и надо быть морально готовым, что телефон после нагрузки всякого рода софтом в итоге «сядет».
Часть первая: 11 ПИН
Используется в самсунгах времён Galaxy S4, Note2, Note3 и ещё каких-то, но у меня были только эти.
Первое – пятипиновый MHL механически не совместим с 11-типиновым и наоборот. Не надо толкать 11 пин в 5 насильно,
будут поломки. 11-ти пиновый длиннее и имеет отличающуюся форму от стандартного миниЮСБ.
Является собственным разъёмом фирмы Самсунг, благодаря аж шести дополнительным пинам в состоянии предать
картинку на TV и одновременно по OTG прицепить в систему манипуляторы (мыши, клавы, джойстики) и флешки вместе с дополнительным питанием.
Это касается только фирменных стаканов типа Samsung EDD-S20EWE
Источник
Android change hdmi resolution
Для функционирования программы необходимы права root пользователя.
Краткое описание:
Позволяет изменить разрешение экрана планшета или смартфона для лучшего отображения изображения на подключенном к нему телевизоре или мониторе.
Описание:
Вас не устраивает то, как выглядит изображение на подключенном через WiFi или HDMI кабель к вашему планшету или смартфону в качестве второго дисплея телевизоре или компьютерном мониторе?
Не отчаивайтесь, теперь те, кого раздражают темные полосы появляющиеся в подобных случаях и обрамляющие изображение на экране телевизора, могут избавиться от них с помощью нового Android приложения, получившего наименование SecondScreen.
Как известно, большинство нынешних Android планшетов имеют соотношение сторон экрана 16:10 (при разрешении 1280 x 800 или1920 x 1200), в отличие от 16:9 экранов смартфонов (разрешение 1280 x 720 или 1920 x 1080). Именно это является причиной возникновения черных полос при выводе копий их экрана на телевизор, даже когда вы используете их в наиболее подходящим для этого, ландшафтном режиме.
Именно для того, чтобы улучшить отображаемое на экране телевизора в подобных случаях изображение, было и создано приложение SecondScreen.
С его помощью вы можете изменить разрешение изображения и даже подстроить значение DPI операционной системы Android, переключив её интерфейс в телефонный или планшетный вид, наиболее подходящий к той или иной ситуации.
Кроме того, SecondScreen умеет увеличивать разрешение (например, на 720p устройствах до 1080p) или уменьшать его до того же 1080p (или — 720p) на устройствах с экранами более высокого, чем у телевизора разрешения.
Требуется Android: 4.2 и выше
Русский интерфейс: Нет
версия: 2.6.4 ®SecondScreen (Пост vitaxa978 #67116892)
версия: 2.6 Rus ®SecondScreen (Пост ruslan147 #59384082)
версия: 2.6.3 ®SecondScreen (Пост vitaxa978 #64028552)
версия: 2.6.1 ®SecondScreen (Пост vitaxa978 #60544495)
версия: 2.6 ®SecondScreen (Пост vitaxa978 #59362224)
версия: 2.5.7 ®SecondScreen (Пост vitaxa978 #58666556)
версия: 2.5.6 ®SecondScreen (Пост vitaxa978 #58526104)
версия: 2.5.5 ®SecondScreen (Пост vitaxa978 #57356423)
версия: 2.5.4 ®SecondScreen (Пост vitaxa978 #55572799)
версия: 2.5.3 ®SecondScreen (Пост vitaxa978 #55074434)
версия: 2.0.1 secondscreen v2.0.1.apk ( 279.75 КБ )
Сообщение отредактировал iMiKED — 04.02.21, 06:47
Источник