mib2-toolbox
mib2-toolbox copied to clipboard
[BUG] Unable to apply AndroidAuto patch
Describe the bug From the latest master, i can't patch android auto, each 'sed' command failed.
Screenshots
Firmware(please complete the following information):
- Brand: VW
- Hardware-type: MIB2High Harmann
- Version: MHI2_ER_VWG13_P4521
Looks like the partition is not mounted read write whats aood because we haven't changed anything in that script for a long time
Same issue here, newest toolbox, but also newest firmware MHI2_ER_SEG11_P4709. Do You have any ideas why its stopped working?
It seems to be an issue due to mount utility refactoring. I fixed the bug in my own fork with this patch : fix_android_auto.patch
Unfortunatelly i cant apply patch, got some issues in GitKraken, but i assume its only changing lines 3-9 to this:
export TOPIC=AndroidAuto export MIBPATH=/net/mmx/mnt/system/etc/eso/production/gal.json export MIBPATH2=/net/mmx/mnt/app/etc/eso/production/gal.json export ORIGINAL=/etc/eso/production/ export FILENAME=gal.json export SDPATH=$TOPIC/$FILENAME export TYPE="file"
And similar thing to recovery_aapatch.sh ? The only change in fact is Add line: export MIBPATH2=/net/mmx/mnt/app/etc/eso/production/gal.json Change patch in: ORIGINAL=/etc/eso/production/
Yes in file "patch_gal.sh", add line
export MIBPATH2=/net/mmx/mnt/app/etc/eso/production/gal.json
just after "export MIBPATH=..."
And in file "recovery_aapatch.sh", replace line
export MIBPATH=/net/mmx/etc/eso/production/gal.json
by the two lines
export MIBPATH=/net/mmx/mnt/system/etc/eso/production/gal.json export MIBPATH2=/net/mmx/mnt/app/etc/eso/production/gal.json
Finally works, thanks for help!