CarrierConfig VoLTE / VoWiFi - Nexus 6P Q&A, Help & Troubleshooting

Hi all
I'm running a Nexus 6P on a carrier which does not support volte / vowifi officially. But I managed to get all the specific values for this carrier. But the big question is, how to implement those values into the phone?
I did some research and found out that some parameters are specified in the carrierconfig app. An example:
HTML:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<carrier_config_list>
<carrier_config>
<int name="vvm_port_number_int" value="1808" />
<string name="vvm_destination_number_string">122</string>
<string name="carrier_vvm_package_name_string">com.tmobile.vvm.application</string>
<boolean name="carrier_volte_available_bool" value="true" />
<string name="vvm_type_string">vvm_type_cvvm</string>
<boolean name="carrier_volte_tty_supported_bool" value="false" />
<boolean name="carrier_wfc_ims_available_bool" value="true" />
<boolean name="carrier_ims_gba_required_bool" value="true" />
<int name="maxMessageSize" value="1048576" />
<int name="maxImageWidth" value="2592" />
<int name="maxImageHeight" value="1944" />
<int name="volte_replacement_rat_int" value="3" />
</carrier_config>
</carrier_config_list>
Search for platform/packages/apps/CarrierConfig to find it
So I tried to decompile the carrierconfig app and add my carrier aswell, but unfortunately I can not install the app again (parsing error, defect package). But where is the rest of the data stored (P-CSCF address, used algorithms, ePDG address and so on) ?? How was VoLTE / VoWiFi Calling brought to AOSP roms for EE and T-Mobile USA??
Thanks for your help!

Related

Example of ADB pull command Question

Hi everyone,
I'm trying to pull the htcime fill from my nexus so as to do what is described on this website
http://ostebaronen.dk/changing-htc_ime-language-to-danish/comment-page-1/#comment-8407
I want to make it so I can change the input languages at will without having to go to settings and change the local.
My adb attempts have been successful, ie ./adb devices gives me the serial number so I know I'm connected, but when i try the following command:
./adb pull /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml .
all i get is the menu that tells me what all the commands mean.
I'm on a mac, using terminal. I cd into the tools folder in the android sdk on my desktop and would like to pull the above file from my phone to my desktop.
Could you please tell me what it is that I'm doing wrong?
Thanks in advance...I've searched high and low, on this site and others, that's how I discovered to add the ./ on mac
Also, what is the correct adb push line as well....thanks again
Lou
For one, cause that file doesnt exist.
Nexus doesn't have HTCime installed
I know, but I added it.
I kept trying and managed to do it by putting a space before the last . so i was able to pull the file, change it, and push it back into the phone.
The only problem now is that it doesn't do exactly what I want it to do.
I want to have the option of changing back and forth between french and english dictionary, but the changes I made make it so that I can keep the system in English, but use a french dictionary. here is the xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="keyboard_types">1</string>
<boolean name="predict_qwerty" value="true" />
<int name="MODIFIED" value="0" />
<boolean name="keyboard_ime_settings_pcqwerty_wc" value="true" />
<boolean name="keyboard_ime_settings_fqwerty_prediction" value="true" />
<boolean name="customized_kb_type" value="true" />
<string name="keyboard_language">0</string>
<boolean name="keyboard_ime_settings_others_vibration" value="false" />
<boolean name="predict_1220" value="true" />
<boolean name="keyboard_ime_settings_pcqwerty_sc" value="true" />
</map>
by changing the 0 to 1 here
<string name="keyboard_language">0</string>
I can have the french dictionary.
Is there a string I can add to give me the option between 0(english) and 1(french)
I tried copying the exact same string with the values changed under it, but it only takes the top one.
Lou

[Q] Market requires versionCode.... positive 32-bit integer in AndroidManifest

What does that mean ?! Here is the full error I get when submitting my proggy to the market;
ERRORS;
error#1- Market requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml
error#2- Market requires versionName to be set in AndroidManifest.xml
<><><><><><><><>
My Manifest; ( I replaced my app info with gen info for the forum)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mydomain.myapp"
android:versionCode="1"
android:versionName="1">
<uses-sdk android:minSdkVersion="7" />
<uses-sdk android:targetSdkVersion="8" />
<uses-sdk android:maxSdkVersion="9" />
<activity android:name=".myapp"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="landscape">
<application android:label="@string/myapp" android:icon="@drawable/myicon">
<uses-feature android:name="android.hardware.touchscreen" android:required="true"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</application>
</activity>
</manifest>
<><><><><>
Any help would be wonderful, thanks taking the time to read this post

i need a little help with this

