Comments (9)
可以看看/data/data/me.iweizi.stepchanger/shared_prefs下是否有NewPedoMeter_private.xml和NewPedoMeter.xml两个文件
from stepchanger.
两个文件都有的
from stepchanger.
支付宝10.1.15版本,提示获取读取存储权限后就没反应,加载不到数据,目录下面没有文件/data/data/me.iweizi.stepchanger/shared_prefs,支付宝有启动过获取到运动步数了,然后杀掉进程才启动步数修改器的,手机小米5 安卓7.0
from stepchanger.
将目录下面没有文件/data/data/me.iweizi.stepchanger/shared_prefs删除,重新加载就可以了。原文件中有一个steps -22540的数据,不是是否由此引起
from stepchanger.
@olympicjun 我的删了还是不行。依旧加载不出来,不论哪个支付宝版本都不行。
from stepchanger.
问题在于,这两个文件现在chmod以后还是不可读。
OnePlus3:/data/data/com.eg.android.AlipayGphone/shared_prefs # ls -l NewPedoMeter*
-rw-rw-rw- 1 u0_a107 u0_a107 441 2018-02-08 07:25 NewPedoMeter.xml
-rw-rw-rw- 1 u0_a107 u0_a107 331 2018-02-08 07:25 NewPedoMeter_private.xml
OnePlus3:/data/data/com.eg.android.AlipayGphone/shared_prefs # ^D
OnePlus3:/ $ cat /data/data/com.eg.android.AlipayGphone/shared_prefs/NewPedoMeter.xml
/system/bin/sh: cat: /data/data/com.eg.android.AlipayGphone/shared_prefs/NewPedoMeter.xml: Permission denied
from stepchanger.
现在我自己的手机上支付宝也改不了了,现在没时间,等过两天放了假搞一下
from stepchanger.
似乎遇到了算法更新。稍微修正了一下现在能正常读写文件。但是发现现在会检查NewPedoMeter_private.xml中的读数是否为负数了。所以 newLastRecord.setSteps((int) (sensorStep - stepDiff));
这一句不奏效了。
edit: 并没有更新。只是写文件失败而已。已修复。稍后发PR。
from stepchanger.
OK, 跟我想的差不多,就是把cat命令也用root权限执行。当初想的是只用root权限执行chmod,普通权限执行cat,尽量减少root权限的申请,但后来发现sharedpreferences文件的权限每次都会被改。 @ttimasdf
from stepchanger.
Related Issues (20)
- 微信不能修改步数
- None of the features work HOT 1
- 修改失败 HOT 2
- 修改失败
- 修改失败
- Building failed with Exception thrown at CryptorUnitTest HOT 2
- 小米 mi note lte android4.4.4ktu84p,apk安装格式解析错误 HOT 4
- 钉钉计步在什么地方 HOT 1
- 钉钉计步可以分析一下吗 HOT 1
- 支付宝步数修改失败 HOT 7
- 最新版QQ不适用
- 最新版的微信失效了 HOT 2
- 能不能release安装包? HOT 8
- 能不能发一个安装包 HOT 1
- 最新版QQ不能用 HOT 6
- 想问下能否把微信运动步数改小
- Does not work on WeChat 7.0.0 HOT 1
- 使用gradle5.1版本无法编译 HOT 1
- 微信新版步数失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stepchanger.