I. Preparations
1. A development mobile phone.
I recommend using G7, which is also HTC Desire (whether it is a bit of advertising suspicion ...), This machine has a wide variety of ROM and more information. It is easy to fl root, and the Android version is also the latest version 2.3.3.
2. Auto-sign signing Tool
This is essential. There are many download points on the internet, mainly used for Rom signature.
3. apktool
Package and unpackage APK Tool
2. Steps
1. decompress the rompacket first. For example, you can see two folders, META-INF, system, one file, Boot. IMG.
2. Open System and then open the app. At this time, you will see a bunch of APK, which are all system APK, such as desktop, phone, SMS, etc.
3.copy xxx.apk to the apktool directory, go to the apktool directory in cmd, enter apktool D xxx.apk ABC, and an additional ABC folder will be displayed.
4. In ABC, It is the decompiled resource file. If it is Android-based, it is easy to understand the directory structure. All the resource files to be modified are under Res.
5. Modify the resource files under res. It is best to modify the string. xml file. If you do not understand other files, problems may occur.
6. After the modification, return to the apktool directory and package apktool B abcto the out.apk file,
7. Sign the APK. The automatic signature tool is not recommended here. Why do you need to sign others' names. First, use eclipse to generate a signature file, AAA. keystore, jarsigner-verbose-keystore AAA. keystore-signedjar out_signed.apk out.apk AAA. the keystore is now named out_signed.apk, which is a signed APK and changed to the file name you originally wanted to change. Copy it back and overwrite it.
8.select three files, system,meta-info,root.img, and compress them to update.zip. Remember to use the ZIP format.
9. Copy update.zipto auto_sign, click sign.bat, and get update_signed.zip. This file is the modified Rom.
10.refresh is simple. Copy update.zip to the SD root directory, shut down the device, press the sound down key, and press the open key. A method list is displayed. Select recovery mode.