[ROM Creation/Modification Tutorial] Making Your Own ROM (2)

The original poster: Xiaoyu, Views: 256 Replies: 3 Posted in: 2013-10-21 02:53:12
five. ROM common system configuration files. Modify these files to adjust system settings 1. \system\etc\spn-conf.xml: Display the operator's For example If the downloaded ROM is displayed in English, you can try to modify this file. 2. \system\etc\gps.conf: Related to GPS star search. The so-called improvement of star search speed is to modify this file. The method is to change NTP_SERVER=XXXXX.pool.ntp.org in the file to NTP_SERVER=cn.pool.ntp.org. I tried it, and the ping speed of this website is indeed more than twice as fast as the one in the original setting 3. \system\bin\rc: Everyone should be familiar with this. It is used to set up Swap, Compcache and the like.(1) Set SWAP. After entering the file, find ################### ###### Swap ######## ################## The following code is related to opening Swap. For example, SWAPNUM=`fdisk -l /dev/block/mmcblk1|grep swap|sed -e 's/ .*//g'` if [ -n "" ];then echo 60 > /proc/sys/vm/swappiness swapon fi Add # in front of each line and comment it out, then you can start swap without booting. To change the size of swappiness, you can use the number 60 in the third line. You can try setting up Compcache yourself (2) Modify the memory management parameters. Add this line to the rc file echo "1536,1536,3072,1536,10240,12800" > /sys/module/lowmemorykiller/parameters/minfree The numbers from left to right are: foreground process, visible process, secondary service, background service, content supply node, and empty process. The unit of the value is 4k, that is, 1536: 4k*1536=6144k=6M 4.\system\etc\apns-conf.xml: related to network access point settings. For example, settings related to China Mobile and China Unicom If the ROM does not come with apn settings, you can add it to this file. If the access point name displayed in the ROM is not in Chinese, you can also modify this. Note: 1. It is best not to decompress the ROM when modifying it, and operate directly in WINRAR, because the ROM should be compressed in Linux, and the compression format may be different from that compressed directly with winRAR under weindows. 2. The files in the package should not have Chinese file names. 3. Be sure to back it up before flashing. If there is any mistake in the modified ROM, it is easy to be unable to enter the system. 6. Google map positioning patch without google suite. Download gapps flash package, copy the following files to the corresponding directory in ROM: \data\app_s\NetworkLocation.apk \system\framework\com.google.android.maps.jar \system\etc\permissi**\com.google.android.maps.xml The last step is "Signature" The last step after modifying the ROM is to sign. In fact, signing is very simple. Download the signing tool, rename the modified ROM to update.zip, put it in the directory of the signing tool, execute sign.bat in the signing tool, and after a while, an update_signed.zip file will be generated. This is the signed ROM. After that, you can start flashing your phone and enjoy the fruits of your labor.Running the signature tool requires a java environment, download jdk from the Internet, and install it OK
reply 🤍 0 📤 share collect
Top!!
Wow, the webmaster really came through!
Top-notch skills!
— All replies loaded —

Leave a Reply