Vendor partition change files

devsx

Senior Member
Sep 5, 2016
76
44
0
I'm looking for a solution to change files in the vendor parition. Is this possible through a magisk module?

I've tried with the attached zip, but that didn't work, in fact it changed nothing.

Installation log:


- Copying zip to temp directory
- Installing enable_volte_pixel_xl_2.zip
- A/B partition detected, current slot: _b
- Mounting /system, /vendor
- Device skip_initramfs detected
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: config.sh
inflating: module.prop
creating: common/
inflating: common/post-fs-data.sh
inflating: common/service.sh
inflating: common/system.prop
*******************************
Installing Pixel XL 2 mcfg_sw VoLTE Enabler
*******************************
******************************
Powered by Magisk (@topjohnwu)
******************************
- Creating /data/adb/magisk_merge.img with size 64M
mke2fs 1.43.3 (04-Sep-2016)
Creating regular file /data/adb/magisk_merge.img
Creating filesystem with 16384 4k blocks and 16384 inodes

Allocating group tables: 0/1 done
Writing inode tables: 0/1 done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/1 done

- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img
- Extracting module files
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
creating: system/
inflating: system/mcfg_sw.mbn
- Setting permissions
- Done
- All done!
 

Attachments

Last edited:

Didgeridoohan

Forum Moderator / Developer Relations
Staff member
May 31, 2012
11,020
10,861
253
Gothenburg
Well... Looking at the attached zip, it's not strange nothing is mounted to /vendor. Your file is placed directly in /system...

You'll have to place it in /system/vendor (and whatever sub-directory of /vendor the file should be in), and Magisk will take care of mounting it to /vendor.

You'll find a little more info on how Magisk modules work here:
https://github.com/topjohnwu/Magisk/blob/master/docs/modules.md
 

devsx

Senior Member
Sep 5, 2016
76
44
0
View attachment enable_volte_pixel_xl_2.zip
Well... Looking at the attached zip, it's not strange nothing is mounted to /vendor. Your file is placed directly in /system...

You'll have to place it in /system/vendor (and whatever sub-directory of /vendor the file should be in), and Magisk will take care of mounting it to /vendor.

You'll find a little more info on how Magisk modules work here:
https://github.com/topjohnwu/Magisk/blob/master/docs/modules.md

Thanks for the tip, the config looks now like this(attached file)

But unfortunately nothing happened.

