yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] josh0426:
When you add the volume settings, can you remove the one for Taskmanager since it doesnt do anything?
[Droid Incredible Android Development] mistah_mumford:
All I would like is dBm for signal strength as opposed to bars and I'll be golden. Quick settings and dBm and I have a nice daily ROM.

Sent via Tapatalk
[Droid Incredible Android Development] wdfowty:
That's a simple fix, just a matter of hiding it in the layout xml

@steve, way to come out of left field and drop a bomb like this lol! Kudos man, this is great!
[Droid Incredible Android Development] Marcismo55:
+1. I'm not even using a ROM based on the OTA but this is great.
[Droid Incredible Android Development] josh0426:
I wasnt either, till now. Cant wait for the volume settings:)
[Droid Incredible Android Development] josh0426:
After flashing the quicksettings I lost the larger 3G icon, and it reverted to the stock icon, is there any way to get it back?
[Droid Incredible Android Development] donnyp1:
This made my McRom damn near McPerfect! Thanks Steve!

If ive helped you, please hit the damn thanks button!
[Droid Incredible Android Development] renzo.olivares:
One word BEAST..
[Droid Incredible Android Development] 00McD00:
Are you using one of my roms I assume? If so they will be updated tomorrow. But it's because this mod replaces the SystemUI.apk which is where the data icon is located.

Haha I like the sound of that. They will be updated tomorrow with new features and the quick settings with media controls (when they get finished that is). So should be even more perfect.
[Droid Incredible Android Development] watt9493:
Brightness anyone? I use that a ton.
[Droid Incredible Android Development] 00McD00:
Yeah that's my favorite one too.
[Droid Incredible Android Development] josh0426:
Brightness is in the quicksettings. The ones i use most are the silent vibrate and media volume.
[Droid Incredible Android Development] watt9493:
I don't have it on mcsense. And the flashlight? I've used that on newts roms more then I can count
[Droid Incredible Android Development] 00McD00:
You don't? That's weird, I had it when I was test building this afternoon. The update tomorrow will definitely have it.
[Droid Incredible Android Development] watt9493:
View attachment 704386

That's all I get
[Droid Incredible Android Development] hgoldner:
I always thought JSChiSurf's pull down menu was better than the "new" combination notification and settings menu, plus it was easily customizable via the widgets.txt file.

Looks like the new Magnolia is going to be awesome.
[Droid Incredible Android Development] themusicmonkey:
I'm using this in combination with the Notification Toggle application, and...

I'm now completely satisfied with my OTA ROM.

Well, almost.

I don't like that I can't launch my camera with Notification Toggle. It just loads the camera and only allows you to share the picture, not save it. Adding a camera functionality to this would be awesome!

Flashlight with the death ray setting from Skyraider was something I loved too.
[Droid Incredible Android Development] josh0426:
Did you flash the 2nd one, the bridge over the first one? If you didnt flash it you need to.
[Droid Incredible Android Development] 00McD00:
Looks to me like you don't have the extended one flashed, but idk.
[Droid Incredible Android Development] RoboCuz:
I checked out the extended, looks great! Any chance of getting the screen timeout setting? I like to be able to turn off the timeout occasionally; I find that handy.

Thanks, sorry to keep asking for more and I certainly appreciate the effort, it is really appreciated.

Cheers

Robocuz
[Droid Incredible Android Development] sk806:
The quick settings seem to be limited in terms of what is there, but the JSChiSurf-style widgets are not as much. I am going to port those over soon, as well.

I want to get all of the quick settings working (i.e., get volume working) and then, finish my Magnolia Inc. 1 ROM, then I will port the power widgets.

Steve
[Droid Incredible Android Development] themusicmonkey:
You're awesome! Thanks for your hard work.
[Droid Incredible Android Development] 00McD00:
That'd be awesome if you got those over too. Can't for you to get the media working, my roms are itching for an update ;)
[Droid Incredible Android Development] big_mike_2k6:
This is great stuff. Thank you
[Droid Incredible Android Development] mikesincredible:
awesome sir. confirmed working on minimalist 1.2

*just saw the 2.1 update..sweet
[Droid Incredible Android Development] turboguy:
I would also love to see the notification CM style widgets as a flashable update. This is one reason why I am not using gingerbread yet.

