How to extract a IFS file
How to extract a IFS file
Hello,
I want to create a custom ifs-EMG.IFS file for repairing a MMI3G. With dumpifs it should be possible to extract a IFS, but it gives an error "Unable to find startup header in ifs-emg.ifs".
Did i forget some parameters.
I want to create a custom ifs-EMG.IFS file for repairing a MMI3G. With dumpifs it should be possible to extract a IFS, but it gives an error "Unable to find startup header in ifs-emg.ifs".
Did i forget some parameters.
Slav,
My goal is to have a ifs file for a 3GP smaller than 3 mb, so it can be uploaded to my 3GP unit.
During the tranfser the unit goes to sleep within 5 or 6 minutes during the z modem transfer (10kbps), so the original ifs-emg upload is stopped. I tried a ifs-emg from a 3G unit that is about 3mb and it transfers by zmodem and the unit tries to boot with it, the architecture of a 3G is different so it stops.
I have put a image on this link:<link deleted>
Is it possible to create a new ifs from the extracted with makeifs then, with a new build file.
My goal is to have a ifs file for a 3GP smaller than 3 mb, so it can be uploaded to my 3GP unit.
During the tranfser the unit goes to sleep within 5 or 6 minutes during the z modem transfer (10kbps), so the original ifs-emg upload is stopped. I tried a ifs-emg from a 3G unit that is about 3mb and it transfers by zmodem and the unit tries to boot with it, the architecture of a 3G is different so it stops.
I have put a image on this link:<link deleted>
Is it possible to create a new ifs from the extracted with makeifs then, with a new build file.
The Mu version is:
IPL: Audi 3G 9308 (SH7785) / QNX 6.3.0 [PL_qnx_ipl-3g_9308-sh7785_08253A, built 2008/06/18_15-16-25_UTC]
CPU: SH7785 (>= 5th cut, clk mode 20. 4xDDR), 792MHz
RAM: 512 MB (probed, DBCONF=e30002)
FLASH: Spansion S29GL512N (32bit): 512 sectors x 256K
FPGA: PL_MMI3G_PLUS_FPGA_9411_D1_11384A (0ms)
*** Old-fashioned mark found on IFS @0x1c0000: .zero=0x30000013
*** Old-fashioned mark found on IFS @0x680000: .zero=0x10000000
RAM : 128 MB @0x08000000
RAM : 128 MB @0x40000000
NVRAM: 36 MB @0x5dc00000
RAM : 220 MB @0x50000000
FLASH: 128 MB @0x00000000
FPGA IRQ: Interrupt Controller ID:33 Ver:2.1.0 ILVL:7 Lines:255
System page at phys:0800a000 user:0800a000 kern:8800a000
Starting next program at v8804bae0
Welcome QNX6.3.2 (QNXLabel RL_qnx_os_632_PSP3_08041A)- Harman/Becker MMI3GP Build 9498 E1-12032B
USB-stuff (QNXLabel RL_qnx_os_632_PSP3_08041A)
Train ID: HN+_KR_AU3G_P0553 (or higher in case of train updates without MU change)
Release Candidate: 1.0 (or higher minor version)
MU version: 0553
before i flashed it i wrong adress (forgot one 0 at the end of the adress).
IPL: Audi 3G 9308 (SH7785) / QNX 6.3.0 [PL_qnx_ipl-3g_9308-sh7785_08253A, built 2008/06/18_15-16-25_UTC]
CPU: SH7785 (>= 5th cut, clk mode 20. 4xDDR), 792MHz
RAM: 512 MB (probed, DBCONF=e30002)
FLASH: Spansion S29GL512N (32bit): 512 sectors x 256K
FPGA: PL_MMI3G_PLUS_FPGA_9411_D1_11384A (0ms)
*** Old-fashioned mark found on IFS @0x1c0000: .zero=0x30000013
*** Old-fashioned mark found on IFS @0x680000: .zero=0x10000000
RAM : 128 MB @0x08000000
RAM : 128 MB @0x40000000
NVRAM: 36 MB @0x5dc00000
RAM : 220 MB @0x50000000
FLASH: 128 MB @0x00000000
FPGA IRQ: Interrupt Controller ID:33 Ver:2.1.0 ILVL:7 Lines:255
System page at phys:0800a000 user:0800a000 kern:8800a000
Starting next program at v8804bae0
Welcome QNX6.3.2 (QNXLabel RL_qnx_os_632_PSP3_08041A)- Harman/Becker MMI3GP Build 9498 E1-12032B
USB-stuff (QNXLabel RL_qnx_os_632_PSP3_08041A)
Train ID: HN+_KR_AU3G_P0553 (or higher in case of train updates without MU change)
Release Candidate: 1.0 (or higher minor version)
MU version: 0553
before i flashed it i wrong adress (forgot one 0 at the end of the adress).
-
- Пользователь
- Сообщения: 33
- Зарегистрирован: Вт апр 08, 2014 12:33 pm
Any news on That?
Well unpacking is not a problem,
either change a few bytes in the ifs header so that dumpifs (qnx tools) can handle it
or write your own little extraction tool. IFS is LZO compressed - once you decompressed it
it is the normal ifs structure.
but did anybody succeded in repacking it into an working ifs image (buildfile)
which the mmi ipl accepts - i did not :-(
Any help appreciated
regards
Well unpacking is not a problem,
either change a few bytes in the ifs header so that dumpifs (qnx tools) can handle it
or write your own little extraction tool. IFS is LZO compressed - once you decompressed it
it is the normal ifs structure.
but did anybody succeded in repacking it into an working ifs image (buildfile)
which the mmi ipl accepts - i did not :-(
Any help appreciated
regards
-
- Пользователь
- Сообщения: 33
- Зарегистрирован: Вт апр 08, 2014 12:33 pm
Hi,
get the qnx developer tools.
There is a tool called dumpifs
on older firmware images (before 612 i guess) this worked
do either change byte 0x37 from 01 to 00
or use the option -z
dumpifs -zx image.file
if you changed the bit 0x37 you do not have to use the -z option
since version 612 ifs is compressed in a different way
i am not sure if there is a way to decompress with dumpifs
regards
get the qnx developer tools.
There is a tool called dumpifs
on older firmware images (before 612 i guess) this worked
do either change byte 0x37 from 01 to 00
or use the option -z
dumpifs -zx image.file
if you changed the bit 0x37 you do not have to use the -z option
since version 612 ifs is compressed in a different way
i am not sure if there is a way to decompress with dumpifs
regards
Hi! If i can view statistics of ifs-root.ifs by command dumpifs ifs-root.ifs like at феефсрув file, does it must be unpacked by this utility or not?bertelsmann писал(а):Hi,
get the qnx developer tools.
There is a tool called dumpifs
on older firmware images (before 612 i guess) this worked
do either change byte 0x37 from 01 to 00
or use the option -z
dumpifs -zx image.file
if you changed the bit 0x37 you do not have to use the -z option
since version 612 ifs is compressed in a different way
i am not sure if there is a way to decompress with dumpifs
regards
i type dumpifs -x ifs-root.ifs but only have output like
Код: Выделить всё
Checksums: image=0xe4ba088a startup=0xeb3f2b45
Is it posible get content of ifs-root.ifs or it have some nuances?
[ATTACH]24991[/ATTACH]
- Вложения
-
[Расширение txt было запрещено, вложение больше недоступно.]
-
- Пользователь
- Сообщения: 33
- Зарегистрирован: Вт апр 08, 2014 12:33 pm
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 !"
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 !"
- Black Wolf
- Новичок
- Сообщения: 27
- Зарегистрирован: Чт мар 28, 2013 12:04 am
- Откуда: Зимбабве
Вы будете нуждаться в QNX строителя
= лицензию QNX, или попробовать использовать оценивается версию - в течение 30 дней.
http://www.qnx.com/developers/docs/6.3. ... ilder.html

http://www.qnx.com/developers/docs/6.3. ... ilder.html
- Black Wolf
- Новичок
- Сообщения: 27
- Зарегистрирован: Чт мар 28, 2013 12:04 am
- Откуда: Зимбабве
Я могу понять ваше русски, потому что Google Translate, плохо переведены. Мы не говорим о написании scripts и программирования на языке Java, но QNX строитель
, что создаст флэш изображения EFS и другие параметры вашего 3G + в
.
Если это так, то вы "Пушкин" делают нас одной EFS вручную
...
уверен, что есть пути для хороших программистов, чтобы dissasemble EFS IMG и т.д., но здесь, в основном новички, и именно поэтому я предложил QNX строитель, потому что я не видел много разработчиков здесь, за исключением Sergeynick и Uknik
, может быть, у вас есть еще один «Пушкин "Р?


Если это так, то вы "Пушкин" делают нас одной EFS вручную

уверен, что есть пути для хороших программистов, чтобы dissasemble EFS IMG и т.д., но здесь, в основном новички, и именно поэтому я предложил QNX строитель, потому что я не видел много разработчиков здесь, за исключением Sergeynick и Uknik

Вы название темы видели? Тут речь идёт об IFS, а не EFS. Вас что интересует? EFS не надо редактировать. Зашейте образ во флеш, монтируйте, сделайте изменения и сделайте дамп. С IFS всё гораздо сложнее. Не хотел вас расстраивать, но, QNX IDE не поможет, и билд файл тоже. Сделать билд можно, но, стартап код, необходимый для загрузки системы, есть только у производителя.
И, да, я собирал образы билд-файлами, для других устройств, и знаю о чём говорю.
И, да, я собирал образы билд-файлами, для других устройств, и знаю о чём говорю.