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.
Related
I installed Weather Bug today and to my dismay I could not get it working using location services. It worked fine if I removed the location services check boxes during setup and manually entered the location.
I was not happy with having to use a manual entry for my current location and every time I went into settings and turned on location services the app would force close. I figured it was the lack of location services.
adb remount
adb pull /data/data/com.aws.android/shared_prefs/com.aws.android_preferences.xml
change the line using notepad++ to:
<boolean name="prefs_use_gps" value="true" />
to
<boolean name="prefs_use_gps" value="false" />
push the file back:
adb push com.aws.android_preferences.xml /data/data/com.aws.android/shared_prefs/com.aws.android_preferences.xml
now you can enter settings and enable location services. Just do not enable GPS,
I attached a already modified file. Just rename the txt to xml.
Thanks. Any idea how to get the elite version to work? I added the string from your file, <boolean name="prefs_use_gps" value="false" />, and it did prevent the force close with Location enabled; however, it couldn't find my location. Attached is my com.aws.android.elite_preferences file
I just enable the TetherGPS client when running such apps which crash when trying to access GPS.
richard98 said:
Thanks. Any idea how to get the elite version to work? I added the string from your file, <boolean name="prefs_use_gps" value="false" />, and it did prevent the force close with Location enabled; however, it couldn't find my location. Attached is my com.aws.android.elite_preferences file
Click to expand...
Click to collapse
This is the line that tells it to use the network location. I did not see this line in your file, so I do not know if it will work in your version.
<boolean name="prefs_use_network" value="true" />
If you have problem with auto download in whatsapp this trick can disable it
1. Open solid explorer or root explorer
2. Open data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml
3. Open with text editor
4. add <boolean name="autodownload_images" value="false" /> place it above <boolean name="conversation_sound" value="true" />
5. Save and exit
6. Look in whatsapp>setting>chat settings
and walaaaaaaa :good:
i hope this can help you
does the root explorer must be paid ?
linkinpark_46 said:
If you have problem with auto download in whatsapp this trick can disable it
1. Open solid explorer or root explorer
2. Open data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml
3. Open with text editor
4. add <boolean name="autodownload_images" value="false" /> place it above <boolean name="conversation_sound" value="true" />
5. Save and exit
6. Look in whatsapp>setting>chat settings
and walaaaaaaa :good:
i hope this can help you
Click to expand...
Click to collapse
-----------------------------------------------------------------
i cant reach the data/data .......... its always empty or have no permission to enter (NO ROOT ACCESS AVAILABLE) .. so it must be the app root explorer paid ?
paulantoun said:
-----------------------------------------------------------------
i cant reach the data/data .......... its always empty or have no permission to enter (NO ROOT ACCESS AVAILABLE) .. so it must be the app root explorer paid ?
Click to expand...
Click to collapse
have you rooted your phone?
awesome guide
thanks very much for share this
not working ...
since whatsapp automatically replace it ...
ps: have it work ...
before you edit the file ... make sure to kill whatsapp first (running and cache process) through setting
Sent from my LT18a using Tapatalk 2
Or you can download whatsapp plus, and enjoy tons of other features including this one
Sent from my Xperia Ray using Tapatalk 2
great guide thanks
Hi
Since the last google services update an option to disable the confirmation box every time you used google high accuracy location was introduced. I would like to know how to reset that option so the box will appear each time? The only reason I checked this box was to see if there was an issue causing google services to crash.
smelllllllllll said:
Hi
Since the last google services update an option to disable the confirmation box every time you used google high accuracy location was introduced. I would like to know how to reset that option so the box will appear each time? The only reason I checked this box was to see if there was an issue causing google services to crash.
Click to expand...
Click to collapse
I'd go to Settings > Applications > All >
Then uninstall Google Services update, reboot, then update it again.
es0tericcha0s said:
I'd go to Settings > Applications > All >
Then uninstall Google Services update, reboot, then update it again.
Click to expand...
Click to collapse
Cheers dude never thought of doing it that way. After playing about for a while I found a way to enable it again.
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" />
smelllllllllll said:
Cheers dude never thought of doing it that way. After playing about for a while I found a way to enable it again.
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
was searching for a solution and tried this, but no go. so i just wiped data for google play services from TiBu and that worked.
posting a response in case someone else wanted another solution.
enjoy.
smelllllllllll said:
Cheers dude never thought of doing it that way. After playing about for a while I found a way to enable it again.
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
Thank you very much.
I had to reboot the device to make the changes take effect.
Does In the last update the check box is gone?
Anyone also see this?
How you edit that file - com.google.android.gms ?
It says access denied!
I have a Nexus 5 with Android 6.01 rooted.
I found the file but it did not contain:
<boolean name="confirmNlp" value="false" />
I added it. Unfortunately, before I tested it I re-booted the phone and the line disappeared.
I notice it has another entry:
<boolean name="nlpAllowedByUser" value="true" />
Does this have anything to do popup?
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
Add jellybean like Wi-Fi & Bluetooth ON/OFF switch in title_bar.
This is a cool guide to add Wi-Fi or Bluetooth switch in titlebar as you can see in jellybean.
This mod work will on any gingerbread running phone.
Things you need:-
Apktool/Apk-Multitool
Notepad++
Basic knowledge about compiling & decompiling.
Basic knowledge about xml editing & modding.
Settings.apk from your rom
Click to expand...
Click to collapse
Lets start:-
Step-1
First of all decompile your settings.apk
Step-2
Now download this
and extract it.
Open & copy the "res" and paste it in your decompiled "settings" folder
Step-3
Now goto settings/res/xml and open wifi_settings.xml
Here you will see a line like that:
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
Step-4
Add this android:layout="@layout/sachin_wifi_switch" Now it will look like this:
Code:
<CheckBoxPreference android:persistent="false" [COLOR="red"]android:layout="@layout/sachin_wifi_switch"[/COLOR] android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
now save and close it.
Step-5
Now open bluetooth_settings.xml
and find this:
Code:
<CheckBoxPreference android:title="@string/bluetooth" android:key="bt_checkbox" android:summary="@string/bluetooth_quick_toggle_summary" />
Step-6
Here add this android:layout="@layout/sachin_bt_switch"
and now it will look like this:
Code:
<CheckBoxPreference [COLOR="red"]android:layout="@layout/sachin_bt_switch"[/COLOR] android:title="@string/bluetooth" android:key="bt_checkbox" android:summary="@string/bluetooth_quick_toggle_summary" />
save and close it.
Step-7
Now open AndroidManifest.xml in "Settings" folder.
Here find this:
Code:
<activity android:label="@string/wifi_settings" android:icon="@drawable/mainmenu_icon_wifi_settings" android:name=".wifi.WifiSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
Step-8
After "activity" add this android:theme="@android:style/Theme.NoTitleBar"
like this:
Code:
<activity [COLOR="red"]android:theme="@android:style/Theme.NoTitleBar"[/COLOR] android:label="@string/wifi_settings" android:icon="@drawable/mainmenu_icon_wifi_settings" android:name=".wifi.WifiSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
now find this:
Code:
<activity android:label="@string/bluetooth_settings_title" android:icon="@drawable/mainmenu_icon_bluetooth_settings" android:name=".bluetooth.BluetoothSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
similarly do here, add android:theme="@android:style/Theme.NoTitleBar" after "activity".
like this:
Code:
<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/bluetooth_settings_title" android:icon="@drawable/mainmenu_icon_bluetooth_settings" android:name=".bluetooth.BluetoothSettings" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation">
save and close it.
and you are done with modding.
Now compile & Sign the new Settings.apk
and push it to system/app and change the permission to rw-r-r
Enjoy! Press THANKS if you like it
HIT HARD
HIT OFTEN
#Roman Empire
Regards:- Sachin Kumar53