Thanks!
[Droid Incredible Android Development] silverxbv2:
If quick settings can be added, then can ihtfp's Zeus mod be done also? Flashlight, 7 in 1 volume settings, etc?? That would be the way to go.
[Droid Incredible Android Development] Ronin09:
Good post. Works on my Incredibread ROM
[Droid Incredible Android Development] sk806:
Volume Control

Still working on this. Not sure why they didn't have the code for it in the ROM, but am now thinking it may have been for a good reason, as it has been a huge PITA so far. I can get the ROM to boot with the volume coding in, but nothing shows up in the pulldown, and clicking does nada according to the logcat. Will keep you posted.

Steve
[Droid Incredible Android Development] k.electron:
Oh hell yeah those widgets are awesome. free up so much room on the homescreen for useful stuff. It would be spectacular if you get them integrated. I generally like my third rosie button mapped to navigation. I am fine with my first and second being apps and phone respectively.

This rom is so fast i cant bear to switch to another one and those are pretty much 'the' custom features i have really come to love.
[Droid Incredible Android Development] plemelin:
Is there a way to keep the Locations Icon and have this?
[Droid Incredible Android Development] 00McD00:
Having any luck with the media settings/are they looking like a possibility?
[Droid Incredible Android Development] wdfowty:
So i was looking around in the quicksettings and noticed that "volume" was not in the quick_settings layout. Might be your problem? Still learning about the quicksettings stuff, so I could be off.
[Droid Incredible Android Development] jermaine151:
I've made some progress with this today. I've gotten Vibrate mode added into the menu and touching it took my phone out of vibrate mode, but it wouldn't put it back in. I have to tweak my resource ID's I think, but I should definitely be able to add Vibrate and Silent modes by tomorrow. :)
[Droid Incredible Android Development] 00McD00:
Beast mode! The only thing I accomplished was hiding the task manager (after unsuccessfully trying to backport it lol) and I was proud about that. Can't wait until you professionals figure this stuff out.
[Droid Incredible Android Development] sk806:
I have put that in and done everything else in terms of the non-smali aspects of th APK, but the problem seems to be in the smali code. Still working on it.
[Droid Incredible Android Development] jermaine151:
Hey Steve, I have vibrate added (starting small to make sure I know the whole process) and it will enable vibrate mode, but it won't update the "state" of the button, change the text resource or check the box and for this reason it will ONLY enable vibrate mode and not disable it. Any ideas? I'm still troubleshooting and comparing files.

I've attached what I've got so far. LOL @ the fact that I did manage to hide the USB debugging icon. :)
[Droid Incredible Android Development] sk806:
You are referring to quick settings or power widgets? Sorry, getting confused, as I just woke up...
[Droid Incredible Android Development] jermaine151:
I'm referring to quick settings.

EDIT: Darned tapatalk uploaded screenshots are all tiny anymore!!

*** Screw Your Phone's Feelings ...
[Droid Incredible Android Development] sk806:
Thought so. Would you mind posting your SystemUI.apk, so I can look at something in a logcat? Thanks!

Steve
[Droid Incredible Android Development] jermaine151:
I did. :) It's here: http://xdaforums.com/showpost.php?p=17136312&postcount=68

I get info in DDMS for all of my other presses (BT. WiFi, etc) but vibrate just enables vibrate mode and doesn't log anything. :(
[Droid Incredible Android Development] sk806:
D'oh...OK, I have coffee in me now ;). I'll take a look.
[Droid Incredible Android Development] sk806:
I think the issue is in your coding in quicksettings.smali. I added vibration mode as a static field above and the check box shows, but now I/we need to figure out how to fit it into the inflater method. Const/16 v1 0xa, or whatever seems to not properly activate the actual vibration mode smali files you addded, which is where the updating takes place. It also may be a register being off. I will screw around a bit and see what's what.

Steve
[Droid Incredible Android Development] jermaine151:
Thanks Steve. I just woke up and need my coffee now. It's weird that we have opposite nights and days. LOL. I'll take a look and see what you mean. Would you attach the file with your changes?

Edit: I know I had to increase one of the sizes to get it to show the extra item. I think I changed Const/16 v1, 0x9 to Const/16 v1, 0xa, or something like that. I wondered if that only increased the viewable items and maybe I need to increase another to allow the vibrator action. What I don't get is why the action takes place, but the RingerMode()I is just not retrieved to know what the actual ringer's mode is currently. I thought maybe it wasn't correctly checking for the current ringer state. Anyways, hopefully we can figure it out.

