The uppercase ** Nubia** originates from the PRODUCT_BRAND variable defined in your twrp_NX769J.mk file:
In the Extracting variables from .mk file script, this PRODUCT_BRAND value is extracted and used to construct the DEVICE_DIRECTORY variable:
DEVICE_DIRECTORY="device/$brand"
Since $brand holds the value Nubia, the script creates the directory device/Nubia.
The build process will result in the following error:
device/Nubia/NX769J/twrp_NX769J.mk:26: error: _nic.PRODUCTS.[[device/Nubia/NX769J/twrp_NX769J.mk]]: "device/nubia/NX769J/device.mk" does not exist.
Solution
- Please change the first letter of the manufacturer's name to lowercase.
😊😊😊
The uppercase ** Nubia** originates from the
PRODUCT_BRANDvariable defined in yourtwrp_NX769J.mkfile:In the Extracting variables from .mk file script, this
PRODUCT_BRANDvalue is extracted and used to construct theDEVICE_DIRECTORYvariable:Since
$brandholds the value Nubia, the script creates the directorydevice/Nubia.The build process will result in the following error:
Solution
😊😊😊