Porsche PCM Upgrade/Hack for Android Auto? Is this real?
#169
I can't get dumpifs_helper.sh from gitgub.It is not exist.Can you send it to my email mess7x@gmail.com?Thank you!
#170
I can't get dumpifs_helper.sh from gitgub.It is not exist.Can you send it to my email mess7x@gmail.com?Thank you!
#171
[QUOTE = katita; 16635141]位于第一页,只需将代码复制到txt文件[/ QUOTE]
https://github.com/askac/dumpifs
Which file?Thank you.
https://github.com/askac/dumpifs
Which file?Thank you.
#172
#dumpifs_helper.sh
IMAGE=$1
TMPDIR=./
EXTRDIR=./ifs_extracted
mkdir $EXTRDIR
echo "Dumping content of $IMAGE... to $EXTRDIR"
dumpifs -z $IMAGE |awk '{print $3}' >$TMPDIR/ifscont.txt
dumpifs -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 $EXTRDIR/$i; done
cd $EXTRDIR
dumpifs -zx $IMAGE
cd ../
echo "done !"
IMAGE=$1
TMPDIR=./
EXTRDIR=./ifs_extracted
mkdir $EXTRDIR
echo "Dumping content of $IMAGE... to $EXTRDIR"
dumpifs -z $IMAGE |awk '{print $3}' >$TMPDIR/ifscont.txt
dumpifs -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 $EXTRDIR/$i; done
cd $EXTRDIR
dumpifs -zx $IMAGE
cd ../
echo "done !"
The following users liked this post:
IIETPOBu4 (05-22-2020)
#175
I have make dumpifs succeed and chomd it to 755 succeed.
I think that it is some file wrong with dumpifs_helper and i do not have files like ifscont.txt/ ifslinks.txt/dirlist.txt.
These are all not in https://github.com/askac/dumpifs.
#176
I worked around problem by extracting key lines from the .sh file and running individually from terminal window. I replaced $variables with actual values. I started with this line:
$ mkdir ./ifs_extracted
then
$ dumpifs -z myimage.ifs | awk '{print $3}' >./ifscont.txt
then$ dumpifs -z myimage.ifs | grep "\->" | awk '{print $3" -> "$5}' >./ifslinks.txt
then
$ for i in `cat ./ifscont.txt`; do dirname $i; done | sort -u >./dirlist.txt
.
.
And so on, until you have run all remaining lines.
I think our issue is that the mkdir common was adding a \r\r to the ifs_extracted directory name. Later commands could not find this directory.
A bit of a hack, but it worked. Good luck.
$ mkdir ./ifs_extracted
then
$ dumpifs -z myimage.ifs | awk '{print $3}' >./ifscont.txt
then$ dumpifs -z myimage.ifs | grep "\->" | awk '{print $3" -> "$5}' >./ifslinks.txt
then
$ for i in `cat ./ifscont.txt`; do dirname $i; done | sort -u >./dirlist.txt
.
.
And so on, until you have run all remaining lines.
I think our issue is that the mkdir common was adding a \r\r to the ifs_extracted directory name. Later commands could not find this directory.
A bit of a hack, but it worked. Good luck.
#178
In the middle of flashing my patched ifs, my car decided to turn off the ignition due to low battery .
It seems to be nearly bricked. I can still access TTY and login with root, but I can't unlock the flash to try flashing any ifs. This is the error:
/net/mmx/fs/sda0/Tools/flashlock unlock
[/net/mmx/fs/sda0/Tools/flashlock] devf-generic was not started with parameter -P 1, so lock feature is generally not enabled
Also /dev/fs0 does not exist? Do I need to flash unlock to get access to /dev/fs01?
Any ideas how to recover?
This is what the boot sequence looks like:
CLK: 720/600/400 MHz (ARM/DSP/DDR)
IOC: 4e334220 51413422 2634414e 7e7e7e00
fb2:ARM=8540000/2
WARNING: ignoring unexpected/invalid sub-image #1 (addr=0x08ba0000, magic=0xffffffff) ...
DSP=BD00000
*** WARNING: Enabling DSP access to the entire RAM!
ipl done
Startup: PL_qnx_startup-jacinto5-v7_Dev_MibJ5_16302A, built 2016/07/26_12-32-47_UTC
Board: 0000a239.000000c0
Command: -x 0x87000000,0x01000000 -C 750,0 -wa
RAM: 128 MB
FLASH: 64 MB @0x08000000
VFPv3: fpsid=410330c3
coproc_attach(10): replacing fe08bd90 with fe08b54c
coproc_attach(11): replacing fe08bd90 with fe08b54c
Welcome - Harman/Becker Audi MIB - Build MIB2CLU8-Trunk_RCC2_B1-17283B
dsploader: DSP loader: image #1 not found!
00.973 PCIe Training finished success=1
Thanks for any help.
It seems to be nearly bricked. I can still access TTY and login with root, but I can't unlock the flash to try flashing any ifs. This is the error:
/net/mmx/fs/sda0/Tools/flashlock unlock
[/net/mmx/fs/sda0/Tools/flashlock] devf-generic was not started with parameter -P 1, so lock feature is generally not enabled
Also /dev/fs0 does not exist? Do I need to flash unlock to get access to /dev/fs01?
Any ideas how to recover?
This is what the boot sequence looks like:
CLK: 720/600/400 MHz (ARM/DSP/DDR)
IOC: 4e334220 51413422 2634414e 7e7e7e00
fb2:ARM=8540000/2
WARNING: ignoring unexpected/invalid sub-image #1 (addr=0x08ba0000, magic=0xffffffff) ...
DSP=BD00000
*** WARNING: Enabling DSP access to the entire RAM!
ipl done
Startup: PL_qnx_startup-jacinto5-v7_Dev_MibJ5_16302A, built 2016/07/26_12-32-47_UTC
Board: 0000a239.000000c0
Command: -x 0x87000000,0x01000000 -C 750,0 -wa
RAM: 128 MB
FLASH: 64 MB @0x08000000
VFPv3: fpsid=410330c3
coproc_attach(10): replacing fe08bd90 with fe08b54c
coproc_attach(11): replacing fe08bd90 with fe08b54c
Welcome - Harman/Becker Audi MIB - Build MIB2CLU8-Trunk_RCC2_B1-17283B
dsploader: DSP loader: image #1 not found!
00.973 PCIe Training finished success=1
Thanks for any help.
#180
I've gotten further. By grounding the Rx pin I was able to enter IPL. I then did a:
=> fscan
0x08000000..0x0801391b IPL [ver.16153A, options=4]
0x08020000..0x083b0d5b QNX IFS [ver.1, RAW, UCL]: EMERG/3B7
0x08540000..0x08b9d07b QNX IFS [ver.1, RAW, LZO]: APP/2476; subimg@ 0x08ba0000 0x0bd00000
0x0bd00000..0x0bdc61b3 DSP1 file (BGZ boot table format, ver.16095A)
0x0bf00000..0x0bf5ffff BIOS packet (BIOS first): _arm-cortexA8_xxxx-yyyy-zzzz_0000_T32
[=> do_fscan: ARM=0/0 DSP=0/0
=> qboot 0x08020000
=> boot -t QNX 0x08020000
fb2:ARM=8020000/2
*** WARNING: Enabling DSP access to the entire RAM!
ipl done
Startup: PL_qnx_startup-jacinto5-v7_Dev_MibJ5_13372A, built 2013/09/10_12-21-17_UTC
Library: [DATE=2013/02/01-08:07:42-WEST USER=MHupfer HOST=oekan402]
Board: 0000a239.000000c0
...
...
Welcome to QNX Neutrino 6.5.0 on J5 - Harman/Becker Audi MIB - Emergency DEV-Emergency_rcc_2_B1-16412B
______ _______________
/ ____/____ ___ ___ _________ ____ ____ _______ __ / _/ ____/ ___/
/ __/ / __ __ \/ _ \/ ___/ __ / _ \/ __ \/ ___/ / / / / // /_ \__ \
/ /___ / / / / / / __/ / / /_/ / __/ / / / /__ /_/ / _/ // __/ ___/ /
/_____//_/ /_/ /_/\___/_/ \__, /\___/_/ /_/\___/\__, / /___/_/ /____/
/___/ /___/
So I'm emergency mode, but now I can't log into that. Tried root/harman_f but won't let me in.
Are there other emergency passwords out there?
=> fscan
0x08000000..0x0801391b IPL [ver.16153A, options=4]
0x08020000..0x083b0d5b QNX IFS [ver.1, RAW, UCL]: EMERG/3B7
0x08540000..0x08b9d07b QNX IFS [ver.1, RAW, LZO]: APP/2476; subimg@ 0x08ba0000 0x0bd00000
0x0bd00000..0x0bdc61b3 DSP1 file (BGZ boot table format, ver.16095A)
0x0bf00000..0x0bf5ffff BIOS packet (BIOS first): _arm-cortexA8_xxxx-yyyy-zzzz_0000_T32
[=> do_fscan: ARM=0/0 DSP=0/0
=> qboot 0x08020000
=> boot -t QNX 0x08020000
fb2:ARM=8020000/2
*** WARNING: Enabling DSP access to the entire RAM!
ipl done
Startup: PL_qnx_startup-jacinto5-v7_Dev_MibJ5_13372A, built 2013/09/10_12-21-17_UTC
Library: [DATE=2013/02/01-08:07:42-WEST USER=MHupfer HOST=oekan402]
Board: 0000a239.000000c0
...
...
Welcome to QNX Neutrino 6.5.0 on J5 - Harman/Becker Audi MIB - Emergency DEV-Emergency_rcc_2_B1-16412B
______ _______________
/ ____/____ ___ ___ _________ ____ ____ _______ __ / _/ ____/ ___/
/ __/ / __ __ \/ _ \/ ___/ __ / _ \/ __ \/ ___/ / / / / // /_ \__ \
/ /___ / / / / / / __/ / / /_/ / __/ / / / /__ /_/ / _/ // __/ ___/ /
/_____//_/ /_/ /_/\___/_/ \__, /\___/_/ /_/\___/\__, / /___/_/ /____/
/___/ /___/
So I'm emergency mode, but now I can't log into that. Tried root/harman_f but won't let me in.
Are there other emergency passwords out there?