Hello guys
How to hide the data usage from the android settings in Xperia J?
I mean how to edit the settings apk and do it?
The phone is in stock ROM and stock kernal.
Thanks in advance
Sent from my Xperia
Hello... Anyone?
Sent from my Xperia Mini
On AOSP it works like this:
NetworkManagementService (system service) checks for kernel support (checks if /proc/net/xt_qtaguid/ctrl is present) and either enables or disables bandwidth control
Settings app queries bandwidth control state from NetworkManagementService, hides UI entry point if not supported.
The two most sensible options would be to either modify Settings to never display the UI entry point (keeping the functionality, just not accessible), or run a custom-built kernel that doesn't include the feature at all (entirely disabling it).
This app allows you to create shortcuts for any system setting on your device.
Basic actions are also available to toggle a few things. These basic actions currently include:
Toggle Quiet Hours
Toggle Rotation Lock
Toggle Unlimited Screen Timeout
Toggle Active Display
Advanced users!
Change any checkbox preference, list preference, or color preference for your ROM that has a system setting link.
For example:
https://github.com/AOKP/frameworks_base/blob/kitkat/core/java/android/provider/Settings.java
https://github.com/omnirom/android_...-4.4/core/java/android/provider/Settings.java
https://github.com/CyanogenMod/andr...10.2/core/java/android/provider/Settings.java
https://github.com/ParanoidAndroid/...jb43/core/java/android/provider/Settings.java
Here lie some settings projects with values you can use if you're running these respective ROMs.
The "Advanced Shortcut" will ask for a few inputs. For example:
"quiet_hours_haptic" > checkbox ? Yes.
And each click will cycle the setting on/off.
Or, you can input "quiet_hours_haptic" > checkbox ? No > 1
To turn the setting ON no matter what state it's in.
Currently, SECURE settings are unsupported for KitKat
Only SYSTEM settings will be accepted.
SECURE settings can be modified if you have root access on Android 4.3 and lower.
Special thanks to Stericson for his RootTools library:
https://github.com/Stericson/RootTools
A donate version is available via the Play Store. Currently both versions are the same.
Recent Changes:
===2.2.1===
-AOKP Color settings fix
-ICS (4.0) support
===2.2.0===
-Small AOKP Settings Table Check to grant access to only applicable settings
-Screen Timeout now accepts two values (set both to the same if you want ONE action)
-Active Display Toggle for ROMs that support it
===2.0.0===
-AOKP Settings Table Support!
===1.2===
-Check Developer Options before Advanced Shortcuts
-Add Quiet Hours Toggle
-Add Rotation Lock Toggle
-Add Screen Timeout Toggle
(Toggle between user-picked 15/30 seconds / 1/2/5/10/30 minutes and UMLIMITED screen timeout)
===1.1.1===
Secure Settings for JellyBean and below
(ROOT required)
===1.0===
Initial release
XDA:DevDB Information
ADVANCED SETTINGS SHORTCUT
Contributors
Jubakuba
Version Information
Status: Stable
Current Stable Version: 1.1.1
Created 2014-01-29
Last Updated 2014-01-29
Mine.
First update released. Should be final for some time.
Allow Secure Settings modifications for JellyBean and below.
I just picked up the play store version. no idea what I'm going to do with this yet but it looks cool and I like to play
PhilDX said:
I just picked up the play store version. no idea what I'm going to do with this yet but it looks cool and I like to play
Click to expand...
Click to collapse
D'aw. You didn't have to do that Phil =] thanks.
Edit: AOKP Added, nvm.
Updated. Play store should refresh soon. New APK here already.
:highfive: yay, kit's first play store app! i bought it before i even tested it. (try refunding that one, beeotch )
(who would settle for the xda version anyway? play version auto updates!)
anyway, seems very cool, and i'm excited to see where this app goes!
Chamber of Secrets? Looks pretty cool! Nice work
dankoman said:
:highfive: yay, kit's first play store app! i bought it before i even tested it. (try refunding that one, beeotch )
(who would settle for the xda version anyway? play version auto updates!)
anyway, seems very cool, and i'm excited to see where this app goes!
Click to expand...
Click to collapse
You're bad and you should feel bad =P
Thanks buddy.
TheBr0ken said:
Chamber of Secrets? Looks pretty cool! Nice work
Click to expand...
Click to collapse
Practically. Minus Secure Settings (KitKat).
Plus aokp's settings table integration.
The additional toggles are rewritten as well to use publicly documented APIs and, again, integrate with AOKP's settings table.
So...slightly less powerful than the Chamber.
Even more so once the chamber integrates with the custom tiles to create settings resolvers.
Thanks.
Cool, I have a new toy. Thank you J.
doesn't seem to work with MOAR 8.0 rom, can't find the program shortcut in apps drawer. it does show up in settings>app manager though.
i really got excited when i found this in play store! purchased, but clicked refund when it didn't show in app drawer.
am i missing something? or just not compatible with my rom?
SCH-I535 Galaxy S3
4.3 JB / VRUCML1 OTA firmware /VERIZON
rooted with saferoot / flashed in safestrap
MOAR 8.0 / Xposed Framework
joemichaels239 said:
doesn't seem to work with MOAR 8.0 rom, can't find the program shortcut in apps drawer. it does show up in settings>app manager though.
i really got excited when i found this in play store! purchased, but clicked refund when it didn't show in app drawer.
am i missing something? or just not compatible with my rom?
SCH-I535 Galaxy S3
4.3 JB / VRUCML1 OTA firmware /VERIZON
rooted with saferoot / flashed in safestrap
MOAR 8.0 / Xposed Framework
Click to expand...
Click to collapse
If you long-press the home screen in most launchers you can access shortcuts. Some launchers require you to open the "widgets" tab. But you'll find it in one of those places...
It doesn't have an app-drawer shortcut since there's no need to launch an app activity with it =]
Help
I'm a newbie. So I can't use the tool
Please can someone help me to toggle cell broadcast receiver on/off on aosp message com.android.mms?
Jubakuba, could you please confirm that with this app, under the "advanced shortcut" option, you can:
- select a preference listed in the setting.java file (and those preferences are all the preferences also present in the "settings" app)
- create a number of shortcuts for the selected preferences to toggle or values to cycle through (i.e. I want brightness to be either 10 or 20 or 100)
If this is correct I bet this app could be the base for a killer application in android as Tasker is...provided that you give more examples and give the set (may be in the four settings.java files you mention) of the preferences we're entitled to use.
Cutting a long story short: between you and the success there is...a clear tutorial. And I'm looking forward to reading it !!!
I suspect I've not been direct enough in my previous post, let me re-phrase it:
I'm not finding on my phone (xperia m 4.1.2 rooted) the file settings.java: can I still use the "advanced option" in the app ? Which is the actual name of the file I need to search instead of settings.java ? Any suggestion about how to decompile it ?
the gladiator said:
Jubakuba, could you please confirm that with this app, under the "advanced shortcut" option, you can:
- select a preference listed in the setting.java file (and those preferences are all the preferences also present in the "settings" app)
- create a number of shortcuts for the selected preferences to toggle or values to cycle through (i.e. I want brightness to be either 10 or 20 or 100)
If this is correct I bet this app could be the base for a killer application in android as Tasker is...provided that you give more examples and give the set (may be in the four settings.java files you mention) of the preferences we're entitled to use.
Cutting a long story short: between you and the success there is...a clear tutorial. And I'm looking forward to reading it !!!
Click to expand...
Click to collapse
the gladiator said:
I suspect I've not been direct enough in my previous post, let me re-phrase it:
I'm not finding on my phone (xperia m 4.1.2 rooted) the file settings.java: can I still use the "advanced option" in the app ? Which is the actual name of the file I need to search instead of settings.java ? Any suggestion about how to decompile it ?
Click to expand...
Click to collapse
Sorry for the slow response, this thread is on my backburner apparently and have completely forgotten about it.
Anyway, yes. That can be done.
Your rom is from an OEM, so it isn't open-source...
But you can surely use the values in AOSP, or find the ones being used by your phone via a settings.db viewer.
data/data/com.android.providers.settings/databases/ on you phones file system will have settings.db files...
Not sure what you'd use to look...but RootExplorer, for example, has a basic viewer.
Finding the values, examples, etc...however...isn't something I can do for you.
This is a very advanced app for the advanced shortcut users...and you really just have to know what you're doing, or figure it out.
For your example (just found a settings.java file for Slim, but this is an AOSP key and I highly doubt your phone's OEM has changed the AOSP keys for existing settings).
https://github.com/SlimRoms/frameworks_base/blob/kk4.4/core/java/android/provider/Settings.java
Code:
/**
* The screen backlight brightness between 0 and 255.
*/
public static final String SCREEN_BRIGHTNESS = "screen_brightness";
So if you wanted a toggle between 0/50/100% brightness...
Advanced Shortcut > screen_brightness > not a checkbox > 0,128,255
255 isn't divisible by 2, and int values (the values being used here) don't accept decimals.
So round up to 128.
Very useful solution for toggling Quiet Hours
This app is fantastic. It is the only solution I've found for toggling Quiet Hours using Tasker (and AutoShortcut). I look forward to finding more uses. Thank you for this.
In my case, I use the "Advanced Shortcut" option and use QUIET_HOURS_FORCED as the settings string. This can be set to either 1 or 0 and will enforce quiet hours no matter what the time settings are. Works great. I'm on a nightly build of CM11.
Hellow how can i find shortcuts for stock andorid? i want the shortcut (turn off all sounds) witch is found in accessibility > hearing
Still available ?
Hi !
This is exactely what i need but i d'ont find the application in Play Store and the download version available here is a zip file instead of apk. How can i install it on my phone plz ?
thx.
hello everyone......i have one very big question...
can the GALAXY TAB 2 10.1 WIFI P5110 be made to see...and can it connect to an ad hoc network?
i am trying to set my tablet up for work.
i will not continue if it is not able to.
please let me know....and if it can.....how?
if there is a rom that has ad hoc supported that would be great...
currently i am using cm10.2 nightly android 4.3
i see that this rom may support the ad hoc....but how do i use the kernel?
Android 4.3.1 MoKee Jelly Bean ROM Details:
This amazing MoKee custom ROM comes with tons of new features and is based on Android 4.3.1 Jelly Bean. A quick list of the main features in MoKee is given below and we are sure you’d love to use this on your Galaxy Tab 2 10.1 P5110:
Calendar Add Lunar, Solar, festive
Task switching sidebar in recent apps(as long as you have installed a supported program, it will show more and more icons, allowing you to quickly call)
Lunar lock screen
Bulk SMS Contact
SMS font size adjustment
Magic Fun notes program
smart dialing optimization
ODEX accelerate
Custom height navigation bar
Ad-Hoc peer to peer network connection – Use magic fun built-in kernel, otherwise the function is not available.
thanks!!
[many views.........QUOTE=rster53682;56809257]hello everyone......i have one very big question...
can the GALAXY TAB 2 10.1 WIFI P5110 be made to see...and can it connect to an ad hoc network?
i am trying to set my tablet up for work.
i will not continue if it is not able to.
please let me know....and if it can.....how?
if there is a rom that has ad hoc supported that would be great...
currently i am using cm10.2 nightly android 4.3
i see that this rom may support the ad hoc....but how do i use the kernel?
Android 4.3.1 MoKee Jelly Bean ROM Details:
This amazing MoKee custom ROM comes with tons of new features and is based on Android 4.3.1 Jelly Bean. A quick list of the main features in MoKee is given below and we are sure you’d love to use this on your Galaxy Tab 2 10.1 P5110:
Calendar Add Lunar, Solar, festive
Task switching sidebar in recent apps(as long as you have installed a supported program, it will show more and more icons, allowing you to quickly call)
Lunar lock screen
Bulk SMS Contact
SMS font size adjustment
Magic Fun notes program
smart dialing optimization
ODEX accelerate
Custom height navigation bar
Ad-Hoc peer to peer network connection – Use magic fun built-in kernel, otherwise the function is not available.
thanks!![/QUOTE]
Hi everybody !
I've ported MIUI 7 to my Archos 45 Hélium 4G, but some bugs are presents:
- Heads-Up ( or floating notifications ) dislocated --> Resolved by changing DPI 240 to 210
- Dislocations in interface --> Resolved by changing DPI
- Dislocations in some apps like Calculator or ugly dialer --> No ideas how to resolve it
- Themes don't work properly (like black dialer) --> No ideas too
- Notification toggles are orange instead of white --> No ideas at all
- Changing DPI to a higher value changes style of apps ( better ) --> Guess...
I hope that some experts would help me for this, it's very important for me !
Thanks in advance
I would suggest posting this in an MIUI forum or your device forum. I would suggest installing AOSP apps or apps from the Play Store for better compatibility
Hi BrosseLi,
I would like to use the work you did on the Archos Helium in the forum ArchosLounge in the following post : 45-et-50-Helium-ROM-MIUI-v7-KitKat-(-Stable-traduite-fonctionelle- in archoslounge.net
Unfortunately, the last update you posted (OTA 5.11.27 ===> 5.12.2) is no more available in Google Drive.
Do you have it now? could you add it in this topic, I will update this topic with yours previous works.
If not, could you give me how you proceed to generate it?
I'm in France so you can answer me in French through MP, I will translate your answer to contribute the XDA community!
Thanks a lot,
Helium45b
BrosseLi said:
Hi everybody !
I've ported MIUI 7 to my Archos 45 Hélium 4G, but some bugs are presents:
- Heads-Up ( or floating notifications ) dislocated --> Resolved by changing DPI 240 to 210
- Dislocations in interface --> Resolved by changing DPI
- Dislocations in some apps like Calculator or ugly dialer --> No ideas how to resolve it
- Themes don't work properly (like black dialer) --> No ideas too
- Notification toggles are orange instead of white --> No ideas at all
- Changing DPI to a higher value changes style of apps ( better ) --> Guess...
I hope that some experts would help me for this, it's very important for me !
Thanks in advance
Click to expand...
Click to collapse