Auto-toggle SIM card (e.g. with Tasker, adb shell) - OnePlus 5 Questions & Answers

Hi,
has anyone yet found a working solution / app to AUTOMATICALLY en-/disable SIM2? The app "Dual SIM Control" doesn't work on OPO5.
I already started to decompile the phones settings apps to find the class that toggles the SIM but so far unsuccessful as some functions never decompile properly.
I'm currently using a Tasker task that opens the settings page and presses the button to toggle the SIM state, but that's kinda slow and error prone.
Please don't suggest "Dual SIM Selector", that doesn't address my problem.

The only solution I have come up with involves autoinput. I've tested it enough to reduce most errors that can occur and it finishes in about 7 seconds. I can post the file if you want.

I'm looking for this too. I think it should be possible with Tasker and sending intents.
I found this, but am not so familiar with intents and I don't know if it works on OP5 / Android 7
https://forum.xda-developers.com/showthread.php?t=2033329
Settings.System.putInt(getContentResolver(), "dual_sim_mode_setting", 1);
// 0 to deactivate both sim cards
//1 to activate sim card 1 and deactivate sim card 2
//2 to activate sim card 2 and deactivate sim card 1
//3 to activate both sim cards
Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
intent.putExtra("state", false);
sendBroadcast(intent);

Won't work, no such setting on OPO5

this is the Tasker profile I'm using:
Code:
<TaskerData sr="" dvi="1" tv="5.0u4m">
<Task sr="task37">
<cdate>1499552037601</cdate>
<edate>1503423029799</edate>
<id>37</id>
<nme>SIM2 enabled</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>512</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Sim2</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>877</code>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">com.android.settings</Str>
<Str sr="arg8" ve="3">com.android.settings.Settings$OPSimAndNetworkSettings</Str>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act3" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>123</code>
<Str sr="arg0" ve="3">input tap 500 500 && input tap 500 330 && input tap 870 1100 && sleep 4 && input keyevent 4 && input keyevent 4 && input keyevent 4</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>162</code>
<Int sr="arg0" val="1"/>
<Str sr="arg1" ve="3">SIM2 disabled</Str>
<Int sr="arg2" val="0"/>
</Action>
<Img sr="icn" ve="2">
<nme>mw_communication_no_sim</nme>
</Img>
</Task>
</TaskerData>
I'm currently looking into writing an app to toggle it, but that's still far from ready.

Where do you paste this? I've tried many things but tasker says it's always invalid. Thanks :good:

It's a Task exported as xml. Save that stuff as XML on your sdcard, then in Tasker go to Tasks, import, select file.

I am interested in on off toggle for dual sim
Hello,
I am using HTC u11 and am also very keen on a solution to have an automated on off toggle for the second sim card.
Could you perhaps help me? The code that zertyx posted, where do I put it?
And the tasker profile that XlAfbk proposed, what exactly does it do? Did you succeed in writing an app to toggle the state of the Sims in android 7?
Best regards
Sebastian

Hi,
I also need an automatic task (scheduled) to turn ON/OFF my simcard "B" on my rooted Ascend Mate 7 (android 4.4.2).
Tried the code exported in xml but I get an error when importing, and all Apps on playstore do not work.
Any solution to try?
Thanksss

@XlAfbk
Im trying to import you trasker profile and the works. But I personele totally can't read it sadly enough.
Could you tell what this does at what triggers?
I like to edit the script so at 7am the 2nd Sim activates on work days and at 7. 15pm it deactivates.
I apriciaty any help.

Related

Changing order or removing tabs

