Giter VIP home page Giter VIP logo

microg_gsync's Introduction

microG_GSync

如何优雅的使用GMS,为此我做了个食用Google服务的magisk懒人包。

开端

其实吧,我对google服务的需求并不大,我主要就是在play store下下软件,同步同步通讯录和用Google相机,所以我就在magisk仓库找到了microG体验了一下,挺好的,而且还有一个就是,之前我写的安装方法里的systemizer已经早就停止更新了,在android11用不了。

总结一下就是

1、省电

他不会像play服务一样常驻后台好多个进程,一般就1,2个进程在40m左右。

2、兼容性强

GMS套件中的Google services framework是有安卓版本区别的,不会和play服务还有play store一样版本跨度大。而microG就不会有这个问题。

3、自定义功能强大

Google的fcm消息推送服务可以自定义每个app的开关,也可以停用microG, Google的各种服务可单独控制开关。

当然也有不足

1、兼容性有不足

因为GMS是“活的”应用,他需要迭代,虽然microG已经可以称作兼容性很强大了,但是这毕竟是一个开源项目,这种兼容是有滞后性的。> “为爱发电,电力也有限” 比如smart lock是不能使用的,这是我比较喜欢的一个功能,不过好在问题不大。

2、安装使用比较繁琐

如果是原先有GMS的手机一定要卸载GMS才行,在酷安就有好多人给我反馈说装不上play store,或者play store安装好了play store也会连不上更新服务,Google账户的通讯录同步用不了之类的。而这些我也遇到过,要手动去卸载干净GMS再安装能解决,但是挺繁琐的,所以我想到了做个magisk模块吧,方便自己也能分享给大家,节约不必要的时间浪费。

实现

因为前几天下过一个支持安装过程用音量按键控制的magisk模块,这个音量按键控制的功能正好可以解决microG安装过程中是否需要执行清洁安装,所以马上在原有基础上改了起来,最后实现的效果如下,非常傻瓜式,看提示就能操作了。

功能描述

  1. 模块支持音量按键选择安装方式
  2. 支持清洁安装
  3. 安装时自动比较版本决定是否升级
  4. 支持旧机型按键校验
  5. 支持Google通讯录同步
  6. 在有Gapps的rom上也可以直接安装。

下载链接

进qq群下载:273145623 也可以自己在GitHub下载:microG_GSync 历史版本:安卓12之前选择v2.3.01的对应版本

🥰如果喜欢你也可以请我喝果汁🥰

图片笑死了

推广

进入web3领取最高1万元数字礼包

microg_gsync's People

Contributors

ozingi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

microg_gsync's Issues

兼容性问题

Google 相机 使用游乐场时提示缺少权限,chrome 无法登陆google 账户与同步Screenshot_2022-07-04-16-22-01-480_com.google.vr.apps.ornament.jpgScreenshot_2022-07-04-16-21-43-984_com.miui.securitycenter.pngScreenshot_2022-07-04-16-29-50-472_com.android.chrome.jpgScreenshot_2022-07-04-16-29-55-520_com.android.chrome.jpg

安装步骤gms失败

  • Copying zip to temp directory
  • Installing microG.Gsync.12 .v2.9.51.zip
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: line 1: #!/sbin/sh: not found
  • Device is system-as-root
    Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
    inflating: post-fs-data.sh
    inflating: sepolicy.sh
    inflating: service.sh
    inflating: system.prop
    inflating: unity_install.sh
    inflating: unity_uninstall.sh
    inflating: unity_upgrade.sh
    inflating: addon.sh
    inflating: busybox
    inflating: busybox
    inflating: util_functions.sh
    inflating: install.sh
    inflating: module.prop
    inflating: uninstall.sh
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: /dev/tmp/install.sh: line 1: ##########################################################################################: not found

Unzipping files...


microG_Gsync_installer


