China Naming Network - Eight-character lottery - What changes should I make in the update script to add a data folder to the brush package? Urgent. Reward 100

What changes should I make in the update script to add a data folder to the brush package? Urgent. Reward 100

First, the system directory description

1. Application installation directory

Directory where the system application is located: /system/app/*. apk

Directory where users install applications: /data/app/*. apk

Note: In the emulator, the application under /system/app/ will be restored every time it is restarted, and sometimes the application under /data/app will be cleared. If there are applications with the same name under /system/app and /data/app, it may be that neither of them can be started, especially adb install kills running programs, and sometimes the old ones will be started.

2. Directory where user data is located: /data/data/ application package name /shared_prefs configuration file; /data/data/ application package name /databases/* the directory where the library file is located.

3. Directory corresponding to SD card: /sdcard/

We only need to deal with the contents of two folders:

Data/App-You can delete all files in this text folder, or you can add your own application software freely, and you can delete it freely after installation.

System/Applications–The programs in this folder are the default components of the system. You can see that all files end in APK format, but some homemade Roms contain odex files corresponding to APK file names. Our main purpose is to simplify the files in this folder. If there is an odex file, when deleting the APK file name, we also delete the corresponding odex file.

2. Customize the simple process:

1. Download the corresponding ROM.

2. Download the signature tool and unzip it.

3. Decompress all files in ROM into a folder with WinZip or WinRAR, which is easy to understand for the tutorial. I will name this folder "newsroom" here. It doesn't matter how you like to name it.

4. Enter the NewsROM folder, and then enter the data\app directory to see if there are any programs you need, and delete them if you don't need them. You can also add the default installation software you need. For example: sogou input method, just drag and drop the SogouIme.apk file to the compressed package \data\app directory.

5. Go to the NewsROM folder, and then go to the system\app to delete unwanted components or add needed components. Because some components depend on other components, please be careful when deleting them. But don't be afraid, if you delete the wrong component, you won't be able to enter the system when you brush the machine at most. You can brush it again with the complete ROM. It doesn't usually turn into bricks.

6. After deleting and adding the software, drag the ROM folder (NewsROM) to APKMake/APKMake.bat (repackage and automatically sign). After packaging and signing in the APKMake directory, NewsROM.zip will be automatically generated (the folder name is different just now, and the file name generated here is also different). This is our streamlined ROM.

read only memory

If the recovery is ready, please answer. Please follow the following strict installation steps to brush into ROM:

1. Copy ROM file to SD card.

2. Turn off the phone, then press and hold Home to start the phone and enter the recovery mode.

Step 3 wipe.

4. Select the correct ROM file (ZIP) in Recovery and brush it in.

5. Just restart.

Four. Customization precautions

1. Watch out, watch out, watch out.

2. For the sake of safety, it is recommended to delete and add only the files in the data/app and system/app folders.

I don't know or know what the file to delete is, so please keep it safe and don't delete it.

4. The folder structure of Android system in this paper may be old. If you don't know what the file is, it is recommended to search for the answer.

5. Customize ROM according to this tutorial. If the corresponding software is deleted by mistake in the process of customization, the result is that it can't enter the system at most, and redrawing a complete ROM can generally solve the problem. Still the same sentence: brushing the machine is risky, and if there is a problem, you will be at your own risk.