Rajnish Noonia

LG Remote Control

Written by

in

,

LG LCD TV(LD35 Series) Remote Control

 

Few weeks’ back I have purchased new LG LCD TV (22LG350).This model got USB port and RS232 serial port. You can attach you storage device like USB pen drive or external hard disk to play pictures and music. But unfortunately there is no option to play movies from you storage device.

Technically, It should be possible to play movies(with movie player) as you play music with built in music player in LG TV. After going through several posts and forums like http://lgusb.wikispaces.com/ , I discovered that you need to just change one flag from 0 to 1 in some hidden menu known as EZ-Adjust menu. Information on Divx flag (in EZ-Adjust menu) can be found on lgusb web site.

There are several tips to reach at EZ-Adjust (Hidden menu) where some suggests to buy universal remotes, IR hack and firmware upgrade/downgrade. Since there is RS232 port available on LG TV and manual suggest that this is for serial communication with TV. Actually TV has operating system “saturn6” and you can communicate with OS via serial port.

So I thought to build Remote control for LCD TV running on my Laptop and communicate with TV via serial port (RS232). The source code for this application is attached here and setup for this application is here. If .net framework 4.0 is already installed on you system you may download executables only.
What else you will need to run this.

1.Cable (RS232);
2. USB to Serial Convertor (If your system doesn’t have COM port)
Before running this application you need to identify the com port on which your TV is connected. Run the application, select correct COM port and click on button “On” (Communication).

* This article is not intended for Ez-Adjust menu options; Go through lgusb web site if you want to play with Ez-Adjust menus.

71 responses to “LG Remote Control”

  1. Daxx avatar
    Daxx

    hmmmm….so Mr. Rajneesh….you did it again…..I am gonna try this on my Sony system now…..

  2. Tibor avatar
    Tibor

    Very nice and elegant! Congratulations 🙂

  3. GK avatar
    GK

    Hello Rajneesh,
     
     
    Is that possible to do this in 42LD450 model ? Any help appreciated.

  4. Rajneesh Noonia avatar

    I have tested this on LD350 and LD450 is higher model,it should work with LD450.The most tedious part is to reach at Ez-Adjust menu which can be achived with above supplied program.

  5. Juan avatar
    Juan

    I have tested with LD450 and doesn’t work, but i’m not sure about wheter is a communication error or not. I will try to check  with a terminal emulator.

  6. Rajneesh Noonia avatar

    you need to select the correct port where your tv is connected. right click my computer>manage>device manager>ports will list the ports available alone with port name.Once connected try using volume up/down or any other normal buttons.

  7. Olger avatar
    Olger

    I’v got a 32ld350-za (v03.00.25 )And like to enable the usb video playback.

    The Virtual Remote Control software found here dosn’t seem to work on this TV.
    I tryed the LG rs232 test software and its working fine.
    Can any one tell me what the rs232 command is for az-ajust and in start( It’s not in the lg command list )
    Or how to do this correct ?!

  8. Juan avatar
    Juan

    Hi!
    I have checked the communication settings and are right. I’m able to read hex data from the tv using RS232 cable and terminal, but for some reason I cannot send commands to the tv. Perhaps it’s due to a different firmware.
     
     

  9. Rajneesh Noonia avatar

    Keep pressing enter while port is open, this will land you ino keyborad control mode & here are the shortcut keys
    Numbers 0-9 => numeric keys
    v => input select
    . => Volume +
    , => Volume –
    > => channel +
    < => channel –
    u
    => mute .. Etc and
    k => In start
    small L (l) => Ez Adjust

  10. tyanata avatar
    tyanata

    Hello mr. Rajneesh Noonja I found your approach here http://lgusb.wikispaces.com/#a315
    But the program did not work on my TV 37LD420. After that I used commands which you have posted in the same site:
    5. In terminal enter: “af 0 ff” and press enter You should get following response “f 00 OK8c04x”
    6. To activate Media player enter: “af 0 0cc 040” and press enter.
    7. Restart TV. Menu submenu USB should appear in the main TV menu.
     
    and then I have succeeded to enable divx. using RS232 terminal program. I think may be you have to add to your program option enabling carriage return. Also I have one more question can you say which command has to be send with terminal program to display service menu on screen?
    Best regards,
    tyanata
     
     

  11. Rajneesh Noonia avatar

    Tyanata, from rs232 terminal program if you just connect and type ESC or enter continiously you should see prompt on terminal program and that the keyboard control mode. if you type small L (l) and press enter it should bring Ez Adjust. The attached program is similar to terminal program which sends key strokes via serial port. I have tested this with LD350 and it worked fine not sure what is exactly happening with LD450 ? In your above comments you are directly manipulating flags to enable divx option.I would suggest launch ez adjust and enable/disable single single flag from service menu which is more safe option.

  12. tyanata avatar
    tyanata

    I saw in the user manual that RS232 command for emulation of IR remote control commands is mc, does it mean that if I enter in RS232 terminal program mc 00 FF the Ez Adjust menu will open?

  13. artur avatar
    artur

    Welcome, I use USB-RS232 prolific adapter on WIN7. Connected with null modem cable. Software works, but doesnt communicate to TV LD450 🙁
    The same happens on “1 to 1” cable (not crossed). I tired with advanced serial port terminal v.5.5. It recognizes port, but does not send commands to TV 🙁
    Please help me with your idea 🙂 Thank you

  14. Rajneesh Noonia avatar

    Hi Artur,
    Try using hyper terminal program to connect. With terminal program you can connect to saturn6 which is tv operating system.As mentioned above after connection try pressing ESC or Enter which should land you into keyboard mode.You could than type help to view available commands.Check the rs232 communication settings in TV user manual.

  15. n3v3n avatar
    n3v3n

    Hello,
    I have found Russian site on internet (http://forum.ixbt.com/topic.cgi?id=62:16440), and there is written that all 2010 LG LD3xx LD4xx LD5xx are Saturn7 and not Saturn6 OS, maybe that’s the problem why people can’t access EZ-Adjust (Hidden menu).
    For the 2010 model year:

    For TV-based chipset MStar Saturn7 (LD3xx (except LD320!), LD4xx, LD5xx, LE3xxx, LE53xx)
    For TV-based chipset Broadcom BCM3556 (LD6xx, LD7xx, LE55x and older)
    I Hope this will help.
    anyway good work.

  16. Leo avatar
    Leo

    Hi,
    Can you the programm configure for Saturn 7? So that the 2010 LD TVs can be used.

    1. Rajneesh Noonia avatar

      I am not having 2010 Ld tv’s and can’t test the program . If some one can emulate keyboard mode via terminal program , i can then incorporate the change..

  17. Leo avatar
    Leo

    Yeah,
    So also you can hack my Tv i have an 2010 TV.

  18. roro avatar
    roro

    Hi

    I have just purchased an LCD 32LD420. So as you say, a 2010 model with FW version 03.03.11

    Using the cable that goes well, rs232 inverted, and using hypertimal, it works perfectly

  19. Mike avatar
    Mike

    Hi
    I’v got a LG M2362D-PC and like to enable the usb video playback.
    Your Virtual Remote Control software looks very well but does nothing with my TV.
    Maybe I am wrong. Or this software is not for my TV ?
    There is in the manual some commands for my TV
     
    01. Power k a 00 ~ 01
    03. Screen Mute k d 00 ~ 01
    04. Volume Mute k e 00 ~ 01
    05. Volume Control k f 00 ~ 64
    …
    20. Key m c Key Code
    Some Key Codes:
    03 VOL – R/C BUTTON
    40 Up (D) R/C BUTTON
    41 Down (E) R/C BUTTON
    06 Right (G) R/C BUTTON
    07 Left (F) R/C BUTTON
    08 POWER R/C BUTTON (POWER ON/OFF)
    Transmission
    Command1][Command2][ ][Set ID][ ][Data][Cr]
    * [Command 1] : First command to control the TV.  (j, k, m or x)
    * [Command 2] : Second command to control the TV.
    * [Set ID] :          desired monitor ID number in option  Set ID is indicated as decimal (1~99) on menu and as Hexa decimal (0x0~0x63) on transmission/ receiving protocol.
    * [DATA] : To transmit command data. Transmit ‘FF’ data to read status of command.
    * [Cr] : Carriage Return
     
    How can I enter into EZ-Adjust menu ? Can You help me ?
    Thank You.

  20. Kallekill avatar
    Kallekill

    Hi!

    I need some help with my new TV LG42LD450N, I try to hack my usb, I’ve tried with a one-for-All remote control, I enter the menu, adjust check, tool, option 3, but then I will not anymore, I have tried to to proceed with the arrows on the remote but that does not help, does anyone know, can you post pictures on this page?
    / Kalle

  21. Leo avatar
    Leo

    All that we need is a Remote Control for LG 2010 TV (LD). So please can you help us?

  22. tyanata avatar
    tyanata

    Leo read my post, and you will understand how I hacked my 2010 LG 37LD420.

  23. Leo avatar
    Leo

    Jeah,
    Ok but i become no response but the com is connected. Which Terminal programm do you use?

  24. aaaa avatar
    aaaa

    how about for LH20R-asian model? can someone please tell me how to activate usb.

  25. tyanata avatar
    tyanata

    I use RS232 communication program which is company intellectual property.
    But here I send you my settings:
     
    Baud Rate: 9600
    Parity: NONE
    Data bits: 8
    Stop bits: 1
    Flow control: NONE

    Enable Carriage Return (VERY IMPORTANT !!!!)
    Enable local echo (This is not mandatory, it is only for your convenience to see if TV answers to your commands)

  26. giovanni avatar
    giovanni

    Dear Mr. Tyanata, I have a lg 42ld420, so I’m really interest in your comment, I want to use a program like TERMITE to send the terminal commands, but in that program there aren’t the setting to enable the carriage return… So how can I do? there is some other program that I can use?
    regrds

  27. tyanata avatar
    tyanata

    Hello giovanni,
    i do not know other RS232 terminal programs except this which I use. But you can try some thing different. The hex code of carriage return is 0d (0 is digit zero not letter o).
    So try following approach, instead of this command:
    5. In terminal enter: “af 0 ff” and press enter You should get following response “f 00 OK8c04x”
    Run this command:
    “af 0 ff0d” .If you receive same response “f 00 OK8c04x” that means the approach works.
    And you can go on in the procedure.
    Good luck!

  28. patmen avatar
    patmen

    Mike, what is k command, how it send use terminal. can you give some example full length code to send ?

  29. paul avatar
    paul

    This may be a stupid question. But I am using a USB to RS232 cable. When I use the Virtual Remote and Hyper Terminal, it tries to connect using COM6 which I believe is my VGA Cable port. Do I need to convert USB to VGA to get computer to communicate?

  30. radu avatar
    radu

    Thank you Rajneesh Noonia,
    I have sucessfully activated media player on a LG 32LD450 (2010 model) with above serial commands. I used Termite, USB->Serial converter and home made null-modem cable (crossed, 3 wires), all took 3 minutes, flawless procedure.
    I’ll make some time and try the remote control software.

  31. evg avatar
    evg

    Could you inedtify which of these Null RS232 cables is required?
    Null modem without handshaking
    Null modem with loop back handshaking
    Null modem with partial handshaking
    Null modem with full handshaking
    schematics here – lammertbies.nl/comm/info/RS-232_null_modem.html
    Thank you for this app!!

  32. Alien avatar
    Alien

    I found that this work on M2762D and M227WDP Tested by me.
    Conect to the TV with a Serial Console, Putty, HyperTerminal(you need to active local echo to see what are you writing)
    Type:
    ab 0 134e
    This enable Divx USB Playback.
    You need to have Firmware 3.05 or another that work with Divx Activate, because some reports that some firmwares don’t work even if you active the option, with serial or Remote or Anything.

    And EVG, the Serial Conection you need is not Standard, is on the manual of your TV, last pages. I found it on the PDF manual that come with my TV-Monitor.
    But anyways you can see it here http://openlgtv.org.ru/wiki/index.php/RS-232C_connection_setup
    Regards…

  33. radu avatar
    radu

    I have built this simple version:
    CON1   CON2
    3  ->   2
    2  ->   3
    5  ->   5
    Null modem without handshaking.

  34. Theking avatar
    Theking

    Hi all i tried to apply the method on my LG 32LD330 2010d with the serial cable but no success, i need help please: this is what i get
    af 00 ff gives f 01 NG00x.
    ab 00 ff gives 01 OK0130x
    ac 00 ff gives c 01 OK1045x

  35. Doctor_E avatar
    Doctor_E

    Hi tyanata, I use Termite 2.5 application to communicate with my 32LD550 and it works fine! I have enabled carriage return with “0d” command, however I do not know which are the hex commands in order to open ez-adjust menu. I have tried “af 0 ff0d” and “af 0 ff0d” commands without any result.  Could you please help me?

  36. tyanata avatar
    tyanata

    Hello Doctor_E,
    Actually there is not need to open ez_adjust menu. if you can communicate with TV using as 0d carriage return you can use the approach of Mr. Noonia:
    1. In terminal enter: “af 0 ff” and press enter You should get following response “f 00 OK8c04x”
    2. To activate Media player enter: “af 0 0cc 040″ and press enter.
    3. Restart TV. Menu submenu USB should appear in the main TV menu.
    4. If anything goes wrong, just restore the Tool option number enter “af 0 08c 040” and press enter.
     
    In your case it should be:
    1. In terminal enter: “af 0 ff0d” and press enter You should get following response “f 00 OK8c04x”
    2. To activate Media player enter: “af 0 0cc 0400d″ and press enter.
    3. Restart TV. Menu submenu USB should appear in the main TV menu.
    8. If anything goes wrong, just restore the Tool option number enter “af 0 08c 0400d” and press enter.
     
    Any way if you want to open ez_adjust menu and manually to enable Divx you can try this command:
    l0d
     
     
     

  37. evg avatar
    evg

    LG 32LD350 2010 – Doesn’t work with this remote but here’s what I did.
    I used XP with a serial cable and null modem adapter to unlock my LG 32LD350 bought in Dec 2010 in the US.
    Step 1: Make a null serial cable or order an null modem adapter ($4) off ebay (make sure it is female-female so it
    will work with any standard serial cable and your LG)
    Step 2:
    In XP click Start->All Programs->Accessories->Communications->Hyper Terminal
    Enter something like LG-Connect in the Name box.
    Select an Icon and click OK
    (You may need to enter area code etc.. this doesn’t matter and will be ignored in the connection.)
    Connect using: COM1 (yours is probably this)
    Bits per second: 9600
    Data Bits: 8
    Parity: None
    Stop Bits: 1
    Flow Control: None
    Hit Apply then OK
    You’ll see a white box with Hyper Terminal at the top and in the lower left “Connected 0:00:01” counting up.
    This says connected, weather you are connected or not. At this point you are not connected.
    Click File->Properties
    In the window that pops up click the settings tab
    click the ASCII Setup button
    Check – Send line ends with line feeds
    Check – Echo typed characters locally
    Click OK, Click ok
    You should be back at the white Hyper Terminal box now.
    Top left click File->Save
    You have finished configuring hyperterminal.
    Top left click File->Exit to close
    Step 3: Connect your null adapter to the serial cable, and connect your PC to your LG.
    Step 4: Turn on your TV
    Step 5: In XP click Start->All Programs->Accessories->Communications->Hyper Terminal->LG-Connect (or whatever you
    named your connection)
    Step 6: In the Hyper Terminal window enter: “af 0 ff” (without the quotes) and press enter. You should get following
    response “f 00 OK84a2X”
    (If you don’t get a response you’re not connected. If you don’t get f 00 OK84a2x you may have a different model)
    Step 7: Type: debug (then hit enter) – You should get “Debug message has-been suppressed.”
    Step 8: Type: u (lower case U)
    Step 9: Type: l (lower case L) – Your TV should now be asking for a password.
    Step 10: Using the TV remote control enter 0413 – The EZ Adjust menu should appear on your TV screen
    Step 11: Using the remote: select “2. Tool Option 3”
    Step 12: Beside DIVX change the option to HD
    Step 13: Hit exit on the remote, Power off TV and close Hyperterminal.
    Step 14: To check your work, power it back on and open Hyperterminal. When you enter: “af 0 ff” and press enter
    You should get following response “f 00 OKc4a2X”.
    You’re done.
    I found the original instructions here in Spanish:
    http://www.elotrolado.net/hilo_jaquear-lg-lh-y-lf-para-reproducir-mkv-a-traves-del-usb_1298198_s2500

  38. Gowtham avatar
    Gowtham

    i am having lg 26lh20r …is it possible to hack the usb port and the remote control given by you is not working……..pls pls pls tell me if u hav any tips to tell me….when i press menu or ok button on the tv and the remote at the same time nothing appears

  39. Sderapatores avatar
    Sderapatores

    Alien… THANK YOU!!
    After hours of searching, you solved my problem!!
    With your code (ab 0 134e) i was able to turn on DIVX playback on a M237WDP Lg model!!
    Thank you very much!!
     
    Best regards

  40. Daniel avatar
    Daniel

    Hi, reading this page and the available comments i was able to donwngrade my LG m2262d to firmware 3.10. And with the downgrade the video play become available.
     
    However i would like to know if there are any way i can upgrade again without losing video playback

  41. LG Remote Control « Rajneesh Noonia

    LG Remote Control « Rajneesh Noonia…

    […]Thank you Rajneesh Noonia, I have sucessfully activated media player on a LG 32LD450 (2010 model) with above serial commands. I used Termite, USB->Serial converter and home made null-modem cable (crossed, 3 wires), ….. Silverlight 3d Player:…

  42. CDOGG avatar
    CDOGG

    Just follow tyanata’s post responce to DOCTOR-E, I used termite programe and null modem cable! simples!
    Tv is a 32ld450 build date feb2011 now playing divx files no problem!

  43. djkad avatar
    djkad

    Hi, i wish to know if M227WDP is based on Mstar Saturn6 cause i wanna buy a usb/lan interface and try the lgmod

  44. vasilica avatar
    vasilica

    Hello, I was able to “fix” my 32LD350 (however I don’t like that is a little bit unstable and when the preview starts or the movie is running the graphics of the LG GUI are “pixelized” and sometimes the TV reboots). I followed the instructions provided by evg (THANK YOU!).
     
    Now… I have another LG TV (42PJ550). Unfortunately  “af 0 ff”  is not returning the OK, I’m getting NG. Is there anything else I can do? Thank you.

  45. sarzamas avatar
    sarzamas

    Dea all, I see movement on this site and need some help with my case of LG 55LX9500 Europe.
    Could somebody explain to me What is exact meaning (purpose)  of command “af 0 ff”?
    – debug mode is not appearing at my TV using RS232/Hyperterm instruction  – I can not reach Ez-Adjust menu. (I need it for Skype etc.)
    my TV sends following response on “af 0 ff”
    response: “f 00 OKd53cx” – so no problem with connection…
    If we speak that mentioned above “LG virtual remote” application have this button called Ez-Adjust – what is the command it sends towards TV via RS232
    If I understand corect – it’s something like “key comand” described in user manual but with specific data code to activate service menu:
    should look like “mc 0 ??” Am I right? Who can share this code instead of “??” to use?
    Thanks

     

  46. SAM avatar
    SAM

    hello there…anyone please help me about to enable usb port into multimedia player..in 26LH20R LG..thanks in advance..^_^..

  47. contiro avatar
    contiro

    hello Mr. Rajneesh!!
    i test your soft but for my ld420 not work…problem is ID ? your soft  have id 0?LG TV can set 1-99  ID .please integrate in your software one comand where can set ID. thanks !

  48. DingLW avatar
    DingLW

    I use the LG remote control tool for my LG 32LD350 and linked PC to TV with crossline(RS232, 2 to 3, 3 to 2, 5 to 5). But there is no response when I press the tool button like EZ adjust or In start. I can use the hyperterminal in WinXP and no problem with connection with correct response from TV while typing “af 0 ff”. I have crack my LG 32LD350, but I want to call out the EZ adjust menu on the TV screen to adjust the tool options about 2 USB support and USB hub support. Would you tell me how to do or call the EZ adjust menu on the screen?
    Thanks

  49. samodb avatar
    samodb

    I followed the instructions left by evg above, (Dec 29, 2010 post)…I followed the instructions exactly as they were written.  It worked on my first try on my LG42LH7000.  The only differences were:
    step 6: the response I received was different from  “f 00 OK84a2x12” because I had a different model than the TV this procedure worked on previously; and
    step 12: beside DivX there was a 0…I changed it to 1…(there was no “HD” option)
     
    THIS IS A NORTH AMERICAN MARKET TV and so far I have not encountered movie file types that are not supported…this model has been discontinued.

  50. DingLW avatar
    DingLW

    It very impressive about the blog of yours, especially the virtual remote control of LG TV. I use the LG virtual remote control tool for my LG 32LD350 and linked PC to TV with crossline(RS232, 2 to 3, 3 to 2, 5 to 5). But there is no response when I press the tool button like EZ adjust or In start. I can use the hyperterminal in WinXP and no problem with connection with correct response from TV while typing “af 0 ff”. I have crack my LG 32LD350, but I want to call out the EZ adjust menu on the TV screen to adjust the tool options about 2 USB support and USB hub support. Would you tell me how to do or call the EZ adjust menu on the screen?
    Thank you very much

Leave a Reply

All posts

Discover more from Pixytech

Subscribe now to keep reading and get access to the full archive.

Continue reading