Magisk installed to recovery partition on a A-Only system as root mediatek device. The device has no signal, and no IMEI number. Wifi works.
Tried all versions including stable/beta/canary/canary debug/ianmacd latest. No modules are installed. Attempting to dial a number says "Mobile network not available"
Dmesg is full of the following error:
[33.239513] [1:init] Could not find service hosting interface vendor.mediatek.hardware.[email protected]::IRadio/imsrild1
[33.240113] [1:init] Received control message from 'interface'start' for 'vendor.mediatek.hardware.[email protected]::IRadio/imsrild1' from pid: 337 (/system/bin/hwservicemanager)
This seems an awful lot like a ROM issue
Are you on stock? Did you only flash magisk, did you modify ANYTHING else?
Because I've never seen magisk cause this....
And BTW what device?
The rom is completely stock, there are no custom roms for my device or TWRP.
It is a Nokia 1 Plus running Android 9 Go Edition. It came with Android 9 so has A only system-as-root. The boot.img doesn't contain a ramdisk and magisk doesn't work if i try to patch the boot.img
Same phone, (possibly) same rom and same issue on magisk 16b40096.
All logs gathered with SysLog app and magisk logs:
https://gist.github.com/nebulakl/fe94a607a5188feeae942c384234ae9f
stock firmware package that may help analyze the issue
https://drive.google.com/open?id=1ZNEgRw33-4DlLkY6S_DbytOaZpaBprsh
Having same issue on infinix smart 3 plus x627 on pie please solve this issue
I have the same issue on Redmi Note 8 pro
I used magisk manager to patch the stock boot.img with the recovery option and dm-verity off and flashed it with fastboot to the recovery partition (any other option caused a bootloop)
Can confirm Magisk v20.1 completely breaks the radio on Essential phone with stock Android 9, strangely it fixed it on some Android Q custom ROMs and stock betas but all of this is paranormal 馃槀
Out of curiosity, while unrooted with radio working can you adb shell into the ROM that Magisk was breaking radio for and give the output of mount ?
mount output while radio is working:
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
/dev/block/dm-0 on /vendor type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/dev/block/dm-1 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=reuse,fsync_mode=posix)
/dev/block/dm-2 on /mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa type f2fs (rw,dirsync,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/block/mmcblk0p10 on /mnt/vendor/protect_s type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p12 on /mnt/vendor/persist type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p14 on /vendor/BBSYS type ext4 (rw,context=u:object_r:bbs_file:s0,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p19 on /vendor/elabel type ext4 (rw,context=u:object_r:fih_elabel_data_file:s0,nosuid,nodev,noatime,block_validity,delalloc,barrier,user_xattr)
/dev/block/mmcblk0p39 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/mmcblk0p6 on /mnt/vendor/nvcfg type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p7 on /mnt/vendor/nvdata type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/mmcblk0p9 on /mnt/vendor/protect_f type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
/dev/root on / type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /storage/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
none on /acct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
none on /config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
none on /dev/memcg type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
none on /dev/stune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
pstore on /sys/fs/pstore type pstore (rw,seclabel,nosuid,nodev,noexec,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=462448k,nr_inodes=115612,mode=755)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=462448k,nr_inodes=115612,mode=755,gid=1000)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=462448k,nr_inodes=115612,mode=755,gid=1000)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime)
Thank you, and now for comparison, the same command with latest Magisk Canary flashed and mobile data broken?
mount output with magisk and broken radio:
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
/dev/block/dm-0 on /vendor type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/dev/block/dm-1 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=reuse,fsync_mode=posix)
/dev/block/dm-2 on /mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa type f2fs (rw,dirsync,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/block/mmcblk0p10 on /mnt/vendor/protect_s type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p12 on /mnt/vendor/persist type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p14 on /vendor/BBSYS type ext4 (rw,context=u:object_r:bbs_file:s0,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p19 on /vendor/elabel type ext4 (rw,context=u:object_r:fih_elabel_data_file:s0,nosuid,nodev,noatime,block_validity,delalloc,barrier,user_xattr)
/dev/block/mmcblk0p39 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/mmcblk0p6 on /mnt/vendor/nvcfg type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/mmcblk0p7 on /mnt/vendor/nvdata type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/mmcblk0p9 on /mnt/vendor/protect_f type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
/dev/root on / type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal)
/mnt/expand/bc9c63a3-cc24-4226-a75c-d9a939d341aa/media on /storage/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
none on /acct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
none on /config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
none on /dev/memcg type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
none on /dev/stune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
pstore on /sys/fs/pstore type pstore (rw,seclabel,nosuid,nodev,noexec,relatime)
/sbin/.magisk/block/data on /sbin/.magisk/mirror/data type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=reuse,fsync_mode=posix)
/sbin/.magisk/block/system_root on /sbin/charger type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/sbin/.magisk/block/system_root on /sbin/.magisk/mirror/system_root type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
/sbin/.magisk/block/vendor on /sbin/.magisk/mirror/vendor type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
tmpfs on /sbin type tmpfs (rw,seclabel,relatime,mode=755)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime)
Interestingly, despite Magisk Manager shows Magisk is up to date, I was not able to gain root access.
Magisk Manager also shows my device requires additional setup but whenever I tap ok I only get setup failed message.


Probably nothing of relevance but here's the diff of the working and broken mount outputs:
$ diff working.txt broken.txt
27a28,31
> /sbin/.magisk/block/data on /sbin/.magisk/mirror/data type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=reuse,fsync_mode=posix)
> /sbin/.magisk/block/system_root on /sbin/charger type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
> /sbin/.magisk/block/system_root on /sbin/.magisk/mirror/system_root type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
> /sbin/.magisk/block/vendor on /sbin/.magisk/mirror/vendor type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
30,32c34,37
< tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=462448k,nr_inodes=115612,mode=755)
< tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=462448k,nr_inodes=115612,mode=755,gid=1000)
< tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=462448k,nr_inodes=115612,mode=755,gid=1000)
---
> tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
> tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
> tmpfs on /sbin type tmpfs (rw,seclabel,relatime,mode=755)
> tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
Interestingly, despite Magisk Manager shows Magisk is up to date, I was not able to gain root access.
Magisk Manager also shows my device requires additional setup but whenever I tap ok I only get setup failed message.
Just keep trying setup, sometimes takes a couple tries. But anyhow that's outside the scope of this issue, open another one if you continue to have issues @nebulakl
Have you flashed dm-verity disabler anytime? last time I had problem with that.
Just incase you flashed dm-verity disabler, I have the fix for it.
Why was this issue closed? I have the same problem on a clean, source-built MediaTek MT6739 system running SAR Android 9!
Why was this issue closed? I have the same problem on a clean, source-built MediaTek MT6739 system running SAR Android 9!
It might be because the proper init files are not being called when booting from the recovery partition instead of the normal boot partition using system-as-root? Looking into it now.
I've taken a radio logcat with and without magisk, and noticed that NVRAM and RILMUXD, services that are started by the init files, are not logged when running Magisk from the recovery partition.
I guess it must be a Mediatek problem
Samsung A10s, A-Only, System As Root and Android 9 also experiences this
When you reboot normally, signal returns but you lose Magisk of course
When you reboot + Magisk by using recovery hot keys, Magisk works but signal is gone
infinix smart 4 x653 same problem.Any fix for this ?