ChromeOS-ARCVM-Root icon indicating copy to clipboard operation
ChromeOS-ARCVM-Root copied to clipboard

The script doesn't seem to work on arm devices

Open asahiba opened this issue 2 years ago • 28 comments

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

asahiba avatar Oct 23 '23 02:10 asahiba

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 avatar Oct 23 '23 12:10 supechicken

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

supechicken avatar Oct 23 '23 12:10 supechicken

(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 avatar Oct 24 '23 01:10 asahiba

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

asahiba avatar Oct 24 '23 01:10 asahiba

image 这一步需要改成什么呢

asahiba avatar Oct 24 '23 01:10 asahiba

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 avatar Apr 17 '24 09:04 YsLtr

image 这一步需要改成什么呢

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

YsLtr avatar Apr 17 '24 09:04 YsLtr

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.

YsLtr avatar Apr 17 '24 09:04 YsLtr

@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 的更新相比起來勤力多了

supechicken avatar Apr 17 '24 09:04 supechicken

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

YsLtr avatar Apr 23 '24 03:04 YsLtr

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

asahiba avatar Apr 23 '24 05:04 asahiba

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

asahiba avatar Apr 23 '24 05:04 asahiba

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

WesleyVanNeck avatar Apr 26 '24 17:04 WesleyVanNeck

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

WesleyVanNeck avatar Apr 26 '24 17:04 WesleyVanNeck

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?

YsLtr avatar Apr 28 '24 00:04 YsLtr

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

zanjie1999 avatar Apr 29 '24 02:04 zanjie1999

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.

bhedgecoth88 avatar Jun 16 '24 09:06 bhedgecoth88

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 😉

supechicken avatar Jun 16 '24 10:06 supechicken

APatch

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

MovByte avatar Jun 24 '24 02:06 MovByte

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

bhedgecoth88 avatar Jun 24 '24 02:06 bhedgecoth88

Hello everyone, the issue is likely coming from KernelSU's ARCVM CI. (In short: KSU isn't being built into the prebuilt kernel at all, see https://github.com/tiann/KernelSU/pull/1906)

You might try the kernel from my CI workflow (after build completed) to see if it works

supechicken avatar Jul 23 '24 17:07 supechicken

Hello everyone, the issue is likely coming from KernelSU's ARCVM CI. (In short: KSU isn't being built into the prebuilt kernel at all, see tiann/KernelSU#1906)

You might try the kernel from my CI workflow (after build completed) to see if it works

e21c6fb06ead5d7371017e28c28ad3fe_720 Is working! test on MT8183 Chrome Book Duet

zanjie1999 avatar Jul 25 '24 01:07 zanjie1999

KernelSU_bugreport_2024-07-25_15_26.tar.gz x86 still doesn't work, attached are the logs from KernelSU 0.8.1 in the release is available and it can get root! x86还是不能用,附上KernelSU内的日志 release内的0.8.1是可以用的,可以获取到root

akiziname avatar Jul 25 '24 07:07 akiziname

KernelSU_bugreport_from_0.8.1.tar.gz 0.8.1 can get root, but it can't install lsposed , I'll try older version later There is the log of 0.8.1 0.8.1在我的设备上可以正常获取root,但好像不能安装lsposed,我一会试试旧版本 附上0.8.1的日志

akiziname avatar Jul 25 '24 07:07 akiziname

I'm pixelbook 2017 eve , system version is 126.0.6440.0 (official) dev (64 bit) .There is Android ersion 我的设备是pixelbook 2017 eve,系统版本是 126.0.6440.0(正式版本)dev (64 位) 附上安卓版本 Screenshot 2024-07-25 15 57 49

akiziname avatar Jul 25 '24 08:07 akiziname

Tested on a G11 8G x86_64 no dice, shows as not installed

KasteloShep avatar Jul 26 '24 16:07 KasteloShep

I have a Lenovo 100e 2nd Gen MTK, can confirm that this doesn't work on arm devices. I think its due to the fact that it is missing /opt/google/vms/android, possibly due to the fact that this only works when ArcVM is using Android 13 and arm devices are currently using Android 11? ~~I haven't updated in a while though so I'm going to do that right quick and see if maybe Android 13 is being used instead.~~ Android 11 is still in use on arm devices. I wonder if /opt/google/vms/android has the same contents in a different location. Going to try looking around.

VenomousSteam81 avatar Aug 01 '24 23:08 VenomousSteam81