Current versions of LGMOD can always be found here: http://openlgtv.org.ru/forum/viewforum.php?f=5
- 1 Introduction
- 2 Features
- 3 Changelog
- 4 Supported TV models
- 5 Supported USB to ethernet adapters
- 6 Background
- 7 Downloads
- 8 How to install
- 9 How to configure
- 10 How to contribute
- 11 Customizing LGMOD
- 12 LGMOD Patches for RELEASE
- 13 Removing LGMOD
- 14 Links
LGMOD is a modded rootfs for LG TVs models based on MStar Saturn 6 and 7 chipsets.
LGMOD was originally created by Vuk and was developed by him till v1.2. At that time, LGMOD supported only year 2009 TV LCD (LH/SL) models.
After Vuk dropped the project, Arno1 begun modding LGMOD from v1.3 and made it compatible with year 2010 LCD and PJ/PK PDP(plasma) series. He still active developer of LGMOD.
Beginning from version 1.5.7 Hawkeye made LGMOD sources available via SVN at http://openlgtv.org.ru/websvn/
At this time lprot joined the development. Patches have been released under many well-known versions of the firmware. Have been updated network card drivers to support more models.
On June 1st 2011, mmm4m5m ported LGMOD v1.6.10 to Saturn 7 platform and put it in SVN.
In October 2011 lgmodS7 version was ported to the platform S6. The new version of S6 has the following advantages:
- Configuring the startup mode RELESE through webui
- Built-in library libopenrelease
- Emulation of the remote control in webui
- Ability to place automated piece of software did not fit into the internal memory to external media.
- Web browser user interface (embedded HTTP server on TV) for configuration and control
- Ethernet network support via USB to ethernet adapters(dongles)
- NFS client
- CIFS/Samba/Windows network shares client
- UPnP client
- Easy installation/update from EPK file (Saturn 6 only) like official LG firmware
- Scripts for customising startup and patching memory
- Easy modules configuration through Web UI
- Allows to backup configuration, firmware, virtually any file from your TV set to connected FAT16/32 USB drive
- Ability to run linux shell commands from web ui
- DHCP auto network configuration and network name resolving
- NTP client
- FTP server
- Telnet server
- Unicode support
Can be found in LGMOD folder of SVN at: http://openlgtv.org.ru/websvn/
Supported TV models
LGMOD is compatible with all MStar Saturn 6 and Saturn 7 based models ('At the moment EUROPEAN ONLY'):
'WARNING: TV models which have R letter at the end of the model marking are NOT supported. For example: 50PJ350R - is not supported. R models are Saturn 4 based.'
In fact if your TV is not listed, check the following list: http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list
If you TV model has GP1 letters in the license column then your TV is supported no matter is it European or not.
List of all supported tv models. (All models are marked with the word "LGMOD" in the column "custom firmwares")
Supported USB to ethernet adapters
There is NO WiFi support at the moment.
Currently supported only wired adapters with the following chipsets:
Asix (from asix.c driver file):
- ASIX AX88178 USB 2.0 Gigabit Ethernet Network Adapter
- ASIX AX88760 USB 2.0 MTT HUB and USB 2.0 to Fast Ethernet Combo Controller
- ASIX AX88772 USB 2.0 Fast Ethernet Network Adapter (0x125E, 0x180D)
- ASIX AX88772A USB 2.0 Fast Ethernet Network Adapter (0x0421, 0x772A)
- ASIX AX88772B USB 2.0 Fast Ethernet Network Adapter (0x0b95, 0x772B), (0x0b95, 0x7E2B)
- 0Q0 cable ethernet (0x1557, 0x7720)
- ABOCOM (0x1737, 0x0039), (0x14ea, 0xab11)
- Apple USB Ethernet Adapter (0x05ac, 0x1402)
- ATEN UC210T (0x0557, 0x2009)
- Axe USB Network Adapter (0x0b95, 0x1780)
- Belkin F5D5055 (0x050d, 0x5055)
- Billionton Systems, USB2AR (0x08dd, 0x90ff)
- Buffalo LUA-U2-KTX (0x0411, 0x003d)
- Buffalo LUA-U2-GT 10/100/1000 (0x0411, 0x006e)
- Cables-to-Go USB Ethernet Adapter (0x0b95, 0x772A)
- Corega FEther USB2-TX (0x07aa, 0x0017)
- DLink DUB-E100 (0x2001, 0x1a00)
- DLink DUB-E100 H/W Ver B1 (0x2001, 0x3c05)
- DLink DUB-E100 H/W Ver B1 Alternate (0x07d1, 0x3c05)
- Hawking UF200, TrendNet TU2-ET10 (0x07b8, 0x420a)
- Gembird NIC-U1 (0x0b95, 0x772A)
- Goodway Corp USB GWUSB2E (0x1631, 0x6200)
- Intellinet, ST Lab USB Ethernet (0x0b95, 0x1720)
- IO-DATA ETG-US2 (0x04bb, 0x0930)
- JVC MP-PRX1 Port Replicator (0x04f1, 0x3008)
- Logitec LAN-GTJ U2A (0x0789, 0x0160)
- Linksys USB1000 (0x1737, 0x0039)
- Linksys USB200M (0x13B1, 0x0018)
- Linksys USB200M Rev 2 (0x077b, 0x2226)
- Netgear FA120 (0x0846, 0x1040)
- Sitecom LN-029 USB 2.0 10/100 Ethernet adapter (0x6189, 0x182d)
- SMC (0x0db0, 0xA877)
- Surecom EP-1427X-2 (0x1189, 0x0893)
- Trendnet TU2-ET100 V3.0R (0x0b95, 0x7720)
Pegasus and Pegasus II (from pegasus.h driver file):
- 3Com USB Ethernet 3C460B (0x0506, 0x4601)
- ATEN USB Ethernet UC-110T (0x0557, 0x2007)
- Abocom USB HPNA/Ethernet (0x07b8, 0x110c), (0x07b8, 0x4104), (0x07b8, 0x4004), (0x07b8, 0x4007)
- Abocom USB 10/100 Fast Ethernet (0x07b8, 0x4102), (0x07b8, 0x4002), (0x07b8, 0x400b), (0x07b8, 0x400c), (0x07b8, 0xabc1), (0x07b8, 0x200c)
- Accton USB 10/100 Ethernet Adapter (0x083a, 0x1046)
- ADMtek ADM8511 "Pegasus II" USB Ethernet (0x07a6, 0x8511)
- ADMtek ADM8513 "Pegasus II" USB Ethernet (0x07a6, 0x8513)
- ADMtek ADM8515 "Pegasus II" USB-2.0 Ethernet (0x07a6, 0x8515)
- ADMtek AN986 "Pegasus" USB Ethernet (evaluation board) (0x07a6, 0x0986)
- AN986A USB MAC (0x07a6, 1986)
- AEI USB Fast Ethernet Adapter (0x3334, 0x1701)
- Allied Telesyn Int. AT-USB100 (0x07c9, 0xb100)
- Belkin F5D5050 USB Ethernet (0x050d, 0x0121)
- Belkin F5U122 10/100 USB Ethernet (0x050d, 0x0122)
- Billionton USB-100 (0x08dd,0x0986)
- Billionton USBE-100 (0x08dd, 0x8511)
- Billionton USBEL-100 (0x08dd, 0x0988)
- Billionton USBLP-100 (0x08dd, 0x0987)
- Corega FEther USB-TX (0x07aa, 0x0004)
- Corega FEther USB-TXS (0x07aa, 0x000d)
- D-Link DSB-650 (0x2001, 0xabc1)
- D-Link DSB-650TX (0x2001, 0x4001), (0x2001, 0x4002), (0x2001, 0x4102), (0x2001, 0x400b), (0x2001, 0x200c)
- D-Link DSB-650TX(PNA) (0x2001, 0x4003)
- ELECOM USB Ethernet LD-USB20 (0x56e, 0x4010)
- EasiDock Ethernet (0x1342, 0x0304)
- Elsa Micolink USB2Ethernet (0x05cc, 0x3000)
- GIGABYTE GN-BR402W Wireless Router (0x1044, 0x8002)
- Gile USB LAN Card UN-001 (adapter on ADM8515 that randomly works) fake IDs: (0x835a, 0x7765), (0x835a, 0x7765), (0x835c, 0x7765), (0x835e, 0x7765)
- GOLDPFEIL USB Adapter (0x0db7, 0x0002)
- Hawking UF100 10/100 Ethernet (0x0e66, 0x400c)
- HP hn210c Ethernet USB (0x03f0, 0x811c)
- IO DATA USB ET/TX (0x04bb, 0x0904)
- IO DATA USB ET/TX-S (0x04bb, 0x0913)
- IO DATA USB ETX-US2 (0x04bb, 0x092a)
- iPAQ Networking 10/100 USB (0x049f, 0x8511)
- Kingston KNU101TX Ethernet (0x0951, 0x000a)
- LANEED USB Ethernet LD-USB/T (0x056e, 0xabc1)
- LANEED USB Ethernet LD-USB/TX (0x056e, 0x4002), (0x056e, 0x400b), (0x056e, 0x200c)
- LANEED USB Ethernet LD-USBL/TX (0x056e, 0x4005)
- Linksys USB10T Ethernet Adapter (0x066b, 0x2206)
- Linksys USB10TX (0x066b, 0x2202), (0x066b, 0x200c)
- Linksys USB100TX (0x066b, 0x2203), (0x066b, 0x2204), (0x066b, 0x400b)
- Linksys USBVPN1 (0x077b, 0x08b4)
- MELCO/BUFFALO LUA-TX (0x0411, 0x0001), (0x0411, 0x0005)
- MELCO/BUFFALO LUA2-TX (0x0411, 0x0009)
- Microsoft MN-110 (0x045e, 0x007a)
- NETGEAR FA101 (0x0846, 0x1020)
- OCT Inc. (0x0b39, 0x0109)
- OCT USB TO Ethernet (0x0b39, 0x0901)
- Philips USB 10/100 Ethernet (0x083a, 0xb004)
- smartNIC 2 PnP Adapter (0x08d1, 0x0003)
- SMC 202 USB Ethernet (0x0707, 0x0200)
- SMC 2206 USB Ethernet (0x0707, 0x0201)
- SOHOware NUB100 Ethernet (0x15e8, 0x9100)
- SOHOware NUB110 Ethernet (0x15e8, 0x9110)
- SpeedStream USB 10/100 Ethernet (0x067c, 0x1001), (0x083a, 0x5046)
- MCS7830 (0x9710, 0x7830)
Davicom DM9601 (USB1.1)chip based (from dm9601.h):
- ADMtek ADM8515 USB NIC (0x0a46, 0x8515)
- Corega FEther USB-TXC (0x07aa, 0x9601)
- Davicom USB-100 (0x0a46, 0x9601)
- DM9000E (0x0a46, 0x9000)
- DM9601 USB to Fast Ethernet Adapter (0x0fe6, 0x8101)
- DM9601 USB to Fast Ethernet Adapter (0x0fe6, 0x9700)
- Hirose USB-100 (0x0a47, 0x9601)
- ShanTou ST268 USB NIC (0x0a46, 0x0268)
- ZT6688 USB NIC (0x0a46, 0x6688)
- GL620A (0x05e3, 0x0502)
Kawasaki LSI KL5KUSB100:
- 3Com 3C19250 (0x0506, 0x03e8)
- 3Com 3C460 (0x0506, 0x11f8)
- Actiontec USB Ethernet (0x1668, 0x0323)
- ADS USB-10BT (0x06e1, 0x0008)
- ADS USB-10BT (0x06e1, 0x0009)
- AOX Endpoints USB Ethernet (0x03e8, 0x0008)
- ASANTE USB To Ethernet Adapter (0x10bd, 0x1427)
- ATEN USB Ethernet (0x0557, 0x2002)
- Correga K.K. (0x07aa, 0x0001)
- D-Link DSB-650C (0x0557, 0x4000), (0x2001, 0x4000)
- D-Link DU-E10 (0x07b8, 0x4000)
- Entrega E45 (0x1645, 0x0005)
- Entrega USB Ethernet Adapter (0x1645, 0x0008)
- I-O DATA USB-ET/T (0x04bb, 0x0901)
- Jaton USB Ethernet Device Adapter (0x087d, 0x5704)
- Kingston Technology USB Ethernet Adapter (0x0951, 0x0008)
- KLSI KL5KUSB101B (0x05e9, 0x0008), (0x05e9, 0x0009)
- Linksys USB10T (0x066b, 0x2202)
- Mobility USB-Ethernet Adapter (0x1342, 0x0204)
- NetGear EA-101 (0x0846, 0x1001), (0x0846, 0x1002)
- Optus@Home UEP1045A (0x0565, 0x0003)
- Peracom Enet (0x0565, 0x0002)
- Peracom Enet2 (0x0565, 0x0005)
- PortGear Ethernet Adapter (0x085a, 0x0008), (0x085a, 0x0009), (0x1645, 0x8005)
- Portsmith Express Ethernet Adapter (0x095a, 0x3003)
- Psion Dacom Gold Port Ethernet (0x1485, 0x0002)
- Shark Pocket Adapter (0x13d2, 0x0400)
- Silicom U2E (0x1485, 0x0001)
- SMC 2202USB (0x0707, 0x0100)
- NetChip 1080
NB: In fact now supported all adapters from USB2NET drivers included in linux 2.6.26
MStar Saturn 6 and 7 chipsets are MIPS based.
Your LG TV firmware is divided into 3 parts: Bootloader, Linux Kernel, Filesystem (The later : Filesystem being subdivided itself into rootfs the master piece and other fs)
The application managing TV set is RELEASE (this is its name).
The bootloader U-boot is responsible of flash update firmware upgrade and starting linux.
The Linux kernel is the heart of the system and for Saturn 6 based on 2.6.26 version of linux.
The filesystem contains all context for RELEASE to execute.
LGMOD is in its current version is a mod to the Rootfs ONLY.
If you are interested in more customization better switch to (kernel + rootfs based on buildroot Saturn 6 only) openlgtv .
Currently rtokarev works on OPENRELEASE a wrapper with additional features that RELEASE is lack for: http://openlgtv.org.ru/forum/viewtopic.php?f=5&t=62
You can always find the most current version of LGMOD here: http://openlgtv.org.ru/forum/viewtopic.php?f=5&t=8
ATTENTION: You have to be registered AND logged in to the forum to be able to download the files!
LGMOD v1.6.10: http://openlgtv.org.ru/forum/download/file.php?id=117
LGMOD_S7 (tv based on saturn7) here: http://openlgtv.org.ru/forum/viewtopic.php?f=8&t=266
You can always find LGMOD sources here http://openlgtv.org.ru/websvn/
How to install
For Saturn 7 - please, download, extract and read the steps in changelog.txt file.
Method 1, Flashing epk file from USB drive (Saturn 6 only)
LGMOD can be installed like any LG firmware update, with a simple USB stick :
- Create a directory LG_DTV at root of your USB stick
- Copy LGMOD epk file there
- Plug you USB stick into TV
- With remote control press "Menu", and higlight option submenu (do not go into)
- Press 7 times "FAV"
- Go for TV firmware upgrade
You're done !
(!) Do not install the same version-LGMOD on already installed LGMOD. If there has been a restart after the firmware upgrade - do not turn off the TV and do not try to flash a full version of the standard firmware - it will lead to the need to recover partitions with the aid of the console cable. Unless there was a reboot - you need to try again to flash the same or a smaller version.
Method 2, Flashing lgmod_xxxxx.sqfs via serial cable by Zmodem in U-Boot
If you can access U-Boot on Saturn 6 or Saturn 7, you can do the following procedure:
- A serial cable RS232 (aka nullmodem cable)
- A PC with some terminal emulator (for example you can use HyperTerminal or teraterm in Windows)
- A USB pen drive FAT32 formatted (for firmware backup)
- Backup your firmware see here: How to backup TV firmware
- Flash rootfs (lgmod_xxxxx.sqfs)
- Switch off TV
- Plug serial cable beetween TV and PC
- Launch terminal program and set serial port parameters:
Port : COMx wher you connected cable (COM1 for me)
Baud rate : 115200
Data : 8 bit
Parity : none
Stop : 1 bit
Flow control : none
- Switch on your TV while press and keep holding "ESC" key on your keyboard until you get in terminal window the message (Saturn 6):
On Saturn 7 you chould get:
This is the command prompt of U-boot, the piece of the software responsible for flashing update if you followed the explainations above.
- Enter the command "loadz rootfs" which means to U-boot "update rootfs in flash via zmodem protocol"
- You'll get some strange things, don't touch any key anymore
- In terminal program send file by Zmodem and select lgmod_xxxxx.sqfs file (xxxxx - the version number)
- Transfer starts wait untill 100% finished
- When U-boot has finished receiving LGMOD it will write it to flash takes few seconds
- You will get again the "mstar #" or "saturn7 #" prompt once update finished, enter command "reboot" to restart the TV
LGMOD is installed !
How to configure
LGMOD include a web interface for easy customisation. Below are version 1.3.pre3 screenchots. Some further options/changes will appears along versions.
This web interface is password protected, default user is "admin" and default password is "lgadmin".
Web Interface Home Page
Web Interface System Info Page (1) Web Interface System Info Page (2)
Web Interface Network Page
- Example CIFS (Samba/Windows shared folder): First create "SMB" folder at the USB drive (or customize field "Custom")
Device Path: //192.168.1.2/SHARED_FOLDER_NAME Type: SMB Local Mount Point: Custom... Automount: yes Username: NOT_EMPTY Additional mount options: iocharset=utf8 Custom: /mnt/usb1/Drive1/SMB
- Example NFS: First create "NFS" folder at the USB drive (or customize field "Custom")
Device Path: 192.168.1.2:/movies Type: NFS Local Mount Point: Custom... Automount: yes Additional mount options: nolock,rsize=8192,wsize=8192,udp,vers=2 Custom: /mnt/usb1/Drive1/NFS
Note: On the server enable NFS v2 only. The network throughput is about: 3,5Mbyte/s on Staurn 7 and about 2Mbyte/s on Saturn 6 using Asix compatible adapter.
Web Interface Drives Page
Web Interface Tools Page
Special configuration options without network access
- If a file named "network" exist on root first partition of USB key it will be copied to TV and used as network configuration file, no more need to use vi on the TV to edit this file anymore, for those not familiar to linux/shell/vi.
- Feature : possibility to reset configuration to default and save the current configuration on USB drive.
1- insert a USB drive with a file name "lgmod_reset_config" at root no extension, lower case.
2- Reboot your TV. Your old coniguration is saved on lgmod directory of usb drive, file lgmod_reset_config renamed lgmod_reset_config_used and TV configuration reset to default LGMOD (like fresh install).
- Feature : auto_start.sh script now called at the end of lgmod, once RELEASE, USB and network working, you can add then anything you want to be done on your TV ! This script editable in webui tools page, some examples included (uncomment to make them active) :
- Firmware backup
- nvram backup
- lgmod configuration backup
- Added autostart script (auto_start.sh) called after lgmod (very end of boot process when drive/mounts/network available) and this script also copied from usb if exits.
How to contribute
- Use it and report bugs
- Submit improvment suggestions
- Extract your firmware upload it somewhere and tell version, TV model and country and give link
- Propose your time to test new versions
- Make your own patch/development and submit them for merging
See Customizing LGMOD.
LGMOD Patches for RELEASE
Install the latest stock firmware.
Flashing LG stock FW after LGMOD could brick your TV! Reason - not every LG FW will restore the lginit partition. (LGMOD installation does erase lginit and write new rootfs.)
You can flash first FW 3.1.8 - this will restore lginit partition of your TV.
Then install the latest stock firmware.
- SVN of the current LGMOD versions for Saturn 6 and Saturn 7 TVs http://openlgtv.org.ru/websvn/
- Old GIT tree: http://openlgtv.git.sourceforge.net/git/gitweb.cgi?p=openlgtv/lgmod;a=summary
- LG Hack forum : a place to read and re-read AND participate.
- OpenLGTV : kernel modding project
- LGTV : Similar rootfs mod by chojnaki.