wchen342 / Magisk-SDMount

Magisk module to mount SD card to internal storage.
Other
4 stars 1 forks source link

Not working on Lenovo Tab 4 running LineageOS 16 #1

Open hbarsaiyan opened 3 years ago

hbarsaiyan commented 3 years ago

Two folders named Mount_A and Mount_B have been created but both of them are empty.

wchen342 commented 3 years ago

You need to figure out your SD card mounted device name yourself because it changes from device to device. See https://github.com/AdrienPoupa/VinylMusicPlayer/issues/248#issuecomment-727053535.

hbarsaiyan commented 3 years ago

Thanks for the info. I changed that bit but still the folder is empty even though it has been mounted:

/dev/block/vold/public:179,65 on /storage/emulated/0/Mount_A type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro)

wchen342 commented 3 years ago

Magisk should have a log showing what was going on during the boot. What does the log say?

hbarsaiyan commented 3 years ago
10-23 02:39:33.723   380   380 I : Magisk 21.4(21400) daemon started
10-23 02:39:33.723   380   380 I : * Device API level: 28
10-23 02:39:38.663   380   635 I : ** post-fs-data mode running
10-23 02:39:38.666   380   635 I : * Mounting mirrors
10-23 02:39:38.667   380   635 I : mount: /sbin/.magisk/mirror/system
10-23 02:39:38.667   380   635 I : link: /sbin/.magisk/mirror/persist
10-23 02:39:38.668   380   635 I : link: /sbin/.magisk/mirror/cache
10-23 02:39:38.668   380   635 E : symlink /persist->/sbin/.magisk/mirror/persist failed with 17: File exists
10-23 02:39:38.668   380   635 I : link: /sbin/.magisk/mirror/persist
10-23 02:39:38.668   380   635 I : mount: /sbin/.magisk/mirror/data
10-23 02:39:38.668   380   635 I : link: /sbin/.magisk/mirror/vendor
10-23 02:39:38.668   380   635 I : link: /sbin/.magisk/mirror/product
10-23 02:39:38.669   380   635 I : * Initializing Magisk environment
10-23 02:39:39.143   380   635 I : * Running post-fs-data.d scripts
10-23 02:39:39.164   380   635 I : * Enable MagiskHide
10-23 02:39:39.164   380   635 I : hide_list add: [com.google.android.gms/com.google.android.gms.unstable]
10-23 02:39:39.185   380   635 I : hide_list add: [org.microg.gms.droidguard/com.google.android.gms.unstable]
10-23 02:39:39.198   380   635 I : hide: Hiding sensitive props
10-23 02:39:39.228   380   635 I : Upgrade / New module: MountSDInEmulated0
10-23 02:39:39.254   380   635 I : * Running module post-fs-data scripts
10-23 02:39:39.257   380   635 I : * Loading modules
10-23 02:39:39.257   380   635 I : NanoDroid_Patcher: loading mount files
10-23 02:39:39.257   380   635 I : MinMicroG: loading mount files
10-23 08:09:40.315   380   755 I : ** late_start service mode running
10-23 08:09:40.316   380   755 I : * Running service.d scripts
10-23 08:09:40.337   380   755 I : service.d: exec [vanced.sh]
10-23 08:09:40.375   380   755 I : service.d: exec [music.sh]
10-23 08:09:40.457   380   755 I : * Running module service scripts
10-23 08:09:40.457   380   755 I : MountSDInEmulated0: exec [service.sh]
10-23 08:09:40.498   380   755 I : MinMicroG: exec [service.sh]
02-04 20:55:05.959   380  2400 I : ** boot_complete triggered
02-04 20:55:05.960   380  2400 I : hide: Hiding sensitive props (late)
wchen342 commented 3 years ago

It seems the logging is not working. I am not sure what was going on there. What if you do the mounting manually as the link I posted above? Does that work?