ROM package making

1. Download the rom you like as a foundation, extract it to get several folders
2. System\app is the integrated software, delete it if it should be deleted, and add it if it should be added. Note that the files in the package cannot contain non-English characters. [Be careful not to kill the basic applications of the system when deleting, it is recommended to keep it if you are not sure]  , the fonts in the font folder can also be modified,  [the ringtones are also casually deleted. Just leave it as default]  After compressing it into zip, name it update.zip
[Reminder, when compressing, make sure that the folder system, META-INF and the file boot.img are directly under the ZIP, and there is no middle layer in the middle, I will start I mistakenly made the update folder in the ZIP, and then there were only those three things in it, which made it impossible to flash the machine] 3. Download auto-sign [ http://download.csdn.net/download/chaoyu168/10269331 ] , this is Signature tool, it should be noted that this tool needs to run in the java environment 4, install JAVA on the computer, and configure the JAVA environment. Refer to http://www.lurenjia.net/tech/java_learning_1.html  , there are detailed steps, rookies can follow step by step, even the file name and installation path are the same
      





5. Unzip auto-sign,  [Just put it in your computer, as long as you can find it]  Drag update.zip to the AUTO-SIGN folder, it is in the same folder as sign.bat, then double-click sign.bat, To wait, wait until the black box in CMD prompts complete, press any key to continue . Then there is an update_signed.zip, this is your new rom.

Add your own APP:

1. For mobile phones with 4.4 system, if you want to enter the apk into the system area, you only need to copy the apk to system/app, and copy the lib file (.so file) of the corresponding apk to system/lib; if you want to type Enter the apk into the userdata area, just copy the apk to userdata/app.

2. For mobile phones with system 5.0 and above, if you want to enter the apk into the system area, you need to build the apk and the corresponding lib file in the same directory (open the apk with good pressure, compress the lib to the specified folder, and then combine the app into the named folder), and then copy it to system/app (see the directory format of other apks under system/app for details), and, in practice, some mobile phones need to enter the apk into system/framework to be able to It runs normally, otherwise it crashes; if you need to enter the apk into the userdata area, you only need to copy the apk to userdata/app.

3.
After the ROM modification is completed, it needs to be packaged
Also use WINRAR
At the same time, select if there are other folders, select [ when compressing, ensure that the folder system, META-INF and the file boot.img are directly under the ZIP, and there should be no middle layer in the middle ]

4. Sign with the signature tool

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325887364&siteId=291194637