newbit1 / rootCROS

24 stars 1 forks source link

Support Kernel-SU for ARCVM #7

Closed 1457384613gh closed 1 year ago

1457384613gh commented 1 year ago

Hi, I've seen vmlinux system.raw.img vendor.raw.img into ROOT-A: /opt/google/vms/android.

Maybe, we could patch vmlinux to support Kernel-SU.

Put a fake boot.img next vmlinux. Patch vmlinux to mount fake boot.img.

djfaizp commented 1 year ago

Following it, may be we need to patch kernel with kernel su patch

1457384613gh commented 1 year ago

https://github.com/M-L-P/brunch-grub2 vmlinux.zip

Screenshot 2023-06-16 13 24 15 Screenshot 2023-06-16 13 27 06

djfaizp commented 1 year ago

https://github.com/M-L-P/brunch-grub2 vmlinux.zip

Screenshot 2023-06-16 13 24 15 Screenshot 2023-06-16 13 27 06

could you please tell me how do you compile it ? i have ryzen 5 3600 build

1457384613gh commented 1 year ago

crosh shell cd /opt/google/vms/android ls -l sudo mv vmlinux vmlinux.bak ls -l cd ~/Downloads ls -l sudo cp vmlinux /opt/google/vms/android cd /opt/google/vms/android ls -l sudo reboot

djfaizp commented 1 year ago

crosh shell cd /opt/google/vms/android ls -l sudo mv vmlinux vmlinux.bak ls -l cd ~/Downloads ls -l sudo cp vmlinux /opt/google/vms/android cd /opt/google/vms/android ls -l sudo reboot

Thank you very much i was looking for it since long time can you share telegram i want to discuss regarding making kernel for ryzen 5 3600 as there is no cgpu so i have to use Nvedia 1660 graphics cards and it will may not support this kernel

1457384613gh commented 1 year ago

My phone number is banned. I cannot login.

1457384613gh commented 1 year ago

Download vmlinux.zip, and try it.

It is not the kernel of the host system.

It is the kernel of ARCVM.

djfaizp commented 1 year ago

![Uploading Screenshot 2023-06-16 7.55.15 PM.png…]() Screenshot 2023-06-16 7 51 32 PM some apps not having any permission so can't open it they don't even have network permission to app

1457384613gh commented 1 year ago

WiFi or Ethernet?

djfaizp commented 1 year ago

No issue with chrome os but only issue to some android apps force close ,internet issue ,It seems like kernel issue as i switch to default everything works fine now