Remove default APN T-Mobile US LTE? - T-Mobile Samsung Galaxy Note 3

Is there a way of removing the default APN on a Galaxy Note3 (running Android 4.3)? I have the phone rooted.
Thanks!

m4f1050 said:
Is there a way of removing the default APN on a Galaxy Note3 (running Android 4.3)? I have the phone rooted.
Thanks!
Click to expand...
Click to collapse
create a new one, if u cant delete it...
and add this to APN type...
APN type= default,supl,mms (this will make it default APN)

mdiaz33685 said:
create a new one, if u cant delete it...
and add this to APN type...
APN type= default,supl,mms (this will make it default APN)
Click to expand...
Click to collapse
Thanks but I already did that. I am looking to delete the default T-Mobile US LTE one

You can't and there is no real reason to bother to remove it anyway. Just use the new entry.

You can remove it, but it requires a SQL editor.
Go to data/data/com.android.providers.telephony/databases and edit nwk_info.db
Select the "carriers" table and locate the T-Mobile US LTE / 310260 entry (should be line 26)
Scroll all the way to the far right and change the editable value from 0 to 1.
Restart your phone and you should be able to edit the entry.
The other option is to edit /system/etc/apns-conf.xml directly.
Remember the first rule in tweaking your system... make a backup copy first.

rjohnstone said:
You can remove it, but it requires a SQL editor.
Go to data/data/com.android.providers.telephony/databases and edit nwk_info.db
Select the "carriers" table and locate the T-Mobile US LTE / 310260 entry (should be line 26)
Scroll all the way to the far right and change the editable value from 0 to 1.
Restart your phone and you should be able to edit the entry.
The other option is to edit /system/etc/apns-conf.xml directly.
Remember the first rule in tweaking your system... make a backup copy first.
Click to expand...
Click to collapse
See, this is the type of answer I like to get... not "create a new one" or "you don't need to remove it".. If I want to remove it, LET ME REMOVE IT, it's my phone!
Thanks rjohnstone (for telling me how to edit the entry) and mdiaz (for the APN types)! BTW used SqlLite, great app, only $2.99 on Play store and works VERY well!

Related

MMS Issue w/protocol

I have been looking thru MMSZap and I have a problem, I could not change the MMS Protocol in it.
Is there any other ways to change the MMS Protocol from 2.0 to 1.2?
Thanks.
jeremy89632 said:
I have been looking thru MMSZap and I have a problem, I could not change the MMS Protocol in it.
Is there any other ways to change the MMS Protocol from 2.0 to 1.2?
Thanks.
Click to expand...
Click to collapse
If you are good with sqlite, you can download the application 'sqliteman' and pull the .db file from adb pull (the file name is mentioned in the Villain 3.2 wiki under the mms fix page). You can edit it and pop in the new MMS protocol value...
Or, have you tried installing apn backup and restore (free on market), and then deleting all apns. Then, you can access settings/wireless/APNs without the force close, and maybe change it from there...
anon2122 said:
If you are good with sqlite, you can download the application 'sqliteman' and pull the .db file from adb pull (the file name is mentioned in the Villain 3.2 wiki under the mms fix page). You can edit it and pop in the new MMS protocol value...
Or, have you tried installing apn backup and restore (free on market), and then deleting all apns. Then, you can access settings/wireless/APNs without the force close, and maybe change it from there...
Click to expand...
Click to collapse
Unable to find SQLiteMan in market.
I am using the Villain3.4 rom and I could only change the apn protocol in MMSZap or thru ADB right?
MMS Settings cant be changed inside the Messages app, which I wonder why.
jeremy89632 said:
Unable to find SQLiteMan in market.
I am using the Villain3.4 rom and I could only change the apn protocol in MMSZap or thru ADB right?
MMS Settings cant be changed inside the Messages app, which I wonder why.
Click to expand...
Click to collapse
Sorry. Sqliteman is a Windows PC app that you use to edit the db, then push it bac;
The MMS settings are now in the menu that gives the FC, I believe (settings/wireless networks/APNs), so you could try the other app I mentioned for 'deleting apns'...
But yes, this is a gsm rom, the CDMA ones had mms settings in messages. These don't.
If you modify the db file, you can just adb remount and adb push it back with the 2.0 changed to a 1.2 or whatever...
But try deleting apns using the backup and restore tool first...
anon2122 said:
Sorry. Sqliteman is a Windows PC app that you use to edit the db, then push it bac;
The MMS settings are now in the menu that gives the FC, I believe (settings/wireless networks/APNs), so you could try the other app I mentioned for 'deleting apns'...
But yes, this is a gsm rom, the CDMA ones had mms settings in messages. These don't.
If you modify the db file, you can just adb remount and adb push it back with the 2.0 changed to a 1.2 or whatever...
But try deleting apns using the backup and restore tool first...
Click to expand...
Click to collapse
Alright, im trying to use SQLiteman.
I do not have the FC in the settings menu, I set that up correctly, but I still cant use MMS, so I used the SQL method. Just pushed back the database file, lets see how it works.
Is there such a problem in the 4.0 ROM?
jeremy89632 said:
Alright, im trying to use SQLiteman.
I do not have the FC in the settings menu, I set that up correctly, but I still cant use MMS, so I used the SQL method. Just pushed back the database file, lets see how it works.
Is there such a problem in the 4.0 ROM?
Click to expand...
Click to collapse
TBH, I don't know... Mine on T-Mobile UK worked out the box, so I've just ignored this issue really.
Managed to do it already.
I will attach the telephony.db (in zip file) here.
What the others need to do is to download Sqliteman on the PC and extract the telephony.db file and edit the value on the column at 'Production' under the 'carriers' table inside.
Just change the values accordingly. Like MMS Port, protocol and such.
Than throw the file inside your SD card and use this command
cp /sdcard/telephony.db /data/data/com*telephony/databases
Than reboot.
# How to edit mms via ADB or command line in android for HERO Villian 3.4

