Well actually though I agree with Windows new Linux CMd thing, everything can in theory be built in Windows 10 now if done right I believe'Porting' is a term that applies more to Roms than kernels or recoveries and is the dirty way of going about things. It is also commonly referred to as 'dirty porting' or 'zip porting' and is done by taking an existing ROM zip for a similar device and switching out a few system files and the kernel to 'hack together' a working ROM for your own device.
To build or 'compile' a custom recovery for a device you need a computer running Linux or Mac osx with a 64bit processor(preferably a quad core CPU) and a bare minimum of 8GB ram that has been set up to build android. You also need the source code for the recovery you are building. The source code for twrp and cwm comes bundled with the source code of some Roms. You also need a couple of files from the stock recovery and the kernel source for your device, and lastly you need a working device tree for your device. The device tree is basically a collection of files that tells the source code how to go about building the ROM recovery or kernel you are making. This is of course a dumbed down oversimplification since my knowledge on the subject is very limited. So far I haven't been able to compile anything for a device that wasn't officially supported by a ROM like CM or PAC and all I've really done is follow tutorials using the work of others.
Upvote
0