*** Screw Your Phone's Feelings ...
[Droid Incredible Android Development] jermaine151:
One more thing. Do you know the best way to throw some debug lines in so I can tell how far it makes it thru the methods or make it lprint what value it will return? I'm not a professional coder but I'm figuring out a lot by trial / error.

*** Screw Your Phone's Feelings ...
[Droid Incredible Android Development] sk806:
Sorry, work intruded tonight. I'll take a look at your questions in the morning and respond. I am heading home at some point tomorrow, so I'll be back in your time zone and we'll get this straight. Hopefully you'll have it figured out by the time I get up...:).

Steve
[Droid Incredible Android Development] 00McD00:
In the meantime while you masters are working this out, what is the best way to hide the task manager option? I tried just deleting it from the quick_settings.xml and it recompiled ok, but I got FCs when it loaded. My skills < what I thought they were lol.
[Droid Incredible Android Development] themusicmonkey:
Just a heads up, but the memory doesn't work in the quick settings. It's not populating any data or bringing up anything when I touch it. I haven't seen anyone mention it.
[Droid Incredible Android Development] 00McD00:
It's been mentioned (including in my post right above yours lol), but you might have missed it because usually referred to as the "Task manager". Doesn't work because it uses the Sense 3.0 task manager application which doesn't come with/doesn't work with our GB leak roms. I'm trying to figure out how to hide it.
[Droid Incredible Android Development] jermaine151:
What do you guys want hidden from the current extended menu? I may be able to quickly handle that before getting back on this vibrate/silent mode issue.
[Droid Incredible Android Development] 00McD00:
I was just looking for task manager and hotspot (4g settings aren't in there right?)
[Droid Incredible Android Development] themusicmonkey:
The dialog below "All Settings". Since it doesn't work, it doesn't really need to be there.
[Droid Incredible Android Development] jermaine151:
I just got a request from someone that uses the Hotspot thing, today. You sure you want it gone?
[Droid Incredible Android Development] 00McD00:
I saw that, but since I don't include it in my rom (and I do include Wireless Tether) and there are so few people that actually use it. If someone needs it I will just give them the app and they can just use it from the app. I'd rather my quicksettings stay for essentials.

Sidenote: do you have to make these changes to all the smali that involve "task manager" because I was looking through them and found it in like 3-4 of them. But it looked like "R$string.smali" was the main one.

Ok but when I browse the smali code for a rom that has the flashlight option in the quicksettings (e.g. Inc2 Remix) I can't find a single mention of "flashlight" in any of them. Maybe it is named differently idk, but man is this stuff confusing.
[Droid Incredible Android Development] jermaine151:
In the Inc2 smali you should find "FlashLight" in QuickSettings.smali as well as FlashLight.smali and FlashLight$1.smali (going off of memory).
[Droid Incredible Android Development] 00McD00:
...Ok that was just pure ignorance on my part, there is a whole section of smali codes that I completely overlooked. The hunting continues.

And I don't suppose it is just as easy as copying the flashlight specific ones over and then editing the corresponding smali/xmls to get it to work is it?
[Droid Incredible Android Development] jermaine151:
That's basically what I'm trying with the Vibrate, but you have to change array sizes in the code to fit in more items and change the resource ID #'s to match the inc's files instead of inc2 remix files. Total PITA.
[Droid Incredible Android Development] 00McD00:
Yeah I saw in there that there was code for sizing and padding so I figured that had to be done, is all of that sizing done in the same file? If so, which one is it?. It does seem extremely tedious. I am learning little by little though.
[Droid Incredible Android Development] jermaine151:
The sizing and padding doesn't really need to be changed. The XML files are only like 1% of the equation. 99% of it is smali edits. Look at this guide to get an idea of the difficulty with adding items into Quick Settings:

http://xdaforums.com/showthread.php?p=16986048#post16986048
[Droid Incredible Android Development] 00McD00:
...balls lol that is a beast. But thanks for the link, very helpful guide. Might try and dive into this, this weekend when I have some time.
[Droid Incredible Android Development] jermaine151:
Even removing them is freaking hard!!! LOL. 4th boot loop. :)
[Droid Incredible Android Development] Quantumrabbit:
No smali editor or compiler I see... that's annoying. Would certainly make it easier to work with if you had a proper Developer Environment.

