diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-18 17:19:07 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-18 17:42:31 +0200 |
commit | 19392adcbf24897ab272717beba9e96ae1304add (patch) | |
tree | c785cfd631c6917cfc9f9ba0f1933b1d21344b93 | |
parent | a54b4e1914f3f3641a698c5b716013dcdd4fdd0d (diff) | |
download | vendor_replicant-data-19392adcbf24897ab272717beba9e96ae1304add.tar.gz vendor_replicant-data-19392adcbf24897ab272717beba9e96ae1304add.tar.bz2 vendor_replicant-data-19392adcbf24897ab272717beba9e96ae1304add.zip |
stock GT-I9300 16G PIT: remove unknown data
With the 16G.pit file we have the following information:
- Device variant: GT-I9300
- eMMC size: 16G
- Data at 0x85C:
0000 083C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........
0000 084C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0000 085C: 5D C7 0A F1 25 B1 B9 7A 86 DA CA DB AD 08 1B 07 ]...%..z ........
With another PIT we have differences starting at 0x85C:
- Device variant: GT-I9300
- eMMC size: 16G
- ro.bootloader: I9300XXUGOF1
- gsm.version.baseband: I9300XXUGNB1
- Data at 0x85C:
0000 083C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........
0000 084C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0000 085C: 46 05 D4 53 B4 3E 69 B8 B8 D9 FD 9E E6 4B B4 A9 F..S.>i. .....K..
With yet another PIT we also see differences starting at 0x85C:
- Device variant: GT-I9300
- eMMC size: 16G
- ro.bootloader: I9300XXELLC
- gsm.version.baseband: I9300XXELKB
- Data at 0x85C:
0000 083C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........
0000 084C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0000 085C: 66 E7 66 D2 BF FC 42 53 FA 58 5F FB CF 5B 24 DA f.f...BS .X_..[$.
And with yet another PIT we still see differences starting at 0x85C:
- Device variant: GT-I9300
- eMMC size: 16G
- ro.bootloader: I9300XXUGMK6
- gsm.version.baseband: I9300XXUGMK6
- Data at 0x85C:
0000 083C: 72 65 6D 61 69 6E 65 64 00 00 00 00 00 00 00 00 remained ........
0000 084C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
0000 085C: B0 A1 A0 D7 8C BC EB 63 C1 1A 14 77 5E A8 D6 DF .......c ...w^...
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=2140 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-I9300/stock/16G.pit | bin | 8192 -> 2140 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/PIT/GT-I9300/stock/16G.pit b/PIT/GT-I9300/stock/16G.pit Binary files differindex 4b63d37..643f59c 100644 --- a/PIT/GT-I9300/stock/16G.pit +++ b/PIT/GT-I9300/stock/16G.pit |