I would like to write a script to make a custom toggle in quick settings open up the power widget. Anyone willing to either help me learn about writing script or to tell me the script to enter to make this magick happen?
Thank you in advance...:beer:
Sent from my Nexus 7 using xda app-developers app
Hi,
It's not with a script that you can do that, but you have multiple solutions:
- Decompile/modifie/recompile the SystemUI.apk and Framework (at least), there is some guides but it's the harder thing (like this for example then edit the quick settings).
The easy way is to use:
- A custom rom that allows quick settings management (see dev section).
- Use an app like Power Toggles or Notification Toggle.
- Use Xposed framework with Xposed modules like Gravity Box.
It depends if you are rooted or not, if you want to flash a custom rom, etc...
I'm sorry, I probably should've mentioned this before hand. I'm currently running slimkat 2.3, which, I don't know if your familiar with. But it has "The Chamber of Secrets", which allows you to basically write a custom shortcut to edit any setting within the build prop. ( Now you should know I'm guessing at its full capabilities because I don't know how to use it and I'm asking for help)
I'm not new to flashing ROMs, kernels or apks, but I've never compiled my own ROM. And I don't really have the capability or need to do so. From what I understand, the chamber of secrets is pretty amazimg , I just want to know how to use it.
Sent from my Nexus 7 using xda app-developers app
mrminor13 said:
I'm sorry, I probably should've mentioned this before hand. I'm currently running slimkat 2.3, which, I don't know if your familiar with. But it has "The Chamber of Secrets", which allows you to basically write a custom shortcut to edit any setting within the build prop. ( Now you should know I'm guessing at its full capabilities because I don't know how to use it and I'm asking for help)
I'm not new to flashing ROMs, kernels or apks, but I've never compiled my own ROM. And I don't really have the capability or need to do so. From what I understand, the chamber of secrets is pretty amazimg , I just want to know how to use it.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hai. Author here.
I routinely search xda for the chamber to make sure nobody has done anything TOO stupid with it lol.
Anyway.
Power menu isn't in it's capabilities.
However...wrote up a powemenu shortcut for slim shortcuts.
Merged...so will be in the next build.
Jubakuba said:
Hai. Author here.
I routinely search xda for the chamber to make sure nobody has done anything TOO stupid with it lol.
Anyway.
Power menu isn't in it's capabilities.
However...wrote up a powemenu shortcut for slim shortcuts.
Merged...so will be in the next build.
Click to expand...
Click to collapse
Thanks juba. I didn't want to clog up the thread with my ignorance. I would really like to learn though. I tried doing some research on my own last night on the Settings.java file. But not sure what in looking at.
If you could please point me in the right direction to start learning it would be much appreciated. I understand that I could really needs things up if I do the wrong thing. And don't want to do that. However, I'm a pretty competent person and want to learn.
Thank you for all the work you have done for our perfect ROM!
Sent from my Nexus 5 using xda app-developers app
mrminor13 said:
Thanks juba. I didn't want to clog up the thread with my ignorance. I would really like to learn though. I tried doing some research on my own last night on the Settings.java file. But not sure what in looking at.
If you could please point me in the right direction to start learning it would be much appreciated. I understand that I could really needs things up if I do the wrong thing. And don't want to do that. However, I'm a pretty competent person and want to learn.
Thank you for all the work you have done for our perfect ROM!
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Well.
The settings.java file lists all possible system settings.
For example...
Say I wanted to make a shortcut to turn my status bar clock a different color.
I'd search the file for something that looks like a match...
Like Ctrl+f > "clock"
Next...next...next...etc.
Oh, look. "statusbar_clock_color"
That sounds right.
Add to chamber.
Checkbox? No...that isn't a checkbox setting.
Values?
Here's where it gets tricky.
Check boxes and colors...simple.
Colors: input like it tells you to in the dialog.
-2 means default for us...so you could do red,#ff00aacc,-2
For example...to switch between those three values.
List preferences...
https://github.com/SlimRoms/packages_apps_Settings/blob/kk4.4/res/values/slim_arrays.xml
As you can see...the top bunch is for what looks like led timeout settings...
So if I wanted to change those...
I'd find the setting in settings.java...
Input desired values. Such as 0,2500
Which matches to always on and long.
Thank you. I'm going to be delving into this this weekend.
Sent from my Nexus 5 using xda app-developers app
Related
Hi,
I am Android newcomer.
With WinMobile could be set somewhere in the Regestry the duration of the vibration of the haptic feedback (eg 20 ms). Where and how can I set for Android. For example. It is at "SwiftKey" possible, of course, only for the program, I would like to keep it for the whole Androidfeedback, I find the vibration that is too long! ...
Greetings
Johannes
PS. Sorry for my poor english
I second this and would even pay for it via paypal or market
I'm researching this exact issue for someone over on Android forums. Has anyone learned if it is possible to change the vibration specs in Android?
For root user, There is a menu in cyanogen menu that allows you to tune the time and pattern you want.
Hope this help.
Accidentally sent from my Nexus S using XDA Premium App
melvinchng said:
For root user, There is a menu in cyanogen menu that allows you to tune the time and pattern you want.
Hope this help.
Accidentally sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
This seems to have been removed in CM9 and I miss the feature.
I really would love to look at this more and I've tried to search the source for the CM7 settings app but I can't find where this setting is implemented. I would love to create a mod for this since it seems CM9 are not implementing a lot of old features.
If someone knows where I could look further to find out how this is achieved I would love a pointer
There is a Play Store app named Vibrate Smart that may have what you seek.
Zoandroid said:
There is a Play Store app named Vibrate Smart that may have what you seek.
Click to expand...
Click to collapse
Thanks for the tip but I'm afraid it doesn't seem to allow me to manually set "ms duration" which is the feature I'm looking for... So still looking for either the correct source for this in CM7 to base it on or any other input that might lead further
this is a very beautiful rom, but the background is so stupid, make every think hard to read. can some body tell me the location to change this background. thanks.
Are you kidding?? Go to gallery, choose picture, set as > wallpaper.
Sent my thoughts to your head with XDA App
eyahl said:
Are you kidding?? Go to gallery, choose picture, set as > wallpaper.
Sent my thoughts to your head with XDA App
Click to expand...
Click to collapse
@eyahl... maybe he's asking to change the background for the app drawer, and not the wallpaper...? If you look at the attached pic carefully, you'll realize its not the homescreen, but the app drawer, which has probably been modified in whatever garish looking ROM that is...
Although the other possibility is that the app drawer is completely transparent, in which case your suggestion is perfect . But i doubt that, because you can't see any other homescreen elements through the background, which would have been visible if the app drawer had been transparent (clock, other widgets, etc), so i think my hunch above is correct. (Also, I can't believe that the OP managed to flash an entire custom ROM without having the slightest idea regarding changing the wallpaper...wouldn't that be something!! )
enigmaamit said:
Also, I can't believe that the OP managed to flash an entire custom ROM without having the slightest idea regarding changing the wallpaper...wouldn't that be something!! )
Click to expand...
Click to collapse
Well, I've seen a lot things here I couldn't believe..
But I think you are right.
Anyways, changing the app drawers background is not that easy if it's not featured by the ROM.
@op
what the hell is that ROM you're using??
Sent my thoughts to your head with XDA App
eyahl said:
Well, I've seen a lot things here I couldn't believe..
But I think you are right.
Anyways, changing the app drawers background is not that easy if it's not featured by the ROM.
@op
what the hell is that ROM you're using??
Sent my thoughts to your head with XDA App
Click to expand...
Click to collapse
It's some Chinese ROM, most probably from the GoApk forum.
yes, i'm asking is the background of the Application panel, here is the link of the rom, it is a chinese rom , but with multi language.
fengbao.com/android_rom/htc_desire_s_rom/rom_114148_Dot_html
help me..................help me..............
gianghung79 said:
help me..................help me..............
Click to expand...
Click to collapse
Okay, i'll give you the easiest and best way out.
Flash Endymion.
You could use another launcher. Also try alt app draw (search the forum)
Sent from my HTC Desire S using XDA App
yeah you should stick with well known roms where you can get support, but there is a problem that needs to be solved so try pressing menu from within the app drawer to see if anything pops up , or it could be somewhere in the settings, it has to exist somewhere, if not consider another launcher
http://forum.xda-developers.com/showthread.php?t=1210143
Look for "Custom background app drawer", and follow the steps given.
I remember before valhalla final that whitehawk included hiding clock in his tweaks app and now it's not available anymore. So how else can you hide the clock?
Sent from my SGH-T959V using XDA App
You know... more info would be great like a simple what rom you're using. Then you might receive some help.
If you using aosp style, valhalla or valhalla black... then go to tweaks in settings and in the clock options you will see how to do it and also many other options.
chris31jct said:
You know... more info would be great like a simple what rom you're using. Then you. Then you might receive some help.
If you using aosp style, valhalla or valhalla black... then go to tweaks in settings and in the clock options you will see how to do it and also many other options.
Click to expand...
Click to collapse
This is why this community is down under because of smartass comments like yours. Wowee I completely forgot to mention what rom I am using, omg it's the end of the world.
There are many other options under tweaks?! Who knew?! This is where you didn't really read what I posted. There is no such option to hide or remove the clock like it did before. I'm using valhalla black like it wasn't obvious enough. Can anybody else, preferably a dev, help me with this? Thanks.
Sent from my SGH-T959V using XDA App
Under clock options. Choose Clock Color. You could make the color of your clock black and that way you wouldn't be able to see it and effectively hide it.
I know it's not the same as hiding it where the other icons would slide right to fill the gap. Just a thought I had.
Jerry D said:
Under clock options. Choose Clock Color. You could make the color of your clock black and that way you wouldn't be able to see it and effectively hide it.
I know it's not the same as hiding it where the other icons would slide right to fill the gap. Just a thought I had.
Click to expand...
Click to collapse
I was thinking of doing that if I don't get it removed. Thanks for your help.
Sent from my SGH-T959V using XDA App
LOL Don't blame it on me. The forum its floded with useless crap and I wasn't trying to be rude but now I am. Why the hell would you want to remove the clock? If you are such a great innovative asker noob then you could just figure out to change color to black since there aren't any more option in any rom to let you deal with that sort of things. Besides that, learn to code and my guess is that you would have to change many stuff from internal to design. Good luck. I hold no grudge against you. Answer w/e you want. I rest my case.
neotoky said:
This is why this community is down under because of smartass comments like yours. Wowee I completely forgot to mention what rom I am using, omg it's the end of the world.
There are many other options under tweaks?! Who knew?! This is where you didn't really read what I posted. There is no such option to hide or remove the clock like it did before. I'm using valhalla black like it wasn't obvious enough. Can anybody else, preferably a dev, help me with this? Thanks.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
I doubt a developer would be that interested in chiming in on this one... Though have you considered changing the launcher, adw allows you to completely hide the status bar, I know it's not the answer you may be seeking just an option
Sent from my SGH-T959V using xda premium
decompile the apk
/res
/layout
/statusbar.xml
Remove the clock line recompile and flash If that causes issues. U can always just change the clocks dpi to 0 which effectivly hides it. Next time please state which rom you are on ( for anything based on stock this will work..) Themers would have known this one 2
Hello,
Has anyone noticed that you no longer have the "select input method" notification in update 7? I had it in update 4. When I went over to update 7 (and subsequently 8), that option is missing. So the only way to change input method is to go all the way into settings. The notification is available after the base zx install, but the update wipes it out. Is there a simple setting somewhere to turn it back on? I searched in this and the dev forums and cannot find it.
Otherwise it's a great ROM. Thanks dev!
This is a one time thing. U don't change input method all the time on the fly. It is a bug none the less, but one that may only bother a select few users... maybe only u
Did the dev explicitly say that? GB was long press in the input part to bring up the option to change input method. I'm pretty sure the notification is ICS's replacement, as the stock Nexus does this. You have to explicitly turn it off in a custom rom. Some kind of shortcut is needed for many many multi-lingual users. I use English most of the time except for a chat app. Don't have to have the notification if bothers others, but a shortcut to bring up the dialog should definitely be available.
seanzscreams, can you please comment? It's a great ROM and thanks.
freakius said:
Did the dev explicitly say that? GB was long press in the input part to bring up the option to change input method. I'm pretty sure the notification is ICS's replacement, as the stock Nexus does this. You have to explicitly turn it off in a custom rom. Some kind of shortcut is needed for many many multi-lingual users. I use English most of the time except for a chat app. Don't have to have the notification if bothers others, but a shortcut to bring up the dialog should definitely be available.
seanzscreams, can you please comment? It's a great ROM and thanks.
Click to expand...
Click to collapse
If ur looking for dev feedback, comment in the rom dev thread, send a pm, or both. He probably won't see it here.
icenight89 said:
If ur looking for dev feedback, comment in the rom dev thread, send a pm, or both. He probably won't see it here.
Click to expand...
Click to collapse
Geez, ice !! You ever sleep or what.! You are on almost all the threads !!
Lol!!
chappatti said:
Geez, ice !! You ever sleep or what.! You are on almost all the threads !!
Lol!!
Click to expand...
Click to collapse
I get bored easily lol, xda is what keeps me entertained . My current goal is 3000 posts in the next two months and a 500+ thanks meter. Helping people is good
base to update changes a lot
I've noticed that the non-wipe updates on this ROM do change or eliminate some of the cooler features of the base. For instance, the settings in the base have the different colored, more detailed icons, while the update changes them all to boring blue.
As for the input method, I believe that in ICS, you change that under settings, language and input. In ICS, you can choose multiple keyboards or input methods, with one as "default". I haven't experimented yet, but perhaps the option to switch only shows up if you have multiple input methods selected? Can anyone verify this?
I'm new, so I hope this helps...
EDIT: Yeah, I tried checking off three different keyboards, but the long-press feature isn't there. Now I remember the notification bar change in ICS. The only way I can find to change the keyboard in this ROM is to go into settings and change the default. Not too bad of a task, but more tedious than before. There may be some shortcut apps in the play store that could help?
Isnt there an option on your status / menu bar... That's were it is in smooth ice
Sent from my SAMSUNG-SGH-I727 using xda premium
icenight89 said:
I get bored easily lol, xda is what keeps me entertained . My current goal is 3000 posts in the next two months and a 500+ thanks meter. Helping people is good
Click to expand...
Click to collapse
You'll make that in the next week.......!!
Thanks LPMatt and droid512. I know in most other ICS ROMs, including stock, the standard way to change input method is to use the little icon in the status bar. That's what I meant by "change input method notification". I also know you can always go through settings to change. To go through settings, I would have to get out of the app I'm using and it's a lot of hassle. Dating back to eclaire Android has provided the shortcut (used to be long press until ICS changed it to the notification/status bar). Looks like Sky ICS ROM latest update just disabled a standard feature, either intentionally or unintentionally. While icenight89 is quite knowledgeable in general, I think he's misinformed about the nature of the feature because he doesn't have to use different keyboards for different languages. It is indeed a standard feature in ICS, not a "one time thing" or bug. I don't have enough posts to post in the dev forum that's why I posted here to see if any other multi-lingual user of Sky ICS has encountered this. I have also PM'ed the dev.
I'm quite knowledgeable?? Aww shucks, thanks friend.
To be honest, u are absolutely correct, I am not a multi-lingual user so I did not even know this feature was present. Based on the discussion I assume your talking about a quick select shortcut from the drop down menu that let u change ur keyboard on the fly?
If that is so its quite possible and highly likely he disabled it in the latest update, as that feature would be present in either systemui.apk or framework-res.apk, all of which were updated in D-7. My advice? See if u can get D-6 off someone then flash the base, D-6 and then D-8 until he gets around to fixing it
icenight89 said:
I'm quite knowledgeable?? Aww shucks, thanks friend.
To be honest, u are absolutely correct, I am not a multi-lingual user so I did not even know this feature was present. Based on the discussion I assume your talking about a quick select shortcut from the drop down menu that let u change ur keyboard on the fly?
If that is so its quite possible and highly likely he disabled it in the latest update, as that feature would be present in either systemui.apk or framework-res.apk, all of which were updated in D-7. My advice? See if u can get D-6 off someone then flash the base, D-6 and then D-8 until he gets around to fixing it
Click to expand...
Click to collapse
See you just proved your knowledge in pointing out the 2 possible apk that is present I think D-8 probably has a new one so flashing D-6 then D-8 would overwrite it again. I'll see if I can pull those apk's and use rom kitchen to make a new one until he gets around to changing it. Who knows, it's possible he did it on purpose as i have seen people complain about it since ICS came out. Most non-multilingual users find it annoying. I actually do too. I prefer the old long press way! Thanks again.
nope, just checked. He only changed the framework-res.apk in the D-8 update. What i suggest you do is pull systemui.apk from the original base first and replace it with root explorer. If that fixes it then you can safely flash the new update rom kitchen just the one apk.
icenight89 said:
nope, just checked. He only changed the framework-res.apk in the D-8 update. What i suggest you do is pull systemui.apk from the original base first and replace it with root explorer. If that fixes it then you can safely flash the new update rom kitchen just the one apk.
Click to expand...
Click to collapse
Got it. Will try. Thanks! How do you check what he changed btw? I've only done the basics in ROM kitchen.
Well tried to put systemUI.apk from zx2 base and didn't work. I guess I'll see if dev will respond or put it back in later. If not, I'll have to decide if the hassle is worth it or change to another ROM. Thanks everyone.
I figured the knowledgeable people here could point me to apps (that require root or not) that do things that xposed used to do but now can't:
•Slide on notification bar for brightness (not an actual slider just able to slide)
•lockscreen app targets
•edit quick toggles in any way shape or form
•edit nav bar height
•change recents button into a menu button and remove three dot menus
•advanced power menu options
any info is appreciated!
Sent from my Nexus 5 using XDA Free mobile app
I wouldn't say it's useless. The developer has stated if he can find a way to bring it to Lollipop, that he will. Rather it's just unusable for now.
Sent from my Nexus 5 on Lollipop 5.0
Lollipop just came out.
Its going to take time to get get custom roms and features rolling
Users need to stop with the [Request] threads. You want something bad enough, learn to dev and make it happen. MOD EDITED - BE RESPECTFUL!!!
Most of the things you mentioned have to be a system modification not an app. Check out the lollipop custom ROMs, some of them have a few of the features you desire. It might be a few months to get Xposed working if possible even. You could always revert to 4.4.4 too.
Badd_blood said:
Most of the things you mentioned have to be a system modification not an app. Check out the lollipop custom ROMs, some of them have a few of the features you desire. It might be a few months to get Xposed working if possible even. You could always revert to 4.4.4 too.
Click to expand...
Click to collapse
Thank you for a legitimate answer with zero arrogance. Much appreciated.
I know all of my requests are system edits, was just curious if there were apps out that would do all or some. Already found an app for apm and nav bar edits.
Sent from my Nexus 5 using XDA Free mobile app
Phaded said:
Thank you for a legitimate answer with zero arrogance. Much appreciated.
I know all of my requests are system edits, was just curious if there were apps out that would do all or some. Already found an app for apm and nav bar edits.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Perhaps you can share the apps you found so far? Im following your thread bro.
Xposed is just so good, it became a must in my phone. I want so many features from it and its modules too
I search for xposed at least 3 times per day and i didnt find any useful information but a reply of rov89 a month ago saying it was going to be hard to merge xposed to lollipop because of new ART runtime. So i find this post very useful as we can share temporary patches until xposed is released for lollipop.
* Intelli3G: Your internet is set to EDGE while phone is locked, but when you unlock it you get 3G/4G (until you lock)
* Lots of gravitybox features:
-change battery icon and clock position in the info bar ( percentage + circle battery!)
-flash activated when you pulse the lockscreen for 3secs (stupid ye but very useful for me)
* Burnt toast: that was so cool (show app icon in toast--> superSU permissions)
*App settings: so i can put safari in immersive mode
Cant remember more at the moment but if you know any app with similar features post them here please
For battery percent:
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
On Lollipop the percentage is visible even with full battery.
You know if Xposed doesn't come back I am kinda okay with it. Towards the end of Kitkat it seemed like any really useful app that came out needed Xposed to run. It was like as if app creators ran straight towards Xposed instead of using different methods. I know for some things you needed to be able to hack further than root allows but I would guess that a few Xposed modules could have achieved the same result through different means. I'm probably wrong though.
As well intentioned as this thread was, it still got almost completely derailed... Shame.
One feature I'm looking forward to is customizing the slides on Lock screen.
Dialer and camera shortcuts are great but I am so spoiled now.
killersloth said:
As well intentioned as this thread was, it still got almost completely derailed... Shame.
One feature I'm looking forward to is customizing the slides on Lock screen.
Dialer and camera shortcuts are great but I am so spoiled now.
Click to expand...
Click to collapse
ok ....u should try Launcher based on cm which might fulfil ur needs at the moment......Its quite new rom so wait till devs figure out how to's.....
ENOUGH!!!!!
I suggest everyone contributing to that pointless childish argument selfishly wasting EVERYONE'S time
Read the forum rules regarding member conduct - I have no problem actioning those who do post disrespectfully!
This is NOT a damn social site..stick to G+ for your immature flaming
This is a development site and as such keep this thread on topic
People are looking for alternate solutions while Xposed is being worked on to be ART compatible
So either contribute or don't post!
(Gonna make me lose my "Friendly"!)
Thank you for your cooperation
Friendly Neighborhood Senior-Mod
Is there any way to theme icons without a launcher? As far as I know, no launchers support Google Now (which I really like having as a screen), which is, unfortunately, my biggest deterrent. While devs adjust to the finer points of ART, I really, really miss my icons. ;_;
Display brightness for notif bar slider brightness
Jason_MCG said:
Is there any way to theme icons without a launcher? As far as I know, no launchers support Google Now (which I really like having as a screen), which is, unfortunately, my biggest deterrent. While devs adjust to the finer points of ART, I really, really miss my icons. ;_;
Click to expand...
Click to collapse
Yes ?, there is, not in the app drawer but u can do it on the home screens, there u go mate:
https://play.google.com/store/apps/details?id=com.momocode.shortcuts
This is mine, using Gnow launcher
Jason_MCG said:
Is there any way to theme icons without a launcher? As far as I know, no launchers support Google Now (which I really like having as a screen), which is, unfortunately, my biggest deterrent. While devs adjust to the finer points of ART, I really, really miss my icons. ;_;
Click to expand...
Click to collapse
This should work...
https://play.google.com/store/apps/details?id=com.jy.iconchanger.ad
I'm still more than happy with 4.4.4 so just going to stick with that for the foreseeable future. I see nothing in Lolipop to draw me away all the cool stuff you can do with Xposed.
CitizenLee said:
This should work...
https://play.google.com/store/apps/details?id=com.jy.iconchanger.ad
I'm still more than happy with 4.4.4 so just going to stick with that for the foreseeable future. I see nothing in Lolipop to draw me away all the cool stuff you can do with Xposed.
Click to expand...
Click to collapse
Coming from 4.4.4, I completely agree. I sort of regret switching.
Nav bar?
Phaded said:
Thank you for a legitimate answer with zero arrogance. Much appreciated.
I know all of my requests are system edits, was just curious if there were apps out that would do all or some. Already found an app for apm and nav bar edits.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Well, what did you find man. I mean that is what you started this thread for.
Rastapop is pretty good and hits most of those bases.
Jason_MCG said:
Coming from 4.4.4, I completely agree. I sort of regret switching.
Click to expand...
Click to collapse
I bought my Nexus 5 from someone who had Lollipop installed on it.
I reverted back to 4.4.4 and don't regret it, it's not that hard