Code Monkey home page Code Monkey logo

Comments (9)

ale5000-git avatar ale5000-git commented on May 24, 2024

I think that the problem is probably the missing free space.

The main problem is that microG GmsCore is growing a lot recently but the thing that grow much is not the microG GmsCore itself but mainly the Maps libray included inside it.

I have to find a way to fix the problem but this need some time.
In the meanwhile you could try to manually remove some apps that you don't need from the system partition.

from microg-unofficial-installer.

532910 avatar 532910 commented on May 24, 2024

Can confirm that there is not enough free space on the system partition.
But enough on the product.

OnePlus9Pro:/ $ df -h
Filesystem       Size Used Avail Use% Mounted on
tmpfs            5.4G 1.7M  5.4G   1% /dev
tmpfs            5.4G 936K  5.4G   1% /mnt
/dev/block/dm-2  925M 897M   13M  99% /
/dev/block/dm-3  1.0G 0.9G   11M  99% /system_ext
/dev/block/dm-1  1.3G 530M  788M  41% /product
/dev/block/dm-4  649M 647M     0 100% /vendor
/dev/block/dm-5   29M  29M     0 100% /vendor_dlkm
/dev/block/dm-0  1.1G 1.1G     0 100% /odm
magisk           5.4G 4.8M  5.4G   1% /dev/nuxpztyivjxr
tmpfs            5.4G 8.0K  5.4G   1% /apex
/dev/block/sde14  59M  41M   16M  72% /vendor/dsp
/dev/block/dm-6  221G 7.1G  214G   4% /data
worker           5.4G    0  5.4G   0% /system/bin
/dev/fuse        221G 7.1G  214G   4% /storage/emulated

I successfully created a sideload zip that installs f-droid, aurora and gmsCore, based on org.fdroid.fdroid.privileged.ota_2130.zip. I mount /dev/block/mapper/product_[ab] and copy files there.

But I faced another problem: the update doesn't survives ota update. Moreover neither org.fdroid.fdroid.privileged.ota_2130.zip nor Magisk-v26.1.zip survives ota and needs to be reinstalled.

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 24, 2024

Using addon.d for preserve apps in the product partition is an additional complication and not all ROMs support it since it was introduced later.
I have never looked at it and I don't have time currently but I will surely support it in the future.

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 24, 2024

@532910
Could you please mount the system partition, run these commands and post the results?

ls -la /mnt/system/system/priv-app
ls -la /mnt/system/system/app

Maybe I can find some unnecessary Google apps that can be removed to reduce the problem until there is a better fix.

from microg-unofficial-installer.

532910 avatar 532910 commented on May 24, 2024
1|OnePlus9Pro:/ # ls -la /system/priv-app
total 164
drwxr-xr-x 41 root root 4096 2009-01-01 03:00 .
drwxr-xr-x 14 root root 4096 2009-01-01 03:00 ..
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 BackupRestoreConfirmation
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 BlockedNumberProvider
drwxr-xr-x  4 root root 4096 2009-01-01 03:00 BuiltInPrintService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CalendarProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CallLogBackup
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CellBroadcastLegacyApp
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ContactsProvider
drwxr-xr-x  2 root root 4096 2009-01-01 03:00 CtsShimPrivPrebuilt
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 DocumentsUI
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 DownloadProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 DownloadProviderUi
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 DynamicSystemInstallationService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ExternalStorageProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 FaceUnlockService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 FusedLocation
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 InputDevices
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 IntentResolver
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 LiveWallpapersPicker
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 LocalTransport
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ManagedProvisioning
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 MediaProviderLegacy
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 MmsService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 MtpService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 NetworkStack
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 NetworkStackNext
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ONS
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 PackageInstaller
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ProxyHandler
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 SettingsProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 SharedStorageBackup
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 Shell
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 SoundPicker
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 StatementService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 Tag
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 TeleService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 Telecom
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 TelephonyProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 UserDictionaryProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 VpnDialogs
OnePlus9Pro:/ # ls -la /system/app
total 92
drwxr-xr-x 23 root root 4096 2009-01-01 03:00 .
drwxr-xr-x 14 root root 4096 2009-01-01 03:00 ..
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 BasicDreams
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 BluetoothMidiService
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 BookmarkProvider
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CameraExtensionsProxy
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CaptivePortalLogin
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CarrierDefaultApp
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CertInstaller
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 CompanionDeviceManager
drwxr-xr-x  2 root root 4096 2009-01-01 03:00 CtsShimPrebuilt
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 EasterEgg
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 ExtShared
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 HTMLViewer
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 KeyChain
drwxr-xr-x  4 root root 4096 2009-01-01 03:00 NfcNci
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 PacProcessor
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 PrintRecommendationService
drwxr-xr-x  4 root root 4096 2009-01-01 03:00 PrintSpooler
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 SecureElement
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 SimAppDialog
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 Stk
drwxr-xr-x  3 root root 4096 2009-01-01 03:00 WallpaperBackup
OnePlus9Pro:/ # 

from microg-unofficial-installer.

532910 avatar 532910 commented on May 24, 2024

I "fixed" the issue installing all on /product:
https://github.com/532910/microg-fdroid-aurora

from microg-unofficial-installer.

532910 avatar 532910 commented on May 24, 2024

About updates: only OTA updates are survived. Trying to do Local update will remove installed apps.

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 24, 2024

I will do these things:

  • Display the exact error in case of failure
  • Reduce general microG GmsCore size: microg/GmsCore#2000 (76,3 MB => 35,8 MB)
  • Install only the strictly required libraries to reduce size on the system partition
  • Rollback optional apps to reclaim free space if needed
  • Remove more unneded Google apps
  • Install on product partition if there isn't enough space on the system partition

The last point will come later since it is the most complicated.

from microg-unofficial-installer.

ale5000-git avatar ale5000-git commented on May 24, 2024

This new code should alleviate the problem on some devices:
free-space-autorecovery

from microg-unofficial-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.