Enable KitKat Mobile Data Toggle (zip) - Galaxy S 4 Active General

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 !

Related

Themed System Apps not Working

I'm just trying a bit of theming myself, found plenty of guides on the topic however I have found one slight problem. No matter how I try to install my modded system apps, it always fails to install or doesn't change the original app at all.
I use APKmodder to do the editing if that affects anything, however the same issues arrise when using NinjaMorph on my NS.
I have tried multiple methods of getting the apps onto my device. Using adb push, creating a custom update.zip (which is all set out properly), NinjaMorph and even just the regular apk install, all of them either don't update the apps or are pushed to /system/apps but are not in the app launcher.
Any ideas? I have searched for hours about this and I haven't found anything to help me. Finally, if it helps I have tried with Launcher2.apk and Camera.apk.
Sent from my Nexus S using XDA App
Any ideas at all? I've never had much luck with Modding apps full stop. Could it be my copy of APKmodder?
Sent from my Nexus S using XDA App
is your rom deodexed?
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Jonathon Grigg said:
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Click to expand...
Click to collapse
CM7 is deoxed. It's probably because you're changing the apk, don't understand why you're playing with it but whatever.
No idea, my recommendation is to not mod it.
I am not familiar with the tools you're using, but I've heard that people have had trouble with them in the past.
The best tool for theming is Apkmanager 4.9 used along with Apktool 1.3.1.
However, if you're simply swapping some images, just do so in WinRAR or 7zip. No deed to decompile, resign anything. Just put your system apps in a Flashable zip in this order: Zip/system/framework/framework-res.apk and Zip/system/app/<your system apps> and drag and drop your images in the right locations.
Also, your zip must have a META-INF folder with the proper update script.
You can use any one of my themes as a template.
Hope this doesn't sound too convoluted.
Cheers.
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Double EDIT: For future reference if anyone finds this, there is a difference between update-script and updater-scripts. From Android 1.5 onwards, Google moved to updater-script's, leaving update-script's behind. Make sure you remember this!
Sent from my Nexus S
Jonathon Grigg said:
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Sent from my Nexus S
Click to expand...
Click to collapse
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
sonnysekhon said:
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
Click to expand...
Click to collapse
Ok thankyou very much for the help once again. I have finished school for the week so I should have time to test these methods out now.
If I need any further help I might drop ogdobber a note then.
Thanks for all your help!
Sent from my Nexus S

[REQ] Transition animations

