Official LG EPK packing tool

Post Reply
jenya
Posts: 67
Joined: 21 Feb 2011, 14:11
Location: dp.ua

Official LG EPK packing tool

Post by jenya » 21 Mar 2011, 10:21

I want to say "Hi, LG!" :)

It's draft of future wiki article

In updated opensource package for PK/PJ series (except pk950) LG release EPK packing tools.
It's able to pack EPK_V1, EPK_V2, EPK_V2_SECURED images.

Package on LG's site (including opensource code for saturn 6 platform): http://www.lg.com/global/support/openso ... 010.tar.gz

EPK tools only: http://openlgtv.org.ru/wiki/index.php/F ... pack_tools

README is out of sync with mkimg.sh script.

mkepk: tool to create pak and epk_v1

mkepk -c root.pak root.squashfs root DVB-SATURN6 0x0001 20110318 RELEASE
-c: create pak
root.pak: dst pak's file name
root.squashfs: image file name
root: pak's type (ezca, boot, etc.)
DVB-SATURN6: platform name
0x0001: pak version
20110318: date
RELEASE: mode

mkepk -m 0x0001 HE_DTV_GP_M_AAAAABAA test.epk squashfs-ezca.pak ezca.pak
-m: create epk_v1
0x0001: epk version
HE_DTV_GP_M_AAAAABAA: platform id
test.epk: dst epk file name
squashfs-ezca.pak ezca.pak: list of paks, which should be in epk.

imgmake: tool to create epk_v2 and epk_v2_SECURED form epk_v1

imgmake TRUE test.epk NULL 20110321 FALSE key.pem
imgmake TRUE test.epk NULL 20110321 FALSE key.pem
TRUE: determines if 3rd param is dst file name
test.epk: input epk1 file name
NULL: optional dst file name
20110321: date
FALSE: unknown
key.pem: private file for encryptio

hawkeye
Posts: 43
Joined: 22 Feb 2011, 05:53
My TV model: 32LH4000

Re: Official LG EPK packing tool

Post by hawkeye » 21 Mar 2011, 11:27

Or maybe it's just an unauthorized leak. However, it is easy to verify. After all LG monitors sites and should see these messages and the method can remove this package .... Let's see ..

luca
Posts: 32
Joined: 22 Feb 2011, 09:34

Re: Official LG EPK packing tool

Post by luca » 21 Mar 2011, 15:38

Well, to fully comply with the gpl, they should provide a means to load your modifications on the tv, so they should have provided these tools from the start.

sirius
Posts: 120
Joined: 21 Feb 2011, 20:32

Re: Official LG EPK packing tool

Post by sirius » 21 Mar 2011, 19:37

to generate an appropriate key pair for EPK2 firmware package creation:

openssl genrsa -out rsa.private 1024
openssl rsa -in rsa.private -out rsa.public -pubout -outform PEM
Last edited by sirius on 22 Mar 2011, 22:46, edited 1 time in total.
== my set: LG 50PK950 Broadcom based plasma tv, FW 04.20.00 / OpenLGTV BCM ==

sirius
Posts: 120
Joined: 21 Feb 2011, 20:32

Re: Official LG EPK packing tool

Post by sirius » 22 Mar 2011, 10:27

After some testing it seems it's not possible to create valid custom epk2 firmware packages with these tools. Custom packages made with it can be extracted with epk2extract tool but can't flashed successfully on tv after changing the general_pub.pem in lgapp partiton to a custom one. So the resulting secured epk2 packages created with these tools are not valid!
== my set: LG 50PK950 Broadcom based plasma tv, FW 04.20.00 / OpenLGTV BCM ==

zionn111
Posts: 3
Joined: 27 Jun 2013, 22:53
My TV model: 37LH3000

Re: Official LG EPK packing tool

Post by zionn111 » 30 Jun 2013, 21:28

that links are broken. somebody can post alternative links?

zuneera
Posts: 1
Joined: 17 Feb 2015, 07:14

Re: Official LG EPK packing tool

Post by zuneera » 17 Feb 2015, 07:34

The TV Model is 32LD458-ZA and the firmware 03.01.07 . However i tried to reinstall extroot and the installer freezed, so i rebooted the TV and now SMB is working, i think that probably i installed extroot uncorrectly the first time and this second time it installed correctly.




___________________
http://www.flsouthern.edu/
http://www.certkiller.com/
http://www.certkiller.com/exam-70-411.htm
http://www.usuhs.mil/
http://en.wikipedia.org/wiki/Olivet_Nazarene_University

oosakatama
Posts: 20
Joined: 27 Aug 2015, 10:07

Re: Official LG EPK packing tool

Post by oosakatama » 28 Aug 2015, 08:04

After some testing it seems it's not possible to create valid custom epk2 firmware packages with these tools.
genting casino download

Post Reply