-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
查询微信缓存失败,请允许root权限后重试. #25
Comments
请贴logcat记录 |
02-09 10:21:28.911 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:21:30.641 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:21:33.251 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:21:58.991 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:22:02.101 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:22:06.681 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:01.265 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:04.905 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:05.355 I/ActivityManager( 1115): Killing 11650:moe.chionlab.wechatmomentstat/u0a138 (adj 14): cached #5 02-09 10:24:05.405 I/WindowState( 1115): WIN DEATH: Window{4369eaf8 u0 moe.chionlab.wechatmomentstat/moe.chionlab.wechatmomentstat.gui.MainActivity} 02-09 10:24:09.545 I/ActivityManager( 1115): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=moe.chionlab.wechatmomentstat/.gui.MainActivity bnds=[845,604][1013,772]} from pid 1621 02-09 10:24:09.575 I/ActivityManager( 1115): Start proc moe.chionlab.wechatmomentstat for activity moe.chionlab.wechatmomentstat/.gui.MainActivity: pid=14425 uid=10138 gids={50138, 1028, 1015, 3003} 02-09 10:24:09.605 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: true 02-09 10:24:09.655 D/NetworkController( 1741): send broadcast android.net.conn.CONNECTIVITY_CHANGE to moe.chionlab.wechatmomentstat 02-09 10:24:10.025 I/ActivityManager( 1115): Displayed moe.chionlab.wechatmomentstat/.gui.MainActivity: +470ms 02-09 10:24:10.125 I/Timeline( 1115): Timeline: Activity_windows_visible id: ActivityRecord{42ec0740 u0 moe.chionlab.wechatmomentstat/.gui.MainActivity t115} time:33548880 02-09 10:24:12.025 D/wechatmomentstat(14425): Querying Sns database. 02-09 10:24:13.255 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: true packageForeground: false 02-09 10:24:14.195 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:20.696 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:22.826 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:24:25.276 D/PowerCalculator( 1741): computePackageForegroundLocked, packageName: moe.chionlab.wechatmomentstat oldPackageForeground: false packageForeground: false 02-09 10:25:27.866 D/PowerCalculator( 1741): key = moe.chionlab.wechatmomentstat value = 5505 time = 91305 |
不晓得是不是这些log,菜鸟一只,麻烦你了。 谢谢 |
参考#3
|
@Chion82 十分感谢, 但是还是出现“查询微信缓存失败,请允许root权限后重试”。 |
02-10 11:29:56.436 I/dalvikvm(25497): at moe.chionlab.wechatmomentstat.Task.saveToJSONFile(Task.java:229) |
好像是 json 文件没有写入权限。 |
允许外部存储读写权限试试呢? |
哪里设置外部存储读写权限? 取得ROOT权限,安装RE管理器,找到位置:/system/etc/permissions/platform.xml长按之,选择在文本编辑器中打开。然后在下面这段代码中增加红色部分代码即可。
|
@Chion82 all_sns.json 现在权限是 0660, 所有者和用户组 是 root/root |
看到有个Out of memory 异常,可能是缓存的朋友圈数据太多了?试试清空微信的保存数据,再登录微信只看几条朋友圈,然后再试试? |
记得重新手动复制db文件 |
表现在变成了snsExtInfo2了。 |
@ouyangruoxue 微信升级到6.3.28,本程序释放的apk不是让用户安装的,是拿来做反射的 |
@Chion82 的确是缓存太多的原因, 清空后就可以了。 对了,Json文件里怎么查看 朋友圈的图片? |
medialist 里面的图片是要怎么才能访问到? 谢谢 |
@forrest2015 #16 目前无解 |
很奇怪,已经用360一键root了手机,并且也允许可以root运行。 但是一直弹出这个提示。
权限管理 那边也允许读取写入。
小米note
Android 4.4.4
The text was updated successfully, but these errors were encountered: