Practices for creating a Samsung i9088 Flash ROM (4)

Source: Internet
Author: User

 

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.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.