-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be a good idea to consider putting this app on F-Droid #50
Comments
KernelSU is not on F-Droid, at least not in the official repo. The Magisk build metadata for F-Droid is maintained by me. If APatch agrees to be included, I can help. |
I was mistaken, KernelSU is currently in the lzzyOnDroid F-Droid Repo. Thanks for your work, hopefully we'll see APatch in F-Droid too. |
I agree, if it doesn't inconvenience you too much. |
I'll have a try. Looks like we need to build magisk first for these libs in https://github.com/bmax121/APatch/tree/main/app/libs/arm64-v8a. But it seems libmagiskpolicy.so is from a different version of magisk? |
Yes, it was a modified version, so that magiskpolicy can compatible with APatch |
Where is the source code of the modified version? |
Wait for @bmax121 upload patiently. Btw, should the modified magiskpolicy being built together with APatch? If true, we may need hack gradle to do that. |
It needs to be built from source. We can build it first then put it in the required location. |
Sorry for the delay and thanks for supporting APatch. We’re currently working on developing these days so didn’t reply on time. We will notify you once we finished that. ;) |
The source is at https://github.com/bmax121/Magisk, |
Which commit do you use? I didn't see any change on master branch. |
It's ok now |
IIUC, APatch doesn't use ONDK to build the rust code. Then does it make sense to build the magisk libs with ONDK? I have to rebuild ONDK from source so if it's not needed maybe I can skip that step. |
What is the downloaded compiler in https://github.com/bmax121/KernelPatch/blob/main/.github/workflows/build.yml used for? Is there any simple way to build those kernel patch binaries? |
@bmax121 Requested at IzzyOnDroid.
Need some clarification regarding |
Hey shuvashish76 Thank you for your contribution.
|
Used for compiling kpimg, no more simple way but use this compiler because other one may lead to kpimg broken. |
@pomelohan Thanks. Please add Fastlane metadata as mentioned here. (Necessary for both F-Droid / IzzyOnDroid) |
Where is this special gcc from? How can I build it? |
|
Sorry for the delay, busy those days... Update: No need special gcc, only aarch64-elf gcc is required. But it's better to use the same gcc version as KernelPatch using. |
Sorry for the delay, busy those days... Yes, |
Am I understand it correctly that I just need an aarch64-elf gcc for all the build related to kernel patch? |
Yes, but it is recommended to use the same gcc version as KernelPatch CI using because KernelPatch Project is special, unlike other programs. Newer or old version may lead to issues because of optimizations. |
|
Can I use this package? Or I should build the aarch64-elf-gcc somehow? I'm not sure what the difference is. |
I thought this version maybe too old to make KernelPatch working. KernelPatch CI is using this one: |
I thought both of them are GCC 12.2? |
storage permissions are used to store patched boot image and module upgrading🌹 |
So I can just use the gcc-linux-gnu? That's great. So the elf target is not necessary? Do I need any special configuration? |
Yes have a try, author said maybe working😂 |
OK. 😂 |
https://gitlab.com/linsui/fdroiddata/-/jobs/6942666334 Does this mean that it doesn't work? |
Yes, kpimg.elf is necessary. Can’t we use prebuilt toolchain like the one KernelPatch using? |
Magisk and KernelSU are both up on f-droid for download, so why not APatch? And here is F-Droid's inclusion policy, I think APatch is in line with their policy.
The text was updated successfully, but these errors were encountered: