[GUIDE][ROOT] Little hack to increase 3G speed on GSM Moto G - Moto G General

OK guys... So this hack was meant for Motorola RAZR XT910 but seems to work on our Moto G but ONLY for GSM variants. Also it will depend on your carriers network type. The change may enable the Van Jacobson style TCP/IP header compression. Your cellular network may or may not support this feature.
Thanks to user @bahathir and his great guide! MORE INFO HERE
To do this:
1 - Download the attachment from HERE, it is called OPTIONS.7Z and deccompress it using WinRAR or 7Zip.
2 - Copy the OPTIONS file to the internal storage (note that the OPTIONS file doesn't have any extension).
3 - Using Root Explorer or ES File Explorer, move the file to /system/etc/ppp/ folder and paste it there.
4 - Change permissions of OPTIONS file to r-xr-xr-x.
5 - Reboot and DONE!
To notice the speed even more, download OOKLA SPEED TEST from Play Store and run the test before and after aplying the hack!
Tested it on my XT1032: Carrier Personal Argentina (See attachments before and after). These are not the best results but the speed increased. Also take into account that networks in Argentina are crap. In other countries the speed may be higher.
Cheers!!!

Related

[DEV][20.11.2011] Android Gingerbread SIP over 3g for (probably) every GB based rom

Here is a bit of why I wrote this manual:
Back at December 2010 Paul from modaco found how to enable sip over 3g for the gingerbread native client, his original thread is here:
http://android.modaco.com/topic/327770-using-gingerbread-internet-calling-sip-without-wifi/
For chefs it is probably straight forward how to use this tip, but for me I always begged for cookers to include this in their roms usually they didn't even replay to my request, so I investigated this, and here is very easy way to enable this feature.
This guide assumes you are a little familiar with changing files on your ROM.
*I take no responsibility for this guide, use it at your own risk
So, what we are doing is modifying the framework-res.apk from from our framework directory.
We need:
apktools from here: http://code.google.com/p/android-apktool/
Two files are needed, this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.1.tar.bz2&can=2&q=
And this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool-install-windows-r04-brut1.tar.bz2&can=2&q=
(You can also do this for Linux and Mac, this guide will use windows)
Take the framework-res.apk from your ROMS zip file inside /system/framework directory.
How its done:
Extract both files that you downloaded to c:\apktools (can be any dir...)
You should have 3 files.
Copy the framework-res.apk to the same directory: c:\apktools
start --> run --> cmd
c:
cd \apktools
apktools d framework-res.apk temp
Now a folder named temp will appear named temp
inside temp, edit the file: C:\apktools\temp\res\values\bools.xml
I use notepad++, search for a line:
<bool name="config_sip_wifi_only">true</bool>th
change in the line the "true" into "false"
save the file.
go back to cmd
c:
cd \apktools
apktools b temp temp.apk
Now rename your original framework-res.apk to framework-res.apk.zip
open it with winrar/winzip/7zip it will open like regular archive.
take the file that was created by the build process:
C:\apktools\temp\build\apk\resources.arsc
Use this file to replace the file inside the archive of framerwork-res.apk.zip (overwriting the original, inside the zip)
rename the file back to framework-res.apk
And now you have a sip over 3g enabled framework-res.apk.
There are few options to push this file, easiest is just replace it in your ROM zip and flush the ROM, you need to wipe cache and dalvik cache.
There are other ways to push this to your rom but I won't discuss them here.
I used this on stock roms, AOSP roms, MIUI roms and Sense roms, worked for me on all, if you find a roms it doesn't work on please report.
Thats it, its actually quite easy.
You are Awesome! Thank you for posting this. I just setup my phone with this and it works great.
Great Process, a few little remarks
Shalom,
This is a great process tutorial and within 15 minutes I flashed my HTC Sensation to support Internet calls on 3G/4G, while before it was WiFi ONLY.
So now, no need to have any cellular minutes purchased, have DATA have LIFE.
Remarks:
1. Have only 2 files. You mentioned 1 download and then 2 more. The 1st is duplicated withing the 2.
2. The BAT file is apktool.bat and not apktools.bat.
Other then that, SWEEET.
Toda Raba.
Easy
---------- Post added at 04:29 AM ---------- Previous post was at 04:11 AM ----------
HTC Sensation T-Mobile.
Forgot to mention earlier.
Thanks.
HI
tryed not working stoped at temp file cretion is showing an eror cant go further plz help
Does this change your phone to use 3g to make calls? If so that is excellent.
Sent from my Sabotaged Droid Incredible 2.
Thanks, but why don't we use SIP third-party such as Sipdroid, 3CXPhone...? I think they are easy to use.
Nice work , What about Xperia Lines, will there appear 3G video calling button ?
I tried on Wet Dreams 1.3.0 for Atrig 4G and didn't works (Didn't show SIP Calling option)... maybe my mistake or isn't working with Moto's 2.3.6 build. But I asked to be added by the chef! Thanks for this tip!
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Nice, surprisingly easy, almost to much so lol
lotherius said:
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Click to expand...
Click to collapse
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
BTLINU said:
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
Click to expand...
Click to collapse
Then the options probably just aren't there in your carrier's Rom. They were present in my LG Rom, after I pushed the permissions file. However, when I tried to use SIP, it would force close as soon as the call connected... something else missing.
In my case and yours, the answer is to use SipDroid from the market.
Pls any guide on how to do this in ICC ROMs

PUMa (Patch Utility Manager)

PUMa - Patch Utility Manager​
The program is designed to install patches in the most universal applets\libraries firmware of Samsung-communicators. It works with both odexed, and with deodexed components of many firmware of devices I9100/I91**,I9300,I9500,G850,G900*,G920*/G925*,G928*,G930*/G935*,N7000,N7100,N900*,N910*,N920*,I9001,I9250(Galaxy NEXUS),I8150,P5100/5110,T310/311. Likely to install some patches and other communicators based on the Android OS. It works with external patch (the description of the format and work with them, see Puma_extpatch.txt file.. while only in Russian). Optionally, the added ability to load external data from internet. Information about loading the file is stored in the archive dllink.bin.
The following types of downloads:
• Modem FW (modem firmwares)
• Dump FW (dump stock firmware (aka the contents of the folder /system))
• Dump Content (content dump the firmware, broken into pieces by certain categories)
• Camera (camera firmwares)
• Firmware (common firmwares of devices)
• Program (program & tools)
Working with the program:
0) program preferably placed in a folder without spaces and in the Latin alphabet
1) before running the program in the folder "In" place the files that need to be applied patch/es or used submenu Necessary files for to obtain the necessary files
2) in the program indicate the type of device, AndroidOS version, the class of the patch on the right side select desired patch and click Apply. If you install the patch unnecessary, it is necessary will be shut down and run again, showing only the necessary patches.
At the end of the program components can be patched to pick up from folder "Out". Also, the after applying the patch, the program may specify a update to flashing with help ClockworkMode. While working with a patch program provides information on the processed applet\libraries as follows:
Installed - the patch is applied
Present - patch is already installed in the object
Impossible - impossible to apply the patch to the object
Partially installed - installed only a few points of patch
Mismatch - firmware version of the object is failing the established type device/AOS patch
Attention! Due to the fact that some antivirus programs (Norton360, NOD32, Avast,...) have a somewhat paranoid algorithm for determining the virus, they "found a virus" in PUMa.exe. This is a lie, because the program simply packed EXE-packer to save space. Place the file in the Exceptions PUMa.exe antivirals, so it will not annoy you. Also below is a MD5-hash of the file PUMa.exe, according to which you can verify its correctness, upon receipt of any sources
Patches supported by the program : Post #2
Donations to the project (special thanks ) : bezbo, pglmro
v 4.8
- Added Value_Res tool (Tools-Working with resources-Value_Res). It allows you to change resource values of APK-file (variables of xml-files from the folder res\values) without decompiling\recompile the applet. Currently supported by work with variables of type bool, color, dimen, integer. The algorithm works with the tool:
1. select the apk-file for editing; will automatically upload the names and values resources in the tabs
2. double click on a line change\edit variable (value changed resources are marked in bold)
3. at the end of the work click the Save button (a new file will be created with the current name, the old file is renamed to *.apk.bak)
- Added tool Obfuscation (Tools-Smali-Debug-Obfuscation). In the current version implemented methods of obfuscation of class names, methods, fields on algorithms Mirroring, Numeric order, NDP and Randomized in smali-code (the name and the algorithms invented by me). Distinctive features of the algorithms on a 5-point scale:
a) readability (1-good..5-bad)
b) difficulty in decryption (1-simply..5-impossible)
c) final code length (1-more..3-same..5-less)
Code:
(a) (b) (c)
Mirroring: 3 2 3
Numeric order: 2 4 5
NDP: 4 3 2
Randomized: 4 5 4
For general use available obfuscation method field names with algorithm Mirroring. Tool results on other methods and algorithms are only available by personal request.
- Changed algorithm decompilation\recompile applets with multiple dex-component
- Font in the program changed to Tahoma
- Supplied with the program added to the external patches:
N910*_6.0.*
N920*_6.0.*
G930*/G935*_6.0.*
• System-Removing the signature verification applications
• System-Increasing the speed of response Automatic Brightness Control (ABC)
• System-Adding buttons 'Only once/Always' in task 'To open with'
MD5 : 6498af8f3e16c9657d3af5c7253dd0a7 *PUMa.exe
Download mirror link : >>> Here are stored PUMa <<<
Patches supported by the program:
(for new dev&AOS... older please see list in PUMa_eng.txt)
Grate concept ! i'll try it asap.
realy good job man .
if you can added many usefull mod . exampel : extended power - battery % - scroling cyanogen - . . .
tanks for perfect job.
Nice to see you here!
Great work!
nice !!
thank you.
Pako7 said:
1) before running the program in the folder "In" place the files that need to be applied patch/es
Click to expand...
Click to collapse
Works with Samsung stock roms?
alberto888zz said:
Works with Samsung stock roms?
Click to expand...
Click to collapse
with any.. stock and custom
mehrzad1363 said:
realy good job man .
if you can added many usefull mod . exampel : extended power - battery % - scroling cyanogen - . . .
tanks for perfect job.
Click to expand...
Click to collapse
Not all patches can be added to the program, but only those that are unifying the code
I am guessing this must work for i9100g series awell?
manishdev said:
I am guessing this must work for i9100g series awell?
Click to expand...
Click to collapse
i don't know.. you can try.. put your files in folder IN, select device I9100 and go forward.. If your files can be patched - this program will
Does not find the file even if I have placed in the folder In...what's wrong?
alberto888zz said:
Does not find the file even if I have placed in the folder In...what's wrong?
Click to expand...
Click to collapse
what files? what firmware? Odexed or deodexed? what patches?.. please say
Pako7 said:
what files? what firmware? Odexed or deodexed? what patches?.. please say
Click to expand...
Click to collapse
I have stock 2.3.6 KK1 ITV on my GS2. I have rooted it and transferred the system files by rootexplorer from sd to my computer.
Now i put the files (mms.apk, phone.apk, contacts.apk, etc...) in In folder but when i press apply on your PUMa Manager don't work.
Sorry for my bad english
alberto888zz said:
Now i put the files (mms.apk, phone.apk, contacts.apk, etc...) in In folder but when i press apply on your PUMa Manager don't work.
Click to expand...
Click to collapse
I tried on KK2 - all o'k..
1. if in the field "Necessary files" required files are odex-files (type DEX), then they must be placed in a folder "In", but not apk
2. try to put the program in the root of drive C, for example in the folder c:\PUMa
Pako7 said:
I tried on KK2 - all o'k..
1. if in the field "Necessary files" required files are odex-files (type DEX), then they must be placed in a folder "In", but not apk
2. try to put the program in the root of drive C, for example in the folder c:\PUMa
Click to expand...
Click to collapse
See this!
alberto888zz said:
See this!
Click to expand...
Click to collapse
i see this is strange
After running PUMa in folder OUT is a file Mms.apk? If not - can try handly copy this file from IN to OUT and press Apply
Tried on i9100G, shows installed etc, but when i try the sms to more than 10 persons it dsnt work. Even the call end immediately and noise reduction on by default dsnt work
manishdev said:
Tried on i9100G, shows installed etc, but when i try the sms to more than 10 persons it dsnt work. Even the call end immediately and noise reduction on by default dsnt work
Click to expand...
Click to collapse
all can be .. on I9100G program has not been tested. Tell us what you have firmware and if I have it I'll try to see applets mms and phone
ps.. i see mms & phone applet (only on old fw DZKJ2) - patches "call end immediately", "noise reduction on by default" should work. Under question - "disable control of number sending". In next version i try it's patch rewrite
Great job, working perfect for I9100 XWKK5 with russian contacts rule, cancel delay rings and stop converting SMS to MMS. Was installed by one zip file via CWM. Are donated ($100 - Confirmation number: 2SC26619W1027282U).
Thanks a lot.

[Q] 4G LTE in E7 32 GB variant

Does Gionee E7 really support LTE 4G in the 32GB model?
I have purchased the 32 gb variant and have read everywhere that it supports 4g LTE but havent found any such option in the phone.
Checked for the Phone information from *#*#4636#*#* and it does show the options for LTE only but not able to select it from there.
Does anyone have any idea how to activate the 4G facility in this??
HAS ANYONE TRIED THIS OUT??
This is the process for Nexus 4 which also seems to have LTE Capacity like our Gionee E7 32GB
1) A rooted Nexus 4 running just about any JB 4.2/4.3 OR 4.4+ Kit Kat ROM.
2) Time and patience.
3) ES File Explorer from the Play Market
4) Baseband .33 or earlier (or the hybrid radios from morrislee) (Don't ask what this means here, do a search in the Nexus forums)
(First Edit: Screencaps soon to come!)
First, we're going to need to edit a couple of files in the root (also known as /) file system. Open ES File Explorer and click the blue icon in the upper left to bring up the options menu. Expand Tools, then scroll down to Root Explorer. Select that and Allow ES File Explorer root permissions with superuser.
Another menu pops up, select Mount R/W and change BOTH from "ro" to "rw". Save that and get back to the file system menu in ES File Explorer. Navigate your way to /system and scroll down to select the file "build.prop" Open that with ES Note Editor and select the options menu in the upper right, and click "Edit".
Scroll approximately 3/4 of the way down through the build.prop file and locate this line of code:
Code:
lteOnCdmaDevice=0Change that to this:
Code:
lteOnGsmDevice=1Press the back arrow in the upper left corner of ES Note Editor and it will prompt you automatically to save the file. Click yes.
mruduljoshi said:
Does Gionee E7 really support LTE 4G in the 32GB model?
I have purchased the 32 gb variant and have read everywhere that it supports 4g LTE but havent found any such option in the phone.
Checked for the Phone information from *#*#4636#*#* and it does show the options for LTE only but not able to select it from there.
Does anyone have any idea how to activate the 4G facility in this??
HAS ANYONE TRIED THIS OUT??
This is the process for Nexus 4 which also seems to have LTE Capacity like our Gionee E7 32GB
1) A rooted Nexus 4 running just about any JB 4.2/4.3 OR 4.4+ Kit Kat ROM.
2) Time and patience.
3) ES File Explorer from the Play Market
4) Baseband .33 or earlier (or the hybrid radios from morrislee) (Don't ask what this means here, do a search in the Nexus forums)
(First Edit: Screencaps soon to come!)
First, we're going to need to edit a couple of files in the root (also known as /) file system. Open ES File Explorer and click the blue icon in the upper left to bring up the options menu. Expand Tools, then scroll down to Root Explorer. Select that and Allow ES File Explorer root permissions with superuser.
Another menu pops up, select Mount R/W and change BOTH from "ro" to "rw". Save that and get back to the file system menu in ES File Explorer. Navigate your way to /system and scroll down to select the file "build.prop" Open that with ES Note Editor and select the options menu in the upper right, and click "Edit".
Scroll approximately 3/4 of the way down through the build.prop file and locate this line of code:
Code:
lteOnCdmaDevice=0Change that to this:
Code:
lteOnGsmDevice=1Press the back arrow in the upper left corner of ES Note Editor and it will prompt you automatically to save the file. Click yes.
Click to expand...
Click to collapse
no the 32 gb varient doent support LTE infact there 4 varients of E7
16 gb with 2.2 ghz MSM8274 VV , 2gb ram, 2g/ CDMA
16 gb with 2.2 ghz MSM8274 AB, 2gb ram, 3g
32 gb with 2.2 ghz MSM8274 VV , 3gb ram, 3g
32 gb with 2.5 ghz MSM8274 VV , 3gb ram, TD-LTE +CDMA
out of which only middle two are avilable in india

[Tool] Android Adb File Explorer

I'm an Android Developer and I need a tool support push pull data to mobile base on ADB commands. I search xda forum and found a tool at here: https://forum.xda-developers.com/showthread.php?t=1821601 .
But it have some problem and i developed a new tool with some advance features:
Attacted new adb version, high speed transfer for Android 7 or newer.
Support push, pull for multi files/folder.
Show more information of files/folders and sort data by name.
Don't freeze with large data.
Note: Current only support Windows.
Download: AndroidAdbFileExplorer.7z
XDA:DevDB Information
AndroidAdbFileExplorer, Tool/Utility for the Windows 8 General
Contributors
codinginthebigcity
Version Information
Status: Testing
Current Beta Version: 1.1.1
Created 2017-05-12
Last Updated 2017-05-12
Thank you for your app. Works very good.
Needs multi-file pull.
I tried to access /data so I clicked 'back' and everytime I choose a folder it trims 3 firsts symbols from selected folder.
Example:
I select folder named 'system' and in path I get /tem
I select folder named 'misc' and in path I get /c
I select folder named 'config' and in path I get /fig
I cannot edit filepath as it is not editable.
Please fix this
this is the only such application works!
broken and unusable. keeps thinking date and id is a path variable on every command,
This tool is lovely! Used it to move a ton of files from my Pixel on Pie to my PC so that I could do a full wipe and install of Android 10, then moved the files back. The speeds seem to be at least 10x faster using this than MTP over USB. Thank you so much!!!
works great for android tv.
Thanks broman
Thanks a TON !!!!!!!!!!
I used this software to backup various folders from the internal storage of my Moto G5 Plus and it worked flawlessly.
And the copy speed is too good to be true (but it is)
God bless you
This is the best method to transfer big amount of data from your phone. I had 35GB of photos and videos and this app transfer that quick and without any data corruption. MTP is not even close to that method. Thanks a lot!
FYI: I think this tool unfortunately doesn't really work under Android 11 any more, probably due to the new restricted storage access design by google.
Running an Pixel 2 with Beta RC3 and some files and folder won't be shown. For example the "camera" folder under "dcim" wont show at all.
Other files under downloads: some show, some don't.
Maybe you could look into it and fix it with an update? Was immensely usefull for copying pictures.
Thanks for your great work
Link/url is not working.
If can fix please.
Or if any other better File explorer after 3 years.
A new link would be great for me, too.
Anyone saved a copy of this? Also looking for a link
giant59 said:
Anyone saved a copy of this? Also looking for a link
Click to expand...
Click to collapse
Found it on an old computer for you.
I still prefer using this app instead of "Android Studio", especially if I'm only using Android Studio just for file transfer (overkill 800+ megabyte download) whereas "Android ADB File Explorer" is less than 1 megabyte. I also find it a lot easier to move directories with subdirectories with "Android ADB File Explorer".
Android ADB File Explorer MEGA download link (file is untouched from original download in 7z): https://mega.nz/file/vhpFiQwb#PngUnnspu6VA2enWCN9t06kGYcWkugsA1qWXswKjbTY
I've converted the original 7z file to ZIP for attachment to this post. No other changes were made.
Edit: I don't have any issues on Android 11 moving multiple files and directories with this. Much, much faster than MTP
Edit 2: I encountered the Android 11 issue with missing subdirectories. I just copied the parent folder and the subdirectories that weren't displaying in "ADB File Explorer" still copied over anyways.
ninjæon said:
Found it on an old computer for you.
I still prefer using this app instead of "Android Studio", especially if I'm only using Android Studio just for file transfer (overkill 800+ megabyte download) whereas "Android ADB File Explorer" is less than 1 megabyte. I also find it a lot easier to move directories with subdirectories with "Android ADB File Explorer".
Android ADB File Explorer MEGA download link (file is untouched from original download in 7z): https://mega.nz/file/vhpFiQwb#PngUnnspu6VA2enWCN9t06kGYcWkugsA1qWXswKjbTY
I've converted the original 7z file to ZIP for attachment to this post. No other changes were made.
Edit: I don't have any issues on Android 11 moving multiple files and directories with this. Much, much faster than MTP
Click to expand...
Click to collapse
MD5 Hash Matches
Hash: 22c12aaa9c47bee6e5ed0f3887969883
Is it still being maintained? I hope someone can add in the option to connect to ADB over WiFi (probably just another input field for IP address and change the adb connect command)
HRSE said:
Is it still being maintained? I hope someone can add in the option to connect to ADB over WiFi (probably just another input field for IP address and change the adb connect command)
Click to expand...
Click to collapse
The developer of this utility hasn't logged into XDA in over four years, so my guess is that this isn't being maintained. However, "codinginthebigcity" has updated their "Watch Navigator" app in the Google Play store as recently as February 2021. So they may still be active in Android development. Their email [email protected] is listed in that app description if you want to pose your feature request directly to them.
Well the link is dead, so much for this.
Toothless_NEO said:
Well the link is dead, so much for this.
Click to expand...
Click to collapse
Did you try the re-uploaded link or attachment four replies up?

[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