I do see some plugins for stuff...

Smali language setting for Notepad++

Smali Highlighting for VIM

I'm sure you guys already have syntax highlighters, but I thought I'd mention it, in case it helps.
[Droid Incredible Android Development] v941726:
Get FC's for both. Had re flash the Rom
[Droid Incredible Android Development] jaykresge:
One thing I'm not liking with this is the way the pull-down shade comes down. With the original one, if I had one notification, I could drag the shade down half an inch and see the entire notification, then toss it up. With this mod, the shade has to come down the entire way.
[Droid Incredible Android Development] sk806:
Here you go. This has the task manager/memory thing shut off. I can do hotspot, too, if people want that.

I am getting close on the vibration option...little too busy for running dialog, but I think I understand the problem. If I have some time at the airport, I'll elaborate.

Steve
[Droid Incredible Android Development] sk806:
Just delete the relevant static field at the top of quicksettings.smali, and then the entire code section in the inflater method, keeping the line number intact. See what I did, and you'll get it.

EDIT - And edit quicksettings.xml, of course...;).

Steve
[Droid Incredible Android Development] wdfowty:
Hey! Hey! I know that one! lol

in the quick_settings.xml, add this to the end of the line, before the "/>":

android:visibility="gone"

thanks to wildstang for pointing this out to me the other day.

edit: doesn't remove it, just hides it. steve's method is probably better.
[Droid Incredible Android Development] sk806:
Nice! I think this should do it for the volume & vibration for me. If I'm not too high on Klonopin on the plane, I'll get this done.
[Droid Incredible Android Development] slickhare:
working for me so far on Senseless Banshee 2.1, thanks for the awesome mod!
[Droid Incredible Android Development] jermaine151:
Crap! Never thought of that one. Thanks WD!

*** Screw Your Phone's Feelings ...
[Droid Incredible Android Development] RoboCuz:
Minor alignment issue

Hey, I am not sure if it is in your release, but I think so...I am using Liberation Beta 6, where Jay included it, I think as is, so it is the same.

In the quick settings, the top setting (Rotate) is shorter than the rest, and that causes the selection highlight to be offset on all the settings, when you press on a choice. you can see this by going to the quick settings, and pressing and holding any of the settings bars...the highlight is lower than the choice by about 25% of a choice width, the same (roughly) that the top choice is short...

It isn't a big deal, simple cosmetic problem, but thought I would mention.

Cheers

RoboCuz
[Droid Incredible Android Development] jermaine151:
EDIT: I didn't see that Steve had already posted a zip with the stuff hidden.
[Droid Incredible Android Development] themusicmonkey:
This works great! Thanks for all the hard work!
[Droid Incredible Android Development] jermaine151:
Thank you Steve!
[Droid Incredible Android Development] themusicmonkey:
I've checked this with the NoTaskManager version and the highlight selection is only off on the top two settings, which is Auto Brightness and Wi-Fi. Only the Auto Brightness is highlighted past the borders when long pressed. The Wi-Fi is lacking a portion at the top when highlighted, to correspond where the Auto Brightness highlight selection overlaps.

I'm using the OTA "leak" with a Stock kernel and "leaked" radio.
[Droid Incredible Android Development] sk806:
I have gotten media volume working properly and know how adding functions works now in general. I will post the volume version in a few hours when I get home.

I'll probably add vibrate next. Layout issues (highlights off) should be easily addressed.

That tutorial Jermaine posted was key, as I had forgotten to modify an identifier in the last method of quicksettings.smali.

Steve
[Droid Incredible Android Development] sk806:
Volume Control Working

