Forked from LineageOS android_packages_apps_SetupWizard. Changes from upstream: - Package renamed from org.lineageos.setupwizard to me.pawlet.setupwizard - Module renamed from LineageSetupWizard to PawletSetupWizard - Source tree moved from src/org/lineageos/ to src/me/pawlet/ - WelcomeActivity and FinishActivity migrated to Kotlin/Compose - PawletTheme: Material3 lavender color scheme with Ubuntu font family - WelcomeScreen and FinishScreen Compose composables - Added Ubuntu font assets (regular/medium/bold) - Added missing strings: setup_welcome_description, setup_complete_title, setup_complete_description; os_name set to PawletOS - Android.bp: added Compose deps, pawlet-system framework API - Privapp-permissions file renamed to me.pawlet.setupwizard.xml - Helper scripts renamed from start_lineage_wizard to start_pawlet_wizard - Removed unused org.lineageos.platform.internal dependency
23 lines
722 B
Bash
23 lines
722 B
Bash
#!/bin/bash
|
|
|
|
# SPDX-FileCopyrightText: The LineageOS Project
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
adb root
|
|
wait ${!}
|
|
adb shell pm enable me.pawlet.setupwizard || true
|
|
wait ${!}
|
|
adb shell pm enable me.pawlet.setupwizard/.SetupWizardActivity || true
|
|
wait ${!}
|
|
adb shell pm enable me.pawlet.setupwizard/.DeviceSpecificActivity || true
|
|
wait ${!}
|
|
if adb shell pm list packages | grep com.google.android.setupwizard; then
|
|
adb shell pm disable com.google.android.setupwizard || true
|
|
wait ${!}
|
|
fi
|
|
if adb shell pm list packages | grep com.android.provision; then
|
|
adb shell pm disable com.android.provision || true
|
|
wait ${!}
|
|
fi
|
|
adb shell am start -c android.intent.category.HOME me.pawlet.setupwizard/.SetupWizardActivity
|