Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot decompress partition of new LG firmware #102

Open
chros73 opened this issue Mar 29, 2024 · 4 comments
Open

Cannot decompress partition of new LG firmware #102

chros73 opened this issue Mar 29, 2024 · 4 comments

Comments

@chros73
Copy link

chros73 commented Mar 29, 2024

Hi, all previous firmwares worked fine so far but the new 13.30.55 branch of LG C2 throws this error:

fakeroot ./epk2extract lib32-starfish-global-secured-o22-nameri.pine-23-13.30.55_prodkey_usb_V3_SECURED.epk
UnSQUASHFS file to: ./13.30.55.01-HE_DTV_W22O_AFABATPU/rootfs.pak.unsquashfs
Filesystem uses unknown compression, this is unsupported by this version
Decompressors available:
        gzip
        lzo

It extracts the rootfs.pak file but it cannot decompress it.

@throwaway96
Copy link
Member

It probably uses zstd.

@chros73
Copy link
Author

chros73 commented May 27, 2024

Thanks, it indeed does.
Installing libzstd-dev package on Debian 12.5 and enabling it in the makefile of squashfs-tools then building current squashfs-tools and running ./unsquashfs rootfs.pak solves this.
So, the squashfs part of this project needs to be updated to support zstd.

@chros73
Copy link
Author

chros73 commented May 27, 2024

May I ask an unrelated question?
In the extracted rootfs, there are *.dbx files under /usr/share/pqdb/index directory that suppose to hold some default calibration data (e.g. peak brightness).
Do you know what file format that is or which application we can take a look at that data?
Thanks

@throwaway96
Copy link
Member

No idea; sorry. If you want to reverse them, I'd start with /usr/lib/libpqdb.so.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants