How to correct and edit QCN files - Hardware Hacking General

Welcome everyone
Easily watch this video
https://youtu.be/jPouF3bzoDI
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases

mazenbs said:
Welcome everyone
Easily watch this video
https://youtu.be/jPouF3bzoDI
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases
Click to expand...
Click to collapse
Qualcomm has a protect write, when you change something in the qcn file, after you flashed it, the news values doesnt record. I dont know how disable the protection, I try thousand of thing, nothing works for me

I thank the OP for showing us how to edit a QCN file. However, I'm missing the objectives for making these edits. I have an S4 international version, GT-I9505. I am trying to use it on US T-Mobile, which requires band 4 (1700/2100) to support 4G LTE. When I tried to use QPST to flash an altered SGH-I337M QCN file with this band enabled, it was rejected with the following message "Received an invalid command from the phone". I assume the phone rejects it because the file is coded for I337M.
Now my idea is to backup directly from my GT-I9505 a qcn file and then modify it to enable band 4. However, I don't know what to modify. If anyone can share some advice. I'd highly appreciate it. Thank you

pindonga123 said:
Qualcomm has a protect write, when you change something in the qcn file, after you flashed it, the news values doesnt record. I dont know how disable the protection, I try thousand of thing, nothing works for me
Click to expand...
Click to collapse
Same here!!

mazenbs said:
Welcome everyone
Easily watch this video
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases
Click to expand...
Click to collapse
Thanks.. but what's actually this "correct and edit" for?

Related

[Quick Guide] - Enabling Hidden Features

Just wanted to share a few CSC features that are tested to work on the S6/S6 edge.
This is not my work, just sharing.
To enable these you will need root, a root explorer and text editor.
Simply navigate to system/csc/Features.xml and add the corresponding line to the end of the file but before the very last few lines that say </feature> and </Samsung>
(if this file does not exist, create the csc folder in system and a txt file within it then change the name to features.xml and add the correct lines and save) if this does not work you can try the same method with Others.XML in the same folder
*Make sure you make backups of the stock files in case there are issues.*
Enable WiFi calling in phone settings:
Code:
<CscFeature_Setting_SupportWifiCall>TRUE</CscFeature_Setting_SupportWifiCall>
Enable native voice call recording(maybe illegal is some countries):
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Enable shutter sound switch in camera settings(maybe illegal is some countries):
Code:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Enable camera during call:
Code:
<CscFeature_Camera_EnableCameraDuringCall></CscFeature_Camera_EnableCameraDuringCall>
Enable manual rotation option in gallery:
Code:
<CscFeature_Gallery_AddAutoRotationIcon>true</CscFeature_Gallery_AddAutoRotationIcon>
Continuous music while using camera:
Code:
<CscFeature_Camera_CamcorderDoNotPauseMusic></CscFeature_Camera_CamcorderDoNotPauseMusic>
Enable scheduled messaging option in messaging app:
Code:
<CscFeature_Message_EnableScheduledMessage>true</CscFeature_Message_EnableScheduledMessage>
<CscFeature_Message_EnableScheduledMsgBox>true</CscFeature_Message_EnableScheduledMsgBox>
Enable exit buttons in default browser:
Code:
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
Enable 2nd symbol keys on stock keyboard:
Code:
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
Enable VoLTE Support: Thanks to IakobosJ
Code:
<CscFeature_RIL_SupportVolte>true</CscFeature_RIL_SupportVolte>
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Remove NFC enabled icon in the status bar: Thanks to evonc
Code:
[COLOR="Red"]Delete line[/COLOR] : <CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
ADDED 21/04/15
Sort app draw alphabetically:
Code:
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
I Hope this helps someone out,
Big Thanks to this post for the info, there are many more in the original post but these are the only ones I've tried and have worked so far,
and IakobosJ for his help in the wifi calling thread
if anything needs adding let us know and it can be added to this post,
This is dedicated to the hard working XDA community
Thank You All
Theres also some nice tools in the play store -:- Be careful when using these!
Samsung CSC Master
CSC Feature Expert
(I own google so get a big cut of the profit made on these )
I've tried CSC Feature Expert now -and it seems to work well,
Quick tut:
I would backup original CSC folder first
Just search for the option you want to enable,
Select the value ( see pic 1)
in the popup - Input the correct value (see pic 2 - label 1)
(a few examples of values)
' RecordingAllowed ' to enable call recording,
' true ' for shutter sound menu,
' true ' for launcher by alphabet,
' true ' for rotation icon in gallery,
' true ' for support wifi call,
then click save (see pic 2 - label 2)
restart you device
Hope this helps
If only we could root, without tripping Knox.
I don't want to root my phone in fear that Samsung Pay won't work with a tripped Knox.
Nice to see you've put all of this information together
For those on EE you may also want to enable VoLTE. I know it's unlikely to be in anyones area yet, but they are rolling it out across the UK (Very slowly)
Enable VoLTE Support
<CscFeature_RIL_SupportVolte>TRUE</CscFeature_RIL_SupportVolte>
Enable VoLTE
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
evonc said:
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
Click to expand...
Click to collapse
Thats strange as I've added mine after the samsung tags and all is working fine fine on my device.
Have you had problems in the past with doing that?
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
evonc said:
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
Click to expand...
Click to collapse
I would have thought it would have had to be within those tags too. Only found it didn't when i wasn't paying attention while modding it. LoL
Nice tip. Thanks. hoping there's more cool things that can enabled with this, maybe some S6 exclusives finds .
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
SantinoInc said:
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
Click to expand...
Click to collapse
I didnt have it either . Just create the csc folder and make a txt file and change the name to others.xml. as the op states. infact ill post a copy with basic changes i the first post.
It works fine for me. hopfully you wont have any issues
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
SantinoInc said:
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
Click to expand...
Click to collapse
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
im confused?
i can already do wifi calling and most of these things already without root
im on tmobile
tiboric said:
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
Click to expand...
Click to collapse
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
SantinoInc said:
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
Click to expand...
Click to collapse
is it just call recording and shutter sound toggle you want to add?
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
SantinoInc said:
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
Click to expand...
Click to collapse
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
tiboric said:
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
Click to expand...
Click to collapse
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
SantinoInc said:
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
Click to expand...
Click to collapse
Thats a shame maybe sprint have changed something.
Sure its
/system/media/audio/ui/PowerOn.ogg
Hope this helps
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
SantinoInc said:
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
Click to expand...
Click to collapse
I believe its
/system/media/audio/ui/camera_click.ogg
P.s did you try any of the apps posted in the second post. I dont know how well the work but ghey seem to have good reviews

