Dual SIM manegement not shown in Settings (porting ROM) - Android Q&A, Help & Troubleshooting

Hello all,
I am trying to port a ROM to my device, Samsung Galaxy Young 2 (SM-G130HN), modded stock 4.4.2 ROM from Sansung Galaxy V Dual. The 130HN is not dual SIM, but another Young 2 are (G130M, etc)
The problem is that the dual SIM configuration into Settings does not appear in any way.
I have activated dual SIM in Build.prop Through:
ril.sim2.present=1
persist.radio.multisim.config=dsds
Click to expand...
Click to collapse
I have flashed a kernel with dual SIM support from GS-130M, and the ROM start without any problem and the 2 SIM signals appear in the status bar:
{
"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"
}
But... I am not able to configure them through Settings. This the settings_header part where the dual SIM configuration is declared in stock ROM (not modiffied):
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:id="@id/wireless_section" android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_airplanemode" android:id="@id/airplane_mode" android:title="@string/airplane_mode" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:icon="@drawable/ic_settings_mobile_data" android:id="@id/mobile_data_settings" android:title="@string/mobile_data_title" />
<header android:icon="@drawable/ic_settings_nfc" android:id="@id/nfc_setting" android:title="@string/nfc_quick_toggle_title" android:fragment="com.android.settings.nfc.NfcSettings" />
<header android:icon="@drawable/ic_settings_sbeam" android:id="@id/sbeam_setting" android:title="@string/s_beam_settings_title" android:fragment="com.android.settings.nfc.SBeam" />
<header android:icon="@drawable/ic_settings_sim_card_manager" android:id="@id/simcard_management" android:title="@string/sim_card_management_ds">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.NetworkManagement" />
</header>
Click to expand...
Click to collapse
But the dual SIM configuration does not appear:
In CyanogenMOD the 2 SIM can be configured in Settings, and I think that the trick is in the kernel included in Cyanogenmod ROMs
All the smalis are correct (without modification from the stock ROM). I do not know if I have lost some app by the way or is neccesary something more to activate the settings for dual SIM in the ROM.
please, I need some help. Thanks in advance

Related

[MOD/Tutorial] Change voodoo control app status icon

Hi everyone,
So I'm a big fan of supercurio's work with Voodoo sound, but I'm also a semi-OCD theming/graphic design nerd, lol.
So I made a couple gingerbread style status icons, and found a way to enable them in the voodoo control app, and thought I'd share them for anyone else that's interested.
{
"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"
}
http://dl.dropbox.com/u/9401664/stat_notify_icon.png
http://dl.dropbox.com/u/9401664/stat_notify_icon 2.png
Download whichever icon you prefer (please note, that the white space in both icons is actually "negative" space, so that will be transparent, and inherit the color of your status bar) and make sure its named stat_notify_icon.png
Then decompile the voodoo control app (I used apk manager), and browse to /smali/org/projectvoodoo/controlapp and open VolumeManager.smali
Change line 846 in VolumeManager.smali to:
Code:
const v9, 0x7f020002
Save and close that file, and navigate to /res/values and open Public.xml
Right after
Code:
<public type="drawable" name="icon" id="0x7f020001" />
Add the following line, then save and close:
Code:
<public type="drawable" name="stat_notify_icon" id="0x7f020002" />
Now copy the icon into /res/drawable-hdpi
Finally, compile, sign (zipalign if you want) and install.
Make sure you uninstall your old version first, or this will fail to install because of the signature mis-match.
Anyway, hope someone else likes this, and Supercurio is free to use either icon in the app if he wants.
Cheers everyone, =)
Thanks Jocelyn!!! Great mod, your ocd is a blessing for us nerds

[How To][Guide] Fast Scene Recognition & Photostack On Stock Camera ICS

Hi guys ...
I shared a tutorial for you and is very easy to do
How to enable faster scane recognition :
Open Root Explorer go to the folder data> data> com.sonyericsson.android.camera> shared_prefs
open com.sonyericsson.android.camera.cameracapability_pref.xml
<map>
<int name="max_picture_width_1" value="640" />
<boolean name="scenerecognition_supported_0" value="true" />
<boolean name="scenerecognition_supported_1" value="false" />
<int name="max_picture_width_0" value="3264" />
</ map>
Set to
<boolean name="scenerecognition_supported_1" value="true" />
How to enable Photostack like this Screenshot :
{
"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"
}
Open com.sonyericsson.android.camera.photostack_sharedprefs.xml
<map>
<boolean name="photostack_sharedprefs_open_state" value="false" />
</map>
Set to
<map>
<boolean name="photostack_sharedprefs_open_state" value="true" />
</map>
How to enable Photostack in Camera 3D Panorama :
Go to the folder data> data> com.sonyericsson.android.camera3d > shared_prefs
open com.sonyericsson.android.camera.photostack_sharedprefs
<map>
<boolean name="photostack_sharedprefs_open_state" value="false" />
</map>
Set to
<map>
<boolean name="photostack_sharedprefs_open_state" value="true" />
</map>
Thanks to iridaki for inspiration modify from folder data>data
you can achieve the photostack manually thru the camera, just drag the photo to the left.
mo22i said:
you can achieve the photostack manually thru the camera, just drag the photo to the left.
Click to expand...
Click to collapse
yes but it locked immediately upon opening the camera
By Rizal Lovins [email protected]"Love Indonesia"

Is It Possiable To Add Seperate Settings Category Header Backgrounds