The order that the icons are displayed across the bottom of the screen e.g. Home, Contacts, SMS, email and browser etc. I want to change the order in which they are displayed e.g. I want the music player or Launcher to appear after the home icon or remove the weather option completely as I don’t use it. I used to run a Nfsfan 6.5 ROM on my HTC vogue and this was a tab setting in the Manilla 2D options.
It is not something that I would change frequently, however to would be good to have the option or at least know where to change this in the registry. Anyone have any idea?
I am not game to ROM the phone yet as it is a brand new company phone. May have to wait a few months for that!
Thanks in advance
You must try M2DC (Manila 2D Customizer), it will do the trick.
Is there the ability to get Manila 2D customizer on its own. I could only find it as part of complete ROM?
Cheers
hebegbnz said:
Is there the ability to get Manila 2D customizer on its own. I could only find it as part of complete ROM?
Cheers
Click to expand...
Click to collapse
Try here (should be what you're looking for!)
You can also change setting in 1:\windows\HTCHomeSettings.xml by hand.
Code:
<Tabs>
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<OperatorWidget enable="0" tab_bg_icon="120,129" tab_icon="145,147" big_icon="200,218" />
<PeopleWidget enable="1" tab_bg_icon="19,20" tab_icon="168,169" big_icon="59,60" />
<MyFavesWidget enable="0" tab_bg_icon="219,220" tab_icon="221,222" big_icon="223,224" />
<MessagingWidget enable="1" tab_bg_icon="15,16" tab_icon="115,165" big_icon="37,38" />
<LauncherWidget enable="1" tab_bg_icon="23,24" tab_icon="172,173" big_icon="63,64" />
<EmailWidget enable="0" tab_bg_icon="11,12" tab_icon="111,112" big_icon="33,34" />
<FootprintsWidget enable="0" tab_bg_icon="229,230" tab_icon="231,232" big_icon="233,234" />
<InternetWidget enable="1" tab_bg_icon="9,10" tab_icon="71,110" big_icon="31,32" />
<PhotoWidget enable="1" tab_bg_icon="21,22" tab_icon="170,171" big_icon="61,62" />
<MusicWidget enable="1" tab_bg_icon="17,18" tab_icon="166,167" big_icon="39,58" />
<TVWidget enable="0" tab_bg_icon="242,243" tab_icon="244,245" big_icon="246,247" />
<WeatherWidget enable="0" tab_bg_icon="27,28" tab_icon="176,177" big_icon="67,68" />
<LocationWidget enable="0" tab_bg_icon="13,14" tab_icon="113,114" big_icon="35,36" />
<SettingsWidget enable="1" tab_bg_icon="25,26" tab_icon="174,175" big_icon="65,66" />
</Tabs>
- enable 1 shows item 0 dont
- the order top-down is the order left-right
Superb! Thats what I was looking for.
Thanks for the help
Gfy said:
You can also change setting in 1:\windows\HTCHomeSettings.xml by hand.
Code:
<Tabs>
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<OperatorWidget enable="0" tab_bg_icon="120,129" tab_icon="145,147" big_icon="200,218" />
<PeopleWidget enable="1" tab_bg_icon="19,20" tab_icon="168,169" big_icon="59,60" />
<MyFavesWidget enable="0" tab_bg_icon="219,220" tab_icon="221,222" big_icon="223,224" />
<MessagingWidget enable="1" tab_bg_icon="15,16" tab_icon="115,165" big_icon="37,38" />
<LauncherWidget enable="1" tab_bg_icon="23,24" tab_icon="172,173" big_icon="63,64" />
<EmailWidget enable="0" tab_bg_icon="11,12" tab_icon="111,112" big_icon="33,34" />
<FootprintsWidget enable="0" tab_bg_icon="229,230" tab_icon="231,232" big_icon="233,234" />
<InternetWidget enable="1" tab_bg_icon="9,10" tab_icon="71,110" big_icon="31,32" />
<PhotoWidget enable="1" tab_bg_icon="21,22" tab_icon="170,171" big_icon="61,62" />
<MusicWidget enable="1" tab_bg_icon="17,18" tab_icon="166,167" big_icon="39,58" />
<TVWidget enable="0" tab_bg_icon="242,243" tab_icon="244,245" big_icon="246,247" />
<WeatherWidget enable="0" tab_bg_icon="27,28" tab_icon="176,177" big_icon="67,68" />
<LocationWidget enable="0" tab_bg_icon="13,14" tab_icon="113,114" big_icon="35,36" />
<SettingsWidget enable="1" tab_bg_icon="25,26" tab_icon="174,175" big_icon="65,66" />
</Tabs>
- enable 1 shows item 0 dont
- the order top-down is the order left-right
Click to expand...
Click to collapse
How can we edit that file?? It's opening with opera on the phone but doesn't do anything. I also can't paste an edited xml file there....
Open it with NotePad
first, copy the file to your PC (backup it)
open with NotePad, edit and save.
copy new to mobile
restart to touchFlow, or softreset the mobile
Gfy said:
Open it with NotePad
first, copy the file to your PC (backup it)
open with NotePad, edit and save.
copy new to mobile
restart to touchFlow, or softreset the mobile
Click to expand...
Click to collapse
I had a go at this however it is write protected so I can't overwrite it with an updated version.
Any CLues?
Cheers
try to rename the original file...
Gfy said:
try to rename the original file...
Click to expand...
Click to collapse
Alas no luck it is write protected or in use. In use I would think!
hebegbnz said:
Alas no luck it is write protected or in use. In use I would think!
Click to expand...
Click to collapse
Try Total Commander.
In my (german) rom I first could change files in windows directory after installing Hard SPL kit.

Android RSS Feeder Help

Hi, im building an RSS Reader and am having a little trouble if anyone could help me out.
im trying to open my app when a subscribe rss link in a browser is pressed, but at the moment it is displaying my app in the browser instead of launching the app!!
can anyone help with is issue?
below is my manifest, thanks
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.RSS_Viewer"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<application
android:name=".Globals"
android:icon="@drawable/rssicon"
android:label="@string/app_name" android:logo="@drawable/rssicon">
<activity
android:name=".RSS_ViewerActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="itpc" />
<data android:scheme="pcast" />
<data android:scheme="feed" />
<data android:scheme="feeds" />
<data android:scheme="rss" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/xml" android:scheme="http" />
<data android:mimeType="application/rss+xml" android:scheme="http" />
<data android:mimeType="application/atom+xml" android:scheme="http" />
<data android:mimeType="text/xml" android:scheme="https" />
<data android:mimeType="application/rss+xml" android:scheme="https" />
<data android:mimeType="application/atom+xml" android:scheme="https" />
</intent-filter>
</activity>
<activity android:name="RSSFeedActivity"></activity>
<activity android:name="com.CertificateAuthentication.Authenticator"></activity>
</application>
</manifest>

[HELP] Porting Gallery from android 4.2

Okay guys need some help !
This is a noob question but is it possible to port android 4.2 gallery to our device ?
here is the apk link : http://d-h.st/1Rm
We can use android resizer for resizing but will that help ? Even if it is possible , the xml s need modifications - can anyone help try ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
maybe its hard or impossible? may be i guess
yabyuh22 said:
maybe its hard or impossible? may be i guess
Click to expand...
Click to collapse
i know most probably impossible btw atleast we give it a try !
then best of luck brow..i dont know about porting sorry
why bother porting when Quickpic exists?,
looks exactly the same
well...fist of all you can try by install it or put it to /system/app without any app modification. some of app from higher version android are still compatible with the old one.
kurotsugi said:
well...fist of all you can try by install it or put it to /system/app without any app modification. some of app from higher version android are still compatible with the old one.
Click to expand...
Click to collapse
It doesn't install! And I tried putting it in system/apps and then changing the permission to rw r r but that doesn't work either!
can you decompile it and check the minimum api?
kurotsugi said:
can you decompile it and check the minimum api?
Click to expand...
Click to collapse
Okay will do that and report (gotta do bit of research first)
Deleted
The min api level is 10 that means jellybean and up
nope...API 10 is the API used in gingerbread system. it means its possible to port it to your device. btw, are sure it is 10? can you show me the content of androidmanifest.xml file?
<manifest package="com.google.android.gallery3d" versionCode="40001" versionName="1.1.40001">
<original-package name="com.android.gallery3d">
</original-package>
<uses-sdk minSdkVersion="10" targetSdkVersion="16">
</uses-sdk>
<permission protectionLevel="2" name="com.google.android.gallery3d.permission.GALLERY_PROVIDER">
</permission>
<permission label="resource_id:0x7f0a0121" protectionLevel="1" description="resource_id:0x7f0a0122" permissionGroup="android.permission-group.PERSONAL_INFO" name="com.google.android.gallery3d.permission.PICASA_STORE">
</permission>
<uses-permission name="android.permission.ACCESS_COARSE_LOCATION">
</uses-permission>
<uses-permission name="android.permission.ACCESS_FINE_LOCATION">
</uses-permission>
<uses-permission name="android.permission.ACCESS_NETWORK_STATE">
</uses-permission>
<uses-permission name="android.permission.CAMERA">
</uses-permission>
<uses-permission name="android.permission.GET_ACCOUNTS">
</uses-permission>
<uses-permission name="android.permission.INTERNET">
</uses-permission>
<uses-permission name="android.permission.MANAGE_ACCOUNTS">
</uses-permission>
<uses-permission name="android.permission.NFC">
</uses-permission>
<uses-permission name="android.permission.READ_SMS">
</uses-permission>
<uses-permission name="android.permission.READ_SYNC_SETTINGS">
</uses-permission>
<uses-permission name="android.permission.RECEIVE_BOOT_COMPLETED">
</uses-permission>
<uses-permission name="android.permission.RECORD_AUDIO">
</uses-permission>
<uses-permission name="android.permission.SET_WALLPAPER">
</uses-permission>
<uses-permission name="android.permission.USE_CREDENTIALS">
</uses-permission>
<uses-permission name="android.permission.VIBRATE">
</uses-permission>
<uses-permission name="android.permission.WAKE_LOCK">
</uses-permission>
<uses-permission name="android.permission.WRITE_EXTERNAL_STORAGE">
</uses-permission>
<uses-permission name="android.permission.WRITE_SETTINGS">
</uses-permission>
<uses-permission name="android.permission.WRITE_SYNC_SETTINGS">
</uses-permission>
<uses-permission name="com.google.android.providers.gsf.permission.READ_GSERVICES">
</uses-permission>
<uses-permission name="com.google.android.apps.plus.permission.PICASA_STORE">
</uses-permission>
<supports-screens anyDensity="true" smallScreens="false" largeScreens="true" normalScreens="true">
</supports-screens>
<application logo="resource_id:0x7f030001" icon="resource_id:0x7f030001" label="resource_id:0x7f0a0000" largeHeap="true" hardwareAccelerated="true" name="com.android.gallery3d.app.GalleryAppImpl" theme="resource_id:0x7f0c0043">
<uses-library required="false" name="com.google.android.media.effects">
</uses-library>
<activity configChanges="1184" label="resource_id:0x7f0a0186" name="com.android.gallery3d.app.MovieActivity">
<intent-filter>
<action name="android.intent.action.VIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.BROWSABLE">
</category>
<data scheme="rtsp">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.VIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.BROWSABLE">
</category>
<data scheme="http">
</data>
<data scheme="https">
</data>
<data scheme="content">
</data>
<data scheme="file">
</data>
<data mimeType="video/mpeg4">
</data>
<data mimeType="video/mp4">
</data>
<data mimeType="video/3gp">
</data>
<data mimeType="video/3gpp">
</data>
<data mimeType="video/3gpp2">
</data>
<data mimeType="video/webm">
</data>
<data mimeType="video/avi">
</data>
<data mimeType="application/sdp">
</data>
</intent-filter>
<intent-filter>
</intent-filter>
<action name="android.intent.action.VIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.BROWSABLE">
</category>
<data scheme="http">
</data>
<data scheme="https">
</data>
<data mimeType="audio/x-mpegurl">
</data>
<data mimeType="audio/mpegurl">
</data>
<data mimeType="application/vnd.apple.mpegurl">
</data>
<data mimeType="application/x-mpegurl">
</data>
</activity>
</application>
<activity configChanges="1184" label="resource_id:0x7f0a0000" name="com.android.gallery3d.app.Gallery">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.LAUNCHER">
</category>
<category name="android.intent.category.APP_GALLERY">
</category>
</intent-filter>
<intent-filter>
<action name="android.intent.action.GET_CONTENT">
</action>
<category name="android.intent.category.OPENABLE">
</category>
<data mimeType="vnd.android.cursor.dir/image">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.GET_CONTENT">
</action>
<category name="android.intent.category.OPENABLE">
</category>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="image/*">
</data>
<data mimeType="video/*">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.VIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="vnd.android.cursor.dir/image">
</data>
<data mimeType="vnd.android.cursor.dir/video">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.VIEW">
</action>
<action name="com.android.camera.action.REVIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.BROWSABLE">
</category>
<data scheme="">
</data>
<data scheme="http">
</data>
<data scheme="https">
</data>
<data scheme="content">
</data>
<data scheme="file">
</data>
<data mimeType="image/bmp">
</data>
<data mimeType="image/jpeg">
</data>
<data mimeType="image/gif">
</data>
<data mimeType="image/png">
</data>
<data mimeType="image/x-ms-bmp">
</data>
<data mimeType="image/vnd.wap.wbmp">
</data>
</intent-filter>
<intent-filter>
<action name="com.android.camera.action.REVIEW">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.BROWSABLE">
</category>
<data scheme="http">
</data>
<data scheme="https">
</data>
<data scheme="content">
</data>
<data scheme="file">
</data>
<data mimeType="video/mpeg4">
</data>
<data mimeType="video/mp4">
</data>
<data mimeType="video/3gp">
</data>
<data mimeType="video/3gpp">
</data>
<data mimeType="video/3gpp2">
</data>
<data mimeType="application/sdp">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.PICK">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="image/*">
</data>
<data mimeType="video/*">
</data>
</intent-filter>
<intent-filter>
<action name="android.intent.action.PICK">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="vnd.android.cursor.dir/image">
</data>
<data mimeType="vnd.android.cursor.dir/video">
</data>
</intent-filter>
</activity>
<activity-alias targetActivity="com.android.gallery3d.app.Gallery" configChanges="1184" label="resource_id:0x7f0a0000" name="com.cooliris.media.Gallery">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
</intent-filter>
</activity-alias>
<activity taskAffinity="" launchMode="3" label="resource_id:0x7f0a0000" name="com.android.gallery3d.app.UsbDeviceActivity">
<intent-filter>
<action name="android.hardware.usb.action.USB_DEVICE_ATTACHED">
</action>
</intent-filter>
<meta-data resource="resource_id:0x7f070001" name="android.hardware.usb.action.USB_DEVICE_ATTACHED">
</meta-data>
</activity>
<activity configChanges="1184" name="com.android.gallery3d.app.Wallpaper" theme="resource_id:0x1030010">
<intent-filter label="resource_id:0x7f0a01a1">
<action name="android.intent.action.ATTACH_DATA">
</action>
<data mimeType="image/*">
</data>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
<intent-filter label="resource_id:0x7f0a0000">
<action name="android.intent.action.SET_WALLPAPER">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
<meta-data resource="resource_id:0x7f070006" name="android.wallpaper.preview">
</meta-data>
</activity>
<activity configChanges="1184" process=":crop" label="resource_id:0x7f0a0197" name="com.android.gallery3d.app.CropImage">
<intent-filter label="resource_id:0x7f0a0197">
<action name="com.android.camera.action.CROP">
</action>
<data scheme="http">
</data>
<data scheme="https">
</data>
<data scheme="content">
</data>
<data scheme="file">
</data>
<data scheme="">
</data>
<data mimeType="image/*">
</data>
<data mimeType="vnd.android.cursor.item/vnd.android.gallery3d.picasa.photo">
</data>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.ALTERNATIVE">
</category>
<category name="android.intent.category.SELECTED_ALTERNATIVE">
</category>
</intent-filter>
</activity>
<activity label="resource_id:0x7f0a0198" name="com.android.gallery3d.app.TrimVideo">
<intent-filter label="resource_id:0x7f0a0198">
<action name="com.android.camera.action.TRIM">
</action>
<data scheme="content">
</data>
<data scheme="file">
</data>
<data mimeType="video/*">
</data>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity>
<permission protectionLevel="2" name="com.android.gallery3d.filtershow.permission.READ">
</permission>
<permission protectionLevel="2" name="com.android.gallery3d.filtershow.permission.WRITE">
</permission>
<provider grantUriPermissions="true" readPermission="com.android.gallery3d.filtershow.permission.READ" writePermission="com.android.gallery3d.filtershow.permission.WRITE" authorities="com.android.gallery3d.filtershow.provider.SharedImageProvider" name="com.android.gallery3d.filtershow.provider.SharedImageProvider">
</provider>
<activity configChanges="1184" label="resource_id:0x7f0a0127" name="com.android.gallery3d.filtershow.FilterShowActivity" theme="resource_id:0x7f0c0043">
<intent-filter>
<action name="android.intent.action.EDIT">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="image/*">
</data>
</intent-filter>
<intent-filter>
<action name="action_nextgen_edit">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<data mimeType="image/*">
</data>
</intent-filter>
</activity>
<uses-library required="false" name="com.google.android.media.effects">
</uses-library>
<activity configChanges="1184" name="com.android.gallery3d.settings.GallerySettings" theme="resource_id:0x7f0c0043">
<intent-filter>
<action name="android.intent.action.MANAGE_NETWORK_USAGE">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity>
<provider grantUriPermissions="true" exported="true" permission="com.google.android.gallery3d.permission.GALLERY_PROVIDER" authorities="com.google.android.gallery3d.provider" name="com.android.gallery3d.provider.GalleryProvider">
</provider>
<provider authorities="com.google.android.gallery3d.GooglePhotoProviderRestricted" exported="true" name="com.google.android.picasasync.PicasaOpenFileProvider">
</provider>
<service name="com.google.android.picasastore.PicasaStoreFacade$DummyService">
<intent-filter>
<action name="com.google.android.picasasync.SyncAdapter">
</action>
</intent-filter>
<meta-data value="85" name="com.google.android.picasasync.priority">
</meta-data>
<meta-data value="false" name="com.google.android.picasasync.enable-down-sync">
</meta-data>
<meta-data value="com.google.android.gallery3d.GooglePhotoProviderRestricted" name="com.google.android.picasasync.authority">
</meta-data>
</service>
<provider exported="true" permission="com.google.android.gallery3d.permission.PICASA_STORE" label="resource_id:0x7f0a011b" authorities="com.google.android.gallery3d.GooglePhotoProvider" name="com.google.android.picasasync.PicasaContentProvider0">
</provider>
<service label="Picasa Sync Service" name="com.google.android.picasasync.PicasaSyncService">
<intent-filter>
<action name="android.content.SyncAdapter">
</action>
</intent-filter>
<meta-data resource="resource_id:0x7f070004" name="android.content.SyncAdapter">
</meta-data>
</service>
<receiver name="com.google.android.picasasync.ConnectivityReceiver">
<intent-filter>
<action name="android.net.conn.CONNECTIVITY_CHANGE">
</action>
<action name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED">
</action>
</intent-filter>
</receiver>
<service name="com.google.android.picasasync.ConnectivityReceiver$AsyncService">
</service>
<receiver name="com.google.android.picasasync.BatteryReceiver">
<intent-filter>
<action name="android.intent.action.ACTION_POWER_CONNECTED">
</action>
<action name="android.intent.action.ACTION_POWER_DISCONNECTED">
</action>
</intent-filter>
</receiver>
<provider authorities="com.google.android.gallery3d.PicasaStore" exported="true" permission="com.google.android.gallery3d.permission.PICASA_STORE" name="com.google.android.picasastore.PicasaPhotoContentProvider0">
</provider>
<service name="com.google.android.picasastore.PicasaStoreFacade$DummyService">
<intent-filter>
<action name="com.google.android.picasastore.PACKAGE_METADATA_LOOKUP">
</action>
</intent-filter>
<meta-data value="32" name="com.google.android.picasastore.priority">
</meta-data>
<meta-data value="com.google.android.gallery3d.PicasaStore" name="com.google.android.picasastore.authority">
</meta-data>
</service>
<receiver name="com.android.gallery3d.onetimeinitializer.AutoSyncCarryOverFromICSReceiver">
<intent-filter>
<action name="android.intent.action.BOOT_COMPLETED">
</action>
</intent-filter>
</receiver>
<service name="com.android.gallery3d.onetimeinitializer.AutoSyncCarryOverFromICSReceiver$AsyncService">
</service>
<activity name="com.android.gallery3d.gadget.WidgetClickHandler">
</activity>
<activity configChanges="1184" name="com.android.gallery3d.app.DialogPicker" theme="resource_id:0x7f0c0046">
</activity>
<activity configChanges="1184" name="com.android.gallery3d.app.AlbumPicker" theme="resource_id:0x7f0c0046">
</activity>
<activity configChanges="1184" name="com.android.gallery3d.gadget.WidgetTypeChooser" theme="resource_id:0x7f0c0042">
</activity>
<activity label="resource_id:0x7f0a011c" name="com.android.gallery3d.app.LicensesActivity" theme="resource_id:0x1030073">
</activity>
<activity icon="resource_id:0x7f030000" clearTaskOnLaunch="true" name="com.android.camera.CameraActivity" theme="resource_id:0x7f0c0005" configChanges="1184" label="resource_id:0x7f0a0064" windowSoftInputMode="35" taskAffinity="com.google.android.camera.CameraActivity">
<intent-filter>
<action name="android.media.action.IMAGE_CAPTURE">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
<intent-filter>
<action name="android.media.action.STILL_IMAGE_CAMERA">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity>
<activity icon="resource_id:0x7f030000" clearTaskOnLaunch="true" excludeFromRecents="true" name="com.android.camera.SecureCameraActivity" theme="resource_id:0x7f0c0005" configChanges="1184" label="resource_id:0x7f0a0064" windowSoftInputMode="35" taskAffinity="com.google.android.camera.SecureCameraActivity">
<intent-filter>
<action name="android.media.action.STILL_IMAGE_CAMERA_SECURE">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
<intent-filter>
<action name="android.media.action.IMAGE_CAPTURE_SECURE">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity>
<activity-alias targetActivity="com.android.camera.CameraActivity" icon="resource_id:0x7f030000" label="resource_id:0x7f0a0064" name="com.android.camera.CameraLauncher">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
<category name="android.intent.category.DEFAULT">
</category>
<category name="android.intent.category.LAUNCHER">
</category>
</intent-filter>
</activity-alias>
<activity-alias targetActivity="com.android.camera.CameraActivity" icon="resource_id:0x7f030000" label="resource_id:0x7f0a0064" name="com.android.camera.Camera">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity-alias>
<activity-alias targetActivity="com.android.camera.CameraActivity" icon="resource_id:0x7f030002" label="resource_id:0x7f0a0065" name="com.android.camera.VideoCamera">
<intent-filter>
<action name="android.media.action.VIDEO_CAMERA">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
<intent-filter>
<action name="android.media.action.VIDEO_CAPTURE">
</action>
<category name="android.intent.category.DEFAULT">
</category>
</intent-filter>
</activity-alias>
<receiver label="resource_id:0x7f0a01c9" name="com.android.gallery3d.gadget.PhotoAppWidgetProvider">
<intent-filter>
<action name="android.appwidget.action.APPWIDGET_UPDATE">
</action>
</intent-filter>
<meta-data resource="resource_id:0x7f070007" name="android.appwidget.provider">
</meta-data>
</receiver>
<receiver name="com.android.gallery3d.app.PackagesMonitor">
<intent-filter>
<action name="android.intent.action.PACKAGE_ADDED">
</action>
<action name="android.intent.action.PACKAGE_REMOVED">
</action>
<action name="android.intent.action.PACKAGE_CHANGED">
</action>
<data scheme="package">
</data>
</intent-filter>
</receiver>
<service name="com.android.gallery3d.app.PackagesMonitor$AsyncService">
</service>
<receiver name="com.android.camera.CameraButtonIntentReceiver">
<intent-filter>
<action name="android.intent.action.CAMERA_BUTTON">
</action>
</intent-filter>
</receiver>
<receiver name="com.android.camera.DisableCameraReceiver">
<intent-filter>
<action name="android.intent.action.BOOT_COMPLETED">
</action>
</intent-filter>
</receiver>
<service permission="android.permission.BIND_REMOTEVIEWS" name="com.android.gallery3d.gadget.WidgetService">
</service>
<activity configChanges="1184" name="com.android.gallery3d.gadget.WidgetConfigure" theme="resource_id:0x1030010">
<intent-filter>
<action name="android.appwidget.action.APPWIDGET_CONFIGURE">
</action>
</intent-filter>
</activity>
<activity clearTaskOnLaunch="true" screenOrientation="0" name="com.google.android.apps.lightcycle.ProtectedPanoramaCaptureActivity" theme="resource_id:0x1030007" configChanges="1184" label="resource_id:0x7f0a00b2" windowSoftInputMode="35" taskAffinity="com.google.android.camera">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
</intent-filter>
</activity>
<service name="com.google.android.apps.lightcycle.panorama.StitchingService">
</service>
</manifest>
i think it uses grid layout. eventhough grid layout is backported to gb devices using a gridlayout support library, devs mostly wont use that since its abit complicated backporting even with libraries.i myself has failed yo do that many times.
this could be a reason why its not working.
may be decompiling xml layouts, adding the code for gridlayout support library, mention the library in manifest file and copying the jar file of library to the apps libs folder and recompling may do the trick.
Sent from my GT-S5360 using xda app-developers app
jaison thomas said:
i think it uses grid layout. eventhough grid layout is backported to gb devices using a gridlayout support library, devs mostly wont use that since its abit complicated backporting even with libraries.i myself has failed yo do that many times.
this could be a reason why its not working.
may be decompiling xml layouts, adding the code for gridlayout support library, mention the library in manifest file and copying the jar file of library to the apps libs folder and recompling may do the trick.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Wow thanks mate- finally some hope I really didn't understand some of the things you've said for am a noob but I'll do some research and try again!
Again thanks for great info!
dont know whether tht is a solution for this app. but thts how grid layout should be made to work in gb devices.search google for how to make a grid layout fot gingerbeard.that will provide a a good idea wht to do next.
Sent from my GT-S5360 using xda app-developers app

[Q] Blue screen of death error Kernel Power

For a couple of days a strange thing happens to me after a while or Tuning 'that the computer is turned on I get a blue screen of death, but this does not happen regularly, however I went to the event log and in detail in XML vegono reported these details:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
<EventID>41</EventID>
<Version>3</Version>
<Level>1</Level>
<Task>63</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000002</Keywords>
<TimeCreated SystemTime="2012-11-19T18:58:19.132368300Z" />
<EventRecordID>1190</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="8" />
<Channel>System</Channel>
<Computer>koke</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="BugcheckCode">30</Data>
<Data Name="BugcheckParameter1">0xffffffffc000001d</Data>
<Data Name="BugcheckParameter2">0xfffffa800f7751b0</Data>
<Data Name="BugcheckParameter3">0xfffffa800f5b3900</Data>
<Data Name="BugcheckParameter4">0x2</Data>
<Data Name="SleepInProgress">0</Data>
<Data Name="PowerButtonTimestamp">0</Data>
<Data Name="BootAppStatus">0</Data>
</EventData>
</Event>
If someone would be able to help me I'd thank him very.
mikekoke said:
For a couple of days a strange thing happens to me after a while or Tuning 'that the computer is turned on I get a blue screen of death, but this does not happen regularly, however I went to the event log and in detail in XML vegono reported these details:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
<EventID>41</EventID>
<Version>3</Version>
<Level>1</Level>
<Task>63</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000002</Keywords>
<TimeCreated SystemTime="2012-11-19T18:58:19.132368300Z" />
<EventRecordID>1190</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="8" />
<Channel>System</Channel>
<Computer>koke</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="BugcheckCode">30</Data>
<Data Name="BugcheckParameter1">0xffffffffc000001d</Data>
<Data Name="BugcheckParameter2">0xfffffa800f7751b0</Data>
<Data Name="BugcheckParameter3">0xfffffa800f5b3900</Data>
<Data Name="BugcheckParameter4">0x2</Data>
<Data Name="SleepInProgress">0</Data>
<Data Name="PowerButtonTimestamp">0</Data>
<Data Name="BootAppStatus">0</Data>
</EventData>
</Event>
If someone would be able to help me I'd thank him very.
Click to expand...
Click to collapse
Can i recommend you go into event viewer and under the system section, find the error by date and time and tell me what other errors are around it.
That will help greatly.
Sent From My YP-G1 running Nebula beta 1
goldflame09 said:
Can i recommend you go into event viewer and under the system section, find the error by date and time and tell me what other errors are around it.
That will help greatly.
Sent From My YP-G1 running Nebula beta 1
Click to expand...
Click to collapse
I checked the times, they are all different at different times, however, this error does not happen often but once in a while, but do not know how to solve it.

CarrierConfig VoLTE / VoWiFi

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!

Categories

Resources