Code Monkey home page Code Monkey logo

com.fuck.android.rimet's Introduction

锤锤 Smartisan

仅限于使用高德SDK开发调试模拟位置,请勿用于钉钉打卡等非法用途!

Stars Release Download Telegram

注意事项

  • 环境快照数据存储位置

    版本号 数据存储位置
    0.4 /sdcard/Android/data/com.fuck.android.rimet/files/profiles
    0.3.1 /sdcard/Download/SmartisanProfile
    0.3 /sdcard/Download/SmartisonProfile
    0.2 /data/system/hammer_profiles
    0.1 /sdcard/current-profile

    大版本号之间数据互不兼容且升级系统后数据可能也不兼容需重新创建环境快照

支持的应用

所有使用高德定位SDK的应用,兼容性请自行测试。

已实现的功能

  • 支持快照GPS数据

  • 支持快照附近WIFI数据

  • 支持模拟附近5米内随机位置

使用方法

  1. 禁用对目标应用隐藏本模块(可选)
  2. 允许锤锤自启动/关联唤醒之类的功能(重要)
  3. 打开锤锤点击+号按钮创建环境快照
  4. 在锤锤列表中选择需要模拟环境快照
  5. 在模块管理器中激活锤锤并勾选推荐应用
  6. 强行停止目标应用并重新打开(重要)

运行环境

  • 支持系统:Android 8 - 14
  • 支持框架:LSPosed(推荐)/LSPatch(不推荐)/太极(不推荐)

问题排查

  1. 关闭其他模块仅保留本模块以排除模块间互相冲突

  2. 确认模块是否正确加载,以LSPosed管理器为例打开管理器->选择“日志”标签->查看“模块日志”,检查日志是否包含以下内容

    Smartisan INFO LoadPackage: pkg=xxx.xxx.xxx proc=xxx.xxx.xxx ifa=xxx
    
  3. 确认模块是否加正确加载环境快照数据,检查日志是否包含以下内容

    Smartisan INFO selected profile: {xxx}
    
  4. 检查日志中是否存在以下类似的错误码

    错误码x 参考https://modules.lsposed.org/module/com.fuck.android.rimet#问题排查
    
    错误码 含义 解决方案
    1 不支持该应用 取消对目标应用开启模块
    2 无法访问锤锤应用 是否对目标应用隐藏了模块?
    3 无法获取环境快照数据 在锤锤列表中勾选一个环境快照
    100 不预期的错误 加入群组提供相应的日志寻求帮助

    如仍未解决可加入TG讨论组寻求帮助,提问时参考提问的艺术部分

提问的艺术

不欢迎无效的提问

✖ 我的锤锤为什么用不了?

欢迎这样的提问

手机型号:小米13 Ultra
MIUI版本:14.0.17
Android系统版本:13
钉钉版本:6.0.0
锤锤版本:0.4
框架类型:LSPosed/LSPatch/太极
问题描述:我已按照使用说明创建了环境快照,并且按照文档要求排查了问题,但是打开目标应用位置没有改变。
日志文件:
附上框架导出的日志文件

FAQ

  1. 为什么不支持手动选择位置?

    因为手动选择的位置不准,所以不支持。以后也不会支持!

  2. 是否支持xx应用?

    自行测试理论上使用高德定位SDK的应用都支持。

  3. 0.4版本偶尔失效

    从此版本开始更改了存储机制因此需唤醒锤锤读取环境快照数据,但是国内厂商在Android系统上做了一些省电的优化因此可能会导致功能失效,建议开启锤锤自启动/关联唤醒之类的功能。

贡献者

@春秋四季天

com.fuck.android.rimet's People

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.