I have just bought MHL adapter for my Evo 3D GSM.
At first, I tested it on an older LG 720p TV - everything was perfect - the display was cloned on the TV by just connecting the cable.
The games were perfectly playable, etc.
I'm not sure if the stock ROM supports cloning, but it does not matter - I'm using latest CoolSense.
However, on my Panasonic 42" LCD TV it sets the resolution to [email protected], which introduces considerable amount of lag between the phone's screen and the TV. This makes almost all games unplayable on the TV.
I've found that running the following command as root can change the resolution on the TV to [email protected] (and everything looks fine), but after a second, something reverts it back to [email protected]:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode
I think that the following command lists the available video modes:
Code:
cat /sys/devices/virtual/graphics/fb1/edid_modes
After some experimenting, I've come to this:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode ; sleep 1 ; killall hdmid
This changes the resolution to 720p, and kills hdmid before it's able to restore the previous resolution. And there is no lag at all when playing games (Dead Space, Need for Speed, etc...)
I'm sure it's not very OK to kill the hdmid service (I suppose it manages the HDMI connection/detection etc), but after I kill it I can still disconnect the MHL cable, and when reconnect it the picture is still cloned.
However, the "HDMI" notification icon stays even when the HDMI cable is disconnected (I suppose the HDMI port is still powered and draining battery because the hdmid is not running)
Btw, I'm not Android developer, I'm just using my linux skills here
I am wondering why the resolution gets restored to [email protected]?
Also, how can I safely start/stop this hdmid (or other) service?
If there are some developers here, I would like to hear some thoughts...
Maybe this will be my first android app
lokster said:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode
I think that the following command lists the available video modes:
Code:
cat /sys/devices/virtual/graphics/fb1/edid_modes
After some experimenting, I've come to this:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode ; sleep 1 ; killall hdmid
Also, how can I safely start/stop this hdmid (or other) service?
If there are some developers here, I would like to hear some thoughts...
Maybe this will be my first android app
Click to expand...
Click to collapse
Excellent work! I'm interested in doing the same thing on the galaxy s iii. Does your ROM have init.d support? hdmid may be a daemon that starts with Android. On some Linux distros, a bash script may be present with the "stop" and ”start" commands. I'm not in front of a computer right now to dig deeper, but you might be able to do something like "hdmid stop" as root.
Yes, my rom has full init.d support, but unfortunately I've already tried "hdmid stop", and it does not do anything (it just hangs after executed).
This is frustrating - the problem is common, with different phones from different manufacturers, and yet, there is so little information (and no real solution)...
How hard is to just put a simple app to change the resolution... The chinese Android TV sticks all have it!
I believe killall sends a SIGTERM signal to hdmid. Is the daemon open source? If so, you could check to see whether or not the daemon handles SIGTERM. It may be appropriately cleaning up before exiting. If so, running killall hdmid wouldn't be that big of a deal.
On the galaxy s iii, I don't have an hdmid daemon running before or after the mhl is connected. Some other process handles it.
Sent from my SCH-I535 using xda premium
Does HDMI work on JB ROMS ?
wolfu11 said:
Does HDMI work on JB ROMS ?
Click to expand...
Click to collapse
I didn't finad that rom... Only ICS. If exist, I am interest too
---------- Post added at 02:40 PM ---------- Previous post was at 02:26 PM ----------
Another question, is it possible to have a picture on monitor, but a sound in mobile onr headset? When I plug a pc monitor with HDMI, which have no repro, I lose a sound...
1080p 24
hi folks interesting thread. i want to change the hdmi output on my s4 to 1080p24 with the samsung mhl 2.0 adapter. by default its 1080p60.
i'm rooted and using root explorer have found the relevant files, and sure enough the video_mode files has 16 in it - 1080p60. when i try to change this to 32 (1080p24) using a text editor (its mounted as r/w), the changes don't stick even though it says the file is saved ok. am i doing something wrong here? i noticed that you said "running the following command as root" - could you explain what this means please? i presume its in reference to using a terminal emulator?
I'm curious as to why the topic of HDMI has so little interest. It just baffles me. We need to find a way to stir more interest in this topic. I have a Galaxy Note 3 and I am having similar problems. Mine is that when using MHL I only get 720p (I have two different brands, same result) but on my Note 2 MHL works at 1080p just fine. Using an AllShareCast dongle works at 1080p fine. I prefer MHL to the compression artifact laden AllShareCast so this is frustrating me. There simply must be a relatively easy way to just select output resolutions using an app. Why does none exist? MHL has been around for some time now (2 years?). Come on! We have powerful PC's in our hands now! Let's get them desktop friendly!
i_guana said:
I'm curious as to why the topic of HDMI has so little interest. It just baffles me. We need to find a way to stir more interest in this topic. I have a Galaxy Note 3 and I am having similar problems. Mine is that when using MHL I only get 720p (I have two different brands, same result) but on my Note 2 MHL works at 1080p just fine. Using an AllShareCast dongle works at 1080p fine. I prefer MHL to the compression artifact laden AllShareCast so this is frustrating me. There simply must be a relatively easy way to just select output resolutions using an app. Why does none exist? MHL has been around for some time now (2 years?). Come on! We have powerful PC's in our hands now! Let's get them desktop friendly!
Click to expand...
Click to collapse
Turns out I'm not alone! Check my thread: http://forum.xda-developers.com/showthread.php?p=49180834#post49180834
lokster said:
I have just bought MHL adapter for my Evo 3D GSM.
At first, I tested it on an older LG 720p TV - everything was perfect - the display was cloned on the TV by just connecting the cable.
The games were perfectly playable, etc.
I'm not sure if the stock ROM supports cloning, but it does not matter - I'm using latest CoolSense.
However, on my Panasonic 42" LCD TV it sets the resolution to [email protected], which introduces considerable amount of lag between the phone's screen and the TV. This makes almost all games unplayable on the TV.
Click to expand...
Click to collapse
FIX!!!!!
To change the resolution and make games and all apps lag free (with the method I found) you MUST be rooted.
If rooted, download a root terminal/cmd and type ru in prompt and hit enter. Then type wm size 720x1280. ***Will stay on indefinitely until reverted back with command ru then wm size 1080x1920***
Now your device will be 720p, but you will notice that your icons are huge. To fix that in CM12.1 go to setting/look and feel/DPI and change from 440 to 320. If you don't have CM12.1 download a DPI changer and change to 320, or find corresponding root cmd to change DPI... I don't know it because CM12.1 has one stock.
Now everything should be lag free and awesome for gaming! I use sixasis and screen standby and have been playing Zelda on the couch the last few evening.
Hope this helps at least one person.
Today I have installed Remix OS on my PC. I have a PCI Graphics Card AMD R7 250 with 2 monitor connected. The second monitor (HDMI) is the Primary for Remix OS. I want set my vga monitor as primary and see the desktop from him. On vga monitor, appears a black screen, similar to a terminal, but without anything written.
What can I do for make VGA monitor as primary?
I am Sorry for my English
I got remix OS installed on my hp mini 110-11 netbook. My netbook is very fast again. My netbook has vga only port and usb. When I hook up vga monitor and usb keyboard and usb mouse only keyboard and mouse work and I get nothing on my external vga monitor. What I want to do is keep netbook screen closed and use external vga monitor and usb mouse and keyboard. The external vga monitor works. I can see remix os booting up but when I should see the password screen or desktop external vga monitor goes blank. How can I fix this?
Working with external monitor possible as long as the internal monitor is not closed
With my Lenovo T400 I can copy the screen to an external monitor (see "Setting screen size and density") as long as I do not close the internal screen. If I close it, I can boot the system, and in the beginning it seems to work. But at some actions (e.g. <Alt F1> . . . <Alt F7> or opening Whatsapp) the external screen gets black and keeps this status. After opening the internal monitor the copying of the screen contents works again. So it seems that Jide means "mirrored output" indeed, if they announced for version 2.0.402: "Remix OS supports mirrored output from DP, HDMI & VGA".
I have two laptops running Remix OS now being used as HTPC's. One is dual booted with windows 10 and Remix OS. This one I was able to disable the native monitor so that it would only display on the TV via HDMI. By booting to Windows and adding this: video=LVDS-1:d to the menu.list file. Well after making the second laptop single boot only on Remix OS I can not figure out how to disable the native display to display the HDMI alone to achieve 1080p. How can I go about doing this and maybe switch back if needed(not priority but would be nice).
Thanks for your expertise in advance
The laptop is a HP 2000-2b22DX
What I have tried.
First I attempted to find the menu.list file. In Remix OS worth a try no luck. Pulled HD and docked via USB to my desktop and had no access to the HD. Then since I have my other laptop running Remix. I used my USB dock and was able to access the HD and the RemixOS folder, but menu.list was not there.
Next I thought maybe is I disconnect the native LCD screen from the laptop motherboard it would run 1080p to the TV without the LCD keeping it at 720P. It did increase the resolution, but only to 1920x800 if I remember right.
Hopefully this information will help save others some time that are trying to achieve the same thing.
Hi there, I'm thiniking of DeX with Linux. Are anyone using Linux with DeX? How it's your experience with?
I work with Ubuntu and I'm thinking about buy a DeX and switch off my notebook, what you think about it?
Thanks!
Haven't found a way to do that yet. I have signed up to get Informed once samsung releases "Linux on galaxy" solution
Tetragonopantelonis said:
Haven't found a way to do that yet. I have signed up to get Informed once samsung releases "Linux on galaxy" solution
Click to expand...
Click to collapse
So they didn't release this feature yet? I saw a video talking about it.
thiagomed said:
So they didn't release this feature yet? I saw a video talking about it.
Click to expand...
Click to collapse
Still nothing... I hoped it would be out along with Note 9,but still silence from Samsung
Dex on Linux. Experience
I have the basic version of note 9.
I bought two different setups for testing:
- HDMI - USBC cable + Bluetooth keyboard and Bluetooth mouse
- HDMI with USBC port + 2 USB normal ports to connect a wired mouse and keyboard.
I have also at home two 4k tvs that I use as monitors: A 39inch seiki and a 41inch curved Samsung. Both working at 4k with my mac book Pro and my Ubuntu pc
Connecting any of the screens to my note using any of the devices gives me only 1080p. After researching, this is a software limitación. Somebody checked that note 9 can actually output 4k.
When you open dex, you get a desktop experience and you can execute you android apps. Not every app scales to full screen and some of them are shown as if you were runing them with an emulator.
Now dex on Linux. I got the invite and I installed the app. When you launch it in your phone, it asks you download an image (imagine docker) that's is a 4Gb zip that becomes a 10Gb unzipped .img file.
Application asks you to give the container a name and select the . img file.
That is what you can do from your phone. You cannot execute the container unless you are in dex mode: dex opened in a monitor
On dex, you have to run the Linux on dex app and run any container run created before.
When you run one in about 5-10 seconds you have Ubuntu 16 running.
Default applications you get aside of the standard ones is visual studio code and intellij 2018.2 community.
I am a java guy so I launched intellij to check the speed and I was surprised how fast it launched.
I need to play more, but I would buy a higher spec note if the 4k issue was solved.
In my opinion Dex/Linux is an strategy to justify expensive phones with more hardware, because nobody needs more ram and cores if you just run phone apps. Said that I am a software professional and this use case fits perfectly with my needs
I tried to install on my s9+ but would not let me. I hope they make available for S9+. I run Linux Deploy now in chroot - but not the same. I have Dex Station which I think would be nice with Ubuntu.
Iphone 9 linex
Linex on note 9 seem good but it would be better if i could download software or even update .It won't let me do anything.Its says no plugin could handle gs_plugin_app_install.Im at a lose.