Android PackageInstaller.apk

897 views
Skip to first unread message

Ash

unread,
Nov 27, 2011, 8:14:09 PM11/27/11
to android...@googlegroups.com
Hi All,

I have downloaded Android Source and made some changes to the PackageInstaller source code. I have compiled Android source and it has generated a new PackageInstaller.apk file.
Note that I have a rooted device and we are customizing the hardware to our needs.

How do I get this to install on my device?

I have tried adb install PackateInstaller_modified.apk however the installation failed Failure [INSTALL_FAILED_ALREADY_EXISTS]

I have also tried adb uninstall com.android.packageinstaller however android will not let me uninstall it.

Any advice on how I can replace my version of PackageInstaller?

Thanks




Devaraj Rangasamy

unread,
Nov 28, 2011, 1:38:20 AM11/28/11
to ana...@gmail.com, android...@googlegroups.com


hi, we can reinstall an app by using -r argument..

"adb install -r PackateInstaller_modified.apk"

in case if that fails for any reason like its a system app and user cant reinstall, u can use below raw procedure
you can manually copy new apk to /system/app/PackageInstaller.apk and reboot the phone -> next boot you will see the result





--
Regards,
Deva

Ash

unread,
Nov 28, 2011, 4:55:06 AM11/28/11
to android...@googlegroups.com, ana...@gmail.com
Hi,
Thanks for the information. That did the trick.

Would you happen to know how can we stop apps such as DeskClock, Contacts, Camera, Email, Gallery, etc. from starting. Although not a big deal if they are running, it would be nice if I can stop these applications from starting up. We are basically using Android to run our application in Kisok mode and hence all other applications are basically redundant for our use.

And finally have you had any success in executing shell scripts from Android application?

Many thanks for your help.

Cheers
Reply all
Reply to author
Forward
0 new messages