Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magisk N/A, can't execute su #3

Closed
ankkax opened this issue Jan 4, 2023 · 4 comments
Closed

Magisk N/A, can't execute su #3

ankkax opened this issue Jan 4, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@ankkax
Copy link

ankkax commented Jan 4, 2023

Tried to install with this script to latest waydroid and it says Magisk N/A , I guess it has something to do with libprocessgroup: Failed to make and chown /acct/uid_0: Read-only file system but I hope you can help me to figure it out. :)

  • Distro: arch
  • Kernel: 6.1.2-zen1-1-zen
  • Waydroid version: 1.3.4

DMESG:

[ 1314.601686] init: createProcessGroup(0, 57) failed for service 'exec 8 (/system/etc/init/magisk/magisk64 --setup-sbin /system/etc/init/magisk)': Read-only file system
[ 1314.601694] init: SVC_EXEC service 'exec 8 (/system/etc/init/magisk/magisk64 --setup-sbin /system/etc/init/magisk)' pid 57 (uid 0 gid 0+0 context default) started; waiting...
[ 1314.605282] init: Service 'exec 8 (/system/etc/init/magisk/magisk64 --setup-sbin /system/etc/init/magisk)' (pid 57) exited with status 0 waiting took 0.003000 seconds
[ 1314.605289] init: Sending signal 9 to service 'exec 8 (/system/etc/init/magisk/magisk64 --setup-sbin /system/etc/init/magisk)' (pid 57) process group...
[ 1314.605307] libprocessgroup: Successfully killed process cgroup uid 0 pid 57 in 0ms
[ 1314.606032] init: starting service 'exec 9 (/system/etc/init/magisk/magiskpolicy --live --magisk allow * magisk_file lnk_file *)'...
[ 1314.606400] libprocessgroup: Failed to make and chown /acct/uid_0: Read-only file system
[ 1314.606409] init: createProcessGroup(0, 58) failed for service 'exec 9 (/system/etc/init/magisk/magiskpolicy --live --magisk allow * magisk_file lnk_file *)': Read-only file system
[ 1314.606414] init: SVC_EXEC service 'exec 9 (/system/etc/init/magisk/magiskpolicy --live --magisk allow * magisk_file lnk_file *)' pid 58 (uid 0 gid 0+0 context default) started; waiting...
[ 1314.608776] init: Service 'exec 9 (/system/etc/init/magisk/magiskpolicy --live --magisk allow * magisk_file lnk_file *)' (pid 58) exited with status 1 waiting took 0.002000 seconds
[ 1314.608782] init: Sending signal 9 to service 'exec 9 (/system/etc/init/magisk/magiskpolicy --live --magisk allow * magisk_file lnk_file *)' (pid 58) process group...
[ 1314.608801] libprocessgroup: Successfully killed process cgroup uid 0 pid 58 in 0ms
[ 1314.608978] init: Command 'copy /system/etc/init/magisk/config /sbin/.magisk/config' action=post-fs-data (/system/etc/init/bootanim.rc:17) took 0ms and failed: Could not read input file '/system/etc/init/magisk/config': open() failed: No such file or directory
[ 1314.608993] init: Command 'rm /dev/.magisk_unblock' action=post-fs-data (/system/etc/init/bootanim.rc:18) took 0ms and failed: unlink() failed: No such file or directory
[ 1314.609007] init: starting service '2GAeIByHfo9egB8DTKqa'...
[ 1314.609472] libprocessgroup: Failed to make and chown /acct/uid_0: Read-only file system
[ 1314.609482] init: createProcessGroup(0, 59) failed for service '2GAeIByHfo9egB8DTKqa': Read-only file system
[ 1314.623168] DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[ 1314.623216] DEBUG: LineageOS Version: '18.1-20221231-VANILLA-waydroid_x86_64'
[ 1314.623239] DEBUG: Build fingerprint: 'waydroid/lineage_waydroid_x86_64/waydroid_x86_64:11/RQ3A.211001.001/9:userdebug/test-keys'
[ 1314.623260] DEBUG: Revision: '0'
[ 1314.623281] DEBUG: ABI: 'x86_64'
[ 1314.623324] DEBUG: Timestamp: 2023-01-04 13:10:56+0000
[ 1314.623345] DEBUG: pid: 61, tid: 61, name: magiskd  >>> magiskd <<<
[ 1314.623365] DEBUG: uid: 0
[ 1314.623385] DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
[ 1314.623419] DEBUG: Abort message: 'stack corruption detected (-fstack-protector)'
[ 1314.623443] DEBUG:     rax 0000000000000000  rbx 000000000000003d  rcx 00007f90c4a66758  rdx 0000000000000006
[ 1314.623464] DEBUG:     r8  0000000000000002  r9  0000000000000002  r10 00007ffe9ca7f1c0  r11 0000000000000246
[ 1314.623485] DEBUG:     r12 0000000000000009  r13 0000000000000000  r14 00007ffe9ca7f1b8  r15 000000000000003d
[ 1314.623506] DEBUG:     rdi 000000000000003d  rsi 000000000000003d
[ 1314.623526] DEBUG:     rbp 000000000000000d  rsp 00007ffe9ca7f1a8  rip 00007f90c4a66758
[ 1314.623829] DEBUG: 
[ 1314.623831] DEBUG: backtrace:
[ 1314.623866] DEBUG:       #00 pc 000000000009d758  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+24) (BuildId: 082396c74061b06f8ce2a645b3a60e84)
[ 1314.623890] DEBUG:       #01 pc 00000000000a06c2  /apex/com.android.runtime/lib64/bionic/libc.so (abort+194) (BuildId: 082396c74061b06f8ce2a645b3a60e84)
[ 1314.623913] DEBUG:       #02 pc 00000000000b5433  /apex/com.android.runtime/lib64/bionic/libc.so (__stack_chk_fail+19) (BuildId: 082396c74061b06f8ce2a645b3a60e84)
[ 1314.623959] DEBUG:       #03 pc 000000000001fc0f  /sbin/magisk64 (BuildId: 0b2a2086ec4ceaea0248c90554def8726a1740dc)
[ 1314.623986] DEBUG:       #04 pc 000000000001fd01  /sbin/magisk64 (BuildId: 0b2a2086ec4ceaea0248c90554def8726a1740dc)
[ 1314.624018] DEBUG:       #05 pc 000000000001f649  /sbin/magisk64 (BuildId: 0b2a2086ec4ceaea0248c90554def8726a1740dc)
[ 1314.624041] DEBUG:       #06 pc 000000000001d204  /sbin/magisk64 (BuildId: 0b2a2086ec4ceaea0248c90554def8726a1740dc)
[ 1314.624064] DEBUG:       #07 pc 0000000000093c88  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+104) (BuildId: 082396c74061b06f8ce2a645b3a60e84)
[ 1324.366371] kauditd_printk_skb: 11 callbacks suppressed```
@nitanmarcel
Copy link
Owner

nitanmarcel commented Jan 4, 2023

https://github.com/nitanmarcel/waydroid-magisk-installer#magisk-was-installed-but-i-have-no-root

Try changing kernels or os. nothing we can do regarding this

@nitanmarcel nitanmarcel added the wontfix This will not be worked on label Jan 4, 2023
@nitanmarcel
Copy link
Owner

nitanmarcel commented Jan 4, 2023

@ankkax someone mentioned on Telegram that it might have found a fix.

Please try to install xanmod kernel from chaotic aur with kernel parameter psi=1

Thanks

@ankkax
Copy link
Author

ankkax commented Jan 4, 2023

yes it was me I have different nick in telegram, should have updated here earlier. :) I should add that I installed kernel packages from chaotic AUR linux-xanmod-anbox and linux-xanmod-anbox-headers. I'm not sure if default xanmod kernel works, I have not tried.

@nitanmarcel
Copy link
Owner

yes it was me I have different nick in telegram, should have updated here earlier. :) I should add that I installed kernel packages from chaotic AUR linux-xanmod-anbox and linux-xanmod-anbox-headers. I'm not sure if default xanmod kernel works, I have not tried.

Thanks for mentioning. Added it to our README

https://github.com/nitanmarcel/waydroid-magisk-installer/tree/waydroid-1-4#arch-linux

@nitanmarcel nitanmarcel added documentation Improvements or additions to documentation and removed wontfix This will not be worked on labels Jan 5, 2023
@nitanmarcel nitanmarcel reopened this Jan 27, 2023
@nitanmarcel nitanmarcel pinned this issue Jan 27, 2023
Repository owner locked and limited conversation to collaborators Jan 27, 2023
@nitanmarcel nitanmarcel changed the title Magisk N/A Arch Linux Magisk N/A, cant execute su Feb 10, 2023
@nitanmarcel nitanmarcel changed the title Magisk N/A, cant execute su Magisk N/A, can't execute su Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants