can you do the cat command again pls with the right filename,
its wired after execute no output = works but now is no file there
you can do echo "$?" the exit code from the command before, should be 0 (works)
and ls /etc/procman_core.cfg to ensure the file is there
its a korn shell... you also can try it with bash or sh
simply type bash or sh to open a instance
nice
save your backup folder on your PC
extract the content of Support - Audi RMC Navigation zip in the root on your sd-card
den Inhalt vom Support - Audi RMC Navigation zip direkt auf die sd-Karte entpacken
im script je nach hw version die passenden Zeilen nehmen und die GRO zeile anpassen
Bei ging jede sd bzgl. CID, habe kein green menu gebraucht, allerdings die esd auch kopiert
Danke @benji9 für die basis version des scripts habs nur angepasst für das archiv
Bash:
# Backup
cp -cfRV /dat/ /sdc1/backup/
cp -cfRV /etc/engdefs/ /sdc1/backup/engdefs/
cp -fV /etc/procman_core.cfg /sdc1/backup/
cp -fV /home/delphi/SWPolicy /sdc1/backup/
cat /dev/fs0 > /sdc1/backup/rmc_fs0.bin
# Navigation Activation (Q3 & A1)
rm -V /dat/FSCFiles.xml
rm -V /dat/FSCStatus.xml
rm -V /dat/FSCHistory.xml
cp -fV /sdc1/Nav_activation_A1_Q3/*.xml /dat/
#cp off and map activate patch:
# if hw version 50 - 59:
cp -fV /sdc1/Map_activation_with_cp_off_rmc2/procman_core.cfg /etc/procman_core.cfg
cp -fV /sdc1/Map_activation_with_cp_off_rmc2/SWPolicy /home/delphi/SWPolicy
# if hw version < 61:
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/procman_core.cfg /etc/procman_core.cfg
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/SWPolicy /home/delphi/SWPolicy
# you will find the version on top of the rmc
# In this file you need to write the unit fazit id then replace
# e.g. GRO-633XX.XX.XXXXXXXXXX
echo -e GRO-633XX.XX.XXXXXXXXXX >> /dat/el/el.dat
you will find the GRO on top of the rmc
# SD CID Patch:
cp -fV /sdc1/SD_CID_Patch.esd /etc/engdefs/
# in green menu (Menu+Car) last option cid: enable/disable
# reboot RMC
shutdown
my rmc is h61
we are ok, it's an rmc 4 ?
is there a command to launch the script ? or should i enter line by line ? because it's hard to see in putty what we are doing because text write continuously
# Backup
cp -cfRV /dat/ /sdc1/backup/
cp -cfRV /etc/engdefs/ /sdc1/backup/engdefs/
cp -fV /etc/procman_core.cfg /sdc1/backup/
cp -fV /home/delphi/SWPolicy /sdc1/backup/
cat /dev/fs0 > /sdc1/backup/rmc_fs0.bin
# Navigation Activation (Q3 & A1)
rm -V /dat/FSCFiles.xml
rm -V /dat/FSCStatus.xml
rm -V /dat/FSCHistory.xml
cp -fV /sdc1/Nav_activation_A1_Q3/*.xml /dat/
#cp off and map activate patch:
# if hw version < 61:
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/procman_core.cfg /etc/procman_core.cfg
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/SWPolicy /etc/SWPolicy
# you will find the version on top of the rmc
# In this file you need to write the unit fazit id then replace
# e.g. GRO-633XX.XX.XXXXXXXXXX
echo -e GRO-63315.12.1500280019 >> /dat/el/el.dat
# SD CID Patch:
cp -fV /sdc1/SD_CID_Patch.esd /etc/engdefs/
# in green menu (Menu+Car) last option cid: enable/disable
# reboot RMC
shutdown
i extract the file rmc_solution.zip on sd like this :
Du musst Regestriert sein, um das angehängte Bild zusehen.
I think it' correct, and with the script i use, there is, i think no probems :
Code:
#!/bin/sh
# Backup
cp -cfRV /dat/ /sdc1/backup/; sleep 1
cp -cfRV /etc/engdefs/ /sdc1/backup/engdefs/; sleep 1
cp -fV /etc/procman_core.cfg /sdc1/backup/; sleep 1
cp -fV /home/delphi/SWPolicy /sdc1/backup/; sleep 1
cat /dev/fs0 > /sdc1/backup/rmc_fs0.bin; sleep 1
echo "Backup files - OK"
# Navigation Activation (Q3 & A1)
rm -V /dat/FSCFiles.xml; sleep 1
rm -V /dat/FSCStatus.xml; sleep 1
rm -V /dat/FSCHistory.xml; sleep 1
cp -fV /sdc1/Nav_activation_A1_Q3/*.xml /dat/; sleep 1
echo "Navigation Activation - OK"
#cp off and map activate patch:
# if hw version < 61:
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/procman_core.cfg /etc/procman_core.cfg; sleep 1
cp -fV /sdc1/Map_activation_with_cp_off_rmc4/SWPolicy /etc/SWPolicy; sleep 1
# you will find the version on top of the rmc
echo "CP Off and Map Activate - OK"
# In this file you need to write the unit fazit id then replace
# e.g. GRO-633XX.XX.XXXXXXXXXX
echo -e GRO-63315.12.1500280019 >> /dat/el/el.dat; sleep 1
echo "Replace Fazit ID - OK"
# SD CID Patch:
cp -fV /sdc1/SD_CID_Patch.esd /etc/engdefs/; sleep 1
# in green menu (Menu+Car) last option cid: enable/disable
echo "SID CID patch - OK"
# reboot RMC
echo "REBOOT, enjoy"
shutdown
with the script , cp not works from sd card, and if i try line after line individualy, it's the same problem, not works.
in the previous post the return for the command cp which copy SID_Patch file, but it's the same for others cp commands, subfolder or not ...
It looks like the rmc don't accept cp command to copy from sd to rmc.
But curiously, cp command for backup rmc on sd card is ok...
and rm command for delete files in rmc ok too because i think it's for that i have the crash yesterday. I had delete procaman_core.cfg successfully but unable to cp the new one... until you helped me.
Maybe mv commands should be ok ?
or cat EOF ?
Anhänge
Du musst angemeldet sein, um die Anhangsliste zu sehen.
hmmm
the cat <<EOF works only for plain text, binary like the swDelphi will not work
do df -h > /sdc1/info.txt echo "#########" >> /sdc1/info.txt
ls -al /sdc1/ >> /sdc1/info.txt
will create a file (info.txt) on your sd, post this pls
looks all fine, you can try:
reload the archive
reformat the sd (slow)
try other sd-card reader
ensure to use Safely remove hardware > right bottom corner on desktop