Run_program ("/ sbin / busybox", "mount", "/ data") - (mounts data) allows access to work with the system partition Ui_print ("") - displays an inscription and an empty line
Ui_print ("= Patching new application =") The patch adds a custom application MyPiano to Data. Transfer (renamed) update-finished.zip to a flash drive and install it into the device via TWRP or CWM (install zip from sdcard ->chooze zip from internal sdcard ->Yes, install sample.zip).Rename update-finished.zip at its discretion (according to the patch logic).The file update-finished.zip appears in the folder - this is the signed file.Put it in the folder with the program Zip_signer.already with the application inside) sample.zip to update.zip
The procedure for using the utility Zip_signer: Archive all (META-INF and data) ZIP without compression.If necessary, edit the updater-script file (more later).Place your custom application in the / data / app folder (xxxxx.apk).Delete signature files META-INF / CERT.RSA, CERT.SF, MANIFEST.MF (as we will create them for our assembly in 2 steps).suitable for other similar operations.īuild a new update.zip using sample image sample.zip Throw on the flash drive and install into the device via ClockWorkMod Recovery.Sign update.zip with the Zip_signer utility.Build your update.zip (from sample.zip).
In order to install new apk system applications into your device, you must perform three steps: