Remove Whatsapp status feature in Rooted/Non-Rooted android - Android Q&A, Help & Troubleshooting

Remove Whatsapp status featureRemove Whatsapp status feature
Rooted :
To Remove Whatsapp status feature
0. Force Stop WhatsApp before proceeding.
1. a. For Root Explorers, open the file ‘/data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml‘
b. For SharedPreference Editors, select ‘WhatsApp’ and then select ‘com.whatsapp_preferences‘.
2. Find the key name: ‘status_mode‘ and edit its value from ‘1’ and make it as ‘0’.
From:
<int name="status_mode" value="1"/>
To:
<int name="status_mode" value="0"/>
3. Now, launch WhatsApp and see if there’s a difference
Note: This is currently working in version 2.17.81
Non- Rooted - Visit Source
source : http://developeit.net/remove-whatsapp-status-feature-in-rootednon-rooted-android/

Related

[APP] Uichanger for Custom roms

If you are theming or modding a custom rom you probably thinking to use multiple ui and a switch between them. You can use this app. You can put 3 different UI in your rom and a switcher for those.
How to use:
1) Put it in System/app folder of your rom.
2) Make 3 different themed or modded SystemUI.apk.
3) Name those ui1.pack,ui2.pack and ui3.pack and put those in System/data/uichanger/ folder of your rom.
4) Now decompile the app and open res/values/strings.xml in text editor .
5) Now look for
Code:
<string name="ui1">Xperia UI</string>
<string name="ui2">Touchwiz UI</string>
<string name="ui3">AOSP UI</string>
Change the names as you want. This means if you check Xperia Ui it will set ui1.pack .
6) Now we need your SystemUI.apk path. In strings.xml find
Code:
<string name="systemuipath">YOur SystemUIpath</string>
For lollipop the path is /system/priv-app/SystemUI/SystemUI.apk
FOr kk the path is /system/priv-app/SystemUI.apk
Now just use that.
Any question in comments
App link :
Code:
https://docs.google.com/uc?authuser=0&id=0BySRffw4ufYxcEVoMWVITTVhY1E&export=download

Reset Location to Device Only

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.

Enable 4G only for rooted devices

in the name of God
My name is Ali i am going to show you how to enable 4G only
needed:
root access
root browser for example root explorer
instruction:
1.go to
/cust/hw/meafnaf/xml/hw_defaults.xml
2.find this code
<string hw_networkmode_preference="9,3,12,11,1"/>
(may be a bit different in some devices)
3.change it to
<string hw_networkmode_preference="9,3,12,11,1,2,4"/>
4.add this code
<string hw_add_4g_only="432"/>
<integer hw_global_networkmode_settings_enable="1"/>
pay attention:if your device doesnt support Volte
when a person trys to call or send message to you can't
so be careful
I tested it in my honor 8 emui 5

Enable multi-users marshmallows

Enabling multi-user
Decompile framework-res.apk
As of Android 5.0, the multi-user feature is disabled by default. To enable it, device manufacturers must define a resource overlay that replaces the following values in:
frameworks/res/values/bool.xml
frameworks/res/values/integer.xml
<!-- Whether Multiuser UI should be shown -->
<bool name="config_enableMultiUserUI">false</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">1</integer>
Replace the value of config_enableMultiUserUI with: true
Replace the value for config_multiuserMaximumUsers with one greater than 1
recompile and sign

Replacing status bar

Hey,
I have Knox license which with it I have managed to get some system-only permissions. For instance:
"android.permission.STATUS_BAR_SERVICE"
According to the source code:
<!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
@hide -->
<permission android:name="android.permission.STATUS_BAR_SERVICE"
android:label="@string/permlab_statusBarService"
android:description="@string/permdesc_statusBarService"
android: protectionLevel="signature" />
So technically, since Knox said it was able to give my app these permissions I can replace the system's status bar.
Question is, how do I go about doing that?
Thanks, sorry I posted it here, I have too low post count to post in developing sections

Categories

Resources