micro5k / microg-unofficial-installer

microG unofficial installer - it installs microG on Android
https://forum.xda-developers.com/showthread.php?t=3432360
GNU General Public License v3.0
162 stars 20 forks source link

installation options aren't accepted from the command-line #89

Open ildar opened 3 months ago

ildar commented 3 months ago

What happened?

I install like this:

DEBUG_LOG=1 INSTALL_PLAYSTORE=0 INSTALL_NEWPIPE=0 sh ./zip-install.sh /data/local/microg-unofficial-installer-*.zip

But the INSTALL_NEWPIPE=0 is ignored and replaced by the settings.conf from inside zip.

Version

1.3.1-beta

Android version

14

Custom ROM

LOS 21

Relevant log output

...
Enabling: NewPipe
Verifying...  
/tmp/custom-setup-a5k/origin/app/NewPipe.apk
OK
ale5000-git commented 3 months ago

Hi, it is intended, only these can be passed from command-line:

To configure other settings from command-line you can use setprop, for example: adb shell "setprop zip.microg-unofficial-installer.LIVE_SETUP_TIMEOUT 8".

First configure the options (all settings persist until reboot) then flash the zip via recovery or zip-install.sh.

ildar commented 3 months ago

I see. thanks.

ale5000-git commented 2 months ago

It isn't in the v1.3.1-beta but it in the new version there will be a file setprop-settings-list.csv inside the zip that list all usable settings. You can see it already inside the latest alpha => https://xdaforums.com/t/mod-flashable-microg-unofficial-installer.3432360/post-89404773