I was wondering if any kind soul could make it possible to provide flashable zips to change the transition animations on our phones. I know that Adrynalyne had some cool transition animations on some versions of his SuperClean Rom, but I would like to continue this. Also, in particular, if it's possible to have a screen rotation animation I would love to have that also. Thanks!
The only way would be to either have metamorf files (which someone posted here a very long time ago) of the different animations or have multiple zips that only include framework-res.apk. The animations are controlled by xmls located in framework-res.apk/res/anim. I myself for my personal theme have created a nice cocktail of the various types of animation xmls used tasefully for various ui events and actions.
good day.
There is an app on the market. Ani something....I'll find it. I have it on backup
Sent from my SCH-I500 using XDA App
its called AnimMod and its a paid app
akaine2001 said:
its called AnimMod and its a paid app
Click to expand...
Click to collapse
Saw that app, and a couple of fascinate users comment that it boot looped them. If that app swaps out the "whole" anim folder within the apk and if you're running comm rom or the newer sbrissen mods it will surely boot loop you. 7 xml's pertaining to the lockscreens have been added by sbrissen to that anim folder and if those get deleted by an app replacing the whole anim folder within the framework it will certainly lead to trouble.
good day.
Works fine for me. No boot loops on CommRom 2.1.
Sent from my SCH-I500 using XDA Premium App
Zacisblack said:
Works fine for me. No boot loops on CommRom 2.1.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
BOOya chopper... BOOya
akaine2001 said:
BOOya chopper... BOOya
Click to expand...
Click to collapse
that wasnt necessary
Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.
notta said:
Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.
Click to expand...
Click to collapse
oh hi notta, hadnt seen you in awhile
nitsuj17 said:
oh hi notta, hadnt seen you in awhile
Click to expand...
Click to collapse
I'm a ninja, your not supposed to see me.
notta said:
Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.
Click to expand...
Click to collapse
It would be great if you could get this tested by a few brave individuals. If you want, you can use my thread or make another one. I personally need the stability of Comm Rom for everyday use of my phone so I won't be going to CM7 until some of the signal, SOD, and calling issues are addressed. The AnimMod app works great but I would like to see a larger compilation of transition animations to choose from. We could even stick these zips in the theme sticky . Also what about screen rotation animations? Is this possible? Thanks for answering my call to god!
nitsuj17 said:
that wasnt necessary
Click to expand...
Click to collapse
Only my 6 year old rolls eyes, and yeah it wasn't but it wasn't mean or nothing chill out j. . . He always stamp on somebody parade, not this time, not this guy, booya. works flawlessly like he said homie, booya.
Edit: answered his prayer too, ...... Booya. Lol
Sent from my SCH-I500 using XDA App
Lmao
Sent from my UKB 2.1 sch-I500
akaine2001 said:
Only my 6 year old rolls eyes, and yeah it wasn't but it wasn't mean or nothing chill out j. . . He always stamp on somebody parade, not this time, not this guy, booya. works flawlessly like he said homie, booya.
Edit: answered his prayer too, ...... Booya. Lol
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Did you ever realize that the reason you are so disliked on xda is because you needlessly start **** and then act like a 5 year old?
Zacisblack said:
It would be great if you could get this tested by a few brave individuals. If you want, you can use my thread or make another one. I personally need the stability of Comm Rom for everyday use of my phone so I won't be going to CM7 until some of the signal, SOD, and calling issues are addressed. The AnimMod app works great but I would like to see a larger compilation of transition animations to choose from. We could even stick these zips in the theme sticky . Also what about screen rotation animations? Is this possible? Thanks for answering my call to god!
Click to expand...
Click to collapse
Those SOD issues were a blessing in disguise.. lol
Not completely familiar with screen rotation animations. A quick search states there used to be what they called fancy animations in android 1.5 but no longer added after. I could be wrong this is my first android phone, so I don't know the history. Anyhow there are some slightly rotating anims in the patch.
Ok, so this is what is going on..
An apk is just a zip file with an .apk extension. So what I am doing is utilizing a zip binary that is copied to a temp location along with some very basic commands. With these commands its basically injecting the structure of the res folder in the patch, to your framework.
Therefor you can use this to inject basically anything as long as you follow the structure. As stated before I have changed resource level items such as colors without issue. Just be advised if you change out any id's from public.xml and many others it will end in failure. This can also be modified to patch any apk or even jar files. It can also be modified to make a cwm zip of your current rom, data apps etc... The list go's on!
So in a sum, the zip will copy a zip & zipalign binary along with the script and patch files to /tmp. The script will kick in and as an added bonus (incase anything go's wrong) will make a backup of your existing framework-res.apk and create a cwm zip and place it on the root of your sdcard called notta-anim-patch-restore.zip. This zip can be flashed to restore the previous state.
Then utilizing the zip binary, will inject the patch files zipalign and ovewrite your /system/framework/framework-res.apk. In this case a set of animations. I hope this is a satisfactory explanation.
As with anything you flash, you do it you except responsibility. Also I have personally tested this one ukb 2.1. This should work with any touchwiz fascinate rom, well anything with a system location at "stl9".
http://bit.ly/n0Q4Mc
Please post results!
notta said:
Those SOD issues were a blessing in disguise.. lol
Not completely familiar with screen rotation animations. A quick search states there used to be what they called fancy animations in android 1.5 but no longer added after. I could be wrong this is my first android phone, so I don't know the history. Anyhow there are some slightly rotating anims in the patch.
Ok, so this is what is going on..
An apk is just a zip file with an .apk extension. So what I am doing is utilizing a zip binary that is copied to a temp location along with some very basic commands. With these commands its basically injecting the structure of the res folder in the patch, to your framework.
Therefor you can use this to inject basically anything as long as you follow the structure. As stated before I have changed resource level items such as colors without issue. Just be advised if you change out any id's from public.xml and many others it will end in failure. This can also be modified to patch any apk or even jar files. It can also be modified to make a cwm zip of your current rom, data apps etc... The list go's on!
So in a sum, the zip will copy a zip & zipalign binary along with the script and patch files to /tmp. The script will kick in and as an added bonus (incase anything go's wrong) will make a backup of your existing framework-res.apk and create a cwm zip and place it on the root of your sdcard called notta-anim-patch-restore.zip. This zip can be flashed to restore the previous state.
Then utilizing the zip binary, will inject the patch files zipalign and ovewrite your /system/framework/framework-res.apk. In this case a set of animations. I hope this is a satisfactory explanation.
As with anything you flash, you do it you except responsibility. Also I have personally tested this one ukb 2.1. This should work with any touchwiz fascinate rom, well anything with a system location at "stl9".
http://bit.ly/n0Q4Mc
Please post results!
Click to expand...
Click to collapse
I'll try this out when I get home. Thanks notta! Also, everyone else please no flaming/arguing in this thread it makes me sad =(.
Sent from my SCH-I500 using XDA Premium App
You know i had to post here on this side
i didnt know that this zip did that much! this is awesome!
nitsuj17 said:
Did you ever realize that the reason you are so disliked on xda is because you needlessly start **** and then act like a 5 year old?
Click to expand...
Click to collapse
Who is that said that? Who said that you? I just laugh at you guys now... And keep it moving
Sent from my SCH-I500 using XDA App
Booya
Sent from my SCH-I500 using XDA App

Toggle Buttons in Statusbar

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

Notification Bar Icons and Mods

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?

Need Help Editing SystemUI

Hello Guys,
I decided to try and modify the SystemUI of Stock OxygenOs 4.0.3 myself in order to achieve: Center Clock in Status bar as well as quick settings menu, 6 small qs tiles, 6 qs tiles in a row and only one row at that.
I already got familiar with apktool and the process but I have no Idea what file to edit, I searched through the files but could achieve any change.
I didn't find any tutorials that could help me either so I was hoping someone could help me here.
Thanks and if you need any more information just ask
Basically I want it to look something like this (Resurrection Remix)
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
davebugyi said:
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
Click to expand...
Click to collapse
Yes yes I know that but I meant which files inside the APK to edit, sorry for the confusion and thank you
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Anova's Origin said:
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Click to expand...
Click to collapse
Thank you, I actually thought about that but I didn't know a program capable of that, I'll try that
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power MenĂ¼ and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Pharrax said:
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power MenĂ¼ and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Click to expand...
Click to collapse
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Anova's Origin said:
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Click to expand...
Click to collapse
I was using apktool with the -c command, i thought that signs the apk properly and does exactly that? But thank you i will look into the tutorial
BaaDNwZ said:
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Click to expand...
Click to collapse
Any links that help me understand smali and how to edit them?
Pharrax said:
Any links that help me understand smali and how to edit them?
Click to expand...
Click to collapse
The best link is - google.com
Sorry bro =\

Categories

Resources