Lumia 950/950XL Service level execution

Hi,
I've been able to use vcREG 1.5 on a 950XL to execute any exe file via services.exe, except it's getting stopped by Code Integrity. That's also why putting older NdtkSvc.dll doesn't work on the newer phone (aside from the fact that it has to be in c:\windows). I thought oh maybe any valid arm executable signed by microsoft would be enough, so I copied some executables from the Raspberry Pi Windows 10 IoT image, but I could only get them to run inside the app sandbox because they weren't in the system catalog :'(
Example:
21-March-2016 15:04:08.339601 0x000003D4 0x00000F88 Verbose Microsoft-Windows-CodeIntegrity Code Integrity completed validating file hash. Status 0xC0000428.
21-March-2016 15:04:08.339631 0x000003D4 0x00000F88 Error Microsoft-Windows-CodeIntegrity Code Integrity determined that a process (\Device\HarddiskVolume37\Windows\System32\services.exe) attempted to load \Device\HarddiskVolume39\WPSystem\ftpd.exe that did not meet the Windows signing level requirements.
So now the trick is to find an executable on the system that currently exists, that can be used to gain further access... I've been trying various things like OOBE stuff etc without any luck so far.
Hoping someone else has some ideas... maybe even executing a dll function to import registry from a file or something directly, then we could unlock interop on 950's..
Thanks
Great work
maybe you can MTP your 950/950xl and look for the files in the \windows folder
micheal
Can you tell me how to execute a exe via services.exe ? Thanks?
naiple said:
Can you tell me how to execute a exe via services.exe ? Thanks?
Click to expand...
Click to collapse
use vcREG1.5 to edit HKLM\SYSTEM\ControlSet001\Services\NlpmService\ImagePath
Change it to whatever executable you want, reboot and it will run as LOCAL SYSTEM, provided that it is signed correctly.
NOTE: Changing this will stop your Glance screen from working, so take note of the original value and restore it after you are done if you use glance.
megasounds said:
Great work
maybe you can MTP your 950/950xl and look for the files in the \windows folder
micheal
Click to expand...
Click to collapse
Actually using MTP isn't the best thing for that, because you are missing out on more than half of the available executable files as they are not viewable via MTP on 950/XL due to permissions. It's best to mount the FFU image and look around that way.
I have already looked and tested most of them, thus why I was asking if anyone else had some ideas.
darkfires said:
use vcREG1.5 to edit HKLM\SYSTEM\ControlSet001\Services\NlpmService\ImagePath
Change it to whatever executable you want, reboot and it will run as LOCAL SYSTEM, provided that it is signed correctly.
NOTE: Changing this will stop your Glance screen from working, so take note of the original value and restore it after you are done if you use glance.
Click to expand...
Click to collapse
Thanks! I will try it on my lumia
darkfires said:
use vcREG1.5 to edit HKLM\SYSTEM\ControlSet001\Services\NlpmService\ImagePath
Change it to whatever executable you want, reboot and it will run as LOCAL SYSTEM, provided that it is signed correctly.
NOTE: Changing this will stop your Glance screen from working, so take note of the original value and restore it after you are done if you use glance.
Click to expand...
Click to collapse
I can't find NlpmService because my lumia730 don't have a Glance screen ... is there any way else to run a exe?
naiple said:
I can't find NlpmService because my lumia730 don't have a Glance screen ... is there any way else to run a exe?
Click to expand...
Click to collapse
I only decompiled the NdtkSvc on 950XL, the one on 730 might be different. But to answer your question there is only one other way, and it will kill USB so you won't be able to connect to it via PC at all until you reverse the change. If you post your NdtkSvc.dll I can check it for you.
HKLM\SYSTEM\ControlSet001\Services\NokDeviceHubSvc\ImagePath
darkfires said:
I only decompiled the NdtkSvc on 950XL, the one on 730 might be different. But to answer your question there is only one other way, and it will kill USB so you won't be able to connect to it via PC at all until you reverse the change. If you post your NdtkSvc.dll I can check it for you.
HKLM\SYSTEM\ControlSet001\Services\NokDeviceHubSvc\ImagePath
Click to expand...
Click to collapse
Ahh, i find the Nlpmservice. Don't know why i cant find it yesterday... And if you need any thing(unlocked bootloader, uefi...) from 730 or 540 i can post it, both are prototype and can enter massStorage. Hope i can help you. Thank you for the answer
naiple said:
Ahh, i find the Nlpmservice. Don't know why i cant find it yesterday... And if you need any thing(unlocked bootloader, uefi...) from 730 or 540 i can post it, both are prototype and can enter massStorage. Hope i can help you. Thank you for the answer
Click to expand...
Click to collapse
I'm trying to do something different and I found this topic so if you still have these devices can you extract NlpmService.dll file from System32 and upload it here for me?

I hardbricked my Asus ZC551KL and unbricked nearly successfully I need (x)qnc file!

I really need that file in order to make phone calls. Could any body dump from its phone and sen it to me. If you are afraid of IMEI you can change is with 1234567890ABCDF and give a link. Please I really need that file in order to use GSM capabilities. You can dump it with QPST or QFIL tool of Qualcomm and change the IMEI with a Hex Editor.
I HOPE SOMEONE HELP ME.
tako035 said:
I really need that file in order to make phone calls. Could any body dump from its phone and sen it to me. If you are afraid of IMEI you can change is with 1234567890ABCDF and give a link. Please I really need that file in order to use GSM capabilities. You can dump it with QPST or QFIL tool of Qualcomm and change the IMEI with a Hex Editor.
I HOPE SOMEONE HELP ME.
Click to expand...
Click to collapse
I can help you, tell me how.
Sorry for my english.
gsep said:
I can help you, tell me how.
Sorry for my english.
Click to expand...
Click to collapse
Dear gsep,
It is easy but your phone has to be rooted if so the steps are below.
You have to download QPST Tools and QUD drivers. You can Google it. easy to find.
After you install them.
# adb shell
# su
# setprop sys.usb.config diag,adb
Run the QFil Tool that you have installed.
From the tools menu select QNC Backup
Press Backup QCN. thats all. The file is saved to the selected path.
Thank you very much and Best regards.
tako035 said:
Dear gsep,
It is easy but your phone has to be rooted if so the steps are below.
You have to download QPST Tools and QUD drivers. You can Google it. easy to find.
After you install them.
# adb shell
# su
# setprop sys.usb.config diag,adb
Run the QFil Tool that you have installed.
From the tools menu select QNC Backup
Press Backup QCN. thats all. The file is saved to the selected path.
Thank you very much and Best regards.
Click to expand...
Click to collapse
I followed this guide:
http://www.androidbrick.com/ultimat...agon-xiaomi-mi5-imei-and-baseband-repair-fix/
I tried to modify imei on my phone but i failed.
Tell me if you have luck.
qcn file is here.
gsep said:
I followed this guide:
http://www.androidbrick.com/ultimat...agon-xiaomi-mi5-imei-and-baseband-repair-fix/
I tried to modify imei on my phone but i failed.
Tell me if you have luck.
qcn file is here.
Click to expand...
Click to collapse
Thanks gsep it did work. Really appriciate that.
tako035 said:
Thanks gsep it did work. Really appriciate that.
Click to expand...
Click to collapse
have you restored your imei?
I want know if is possible change mine...
gsep said:
have you restored your imei?
I want know if is possible change mine...
Click to expand...
Click to collapse
Yes I have restored it. With a hex editör.
gsep said:
have you restored your imei?
I want know if is possible change mine...
Click to expand...
Click to collapse
gsep
There is one issue with the file you sent. There is only one IMEI data. so I could only change one. I changed the other with a tool. Did you change the second IMEI with zeros ?
tako035 said:
gsep
There is one issue with the file you sent. There is only one IMEI data. so I could only change one. I changed the other with a tool. Did you change the second IMEI with zeros ?
Click to expand...
Click to collapse
No, with 9. what tool did you used?
gsep said:
No, with 9. what tool did you used?
Click to expand...
Click to collapse
Could you check it as there is only one line with 99999 s . For the second IMEI there have to be two lines that you should change. In the file I get From you there is only one. May be the file is corrupt. If so try to backup from QFIL tool from the tools menu. As this backup is very important for the future.

Can we force input a modem config?

Hi!
Can we force input an mcfg_sw.mbn file to be read?
Now, I think I got the basic flow of the system (that the file transfers from firmware -> vendor -> data folder and according to mcfg_sw.txt, one of them will be read / sig file will confirm the integrity of the file)
but as there is .sig file, updating the modem.img manually (where I would simply add mbn file and update mfcg_sw.sig) doesn't work.
I've been looking for an answer, and I understand (as far as I know) mfcg_sw.sig file is a unique file which only OnePlus uses.
Loading a file directly through PDC doesn't work (it will load - refresh, but won't show the mbn file)
I tried to extract the mcfg partition of mbn files, but it didn't work as well. (though it might!)
I know we can directly change through EFS. But, I just couldn't find any information on how we can extract contemporary mbn files from the mcfg_sw.mbn files.
Please share if you know any insights on this!
Thank you!
Somehowko said:
Hi!
Can we force input an mcfg_sw.mbn file to be read?
Now, I think I got the basic flow of the system (that the file transfers from firmware -> vendor -> data folder and according to mcfg_sw.txt, one of them will be read / sig file will confirm the integrity of the file)
but as there is .sig file, updating the modem.img manually (where I would simply add mbn file and update mfcg_sw.sig) doesn't work.
I've been looking for an answer, and I understand (as far as I know) mfcg_sw.sig file is a unique file which only OnePlus uses.
Loading a file directly through PDC doesn't work (it will load - refresh, but won't show the mbn file)
I tried to extract the mcfg partition of mbn files, but it didn't work as well. (though it might!)
I know we can directly change through EFS. But, I just couldn't find any information on how we can extract contemporary mbn files from the mcfg_sw.mbn files.
Please share if you know any insights on this!
Thank you!
Click to expand...
Click to collapse
Did you ever get an answer / find out how to do this? Thanks.
nealed said:
Did you ever get an answer / find out how to do this? Thanks.
Click to expand...
Click to collapse
Nope, tried everything I could think of and got nothing.
As far as I can know, ever since mcfg_sw.sig file was introduced, there is no way around.
I really don't get why it was needed nor why Oneplus wouldn't just put a massive amount of carrier information but for now, direct efs change is the only way.
If you have any insight for this matter, please share with me!
Hope this gonna help us to have working voWifi
Hey I am guessing no solution for this was ever found?
I am also trying to load a profile using PDC but nothing happens and I've noticed oneplus has the .sig files which other dumps dont
Seems .sig and .mbn have the exact same content as they have the same md5sum...
Code:
8c3858d9c758aa26a54031413caae824 ./generic/apac/airtel/volte/mcfg_sw.mbn
8c3858d9c758aa26a54031413caae824 ./generic/apac/airtel/volte/mcfg_sw.sig
bc97935dbe8e44de4a364c01912d0198 ./generic/apac/idea/commerci/mcfg_sw.mbn
bc97935dbe8e44de4a364c01912d0198 ./generic/apac/idea/commerci/mcfg_sw.sig
ed0531003b39f5f6fbe99abd5ddc8193 ./generic/apac/reliance/commerci/mcfg_sw.mbn
ed0531003b39f5f6fbe99abd5ddc8193 ./generic/apac/reliance/commerci/mcfg_sw.sig
c7fb4457838d26611d0ea6a0a0516b7f ./generic/apac/vodafone/volte/india/mcfg_sw.mbn
c7fb4457838d26611d0ea6a0a0516b7f ./generic/apac/vodafone/volte/india/mcfg_sw.sig
432ab0a46de3da7e1ffb50c1a23ff263 ./generic/china/cmcc/commerci/volte_op/mcfg_sw.mbn
432ab0a46de3da7e1ffb50c1a23ff263 ./generic/china/cmcc/commerci/volte_op/mcfg_sw.sig
8ed533f595ab19fdd215b9b4f6b934f5 ./generic/china/cmcc/lab/conf_vol/mcfg_sw.mbn
8ed533f595ab19fdd215b9b4f6b934f5 ./generic/china/cmcc/lab/conf_vol/mcfg_sw.sig
e64ebb02b22c5014d63446ce31f04e08 ./generic/china/cmcc/lab/nsiot_vo/mcfg_sw.mbn
e64ebb02b22c5014d63446ce31f04e08 ./generic/china/cmcc/lab/nsiot_vo/mcfg_sw.sig
ca19e63ecf4603b21774fb6402ff2d0a ./generic/china/cmcc/lab/tgl_comb/mcfg_sw.mbn
ca19e63ecf4603b21774fb6402ff2d0a ./generic/china/cmcc/lab/tgl_comb/mcfg_sw.sig
9867f3885a34d14cb80ddde473ac18ce ./generic/china/cmhk/commerci/hk/mcfg_sw.mbn
9867f3885a34d14cb80ddde473ac18ce ./generic/china/cmhk/commerci/hk/mcfg_sw.sig
b1b21c6a8ad7e5c41a2214289a9c5683 ./generic/china/ct/commerci/hvolte_o/mcfg_sw.mbn
b1b21c6a8ad7e5c41a2214289a9c5683 ./generic/china/ct/commerci/hvolte_o/mcfg_sw.sig
9ce54e8d64ba90c77ee092c8d5e173b3 ./generic/china/ct/lab/cta/mcfg_sw.mbn
9ce54e8d64ba90c77ee092c8d5e173b3 ./generic/china/ct/lab/cta/mcfg_sw.sig
ef652f27b02c50850a6a1a0b46eef62e ./generic/china/ct/lab/volte_co/mcfg_sw.mbn
ef652f27b02c50850a6a1a0b46eef62e ./generic/china/ct/lab/volte_co/mcfg_sw.sig
3f6a382ed382a2110a4236a09c6677cd ./generic/china/cu/commerci/volte/mcfg_sw.mbn
3f6a382ed382a2110a4236a09c6677cd ./generic/china/cu/commerci/volte/mcfg_sw.sig
3146e161b37b34695deb97c71b7b6ccc ./generic/eu/bouygues/commerci/france/mcfg_sw.mbn
3146e161b37b34695deb97c71b7b6ccc ./generic/eu/bouygues/commerci/france/mcfg_sw.sig
419ec47e7fa25b462e216247953190bd ./generic/eu/dt/commerci/nl/mcfg_sw.mbn
419ec47e7fa25b462e216247953190bd ./generic/eu/dt/commerci/nl/mcfg_sw.sig
be150c4e34666c55a80d9c36bf3a661c ./generic/eu/dt/volte/commerci/mcfg_sw.mbn
be150c4e34666c55a80d9c36bf3a661c ./generic/eu/dt/volte/commerci/mcfg_sw.sig
ac65dbf59588e60306baa695070cb93c ./generic/eu/ee/commerci/mcfg_sw.mbn
ac65dbf59588e60306baa695070cb93c ./generic/eu/ee/commerci/mcfg_sw.sig
b975cf664c63df1371100a896ed26c2f ./generic/eu/elisa/commerci/fi/mcfg_sw.mbn
b975cf664c63df1371100a896ed26c2f ./generic/eu/elisa/commerci/fi/mcfg_sw.sig
d83557760d7dd22de58facc04eb2b44b ./generic/eu/h3g/commerci/denmark/mcfg_sw.mbn
d83557760d7dd22de58facc04eb2b44b ./generic/eu/h3g/commerci/denmark/mcfg_sw.sig
b4c02afe48d7419a90ebd56fd8e05e5a ./generic/eu/h3g/commerci/se/mcfg_sw.mbn
b4c02afe48d7419a90ebd56fd8e05e5a ./generic/eu/h3g/commerci/se/mcfg_sw.sig
4e38e0f30f7dafe9e180156265a811f3 ./generic/eu/h3g/commerci/uk/mcfg_sw.mbn
4e38e0f30f7dafe9e180156265a811f3 ./generic/eu/h3g/commerci/uk/mcfg_sw.sig
974b0b26a5c98dcd2ae88f9142ebdae4 ./generic/eu/orange/commerci/france/mcfg_sw.mbn
974b0b26a5c98dcd2ae88f9142ebdae4 ./generic/eu/orange/commerci/france/mcfg_sw.sig
b92dda221e521955c1779f20c5409651 ./generic/eu/tim/commerci/italy/mcfg_sw.mbn
b92dda221e521955c1779f20c5409651 ./generic/eu/tim/commerci/italy/mcfg_sw.sig
d5695334572e8b8dec6b273ab9f02b22 ./generic/eu/telefoni/commerci/de/mcfg_sw.mbn
d5695334572e8b8dec6b273ab9f02b22 ./generic/eu/telefoni/commerci/de/mcfg_sw.sig
8955f5ab0f606c0d83f2b3d7116411b7 ./generic/eu/telefoni/commerci/uk/mcfg_sw.mbn
8955f5ab0f606c0d83f2b3d7116411b7 ./generic/eu/telefoni/commerci/uk/mcfg_sw.sig
a08944c4b2c42c3d04eeb4549d064b52 ./generic/eu/telenor/commerci/sweden/mcfg_sw.mbn
a08944c4b2c42c3d04eeb4549d064b52 ./generic/eu/telenor/commerci/sweden/mcfg_sw.sig
fdb2cf336202bc8b8847e41175ad20c3 ./generic/eu/telia/commerci/denmark/mcfg_sw.mbn
fdb2cf336202bc8b8847e41175ad20c3 ./generic/eu/telia/commerci/denmark/mcfg_sw.sig
3c72ea57649bfe3009f0aa3d653afe24 ./generic/eu/telia/commerci/finland/mcfg_sw.mbn
3c72ea57649bfe3009f0aa3d653afe24 ./generic/eu/telia/commerci/finland/mcfg_sw.sig
99a689052e85ef49fd5c35a7fb7fb99b ./generic/eu/telia/commerci/norway/mcfg_sw.mbn
99a689052e85ef49fd5c35a7fb7fb99b ./generic/eu/telia/commerci/norway/mcfg_sw.sig
fc51021e7b27fd46f83121afef9b9ac5 ./generic/eu/telia/commerci/sweden/mcfg_sw.mbn
fc51021e7b27fd46f83121afef9b9ac5 ./generic/eu/telia/commerci/sweden/mcfg_sw.sig
110877621ca627cba7cf32653fd49edd ./generic/eu/vodafone/volte/italy/mcfg_sw.mbn
110877621ca627cba7cf32653fd49edd ./generic/eu/vodafone/volte/italy/mcfg_sw.sig
f9b1d712510b571157a2e82c0275441a ./generic/eu/vodafone/volte/netherla/mcfg_sw.mbn
f9b1d712510b571157a2e82c0275441a ./generic/eu/vodafone/volte/netherla/mcfg_sw.sig
ba8ba3c17f16fd46f3da27c3e44d3235 ./generic/eu/vodafone/volte/spain/mcfg_sw.mbn
ba8ba3c17f16fd46f3da27c3e44d3235 ./generic/eu/vodafone/volte/spain/mcfg_sw.sig
e8a26a02699c43149f042e624504cb49 ./generic/eu/vodafone/volte/uk/mcfg_sw.mbn
e8a26a02699c43149f042e624504cb49 ./generic/eu/vodafone/volte/uk/mcfg_sw.sig
bbb4d002dbdc6d443bbd835be016af12 ./generic/na/att/firstnet/mcfg_sw.mbn
bbb4d002dbdc6d443bbd835be016af12 ./generic/na/att/firstnet/mcfg_sw.sig
17f07bb0c8cf9dc455131f0749193f15 ./generic/na/att/volte/mcfg_sw.mbn
17f07bb0c8cf9dc455131f0749193f15 ./generic/na/att/volte/mcfg_sw.sig
60739140b43840a172153db6fb472aab ./generic/na/tmo/commerci/mcfg_sw.mbn
60739140b43840a172153db6fb472aab ./generic/na/tmo/commerci/mcfg_sw.sig
a8fd6674b992a2887398fdc568a82262 ./generic/na/verizon/cdmaless/mcfg_sw.mbn
a8fd6674b992a2887398fdc568a82262 ./generic/na/verizon/cdmaless/mcfg_sw.sig
6bcc009489467769589ea9b40d9b10ec ./generic/oem/lab/volte_pt/mcfg_sw.mbn
6bcc009489467769589ea9b40d9b10ec ./generic/oem/lab/volte_pt/mcfg_sw.sig
133e7f32e0b2d28795687d36f39c5e04 ./generic/oem/lab/volte_te/mcfg_sw.mbn
133e7f32e0b2d28795687d36f39c5e04 ./generic/oem/lab/volte_te/mcfg_sw.sig
45621254023e3c07693b6e3dd3e2756b ./generic/oem/oversea/commerci/mtnl_bsn/mcfg_sw.mbn
45621254023e3c07693b6e3dd3e2756b ./generic/oem/oversea/commerci/mtnl_bsn/mcfg_sw.sig
8e1b12e2e9cc3d6e354314ea6beef5f7 ./generic/oem/oversea/commerci/mcfg_sw.mbn
8e1b12e2e9cc3d6e354314ea6beef5f7 ./generic/oem/oversea/commerci/mcfg_sw.sig
4a37d9d59d18055dc49dcd6d36c40e37 ./generic/sea/ais/commerci/thailand/mcfg_sw.mbn
4a37d9d59d18055dc49dcd6d36c40e37 ./generic/sea/ais/commerci/thailand/mcfg_sw.sig
72d5d9676801481c25711fa0a1e4e779 ./generic/sea/chunghwa/commerci/tw/mcfg_sw.mbn
72d5d9676801481c25711fa0a1e4e779 ./generic/sea/chunghwa/commerci/tw/mcfg_sw.sig
022c5404e511c161267634a65edd859a ./generic/sea/fareasto/commerci/mcfg_sw.mbn
022c5404e511c161267634a65edd859a ./generic/sea/fareasto/commerci/mcfg_sw.sig
8b938d2566342418e7be38c554839b71 ./generic/sea/tm/commerci/mcfg_sw.mbn
8b938d2566342418e7be38c554839b71 ./generic/sea/tm/commerci/mcfg_sw.sig
3642a769fda5282c02de93fccf1a3852 ./generic/sea/ytl/commerci/mcfg_sw.mbn
3642a769fda5282c02de93fccf1a3852 ./generic/sea/ytl/commerci/mcfg_sw.sig
a1ef6b11e1b4bc5d4f0a74a6b3ffe7f3 ./generic/common/row/commerci/mcfg_sw.mbn
a1ef6b11e1b4bc5d4f0a74a6b3ffe7f3 ./generic/common/row/commerci/mcfg_sw.sig