[19-nov-2011] Active Auto APN For all Build

Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
*** if mms not worked , please delete your apn and set manually its woked 100% ***
Very well, thank you for sharing
I just PM'd Dungphp about that cause i was having problems with certain sense builds allowing me to select the correct apn but no E/H in the notification area/status bar. Thanks.
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem...
Click to expand...
Click to collapse
bwuahahahahhhhaaaaa!
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem with data connection on installed build, hope this
Click to expand...
Click to collapse
dohclude said:
bwuahahahahhhhaaaaa!
Click to expand...
Click to collapse
Come on We all know he meant "guys" lol...
anyways awesome work OP keep up the work. XD
essi_baba said:
many gays have problem
Click to expand...
Click to collapse
hmmmm
edit comment
im sorry for type wrong word .
first post edited.
essi_baba said:
Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-enjoy
Click to expand...
Click to collapse
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
install
oroo708 said:
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
Click to expand...
Click to collapse
If you only do :
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > wireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
essi_baba said:
If you only do :
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
Click to expand...
Click to collapse
done it but still nothing..
is it my rom or what??i'm using NDT ginger..
Works for me. Thankx.
One more thing. If you actually have root explorer, there is no need to use adb commands. Just replace the apns-conf.xml file in /system/etc/ and reset permissions as rw-r-r and reboot device.
Once rebooted, go to APN and press menu, then press Reset APN to default. Worked for me.
Hi !
Worked for me on Samsung Galaxy S GT-I9000 ICS ( TiramiSlim ROM ).
But Failed on Samsung Galaxy SII GT-I9100 MIUI ICS CM9 ( cMIUI ROM ).
Nowadays, thanks for this hudge list !!! )

[Guide]Set the Straight Talk APN on a (rooted) Stock 4.4.2 AT&T ROM

