[EngineerMode@lwz]Modified EngineerMode secret code to 666666 (old was 3646633)
alps/vendor/mediatek/proprietary/packages/apps/EngineerMode/AndroidManifest.xml
index adba429..266a531 100755
@@ -706,7 +706,7 @@
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data
- android:host="3646633"
+ android:host="666666"
android:scheme="android_secret_code" />
</intent-filter>
</receiver>
------ alps/vendor/mediatek/proprietary/packages/apps/EngineerMode/README ------
index 01040ee..ea0ab32 100755
@@ -22,7 +22,7 @@ All source/dependency modules of this module are already put in
HOW TO USE IT?
==============
-Enter dialer, and key in *#*#3646633#*#* to launch the EngineerMode.
+Enter dialer, and key in *#*#666666#*#* to launch the EngineerMode.
all source code are at (vendor/mediatek/proprietary/packages/apps/EngineerMode/)
All the source code of this library were written by MediaTek co..
alps/vendor/mediatek/proprietary/packages/apps/EngineerMode/src/com/mediatek/engineermode/EngineerModeReceiver.java
index fc484d8..e4fdca0 100755
@@ -46,8 +46,8 @@ public final class EngineerModeReceiver extends BroadcastReceiver {
private static final String TAG = "EM/SECRET_CODE";
private static final String SECRET_CODE_ACTION = "android.provider.Telephony.SECRET_CODE";
- // process *#*#3646633#*#*
- private final Uri mEmUri = Uri.parse("android_secret_code://3646633");
+ // process *#*#666666#*#*
+ private final Uri mEmUri = Uri.parse("android_secret_code://123312");
@Override
public void onReceive(Context context, Intent intent) {
alps/vendor/mediatek/proprietary/packages/apps/EngineerMode/tests/src/com/mediatek/engineermode/tests/EngineerModeReceiverTest.java
old mode 100644
new mode 100755
index 34e7d6f..5fa9077
@@ -57,7 +57,7 @@ public class EngineerModeReceiverTest extends AndroidTestCase {
public void test01_Receive() {
Intent intent = new Intent();
intent.setAction(SECRET_CODE_ACTION);
- intent.setData(Uri.parse("android_secret_code://3646633"));
+ intent.setData(Uri.parse("android_secret_code://666666"));
mReceiver.onReceive(getContext(), intent);
EmOperate.waitSomeTime(EmOperate.TIME_LONG);
}