Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need help with testing of the new mounting code #113

Open
ale5000-git opened this issue Feb 16, 2025 · 10 comments
Open

Need help with testing of the new mounting code #113

ale5000-git opened this issue Feb 16, 2025 · 10 comments
Assignees

Comments

@ale5000-git
Copy link
Member

ale5000-git commented Feb 16, 2025

Hi,
I have done a major overhaul of the mounting code so there may be regressions (even if unlikely).
It would be very helpful if as many people as possible would test the new build.

First enable the debug log with:
adb shell "setprop zip.common.DEBUG_LOG 1"

Then flash the new build:

microG unofficial installer v1.3.1.79 alpha full: https://share.freepro.com/6c0aa645-edfc-4b73-a939-3df6077dc07e
Google Sync add-on v1.3.1.79 alpha full: https://share.freepro.com/774e0e55-b7ef-45f1-b405-22081c3ff3e3

Or if you need the oss variant you can find it here: https://github.com/micro5k/microg-unofficial-installer/releases/tag/nightly

During the flash you will find a Creating log message with the path of the log.

At the end please take the debug-a5k.log and post it here.

@ale5000-git ale5000-git added enhancement help wanted needs triage Pending review to ensure they are relevant, actionable and contain all necessary information labels Feb 16, 2025
@ale5000-git ale5000-git self-assigned this Feb 16, 2025
@ale5000-git ale5000-git removed enhancement needs triage Pending review to ensure they are relevant, actionable and contain all necessary information labels Feb 16, 2025
@ale5000-git
Copy link
Member Author

New builds uploaded, see the fist message.

@ale5000-git ale5000-git changed the title Test the new mounting code Need help with testing of the new mounting code Feb 19, 2025
@teerasak
Copy link

teerasak commented Feb 19, 2025

GSI a13 vanilla + Samsung Tab A7 lite.
microg-unofficial-installer-v1.3.1.77-alpha-76501f9-full-by-ale5000-signed
-Not Boot up again.

Executing script...
PRELOADER
Loading 6990-customize.sh...
LOADER
Extracting 64-bit ARM BusyBox...
Parsing common settings...
Creating log: /storage/emulated/0/Download/debug-a5k.log
The ZIP installation is completed, now restart your device!!!

@ale5000-git
Copy link
Member Author

ale5000-git commented Feb 19, 2025

@teerasak
Could you please get debug-a5k.log with: adb pull /storage/emulated/0/Download/debug-a5k.log . (the dot means the current folder on the PC) and post it here?
This need to be done after flashing and before the restart of the device.

@teerasak
Copy link

teerasak commented Feb 19, 2025

2nd test
C:\platform-tools>adb shell "setprop zip.common.DEBUG_LOG 1"

C:\platform-tools>adb shell
gta7lite:/ $ su
gta7lite:/ # cd /sdcard/Download
crog-unofficial-installer-v1.3.1.77-alpha-76501f9-full-by-ale5000-signed.zip zip-install.sh <
Archive: ./microg-unofficial-installer-v1.3.1.77-alpha-76501f9-full-by-ale5000-signed.zip
inflating: zip-install.sh
nstall.sh ./microg-unofficial-installer-v1.3.1.77-alpha-76501f9-full-by-ale5000-signed.zip <
Executing script...
PRELOADER
Loading 6376-customize.sh...
LOADER
Extracting 64-bit ARM BusyBox...
Parsing common settings...
Creating log: /storage/emulated/0/Download/debug-a5k.log
The ZIP installation is completed, now restart your device!!!

debug-a5k.log

it boot now.

@KhazAkar
Copy link

KhazAkar commented Feb 19, 2025

LG v30, official LineageOS 22.1, version v1.3.1.77
I don't know if it worked or not, because there's a warning about not enough space available, but script ended with code 0.
After reboot, no apps seen.

debug-a5k.log

EDIT: microG settings app is there and seems to work(?), but no google play/aurora store or fdroid apps visible.

@ale5000-git
Copy link
Member Author

ale5000-git commented Feb 19, 2025

@KhazAkar
At first there wasn't enough space but the zip has rolled back My Location and NewPipe so at the end it was able to install correctly (excluding the aforementioned apps).
It were also able to mount correctly all partitions.

Play Store doesn't appear because you flashed it without using the live setup so the zip have used the settings selected by you in the previous installation, so it has choosen microG Companion instead of Google Play Store.

F-Droid and Aurora Store aren't included in the installer, they can be installed manually as user apps.
What it does include are just F-Droid Privileged Extension and Aurora Services (this one disabled as previous setting).

@ale5000-git
Copy link
Member Author

ale5000-git commented Feb 20, 2025

@teerasak
It seems it doesn't find all partitions on your device.

Could you please post here the result of these commands?
adb shell "ls -l /dev/block/mapper"
adb shell "ls -l /dev/block/platform/*/by-name"
adb shell "ls -l /dev/block/bootdevice/by-name"
adb shell "cat /sys/dev/block/*/uevent"
adb shell "stat /product"
adb shell "stat /mnt/product"

@KhazAkar
Copy link

@ale5000-git thanks for the update, will re-install with live setup this time.
Will live setup help me also with selecting where it should install applications? According to information I got from telegram group for my phone, it appears that I should put stuff in system_ext, not system. Plus, so low free space in system slightly bothers Mr, especially when it was freshly flashed LOS

@ale5000-git
Copy link
Member Author

@KhazAkar
Thanks to you for the test.
The zip doesn't yet support the installation on other partitions but at least it is now able to mount all partitions that is a step in that direction.
The rest is tracked on: #115

@ale5000-git
Copy link
Member Author

New builds uploaded, see the fist message.

It now has a DRY_RUN setting to allow flashing the zip without modifying anything on the device.
It can be enabled with: adb shell "setprop zip.microg-unofficial-installer.DRY_RUN 1"

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants