Making ROM package is the first step for Android system engineer, the market prospect of Android third party is believed that everybody also understands.
How to make
First, ROOT
Regardless of the version, the first thing is to root the machine this is the premise of customization
The root method is now a lot of integration tools: one-click Root, 360root ... Don't repeat it here.
Second, tool preparation
Download the R.explorer Manager (ROOTEXPLORER.V2.9.4.APK) in the installation attachment to back up the apk file, delete the apk file, see what's Inside the system directory
Download http://androidforums.com/developer-101/8665-how-signing-roms.html We mainly use this to sign the custom package (registration required) requires a registered user login to download. The downloaded tool is executed under Windows.
Third, the custom package production knowledge
The general custom ROM (not beautify, not to make MoD) is actually the content of the System/app folder in the cell phone memory to customize, the software installed by itself will not appear here, but in the \data\ folder.
All the programs in the system are in this folder, such as browsers, dialer, contacts, etc.
Let's take a look at what's usually included in this folder:
\system\app\alarmclock.apk Alarm Clock
\system\app\alarmclock.odex
\system\app\browser.apk Browser
\system\app\browser.odex
\SYSTEM\APP\BUGREPORT.APK Bug Report
\system\app\bugreport.odex
\system\app\calculator.apk Calculator
\system\app\calculator.odex
\SYSTEM\APP\CALENDAR.APK Calendar
\system\app\calendar.odex
\SYSTEM\APP\CALENDARPROVIDER.APK Calendar Offers
\system\app\calendarprovider.odex
\system\app\camera.apk camera
\system\app\camera.odex
\system\app\com.amazon.mp3.apk Amazon Music
\SYSTEM\APP\CONTACTS.APK Contact
\system\app\contacts.odex
\system\app\downloadprovider.apk Download Offers
\system\app\downloadprovider.odex
\system\app\drmprovider.apk DRM Digital Copyright offers
\system\app\drmprovider.odex
\system\app\email.apk e-mail client
\system\app\email.odex
\SYSTEM\APP\FIELDTEST.APK Test procedure
\system\app\fieldtest.odex
\SYSTEM\APP\GDATAFEEDSPROVIDER.APK Googledata Offers
\system\app\gdatafeedsprovider.odex
\system\app\gmail.apk Gmail Email
\system\app\gmail.odex
\SYSTEM\APP\GMAILPROVIDER.APK Gmail offers
\system\app\gmailprovider.odex
\system\app\googleapps.apk Google Package
\system\app\googleapps.odex
\SYSTEM\APP\GOOGLESEARCH.APK Search Tool
\system\app\googlesearch.odex
\system\app\gtalkservice.apk gtalk Service
\system\app\gtalkservice.odex
\system\app\htmlviewer.apk HTML Viewer
\system\app\htmlviewer.odex
\system\app\im.apk even if the communication component contains MSN, Yahoo
\system\app\imcredentialprovider.apk
\system\app\improvider.apk
\system\app\improvider.odex
\SYSTEM\APP\LAUNCHER.APK boot Loader
\system\app\launcher.odex
\SYSTEM\APP\MAPS.APK Electronic Map
\system\app\maps.odex
\SYSTEM\APP\MEDIAPROVIDER.APK Multimedia Playback Offers
\system\app\mediaprovider.odex
\system\app\mms.apk SMS, MMS
\system\app\mms.odex
\system\app\music.apk Music Player
\system\app\music.odex
\system\app\myfaves.apk t-mobile myfaves Program
\system\app\myfaves.odex
\system\app\packageinstaller.apk APK Installer
\system\app\packageinstaller.odex
\SYSTEM\APP\PHONE.APK Telephone Dialer
\system\app\phone.odex
\system\app\settings.apk system settings
\system\app\settings.odex
\SYSTEM\APP\SETTINGSPROVIDER.APK settings provide
\system\app\settingsprovider.odex
\SYSTEM\APP\SETUPWIZARD.APK Setup Wizard
\system\app\setupwizard.odex
\SYSTEM\APP\SOUNDRECORDER.APK Recording Tools
\system\app\soundrecorder.odex
\SYSTEM\APP\STREET.APK Street Map
\system\app\street.odex
\SYSTEM\APP\SYNC.APK Synchronization Program
\system\app\sync.odex
\SYSTEM\APP\TALK.APK Voice Program
\system\app\talk.odex
\SYSTEM\APP\TELEPHONYPROVIDER.APK Telephone Offers
\system\app\telephonyprovider.odex
\SYSTEM\APP\UPDATER.APK Update Program
\system\app\updater.odex
\system\app\vending.apk Manufacturer Information
\system\app\vending.odex
\SYSTEM\APP\VOICEDIALER.APK Voice Dialer
\system\app\voicedialer.odex
\system\app\youtube.apk YouTube Videos
\system\app\youtube.odex
. The zip content includes
/system/app/my.apk (the program you want to put into the system)
/meta-inf/com/google/update-script (custom package script)
/meta-inf/cert. SF (signature file)
/meta-inf/cert. RSA (signature file)
/meta-inf/manifest. MF (signature file)
You should first put the prepared program into the/system/app directory of the zip package, just drag the program into the Custom.zip app directory in the attachment and
Let's take a look at the last place to edit-script
Iv. script:
Now that we have a general understanding of the files inside, then for example, if we were to make a custom package based on the above ROM, we would probably do two things
1. Add the APK program in the directory to the ROM System/app
2. Remove the APK program from the ROM (i.e. slimming)
3. Show Process
Add directory statement for COPY_DIR package: Custom packet path phone memory path
Delete Program statement for delete phone memory path
Show process statement as show_progress
script file available txt, notepad and other programs as open mode and edit save
as a beginner
only need to master the following example can
Show_ Progress 0.1 0
Delete system:app/divxregcode.odex
Delete system:app/youtube.apk
Copy_dir Package:system SYSTEM:
show_progress 0.1
Where there is no need to understand the front and back two show_progress statements, see the middle,
the first sentence is to delete the Divxregcode.odex file in the SYSTEM/SPP folder, The second sentence of the
is to delete the youtube.apk file within the SYSTEM/SPP folder, and
The third sentence is to copy the system folder in the custom package to the phone memory by copying (overwriting the existing files).
Note that not all system files can be replaced, deleted, generally
layar304-final-market.apk
metamidpplayer.apk
midpplayer.apk &NBSP
switchers.apk
youtube.apk
myspace.apk
facebook.apk
These recreational items can be deleted, such as MMS, phone and other important programs usually replace or remove the problem
Master This can easily write the general script, be sure to note that the last line of the script must have a blank line, that is, there is only one return to the existence of a blank line
Once the script is finished, you can proceed to the next step: signing
Five, signature
Run:autosign.bat
The first time you need to set Class_path, add Testsign.jar, the setup process is very simple, the first to enter 2:
Then it will guess your testsign.jar is in the current directory, so enter Yes
Then select 4, manually enter the ROM path that needs to be signed, and then enter Yes to
The signing process takes a while, requires patience, and does not generate new files after signing, and is done by modifying the original file.
VI. Installation
Line brush or card brush.
Seven, the Novice advanced
If you are already familiar with making a custom package
So just a little bit of brain, you can do some replacement system fonts, repair contact bug and other custom packages ~
Remind the font file in System/font, the Chinese font file name is Droidsansfallback.ttf
Replace the font as long as the font file is named Droidsansfallback.ttf into the System/font folder, with the copy system of the statement normal brush in
Fix a contact bug simply copy the contact's patch into your custom package in addition to the Meta-inf folder and its contents, and then add the script to your custom package in addition to the show_progress command ~ ~ Simple ~
Android ROM Package making