UPDATE: There is a much simpler solution that anyone can use without learning Linux commanline or file permissions. See this thread for details:
http://forum.xda-developers.com/showpost.php?p=54462957&postcount=13
WARNING: If you do not understand every step of these low-level Linux command-line technical instructions, then do not attempt this method or you may brick your phone! These instructions are written for people who understand android developer tools, Linux command-line tools, and file permissions. If you do not understand these Android development basics, then find another walkthrough.
I got my phone up and running and text messaging, 4G LTE data connectivity, and phone calls worked just fine, however, I noticed I was unable to send and receive MMS messages (picture messaging). I tried every solution I could find on the web for changing the APNs on my rooted LG Optimus G Pro E980, and by trial and error, I discovered the following solution:
The stock Android ROM supplied by AT&T for the Optimus G Pro - Android 4.4.2 (Build E98020G), has disabled the ability to add working APN settings through the system APN settings dialog by defaulting all new APNs to have the (apn) type="default,dun". The settings screen does not let you change this value, so you have to edit the values directly in the SQLite database.
None of the free SQLite-database-editors in the Android market were able to edit the read-only /data/data/com.android.providers.telephony/databases/telephony.db file (after following instructions for editing the APN in the database in the folder where it is stored).
So, using ES File Manager (search for "com.estrongs.android.pop" on google play), I copied it to my SD-Card, copied to my computer and edited it with SQLite Database Browser (a SourceForge project identified as sqlitebrowser).
VERY IMPORTANT: The permissions change when copying the file from your computer to the SDCARD and when copying it from the SDCARD to the /data/data/com.android.providers.telephony/databases/ folder. So, I had to set the permissions back to the original telephony.db permissions & owner. The permissions should match all of the other .db files in the /data/data/com.android.providers.telephony/databases/ folder, like so:
RW-RW----
VERY IMPORTANT:Change the file owner back to "radio" from "root". Change the group back to "radio" from "root". If you do not change the owner and group back to "radio" after you copy the telephony.db file back to the /data/data/com.android.providers.telephony/databases/telephony.db path, the phone.apk process will repeatedly crash until it restarts your phone (and your phone will keep rebooting until you delete the telephony.db file that has incorrect permissions or incorrect owner). To boot, the phone.apk runs under the "radio" group and needs the critical Android OS file: telephony.db to be owned and accessible by the "radio" group.
After creating an APN per Straight Talk's instructions, changing the type field in the carriers (APNs) record stored in the telephony.db, copying over the new telephony.db (and overwriting the original), changing the permissions & owner of the copied file, and rebooting the phone, I was able to send and receive text messages and picture messages (MMS) to myself.
Note: My phone came with the correct "Service Center Address" setting, because it was an AT&T branded phone before I brought it to Straight Talk. However, you may need to change this setting if you came from another carrier with your phone. The correct setting for Straight Talk customers on the AT&T LTE network should be (the same as it is for AT&T customers on an AT&T plan):
Code:
+13123149810
Although the /system/etc/apns-config.xml file has several, misleading APN values in it, this file is not used to store the APN records in Android 4.4.*. Instead, APNs are stored in the /data/data/com.android.providers.telephony/databases/telephony.db SQLite database.
Also, there is a rumor spreading around the internet that you cannot send MMS messages when your WIFI is connected (instead of a 4G LTE connection). That is false: my phone sends and receives MMS messages while the WIFI is connected.​To make it easier for you to change your APN settings on your phone, I have attached my working telephony.db file. It contains only one APN record for Straight Talk on AT&T's LTE network. I deleted all of the other APN records from the database, per Straight Talk's APN instructions.
If you are curious, I also attached the database dump of the attached telephony.db, which was auto-generated by SQLite Database Browser. It is a text file called "telephony-dump.sql".
Hi, I tried this step by step and now my phone does nothing but crash repeatedly. Any way to fix this?
How to unbrick your phone if you missed steps in the instructions
l337m45732 said:
Hi, I tried this step by step and now my phone does nothing but crash repeatedly. Any way to fix this?
Click to expand...
Click to collapse
If you do not understand every step of the above low-level Linux command-line technical instructions, then do not attempt this method or you may brick your phone!
It sounds like a permissions issue - the android operating system is crashing because it does not have permission to read the critical OS file: telephony.db. Did you set the owner, group, and permissions on the telephony.db file correctly? If you are unable to change the permissions back on the telephony.db, then follow the instructions above to fix your problem:
ratkiley said:
VERY IMPORTANT: The permissions change both when copying it to and when copying it from the SD-Card. So, I had to set the permissions back to the original telephony.db permissions & owner, (matching the other .db files in the /data/data/com.android.providers.telephony/databases/ folder):
RW-RW----
VERY IMPORTANT:Change the file owner and group back to "radio" from "root". If you do not change the owner and group back after you copy the file back to the /data/data/com.android.providers.telephony/databases/telephony.db path, the phone.apk process will repeatedly crash until it restarts your phone (and your phone will keep rebooting until you delete the telephony.db file that is owned by "root").
Click to expand...
Click to collapse
If you don't know how to delete the telephony.db file, then you can flash the stock AT&T android Operating System image file to unbrick your phone. There are many tutorials and walkthroughs on this topic on xda developers. This walkthrough is pretty comprehensive:
http://forum.xda-developers.com/showpost.php?p=44983841&postcount=1

