[UNIVERSAL]VoLTE Patch v2 for All Android N Roms [Updated: 2.1.17]

Sudeep Duhoon

Recognized Contributor
Oct 23, 2012
1,267
2,755
0
Delhi
What is this?
This is a patch for Kenzo by which you will get volte on any nougat rom (non volte) out there. :)

Disclaimer:
If you want to add this patch to your rom, please give proper credits and link this thread too.
If you like this, press that thanx button. If you use this, consider donation. :victory:

Requirement:
Redmi note 3 on any rom
Unlocked and with TWRP recovery
VoLTE v3 patch 25-01-17

Instructions:
Clean flash
1. Download any non volte rom
2. Download v3 patch
3. Flash the rom according to instructions provided on rom thread
4. Flash firmware 15-11-16 Credits Newer firmware? Try and report. :good:
5. In the end flash v3 patch
6. Reboot.

Dirty Flash OTA
Flash your rom's ota as you do(without wiping system), no need to flash patch again. It will be auto applied after every dirty flash.

FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- It may.
2. Does volte works on second sim?
A- Not tested but should work.
3. Is there or going to be any patch for Marshmallow based roms?
A- Yes. Go here
4. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
5. Everything above said is checked, still no VoLTE?
A- Check v2 guide and also post #3.

Donations:
Thanx for your kind donations, it helps. :)
Send me a pm if you have donated, if you want to join telegram group for close testing and support. :highfive:
NVDX11, 99xxxx3869, 97xxxx1652, 94xxxx8709 (AmolAmrit), 89xxxx6581 (hemant_jeengar), 77xxxx8388, 88xxxx9810, 90xxxx4024, 86xxxx0406, 89xxxx8858, 88xxxx9810, asrupesh, 73xxxx6596, MakDroid, BabyTedhu, 95xxxx7623 (vk82119), 81xxxx4723, 73xxxx3906, 88xxxx0101, Pancha5


Credits:
TheStrix
abhishek987
Santhosh M

Telegram Channel for faster ETA's, Changlog: Channel

XDA:DevDB Information
VoLTE Patch Nougat, Tool/Utility for the Xiaomi Redmi Note 3

Contributors
Sudeep Duhoon

Version Information
Status: Stable
Current Stable Version: 3
Stable Release Date: 2016-12-31

Created 2016-11-29
Last Updated 2017-01-25
 

Attachments

Last edited:

Sudeep Duhoon

Recognized Contributor
Oct 23, 2012
1,267
2,755
0
Delhi
Changelog and v1 beta patch (old)

Change-log:

25-01-17 v3 released Might be last
Based on TheStrix Commits

13-01-17
Updated with newer files

31-12-16 v2 released
Only 1 zip needed now instead of 2
Universal for nougat
OTA support
64k sim support, no force close
Auto patch, no manual build.prop editing
Reduced size a lot
Don't touce framework-res.apk



Old v2 guide
What is this?
This is a patch for Kenzo by which you will get volte on any nougat rom (non volte) out there. :)

Disclaimer:
If you want to add this patch to your rom, please give proper credits and link this thread too.
If you like this, press that thanx button. If you use this, consider donation. :victory:

Requirement:
Redmi note 3 on any nougat volte enabled rom (read FAQ #5 too)
Unlocked and with TWRP recovery
VoLTE v2 patch 31-12-16
VoLTE v2 patch 13-01-17

Instructions:
Clean flash
1. Download any non volte rom
2. Download v2 patch
3. Flash the rom according to instructions provided on rom thread
4. In the end flash v2 patch
5. Reboot.

Dirty Flash OTA
Flash your rom's ota as you do(without wiping system), no need to flash patch again. It will be auto applied after every dirty flash.

FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- No!
2. Does volte works on second sim?
A- Not tested but should work.
3. Is there or going to be any patch for Marshmallow based roms?
A- Yes. Go here
4. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
5. Everything above said is checked, still no VoLTE?
A- Check post #3.

Donations:
Thanx for your kind donations, it helps. :)
Send me a pm if you have donated, if you want to join telegram group for close testing and support. :highfive:
NVDX11, 99xxxx3869, 97xxxx1652, 94xxxx8709 (AmolAmrit), 89xxxx6581 (hemant_jeengar), 77xxxx8388, 88xxxx9810, 90xxxx4024, 86xxxx0406, 89xxxx8858, 88xxxx9810, asrupesh, 73xxxx6596, MakDroid, BabyTedhu, 95xxxx7623 (vk82119), 81xxxx4723, 73xxxx3906, 88xxxx0101, Pancha5


Credits:
abhishek987
TheStrix
Santhosh M

Telegram Channel for faster ETA's, Changlog: Channel


Old v1 guide

Requirement:
Redmi note 3 on Working VoLTE Nougat rom
Unlocked and with TWRP recovery

Instructions:
Auto (Limited):
1. Download Rom from respective thread and follow the instructions given there to flash it.
2. Download the "volte.zip" and "volte_ROMNAME_BUILDDATE.zip" from here. (check the rom name and build date correctly before flashing)
3. Flash "volte_ROMNAME_BUILDDATE.zip"
4. Flash "volte.zip"
5. Wipe cache and dalvik.
6. Reboot. Done!
Notes:
(i) Volte.zip is common for all roms, other rom specific zips will be based on rom name and their build date. This is done to reduce the bandwidth required to download patches.
(ii) If volte not working then download abhishek's firmware from here and flash it. Thanx to xenolith190 for pointing this out.


Manually (No limits):
Additional requirement: A PC with windows (can be done on android too but not included in this tutorial)
1. Download and flash the rom according to the instruction provided on rom's thread.
2. Download apktool and extract/setup in your pc.
3. Use File explorer inTWRP and copy /system/framework/framework-res.apk to /sdcard
4. Connect phone to pc and copy/move framework-res.apk to apktool directory.
5. Open cmd and cd to your apktool dir. And type following commands:
Code:
apktool if framework-res.apk
apktool d framework-res.apk
6. Open to /res/values/bool.xml in text editor (i use notepad++) and change these values to true
Code:
    <bool name="config_device_volte_available">true</bool>
    <bool name="config_carrier_volte_available">true</bool>
7. Type
Code:
apktool b framework-res
to build apk back.
8. Open new framework-res.apk from apktool/framework-res/dist folder and old framework-res.apk from apktool folder using a zip software like winrar.
9. Drag and copy AndroidManifest.xml and META-INF from old to new apk.
10. Same way drag this new apk to any of the rom specific zip available on this thread and flash as instructed.
NOTES: You need to edit bool.xml in framework-res.apk to enable volte option in rom. Rest of the required libs and files are present in volte.zip and is common for all roms. This tutorial may become more detailed, it completely depends on free time i get. I will not answer any question regarding this in personal messages. If you edit any rom's framework-res.apk please mention me and add that in this thread and i will add you to the op as contributor so you can maintain that rom's future builds too.
Thank you for understanding. :)


Downloads: HERE
From now on patches will be added here (XDA ERROR:Missing or incorrect project information.)
1. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 20-12-2016
2. [UNOFFICIAL] ResurrectionRemix CK FPC 5.8.0 [OTA/OMS] - 23-12-2016 NOT WORKING (send me framework-res.apk)
3. Mokee 201612230813-NIGHTLY
4. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 23-12-2016
5. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 26-12-2016

Community built patches:
Patch for cosmic os 1st december 2016 build by xenolith190
Patch for BeanStalk 7.1.1 by contactwajeeh
Patch for 08th December Nightly AICP by gulshanstrider
Patch for 08th December nightly AICP by contactwajeeh
Patch for CM Official Nightly's by contactwajeeh
Patch for AOKP 9/12 Build by NVDX11
Patch for CleanRom 9th december 2016 build by xenolith190
Patch for official cm 14.1 nightly 10.12.16 by sarveshrulz
Patch for Cr droid 1.5 by vk82119
Patch for aicp 11th dec build by Sumit Samanta
Patch for aicp 12th dec build by Sumit Samanta
Patch for official cm 14.1 13-12-16 build by ashokumar257
Patch for official cm 14.1 15-12-16 build by ashokumar257
Patch for AICP 19th December build by gulshanstrider
Patch for NucleaRom build by sohail0098

Done:
CM
crDroid 7.1
XenonHD
CM14.1 (TheStrix)
Lineage os by @Infinity

