cawilliamson / rooted-graphene

5 stars 2 forks source link

other devices #3

Open radioaddition opened 2 months ago

radioaddition commented 2 months ago

Would you expect extensive changes to be needed in order for this to work with some of the older devices graphene still supports? I have a pixel 6 (oriole) and I've been trying to get kernelsu running for a while now

cawilliamson commented 1 month ago

Sure - I believe pixel 6 runs 5.10 doesn't it? Should pretty much just work.

I'll help you with your build issues later on - bit of a busy day! :)

radioaddition commented 1 month ago

It's even easier than that, your script already pulls the code for it. All I had to do was add the if logic that let's the device be supported and tell it which build script to use (because it's slider instead of oriole for some reason). Despite that, the build is failing, and I'm not sure why. This is the error, which doesn't say much. Is it possible to run the build script in verbose mode perhaps?

  CC      drivers/kernelsu/selinux/rules.o
  AR      drivers/kernelsu/built-in.a
  AR      drivers/android/built-in.a
  AR      drivers/built-in.a
  CHK     include/generated/autoksyms.h
  GEN     .version
  CHK     include/generated/compile.h
  GEN     .tmp_initcalls.lds
  GEN     .tmp_symversions.lds
  LTO     vmlinux.o
Killed
make[1]: *** [/home/radioaddition/rooted-graphene/kernel/aosp/Makefile:1296: vmlinux] Error 137
make: *** [/home/radioaddition/rooted-graphene/kernel/aosp/Makefile:192: __sub-make] Error 2
ERROR: Failed to compile GKI kernel: retval=2
ERROR: Failed to create mixed build: retval=2
radioaddition commented 1 month ago

If I un-draft the pr, will you merge it into like a different branch and test the build on your machine? it's failing on mine but I'm not sure if it's because of the script itself or my admittedly low-spec machine