Adding quick settings tiles (may be posted in the wrong place) - Android Q&A, Help & Troubleshooting

I don't know if I posted this in the correct section so please move it as needed.
A few years ago I was successful at adding some entries to the Power Menu by following a tutorial that I can no longer find. I want to try something similar again, but this time it is for the LP Quick Settings tiles. I have two ROMs I bounce back and forth between, crDroid and XenonHD. The crDroid ROM has a quick Settings tile that brings up the Power Menu so I don't have to press the power button. I love that tile, but I prefer to use the XenonHD rom because it has the RRO Layers theme engine. Problem is, the XenonHD rom doesn't have the Power Menu quick settings tile. So I want to try and add it.
I compared both ROMs and I think to do this I need to edit the SystemUI.apk and add an entry for the Power Menu tile in the XenonHD SystemUI.apk. I found references to that tile in the smali folder for the crDroid ROM that don't exist in the XenonHD smali folder. I admit that I'm not sure I would even be considered a newbie at this stuff, but I am very good at figuring things out so I feel like I could possibly do this by looking at how it is done in the crDroid rom. The thing is, I don't want to waste the time if it is something that is not possible.
So the most important question would be, is it possible to do this simply by editing the SystemUI.apk (assuming I can figure out what codes to add) or is this something that needs to be done at the ROM development end and I would be wasting my time trying? I don't mind trying to figure it out as long as I know it's possible.
Thanks

Related

[Q] remap keys to recent

I have used the Google out of Google
I have used the search button on the forum
I have followed multiple different threads on this forum and have basic knowledge​
I've Noticed that no one has made a MOD for making the menu button a recents button(as is ICS 'Natural'), and I want to try to accomplish this task myself. I have managed to make the menu softkey operate as the recent key by changing the .kl files in /system/usr/keylayout/ to use the key as APP_SWITCH, but that gives me the gingerbread style Recents with only icons. I am hoping to incorporate the Sense 4 style recents into a .zip for a MOD on the forum as I have seen multiple requests for such a mod and I desire one myself.
ANY POINT IN THE RIGHT DIRECTION/BIT OF GUIDANCE IS INCREDIBLY APPRECIATED. I'M TRYING EVERYTHING I CAN THINK OF!!!!!
I have found this link http://forum.xda-developers.com/showthread.php?t=1450138 and am thinking I need to modify the source code to use the sense 4 style recents for APP_SWITCH.
Is this the right path? Is there a better path to take for this?
Thank you for making my phone(s) awesome and above average. I'm hoping to be contributing right along side you soon!!
Kyle
I'm on AOKP Build 39 http://forum.xda-developers.com/showthread.php?t=1716001
**BUMP**
Re-did OP, didn't want to create brand new post..
cm10 has implemented the button remap feature. now you can easily change the menu button long press to recent apps in cm10

[Q] Custom Rom Setting Menu

Hey guys, I recently got into the chef scene and feel iv had great progress thus far.
My rom null_ for the SGSIII (link in signature for further info) has come a long way since its first release a while back.. Im wanting to take it to the next level tho.
What I am aiming to do is a add a custom menu to the system settings .apk, Something like "Rom tools" similiar to AOKP's, which would simply list links external apk's of my choice with there icons. Doesnt have to be nothing majorly flashy..
Id obviously have to disable the launcher icon for these apk's also.. seems easy enough..
If anyone can point me in the right direction to a guide or help me out on this project I would appreciate it very much. Pretty much any information is welcome.
Thanks for reading.

[Q] Help me create a bottom status bar mod!