AOSP/CAF
CleanRom
AOSPExtended
halogenOS 7.0
Aoscp 3.1.2
CitrusCAF-kenzo-2.2-LemonDrop-OFFICIAL-20161129 Supports Volte now
AICP Build date 29th October Thanx to skandhan for sending the file
AICP Build date 11th November Thanx to fosterqaz11 for sending the file
Cosmic-OS v1.1
ZephyrOS-7.0-20161130-Viersion-V6.1
Slim7
Mokee 201612110653-NIGHTLY
Mokee 201612230813-NIGHTLY

All requested roms done, for more, please request. If you can link of the thread of requested rom, it will be great. :)

To Do:
Send rom's framework-res.apk in PM, google drive preferred.

Testing:
NOTE:These are test patches and unlikely to work. You might get a bootloop.
Official CM13 Patch Download Working chances 60%
Resurrection Remix 5.7.4 Patch Download Working chances 5%

FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- No!
2. Does volte works on second sim?
A- Not tested, tested with jio sim in first slot, works fine.
3. Is there or going to be any patch for Marshmallow based roms?
A- Test Patches are added, if anyone wants to try.
4. Marshmallow patches are not working?
A- Send me logcat.
5. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
6. I got com.android.phone force close what should i do?
A- Clean flash the Rom or wait for the fix.
7. Everything above said is checked, still no VoLTE?
A- Check if you have set correct APN for particular sim card and if still VoLTE is not working send me logs.
8. No Audio in calls.
A- Use any root explorer and edit build.prop to change ro.qc.sdk.audio.fluencetype=fluence to ro.qc.sdk.audio.fluencetype=none. Save, set correct permissions and reboot.
9. Got Bootloop on CM Nightly or any other newer rom
A- Decompiling and recompiling alone, without making any changes to framework-res.apk in these roms are causing bootloops, must be issue with apktool/rom. Can't do anything.

XDA:DevDB Information
N Roms VoLTE Patches, Tool/Utility for the Xiaomi Redmi Note 3

Contributors
Sudeep Duhoon
Santhosh M
TheStrix
Akhil Narang
gulshanstrider
contactwajeeh
xenolith190
NVDX11
sarveshrulz
vk82119
Sumit Samanta

Version Information
Status: Beta

Created 2016-11-29
Last Updated 2016-12-30
 
Last edited:

Sudeep Duhoon

Recognized Contributor
Oct 23, 2012
1,267
2,755
0
Delhi
How to get VoLTE for the first time

Things needed: (things with * is needed for unofficially unlocked device)
1. Redmi note 3 on any rom
2. TWRP recovery
3. A PC with working internet connection
4. USB Cable
5. Mi Unlocker tool (google)
6. Mi Flash tools (google)
7. Any miui fastboot rom, build previous to 6.11.15 build (i use 6.11.3)
8. CM VoLTE by abhishek987
*emmc_aboot (which you used to unlock officially)
*boot.img_patcher.zip
*lazyflasher.zip

Instruction: (steps with * is needed for unofficially unlocked device)
1. Extract miui rom and replace TWRP with recovery.img. *replace emmc_aboot too if unofficially unlocked
2. Reboot device to fastboot and connect it to pc
3. Install/open Mi flash tools and browse to extracted rom's dir
4. Click Flash (your internal storage my get wipes)
5. Monitor the process and when it is near to end keep volume down button pressed
6. Phone will restart to fastboot and use Mi unlocker tool to unlock your bootloader as it may have been relocked *use fastboot command fastboot oem device-info to check status and if locked then use fastboot oem unlock-go to unlock bootloader.
7. Press and hold volume up+power to reboot to twrp
8. Use file manager to check if data is wiped or not, if not the wipe data (not internal sd), wipe cache too *flash lazyflashed and bootimg patcher
9. Reboot and complete initial setup
10. Once you get VoLTE symbol on status bar try to call someone and then reboot to recovery
11. Backup EFS and adspso
12. Flash CM VoLTE according to details provided on thread (skip any custom kernel, gapps, etc)
13. Reboot to check VoLTE working, if not reboot to recovery and restore EFS
14. Once volte gets working, follow post #1 to flash any non volte rom.
 
Last edited:

Sudeep Duhoon

Recognized Contributor
Oct 23, 2012
1,267
2,755
0
Delhi

gulshanstrider

Senior Member
Sep 3, 2013
361
97
0
Chandigarh
A Request to OP. Please make a patch for any 7.0 based Rom with OMS commits so that we can enjoy substratum also.
There are many cm14.1 Roms out there but none of them has substratum support

Please make a patch for a ROM with OMS commits