supechicken / ChromeOS-ARCVM-Root

Scripts for rooting ChromeOS ARCVM-based Android subsystem (Android 11+)
GNU General Public License v3.0
34 stars 6 forks source link

The script doesn't seem to work on arm devices #6

Open asahiba opened 8 months ago

asahiba commented 8 months ago

277170372-ce0532cb-242b-4b1c-89c9-4a2be4aa2653

supechicken commented 8 months ago

This script does not have ARM support at this moment. (I don't have an ARM device to test it and there are no prebuilt KernelSU image for ARM64 ARCVM)

supechicken commented 8 months ago

(However, you might try compiling the kernel with KernelSU from the source and replace the kernel by yourself if you are interested)

asahiba commented 8 months ago

(However, you might try compiling the kernel with KernelSU from the source and replace the kernel by yourself if you are interested)

好吧 我试过编译 但是我的Chromebook的Linux虚拟机无法安装repo

asahiba commented 8 months ago

似乎是找不到软件包 我会继续尝试

asahiba commented 8 months ago

image 这一步需要改成什么呢

YsLtr commented 2 months ago

Yeah, I tried to do it on my arm chromebook but it make my android container broken. Luckily, I fixed through unroot.sh. So I need to compile the KernelSU myself for a arm64 devices, I think.

And maybe you should use English in this issue, otherwise developer may disunderstand you. 不用英文提问的话,开发者可能看不懂你在说什么。

YsLtr commented 2 months ago

image 这一步需要改成什么呢

或许应该把x86_64改为arm64,但也许默认配置文件中不包含ARM64架构的arcvm版本

YsLtr commented 2 months ago

This script does not have ARM support at this moment. (I don't have an ARM device to test it and there are no prebuilt KernelSU image for ARM64 ARCVM)

In my device, I tried to change the appointed partition to partition 2 when disable rootFS verification, and it succesed. But after replace kernel, the Android didn't success to restart after chromeOS was reboot.

Reviewed the root.sh, and I found there's no Kernel compiled with arm64 platform in arcvm.

supechicken commented 2 months ago

@asahiba 抱歉,我剛剛才看到你的留言😅

不用英文提问的话,开发者可能看不懂你在说什么。

沒事我看的懂,現在github上的人一上來就講中文,不會點中文怎麼能行

你可以參考下https://github.com/supechicken/ChromeOS-ARCVM-Root/issues/3#issuecomment-2030039957 ,arm 版的 ARCVM 有自己的 config

Reviewed the root.sh, and I found there's no Kernel compiled with arm64 platform in arcvm.

可能chrome os真的沒多少人用吧,那個 x86_64 的 workflow 是我加的,不過已經半年沒更新了。隔壁 wsa 的更新相比起來勤力多了

YsLtr commented 2 months ago

几天尝试之后,arm arcvm的编译还是没有进展。在用了最新PR的kernel后直接开不起来安卓了,kernelsu还需适配。

asahiba commented 2 months ago

几天尝试之后,arm arcvm的编译还是没有进展。在用了最新PR的kernel后直接开不起来安卓了,kernelsu还需适配。

asahiba commented 2 months ago

感谢你们的回复 只是我已经回退到了安卓9的旧版 无法再尝试这个方案😂

WesleyVanNeck commented 2 months ago

if any one is intrested am working on arm64 support https://github.com/FrostNovaHD/ChromeOS-ARCVM-Root-arm64

WesleyVanNeck commented 2 months ago

and yes there is arm64 supoer now https://github.com/tiann/KernelSU/releases/download/v0.9.3/kernel-ARCVM-arm64-5.10.209.zip

YsLtr commented 2 months ago

and yes there is arm64 supoer now https://github.com/tiann/KernelSU/releases/download/v0.9.3/kernel-ARCVM-arm64-5.10.209.zip

Oh no, but it comes from PR of @iceyear, we tried to compile it and now its a unfinished one, which doesn't work properly on my devices.

Detail look in this issue I submitted.

And if this one work on your device?

zanjie1999 commented 2 months ago

I make a PR #7 https://github.com/zanjie1999/ChromeOS-ARCVM-Root

不过亲测这个kernelSU官方发布的内核镜像中的KernelSU在Android11的arcvm是不工作的,可能需要Android12或者Android13的机器才能工作,但是他至少能正常启动Android 我的MT8183 Duet太老了, 因为测试启动出了一些事故,目前已经用备份dd全盘回滚到113了,看看哪位大佬能给他抓抓KernelSU的log https://github.com/tiann/KernelSU/issues/1655#issuecomment-2084412445

bhedgecoth88 commented 3 weeks ago

Screenshot 2024-06-15 9.56.11 PM.png

20240615_215728-1.jpg

Hello @zanjie1999 I believe I have the same device as you, the Duet mt8183 arm device and as you can see after running the script, it's showing I've obtained root but both the kernelsu app and root checker, plus all of my other apps lol are all telling me its not there. I tried to install the fix module in the kernelsu app too and it didn't work.

Anyway you could provide some wisdom? Sorry if its something really obvious, I'm pretty new to this stuff. thanks.

supechicken commented 3 weeks ago

Hello everyone here, if you have an aarch64 ARCVM device you can try patching the kernel with APatch. Just discovered that project and it looks promising 😉

MovByte commented 2 weeks ago

APatch

Is APatch support planned to be implemented in the script? I have the same problem as @bhedgecoth88 and used a Lenovo Duet 3.

bhedgecoth88 commented 2 weeks ago

@MovByte i tried Apatch already too.. No luck, maybe they're working on support?