[LG V20 Guides, News, & Discussion] emdroidle:
Could you check hashes of the file? The KDZ file I got was:

MD5: 457e8c21ab70bf8a1be10cbe8bfdcf30

SHA1: 8d612d6efa1d30d3a59617d8ffbbe16559ff02b8

SHA512: 7934696d9446552537ca5496a65852ac13ffc415931aed0e1e5598231ebeeddef5805c4b3e9c66eb95edcce287145ff1f6b01caa44e740c51b6532512ff27451

I was unable to observe any problems. Since you've got a problem, I've now put out version 1.2 of `kdzwriter`. This is mostly a tiny bit of tweaking around the handling of Zlib (where the inflate() function comes from). If this problem is still occurring, try 1.2 and include the command line option "-vvv", this will positively gush debugging output. If Zlib still fails though it will produce some hopefully valuable additional information.

I was aware. Guess we're lucky few people get both issues. I'm now attaching v0.2.2-experiment3. This brings in a different portion of code which may be effecting video recording. This is an older version of some bits, and I rather dislike some of the changes (greater potential for the phone crashing, some loss of security), but if it fixes video hopefully we can narrow down where the problem is.

(note to others: experiment3 is not expected to solve focus issues people have seen)

No, it is a simple Linux executable. It should be runnable when Android is running normally, but can also run in TWRP. Does need root permission. Command sequence is:

gzip -d < h990-siminfo.gz > /sbin/h990-siminfo
chmod 755 /sbin/h990-siminfo
h990-siminfo -1 -o sim_info.dat

First step is simply decompressing it. Second ensures Linux knows it is executable. Third executes it.

If you're worried about executing programs as root (you should be!), source is here. Simply scanning for some matching characters in misc. My guess is the output may be as much as 4KB. I did find one bug during testing, so I'm attaching an update.

EDIT: The "-1" is for [MENTION=4549948]mustasusi[/MENTION] and a single-SIM device. Use "-2" for a dual-SIM device (this alters what it searches for). Getting the data from a single-SIM device is much more likely to narrow it down to a very small list of candidates.

I'd originally planned to also mention there was an article here. About how to implement exactly what you were referring to. It is possible to have airplane mode only turn off the cell radio (or even not turn off the cell radio, please don't do this).

[MENTION=1657835]jahlex[/MENTION] I had hoped to be releasing a -experiment4 kernel, but things weren't building for me. :( I hope to continue the problem tracing tomorrow.

In other news v0.2.2 is out. Went through looking for security patches. Hmm, quite a few of them are out there... Pretty sure part of the BlueBorne fix is userspace though.

h990-siminfo.gz:

MD5: 608de79a59a575e954b4ab2328610807

SHA1: 18ea4f1969e2d075b6522c7e341fd28032eb9009

SHA512: 6702242d963ac889e4f95288f8482983103adad70e181ea59afc41a0e5a3ff7ecfeba73f1f6e7d2d820375c6622f2b4fc69eef9622e4f84ec07ff743d34e9e05

v0.2.2-experiment3:

MD5: bdaa983e45364429cafbf18c1f7dfea1

SHA1: 818b17154b976bdb50cbae9581cc95bf977bead8

SHA512: 2315d38cd8e2c41ddae6d9e2b78be754a2fdd7246a369397e22df04d29ec52784ae37d4d0918cb2c25cdca56916ffb712a297e4da2f2046190784d879eeb0f27