How to make a porting of an application from stock rom to custom rom (i.e. stock camera app porting)?

Search This thread

rmroot

Senior Member
Sep 20, 2018
63
3
Hello, I want to learn how to do a porting, I want to port the stock camera app from OxygenOS (oneplus) to a custom rom. Is there any guide about how to make a port?