OK, so here is the zip with volume control. There are some layout issues (one function is slightly wider and the green highlight is missing from hotspot, but the code works. I am posting so devs can take a look and fiddle around. I plan to fix the layout issues and update the OP soon. THen I'm going to finish my new Magnolia ROM. Sorry for the delay, guys, but this mod will help users of ALL ROMs, not just mine.

Steve
[Droid Incredible Android Development] 00McD00:
How is fixing the issues coming? Pretty excited for when this gets polished up, great job man.
[Droid Incredible Android Development] kzoodroid:
Read the thread and not sure if this was addressed or not. Every time I reboot my wifi disconnects and I can only reconnect through the quick settings tab. Going through menu>settings>wireless&networks will not reconnect wifi it just keeps asking for the passsword and never connects. i probably should add that I'm not using this baked into a ROM but I flashed it into my phone running the 2.3.4 RUU.
[Droid Incredible Android Development] donnyp1:
Ive had none of that going on. Wifi no issue

If i helped you, hit thanks. If i made you laugh, hit it twice. If i pissed you off, get over it!
[Droid Incredible Android Development] 00McD00:
This should work just fine with 605.3 right? There can't be that much difference to cause any problems.
[Droid Incredible Android Development] jermaine151:
It should be fine. SystemUI.apk was not changed.
[Droid Incredible Android Development] 00McD00:
That's what I figured, but didn't want to put in too much work before I tried it.
[Droid Incredible Android Development] themusicmonkey:
What would it take to get this to work on an Evo? I haven't seen the same thing for their development community, and I'm starting an Evo root project for a friend.
[Droid Incredible Android Development] thevoiceless:
I assume I install this by choosing "Install zip from sdcard" in CWM, correct?

Edit: Yep, got it.
[Droid Incredible Android Development] zoomy942:
this is by far the best mod i have ever installed.

the OP says 'activated' - so the tab was always there just not turned on?
[Droid Incredible Android Development] dmeadows013:
HTC put a bunch of stuff in Sense 1.0 that wasn't actually used until 2.1. One of these things was the quick settings.
[Droid Incredible Android Development] jermaine151:
Hey D, I could be wrong, but I don't think they had them in our old Sense stock roms. This new OTA is technically Sense 1.9 and that's why I think they were in there now.
[Droid Incredible Android Development] dmeadows013:
Ahhh. That would make sense!
[Droid Incredible Android Development] zoomy942:
what else is hidden and not activated?
[Droid Incredible Android Development] jermaine151:
That's all I found so far. :)
[Droid Incredible Android Development] zoomy942:
God bless xda.
[Droid Incredible Android Development] ngherappa:
sorry for my english,

can i install it on my samsung gs2 with rom stok and only root active, replaced the original file whith this on the zip?
[Droid Incredible Android Development] RMarkwald:
No, this is the SystemUI.apk from the DInc, so chances are it will not work with your Samsung.
[Droid Incredible Android Development] cmlusco:
Will this be updated for 4.08.605.2 ?
[Droid Incredible Android Development] zoomy942:
Will it not work on the .08?
[Droid Incredible Android Development] cmlusco:
It probably would but then you would be using the old framework files. They have all changed with the update.
[Droid Incredible Android Development] zoomy942:
I will decompile it see if I can make it work with the new files.
[Droid Incredible Android Development] cmlusco:
I tried but got nowhere, and after a couple of hours i gave up.
[Droid Incredible Android Development] MyronW:
Bummer. I was really missing it...
[Droid Incredible Android Development] 318sugarhill:
Yeah, me too. I was hoping this would work.
[Droid Incredible Android Development] thevoiceless:
So does that mean there's no hope at all for this on the latest OTA? Or that it would just have to be done all over again?
[Droid Incredible Android Development] MicroMod777:
If u pull SystemUI.apk from the stock plus rom it will work. Using it now on new update!
[Droid Incredible Android Development] wildstang83:
But what their saying is if you use this mod you'll be reversing the new framework in the new ota. Pretty sure Stock+ is still on the old framework. However if your using it and you don't see any issues then it might be ok to call this mod safe to use on the new OTA. So I guess the question is what bugs have you noticed if any?
[Droid Incredible Android Development] shawn12350:
I've been using the quicksettings mod with the new ota for a couple days and I haven't seen any issues. Everything works how it should.
[Droid Incredible Android Development] wildstang83:
Awesome, good to know!
[Droid Incredible Android Development] MicroMod777:
Been using 2 days with no issues but id prefer a new update .
[Droid Incredible Android Development] thevoiceless:
So I need to pull the SystemUI.apk from another ROM to use this on the new OTA?
[Droid Incredible Android Development] wildstang83:
No, you can just use the quicksettings in this thread for the new ota. Some people were just wanting steve to rebase the mod on the new ota so it could have that new feeling I guess, lol
[Droid Incredible Android Development] MicroMod777:
Yep want wow new feeling! Lol