Sorry for the crappy post above, I did it from my phone last night before bed.
I think I can go through an OEM and clean out all the junk.
I am comfortable creating and modifying RGU, PROVXML, and initflashfiles.txt file.
The place that I struggle is with the memory address relocating.
I understand that some files are just files, while others are built as modules and reside in a fixed location in memory.
With packages from different phones, the addresses can overlap, or be non existent. This requires the modification of the address in each module to ensure there is no conflict.
I know there are tools like G'Reloc that are supposed to do this for you, but I would rather understand what this tool is actually doing.
I also don't really understand the whole "XIP Porting" thing. I don't really know what a XIP is, much less how to port one
