mib2-toolbox icon indicating copy to clipboard operation
mib2-toolbox copied to clipboard

[BUG] Unable to apply AndroidAuto patch

Open therubiksman opened this issue 2 years ago • 1 comments

Describe the bug From the latest master, i can't patch android auto, each 'sed' command failed.

Screenshots 20220719_201946

Firmware(please complete the following information):

  • Brand: VW
  • Hardware-type: MIB2High Harmann
  • Version: MHI2_ER_VWG13_P4521

therubiksman avatar Jul 19 '22 19:07 therubiksman

Looks like the partition is not mounted read write whats aood because we haven't changed anything in that script for a long time

olli991 avatar Aug 06 '22 18:08 olli991

Same issue here, newest toolbox, but also newest firmware MHI2_ER_SEG11_P4709. Do You have any ideas why its stopped working? IMG_20230223_161924_3

Maras2003 avatar Feb 27 '23 13:02 Maras2003

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

therubiksman avatar Feb 27 '23 14:02 therubiksman

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/

Maras2003 avatar Mar 09 '23 11:03 Maras2003

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

therubiksman avatar Mar 09 '23 15:03 therubiksman

Finally works, thanks for help!

Maras2003 avatar Mar 14 '23 07:03 Maras2003