Eduardo Novella

Results 253 comments of Eduardo Novella

> I'd been trying to figure out what all the fields in the KDZ format were, as such the tool had been written to give errors for non-zero unknowns, rather...

After so many patches, I got some extracted files: ```sh [+] Extracting devcfg_a_81926.bin to E.devcfg_a_81926.bin.chunk [+] Extracting qupfw_a_81958.bin to E.qupfw_a_81958.bin.chunk [+] Extracting laf_a_81990.bin to E.laf_a_81990.bin.chunk [+] Extracting 0_vbmeta_LGU_KR.img to E.0_vbmeta_LGU_KR.img.chunk...

Got it in https://github.com/ehem/kdztools/issues/22#issuecomment-435495399

Managed to solve this (https://github.com/ehem/kdztools/issues/16) ```sh [+] Extracting dtbo_a_94294.bin to E.dtbo_a_94294.bin.chunk [+] Extracting storsec_a_96342.bin to E.storsec_a_96342.bin.chunk [+] Extracting raw_resources_a_96374.bin to E.raw_resources_a_96374.bin.chunk [+] Extracting sid_a_98422.bin to E.sid_a_98422.bin.chunk [+] Extracting aop_b_98550.bin to...

Toggle the logic in: https://github.com/ehem/kdztools/blob/master/libexec/dz.py#L175 ```python ('reserved5', ('I', False)), # currently always zero ```

Managed to unpack small partitions. Apparently, LG changed the compression algorithm from zlib to zstd on LG V40 kdzs. The firmware used is the latest LG V40 ThinQ Korean version:...

BINGO! ```sh [20:10 edu@c00l dzextracted] > sudo mount -t ext4 vendor_a.image /media/edu/ext4_tmp [sudo] password for edu: [20:10 edu@c00l dzextracted] > cd /media/edu/ext4_tmp [20:10 edu@c00l ext4_tmp] > ll total 220K drwxr-xr-x....

In the same manner https://github.com/iBotPeaches/Apktool/issues/2501 ```sh [16:38 edu@xps tmp] > apktool b com.wireguard.android I: Using Apktool 2.5.0 I: Copying com.wireguard.android classes.dex file... I: Copying com.wireguard.android classes2.dex file... I: Checking whether...

Another sample crashing evenly: https://play.google.com/store/apps/details?id=it.icbpi.mobile&hl=en ```sh [14:36 edu@xps tmp] > apktool d base.apk -f I: Using Apktool 2.4.1 on base.apk I: Loading resource table... Exception in thread "main" brut.androlib.AndrolibException: unsupported...

Same error on Ubuntu 18.04. Finding a solution at the moment.