Magisk log:
01-01 10:33:47.337 716 716 I Magisk : ** Initializing Magisk
01-01 10:33:47.497 716 716 I Magisk : * Creating /sbin overlay
01-01 10:33:47.500 716 716 I Magisk : * Mounting mirrors
01-01 10:33:47.500 716 716 I Magisk : bind_mount: /sbin/.core/mirror/system <- /system_root/system
01-01 10:33:47.500 716 716 I Magisk : mount: /sbin/.core/mirror/vendor <- /dev/block/dm-0
01-01 10:33:47.501 716 716 I Magisk : bind_mount: /sbin/.core/mirror/bin <- /data/adb/magisk
01-01 10:33:47.501 716 716 I Magisk : * Setting up internal busybox
01-01 10:33:47.562 719 719 I Magisk : Magisk v16.4(1642) daemon started
01-01 10:33:47.564 719 727 I Magisk : ** post-fs-data mode running
01-01 10:33:47.565 719 727 I Magisk : * Merging /data/adb/magisk_merge.img -> /data/adb/magisk.img
01-01 10:33:47.703 719 727 I Magisk : Upgrade module: PixelXlMcfgSwVoLteEnabler
01-01 10:33:47.845 719 727 I Magisk : * Mounting /data/adb/magisk.img
01-01 10:33:48.075 719 727 I Magisk : * Running post-fs-data.d scripts
01-01 10:33:48.075 719 727 I Magisk : * Running module post-fs-data scripts
01-01 10:33:48.075 719 727 I Magisk : * Loading modules
01-01 10:33:48.076 719 727 I Magisk : ViPER4AndroidFX: loading [system.prop]
01-01 10:33:48.087 719 727 I Magisk : ViPER4AndroidFX: constructing magic mount structure
01-01 10:33:48.093 719 727 I Magisk : PixelXlMcfgSwVoLteEnabler: constructing magic mount structure
01-01 10:33:48.104 719 727 I Magisk : mnt_tmpfs : /system
01-01 10:33:48.104 719 727 I Magisk : creat_link: /system/vendor <- /sbin/.core/mirror/system/vendor
01-01 10:33:48.105 719 727 I Magisk : bind_mount: /system/etc/audio_effects.conf <- /sbin/.core/img/ViPER4AndroidFX/system/etc/audio_effects.conf
01-01 10:33:48.105 719 727 I Magisk : mnt_tmpfs : /system/etc/permissions
01-01 10:33:48.105 719 727 I Magisk : bind_mount: /system/etc/permissions/privapp-permissions-com.pittvandewitt.viperfx.xml <- /sbin/.core/img/ViPER4AndroidFX/system/etc/permissions/privapp-permissions-com.pittvandewitt.viperfx.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.ims.rcsmanager.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.ims.rcsmanager.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.vzwomatrigger.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.vzwomatrigger.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.omadm.service.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.omadm.service.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/android.software.live_wallpaper.xml <- /sbin/.core/mirror/system/etc/permissions/android.software.live_wallpaper.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.mediadrm.signer.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.mediadrm.signer.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/android.software.webview.xml <- /sbin/.core/mirror/system/etc/permissions/android.software.webview.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/privapp-permissions-google.xml <- /sbin/.core/mirror/system/etc/permissions/privapp-permissions-google.xml
01-01 10:33:48.106 719 727 I Magisk : bind_mount: /system/etc/permissions/com.verizon.apn.xml <- /sbin/.core/mirror/system/etc/permissions/com.verizon.apn.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/com.verizon.embms.xml <- /sbin/.core/mirror/system/etc/permissions/com.verizon.embms.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.android.media.effects.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.android.media.effects.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.android.camera.experimental2017.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.android.camera.experimental2017.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/vzw_mvs_permissions.xml <- /sbin/.core/mirror/system/etc/permissions/vzw_mvs_permissions.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.sdm.plugins.sprintdm.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.sdm.plugins.sprintdm.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/platform.xml <- /sbin/.core/mirror/system/etc/permissions/platform.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/privapp-permissions-wahoo.xml <- /sbin/.core/mirror/system/etc/permissions/privapp-permissions-wahoo.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/privapp-permissions-platform.xml <- /sbin/.core/mirror/system/etc/permissions/privapp-permissions-platform.xml
01-01 10:33:48.107 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.android.maps.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.android.maps.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.customermobile.preload.vzw.xml <- /sbin/.core/mirror/system/etc/permissions/com.customermobile.preload.vzw.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/android.hardware.telephony.euicc.xml <- /sbin/.core/mirror/system/etc/permissions/android.hardware.telephony.euicc.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.verizon.provider.xml <- /sbin/.core/mirror/system/etc/permissions/com.verizon.provider.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.location.provider.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.location.provider.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.vr.platform.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.vr.platform.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/features-verizon.xml <- /sbin/.core/mirror/system/etc/permissions/features-verizon.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/privapp-permissions-aosp_wahoo.xml <- /sbin/.core/mirror/system/etc/permissions/privapp-permissions-aosp_wahoo.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.android.hardwareinfo.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.android.hardwareinfo.xml
01-01 10:33:48.108 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.sdm.plugins.connmo.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.sdm.plugins.connmo.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/com.google.android.dialer.support.xml <- /sbin/.core/mirror/system/etc/permissions/com.google.android.dialer.support.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/com.android.media.remotedisplay.xml <- /sbin/.core/mirror/system/etc/permissions/com.android.media.remotedisplay.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/android.software.preview_sdk.xml <- /sbin/.core/mirror/system/etc/permissions/android.software.preview_sdk.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/obdm_permissions.xml <- /sbin/.core/mirror/system/etc/permissions/obdm_permissions.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/com.verizon.llkagent.xml <- /sbin/.core/mirror/system/etc/permissions/com.verizon.llkagent.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/permissions/com.verizon.services.xml <- /sbin/.core/mirror/system/etc/permissions/com.verizon.services.xml
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/media_profiles_V1_0.dtd <- /sbin/.core/mirror/system/etc/media_profiles_V1_0.dtd
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/treble_sepolicy_tests_27.0 <- /sbin/.core/mirror/system/etc/treble_sepolicy_tests_27.0
01-01 10:33:48.109 719 727 I Magisk : bind_mount: /system/etc/ppp <- /sbin/.core/mirror/system/etc/ppp
01-01 10:33:48.110 719 727 I Magisk : bind_mount: /system/etc/textclassifier <- /sbin/.core/mirror/system/etc/textclassifier
01-01 10:33:48.110 719 727 I Magisk : bind_mount: /system/etc/mke2fs.conf <- /sbin/.core/mirror/system/etc/mke2fs.conf
01-01 10:33:48.110 719 727 I Magisk : bind_mount: /system/etc/security <- /sbin/.core/mirror/system/etc/security
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/old-apns-conf.xml <- /sbin/.core/mirror/system/etc/old-apns-conf.xml
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/bpf <- /sbin/.core/mirror/system/etc/bpf
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/vintf <- /sbin/.core/mirror/system/etc/vintf
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/clatd.conf <- /sbin/.core/mirror/system/etc/clatd.conf
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/treble_sepolicy_tests_26.0 <- /sbin/.core/mirror/system/etc/treble_sepolicy_tests_26.0
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/init <- /sbin/.core/mirror/system/etc/init
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/prop.default <- /sbin/.core/mirror/system/etc/prop.default
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/llndk.libraries.P.txt <- /sbin/.core/mirror/system/etc/llndk.libraries.P.txt
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/selinux <- /sbin/.core/mirror/system/etc/selinux
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/public.libraries.txt <- /sbin/.core/mirror/system/etc/public.libraries.txt
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/fonts.xml <- /sbin/.core/mirror/system/etc/fonts.xml
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/sepolicy_tests <- /sbin/.core/mirror/system/etc/sepolicy_tests
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/ld.config.P.txt <- /sbin/.core/mirror/system/etc/ld.config.P.txt
01-01 10:33:48.111 719 727 I Magisk : bind_mount: /system/etc/update_engine <- /sbin/.core/mirror/system/etc/update_engine
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/fs_config_files <- /sbin/.core/mirror/system/etc/fs_config_files
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/hosts <- /sbin/.core/mirror/system/etc/hosts
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/mkshrc <- /sbin/.core/mirror/system/etc/mkshrc
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/fs_config_dirs <- /sbin/.core/mirror/system/etc/fs_config_dirs
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/NOTICE.xml.gz <- /sbin/.core/mirror/system/etc/NOTICE.xml.gz
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/preloaded-classes <- /sbin/.core/mirror/system/etc/preloaded-classes
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/ambient <- /sbin/.core/mirror/system/etc/ambient
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/vndksp.libraries.P.txt <- /sbin/.core/mirror/system/etc/vndksp.libraries.P.txt
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/preferred-apps <- /sbin/.core/mirror/system/etc/preferred-apps
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/libnfc-nci.conf <- /sbin/.core/mirror/system/etc/libnfc-nci.conf
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/dirty-image-objects <- /sbin/.core/mirror/system/etc/dirty-image-objects
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/event-log-tags <- /sbin/.core/mirror/system/etc/event-log-tags
01-01 10:33:48.112 719 727 I Magisk : bind_mount: /system/etc/cne <- /sbin/.core/mirror/system/etc/cne
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/firmware <- /sbin/.core/mirror/system/etc/firmware
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/bluetooth <- /sbin/.core/mirror/system/etc/bluetooth
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/sysconfig <- /sbin/.core/mirror/system/etc/sysconfig
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/xtables.lock <- /sbin/.core/mirror/system/etc/xtables.lock
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/seccomp_policy <- /sbin/.core/mirror/system/etc/seccomp_policy
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/boot-image.prof <- /sbin/.core/mirror/system/etc/boot-image.prof
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/apns-conf.xml <- /sbin/.core/mirror/system/etc/apns-conf.xml
01-01 10:33:48.113 719 727 I Magisk : bind_mount: /system/etc/gps_debug.conf <- /sbin/.core/mirror/system/etc/gps_debug.conf
01-01 10:33:48.114 719 727 I Magisk : mnt_tmpfs : /system/priv-app
01-01 10:33:48.114 719 727 I Magisk : bind_mount: /system/priv-app/ViPER4AndroidFX <- /sbin/.core/img/ViPER4AndroidFX/system/priv-app/ViPER4AndroidFX
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/Asdiv <- /sbin/.core/mirror/system/priv-app/Asdiv
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/StorageManagerGoogle <- /sbin/.core/mirror/system/priv-app/StorageManagerGoogle
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/SetupWizard <- /sbin/.core/mirror/system/priv-app/SetupWizard
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/VzwOmaTrigger <- /sbin/.core/mirror/system/priv-app/VzwOmaTrigger
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/SprintDM <- /sbin/.core/mirror/system/priv-app/SprintDM
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/Shell <- /sbin/.core/mirror/system/priv-app/Shell
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/TetheringEntitlement <- /sbin/.core/mirror/system/priv-app/TetheringEntitlement
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/CtsShimPrivPrebuilt <- /sbin/.core/mirror/system/priv-app/CtsShimPrivPrebuilt
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/MtpDocumentsProvider <- /sbin/.core/mirror/system/priv-app/MtpDocumentsProvider
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/Velvet <- /sbin/.core/mirror/system/priv-app/Velvet
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/TimeZoneUpdater <- /sbin/.core/mirror/system/priv-app/TimeZoneUpdater
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/ExternalStorageProvider <- /sbin/.core/mirror/system/priv-app/ExternalStorageProvider
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/MyVerizonServices <- /sbin/.core/mirror/system/priv-app/MyVerizonServices
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/WellbeingPrebuilt <- /sbin/.core/mirror/system/priv-app/WellbeingPrebuilt
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/MediaProvider <- /sbin/.core/mirror/system/priv-app/MediaProvider
01-01 10:33:48.115 719 727 I Magisk : bind_mount: /system/priv-app/HotwordEnrollmentXGoogleWCD9340 <- /sbin/.core/mirror/system/priv-app/HotwordEnrollmentXGoogleWCD9340
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/StatementService <- /sbin/.core/mirror/system/priv-app/StatementService
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/AppDirectedSMSService <- /sbin/.core/mirror/system/priv-app/AppDirectedSMSService
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/SettingsProvider <- /sbin/.core/mirror/system/priv-app/SettingsProvider
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/TurboPrebuilt <- /sbin/.core/mirror/system/priv-app/TurboPrebuilt
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/BlockedNumberProvider <- /sbin/.core/mirror/system/priv-app/BlockedNumberProvider
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/GmsCoreSetupPrebuilt <- /sbin/.core/mirror/system/priv-app/GmsCoreSetupPrebuilt
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/GoogleFeedback <- /sbin/.core/mirror/system/priv-app/GoogleFeedback
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/VerizonAuthDialog <- /sbin/.core/mirror/system/priv-app/VerizonAuthDialog
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/qcrilmsgtunnel <- /sbin/.core/mirror/system/priv-app/qcrilmsgtunnel
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/ConfigUpdater <- /sbin/.core/mirror/system/priv-app/ConfigUpdater
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/DiagMon <- /sbin/.core/mirror/system/priv-app/DiagMon
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/SharedStorageBackup <- /sbin/.core/mirror/system/priv-app/SharedStorageBackup
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/HelpRtcPrebuilt <- /sbin/.core/mirror/system/priv-app/HelpRtcPrebuilt
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/BackupRestoreConfirmation <- /sbin/.core/mirror/system/priv-app/BackupRestoreConfirmation
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/HotwordEnrollmentTGoogleWCD9340 <- /sbin/.core/mirror/system/priv-app/HotwordEnrollmentTGoogleWCD9340
01-01 10:33:48.116 719 727 I Magisk : bind_mount: /system/priv-app/OTAConfigPrebuilt <- /sbin/.core/mirror/system/priv-app/OTAConfigPrebuilt
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/GmsCoreSidecarPrebuilt <- /sbin/.core/mirror/system/priv-app/GmsCoreSidecarPrebuilt
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/DownloadProvider <- /sbin/.core/mirror/system/priv-app/DownloadProvider
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/MmsService <- /sbin/.core/mirror/system/priv-app/MmsService
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/ConnMO <- /sbin/.core/mirror/system/priv-app/ConnMO
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/Showcase <- /sbin/.core/mirror/system/priv-app/Showcase
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/Telecom <- /sbin/.core/mirror/system/priv-app/Telecom
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/GCS <- /sbin/.core/mirror/system/priv-app/GCS
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/WfcActivation <- /sbin/.core/mirror/system/priv-app/WfcActivation
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/ConnMetrics <- /sbin/.core/mirror/system/priv-app/ConnMetrics
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/SprintHM <- /sbin/.core/mirror/system/priv-app/SprintHM
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/EmergencyInfo <- /sbin/.core/mirror/system/priv-app/EmergencyInfo
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/MusicFX <- /sbin/.core/mirror/system/priv-app/MusicFX
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/WallpaperPickerGooglePrebuilt <- /sbin/.core/mirror/system/priv-app/WallpaperPickerGooglePrebuilt
01-01 10:33:48.117 719 727 I Magisk : bind_mount: /system/priv-app/AndroidMigratePrebuilt <- /sbin/.core/mirror/system/priv-app/
 
