For Sony phones running KitKat it was simple sollution:
----------------
1. Go to
/data/data/com.sonyericsson.conversations/shared_prefs
2. Open
com.sonyericsson.conversations_preferences.xml
3. Enabling costs saving
Change <boolean name="semc_pref_key_character_conversion" value="false" /> to <boolean name="semc_pref_key_character_conversion" value="true" />
_______________
There is also Sony Xposed module http://forum.xda-developers.com/showthread.php?p=53009040#post53009040
But my question is how to add this option on stock lollipop messages application or at least how to change it in preferences (I can not find preferences.xml file for messages on lollipop)
I have found option in /data/data/com.android.mms/shared_prefs/com.android.mms_preferences.xml
<boolean name="pref_key_sms_characters" value="true" />
But I do not know what it means...
https://code.google.com/p/synergy-t...ed_prefs/com.android.mms_preferences.xml?r=66
Related
hi guy's.
i'm trying to cook a rom and i want to set a style (sliding tab) as a default for lockscreen and incall lockscreen.
i searched a lot in google and xda but i didnt find any thing that can help me to do this!
i think i have to edit or add some line in lockscreen_style_settings.xml that is stored in CMParts.apk\res\xml
am i right?
or maybe i have to edit settings.xml stored in Settings.apk\res\xml?
i think i have to edit CMParts.apk\res\xml\lockscreen_style_settings.xml because when i my backup's data\data\com.cyanogenmod.cmparts\shared_prefs there is a file named com.cyanogenmod.cmparts_preferences.xml that contain's some line's about lockscreen.
here is the com.cyanogenmod.cmparts_preferences.xml line's:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="pref_trackball_wake" value="true" />
<string name="pref_install_location">0</string>
<string name="pref_ringlock_style">1</string>
<string name="pref_in_call_style">4</string>
<string name="pref_lockscreen_style">1</string>
<string name="pref_rotary_style">1</string>
<boolean name="pref_volbtn_music_controls" value="true" />
</map>
i decompiled the CMParts.apk but i dont know which line's should be edited or what to add!
im really confused
please help me.
any hint?
not even a single answer?!!!
comeon guy's.
someone answer me please!!!!
Hiya all
I've got this piece of code from an xml in my settings.apk (SecSettings actually) that contains tutorials on motion settings.
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/motion_tutorial_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:title="@string/turn_over_title" android:key="turn_over" android:summary="@string/turn_over_summary" />
<Preference android:title="@string/shake_title" android:key="shake" android:summary="@string/shake_summary" />
<Preference android:title="@string/pick_up_to_call_out_title" android:key="pick_up_to_call_out" android:summary="@string/pick_up_to_call_out_summary" />
[Color=red] <Preference android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" />
<Preference android:title="@string/pick_up_title" android:key="pick_up" android:summary="@string/pick_up_summary" />
<Preference android:title="@string/double_tap_title" android:key="double_tap" android:summary="@string/double_tap_summary" />
<Preference android:title="@string/tilt_title" android:key="tilt" android:summary="@string/tilt_summary" />
<Preference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list" android:summary="@string/tilt_to_scroll_list_summary" />
<Preference android:title="@string/pan_title" android:key="pan" android:summary="@string/pan_summary" />
<Preference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image" android:summary="@string/pan_to_browse_image_summary" />
<Preference android:title="@string/palm_swipe_title" android:key="palm_swipe" android:summary="@string/palm_swipe_summary" />
<Preference android:title="@string/palm_touch_title" android:key="palm_touch" android:summary="@string/palm_touch_summary" />
<Preference android:title="@string/tap_and_twist_title" android:key="tap_and_twist" android:summary="@string/tap_and_twist_summary" />[/color]
</PreferenceScreen>
In there, all the red parts contain tutorials on settings that don't actually work on my device, and for OCD sake, I don't want them appearing in my settings because of it.
But simply cutting them out of that file will make the settings app crash whenever i open that menu :crying:
So question is: is there a way to hide these settings without impairing their functions?
XML style ofcourse, as I don't dare touch smali
bump! I am still struggling with this :crying:
Is there really no simple xml line for this?
If not, is it possible to resize the not-working menu's to zero pixels? (thus making them invisible)
for the record, adding android:visibility="gone" / androi:visibility="invisible" and android:layout_height="0.0dip" all do nothing
you need to remove also the line inside a smali sir. removing the line will just force the app to close . i also want to remove a category sir, but im not good at smali so i just remove the strings and leave it blank xD
sorry for my english xD
hello
i want some settings be enabled by default so i decompiled settings apk.
The most setting can i enable by true/false but superuser not.
In the settings of the phone superusers it's just switch on/off.
but the xml is different?
Code:
<com.android.settings.FunuiPreferenceCategory android:persistent="false" android:title="@string/device_admin_title" android:key="device_admin_category">
<Preference android:persistent="false" android:layout="@layout/funui_preference_top_vertical" android:title="@string/manage_device_admin" android:summary="@string/manage_device_admin_summary" android:fragment="com.android.settings.DeviceAdminSettings" />
[CODE] <com.android.settings.advanced.PersonalSwitchPreference android:layout="@layout/funui_switch_preference_normal" android:title="@string/personal_settings_superuser_title" android:key="personal_settings_superuser" android:summary="@string/personal_settings_superuser_summary" android:fragment="com.koushikdutta.superuser.PolicyNativeFragment" />
<com.android.settings.FunuiCheckBoxPreference androidersistent="false" android:title="@string/install_applications" android:key="toggle_install_applications" android:summaryOn="@string/install_unknown_applications" android:summaryOff="@string/install_unknown_applications" />
<com.android.settings.FunuiCheckBoxPreference androidersistent="false" android:title="@string/verify_applications" android:key="toggle_verify_applications" android:summaryOn="@string/verify_applications_summary" android:summaryOff="@string/verify_applications_summary" />
<Preference androidersistent="false" android:title="@string/manage_notification_access" android:key="manage_notification_access" android:fragment="com.android.settings.NotificationAccessSettings" />
</com.android.settings.FunuiPreferenceCategory>[/CODE]
where do i need to look to enable superuser by default?
grts b
Hi all,
I'm new here (long time lurker), so that's why I'm posting it here, and not in @scrubber's ROM thread (i need 10 posts to do that). I flashed the GPe ROM probably for the 30th time yesterday, doing a full wipe and formated /system and /data. On top of that i reflashed .108 in Flashtool, wiping everything on the device (except for my SD).
With that said, i just noticed a file in /system/etc named "cerberus_conf.xml". What is Cerberus? A well known Anti-theft app for Android which lets you track down your stolen device(s), take pictures of the thief etc. from your computer. I have personally never used it or even installed it on any device, so what in the hell is a config file from that app doing on my newly formatted phone?
Here is its content:
Code:
<map>
<boolean name="picmessage" value="true"/>
<boolean name="picunlock" value="true"/>
<string name="serial3"/>
<string name="serial2"/>
<string name="serial1"/>
<string name="number3">+9183788[REMOVED]</string>
<string name="screencolor">3</string>
<string name="number2">+9199139[REMOVED]</string>
<string name="number1">+9198903[REMOVED]</string>
<string name="unlockno">2</string>
<string name="token">12mjn4ibtz6urr8cv8dj</string>
<string name="smskeyword">cerberus</string>
<boolean name="nosim" value="true"/>
<string name="videomethod">1</string>
<boolean name="sendlocation" value="true"/>
<boolean name="notificationlistener" value="true"/>
<boolean name="sendemail" value="true"/>
<boolean name="picalarm" value="true"/>
<string name="screenshot">1</string>
<string name="dialcode">23723787</string>
<string name="hash">e9d01dc402940db81bdbd2eb6b993c3ae8be8317</string>
<boolean name="firstrun" value="false"/>
<boolean name="wipe" value="true"/>
<boolean name="sendsiminfo" value="true"/>
<boolean name="history" value="true"/>
<long name="reg_ts" value="1403453969"/>
<boolean name="findnopass" value="true"/>
<string name="videoquality">1</string>
<string name="user">rahulyd</string>
<boolean name="wipesd" value="true"/>
<string name="auth">56553975681746914604333188171</string>
</map>
- "Picunluck" = True - Allows it to take a picture with the front camera when i unlock my device
- A couple of phone numbers with +91, which is the area code to India
- Send location is on
- Notifications, screenshots etc. and EVERYTHING else is enabled. Even the username "rahulyd" is here.
Again:
1. I have never ever installed Cerberus
2. I formatted and re-flashed the GPe 4.4.4 by Scrubber yesterday
3. I formatted /system and /data
EDIT: I also just checked the GPe 4.4.4 ZIP to see if the file is present - and it is (check the screenshot). What does this mean? Probably nothing. I don't know how the whole Cerburus thingy works, but i know that it's made to survive most things - including wipes. That doesn't explane how or why this file is present on a god damn ROM.
I can't post links yet, since i'm under the 10 post limit, so this link won't look good: i.imgur. com / zTUk1fs. png
Any thoughts, @scrubber? @blueether?
H. E. Pennypacker said:
Hi all,
I'm new here (long time lurker), so that's why I'm posting it here, and not in @scrubber's ROM thread (i need 10 posts to do that). I flashed the GPe ROM probably for the 30th time yesterday, doing a full wipe and formated /system and /data. On top of that i reflashed .108 in Flashtool, wiping everything on the device (except for my SD).
With that said, i just noticed a file in /system/etc named "cerberus_conf.xml". What is Cerberus? A well known Anti-theft app for Android which lets you track down your stolen device(s), take pictures of the thief etc. from your computer. I have personally never used it or even installed it on any device, so what in the hell is a config file from that app doing on my newly formatted phone?
Here is its content:
Code:
<map>
<boolean name="picmessage" value="true"/>
<boolean name="picunlock" value="true"/>
<string name="serial3"/>
<string name="serial2"/>
<string name="serial1"/>
<string name="number3">+9183788[REMOVED]</string>
<string name="screencolor">3</string>
<string name="number2">+9199139[REMOVED]</string>
<string name="number1">+9198903[REMOVED]</string>
<string name="unlockno">2</string>
<string name="token">12mjn4ibtz6urr8cv8dj</string>
<string name="smskeyword">cerberus</string>
<boolean name="nosim" value="true"/>
<string name="videomethod">1</string>
<boolean name="sendlocation" value="true"/>
<boolean name="notificationlistener" value="true"/>
<boolean name="sendemail" value="true"/>
<boolean name="picalarm" value="true"/>
<string name="screenshot">1</string>
<string name="dialcode">23723787</string>
<string name="hash">e9d01dc402940db81bdbd2eb6b993c3ae8be8317</string>
<boolean name="firstrun" value="false"/>
<boolean name="wipe" value="true"/>
<boolean name="sendsiminfo" value="true"/>
<boolean name="history" value="true"/>
<long name="reg_ts" value="1403453969"/>
<boolean name="findnopass" value="true"/>
<string name="videoquality">1</string>
<string name="user">rahulyd</string>
<boolean name="wipesd" value="true"/>
<string name="auth">56553975681746914604333188171</string>
</map>
- "Picunluck" = True - Allows it to take a picture with the front camera when i unlock my device
- A couple of phone numbers with +91, which is the area code to India
- Send location is on
- Notifications, screenshots etc. and EVERYTHING else is enabled. Even the username "rahulyd" is here.
Again:
1. I have never ever installed Cerberus
2. I formatted and re-flashed the GPe 4.4.4 by Scrubber yesterday
3. I formatted /system and /data
EDIT: I also just checked the GPe 4.4.4 ZIP to see if the file is present - and it is (check the screenshot). What does this mean? Probably nothing. I don't know how the whole Cerburus thingy works, but i know that it's made to survive most things - including wipes. That doesn't explane how or why this file is present on a god damn ROM.
I can't post links yet, since i'm under the 10 post limit, so this link won't look good: i.imgur. com / zTUk1fs. png
Any thoughts, @scrubber? @blueether?
Click to expand...
Click to collapse
Very interesting find !!! This file was in the dump of the system from Doomlord !!! I will understand !!!!
Thank you to find this file !!!
---------- Post added at 05:57 AM ---------- Previous post was at 05:41 AM ----------
Here is what I found about this file !! https://github.com/crazycaveman/system-apps/tree/master/system
scrubber said:
Very interesting find !!! This file was in the dump of the system from Doomlord !!! I will understand !!!!
Thank you to find this file !!!
---------- Post added at 05:57 AM ---------- Previous post was at 05:41 AM ----------
Here is what I found about this file !! https://github.com/crazycaveman/system-apps/tree/master/system
Click to expand...
Click to collapse
Oh! Okay, so it's probably just some residue from Doomlord. He's Indian, so that probably explains the Indian phone numbers. I believe we need the actual app installed for it to start "broadcasting", and i haven't found any other files from Cerberus in the system, so that's good.
Any thoughts, @DooMLoRD?
Doomlord's name is Rahul so that makes sense
blueether said:
Doomlord's name is Rahul so that makes sense
Click to expand...
Click to collapse
Well, I guess we solved it!
Okay so I choose "yes" when the location settings asked for access to network info. I would like to revoke that choice so it does not access my network and I can ignore the prompt. I prefer to just use the GPS (Device Only) setting but instead it goes to High Accuracy (GPS and Network) and I can't change force the location button to change back to default when it prompted me. Is it possible to get it back so that when I enable location it's not High Accuracy? Android OS: 5.1.1
Grabbing the anwser from the following topic : http://forum.xda-developers.com/android/help/reset-google-network-location-consent-t2890971 . You will need root:
smelllllllllll said:
So for anyone else who's interested I edited the nlp-prefs.xml file contained in Data > Data > com.google.android.gms > shared_prefs
Changing From:
<boolean name="confirmNlp" value="false" />
Changing To:
<boolean name="confirmNlp" value="true" />
Click to expand...
Click to collapse
I tried it myself and it really works... After doing this change , reboot your device
In the meantime the (mis)behaviour of Play Services changed a bit. I.e. in v12.x there's, instead of changing the value of
<boolean name="confirmNlp" value="false" /> to "true",
the complete line to be deleted.
Reboot. Then the confirmation dialog appears again.
Tested on MM 6.01.