Deodexed Rom
1: Pull the file SecPhone.apk from system\priv-app unpack the SecPhone.apk with apktool
2: Browse the folder SecPhone\smali\com\android\phone and look for the file name "PhoneFeature.smali"
3: Open with notepad ++ and search for the word const-string v6, "write_sleep_checking_file"
4: Above the code .line 1323 add the following codes below.
5: Rebuild the apk with apktool.
6: Make backup of the old file just incase.
7: Push the new built apk inside system\priv-app
8: Reboot and enjoy.
#Remove accending ringtone.
1: Browse SecPhone.apk\smali\com\android\phone\Ringer$1.smal.
2: Find the code below.
3: Remove the line invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
4: Rebuild and push.
Edit: File attached only for DEODEXED! rom KITKAT 4.4.2
https://www.mediafire.com/?vu9w39yp63bdx9u
1: Pull the file SecPhone.apk from system\priv-app unpack the SecPhone.apk with apktool
2: Browse the folder SecPhone\smali\com\android\phone and look for the file name "PhoneFeature.smali"
3: Open with notepad ++ and search for the word const-string v6, "write_sleep_checking_file"
4: Above the code .line 1323 add the following codes below.
Code:
.line 1322
sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;
const-string v5, "voice_call_recording"
const/4 v2, 0x1
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v6
invoke-virtual {v0, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
5: Rebuild the apk with apktool.
6: Make backup of the old file just incase.
7: Push the new built apk inside system\priv-app
8: Reboot and enjoy.
#Remove accending ringtone.
1: Browse SecPhone.apk\smali\com\android\phone\Ringer$1.smal.
2: Find the code below.
Code:
iget-object v1, v1, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;
invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
.line 860
4: Rebuild and push.
Edit: File attached only for DEODEXED! rom KITKAT 4.4.2
https://www.mediafire.com/?vu9w39yp63bdx9u
Last edited: