In the process of learning English these days , i want to find some useful apps to make me more effective,so, finding this app : “voa每日英语” (by 2015.12.08) . This app seemed good until i saw the comments:
Then i installed this app and see how it would act :
Every time when i open this app,it will automatically download ads! so i cracked this app and wrote this article to share with you.This app uses 360 Reinforcement to protect itself :
The first step is to unshell this reinforcement , i edit Android Source Code (mainly modify this function :Dalvik_dalvik_system_DexFile_defineClassNative, i will tell you how i do this in another article some time later) to dump it’s original dex:
Then we should modify AndroidManifest.xml :
1 2 |
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:name="com.qihoo.util.StubApplication" android:qihoo="activity" android:theme="@style/AppTheme"> <activity android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/app_name" android:name="org.vv.voa.WelcomeActivity" android:screenOrientation="portrait"> |
convert to this:
1 2 |
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:name="org.vv.voa.MyApplication" android:theme="@style/AppTheme"> <activity android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/app_name" android:name="org.vv.voa.WelcomeActivity" android:screenOrientation="portrait"> |
and delete these two lines to remove ads:
1 2 |
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:name="com.baidu.mobads.AppActivity"/> <meta-data android:name="BaiduMobAd_APP_ID" android:value="f9011e85"/> |
any activities which want to run normally should state in AndriodManifest.xml, so delete ads’ activity’s statement from AndroidManifest.xml can make it never work.
Finially repack this app and install :
you can see the ads is gone! you can download the original app ,the unshell dex and the final cleaned app from this link :
http://pan.baidu.com/s/1bnOJG8f ( xkgj )
This app is pretty good without ads ,having fun ^_^