Add x230 image and infrastructure
parent
920c67f7cf
commit
5e88282a7b
@ -0,0 +1,3 @@
|
||||
[submodule "mec-tools"]
|
||||
path = mec-tools
|
||||
url = https://github.com/eigenmatt/mec-tools
|
@ -0,0 +1 @@
|
||||
d4f9d597ea792f966257c01c3b5442354f0b3cc8 g2uj23us.iso
|
@ -0,0 +1 @@
|
||||
Subproject commit 5e30f2bf7dcfe3ee084b65f237ee50a6936eec89
|
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Quick and dirty extracter to get the EC image out of the iso file
|
||||
#
|
||||
# TODO:
|
||||
# - a tool that is portable to Windows
|
||||
# - should output dependancy information
|
||||
|
||||
OUTPUT="$1"
|
||||
if [ -z "$OUTPUT" ]; then
|
||||
echo Need output filename
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OUT1="${OUTPUT}.encrypted.orig"
|
||||
|
||||
dd if=g2uj23us.iso bs=$[0x01076600] skip=1 | dd bs=196608 count=1 of="$OUT1"
|
||||
|
||||
mec-tools/mec_encrypt -d "$OUT1" >"$OUTPUT"
|
||||
|
@ -0,0 +1 @@
|
||||
d70f5434ef316a66a6195651d9e231e84a2464a1 x230.G2HT35WW.img
|
Loading…
Reference in New Issue