Reputation: 3192
I want to make my own application as a preinstalled android application.
To accompolish this
I tried to push in my app apk in /system/app
folder but could not able to do. First i mounted r/w
permission for /system/app
folder using adb shell
commands but that also i am not able to do.
Is anyone have ideas.
how to solve this issue?
Advance thanks for any help.
Upvotes: 3
Views: 5127
Reputation: 3078
First of all you must root your phone to do that !
Now You are trying to pack your app as system application. classes.dex files are ripped from system applications and saved as optimized ODEX files. So before setting up, you should convert APK files to DEX to ODEX and then put it in system folder.
You can get more information about ODEX/DEX here.
You can directly install apk by adding them into system/app folder after gaining the root access on device. ODEX files would be best choice for developing system apps. Samsung, htc and many more companies use it to deliver their custom pre-installed apps.
Upvotes: 1