LG Hack Forum

LG Hack Forum Additional functionality USB player and related tricks openlgtv - yet another LG LCD TV hack firmware
Next Page >> Page: 1 of 4

Back to Topic Topic Index Page | Replies: 35

Author Details: Posted on: Mar 2, 2010 - 10:22pm
keitsi
New Member
openlgtv - yet another LG LCD TV hack firmware

Hi,

This is the first public version of my firmware.
I have now been running it for over a week. There are still some problems, but generally, I think it's more complete than other firmwares I've tried.
My intention was not only to hack the original rootfs a bit - but to place RELEASE and the required stuff into a redesgined userland platform, combined with a custom kernel that has the required extra features enabled.

More information:
http://mikko.korkalo.fi/openlgtv/

Happy hacking!
IRC: #openlgtv @ FreeNode

You can report problems here, by email (mikko a korkalo d fi) or by IRC (keitsi @ IRCnet, QuakeNet, FreeNode).
Thanks to vuk, summner and all the people who contributed in debugging, testing and reverse engineering LG's platform.

Joined: Feb 25, 2010 - 4:24am | Total Posts: 48 Edit Message | Quote Message

Author Details: Posted on: Mar 17, 2010 - 9:59pm
keitsi
New Member
Hi,

I just released a new version of openlgtv, with updated kernel sources from LG.
All DVB problems should now be fixed (subtitles, tv guide, keylock problem (?), interface hangups, etc). See the project page for details.
I have been testing version 20100318_060643 on my 47LH7000, and haven't encountered problems with it yet.
Also, PDP and US models should be supported now. I haven't been able to test yet, though, as I don't have such TVs.
Joined: Feb 25, 2010 - 4:24am | Total Posts: 48 Edit Message | Quote Message

Author Details: Posted on: Mar 18, 2010 - 12:47am
Hawkeye
New Member
Tell your kernel should work on 32lh4000?
Can I install your kernel and rootfs from lgmod1.2?
Joined: Mar 16, 2010 - 6:12am | Total Posts: 33 Edit Message | Quote Message

Author Details: Posted on: Mar 18, 2010 - 1:06am
keitsi
New Member
Quote:
Tell your kernel should work on 32lh4000?

Honestly? I don't know. But I think they should work.
It works on my 47LH7000.
Just create backups properly, and you should be on the safe side.
You can always revert back to original, if the new image doesn't boot.
Also, double-check the instructions, that they apply to your TV, as I think nobody except me has tested them yet
Quote:
Can I install your kernel and rootfs from lgmod1.2?

I don't think it makes any difference if you have lgmod before, I've flashed over lgmod couple of times too.

Or do you mean to install from lgmod shell? That might be possible too with the cat or dd commands, but I haven't tried that, neither documented it. Also writing over a live rootfs filesystem could in theory crash the system before the write is completed... I'd go with normal u-boot procedure.
Joined: Feb 25, 2010 - 4:24am | Total Posts: 48 Edit Message | Quote Message

Author Details: Posted on: Mar 18, 2010 - 12:07pm
Hawkeye
New Member
lh4000. with version openlgtv.20100305_1267792095.kernel.uImage_flash my network work fine, but usb-flash not mounted:(!
with version 2010-03-18: connect the hub and dlink dub-e100 and I get this message. interface eth0 does not appear. usb-flash not mounted.

--------------------------
[ 12.952000] Initializing USB Mass Storage driver...
[ 13.180000] Plug in USB Port2:20
[ 13.446000] usb 1-1: configuration #1 chosen from 1 choice
[ 13.457000] hub 1-1:1.0: USB hub found
[ 13.459000] hub 1-1:1.0: 4 ports detected
[ 13.595000] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 13.595000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0

[ 13.595000] usb 1-1: Product: USB 2.0 Hub [MTT]
[ 13.611000] usbcore: registered new interface driver usb-storage
[ 13.611000] USB Mass Storage support registered.
[ 13.825000] usb 1-1.1: configuration #1 chosen from 1 choice
[ 13.912000] usb 1-1.1: New USB device found, idVendor=2001, idProduct=3c05
[ 13.912000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber
=3
[ 13.912000] usb 1-1.1: Product: DUB-E100
[ 13.912000] usb 1-1.1: Manufacturer: D-Link Corporation
[ 13.912000] usb 1-1.1: SerialNumber: 000001
[ 14.141000] usb 1-1.4: configuration #1 chosen from 1 choice
[ 14.160000] scsi0 : SCSI emulation for USB Mass Storage devices
[ 14.181000] usb-storage: device found at 4
[ 14.182000] usb-storage: waiting for device to settle before scanning
[ 14.220000] scsi 0:0:0:0: Direct-Access USB FLASH DRIVE PMAP PQ
: 0 ANSI: 0 CCS
[ 14.236000] usb 1-1.4: New USB device found, idVendor=1005, idProduct=b113
[ 14.237000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber
=3
[ 14.237000] usb 1-1.4: Product: USB FLASH DRIVE
[ 14.237000] usb 1-1.4: Manufacturer:
[ 14.237000] usb 1-1.4: SerialNumber: 197B0C181046
[ 14.495000] sd 0:0:0:0: [sda] 7831552 512-byte hardware sectors (4010 MB)
[ 14.498000] sd 0:0:0:0: [sda] Write Protect is off
[ 14.498000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 14.498000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 14.526000] sd 0:0:0:0: [sda] 7831552 512-byte hardware sectors (4010 MB)
[ 14.529000] sd 0:0:0:0: [sda] Write Protect is off
[ 14.529000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 14.529000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 14.530000] sda: sda1 sda2
[ 14.615000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 14.649000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 14.658000] usb-storage: device scan complete
[ 19.494000] FAT: utf8 is not a recommended IO charset for FAT filesystems, fi
lesystem will be case sensitive!
[ 19.498000] FAT: bogus number of reserved sectors
[ 19.498000] VFS: Can't find a valid FAT filesystem on dev sda1.
[ 19.503000] FAT: Unrecognized mount option "iocharset=utf8" or missing value
[ 19.510000] NTFS-fs error (device sda1): read_ntfs_boot_sector(): Primary boo
t sector is invalid.
[ 19.510000] NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount optio
n errors=recover not used. Aborting without trying to recover.
[ 19.510000] NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volum
e.
[ 19.535000] FAT: utf8 is not a recommended IO charset for FAT filesystems, fi
lesystem will be case sensitive!
[ 19.538000] FAT: invalid media value (0xb9)
[ 19.538000] VFS: Can't find a valid FAT filesystem on dev sda.
[ 19.544000] FAT: Unrecognized mount option "iocharset=utf8" or missing value
[ 19.550000] NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot
sector checksum.
[ 19.550000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot
sector is invalid.
[ 19.550000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option
errors=recover not used. Aborting without trying to recover.
[ 19.550000] NTFS-fs error (device sda): ntfs_fill_super(): Not an NTFS volume
.
[ 20.103000] FAT: utf8 is not a recommended IO charset for FAT filesystems, fi
lesystem will be case sensitive!
[ 20.107000] FAT: invalid media value (0xb9)
[ 20.107000] VFS: Can't find a valid FAT filesystem on dev sda.
[ 20.112000] FAT: Unrecognized mount option "iocharset=utf8" or missing value
[ 20.119000] NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot
sector checksum.
[ 20.119000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot
sector is invalid.
[ 20.119000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option
errors=recover not used. Aborting without trying to recover.
[ 22.853000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recomme
nded
[ 23.876000] ASIX USB Ethernet Adapter:v2.5.0 06:03:29 Mar 18 2010
[ 23.876000] http://www.asix.com.tw<6>eth0: register 'asix' at usb-mstar-1
.1, D-Link DUB-E100 USB 2.0 Fast Ethernet Adapter, 00:80:c8:3b:90:41
[ 23.904000] usbcore: registered new interface driver asix
[ 24.029000] CPU 0 Unable to handle kernel paging request at virtual address 0
0000000, epc == c032b074, ra == c032e168
[ 24.029000] Oops[#1]:
[ 24.029000] Cpu 0
[ 24.029000] $ 0 : 00000000 10008c00 c032b06c 00000001
[ 24.029000] $ 4 : 00000000 0000001b 00000336 00000000
[ 24.029000] $ 8 : 00000000 00000000 00000001 8086aba8
[ 24.029000] $12 : 861cde90 00000000 d0e04f8c 00000000
[ 24.029000] $16 : 00000000 804202e4 86c3f800 00000000
[ 24.029000] $20 : 86215e18 00000000 861f350c 7fab28a0
[ 24.029000] $24 : 8086aba8 8086abc8
[ 24.029000] $28 : 86214000 86215d30 00008914 c032e168
[ 24.029000] Hi : 00000005
[ 24.029000] Lo : 983d7140
[ 24.029000] epc : c032b074 Not tainted
[ 24.029000] ra : c032e168 Status: 10008c03 KERNEL EXL IE
[ 24.029000] Cause : 10800008
[ 24.029000] BadVA : 00000000
[ 24.029000] PrId : 0001906c (MIPS 4KEc)
[ 24.029000] Modules linked in: asix usbnet
[ 24.029000] Process ip (pid: 496, threadinfo=86214000, task=861cde68, tls=000
00000)
[ 24.029000] Stack : 10008c00 10008c01 00000000 86215d42 86c63100 86d58a00 000
00000 804202e4
[ 24.029000] 86c3f800 00000000 c032e168 c032e120 00000000 861462c0 86c
69410 80546454
[ 24.029000] 00000000 00000000 86c3fb60 c0332e8c 80909dc0 8045426c 805
49b0c 80549ab0
[ 24.029000] 86c69400 86d58a00 86c3f800 00000000 00001002 00000000 806
2d110 861ed2a8
[ 24.029000] 86c3f800 8062cf2c 2aaf5c30 86215f30 86c3f800 00001003 806
2d9ec 8062d9bc
[ 24.029000] ...
[ 24.029000] Call Trace:[<804202e4>][][][<80546454>][2e8c>][<8045426c>][<80549b0c>][<80549ab0>][<8062d110>][<8062cf2c>][<8062d9ec>][<
8062d9bc>][<8041e40c>][<8066ff68>][<8066fd7c>][<8062e3d0>][<8062e3b8>][<806725b4
>][<8061dce8>][<8048b364>][<8048b768>][<8061d108>][<8048b7e0>][<8061e3c4>][<8040
ab90>][<8040ab90>][<804302b4>]
[ 24.029000]
[ 24.029000] Code: 27bd0030 27bdffd0 afbf0028 <8c840000> 30a800ff 3c058000
8c820000 97a90040 30e3ffff
#
Joined: Mar 16, 2010 - 6:12am | Total Posts: 33 Edit Message | Quote Message

Author Details: Posted on: Mar 19, 2010 - 1:13pm
Hawkeye
New Member
I put asix.ko from kernel-2010-03-03 and d-link-dube100 now work!
but flash drive not mounted...

[ 18.180000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 18.185000] FAT: codepage cp437 not found
[ 18.208000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 18.211000] FAT: invalid media value (0xb9)
[ 18.211000] VFS: Can't find a valid FAT filesystem on dev sda.
[ 18.217000] FAT: Unrecognized mount option "iocharset=utf8" or missing value

i try mount: "mount /dev/sda1 /mnt/usb1/Drive1 -o codepage=850,iocharset=utf8,fmask=0022,dmask=0022,shortname=mi
xed"
its mounted, but in tv-menu: "no starage units available" :(
mount with "codepage=866 or 437" found error in dmesg "codepage not found"
Joined: Mar 16, 2010 - 6:12am | Total Posts: 33 Edit Message | Quote Message

Author Details: Posted on: Mar 19, 2010 - 2:37pm
Hawkeye
New Member
I recompiled the kernel. Enable the option CONFIG_NLS_CODEPAGE_437 = y. Flash Drive eg mount and is available from the TV menu! Cheers!
Thank you Mikko for the excellent work!

Joined: Mar 16, 2010 - 6:12am | Total Posts: 33 Edit Message | Quote Message

Author Details: Posted on: Mar 19, 2010 - 5:08pm
keitsi
New Member
Ok, thanks for the info, I will recompile with 437 codepage support.

Also I will compile different versions of asix modules, or try from kernel upstream.
New driver from asix site breaks support for ax88172 but fixes support for ax88178

I'm glad to hear this is useful for someone besides me
Joined: Feb 25, 2010 - 4:24am | Total Posts: 48 Edit Message | Quote Message

Author Details: Posted on: Mar 19, 2010 - 7:10pm
keitsi
New Member
I compiled a new testing version: http://mikko.korkalo.fi/openlgtv/images/testing/20100320_020426/

- Enabled 437 codepage
- Included new and old asix drivers: new driver is lib/modules/2.6.26/extra/asix.ax88178.ko and old is lib/modules/2.6.26/extra/asix.ko
Use asix.ko for ax88172 chips, and asix.ax88178.ko for ax88178 chips.

You can choose which one to use in /etc/network/interfaces

I haven't tested this release because I'm nowhere close to my TV now.
Joined: Feb 25, 2010 - 4:24am | Total Posts: 48 Edit Message | Quote Message

Author Details: Posted on: Mar 20, 2010 - 1:35pm
Hawkeye
New Member
I someone to mount a remote directory on nfs? when I enter the command "mount-t nfs 192.168.110.254: / mnt / usbdrive / / mnt/usb1/Drive1/nfs" - I get an error "failed: Invalid argument", and no other error messages. This folder has successfully installed the same command on my laptop.

Joined: Mar 16, 2010 - 6:12am | Total Posts: 33 Edit Message | Quote Message

Printer Friendly Version
Next Page >> Page: 1 of 4 Pages: [1] 2 3 4

 

Forum Legend

New Member Reply to topic

More than 50 posts | Member

Reply to topic with quoted message

More than 100 posts | Full Member

Edit Message

More than 150 posts | Advanced Member

View profile

More than 250 posts | Advanced Member

Email member

Last Visitors: Usick, ho1892, arddhu, John8212, darkelf, Zoka52, cocute, Deakon

Powered by SiteNet BBS | SiteNet BBS Copyright 2014 FocalMedia.Net