Making the Device Sources ready for the ROM to be built.
This is the Biggest Part of ScriBt. It adds the Device to ROM Vendor as well as make the Device tree usable for the ROM. Doing this makes the Device Sources completely ready for getting the ROM built.
This is the part where I feel ScriBt helps the user. Actions of Pre-Build are entirely based on Observations of Working of ROM Vendors, each and every ROM supported by ScriBt.
Making an Interactive Makefile under the Device Tree (Identifiable by ROMs BuildSystem)
This was created in order to prevent unnecessary modifications to the files present in the Device Tree which may mess some Configurations.
Idea came into existence, When I saw most of the ROMs having these lines in one of the BuildSystem’s files…
# A ROMNIS build needs only the ROMNIS product makefiles.
ifneq ($(ROMNIS_BUILD),)
all_product_configs := $(shell ls device/*/$(ROMNIS_BUILD)/ROMNIS.mk)
Device Type is asked when mentioning Device Details on Pre-Build. Choosing Device type builds Device-Specific Modules and things. Best Example of this is the Bootanimation Variants (…based on Resolution)
full
- This indicates that the Device has Adequate Storage Space for building Entire Android System for itmini
- This indicates that the Device has Low Storage Space, so only Android Essentials are built ( Fewer Apps and Stuff )
common_full_hybrid_wifionly - Android Device with any Size ( Phone / Tablet ) ( used if Device Type is unknown )