[Root] [Sprint Galaxy S6] [Nougat] Enable Hotspot by manually editing APN database

I found through some searching the location of the telephony.db file in Android N and I was successfully able to edit it to enable the native hotspot.
Here's a poorly written guide:
1. Using a root browser or ADB shell, copy /data/user_de/0/com.android.providers.telephony/databases/telephony.db to the root of the internal storage (/storage/emulated/0)
Code:
adb shell su
cp /data/user_de/0/com.android.providers.telephony/databases/telephony.db /storage/emulated/0/
exit
If you have the premium version of jrummy's root browser, it has a built in database editor and you may use it. Edit: You can't edit the file in place, you must copy it to /storage/emulated/0 to edit, then copy it back.
2. Copy the telephony.db file to your computer
Code:
adb pull /storage/emulated/0/telephony.db
3. Using a SQLite editor on your computer, open the telephony.db file, and open the "carriers" table.
4. Find "APN2 LTE internet" and in the type column add "dun" to the end, so it should read "default,mms,dun"
5. Do the same with "APN2 EHRPD internet"
6. Write the changes to the database.
7. Put the file back on the phone's storage
Code:
adb push telephony.db /storage/emulated/0/
8. Rename the telephony.db in "/data/user_de/0/com.android.providers.telephony/databases/" to telephony.db.bak
Code:
adb shell su
mv /data/user_de/0/com.android.provicers.telephony/databases telephony.db.bak
9. Copy the telephony.db from the storage to "/data/user_de/0/com.android.providers.telephony/databases/"
Code:
(adb shell su if you exited the shell previously)
mv /storage/emulated/0/telephony.db /data/user_de/0/com.android.providers.telephony/databases/telephony.db
exit
10. Reboot. Tethering should now work.
I'm not sure if this adds the hotspot icon to the quick settings or if the icon is left over from a failed attempt to get the hotspot working. (Edit: button seems to always be there)
Note: Updating your profile may reset the APN settings. If so, you should be able to follow this guide again.
Edit: At some point my profile updated or something and disabled the hotspot. I did this procedure again and it worked.
tdhite's SkyHigh kernel does this automatically but it breaks private mode and I kind of wanted that.
Credit where it's due: This thread is where I found the location of telephony.db
Thanks! I'm quite happy with tdhite's skyhigh kernel atm which has hotspot built in, but its great to know that if for some reason I cant use skyhigh in the future, there are still alternatives for getting hotspot!
remove root
I am not able to get this to work. Hangs at Samsung portion of the boot.
trendkilla254 said:
I am not able to get this to work. Hangs at Samsung portion of the boot.
Click to expand...
Click to collapse
I'm sorry to hear that. I'm not a developer or anything so I couldn't tell you exactly what went wrong. Are you using the stock ROM?
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
baknblack said:
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
For anyone interested. This actually works for me.
Sent from my SM-G925P using Tapatalk
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Tried all the ways of activation Hotspot on Nougat (QC7), fixes, changing CSC etc.... But all without success
Can anyone confirm this works with QJ1 stock that has been rooted?
baknblack said:
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
I don't think sharing your own APN database is a good idea.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Make sure you're looking in the "carriers" table. For me they are the last two. They might not say APN2, but they should have "EHRPD internet" and "LTE internet" in the name and under type by default should say "default,mms"
Thank you so much for posting this, Man!! I had been searching all over the web for answers!! Hotspot working perfectly now.
I just used root explorer, and sqlite editor, and followed your steps. Thanks again =)

[Guide][WIP][H930EU] Get VoLTE/VoWiFi functional and available