hello, so I've been searching and searching for a way to move the status bar down to the bottom so I can flick it up to open it. I've seen it before in cm7 roms and reloaded ics for older nightlies of cm9 roms. I'm wondering how they do it... it seems like it's some BIG secret, because no one seems to know anything about this type of mod or where to start to create it. It's built in to the cm7 roms, and Reloaded ICS doesn't work for newer cm9 roms.
So here's my request.
1. Someone point me in the right direction of where to find the right xml files and values to edit to recompile a rom with a bottom status bar!
or
2. Someone help me port Reloaded ICS to either newer ICS builds or maybe even JB!
or
3. Someone tell me some kind of good news about finding any way of moving the status bar down and reversing the pulldown so it slides up! cuz I'm really getting sick of searching for guidance on this issue...
I swear, it's the final and only thing I desire to change about my phone...
I love AOKP so if we could integrate this status bar trick/mod into an aokp build, that'd be the best rom ever!
again...why is this so hard? this search has gone on long enough, I'm really starting to get fed up with people creating roms just because the source is new... I'd like to see more customizations with current roms, like a bottom status bar option! why was this left in the dust in cm7? why not keep the mod going in cm9 or 10? bahhh!
I've started to decompile framework-res.apk and systemUI.apk but I don't understand what to change to make this happen, there are several places where in certain xmls it specifies the gravity or position of things that sound like they'd have to do with where the status bar is and how it acts, but I really don't know where to start...
Please help! It sucks knowing what I want, having the available technology to create it, but no guidance or any info to start with!
I have attached a couple pics that i made from screenshots i took while running Full throttle's and Licorice's Fuzion Rom
My background is my wonton symbol and the little android at the bottom is my app drawer, there are other icons/folders beside him but they're invisible, haha!
So if anyone could help me with creating a rom that looks like these pics, I'd be eternally grateful!!!

Theming Omniroms system apk gone wrong?

So I decided to port Material 4.3 by FateNozomi to Omni 4.4..4 framework,UI and Settings,and everything went smooth (at least I thought).After porting,I recompiled all apps without any error.First time I signed them with testkeys provided with singapk.jar and system wouldn't install them,so later I found platform keys with which system would allow installation.
Short after I activated AD in Settings options to realize that I can't read notification nor unlock phone through AD (when ever I click on unlock button nothing happens).Also tried to change Lockscreen shortcuts but when I have to drag unlock ring to assign shortcut nothing happens (ring doesn't expand),and lastly when I activate contextual notif header it just get stuck on one image (if I activate it in morning ,morning.jpg will remain untill the next reboot,wont change throughout the day).
to decompile I used apktool 2.0.3 and as I told,I recompiled with 0 errors (except usual translation missing).
I didn't mod any of these options that are malfunctioning,I even stayed away from every xml that could potentially lead to breakage of any options (hah and in the end got breaks on options I regularly use).
If someone could help I'd be more than happy to listen as I've searched xda through and through and haven't found any bugs or problems that could cause this.
Could it be the platform keys?Apktool mistranslated some strings or resources I honestly have no ****ing clue and its driving me crazy.
Id really need some help being that this is my first "project".
Fixed Lockscreen but not AD
I cross referenced my modded Settings with original and found a miss match in dimensions that fixed LS shortcuts.
I had no luck with AD,so if someone is familiar with omnis active display Ill be more than happy to try any suggestions !!!!!
I also cross referenced modded SystemUI xml related to AD and all matched with originals.
Fixed AD
I found out that I did change some sensitive values for AD,which led to it breaking so I fixed it all.All things that were broken,broke because of my limited to non knowledge of android so I apologize to moderators for clogging this section.
Feel free to delete this thread!!

Getting rid of the ripple effect

Hey! I cant be the only one who can't stand the ripple effect introduced in Android 5 (though I asked my friends and they don't find this effect that disturbing).
This is what I mean: killem.al/ripple.mp4 - it also shows when you tao on an item in settings or click the back arrow ...
Honestly, the first time I saw it I thought I had enabled something in developer options or accesibility settings by mistake!
Actually what makes this really annoying is that the effect can not be disabled globally (not even in a theme)!
So I spent few days diving into Android source code and build process (that's how annoying this effect is to me). In the end it was enough to just find the right "draw" function and replace it with simple "return true" to make it easier I prepared step-by-step instructions how to do this in smali bytecode so there is no need to recompile framework.jar: github.com/luv/android5_noripple
Unfortunatelly it's not enough to just replace something inside framework.jar in android6 anymore and it's actually easier to just recompile the whole OS so I also prepared a guide how to recompile Cyanogenmod13 with the patch: github.com/luv/android5_noripple/blob/master/ANDROID6_README.md
DISCLAIMER: I have tested this only on cm12 (and cm13) and it's very much possible messing with framework.jar directly will make your device get stuck at boot (happened to me several times!).
eh?

Categories

Resources