Giter Site home page Giter Site logo

qlenlen / hmspush Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fei-ke/hmspush

0.0 0.0 0.0 385 KB

让非华为设备支持 HMS 推送,同时避免唤醒目标应用

Home Page: https://t.me/HMSPush

License: GNU General Public License v3.0

Kotlin 99.61% AIDL 0.39%

hmspush's Introduction

HMS Push

HMS Core 是华为提供的一套服务,其中包含了推送功能,可以在华为和非华为设备上使用,

但是在非华为设备上由于缺乏系统服务配合,只能唤醒目标应用让其自己弹出通知

同时大部分应用在非华为设备上不会主动启用 HMS 推送服务

该模块借助 LSPosed 为 HMS Core 提供发送系统通知的能力, 同时支持将应用运行环境伪装成华为设备,以此来实现无后台系统级别的推送通道。

Warning 对应用进行设备伪装会导致应用环境异常,从而导致封号等后果,请自行承担使用风险!

安装步骤:

  • 从应用市场下载并安装 HMS Core,比如 腾讯应用宝酷安APKMirror

  • 下载最新版本 HMS Push 安装,在 LSPosed 中启用 HMSPush 模块,并勾选 「系统框架」、「HMS Core 」作用域,然后重启设备,下载地址

  • LSPosed 里 HMSPush 模块里勾选你需要支持推送的目标应用(这一步目的是将应用环境伪装成华为设备,如果你使用了其他方式伪装设备,可以不进行这一步),然后重启一到两次目标应用使其注册上推送通道

  • 杀掉应用测试推送是否生效(可以使用QQ测试)   

注意:

  • 暂时不要将 HMS Core 更新到 6.13.0.322 以上,会遇到无法注册的问题

  • 并不是所有应用都支持 HMS 推送,目前测试已支持大部分应用,比如 QQ、抖音、知乎、酷安等,闲鱼、淘宝、饿了么等 v0.0.13 起已支持

  • 微信不支持,因为微信没有接入 HMS 服务

  • 请保证 HMS Core 在后台运行,不要禁用其自启权限和访问目标推送应用的权限

  • 如遇到点击通知未能进入目标应用,可尝试将 HMS Core 转为系统应用,不知道如何操作可直接刷入此 Magisk 模块

  • 反馈问题请带上 LSP 日志,到 Github 提 Issue 或者加入 Telegram 群组,或者发送至我的邮箱 Email

鸣谢

包括但不限于:

反馈

Github IssuesTelegram GroupEmail

License

GNU General Public License v3 (GPL-3).

hmspush's People

Contributors

fei-ke avatar nihilityt avatar goooler avatar cherinyy avatar

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.