Instructions:
Note: run bat
or sh
depending on HOST OS
-
To work with the second level, you must unpack level 1 first
-
run unpack/rkunpack/awunpack and select 2
-
In the level2 folder, we replace/correct the files in the folders:
- system - system section
- vendor - vendor section
- product - product section
- system_ext - system_ext section
- odm - odm section
- oem - oem section
- system_* - system A/B section
- vendor_* - vendor A/B section
- product_* - product A/B section
- systemext* - product A/B section
- odm_* - odm A/B section
- oem_* - oem A/B section
-
run pack/rkpack/awpack and select level 2
-
then to pack level 1 run pack and select level1 or to create full OTA, run pack_level1_fota
Notes:
- If you are adding new files or folders that require special permissions (by default, new files and folders are assigned permissions 0644 and 0755 when packing) then write these rights in *_fs_config.
- The *_file_contexts files are required for setting SELinux privileges
- And the *_size files set the size of a particular partition.