hey,
i'm trying to make an app in android studio and get some errors in my androidmanifest.xml when using inspect code.
This is my first app and i'm sure i missed something essential...pls help
My xml file looks like this:
<manifest xmlns:android="...."
android:versionCode="1"
android:versionName="1.0"
package="com.standby.custom">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="18"/>
<supports-screens
android:anyDensity="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:resizeable="true"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<application
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity" android:launchMode="singleInstance" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name=".DeviceStateReceiver" />
<service android:name="com.standby.custom.services.ReceiverRegisterService" />
<receiver android:name=".PackageChangeReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" androidath="com.standby.custom" />
</intent-filter>
</receiver>
<receiver android:name=".BootUpReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application>
</manifest>
and i get this error messages:
Cannot resolve symbol '.MainActivity' (at line 34)
Cannot resolve symbol '.DeviceStateReceiver' (at line 40)
Cannot resolve symbol 'com.standby.custom.services.ReceiverRegisterService' (at line 41)
Cannot resolve symbol '.PackageChangeReceiver' (at line 42)
Cannot resolve symbol '.BootUpReceiver' (at line 50)
Does anyone know what I missed?
Tks
First of all, please use
Code:
tags for your code.
Is this the right package all of your classes can be found in?
[CODE]package="com.standby.custom"
Try to enter the full package name for all android:name attributes. Like this:
Code:
android:name="my.package.name.MainActivity"
(replace my.package.name by the package MainActivity is in.)

[Q] How to insert admob in app help me

hi guys
could you help me to put the banner in my app.
I also followed the guides but I still can not insert
You might even see me lines of code please
thanks
what problem are you getting????
Atleast tell the problem or provide the code where you are facing problem.
Simple:
1) Install Google AdMob Ads SDK (you can use Android SDK Manager for that)
2) Add GoogleAdMobAdsSdk.jar to your project (Project Properties>>Java Build Path>>Add External JARs…)
3) In the Manifest add ACCESS_NETWORK_STATE and INTERNET permissions, and also an activity inside application tag, like that:
Code:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:debuggable="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:label="@string/app_name"
android:name=".BillingSampleActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.google.ads.AdActivity" />
</application>
4) Get Publisher ID from AdMob
5) Add banner to your layout
Code:
<com.google.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="your_admob_publisher_id"
ads:loadAdOnCreate="true" />
Thats it!
GRYMALA said:
Simple:
1) Install Google AdMob Ads SDK (you can use Android SDK Manager for that)
2) Add GoogleAdMobAdsSdk.jar to your project (Project Properties>>Java Build Path>>Add External JARs…)
3) In the Manifest add ACCESS_NETWORK_STATE and INTERNET permissions, and also an activity inside application tag, like that:
Code:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:debuggable="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:label="@string/app_name"
android:name=".BillingSampleActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.google.ads.AdActivity" />
</application>
4) Get Publisher ID from AdMob
5) Add banner to your layout
Code:
<com.google.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="your_admob_publisher_id"
ads:loadAdOnCreate="true" />
Thats it!
Click to expand...
Click to collapse
Nice answer! Thanks for this.

Long Time User, First Time Builder

Hey guys, I'm trying to tackle Liquid ROM after I found out someone has successfully built the ROM for our device. He shared his roomservice.xml and I spent last night syncing the repos for Liquid ROM. However, this morning I went to run the "lunch" command and got this:
Code:
You're building on Linux
Lunch menu... pick a combo:
35. liquid_klte-userdebug
Which would you like? [aosp_arm-eng] 35
ls: cannot access device/*/klte/liquid.mk: No such file or directory
build/core/product_config.mk:231: *** Can not locate config makefile for product "liquid_klte". Stop.
File "build/tools/roomservice.py", line 113
except IOError, ES.ParseError:
^
SyntaxError: invalid syntax
ls: cannot access device/*/klte/liquid.mk: No such file or directory
build/core/product_config.mk:231: *** Can not locate config makefile for product "liquid_klte". Stop.
** Don't have a product spec for: 'liquid_klte'
** Do you have the right repo manifest?
For simplicity, this is my first time compiling, I'm using Arch Linux, and the only file I have to fill in the gaps is the roomservice.xml I'm pasting below:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="gh" revision="cm-11.0" />
<project name="Team-Hydra/android_vendor_samsung" path="vendor/samsung" remote="gh" revision="cm-11.0" />
<project name="Team-Hydra/android_kernel_samsung_klte" path="kernel/samsung/klte" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_msm8974-common" path="device/samsung/msm8974-common" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="gh" revision="cm-11.0" />
<project name="LiquidSmooth-Devices/android_device_qcom_common" path="device/qcom/common" remote="gh" revision="kitkat" />
<project name="android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="ls" revision="kitkat" />
<project name="android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="ls" revision="kitkat" />
<project name="Team-Hydra/android_device_samsung_klte" path="device/samsung/klte" remote="gh" revision="cm-11.0" />
<project name="Team-Hydra/android_device_samsung_klte-common" path="device/samsung/klte-common" remote="gh" revision="cm-11.0" />
</manifest>
So my question is, should this xml file be what substitutes my "lunch" choice and am I missing a step to get this thing started? I appreciate any help you guys can offer; I know this can be built successfully I already ran a good build. I just have no desire to Kang work and post it here when I can learn to make my own. Thanks for any guidance you guys have to offer !

Categories

Resources