:INTRO:
OK: here's the thread we are talking about and working on getting VoLTE & VoWiFi to work :good:. For now this is for the H930 Open EU variant only, it worked for two peoples incl. me, but I think this is applicable on other variants of V30, with respective edits (/OP, you'll read later), too. Maybe even to other phones? I don't know, LG is sth (=something) special This thread will rise with time I think, with different edits or ways to reach the goal: we want VoLTE/VoWiFi, sth, LG imho should've taken more care of...
I hope, my english is sufficient so everyone understands what's to do And, btw.: you should have "Allow OEM Unlock" switched off.
User @Krekos/CZ/ did help me in a special way: he zipped his modem config files I by accident deleted from my phone and uploaded them :good: Without them I would've not being able to complete this work, and therefore I wanted to say thanks again to him at this point (I think you can't hear this anymore, hm? ). He's btw. the second person for whom this worked, he's got VoLTE&VoWiFi now.
These files should work on other SD835 phones too, I link them here for archival. Eventually we can get a collection from every variant, this way we might be able to activate VoLTE etc. for a carrier on a phone which was not intended to being used with other operators. So a call to other variant users: can you please tar and upload these files to XDA? Procedere is:
Connect your phone via ADB and open a command prompt
type:
Code:
adb shell tar -czf /sdcard/mbn-files.tar.gz /firmware/image/modem_pr/mcfg/configs
Upload this file to your post here in this thread. I'll add it to the list then.
Links to modem cfg files (mcfg_sw.mbn):
H930 EU Open
US998 Open
These files need special permissions, of course... Otherwise it would be boring
The path (on a LG phone) for oreo firmware is as follows:
/firmware/image/modem_pr/mcfg/configs
For pie it's not /firmware/, but /vendor/firmware_mnt/: pls remember to change path in the following process accordingly when using pie.
Permissions are:
files 0440 system:system
folders 0550 system:system
Apply them via terminal emulator or adb:
Code:
cd /firmware/image/modem_pr/mcfg/configs
chown -R system:system * {apply to everything in this folder and subfolders correct user and group}
chmod -R 0550 * {apply to everything in this folder and subfolders permissions}
find . -type f -print0 | xargs -0 chmod 0440 {apply to files only (not directories) in every (sub)folder permissions}
:MAIN PART:
Prerequisites:
- H930 (or variant, later)
- rooted
- File Manager with root privileges
- eventually a decent editor of your choice
- and a little bit knowledge about giving permissions and changing owners/groups, if needed
I won't give help about e.g. files not editable because of problems with filemanagers or root, do the search work for infos and parameters you need, or anything else, sry You have to prepare and maybe investigate some time to find some infos. You have to know, that this can lead to a brick, if you're doing weird stuff
Let's begin with backing up your complete ROM via TWRP, incl. efs, data and all you need. Backup your OP partition too:
Code:
dd if=/dev/block/bootdevice/by-name/OP of=/sdcard/OP.img
It's about 344mb in size and can be restored in recovery or ROM, adb or terminal emulator:
Code:
(adb shell) dd if=/sdcard/OP.img of=/dev/block/bootdevice/by-name/OP
Then gather some infos, for now it looks we only need MNC and MCC, which identifies your operator. Maybe it later turns out that you need parts of your IMSI too. You'll find it in LG's hiddenmenu:
*#546368#*930#
Field Test => SIM Info
You can check, if the IMS Settings are available already. If yes, then there's a high chance you don't need the "some more config" part.
Write it down and have it prepared. Now the editing session begins
First we will load our modem config for our operator. The corresponding script somehow seems broken as it should do its work with files in /data/shared folder, which isn't.
These configs can give some extra parameters and contain infos about your operator / SIM provider etc.: Open your filemanager (and/or maybe editor, if isn't integrated in fm) and open the file "/firmware/image/modem_pr/mcfg/configs/mcfg_sw/mbn_sw.txt". Here find the path for your provider. O2 Germany would be "mcfg_sw/generic_/joan_glo/eu/o2d/o2d/germany/mcfg_sw.mbn". Append these = the complete path for your config file.
Code:
/firmware/image/modem_pr/mcfg/configs/mcfg_sw/generic_/joan_glo/eu/o2d/o2d/germany
Copy your op config path, you need this for one of the following edits.
Now navigate to the folder "/data/property". There should be three files we need. If they are not there, create them with root:root, 0600 and following content pls:
persist.radio.buffet_mbn_file => the long path you copied before
persist.radio.buffet_enable => enable
persist.radio.sw_mbn_update => 1
Otherwise just edit and save them afterwards. Perform a reboot and then check in hiddenmenu => Field Test = MCFG Buffet, if this file is loaded. Should
Some more config is needed. We now need the before told MNC and MCC and maybe the IMSI. We need to point your ROM in the right direction (modem itself is done): localizing it and giving the exact operator infos. Have a check of following files and a look, if they are configured already correctly for your operator, or you have to edit them.
/OP/client_id.xml:
Is your MNC & MCC inside? If not, copy and paste an example line, edit this one so it suits both.
/OP/OPEN_EU/config/carrier_code.xml:
Same as above, but a little more complicated. Explanation with an example line:
Code:
<profile carrier="O2D" suffix="O2D" carrier_code_fast="" carrier_code_late="TLF" country="DE" mcc="262" mnc="07" mvno_type="imsi" mvno_match_data="26207200xxxxxxx" />
"Profile carrier": you find this in the long path to your .mbn file you copied before O2D is O2 Germany, edit this to fit your sim provider.
"suffix": same
"mvno_match_data": this is part of your IMSI. When your provider is already listed, compare the five numbers after your operatorcode: 26207200xx. This all together has to be the same as the first ten numbers of your IMSI. If not, edit it. This is one of the reasons for VoLTE chaos on O2D, but that's another story.
/OP/OPEN_EU/config/com.lge.ims.rcs.xml
Same as above: copy and paste a line of simoperator section and edit with your operator details. "prefix" is your country calling code.
/OP/OPEN_EU/config/featureset.xml:
Change every item which is "false" to "true"
/OP/OPEN_EU/config/vo_config.xml:
Most likely you need to create an entry for your operator with mnc and mcc. do this and change both variables to "1":
Code:
<info mcc="262" mnc="07"><!-- O2D (you can write anything here or leave it, it's commented out)-->
<prop
support_volte="1"
support_vt="1"
/>
</info>
[b][i]Maybe[/i][/b] for some rare cases this is the only edit you need to do to get VoLTE & VoWiFi running :D
Reboot now, then continue. If sth in custom.prop or build.prop is edited the wrong way, this can cause bootloops, so you don't have to do the beforedone work again. And: when something in general went wrong in /OP directories edits, you can dd your OP partition back.
/OP/OPEN_EU/cust.prop (they're all case sensitive):
ro.lge.capp_cupss.rootdir=/OP/OPEN_EU
ro.build.target_operator=OPEN
ro.build.target_country=EU
ro.build.target_region=EU
ro.product.locale.region=your region, e.g. "DE" for Germany
ro.product.locale.language=your language, e.g. "de" for Germany
ro.lge.cupssgroup=GLOBAL-COM
ro.lge.opensw=EUR-XX
ro.lge.radio_mcfg=1
persist.lg.ims.volte_open=1
Reboot.
/system/build.prop:
ro.product.locale: change to match your language
ro.lge.capp_cupss.rootdir=/OP
ro.lge.capp_cupss.op.dir=/OP
Reboot again .
:0UTR0:
The VoLTE and VoWiFi switches should be present now, a) in Phone Settings (both) and b) in Network Settings (VoLTE). We should now be able to hop into IMS Settings. You find it in LG's hiddenmenu => Field Test => IMS Setting.
First we let the IMS setting show an icon in statusbar, this way we don't need to dial the hiddenmenu code everytime we need the settings. A nice sideeffect: it shows if you're connected or not To do this tip on "Test" and activate "Show Icon". After that go back to the main screen and scroll down to "GPRI VoLTE/VoWiFi". Here you can activate VoLTE/ViLTE/VoWiFi/ViWiFi, depending on what your provider offers in your contract. Go back again to main screen, go into "Test" menu, then "Load Preset Configuration" => "Initialize configuration". Now you can do a reboot and press a thumb: maybe this was it and everything is up and running! Maybe...
For seeing if VoLTE is up you can check "Debug Screen" => "VoLTE Debug Screen" inside IMS setting.
You can also turn on VoLTE and VoWiFi indicators/symbols, which are then on the right side of your statusbar near the clock. In IMS settings: => "GPRI VoLTE/VoWiFi" => "Registration" => "VoLTE" => "Indicate VoLTE", and the same for VoWiFi. To be able to place a call in flight mode but with WiFi calling on, enable "Airplane Mode" in VoWiFi menu.
In case you experiment with IMS Setting and suddenly a com.android.phone (or other) fc occurs, you can boot into TWRP, mount data and delete the directory "/data/user_de/0/com.lge.ims" with its integrated filemanager.
K, you're done :cyclops: Pls give feedback how it went for you!​
Wow. Thank you.
yeah, I hope it's written in a way everyone understands it atm it's more like a dev thread, it will be rewritten for newbies when everything is clear and fully pointed out
.. Uploaded stuff ..
Hi - thanks for this info. I'm trying to work with it, and added my files. + a few extras stuff> actually not really sure how to do this .... any help? ... Thanks I have a US998 phone.: but want to get the Canadian settings all working ; specifically for Freedom Mobile ( aka : Wind ) --- the files are from a saved backup ( dump ) {{ the uploaded files are from a backup of the H933 canada firmware dump }} ... I'm currently using the US998 kdz firmware on the phone ....
let's start with
- do you see "MCFG Buffet" in your hiddenmenu?
- can you list all the content (the main directories) in your /OP folder pls?
- does the firmware modem config folder exist and is your provider inside?
- and where does your ro.lge.cupssgroup point to? (adb shell getprop ro.lge.cupssgroup)
I don't know the specialities of other variants, especially the offered providers. I don't even know if this is possible and which files you uploaded to your phone. can you either list them or point to them with a link eventually?
OK thanks - I'll work on this some more tomorrow -- I don't know where the files I uploaded went to! > but I uploaded >Folders>>> Carrier Config, Modem_pr, qcril_database, vendor, wifi & build.prop. All files were dumped from a working Phone loaded with the Canadian .Kdz H933. ... > ok so I actually took all those files,and overwrote the files om my current phone setup which is US998 .Kdz -- didn't even crash the phone <<< Go figure. I just had to clear the cache and dalvik cache. VoLTE may be working, but my Carrier has a very limited VoLTE service... so I cant check right now. VoWifi is not working. Every setting and menu has it turned "on" but is no working. .... tomorrow I'll follow your instructions after I do a fresh install. of the .KDZ. ..... be well
be warned: this can be time consuming and causing headaches, too stock files would be the best to start with.
is it a native us998 phone? it's the one one can "frankensteining", isn't it? you've overwritten these files and partitions, when I understand you correctly?
you should get hands on following stock partition disk dumps and folders first (kdz won't help as all these files are preloaded and can't be flashed via kdz):
- canadian OP partition (the more important one) (canadian_OP.img <= example filename)
- US998 OP partition (for being able to revert back to stock and trying to get volte/vowifi running with only some edited files on stock us998 partitions, only a few added files or maybe folders from canadian OP partition and only the .mbn file for your provider, taken out of firmware modem config folder). this one shoukd be flashed and worked with.
- stock system image (kdz flash us998)
- clean unencrypted data partition (factory reset and then completely set up with your apps and settings, no db or ither files copied).
- you've got a backup of your stock efs partition?
try to keep your phone as clean as you can as this can only be of help about not being confused. are there gsm/(w)cdma/band differences between us998 and canadian 993?
this could go an interesting way let's see, maybe we get it is wifi calling enabled on your contract? I wasn't able to determine this out of your post.
there's the possibility to edit the thresholds when wifi calling aborts and switches to cell telephony or volte. it's located in /system/etc and inside a filename called "andsf_your_provider_code.xml", for o2 de it's named "andsf_26207.xml". I've set every threshold to -90, this way wifi calling is still working with only one or two bars wifi reception. otherwise it would abort just too early and switches to other telephony bands.
US998 mbn-files
Thanks for the detailed info.
Not working for me. I managed to add my operator and enable IMS but can't figure out how to make IMS register. Might be because my operator is a little more retarded and uses IPv4 only. No idea where to set that policy, it isn't in IMS settings anymore on the V30.
sounds like setup session in IMS setting. go into gpri volte/vowifi setting and try enabling volte and vowifi only, then tap on "call" menu entry. choose "volte" and tip "use sip preconditions" there, use the same setting for "vowifi". check "subscription" in main menu and "IMPI" there: is there a connection adress inside? example:
your_imsi@ims.mncXXX.mccXXX.3gppnetwork.org
replace mnc and mcc with yours but add a zero at the first place of your mnc. for o2 de's mnc which is 07 it looks like
your_imsi@ims.mnc007.mcc262.3gppnetwork.org
then try test menu and restart ims process. or perform a reboot.
but you'll have to investigate more, for yourself. what's your exact provider and mnc mcc?
edit: can be you need an IMS apn for your provider. in it you can set the protocol versions. what's logcat telling?
Hi. Thanks for this. Is there any way that this can be applied to aosp ROMs?
Those mcfg files are found inside the modem partition and you can pull them out from any kdz.
Do you have an idea where this is located? (/nv/)
Edit: Also, added some picture showing volte working... when it's not (switching back to something else)
you're really sure about this? since I've flashed a kdz and a modem and unfortunately this didn't bring back these files on my phone maybe I did sth. wrong, this is really interesting now. thought they were on efs partition; but these nv files should be on efs. I'm not really sure about that, maybe someone other can finally confirm :good:. edit: I remember I've got carrier services installed, would be interesting if this makes a difference. I hardly believe but try it:
https://play.google.com/store/apps/details?id=com.google.android.ims
about aosp: there's much more needed, proprietary files and more config inside sources etc pp. I evtl. wanted to do compilings again in winter, I wanted to try this but I need additional ssd space before
Oh sh*t...
I guess I lost my efs partition then...
I tried a bunch of stuff from your first post... sadly, I don't have an /OP/ directory at all... and when I try to force the mcfg mbn (from my sdcard lol, cauz my carrier is not provided in the us998 modem)
Edited a bunch of stuff in my build.prop to make it look more like the canadian one.. but it still doesn't work (even lost the volte option now in the mobile setting menu..)
Also, I tried to flash my canadian modem files... sadly.. the phone boot but the modem doesn't initialize at all... (no wifi and no mobile network)
aye, sh¡t... and there's no efs backup from your phone done / available as it sounds. you lost your IMEI too??
can you check the directory
/dev/block/bootdevices/by-name
and see if there's an OP "file"? eventually only the script which mounts it is broken. if I remember correctly there was a thread about regathering the IMEI or at least fixing some stuff on efs. maybe this helps you, unfort. I don't know where it was, you have to search yourself.
k, sleeping now, it's hard for me these days after my shoulder operation... hopefully we get your phone back running! I'm optimistic flashing a efs backup and changing the imei back to your original one for example. don't know if this is possible, but how often did I think "sh¡t, now it's over, phone's bricked" and then a solution appears out of nothing. you should've seen my face in the moment volte came.up on my phone xD xD xD
see you later be optimistic!
Oh sorry! I still got my efs partition.. I thought it would get overwritten when doing the frankenstein method.. But I guess not.. Is there any way I can debug why the modem doesnt work at all when flashing the canadian one while using the us998 system?
there is but I don't have it in mind atm it's explained here at xda somewhere, logcat and dmesg is used for that :good: can be that it is bands related? so you have to unlock bands in your modem settings? edit: most likely not as wifi is dead too...
seadersn said:
sounds like setup session in IMS setting. go into gpri volte/vowifi setting and try enabling volte and vowifi only, then tap on "call" menu entry. choose "volte" and tip "use sip preconditions" there, use the same setting for "vowifi". check "subscription" in main menu and "IMPI" there: is there a connection adress inside? example:
your_imsi@ims.mncXXX.mccXXX.3gppnetwork.org
replace mnc and mcc with yours but add a zero at the first place of your mnc. for o2 de's mnc which is 07 it looks like
your_imsi@ims.mnc007.mcc262.3gppnetwork.org
then try test menu and restart ims process. or perform a reboot.
but you'll have to investigate more, for yourself. what's your exact provider and mnc mcc?
edit: can be you need an IMS apn for your provider. in it you can set the protocol versions. what's logcat telling?
Click to expand...
Click to collapse
I already tried to set IPMI with my data like [email protected] but IMS still don't register and the setting doesn't stick. it always reverts to a default like [email protected].
I also created the ims APN but it doesn't help with anything.
I'm still digging but so far I have no clue what's going on.
hmm, did you try configuring sip telephony? for o2 germany the registration looks like
country code + phone number @ telefonica.de = (for germany) [email protected]. have a look at /data/user_de/0/com.lge.ims/shared_prefs/impu_list.xml
(user_de: I don't know if this is indicating the language the rom uses? so for an english language build it can look like user_en? I don't know...).

Categories

Resources