How to extract a IFS file

Ответить


Этот вопрос предназначен для предотвращения автоматической отправки форм спам-ботами.
Смайлики
:courage: :bull_head: :boxing: :blue: :black_eyed: :bi_polo: :beguiled: :bee: :beaten: :barbershop: :apthy: :butterfly: :calm: :couple_inlove: :congratulatory: :confusion: :concern: :cold: :cocksure: :chuncky: :cheerful: :chargrined: :cat: :applouse: :apple: :applause: :tranquillity: :( :confused: :mad: :) :p ;) :D :flustered: :abnormal: :acne: :apologetic: :apathy: :anonymous: :angel: :o :ambivalence: :afro: :adoration: :adjoint: :rolleyes: :cool: :eek:
Ещё смайлики…

BBCode ВКЛЮЧЁН
[img] ВКЛЮЧЁН
[url] ВКЛЮЧЁН
Смайлики ВКЛЮЧЕНЫ

Обзор темы
   

Развернуть Обзор темы: How to extract a IFS file

steatlh98 » Ср май 27, 2020 5:13 pm

Dedraman писал(а):Thank you very very much fo help and fast answer. Maybe hbcifs file has .efs format?
And some content I guess is similar to MMI3GApplication from Audi.
hbcifs (Harman/Becker compressed IFS) is a signature of an IFS sub-partition (compressed) .
http://ftp.dataio.com/FCNotes/BBM/Harma ... Manual.pdf

I'm also interested how to extract the files from these kind of (compressed) IFS files. Header is like this:

68 62 63 69 66 73 00 00 FF E4 9D 25 01 7B 2D 86 00 DB 20 00 0B EB FF AF E1 DC 02 02 88 00 01 37 79 C3 47 D9 F1 00 00 03 69 FE 13 23 69 6D 61 67 65
h b c i f s ............................................................................................................................................................................................. # i m a g e

with memifs2 -q -d <ifsfile> / i get this but it failed saying read not implemented (with 2008 version of memifs2):
byte 9 - 12 (partition size in LE)
byte 13 - 16 (image size in LE)

https://haxor.fi/how-the-firmware-updates-work-on-toyota-touch-go/https://icitech.org/wp-content/uploads/2015/09/ICIT-Brief_Whos-Behind-the-Wheel_Car-Hacking2.pdfUpdate: hbcifs files are compressed with either LZO or UCL (NRV) compression.
https://reverseengineering.stackexchang ... r-analysis

Dedraman » Пт май 22, 2020 12:00 pm

.hbcifs has hbcifs header. So as I managed to find out this format can be unpacked with memifs2 utility. Somebody can help me with unpacking the file ifs_2.hbcifs located here: https://yadi.sk/d/BspdZy_kxyZOmQ

Dedraman » Пт май 15, 2020 9:37 am

bedrock писал(а):Your ifs_1.ifs is same format as audi and can be extracted in same ways, here is linked to extracted contents of ifs_1
https://drive.google.com/open?id=12me4t ... X4JmmoH6XW

I have not studied hbcifs file, it format is different and doesn't have ifs magic number, maybe it is hb cifs and related to CIFS file standard?? Just a guess.
Thank you very very much fo help and fast answer. Maybe hbcifs file has .efs format?
And some content I guess is similar to MMI3GApplication from Audi.

bedrock » Чт май 14, 2020 9:38 pm

Your ifs_1.ifs is same format as audi and can be extracted in same ways, here is linked to extracted contents of ifs_1
https://drive.google.com/open?id=12me4t ... X4JmmoH6XW

I have not studied hbcifs file, it format is different and doesn't have ifs magic number, maybe it is hb cifs and related to CIFS file standard?? Just a guess.

Dedraman » Чт май 14, 2020 1:58 pm

Доброго всем дня! Может и не по адресу обращаюсь, но нужна помощь в распаковке двух файлов прошивки для родственной системы RNEG PSA от Harman на QNX. У самого (пока) нет возможности это сделать, хотелось бы оценить, стоит ли вообще ввязываться. Файлы здесь https://yadi.sk/d/BspdZy_kxyZOmQ Буду премного благодарен!
Сама система у нас мало изучена, вот пытаюсь восполнить пробелы. Пока только научил её (хоть и не очень красиво) говорить по-русски. Хочется большего.

Don » Чт дек 12, 2019 9:35 am

telewizoor писал(а):Hello, i can unpack IFS, change it and pack back. If you want know some more pelase write.
hi could tell me how to unpack ifs, thinks in advance

kostia111 » Сб ноя 23, 2019 5:06 pm

Hello. Help me restore
file system. these are the first steps to learning
dashboard on QNX https://cloud.mail.ru/public/5oMZ/5p9PgBEiv

smash77 » Ср ноя 20, 2019 11:55 pm

Thanks for the answer, but this is only part of the file system, dumpifs at the end of work leaves ahead of time

bedrock » Ср ноя 20, 2019 10:27 pm

smash77 писал(а):Hello. Can anyone help unload the entire file system? In my case it is double, dumpifs only unloads one. https://drive.google.com/file/d/151Dtxc ... 4c5XEXph17
Doesn't look like double to me. Here is filesystem https://drive.google.com/file/d/1rlJv7O ... sp=sharing

--
bedrock

smash77 » Ср ноя 20, 2019 10:17 pm

Hello. Can anyone help unload the entire file system? In my case it is double, dumpifs only unloads one. https://drive.google.com/file/d/151Dtxc ... 4c5XEXph17

smash77 » Вт ноя 19, 2019 5:13 pm

Привет всем! Кто-нибудь может помочь выгрузить полностью файловую систему? В моем случае она двойная, dumpifs выгружает только одну. https://drive.google.com/open?id=151Dtx ... 4c5XEXph17

bedrock » Вс июн 02, 2019 12:52 am

Dumped ifs-root.ifs has two ifs images embedded in it like https://www.qnx.com/developers/docs/6.4 ... tiple.html

Need to find second ifs marker in dump and split, then extract both parts.

--
bedrock

mobista » Вс июн 02, 2019 12:31 am

Hello. I'm trying to dump IFS from MIB. ifs-root file have 22 509 852 bytes of size, unpacked files 15 882 984 bytes - why? How to make proper unpack?

MMI » Чт янв 03, 2019 6:44 pm

Mistake, sorry

Henno » Вс ноя 25, 2018 11:54 pm

mobista писал(а):Finally I know how to extract ifs-root.ifs, but all files are in one directory - how to create good *.bat to make directory and then unpack files with QNX?
push

mobista » Сб дек 16, 2017 2:00 pm

bertelsmann писал(а):you have to create the directories first

try something like this:

IMAGE=$1
echo "Dumping content of $IMAGE..."
$IFSDUMP -z $IMAGE |awk '{print $3}' >$TMPDIR/ifscont.txt
$IFSDUMP -z $IMAGE |grep "\->" |awk '{print $3" -> "$5}' >$TMPDIR/ifslinks.txt
for i in `cat $TMPDIR/ifscont.txt`; do dirname $i; done |sort -u >$TMPDIR/dirlist.txt
for i in `cat $TMPDIR/dirlist.txt`; do mkdir -p ./$i; done
#create symlinks
while
read i
do
SRC=`echo -e "$i" | awk '{print $3}'`
LNK=`echo -e "$i" | awk '{print $1}'`
LNKDIR=`dirname $LNK`
LNKBASE=`basename $LNK`
cd $LNKDIR
ln -s $SRC $LNKBASE
cd $CURDIR
done < $TMPDIR/ifslinks.txt
##
$IFSDUMP -zx $IMAGE
echo "done !"
Finally I know how to extract ifs-root.ifs, but all files are in one directory - how to create good *.bat to make directory and then unpack files with QNX?

leader » Пт дек 15, 2017 7:53 pm

Unpackign the ifs image is not a hard work.
With the help of mmi-ifs tool you can dump and decompress teh filesystem image. Than with dumpifs and with some shell scripting knoweledge you can extract and create the directory and file structure including the symlinks.

Maybe somebody can give some hints how to repack the filesystem structure into ifs image?
The mkifs utilitiy must be used? What arguments and attributes must be set for mmi3g?

telewizoor » Пт ноя 24, 2017 12:00 am

I need packed ifs to make repack :)

mobista » Чт ноя 23, 2017 10:44 am

Thank U very much mr bedrock.

Is there anybody who can repack IFS?

bedrock » Ср ноя 22, 2017 10:10 pm


Вернуться к началу