Hi, I've searched thoroughly through this and other forums, but this topic doesn't seem to interest many people...and even when there are questions, answers are often imprecise and evasive.
I'd like to know how to modify the toggle buttons in my statusbar. I want to remove the orientation switch (who uses it, seriously?), and add (for a total of 6 buttons), toggle data and 2G/3G switch...is that possible? Yes it is, it's Android
But how to do it? Is there a guide or even some files ready for flashing? I'd like to get rid of Extended Controls once and for all...
Thanks in advance, looking forward for an answer
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
remczar69 said:
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
Click to expand...
Click to collapse
Another good reason to switch to a cooked ROM
Anyway, can you post anything you are willing to (links to guides, files...) for doing this on other ROMs? And maybe a list of ROMs that allow this operation (or, at least, the characteristic they need to have, for example a certain kernel or other stuff).
Thanks in advance
I know for sure that CM 7 has that possibility. I use CM7 it is pretty stable for me.
it it possible to hide the buttons?
(using modaco r19)
thx
lixeira said:
it it possible to hide the buttons?
(using modaco r19)
thx
Click to expand...
Click to collapse
cook rom without buttons, you can choose in kitchen
75markus said:
cook rom without buttons, you can choose in kitchen
Click to expand...
Click to collapse
i know ... dont have modaco premium account
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Mjuksel said:
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Click to expand...
Click to collapse
Not that skilled yet still learning ... but thanks
i'm not that skilled either so don't mind it
i just can't get it to recompile
Related
So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Stigy said:
So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Click to expand...
Click to collapse
Any of that is possible by editing the .xml files.
supremeteam256 said:
Any of that is possible by editing the .xml files.
Click to expand...
Click to collapse
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Stigy said:
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Click to expand...
Click to collapse
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
goldenarmZ said:
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
Click to expand...
Click to collapse
Okay so do you know which apk the battery icon is in?
I'm surprised no one has replaced the battery icon with a percentage yet.
Thanks.
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
goldenarmZ said:
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
Click to expand...
Click to collapse
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Stigy said:
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Click to expand...
Click to collapse
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
goldenarmZ said:
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
Click to expand...
Click to collapse
Perfect, thanks.
I have JI6 (unofficial froyo) version of Captivate (i897)...
I like to theme the notification bar (Transparent, icons, etc.) without any ROM.
I have tried Cognition ROM, but random shutdown was killing me...
So, anyone know how?
by SDK/ADB, root manager, metromorph, Odin, or whatever you can do - THAT WORKS!!!
peurocs4 said:
I have JI6 (unofficial froyo) version of Captivate (i897)...
I like to theme the notification bar (Transparent, icons, etc.) without any ROM.
I have tried Cognition ROM, but random shutdown was killing me...
So, anyone know how?
by SDK/ADB, root manager, metromorph, Odin, or whatever you can do - THAT WORKS!!!
Click to expand...
Click to collapse
It depends on what you want and where you want it. Certain changes require changes to the xml codebehind and some do not. It is not as easy as it may seem for the average user.
You have to use winrar to open the theme or rom you are using.go to the twframework-res.apk.open that DO NOT UN ZIP ANYTHING!! then look for status bar background.9 drag and drop onto desk top or folder whatever then edit in photoshop or whatever you have and put back save and put it back in the folder.If I can get by a computer today there is thread out the will tell you do to do it that is big help.I you have some problems I can do some editing for you but would have to wait until I get home I am out of town.oh and when you put the edit status backgroung.9 back into the zip file make sure it is stored and compressed
Sent from my SGH-T959D using XDA App
Along this same line of questioning........
All I want to do is remove the transparency from the notification drop down in my current rom / theme. Is there a single value in an xml file to adjust this feature?
It's a .png that you'll need to change the opacity of.
Sent from my Captivate.
dfuse06 said:
You have to use winrar to open the theme or rom you are using.go to the twframework-res.apk.open that DO NOT UN ZIP ANYTHING!! then look for status bar background.9 drag and drop onto desk top or folder whatever then edit in photoshop or whatever you have and put back save and put it back in the folder.If I can get by a computer today there is thread out the will tell you do to do it that is big help.I you have some problems I can do some editing for you but would have to wait until I get home I am out of town.oh and when you put the edit status backgroung.9 back into the zip file make sure it is stored and compressed
Sent from my SGH-T959D using XDA App
Click to expand...
Click to collapse
Thank you...
I will see if it works...
And please help me if I have more questions to ask you :-D
peurocs4 said:
Thank you...
I will see if it works...
And please help me if I have more questions to ask you :-D
Click to expand...
Click to collapse
no problem you can also pull one out for another rom
here is a good thread to help with this
http://forum.xda-developers.com/showthread.php?t=812541
dfuse06 said:
here is a good thread to help with this
http://forum.xda-developers.com/showthread.php?t=812541
Click to expand...
Click to collapse
Thanks for the thread been looking for something like that but someone psoted somethign saying that you had to use a cpativate rom for it because the i9000 roms have different file types in them
Now there is theme kitchen, upload a apk and you can apply themes. Then after some time, you get a new apk in a cwm flashable zip.
Edit, link http://forum.xda-developers.com/showthread.php?t=990829
Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Incredible2011 said:
Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Click to expand...
Click to collapse
I haven't tried editing sense themes since.. FOREVER ago, since things like the htc hero / sapphire / dream "were in"
What I did back then was open up the rom file you download, and in it you'll see a bunch of stuff and go into system\app\ and modify to your liking!
I just took a quick look at a sense rom and it appears that "rosie.apk" is still there. IF things haven't changed as much.. that Should be your main launcher.
So what youcould do is open that via winrar and extract images and stuff out.. then edit it!
Other things like the status bar, should be in framework-res.apk (which should be in framework instead of /apps/)
I've only modded my themes using roms from aosp or vanilla so I don't nkow sense too well.. However this should give you a basic understanding! and the more you wanna edit, the more .apk files you wanna open! good luck
On a similar note, I am trying to modify android with customised sounds (lock/unlock/key press etc) and having some issues.
I have directly tried to place the .ogg files into the following path within android itself using droid explorer but that didnt seem to work.
The path i have been placing it is within the following:
...\system\media\audio\ui
Has anyone managed to successfully do this either with a working rom or pre flashing, in which case could give me some pointers on how to do this?
Thanks
am using go desktop...
Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
prhalfnathan said:
Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
Click to expand...
Click to collapse
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Lexmazter said:
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Click to expand...
Click to collapse
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
prhalfnathan said:
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
Click to expand...
Click to collapse
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Lexmazter said:
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Click to expand...
Click to collapse
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
prhalfnathan said:
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
Click to expand...
Click to collapse
No prob, everyone needs to start form somewhere, and what better place to start than xda developers?
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
How are these .Zip files flashed since it can't be done through stock recovery. Through "Flash gordon"? Is that the most stable way?
mikelets456 said:
How are these .Zip files flashed since it can't be done through stock recovery. Through "Flash gordon"? Is that the most stable way?
Click to expand...
Click to collapse
I you dont have safestrap then use flash gordon.Ive never used it before so let me know if it works. Really you should just install safestrap and be done with it.
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Nice work @blaz1nr, just installed vis SS, works great and glad to have this back :good:
Good job
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
Kool
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
You DA bomb! Thank you, thank you! :beer:
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
Thank you sooo much. This is perfect!
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Sorry to ask this, but does this work on the note 3 4.4.2?
And has anyone tried using flash Gordon to flash this? Does it work?
Possible flashlight toggle solution?
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Hey @blaz1nr I found this thread in the Sprint Galaxy S III forum about modding SystemUI.apk and SecSettings.apk for the purpose of creating a flashlight toggle for quick settings. It's sprinkled with S4 and S5 users who (if I read correctly) had various levels of success.
http://forum.xda-developers.com/showthread.php?t=2617552&highlight=decompile
Anyway, I've been trying my hand at modding system apk's lately (I edited one of the xml files in PopupuiReceiver.apk to disable those annoying battery cover notifications), and I wanted to give this a shot because I'd really like a flashlight toggle in the drop down menu. Unfortunately every time I try to decompile either SystemUI.apk and SecSettings.apk, the directories and files I'm supposed to be working on aren't showing up. I've decompiled/recompiled successfully before, and now I've tried virtuous ten studio, apk-multi-tool, and apktool, and every time I have this problem decompiling. So what I'm trying to say is I'd be happy to try my hand at doing the xml editing for you, I just can't seem to completely decompile the apps in question. So either someone please tell me what I'm doing wrong decompiling these apk's (I've searched everywhere and none of the supposed fixes have changed anything) or even better, if someone wants to decompile those apk's themselves and share with me, I'll get to work ASAP. Or if I'm wrong/being a stupid n00b, etc. let me know. For anyone else interested, these two apk's are in system/priv-app, not system/app (I had trouble finding them at first, because, again, n00b).
TLDR: Help me decompile these apk's or do it for me and send me the files, and maybe I can make us a dropdown flashlight toggle
Update: I got the directories and files I needed and I've been able to edit everything, but there's a new twist. I had to deodex SystemUI.apk and SecSettings.apk using Universal Deodexer, in order to access those elusive files and directories. I'm getting compile errors when I try to recompile, and even if it did compile successfully, I have no freakin' clue how much I could potentially screw up the phone by replacing the regular old apk files with the deodexed ones I created. There's a plethora of information and guides on deodexing apks, but not so much support on odexing them (re-odexing them?). I feel like I might be close to getting this working, but if anyone out there has this knowledge and/or is as fixated as I am on a drop-down flashlight toggle, help would be appreciated.
Got it working. I was being an idiot n00b and forgot the relatively minor step of de-odexing my stock rom. Once that was done it was as easy as following the directions on that thread I linked to. The actual LED light lagged like crazy the first time I actually tried the new toggle, but since then it's been smooth and instantaneous. Hope this helps someone
Worked as a charm. Thank you!
Comfirmed worked on NH3 !