Run Library & Reader on Nook Color emulator.
I’m writing an app which uses Reader.apk ContentProviders.
Library & Reader are absent on Nook Color emulator (NCE).
I want to install then to make debugging easier.
Got them both from NC 1.0.1 or NC 1.1 image, but they won’t install.
(I know they should be both in system/apps)
>adb -e install Reader.apk
I got different errors for NCE 2.1 and NCE 2.2:
2.1: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
2.2: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
Which one is easier to get installed?
(Even if I push them with
>adb push Reader.apk /system/app/Reader.apk
They won’t show up, as expected)
Finally the question:
If I do:
replace /system/app & /system/framework from corresponding content from NC image
What else need to be done to make it work?
I know, it is completely noob question, but is there another/right solution?
IMO, similar, but more cumbersome will be:
pull /system/app & /system/framework folders, resign with my certificate.
Edit Library.apk & Reader.apk – change SHARED_USER to match, resign with my certificate.
Looking for advice on how to proceed from experts.