首页 » 技术分享 » letv乐视网播放器vip破解

letv乐视网播放器vip破解

 

视频会员制,看片收费理所当然,但我家的letv s50越用越卡,广告随处可见,更为过分的是,一年会员到期后,各种app都会在几分钟内莫名其妙的自动闪退,这个就有点过了,不在改善用户体验上下功夫,恶意拦截视频播放上花心思,实在不该,怒而攻之。

1,root rom, 网上教程很多,不多说了

2,装xposed神器,教程很多

3, 开发letv vip破解模块:

public class FakeVip implements IXposedHookLoadPackage {
    public void handleLoadPackage(final LoadPackageParam lpparam) throws Throwable {
        if (!lpparam.packageName.contains("com.letv."))
            return;
        
        XposedBridge.log("Loaded app: " + lpparam.packageName);

        findAndHookMethod("com.letv.login.model.UserInfo", lpparam.classLoader, "getVipStatus", new XC_MethodHook() {
            @Override
            protected void afterHookedMethod(MethodHookParam param) throws Throwable {
                param.setResult(2);
            }
        });

        findAndHookMethod("com.letv.login.model.UserInfo", lpparam.classLoader, "getLoginStatus", new XC_MethodHook() {
            @Override
            protected void afterHookedMethod(MethodHookParam param) throws Throwable {
                param.setResult(2);
            }
        });

        findAndHookMethod("com.letv.login.model.UserInfo", lpparam.classLoader, "setVipStatus", int.class, new XC_MethodHook() {
            @Override
            protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
                param.args[0]=2;
            }
        });

        findAndHookMethod("com.letv.login.model.UserInfo", lpparam.classLoader, "setLoginStatus", int.class, new XC_MethodHook() {
            @Override
            protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
                param.args[0]=2;
            }
        });
    }
}

转载自原文链接, 如需删除请联系管理员。

原文链接:letv乐视网播放器vip破解,转载请注明来源!

0