Step 4: Discuss how to repackage the modified content.
First, you need to unbind the i9088znjl1-pda-xxxxxx.tar file to a directory:
# Cd/home/share/9088/PDA-Work <br/> # tar-XF/home/share/I9088ZNJL1-PDA-XXXXXX.tar </P> <p>
Now we have the files we need in the PDA-work directory, including factoryfs. RFS, cache. RFS, dbdata. RFS, etc.
Except factoryfs. RFS, we don't need it (because we have modified another one). Keep the rest.
Then, re-write the content in the previously modified/dev/loop1 virtual disk to the factoryfs. RFS file:
# Dd If =/dev/loop1 of =/home/share/9088/PDA-work/factoryfs. rfs bs = 4096 Conv = Sync </P> <p>
Note that we are not directly renaming the original PDA. imgfile. Please use the DD command.
Then, pack the package with tar and generate the MD5 Signature:
# Tar-CF/home/share/9088/out/ZNJL1-PDA-SHARETOP-V1.tar factoryfs. RFS cache. RFS dbdata. RFS boot. bin SBL. bin Param. LFS zimage <br/> # cd/home/share/9088/out <br/> # md5sum-T ZNJL1-PDA-SHARETOP-V1.tar> ZNJL1-PDA-SHARETOP-V1.tar <br/> # mv ZNJL1-PDA-SHARETOP-V1.tar ZNJL1-PDA-SHARETOP-V1.tar.md5 </P> <p>
OK ,we also have a .tar. MD5 file. Put it in the official version of the brush directory, use it as the PDA to brush the machine. You will find that all the applications you have reduced no longer exist.
Let's start here today and discuss how the cache. RFS in the CSC is modified tomorrow.