How to replace / remove email application from android emulator

Is there any way to remove / replace the embedded application in the Android emulator so that I can install my customized applications for Mail, Contacts, Music, etc.

I downloaded the Android code for the email application and I want to change some things and install.

Please let me know if there is any way.

+4
source share
4 answers

I did like this:

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /data rm /system/app/MyAppName.apk rm -rf /data/data/package_name_here/ mount -o remount,ro -t yaffs2 /dev/block/mtdblock0 /system mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /data pm uninstall package_name_here exit 

Please note :

You must provide information about your application:

Line number 4: rm / system / app / MyAppName.apk

Line number 5: rm -rf / data / data / package_name_here /

Line number 8: pm remove package_name_here

Done

+3
source

It makes no sense to replace applications in /system while the emulator is running, since the emulator does not save /system anyway.

To permanently replace applications in /system , you can edit the system.img file. It is very easy. As easy as extracting, moving files and compressing.

http://www.rodneybeede.com/Customize_an_Android_system_img.html

+2
source

Run your emulator, then make sure it is connected via adb by typing:

 adb -e devices 

Make / write to the system by typing:

 adb -e remount 

Backing up and deleting Email.apk:

 adb -e pull /system/app/Email.apk adb -e rm /system/app/Email.apk 

Click on your own Email.apk:

 adb -e push Email.apk /system/app 

What about that.

+1
source

All I can say is that I am also trying to find a solution, but you can try an alternative, try removing unnecessary applications by uninstalling system applications and now install an application similar for the same purpose from the market and see if it works it is the same.

-1
source

Source: https://habr.com/ru/post/1341948/


All Articles