aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-21 18:21:57 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-21 20:21:59 +0200
commit577bdec650ed20cbabedce90269c68003977f85a (patch)
tree20d9c8dd994488a05729a10024eb771b030dc6d3
parent19392adcbf24897ab272717beba9e96ae1304add (diff)
downloadvendor_replicant-data-577bdec650ed20cbabedce90269c68003977f85a.tar.gz
vendor_replicant-data-577bdec650ed20cbabedce90269c68003977f85a.tar.bz2
vendor_replicant-data-577bdec650ed20cbabedce90269c68003977f85a.zip
stock GT-I9305 16G PIT: remove unknown data
With the 16G.pit file we have the following information: - Device variant: GT-I9305 - eMMC size: 16G - Data at 0xA6C: 0000 0A4C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........ 0000 0A5C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0000 0A6C: 7B 99 2D 9E F9 FA 12 39 08 2D 43 69 29 C5 54 EB {.-....9 .-Ci).T. With another PIT we have differences starting at 0x85C: - Device variant: GT-I9305 - eMMC size: 16G - ro.bootloader: I9305XXSFQD1 - Data at 0xA6C: 0000 0A4C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........ 0000 0A5C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0000 0A6C: 32 62 8B D1 9F 21 FC 70 E7 A2 AB 4F B9 84 57 43 2b...!.p ...O..WC I've no idea what that data is, so it's better to remove it as it may contain data that is either privacy or security sensitive or data that we may not be able to redistribute. The comparison was done with vbindiff and stripping the data was achieved with the following commands: $ dd if=16G.pit of=new.pit count=2668 bs=1 $ mv new.pit 16G.pit The output of 'heimdall print-pit --file' is exactly the same between the old 16G.pit, the new one, and all other PITs mentioned above. Once stripped, all the PITs were identical bit by bit. This was verified with the cmp command. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--PIT/GT-I9305/stock/16G.pitbin8192 -> 2668 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/PIT/GT-I9305/stock/16G.pit b/PIT/GT-I9305/stock/16G.pit
index f24cc1d..c7800c7 100644
--- a/PIT/GT-I9305/stock/16G.pit
+++ b/PIT/GT-I9305/stock/16G.pit
Binary files differ