I am in the process of porting Black Illusion S4 theme to my S2, adding my own individual touches, and was hopeing somebody could tell me if what i am wanting to achieve is possable.
I have managed to center No Notification, Ongoing, headers on the notification screen and set individual background for them .
{
"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"
}
What i am trying to accomplish, (with somebody's help) is to do the same thing with the Category Headers on the settings page.
Basically i want to end up with this
The Category Header background is set in Framework-res/res/values/styles.
style name="Widget.DeviceDefault.TextView.ListSeparator" parent="@style/Widget.Holo.TextView.ListSeparator">
<item name="textSize">17.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffd2d2d2</item>
<item name="gravity">center</item>
<item name="background">@drawable/tw_list_section_divider_holo_dark</item>
<item name="paddingLeft">16.0dip</item>
<item name="textAllCaps">false</item>
</style>
Click to expand...
Click to collapse
Unfortunatly for me each category header, uses the same .9.png as its background.
What i would like to know is
A. Is possable to add something to the above style to set the background width = to that of the text width, of each individual Category Header.
or
The Category Header titles are set in SecSettings/res/values/strings
<string name="header_category_wireless_networks">Wireless and networks</string>
<string name="header_category_device">Device</string>
<string name="header_category_personal">Personal</string>
<string name="header_category_system">System</string>
Click to expand...
Click to collapse
I could place individual background png's in SecSettings/res/drawable, but i need to
B. Add something to each of the above strings to set that individual background to each, but i am unsure what to add to accomplish this.
Any advice would be greatly appreciated.
I am using NeatRom 5.1

[WIP]LineageOS 14.1 [NOUGAT] (We Need Help)

Yes Lineage Os 14.1 Sort of works on our lonely LG V10 device.<br />
<br />
What i know so far is<br />
<br />
NOT WORKING<br />
<br />
Audio <br />
<br />
Camera - Needs Camera Blob Bring Up.<br />
Some of the Lg G4 blobs work and some dont. So thats why we need our proper camera blob bring up.<br />
<br />
We need our help. We need to colaborate like old times android comunity is separating slowly over the years.<br />
<br />
If we are alone and some knows 1 or 2 things about android we need to regroup and work as a team. Or we never going to have something working.<br />
<br />
<br />
On the picks says on device that is a LGH811 (LG G4) but is not.<br />
<br />
It says that cus the deve used lg g4 repo.<br />
<br />
He owns the lg v10 a d lg g4 but he studies and he is trying his best. <br />
<br />
{
"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"
}
<br />
<br />
Sent from my LG-H901 using Tapatalk
Sent from my LG-H901 using Tapatalk
Why nobody's helping?
Because the device is three years old and he's trying to get an os running on it that no one cares about?

default alignment reversed

Hello,
I have a strange problem that on some devices, like galaxy s8 and LG G6 , the default alignment is reversed.
(But on most galaxy s8 and LG G6 devices its is ok)
The default alignment for a TextView is Left but on some devices it is Right. I solved it by adding "android:layout_alignParentLeft="true"
The same is true for buttons and EditText.
But there are some more strange things with the alignment, see the screenshots below:
"alignment wrong"
{
"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"
}
"alignment ok"
What can cause this alignment problem, it's not the device self i think, but maybe its related to the country or language settings?
part of XML code:
Code:
<RelativeLayout
android:id="@+id/widget1"
android:background="@color/background"
android:layout_below="@+id/widget0"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:text="Z1"
android:layout_alignParentLeft="true"
android:id="@+id/_bandstop_filter_g0"
android:layout_alignBaseline="@+id/bandstop_filter_g0"
android:layout_marginStart="15dp"
android:layout_marginEnd="3dp" />
<EditText
android:layout_marginBottom="3dp"
android:textColor="@color/gui_text1"
android:focusable="false"
android:background="@drawable/shape_edittext_lock"
android:paddingLeft="8dp"
android:layout_height="30dp"
android:textSize="15sp"
android:inputType="numberSigned|numberDecimal"
android:id="@+id/bandstop_filter_g0"
android:layout_width="82dp"
android:layout_toRightOf="@+id/_bandstop_filter_g0"
android:layout_marginTop="5dp" />
<TextView
android:id="@+id/bandstop_filter_g0_"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/bandstop_filter_g0"
android:layout_marginStart="3dp"
android:layout_toRightOf="@+id/bandstop_filter_g0"
android:text="Ω"
android:textSize="15sp"
/>
<TextView
android:id="@+id/_bandstop_filter_2g0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/bandstop_filter_g0"
android:layout_marginStart="28dp"
android:layout_marginEnd="3dp"
android:layout_toRightOf="@+id/bandstop_filter_g0_"
android:text="Z2"
android:textSize="15sp"
/>
<EditText
android:layout_marginBottom="3dp"
android:textColor="@color/gui_text1"
android:focusable="false"
android:background="@drawable/shape_edittext_lock"
android:paddingLeft="8dp"
android:layout_height="30dp"
android:textSize="15sp"
android:inputType="numberSigned|numberDecimal"
android:id="@+id/bandstop_filter_2g0"
android:layout_width="82dp"
android:layout_toRightOf="@+id/_bandstop_filter_2g0"
android:layout_alignBaseline="@+id/bandstop_filter_g0" />
<TextView
android:id="@+id/bandstop_filter_2g0_"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/bandstop_filter_g0"
android:layout_marginStart="3dp"
android:layout_toRightOf="@+id/bandstop_filter_2g0"
android:text="Ω"
android:textColor="@color/gui_text1"
android:textSize="15sp"
/>

Categories

Resources