吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 4506|回复: 23
收起左侧

[Android 分享] 九彩固件升级提示揭秘

  [复制链接]
027rainguai 发表于 2024-1-23 11:22
九彩固件升级提示怎么破?网上都在问,博主刚好也是这个固件,且按照提示重新升级了三次后(被耍猴了三次,后面揭秘)。
最终受不了准备一探究竟。先网上查找下相关资源,结果很失望都没有结果。
909991705978933645.png

951705979517958.png
941705979556465.png

上图给了我启发,于是便解开刷机包。反编译这个应用,看看是什么逻辑。
911705978968946.png

931705979005407.png



好家伙,还真被我找到了。
public void onReceive(Context context, Intent intent) {
        if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction()) || "android.intent.action.MEDIA_MOUNTED".equals(intent.getAction()) || "android.intent.action.MEDIA_UNMOUNTED".equals(intent.getAction()) || "android.intent.action.MEDIA_EJECT".equals(intent.getAction()) || "android.intent.action.MEDIA_REMOVED".equals(intent.getAction()) || "android.intent.action.LOCKED_BOOT_COMPLETED".equals(intent.getAction()) || "android.intent.action.BOOT_PROGRESS".equals(intent.getAction()) || "android.intent.action.REBOOT".equals(intent.getAction())) {
            SharedPreferences sharedPreferences = context.getSharedPreferences("boot_count", 0);
            int i = sharedPreferences.getInt("count", 0) + 1;
            SharedPreferences.Editor edit = sharedPreferences.edit();
            edit.putInt("counta", i);
            edit.apply();
            if (i < 400) {
                return;
            }
            Intent intent2 = new Intent(context, MainActivity.class);
            intent2.addFlags(268435456);
            context.startActivity(intent2);
        }
    }


丫的,这不是把用户当猴子耍吗。难怪当差不多一两个月就提示升级,而且我还傻傻的真去升级了。虽然你固件很出色,但是你也不要这样去折磨用户吧。

免费评分

参与人数 3吾爱币 +9 热心值 +2 收起 理由
Hmily + 7 + 1 欢迎分析讨论交流,吾爱破解论坛有你更精彩!
shenquanwusheng + 1 热心回复!
705 + 1 + 1 我很赞同!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

不用想名字了 发表于 2024-1-23 17:39
int i = sharedPreferences.getInt("count", 0) + 1;
            SharedPreferences.Editor edit = sharedPreferences.edit();
            edit.putInt("counta", i);
            edit.apply();
为啥我感觉会一直执行   获取值的key和设置值的key不一样啊  i不是一直是1?
侃遍天下无二人 发表于 2024-1-23 11:59
这个发的比你晚,看样子应该是从论坛里复制粘贴的,你看看是不是你发的
九彩固件升级提示揭秘-智能电视、网络机顶盒 刷机 破解 root 评测-恩山无线论坛
https://www.right.com.cn/forum/thread-8341095-1-1.html
101010 发表于 2024-1-23 11:41
zhichengishero 发表于 2024-1-23 11:44
有点意思,超过400就提示升级?
 楼主| 027rainguai 发表于 2024-1-23 11:46
zhichengishero 发表于 2024-1-23 11:44
有点意思,超过400就提示升级?

哎可不是吗,关键是我还真去重新刷机升级。结果今天早上又提示升级。
jianchen848 发表于 2024-1-23 12:03
弱弱的问一句,知道怎么回事了,怎么去破这个。
xuezhicailiao 发表于 2024-1-23 13:05
感谢楼主我很赞同!用心讨论,共获提升!
 楼主| 027rainguai 发表于 2024-1-23 13:24
侃遍天下无二人 发表于 2024-1-23 11:59
这个发的比你晚,看样子应该是从论坛里复制粘贴的,你看看是不是你发的
九彩固件升级提示揭秘-智能电视、 ...

这个是我哦
余心 发表于 2024-1-23 13:49
当事件发生次数达到 400 次时,启动 MainActivity
aonima 发表于 2024-1-23 17:32
这有点意思
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-4-28 03:14

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表