[HOW TO] Enable Native Call Recorder

First of all credit to pomeroythomas for his post which I am basically just relaying here.
This is for anyone who wishes to use the native call recorder but it is currently disabled for them. For example in the USA federal laws state that call recording is legal and it is legal in most states but because some states require two party consent Lineage OS has decided to disabled it by default so this "HOW TO" is needed to enable it. You are ultimately the one responsible to follow any laws where you live.
This requires you to have root access. You may be able to accomplish the same with adb without root though.
You will need APK Easy Tool. For more information on APK Easy Tool visit the original thread here. I personally just used the portable version.
You will also need to know your carriers MCC code which you can find here.
1. There are many different ways to get the Dialer.apk from your device. Personally I use Root Explorer. Copy your Dialer.apk located on your device at "/system/priv-app/Dialer" to your sdcard and then connect your device to your PC and copy the Dialer.apk to it.
2. Now open "apkeasytool.exe and click "Sel.APK/JAR" and open your Dialer.apk and select "Decompile".
3. Once it has finished decompiling open the folder "1-Decompiled APKs" located in the APK Easy Tool folder.
4. The file we are looking for is in "Dialer/res/" this is where you need your MCC code. Personally I am on T-Mobile so the folder I need is "values-mcc310" most US carriers also use this same MCC code ie. Sprint, Verizon, AT&T
5. Once inside your carriers MCC folder you want to open "Bools.xml" in notepad and change
Code:
<bool name="call_recording_enabled">false</bool>
to
Code:
<bool name="call_recording_enabled">true</bool>
and then save it.
6. Now go back to APK Easy Tool and click "Compile"
7. Once it has finished your new Dialer.apk will be located in "2-Recomiled APKs". Copy that back over to your device
8. Navigate to "/system/priv-app/Dialer" and rename your current Dialer.apk to "Dialer.apk.bak" and replace it with your modified one and change the permissions to "rw-r-r" or "0644". and then reboot.
Thats it. Now to test make a phone call and you should now have the record button available, the first time you press it you will be greeted with a message telling you that you are responsible for compliance with any laws, then you can hit "RECORD CALL" and then give Dialer the permissions it needs. Your recording will be saved to a folder named "CallRecordings".
This will not survive an update but you can keep the modified Dialer.apk on your SDcard and just repeat step 8 after an update.
Joe333x said:
4. The file we are looking for is in "Dialer/res/" this is where you need your MCC code. Personally I am on T-Mobile so the folder I need is "values-mcc310" most US carriers also use this same MCC code ie. Sprint, Verizon, AT&T
5. Once inside your carriers MCC folder you want to open "Bools.xml" in notepad and change
Code:
<bool name="call_recording_enabled">false</bool>
to
Code:
<bool name="call_recording_enabled">true</bool>
and then save it.
Click to expand...
Click to collapse
I'm in kccat6, official LineageOS - Samsung Galaxy S5 Plus (G901F).
This procedure seems simple, but I have my carrier in Spain, where recording is allowed, and there is no MCC folder with its number.
I've found related settings (and I changed them) in
Dialer/res/values/bools.xml (changed false to true)
Code:
<bool name="call_recording_enabled">true</bool>
and
Dialer/res/values/integers.xml (changed 1 to 4)
Code:
integer name="call_recording_audio_source">4</integer>
Compiled (signed), copied, checked permissions, wiped cache & dalvik, rebooted and there isn't a record button when calling.
Also there's a "Dialer/res/values-es" folder, but there isn't a "Dialer/res/values-mcc214-mnc4" folder. I created that folder and copied the files bools.xml and integers.xml, with only the above contents inside them. Compiled, copied, etc... and there isn't a record button.
Am I missing something?
Ochoceros, its worked for me. I am using Lowi, MCC 214. The only stick, that its needed to press "record" button with every call, its doesnt records automaticali. I have created the folder with MMC code in his name and only the bools.xml file, without integers.
LOS made changes to native call recording, the phone checks what country your in instead of the MCC code. Has anyone figured out how to enable call recording again?
I found the new file, where you can edit the call recording states.
Follow the instruction from the first post, except don't follow step 4 and 5.
Go to "Dialer/res/xml/call_record_states.xml" and set everything to true (easiest way).
Now continue on step 6.
Now how about auto recording
Nice work Vanta-Chan!
eric93se said:
Now how about auto recording
Nice work Vanta-Chan!
Click to expand...
Click to collapse
I wish I could program, but we either have to wait for the official developers of LOS, or hope for a kind soul who does that with a tutorial :angel:
Interestingly the version of dialer.apk from the first post (around early november 2019) had auto dialing. I'm pretty sure that dialer version doesn't work with the latest LOS roms (I could be wrong).
I have a screenshot of it since I was trying to sell my LG G3.
eric93se said:
Interestingly the version of dialer.apk from the first post (around early november 2019) had auto dialing. I'm pretty sure that dialer version doesn't work with the latest LOS roms (I could be wrong).
I have a screenshot of it since I was trying to sell my LG G3.
Click to expand...
Click to collapse
If you somehow could retrieve that Dialer.apk, which has the auto-record function, I could try to reimplement it to the newer versions.
can anyone upload the apk, i try recompiling but always get an exit code = 1 error.
n950 said:
can anyone upload the apk, i try recompiling but always get an exit code = 1 error.
Click to expand...
Click to collapse
Can't upload it directly to XDA, file is too big (~33Mb), but here's a link:
https://workupload.com/file/URfFtrAU
Mirror: https://anonfile.com/zd6eO0b4oa/Dialer_apk
Vanta-Chan said:
Can't upload it directly to XDA, file is too big (~33Mb), but here's a link:
https://workupload.com/file/URfFtrAU
Mirror: https://anonfile.com/zd6eO0b4oa/Dialer_apk
Click to expand...
Click to collapse
Thank u )
I can recommend the EdXposed Module XCallRecordingSettings.
https://github.com/iptux/XCallRecording-xposed
https://repo.xposed.info/module/net.iptux.xposed.callrecording
Version 1.0.14 supports LOS 16
Works great for me and easy to setup!
I know, it's not the native way to setup, but I guess this Module justs enables the call recording the natural way in LOS
textmarker007 said:
I can recommend the EdXposed Module XCallRecordingSettings.
https://github.com/iptux/XCallRecording-xposed
https://repo.xposed.info/module/net.iptux.xposed.callrecording
Version 1.0.14 supports LOS 16
Works great for me and easy to setup!
I know, it's not the native way to setup, but I guess this Module justs enables the call recording the natural way in LOS
Click to expand...
Click to collapse
This would mean not only have to install your mentioned app, but also edxposed etc.
Which, IMHO slows down the s5
andreoide said:
This would mean not only have to install your mentioned app, but also edxposed etc.
Which, IMHO slows down the s5
Click to expand...
Click to collapse
Add:
On my g900f sound is great, on g910f sound is very weak, uninstalled all exposed from g901f because like I said, sound is bad and edxposed slows down performance very much.
Add: (march 1)
Anyone know why sound is no good on g901f?
What might cause it, and how to fix (if any exists)?
I have tried all of these steps and it didn't work i still can't get record button i have also tried the solutions in the replies and nothing worked how can i enable the recording in lineage os 16
The phone is GT-I9505
the country i live in is Egypt so can anyone help me please
I'm using lineage 17.1 which uses Google dialer, this method doesn't work.
Can you please describe how to make it work on Google dialer.
Sent from my MI 9 using Tapatalk
Vanta-Chan said:
If you somehow could retrieve that Dialer.apk, which has the auto-record function, I could try to reimplement it to the newer versions.
Click to expand...
Click to collapse
Shouldn't it be on GitHub history?
You bet!
Thanks for the credit, man. Hope this helps y'all.
Joe333x said:
First of all credit to pomeroythomas for his post which I am basically just relaying here.
This is for anyone who wishes to use the native call recorder but it is currently disabled for them. For example in the USA federal laws state that call recording is legal and it is legal in most states but because some states require two party consent Lineage OS has decided to disabled it by default so this "HOW TO" is needed to enable it. You are ultimately the one responsible to follow any laws where you live.
This requires you to have root access. You may be able to accomplish the same with adb without root though.
You will need APK Easy Tool. For more information on APK Easy Tool visit the original thread here. I personally just used the portable version.
You will also need to know your carriers MCC code which you can find here.
1. There are many different ways to get the Dialer.apk from your device. Personally I use Root Explorer. Copy your Dialer.apk located on your device at "/system/priv-app/Dialer" to your sdcard and then connect your device to your PC and copy the Dialer.apk to it.
2. Now open "apkeasytool.exe and click "Sel.APK/JAR" and open your Dialer.apk and select "Decompile".
3. Once it has finished decompiling open the folder "1-Decompiled APKs" located in the APK Easy Tool folder.
4. The file we are looking for is in "Dialer/res/" this is where you need your MCC code. Personally I am on T-Mobile so the folder I need is "values-mcc310" most US carriers also use this same MCC code ie. Sprint, Verizon, AT&T
5. Once inside your carriers MCC folder you want to open "Bools.xml" in notepad and change
Code:
<bool name="call_recording_enabled">false</bool>
to
Code:
<bool name="call_recording_enabled">true</bool>
and then save it.
6. Now go back to APK Easy Tool and click "Compile"
7. Once it has finished your new Dialer.apk will be located in "2-Recomiled APKs". Copy that back over to your device
8. Navigate to "/system/priv-app/Dialer" and rename your current Dialer.apk to "Dialer.apk.bak" and replace it with your modified one and change the permissions to "rw-r-r" or "0644". and then reboot.
Thats it. Now to test make a phone call and you should now have the record button available, the first time you press it you will be greeted with a message telling you that you are responsible for compliance with any laws, then you can hit "RECORD CALL" and then give Dialer the permissions it needs. Your recording will be saved to a folder named "CallRecordings".
This will not survive an update but you can keep the modified Dialer.apk on your SDcard and just repeat step 8 after an update.
Click to expand...
Click to collapse
pomeroythomas said:
Thanks for the credit, man. Hope this helps y'all.
.
5. Once inside your carriers MCC folder you want to open "Bools.xml" in notepad and change to
Click to expand...
Click to collapse
The last code is given twice, but my guess is change that only once?
(Just to be sure...)
Thanks, I'll go try one of these days, and report back here later....
( phone: Samsung galaxy S5 plus, SM- G901F )
The dialer.apk, I don't think I have the original from lineage, I installed the dialer from google play a while ago. How to obtain the original? Or does it work withe google dialer also?

Categories

Resources