I managed to get a system dump from a Samsung Acclaim which is the only Android phone available for my service provider (US Cellular/USCC.)
I found the apns-conf.xml file but I'm not sure what info I need from it to get added to the APNs available for XDAndroid. (I've attached the file.)
Also, wouldn't there be a way to just add this to my system.ext2?
heavymetalmage said:
I managed to get a system dump from a Samsung Acclaim which is the only Android phone available for my service provider (US Cellular/USCC.)
I found the apns-conf.xml file but I'm not sure what info I need from it to get added to the APNs available for XDAndroid. (I've attached the file.)
Also, wouldn't there be a way to just add this to my system.ext2?
Click to expand...
Click to collapse
the apn list provided is sooooooooooo small. Probably because the phone is only available in the US. Not worth looking at but if you wanted to add it to your system.ext2
then
Code:
mkdir mountfolder
sudo mount -o loop system.ext2 mountfolder
Add the apns-conf.xml to /system/etc
then
Code:
sudo umount mountfolder
babijoee said:
the apn list provided is sooooooooooo small. Probably because the phone is only available in the US. Not worth looking at but if you wanted to add it to your system.ext2
then
Code:
mkdir mountfolder
sudo mount -o loop system.ext2 mountfolder
Add the apns-conf.xml to /system/etc
then
Code:
sudo umount mountfolder
Click to expand...
Click to collapse
Well I went through it all but it didn't allow me to use USCC as my apn. Thanks for your help though Babijoee!
heavymetalmage said:
Well I went through it all but it didn't allow me to use USCC as my apn. Thanks for your help though Babijoee!
Click to expand...
Click to collapse
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
babijoee said:
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
Click to expand...
Click to collapse
Actually this is not correct the RUU_Bravo_hTC_Asia_WWE_1.19.707.7_Radio_32.36.00.28U_4.06.00.02_2_release_126179_signed rom has an apns-conf.xml that looks like this ..
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This file contains fake APNs that are necessary for the emulator
to talk to the network. It should only be installed for SDK builds.
This file is not installed by the local Android.mk, it's installed using
a PRODUCT_COPY_FILES line in the sdk section of the toplevel Makefile.
-->
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<apns version="6">
<apn carrier="Android"
mcc="310"
mnc="995"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/>
<!--apn carrier="TelKila"
mcc="310"
mnc="260"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/-->
</apns>
And as you can see there's SFA in there that is useful however this rom has no problem configuring the APNS for all of the Asia networks... I have yet to figure out where the configuration is hiding or if it is actually downloaded from the internet using a generic Internet apn named "internet" ..
AsiaWWE-apns.xml
I finally found it .. it seems that the framework-res.apk contains an apns.xml with all the details in it. It would appear that the old /system/etc/apns-conf.xml is depreciated in favour of res/xml/apns.xml in the framework-res.apk file ..
I have attached the Asian WWE apns.xml definition file for everyone in this region ..
nice find will look into it when time lets me
babijoee said:
Well if the APN was provided within the apns-conf.xml it should auto-detect. Otherwise you can input it manually
Click to expand...
Click to collapse
I tried it once again with no luck. I think the issue must have to do with the network being CDMA.
heavymetalmage said:
I tried it once again with no luck. I think the issue must have to do with the network being CDMA.
Click to expand...
Click to collapse
I'll have to have a look at what sidewindr suggested. It could be the root of the problem.
so in my endless quest to play with apn settings, i tried to replace the apn.xml file in the framework-res.apk and when i loaded the new apk, it kept crashing my phone.apk. once i put the original back, it loaded everything up again no problems.
babijoee, do we have an easy way to edit the apns to our liking yet? for testing or whatever...
Related
Hi all, for who knows my rgu-2-xml, there is a new version solved little bug translating multilines hex values (in previous release only a part of a intere hex string was inserted into provxml!)
for who doesn't know my little apps, this app can translate rgu/reg files into provxml files, advantages???
you can insert into packages also provxml, so you can be shure that the instrunctions on it will be executed and not maybe overwritted by similiar registry keys when .hv files are created during buildosing rom!
or if you want create instructions into provxml for my sdconfig.exe or sdautorun.exe
bye!!!
version 3, added some code to "eliminate" regkey and regvalue!!!!!
here:
http://www.4shared.com/file/nDAeeIdB/rgu-2-xml-v3.html
Thanks again ervius.
Thanks ervius !
Will be more usefull than creating a cab and extracting xml inside it
Thanks! again ervius. Your kitchen and tools are really useful for us.
Best regards from Spanish Cookers
Thank you so much!! Keep it up!
XML => RGU
Ervius, can you make the same tool but XML => RGU ?
MickyMax said:
Ervius, can you make the same tool but XML => RGU ?
Click to expand...
Click to collapse
yes, but in provxml, there are also other commands that work with files and folders,(fileoperation), and others also....
if you translate a provxml into a reg/rgu, you can lost a lot of informations, but, yes, shurelly, I can create a viceversa translator (xml-rgu)!
bye!
If you can figure out how to put a multi line item into an XML I would appreciate it. I haven't been able to yet. I even tried the output from your tool and it didn't work. I even put " instead of " but that didn't work either.
Basically, a certain reg key needs to be a multistring (multi line, multi_SZ) with the following data: (line breaks are intentional, it must be placed in the registry like that)
Code:
Call History.lnk
Messaging.lnk
Calculator.lnk
Any ideas?
Thanks for the tool!
It works great at making XMLs for UC, but I had to fix some things in my XML:
-Quotation marks needed to be changed to " for certain entries like Today items
-0xFFFFFFFE hex values showed up as 4294967295 dec value, but that dec value is unsigned and it will not load when the XML installs so I had to use "-2" as my dec value (which gave me my correct hex value of FFFFFFFE)
-Binary values had to be manually translated with RapiConfig
I was pretty stumped when my XML didn't install properly but after isolating these minor mistakes I was able to fix my problem. Hope this helps any other users!
Cheers
mrnamster said:
Thanks for the tool!
It works great at making XMLs for UC, but I had to fix some things in my XML:
-Quotation marks needed to be changed to " for certain entries like Today items
-0xFFFFFFFE hex values showed up as 4294967295 dec value, but that dec value is unsigned and it will not load when the XML installs so I had to use "-2" as my dec value (which gave me my correct hex value of FFFFFFFE)
-Binary values had to be manually translated with RapiConfig
I was pretty stumped when my XML didn't install properly but after isolating these minor mistakes I was able to fix my problem. Hope this helps any other users!
Cheers
Click to expand...
Click to collapse
well, I'll try to solve.... never tryed with negative values...
try this v3 version if works...
Signed/unsigned integer conversion seems to work:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\this\is\a\"quotation"\test]
"item1"=dword:7fffffff
"item2"=dword:80000000
"item3"=dword:fffffffe
"item4"=dword:ffffffff
results in:
Code:
<wap-provisioningdoc>
<!-- *** COMMENTO *** -->
<characteristic type="Registry">
<characteristic type="HKLM\this\is\a\"quotation"\test" translation="filesystem">
<parm name="item1" datatype="integer" value="2147483647"/>
<parm name="item2" datatype="integer" value="-2147483648"/>
<parm name="item3" datatype="integer" value="-2"/>
<parm name="item4" datatype="integer" value="-1"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
but should be
Code:
<characteristic type="HKLM\this\is\a\"quotation"\test" translation="filesystem">
as mentioned here at the bottom by Sleuth255
thx for your work
Greate tool!
But there are unhandled situation:
1, for [HKEY_LOCAL_MACHINE\xxx\yyy]
it means to REMOVE the key HKEY_LOCAL_MACHINE\xxx\yyy
in provxml, it should be <nocharacteristic type="HKLM\xxx\yyy" translation="filesystem" />
2, for "name"=-
it means to DELETE the item "name"
in provxml, it should be <noparm name="name" />
How are you guys converting binary values in the reg to provxml. I know its base64 in provxml.. Can someone give me a hand with this?
I have noticed this program does not take @="value" and convert it to "Default"="value"
My current fix is to use find and replace in reg file and change @ to "Default" before running rgu-2-xml.
Also ""\file path\file name"" is still getting turned into \\file path\file name\".
After I run rgu-2-xml I use find and replace in the xml file to change all \\ to "\ and all \" to "".
Hi!
I am a newbie in all these subjects, and I am attempting to make my own provxml file for UC.
he case is that I've found this thread and now I have a tool to convert reg/rgu files to XML, but ... when I export my registry I get a rgk file, that the tool doesn't admit ...
How should I export the registry to get reg/rgu files?
thanks!
elMoco said:
when I export my registry I get a rgk file, that the tool doesn't admit ...
How should I export the registry to get reg/rgu files?
thanks!
Click to expand...
Click to collapse
what did you use to export?
Did you try edt file name to end in .reg?
RoryB said:
what did you use to export?
Did you try edt file name to end in .reg?
Click to expand...
Click to collapse
I use the windows registry backup tool, and yes, I've tried to change the file extension, but the the tool report an error.
I use CERegedit and save as a .reg file.
Great!
I used CERegedit and I got it ...
now I need a tool that can mannage well the binary data ... I guess it must be codified with base64 ...
I just edited the images of the HTC HUB. I know this has been done before by eiting the XAP before install, but my method was after install. With this method you should be able to edit images for any installed app. The hard part is finding the app as they are not in a folder named after the app. You need a Unlocked Device & Windows Phone Device Manager. Using the file manager built into WPDM. Different apps will have they images in different folders depending on how the XAP was setup. For HTC HUB, browse to \Applications\Install\*\Install\Res\Generic\images\ and copy in the files from the zip.
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Thank to Dinik for his Glass Icon Image
drkfngthdragnlrd said:
I just edited the images of the HTC HUB. I know this has been done before by eiting the XAP before install, but my method was after install. With this method you should be able to edit images for any installed app. The hard part is finding the app as they are not in a folder named after the app. You need a Unlocked Device & Windows Phone Device Manager. Using the file manager built into WPDM. Different apps will have they images in different folders depending on how the XAP was setup. For HTC HUB, browse to \Applications\Install\*\Install\Res\Generic\images\ and copy in the files from the zip.
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Click to expand...
Click to collapse
you have made a touch of glass skin,nice and thanks for the info
djcedric said:
you have made a touch of glass skin,nice and thanks for the info
Click to expand...
Click to collapse
Actually, it's Dinik's glass image, not from Touch of Glass. Thanks for reminding me to make note of that in the OP.
drkfngthdragnlrd said:
Actually, it's Dinik's glass image, not from Touch of Glass. Thanks for reminding me to make note of that in the OP.
Click to expand...
Click to collapse
ok from the nice guy ,i hope you have ask it to dinik because we all know him...no problem i will made a touch of glass skin
succes.
Do you know what the boxes around each forecast are called. Id like to remove them
Edit: Its called forcast_tile if anyone is interested
drkfngthdragnlrd said:
* = a random Hexadecimal value (In my case, 1A0EE8C2-48B1-DF11-8A2F-00237DE2DB9E)
They will always be in the \Applications\Install\ folder.
Click to expand...
Click to collapse
Actualy its not a random Hexadecimal value...
Its the unique application ID that is hardcoded in the file WMAppManifest.xml in the xap of every application.
The WMAppManifest.xml for the HTC hub is this ...
Code:
<?xml version="1.0" encoding="utf-16"?>
<Deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" AppPlatformVersion="7.0" xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment">
<App Author="HTC Corporation" Description="HTC Hub" Genre="apps.normal" [B][U]ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"[/U][/B] Publisher="HTC Corporation" RuntimeType="Silverlight" Title="@AppResLib.dll,-100" Version="1.0.0.0" xmlns="">
<IconPath IsRelative="true" IsResource="false">ApplicationIcon_s.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_INTEROPSERVICES" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_PUSH_NOTIFICATION" />
<Capability Name="ID_CAP_LOCATION" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TokenID="Weather_WP7Token" TaskName="_default">
<TemplateType6>
<BackgroundImageURI IsRelative="true" IsResource="false">ApplicationIcon.png</BackgroundImageURI>
<Count>0</Count>
<Title>@AppResLib.dll,-200</Title>
</TemplateType6>
</PrimaryToken>
</Tokens>
</App>
</Deployment>
Τhe product id is in the 3rd line and is
ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"
I know this because is use a similar method to sideload big size xaps on my phone....
colossus
colossus_r said:
Actualy its not a random Hexadecimal value...
Its the unique application ID that is hardcoded in the file WMAppManifest.xml in the xap of every application.
The WMAppManifest.xml for the HTC hub is this ...
Τhe product id is in the 3rd line and is
ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"
I know this because is use a similar method to sideload big size xaps on my phone....
colossus
Click to expand...
Click to collapse
Thanks for the info. And how you do that ?
Disclaimer:
This fix is based on the work of wmn79, his thread concerning this issue can be found here: http://forum.xda-developers.com/goo...od-loose-roaming-r-mvno-home-network-t2969702
Backup your system!
This fix works for me and I share this with you. I am not responsible for any damage to your phone or any data loss you encounter.
Symptom:
When connecting to home mobile network you have to enable data roaming in order to get data working.
Cause:
Your mobile provider is using different MNC numbers which are not recognized by Android as a non roaming network.
Fix:
According to wmn79's thread we can fix this by modding the framework-res.apk of Android. He mentions in his thread to push the modified apk with custom recovery update.zip. As I want to stay on stock rom this is no solution for me and fortunately there is a way without custom recovery.
Root your phone. I am on stock 090915 (OTA) and it came pre-rooted. All I need to do was installing SuperSU from Playstore.
Copy framework-res.apk from /system/framework to your computer
Install apktool (http://ibotpeaches.github.io/Apktool/install/)
Install framework: "apktool if framework-res.apk"
Decompile framework-res.apk: "apktool d framework-res.apk"
Edit/Create Files in created framework-res folder (details below)
Compile framework-res.apk: "apktool b -c framework-res"
Copy the modded framework-res.apk (It is inside the framework-res/dist folder) to the Downloads folder of your phone. Do not copy it directly to the /system/framework folder!
Use your favorite file explorer (I use ES File Exporer), mount /system read/write and move the framework-res.apk from your Downloads folder to /system. Again, do not move it to /system/framework folder!
Inside the /system folder check and correct the permissions of the file, it should be rw-r--r-- and should belong to root:root.
Now you should move (do not use copy!) the file from the /system folder to /system/framework
Shortly after this is done on my phone several Google services and apps were killed, just for your information. They work again without problems after a reboot.
Reboot your phone
The process of moving the framework-res.apk to the /system/framework folder is for example in this video: https://www.youtube.com/watch?v=SbjQcFpt39k
So you know how to install the mod, but what is it about? When you decompiled the framework-res.apk there is a folder named "res" inside of the folder "framework-res". In this folder you have to create a new one with the mnc and mcc numbers from your apn settings. I describe this on the example of O2 in Germany. O2 has mcc 262 and mnc is 07. The folder to create is "values-mcc262-mnc07" inside this folder create a file named "arrays.xml". Actually I just copied the hole thing from another folder and edited it to the following contents:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_operatorConsideredNonRoaming">
<item>26203</item>
</string-array>
</resources>
The item consists of the mcc and mnc number of the network which can be used without roaming. In this example this is the former E-Plus network which is merged with the O2 network. E-Plus network has mcc 262 and mnc 03. I got the information regarding mcc and mnc numbers from this site: http://mcclist.com/mobile-network-codes-country-codes.asp
There can be more than one item in the string-array list.
I have done this, tested it and for me it's working perfectly. You can find my framework-res.apk attached if you are on O2 as well. If you are on a different network and got stuck on my explanation just give me the mcc and mnc numbers and I provide you with a framework-res.apk. As the framework-res.apk is tight to the ROM this will only work if you are on stock 090915.
Caution:
Using a framework-res.apk which is not for your ROM can end in a bootloop!
Cheers
I follow this fix and i have no more "R" on both sim "Virgin" and "Free" FR.
neonero said:
I follow this fix and i have no more "R" on both sim "Virgin" and "Free" FR.
Click to expand...
Click to collapse
I am happy I could help and appreciate the feedback.
Solution for Eragon-ROM users with carrier HoT (Austria) can be found here: http://forum.xda-developers.com/showpost.php?p=64570843&postcount=3438
The attached .zip contains all the changes that I performed to the framework-res.apk inside the res-folder, so If you use a different ROM and/or a different ROM version, you might just patch YOUR framework-res with the same files.
By the way, I also had to wipe cache/dalvik in recovery before the changes were detected by the ROM.
Is it possible to do this for P9000?
Qhris said:
Is it possible to do this for P9000?
Click to expand...
Click to collapse
yes it is
btw
. in 3 weeks i will have also a p9000
so developing will be ........
skeleton1911 said:
. in 3 weeks i will have also a p9000
so developing will be ........
Click to expand...
Click to collapse
:good: looking forward to getting my 9000 light as well.
thanks
Thanks very much - worked very fine for me with Telering.
folder "res/values-mcc232-mnc7"
arrays.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_operatorConsideredNonRoaming">
<item>23203</item>
<item>23204</item>
<item>23205</item>
<item>23207</item>
<item>23210</item>
<item>23214</item>
<item>23216</item>
</string-array>
</resources>
Does this still work? Any hope to put this into a magisk module?
I am on SM-G975U1 so needless to say I am not rooted, but whilst perusing the system files I came across 2 Samsung .cert files; both of which are not installed in security certificates, or user certificates, though they can be. The other is nfcee_access.xml, which I'll get into the details of after the first 2 are described.
I tried installing them in User Certificates, first for Apps and VPN, which led to a constant warning in notifications so I removed them and tried installing them for Wi-Fi which got rid of the notification while having them installed. They don't seem to do anything so far, but their name is whats interesting, one is ASKS_INTER.crt, and the other is ASKS_ROOT.crt and they are both signed by Samsung Incorporated.
The subject and issuer details for both of them are -
CN = Samsung Cert INTER/Samsung Cert ROOT
OU = Mobile
O = Samsung Corporation
L = Suwon City
S = South Korea
C = KR
Basic Constraints are -
Subject Type=CA
Path Length Constraint=0
The key usage for both are -
Digital Signature, Certificate Signing, Off-line CRL Signing, and CRL Signing.
I de-compiled an .apk for a file viewer, added them to the existing .cert folder, then rebuilt them from scratch in Android Development, but I know too little about building apps so I was unable to install after compiling it.
I'm not sure what the certifications are for, but they aren't installed anywhere in the phone except the two locations I found them in which weren't app files; they seem to be just be a hidden extra.
The NFC_ACCESS file was found in another folder, I can't recall which, and is not a .cert file, but an .xml file. It contains multiple different signatures (let it be known I do not have a T-Mobile SIM card, nor did I flash to U1 from a T-Mobile variant of U) -
<!-- Samsung nfcextras Signature -->
<!-- Samsung Platform signature -->
<!-- T-Mobile development Signature -->
<!-- T-Mobile production Signature -->
<!-- Mobeewave Signature -->
Under <!-- Samsung Platform signature --> is -
<package android:name="org.simalliance.openmobileapi.service" />
<package android:name="com.android.se" />
<package android:name="com.skms.android.agent" />
<package android:name="com.samsung.android.spay" />
<package android:name="com.samsung.android.spayfw" />
<package android:name="com.sem.factoryapp" />
</signer>
The only package I don't have installed on my phone is <package android:name="org.simalliance.openmobileapi.service" />.
I'm not sure what this file could be for either, the only thing I can think of is adding the .xml signatures to the .apk of NFC or somewhere within the system NFC files. I am unsure of where the ASKS_INTER.crt and ASKS_ROOT.crt would go, maybe they are just for building apps and signing them?
Are any of these files of any value? What could they be for other than signing apps? From what I can tell they are standalones.
The ask_root.crt one is very eye brow raising. Can it be hex edited or decompiled? I know very little about all this. Maybe someone with more knowledge can chime in.
Took me a while to figure out ...
I'm on a 4G(+) network but out-of-the box the P6P did not have the correct config (unfortunately).
It was displaying 'LTE' in the status bar.
I found out how to have correct 4G or 4G+ symbols in the status bar and 4G 'settings' entry in Settings app.
But you must have root.
Code:
> adb shell
$ su
# cd /data/user_de/0/com.android.phone
# ls -l
There will be an XML file in that directory named:
Code:
carrierconfig-com.google.android.carrier-8932002100401134483-1365.xml
In your case the file name WILL BE DIFFERENT as it is dependent on the network you are on.
Then, edit the file using:
Code:
# busybox vi carrierconfig-com.google.android.carrier-8932002100401134483-1365.xml
If you don't know what 'vi' is, its a linux text editor. Google it and learn the basic commands.
The top of the file will have a line:
Code:
<bundle>
Below that line, add the following lines:
Code:
<boolean name="show_4g_for_lte_data_icon_bool" value="true" />
<boolean name="enhanced_4g_lte_on_by_default_bool" value="true" />
<boolean name="carrier_volte_available_bool" value="true" />
<boolean name="vendor_hide_volte_settng_ui" value="false" />
<boolean name="hide_lte_plus_data_icon_bool" value="false" />
What do these mean?
1) Show 4G icon instead of LTE
2) Enhanced 4G (if available) is ON
3) VoLTE is available
4) Don't hide VoLTE setting in Settings app
5) Display 4G+ icon when you'r on enhanced 4G
See my screenshot attached showing 4G+ icon in status bar and Quick Setting tile.
Other screenshot shows Settings app with 'Call using 4G' (VoLTE) and preferred network = 4G (text is in Dutch).
Note that my 4G icon is 'small' (due to another MOD which I have running; check out https://forum.xda-developers.com/t/adb-magisk-module-mod-maker.4354189/page-7#post-86000045)
Check out: https://android.googlesource.com/pl...a/android/telephony/CarrierConfigManager.java
On that page you can find additional carrierconfig settings for that XML file.
Play and enjoy.
If I'm not mistaken 4g is lte. Just another was of saying it. But nice work changing the icon.
Blade22222 said:
If I'm not mistaken 4g is lte. Just another was of saying it. But nice work changing the icon.
Click to expand...
Click to collapse
Correct but in my country we don't use the word LTE but 4G...All other phones here display 4G in the status bar...
Blade22222 said:
If I'm not mistaken 4g is lte. Just another was of saying it. But nice work changing the icon.
Click to expand...
Click to collapse
To be more precise, LTE is also named 3.9G. It's third generation.
An extension to that is called LTE-Advanced, or 4G. That's fourth generation.
There is an extension to LTE-Advanced called LTE Advanced Pro, also called 4,5G.
Some companies marketed LTE as 4G, but that's bogus. Because of that, we now also have "4G+" as the alleged NEXT progress step, even though its two steps higher.
If you want to study a bit on the matter:
LTE (telecommunication) - Wikipedia
en.wikipedia.org
Does this really enabled volte and enhanced 4g+ or is it just changing icons and settings?
Just change icons. For VoLTE you need additional properties in build.prop.
foobar66 said:
Just change icons. For VoLTE you need additional properties in build.prop.
Click to expand...
Click to collapse
Ok got it. Thanks
how to check my carrier id?
Apparently on AT&T and in the right place (in my case, at an ice hockey game in the big city), the P6P shows the misleading "5Ge" mobile data notification.
my carrier config is in data/user_de/0/com.android.phone/files
but i type busybox and it report error cannot find file. what should i do
tanipat said:
my carrier config is in data/user_de/0/com.android.phone/files
but i type busybox and it report error cannot find file. what should i do
Click to expand...
Click to collapse
Install busybox from Google playstore. Choose to install in system/bin
Hey,
Thanks for sharing.
I just wonder, after adding those lines, my lte/4g bandwidth does not pass 30Mbps
Any idea ?
foobar66 said:
Took me a while to figure out ...
I'm on a 4G(+) network but out-of-the box the P6P did not have the correct config (unfortunately).
It was displaying 'LTE' in the status bar.
I found out how to have correct 4G or 4G+ symbols in the status bar and 4G 'settings' entry in Settings app.
But you must have root.
Code:
> adb shell
$ su
# cd /data/user_de/0/com.android.phone
# ls -l
There will be an XML file in that directory named:
Code:
carrierconfig-com.google.android.carrier-8932002100401134483-1365.xml
In your case the file name WILL BE DIFFERENT as it is dependent on the network you are on.
Then, edit the file using:
Code:
# busybox vi carrierconfig-com.google.android.carrier-8932002100401134483-1365.xml
If you don't know what 'vi' is, its a linux text editor. Google it and learn the basic commands.
The top of the file will have a line:
Code:
<bundle>
Below that line, add the following lines:
Code:
<boolean name="show_4g_for_lte_data_icon_bool" value="true" />
<boolean name="enhanced_4g_lte_on_by_default_bool" value="true" />
<boolean name="carrier_volte_available_bool" value="true" />
<boolean name="vendor_hide_volte_settng_ui" value="false" />
<boolean name="hide_lte_plus_data_icon_bool" value="false" />
What do these mean?
1) Show 4G icon instead of LTE
2) Enhanced 4G (if available) is ON
3) VoLTE is available
4) Don't hide VoLTE setting in Settings app
5) Display 4G+ icon when you'r on enhanced 4G
See my screenshot attached showing 4G+ icon in status bar and Quick Setting tile.
Other screenshot shows Settings app with 'Call using 4G' (VoLTE) and preferred network = 4G (text is in Dutch).
Note that my 4G icon is 'small' (due to another MOD which I have running; check out https://forum.xda-developers.com/t/adb-magisk-module-mod-maker.4354189/page-7#post-86000045)
Check out: https://android.googlesource.com/pl...a/android/telephony/CarrierConfigManager.java
On that page you can find additional carrierconfig settings for that XML file.
Play and enjoy.
Click to expand...
Click to collapse
GOOD JOP
thehartk said:
Hey,
Thanks for sharing.
I just wonder, after adding those lines, my lte/4g bandwidth does not pass 30Mbps
Any idea ?
Click to expand...
Click to collapse
Well, I set enhanced_4g_lte_on_by_default_bool to false and I have much better results
thehartk said:
Well, I set enhanced_4g_lte_on_by_default_bool to false and I have much better results
Click to expand...
Click to collapse
In what sense?
foobar66 said:
In what sense?
Click to expand...
Click to collapse
Before I got only 30mbs, after setting to false, I get 76mbs
Oh ok ... Maybe the 4G+ signal isn't as good in your area ... I'm not an expert in these different types of networks, so not sure that might the the case ... or you are/were in a different location where the signal is stronger/weaker?
tanipat said:
my carrier config is in data/user_de/0/com.android.phone/files
but i type busybox and it report error cannot find file. what should i do
Click to expand...
Click to collapse
Oh yes ... I did not realize that some people do not have busybox ...
Alternatively, copy the file to /sdcard using:
Code:
# cp carrierconfig-XYZ.xml /sdcard/
Get file on your PC:
Code:
> adb pull /sdcard/carrierconfig-XYZ.xml
Edit the file ... hmm ... I guess on Windows you have to use Notepad (I don't use Windows).
Then push the file back onto your phone.
Code:
> adb push carrierconfig-XYZ.xml
And copy the file back on your phone:
Code:
> adb shell
$ su
# cp /sdcard/carrierconfig-XYZ.xml /data/user_de/0/com.android.phone/files/
And finally reboot.
thehartk said:
Before I got only 30mbs, after setting to false, I get 76mbs
Click to expand...
Click to collapse
112 when true , 37 when false
foobar66 said:
Oh yes ... I did not realize that some people do not have busybox ...
Alternatively, copy the file to /sdcard using:
Code:
# cp carrierconfig-XYZ.xml /sdcard/
Get file on your PC:
Code:
> adb pull /sdcard/carrierconfig-XYZ.xml
Edit the file ... hmm ... I guess on Windows you have to use Notepad (I don't use Windows).
Then push the file back onto your phone.
Code:
> adb push carrierconfig-XYZ.xml
And copy the file back on your phone:
Code:
> adb shell
$ su
# cp /sdcard/carrierconfig-XYZ.xml /data/user_de/0/com.android.phone/files/
And finally reboot.
Click to expand...
Click to collapse
Why is that , just edit it on the pixel using file explorer , no need for computer then restart