[R&D] VOLTE for non-stock roms for XT1254 on Verizon

NepoRood

Retired Forum Moderator
Jan 26, 2016
2,882
3,803
183
Bugtussle
I found someone developing on the Lenovo K5 which is currently working on VoLTE on that device. I thought this might mostly be useful to @bhb27 as this developer is also in Brazil, according to his GitHub. Or figured it might be useful to you guys that code; not sure how much help it is.
I know Shreps, not the OP of the thread you referenced, but, he is AOKP maintainer for Lenovo K5 and Motorola Athene. He doesn't have VoLTE in France either, but has a lot of users in India who need it. I asked him about VoLTE back in January, his reply:

The "most" complicated part is blobs, you have to find the compatible IMS blobs with your device
Many devices kangs OP2 and OP3 blobs
with or without modifications
For the Lenovo K5, we got a stock firmware with VoLTE update, so we got blobs from it
I'll look over device trees, and do some comparing later today, or in the morning. No work for me tomorrow :laugh:
 

TheSt33v

Senior Member
Jun 12, 2014
1,741
1,362
0
The Stupid Country
I know Shreps, not the OP of the thread you referenced, but, he is AOKP maintainer for Lenovo K5 and Motorola Athene. He doesn't have VoLTE in France either, but has a lot of users in India who need it. I asked him about VoLTE back in January, his reply:



I'll look over device trees, and do some comparing later today, or in the morning. No work for me tomorrow :laugh:
So basically he's recommending what we're doing. Plugging in the proprietary VoLTE files.
 

koftheworld

Senior Member
Jun 9, 2010
1,509
518
0
Central NJ
that is not how you add frameworks app or anything that need sign, it may work in some cases but in another no...

create in main .mk
https://github.com/bhb27/proprietary_vendor_motorola/blob/N_Volte2/quark/Android.mk#L249-L257

add to build process
https://github.com/bhb27/proprietar.../N_Volte2/quark/quark-vendor-ims-blobs.mk#L20

they are all created if the file is there is just a case to add under PRODUCT_PACKAGES += \ in ims.mk
and remember to look in the general .mk as some files are not volte only and are already be build, to avoid pushing duplicated files as it may break build...
https://github.com/bhb27/proprietary_vendor_motorola/blob/N_Volte2/quark/quark-vendor.mk#L341-L365

:good:
i noticed that the bin/ATFWD-daemon file wasn't included in the ims mk file, so i added and made a pull request. this file was included in the shamu ims package. this was the only file that i noticed was missing.
 
Last edited:

s4shield

Senior Member
Aug 23, 2015
223
42
0
Anyone having issues with root? I enabled the developer settings and went to enable root for all apps and there was only an option for adb or nothing. I selected adb and now I can't get root no matter what I do without a factory reset.
 

fgl27

Recognized Developer
Feb 27, 2014
3,623
9,420
263
Brazil...South of the south
i noticed that the bin/ATFWD-daemon file wasn't included in the ims mk file, so i added and made a pull request. this file was included in the shamu ims package. this was the only file that i noticed was missing.
stop pushing files before checking if is already there and in use, that is another none volte only file already in use on any custom ROM.

I say that on a positive way, because if you guys don't try to understand what you are doing what is the point of doing this?
Try to understand the process what it thing make how to included a file check if they exist search the web about the file function before wanna to use it, this way of adding random files is not helping only making me confused...
 

koftheworld

Senior Member
Jun 9, 2010
1,509
518
0
Central NJ
stop pushing files before checking if is already there and in use, that is another none volte only file already in use on any custom ROM.

I say that on a positive way, because if you guys don't try to understand what you are doing what is the point of doing this?
Try to understand the process what it thing make how to included a file check if they exist search the web about the file function before wanna to use it, this way of adding random files is not helping only making me confused...
I apologize. I didn't see it in either file that you linked previously. I do admit I didn't check the rest of the tree.i honestly don't see anything we're missing. You've added in everything I've found/suggested previously, so I'm not sure where to go from here other than comparing the stock logs vs the most recent generated.
 

NepoRood

Retired Forum Moderator
Jan 26, 2016
2,882
3,803
183
Bugtussle
Anyone having issues with root? I enabled the developer settings and went to enable root for all apps and there was only an option for adb or nothing. I selected adb and now I can't get root no matter what I do without a factory reset.
Root isn't really required for testing purposes, which is what this thread is all about. If you absolutely must have it, flash SuperSu zip
 

TheSt33v

Senior Member
Jun 12, 2014
1,741
1,362
0
The Stupid Country
Anyone having issues with root? I enabled the developer settings and went to enable root for all apps and there was only an option for adb or nothing. I selected adb and now I can't get root no matter what I do without a factory reset.
LOS no longer includes root by default. If you want root, you have to flash an additional package. See attached.
 

Attachments

NepoRood

Retired Forum Moderator
Jan 26, 2016
2,882
3,803
183
Bugtussle
New Build (VoLTE_5)

Ok folks, I figured I'd correct my previous build by installing the packages from vendor/frameworks in the way @bhb27 said to do it a few pages back. By using PRODUCT PACKAGES in the ims make file, instead of PRODUCT COPY FILES. Everything seems to be in place, download Here and let me know how it goes.
 

johnjingle

Senior Member
Jun 25, 2010
328
86
28
Ok folks, I figured I'd correct my previous build by installing the packages from vendor/frameworks in the way @bhb27 said to do it a few pages back. By using PRODUCT PACKAGES in the ims make file, instead of PRODUCT COPY FILES. Everything seems to be in place, download Here and let me know how it goes.
Unfortunately, still does not work. I wiped everything.
 

johnjingle

Senior Member
Jun 25, 2010
328
86
28
Did you go into advanced menu and turn on VoLTE Provisioning?

Also, for those that got it to work once, did you try to toggle it off and back on, and try it? (Like the people in the Lenovo thread)
Yes, it was enabled by default. I did try toggling and rebooted to try again.