Giter Club home page Giter Club logo

com.fuck.android.rimet's Introduction

锤锤 Smartisan

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

Stars Release Download Telegram

自用机场推荐

BYWAVE

注意事项

  • 环境快照数据存储位置

    版本号 数据存储位置
    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系统上做了一些省电的优化因此可能会导致功能失效,建议开启锤锤自启动/关联唤醒之类的功能。

贡献者

@春秋四季天

捐赠名单

@C_aa @ttd_xg @苏 @tiantianxiangshang12138 @HouhTung @🈚️ @DooDoo @Gimcy @佞臣 @BenBen @mf_lll @你个死胖子 @jenova.w @No_Name @abuzz1966 @@nijqu_niyqu @realki

com.fuck.android.rimet's People

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

com.fuck.android.rimet's Issues

load不到包

手机型号:一加3T
Android系统版本:9
钉钉版本:7.1.17
锤锤版本:v0.4-beta2
框架类型:EdXPosed
问题描述:我是需要WIFI打卡的,之前是用0.2版本没问题的,是最近被检测了。然后我就卸装0.2,安装了0.4-beta2。就出现Smartisan INFO LoadPackage没有load钉钉的包,但能load其他的包。而且看到Smartisan INFO invoke WifiManager#getScanResults() not replaced,不知道是不是wifi没模拟成功。
感觉是load不到的问题,要怎么排查解决。

使用锤锤还是不能正确定位

