Trusty or sepolicy are not supposed to be the cause to fail the apk installation.
If you find below operations are necessary to make the failure gone, there must be
something wrong and please let me know:
- disable trusty in mixins
- setenforce 0
From: Celadon [mailto:firstname.lastname@example.org] On Behalf Of Tapani Pälli
Sent: Wednesday, January 2, 2019 3:25 PM
Subject: Re: [01.org
Celadon] About install apk in Celadon
On 12/25/18 7:23 AM, Tan, Ming wrote:
I use the source code to build an image of Celadon, and use
userdebug build and celadon lunch target.
I install it to a device and it can boot to UI.
But when I try to install an apk in it, the installation failed.
Has someone successfully install 3^rd party apk in a device which
installed the Celadon?
I'm not sure which of these steps does it but this is how I build so that I'm able
to install apk's and run them:
I disable 'avb', 'slot-ab' and 'trusty' in mixins and run
mixin-update before building. I've also set 'tos_partition=false', don't
remember exactly why though, I think in some point it used to fail if it was set to true.
Before installing, I remove 'flashing lock' from installer.cmd script.
Then depending what you are about to run, you might also need to run "setenforce
0" before executing the app (such as CTS tests).
Disclaimer: I haven't done repo sync for some time so it could be that this will not
work .. I'll sync today and let you know what happened :)
Celadon mailing list