From b9b54aa493fac69701593db96fa6bae2d0fc342f Mon Sep 17 00:00:00 2001 From: Kiwon Park Date: Wed, 29 May 2024 11:44:26 -0700 Subject: [PATCH] Enable bootstrap if warranty sku is set Test: manual Bug: 336903409 Change-Id: I3f3f96516a2774e54dcbfa4470cbe1c98e46df7e --- conf/init.caiman.rc | 4 ++++ conf/init.komodo.rc | 4 ++++ conf/init.tokay.rc | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index c63cfa7d..cc70e3ec 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -79,3 +79,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GWVK6 setprop audio.camerasound.force true + +# Enable bootstrap when warrarnty is set +on boot && property:ro.boot.warranty.sku=* + setprop setupwizard.feature.provisioning_profile_mode true \ No newline at end of file diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 51d7027f..ca74c2b8 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -83,3 +83,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GQ57S setprop audio.camerasound.force true + +# Enable bootstrap when warrarnty is set +on boot && property:ro.boot.warranty.sku=* + setprop setupwizard.feature.provisioning_profile_mode true diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index f0626726..b1aeeb19 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -81,3 +81,7 @@ on fs # it should be written by the system init. on property:ro.boot.hardware.sku=G1B60 setprop audio.camerasound.force true + +# Enable bootstrap when warrarnty is set +on boot && property:ro.boot.warranty.sku=* + setprop setupwizard.feature.provisioning_profile_mode true \ No newline at end of file