Last edited:

Didgeridoohan

Forum Moderator / Developer Relations
Staff member
May 31, 2012
11,020
10,861
253
Gothenburg
Ah... I just noticed what you're doing and why it's not working as you expect. I didn't see what you'd done to config.sh earlier...

In the system directory in the module you need to mirror the directory structure to the file you're trying to replace. So:
Code:
<MODULE>/system/vendor/mbn/mcfg/configs/mcfg_sw/generic/common/WildCard/WildCard/mcfg_sw.mbn
<MODULE>/system/vendor/mbn/mcfg/configs/mcfg_sw/generic/common/PixelLite/Commercial/mcfg_sw.mbn
The REPLACE part in config.sh is only used to replace a directory in /system or /vendor with an empty directory. Useful for debloating system apps or clearing out the directory for any other files than the ones you mount with the module.

What you're basically doing with your module is that you mount your file directly to the root of /system, and then you also create two empty folders named "mcfg_sw.mbn" in the directory structures you've put in config.sh.

Remove the stuff from REPLACE in config.sh and create the proper directory structures in the module system folder and you should be good to go.

Here's the relevant part is the documentation that's mentioned in config.sh for the REPLACE part:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#remove-folders

Edit: oh yeah... If you're gonna post a log output directly in the post like that, at least use hide tags, please. Better yet, attach the file to the post.
 

devsx

Senior Member
Sep 5, 2016
76
44
0
Okey, so the only thing I now did is:
-Place the folder structure in the system folder
-Remove the replace code in the script

Do I need to delete the existing files in the vendor partition or does the module overwrite the existing files?
 

Didgeridoohan

Forum Moderator / Developer Relations
Staff member
May 31, 2012
11,020
10,861
253
Gothenburg
Okey, so the only thing I now did is:
-Place the folder structure in the system folder
-Remove the replace code in the script

Do I need to delete the existing files in the vendor partition or does the module overwrite the existing files?
Don't delete anything. Magisk will mount new files over any already existing files.