bmax121 / APatch

The patching of Android kernel and Android system
GNU General Public License v3.0
3.46k stars 276 forks source link

Add option to patch raw image like magsik #471

Closed Joly0 closed 3 weeks ago

Joly0 commented 1 month ago

Is your feature request related to a problem?/你的请求是否与某个问题相关?

Magisk has the option, to install itself, to patch the payload.bin and the raw image that you can simply do a manual install of in most roms. It would be great to have such an option in apatch aswell. I do not have any custom recovery and therefore cant flash a modified boot.img, also i would need to extract the boot.img first, which is a little hassle aswell. Patching the raw image file directly would make it probably a lot easier for people t ibstall apatch.

Describe the solution you'd like/描述你想要的解决方案

Option in apatch to patch raw image file and maybe payload.bin (raw image highly preferred)

Describe alternatives you've considered/描述您考虑过的备选方案

None

Additional context/其他信息

No response

bmax121 commented 1 month ago

maybe you need a kptools ? (KernelPatch release)

Joly0 commented 1 month ago

maybe you need a kptools ? (KernelPatch release)

I am not sure what you mean?

bmax121 commented 1 month ago

https://github.com/bmax121/KernelPatch/releases/download/0.10.7/kptools-linux

Joly0 commented 4 weeks ago

Still not sure how this is supposed to help me or answer my feature request?

bmax121 commented 3 weeks ago

sorry, I thought it was the kernel image. as for payload.bin, we don't have time to support it