
Why I couldn't edit the /data/system/packages.xml file? $ adb shell rm -r /system/.apk - This would remove the apk and there won't be anything left from the previous built. Originally /system is a read-only folder so you can't edit directly. $ adb shell mount -o rw,remount /system - This would remount the system as read-write. So these were the steps that I followed : These few steps may remove the whole package but in my case it was different as it left behind few files from the previous built app. apk - To uninstall the package from the root user is any package you want to remove from the system. $ adb shell - To interact with the phone system directly.

$ adb root - To start adbd with root privileges. The first is how to delete a system application completely? Ultimately found an answer to the query and how to solve it. But after making the change when I reboot it get back to the unedited version.Ĭan anyone tell me the reason as to why this happens and how I can stop it from happening? And how would I be able to install a different version of the app? apk with different if I comment the section in /data/system/packages.xml referring to telegram. With further research I found out that I can install the new. I also tried uninstalling with this adb uninstall but it gave out Failure. But when I tried to install the new apk with adb install telegram.apk I got the following error adb: failed to install telegram.apk: Failure After much research I was able to uninstall if from the system with the command adb shell pm uninstall -user 0. It comes with pre-installed Telegram app. Recently I install a custom ROM named eelo. I do not understand while I used the same jks file to sign apk-bundle and. InstallException: Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match the previously installed version ignoring!Īt .install(SplitApkInstaller.java:91)Īt .installPackages(Device.java:928)Īt .(DdmlibDevice.java:129)

I do not understand the incompatibility here. apks file while install using java -jar bundletool.jar install-apks -apks=singed_apk.apks, It says signature mismatch


aab file generated before uploading to Google Play. I opted in app singning from first apk upload on Google Play.
