redroid-script
redroid-script copied to clipboard
redroid12 打包好magisk的镜像后,启动后并没有成功安装
1、uname -a
Linux orangepi5plus 5.10.110-rockchip-rk3588 #1.0.6 SMP Thu Jun 1 00:04:22 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
2、打包命令:
python redroid.py -a 12.0.0 -m
3、启动容器:
docker run -itd --rm --privileged -p 50:5555 redroid/redroid:12.0.0_magisk
4、docker exec XXX logcat | grep "magisk"
看起来初始化的时候有个只读的错误,尝试过chmod 775 -R /sbin
,执行成功后重启设备依然无法解决
07-27 16:07:47.911 0 0 I init : starting service 'exec 85 (/sbin/magisk --auto-selinux --zygote-restart)'...
07-27 16:07:47.913 0 0 E init : createProcessGroup(0, 991) failed for service 'exec 85 (/sbin/magisk --auto-selinux --zygote-restart)': Read-only file system
07-27 16:07:47.913 0 0 I init : SVC_EXEC service 'exec 85 (/sbin/magisk --auto-selinux --zygote-restart)' pid 991 (uid 0 gid 0+0 context u:r:su:s0) started; waiting...
07-27 16:07:47.922 0 0 I init : Service 'exec 85 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 991) exited with status 0 waiting took 0.009000 seconds
07-27 16:07:47.922 0 0 I init : Sending signal 9 to service 'exec 85 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 991) process group...
07-27 16:07:52.880 0 0 I init : starting service 'exec 87 (/sbin/magisk --auto-selinux --zygote-restart)'...
07-27 16:07:52.881 0 0 E init : createProcessGroup(0, 1015) failed for service 'exec 87 (/sbin/magisk --auto-selinux --zygote-restart)': Read-only file system
07-27 16:07:52.881 0 0 I init : SVC_EXEC service 'exec 87 (/sbin/magisk --auto-selinux --zygote-restart)' pid 1015 (uid 0 gid 0+0 context u:r:su:s0) started; waiting...
07-27 16:07:52.891 0 0 I init : Service 'exec 87 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1015) exited with status 0 waiting took 0.009000 seconds
07-27 16:07:52.891 0 0 I init : Sending signal 9 to service 'exec 87 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1015) process group...
07-27 16:07:57.892 0 0 I init : starting service 'exec 89 (/sbin/magisk --auto-selinux --zygote-restart)'...
07-27 16:07:57.894 0 0 E init : createProcessGroup(0, 1039) failed for service 'exec 89 (/sbin/magisk --auto-selinux --zygote-restart)': Read-only file system
07-27 16:07:57.894 0 0 I init : SVC_EXEC service 'exec 89 (/sbin/magisk --auto-selinux --zygote-restart)' pid 1039 (uid 0 gid 0+0 context u:r:su:s0) started; waiting...
07-27 16:07:57.903 0 0 I init : Service 'exec 89 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1039) exited with status 0 waiting took 0.009000 seconds
07-27 16:07:57.903 0 0 I init : Sending signal 9 to service 'exec 89 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1039) process group...
07-27 16:08:02.909 0 0 I init : starting service 'exec 91 (/sbin/magisk --auto-selinux --zygote-restart)'...
07-27 16:08:02.910 0 0 E init : createProcessGroup(0, 1060) failed for service 'exec 91 (/sbin/magisk --auto-selinux --zygote-restart)': Read-only file system
07-27 16:08:02.910 0 0 I init : SVC_EXEC service 'exec 91 (/sbin/magisk --auto-selinux --zygote-restart)' pid 1060 (uid 0 gid 0+0 context u:r:su:s0) started; waiting...
07-27 16:08:02.921 0 0 I init : Service 'exec 91 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1060) exited with status 0 waiting took 0.010000 seconds
07-27 16:08:02.921 0 0 I init : Sending signal 9 to service 'exec 91 (/sbin/magisk --auto-selinux --zygote-restart)' (pid 1060) process group...
07-27 16:55:05.738 340 438 I PackageDexOptimizer: Running dexopt (dexoptNeeded=1) on: /data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk pkg=com.topjohnwu.magisk isa=arm dexoptFlags=boot_complete,profile_guided,public,enable_hidden_api_checks targetFilter=speed-profile oatDir=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/oat classLoaderContext=PCL[]{}
07-27 16:55:05.740 151 362 V installd: DexInv: --- BEGIN '/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk' ---
07-27 16:55:05.740 151 362 V installd: Running /apex/com.android.art/bin/dex2oat32 in=base.apk out=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/oat/arm/base.odex
07-27 16:55:05.773 1641 1641 I dex2oat32: /apex/com.android.art/bin/dex2oat32 --input-vdex-fd=-1 --output-vdex-fd=8 --classpath-dir=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA== --class-loader-context=PCL[]{} --compact-dex-level=none --compiler-filter=speed-profile --compilation-reason=install --max-image-block-size=524288 --resolve-startup-const-strings=true --generate-mini-debug-info
07-27 16:55:06.155 151 362 V installd: DexInv: --- END '/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk' (success) ---
07-27 16:55:06.167 340 438 I PackageDexOptimizer: Running dexopt (dexoptNeeded=1) on: /data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk pkg=com.topjohnwu.magisk isa=arm64 dexoptFlags=boot_complete,profile_guided,public,enable_hidden_api_checks targetFilter=speed-profile oatDir=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/oat classLoaderContext=PCL[]{}
07-27 16:55:06.168 151 362 V installd: DexInv: --- BEGIN '/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk' ---
07-27 16:55:06.168 151 362 V installd: Running /apex/com.android.art/bin/dex2oat32 in=base.apk out=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/oat/arm64/base.odex
07-27 16:55:06.215 1733 1733 I dex2oat32: /apex/com.android.art/bin/dex2oat32 --input-vdex-fd=-1 --output-vdex-fd=8 --classpath-dir=/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA== --class-loader-context=PCL[]{} --compact-dex-level=none --compiler-filter=speed-profile --compilation-reason=install --max-image-block-size=524288 --resolve-startup-const-strings=true --generate-mini-debug-info
07-27 16:55:06.523 151 362 V installd: DexInv: --- END '/data/app/~~3Dl9RFTju7wuHaD6O8Eg4g==/com.topjohnwu.magisk-LQ_NlHc26H4H8-rxGzs4bA==/base.apk' (success) ---
07-27 16:55:06.546 340 438 V BackupManagerService: [UserID:0] restoreAtInstall pkg=com.topjohnwu.magisk token=1 restoreSet=0
07-27 16:55:06.562 1304 1304 I MediaProvider: Invalidating LocalCallingIdentity cache for package com.topjohnwu.magisk. Reason: package android.intent.action.PACKAGE_ADDED
07-27 16:55:06.706 340 408 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.topjohnwu.magisk flg=0x4000010 (has extras) } to com.android.packageinstaller/.PackageInstalledReceiver
07-27 16:55:06.706 340 420 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.topjohnwu.magisk flg=0x4000010 (has extras) } to com.android.gallery3d/.app.PackagesMonitor