手机型号:华为mate20pro
EMUI版本:9.1
Android系统版本:9
软件版本:中建二局 4.1.0 (我们公司自己做的打卡软件,我也传到附件了,不清楚是不是使用高德SDK定位的,如果作者有时间研究的话不胜感激,没时间也没事)
锤锤版本:0.4-beta2
框架类型:LSPosed
问题描述:我已按照使用说明创建了环境快照,并且按照文档要求排查了问题
(只可以搜到第一条“Smartisan INFO LoadPackage: pkg=xxx.xxx.xxx proc=xxx.xxx.xxx ifa=xxx”。

第三条“错误码x 参考https://modules.lsposed.org/module/com.fuck.android.rimet#问题排查”)
搜到的截图在附件,但是打开目标应用位置没有改变。
日志文件:不知道到底是用哪个,我就把log文件夹全部传了。
PixPin_2024-01-19_12-15-07
log.zip

lspatch注入相关

使用LSpatch注入应用以后如何唤起和使用呢?想用LSpatch便携模式注入后更换手机安装并使用,感谢赐教

位置搜索

能不能增加一个直接搜索位置的功能

能否提供一个修改包名的功能

目前这个应用可以被钉钉检测到,应该是用的包名检测。我试用apktool解包,修改包名,重新打包,安装后不会被钉钉检测,但是无法使用,应用闪退,有错误日志为:

iava.lang.NoClassDefFoundError: Failed resolution of:
lde/robv/android/xposed/XSharedPreferences:
at j3.cf(Unknown Source:93)
at n3.a$c.m(Unknown Source:28)
at m4.av(Unknown Source:11)
at p7.x0.run(Unknown Source:88)
at kotlinx.coroutines.internal..run(Unknown Source:12)at kotlinx.coroutines.scheduling.k.run(Unknown
Source:2)
at kotlinx.coroutines.scheduling.a.n(Unknown Source:0)at kotlinx.coroutines.scheduling.a$c.d(UnknownSource:14)
at kotlinx.coroutines.scheduling.a$c.n(Unknown
Source:28)
at kotlinx.coroutines.scheduling.a$c.run(UnknownSource:0)
Suppressed: p7v0:[i2{Cancelling}@e081511
Dispatchers.10]
Caused by: javalang.ClassNotFoundException:de.robv.android.xposed.XSharedPreferences

安卓13下0.3.1版无法使用

米10 MIUI14安卓13,lsp环境,在tg群里找的最新的0.3.1版锤锤,锤锤已打开所有文件访问权限。钉钉版本开始用的最新的7.0.21.15,采集好可打卡位置信息后远离打开钉钉依然显示外勤,钉钉降级到7.0.5.10也是一样

系统升级后,打开锤锤闪退

升级系统和magisk后,打开锤锤闪退了,重启、清除缓存和数据、禁用magisk和lsposed其他插件、卸载重装等方式试过好几次,仅有有几次重装后可以打开页面,然后无限闪退。

设备:Google Pixel 4 (flame)
系统版本: Android 13(TP1A.221005.002.B2)
magisk版本:26.3(26300)
LSPosed版本:1.9.1 (6990) - Zygisk

在lsposed的日志里找到部分报错信息如下:

[ 2023-09-20T09:33:04.275    10020:  5663:  5663 I/LSPosed-Bridge  ] Loading legacy module com.fuck.android.rimet from /data/app/~~vZ7qZElfgUHouxTAY9eqTQ==/com.fuck.android.rimet-0RNEYb3QncCEoWE5h8Cjag==/base.apk
[ 2023-09-20T09:33:04.288    10020:  5663:  5663 I/LSPosed-Bridge  ]   Loading class com.fuck.android.rimet.core.CoreLoader
[ 2023-09-20T09:33:04.348    10020:  5663:  5663 I/LSPosed-Bridge  ] [Smartisan] INFO handleLoadPackage: com.fuck.android.rimet
[ 2023-09-20T09:33:04.429    10020:  5663:  5663 I/LSPosed-Bridge  ] Crash unexpectedly: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fuck.android.rimet/com.fuck.android.rimet.MainActivity}: java.lang.IllegalStateException: Bad magic number for Bundle: 0xb8
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3676)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3813)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7898)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalStateException: Bad magic number for Bundle: 0xb8
	at android.os.BaseBundle.readFromParcelInner(BaseBundle.java:1838)
	at android.os.BaseBundle.<init>(BaseBundle.java:170)
	at android.os.Bundle.<init>(Bundle.java:103)
	at android.os.Parcel.readBundle(Parcel.java:3306)
	at android.os.Parcel.readBundle(Parcel.java:3289)
	at android.location.Location$1.createFromParcel(Location.java:947)
	at android.location.Location$1.createFromParcel(Location.java:914)
	at com.amap.api.location.AMapLocation$1.a(SourceFile:1)
	at com.amap.api.location.AMapLocation$1.createFromParcel(Unknown Source:0)
	at android.os.Parcel.readParcelableInternal(Parcel.java:4772)
	at android.os.Parcel.readParcelable(Parcel.java:4740)
	at com.fuck.android.rimet.profile.Profile.<init>(SourceFile:2)
	at com.fuck.android.rimet.profile.Profile.<init>(SourceFile:3)
	at com.fuck.android.rimet.profile.Profile$1.createFromParcel(SourceFile:1)
	at com.fuck.android.rimet.profile.Profile$1.createFromParcel(SourceFile:2)
	at com.fuck.android.rimet.profile.Profile.a(Unknown Source:14)
	at k0.n.h(Unknown Source:56)
	at com.fuck.android.rimet.MainActivity.onCreate(Unknown Source:114)
	at android.app.Activity.performCreate(Activity.java:8290)
	at android.app.Activity.performCreate(Activity.java:8269)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3657)
	... 12 more

位置编辑

位置添加的太多,希望可以增加一个删除功能

锤锤闪退

手机小米11,MIUI 14.0.9,安卓13版本。
钉钉7.0.30,锤锤V0.3.1,使用magisk+LSP。
确认LSP模块已激活,已经给予钉钉访问文件权限了,一打开锤锤直接闪退。尝试卸载锤锤重装后,可以进入页面,但进行位置采集后直接闪退,再次点击就进不去了。
起初怀疑是墓碑模块冻结的问题,但将锤锤解冻后还是一样闪退。

数据迁移

能否提供0.2到0.3版本的数据迁移教程

以失效

同楼上,23号晚上用不了了,环境为小米MIX Fold 3,安卓14,root为ksu

人脸打卡

大佬,人脸打卡啥时候开发ok,谢谢了

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.