༼ つ ◕_◕ ༽つ我在 @深夜听表/Github: ozingi/qq群: 273145623

  • MagiskSU detected

  • !版本校验成功,开始安装...!
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: /dev/tmp/common/unity_upgrade.sh: line 1: #: not found
    ! The version verification is successful,Start the installation...

  • 卸载中...

  • Uninstalling
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: /dev/tmp/common/unity_uninstall.sh: line 1: PRIVE_APP=/data/resource-cache/priv-app.list: not found

  • 完成卸载 -

  • Completing uninstall -

  • Installing
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: /dev/tmp/addon/Volume-Key-Selector/preinstall.sh: line 1: #: not found

  • Running Preinstall Addons -
    Running Volume-Key-Selector...

  • 音量按键测试
    Vol Key Test

  • 请按下任意音量按键
    Press a Vol Key
    如果你的设备是没有对应按键的,例如WSA,点击屏幕即可自动执行默认干净安装
    If your device does not have a physical button, such as WSA, tap the screen to automatically perform the default clean installation.

  • Preinstalling (cont) -
    /data/user/0/com.topjohnwu.magisk/cache/flash/update-binary: /dev/tmp/common/unity_install.sh: line 1: OIFS=: not found
    _ ______
    ____ ___ () _____ _____ ____ / /
    / __ `
    \ / / / / / / / __ \ / / __
    / / / / / / / / / /
    / / / /
    / // /
    / /
    /
    / /
    / /
    / /
    / ___/ /
    / _/ _/

  • 是否需要安装 microG ?
    Do you want to install microG ?

  • 按下音量加=是,按下音量减=否,和退出
    Press Vol+ = Yes , Press Vol- = No, and exit

  • 是否需要执行干净安装microG?(已有GMS时将会删除,无法恢复,选择“否”进行普通安装)
    Whether to clear the microG before installing it?

  • 按下音量加=是,按下音量减=否
    Vol+ = Yes, Vol- = NO

  • Uninstall the gsf...
    Success
    rm: can't remove '/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk': Read-only file system

rm: can't remove '/system/app/GoogleServicesFramework': Read-only file system
rm: can't remove '/system/product/priv-app/GoogleServicesFramework': Read-only file system
rm: can't remove '/system/product/app/GoogleServicesFramework': Read-only file system
rm: can't remove '/system/system_ext/priv-app/GoogleServicesFramework': Read-only file system

rm: can't remove '/system/system_ext/app/GoogleServicesFramework': Read-only file system

  • Uninstall the gms...
    Failure [not installed for 0]
    rm: can't remove '/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk': Read-only file system
    rm: can't remove '/system/app/PrebuiltGmsCore': Read-only file system
    rm: can't remove '/system/product/priv-app/PrebuiltGmsCore': Read-only file system
    rm: can't remove '/system/product/app/PrebuiltGmsCore': Read-only file system
    rm: can't remove '/system/system_ext/priv-app/PrebuiltGmsCore': Read-only file system
    rm: can't remove '/system/system_ext/app/PrebuiltGmsCore': Read-only file system
    rm: can't remove '/system/product/priv-app/GmsCore': Read-only file system

  • Uninstall the playStore...
    Failure [not installed for 0]
    rm: can't remove '/system/priv-app/Phonesky/Phonesky.apk': Read-only file system

  • Uninstall the googleContactsSync...
    Success
    rm: can't remove '/system/priv-app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk': Read-only file system

  • Uninstall the droidguard...
    Success
    rm: can't remove '/system/priv-app/DroidGuard/DroidGuard.apk': Read-only file system
    ls: /data/user/0/com.google.android.vending: No such file or directory

  • 卸载残留已清理
    Uninstallation residue has been cleared

  • 安装中......
    Success
    Failure [INSTALL_FAILED_UID_CHANGED: Package com.google.android.gms shared user changed from com.google.uid.shared to ]
    error code:141 lines
    Success
    Success
    Success

  • 恢复根目录只读...

  • 安装完毕 -

  • Done -
    Installing scripts and files for arm64 SDK 33 device...
    mv: can't rename '/dev/tmp/system/xbin': No such file or directory

  • Setting Permissions


    •  github:ozingi/qq群:273145623    *
      

    •  Powered by Magisk (@topjohnwu)     *
      


    • Unity by ahrion & zackptg5 @ XDA *

Huawei P40

Hi, can you make login work for Huawei P40? The message says : "This device is not supported and lighthouse cannot be used"

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.