Hey guys,
I'm trying to add some stuff to SystemUI.apk, and I need to know what files in the .apk are needed for recent apps, that way I can change them
Thanks in advance.
MaartenXDA said:
Hey guys,
I'm trying to add some stuff to SystemUI.apk, and I need to know what files in the .apk are needed for recent apps, that way I can change them
Thanks in advance.
Click to expand...
Click to collapse
There are no files needed you need framework-res.apk and SystemUI.apk from your base ROM, Search XDA Forums and you'll get a guide on how to do it
I know how to decompile and stuff, but the systemUI.apk also includes the statusbar, and I want to keep the statusbar the way it is.
I'm trying to fix the recent apps in your AOSP inversion mod.
Sent from my awesome fridge
Okay TAM, can you explain how you edited the status bar and give me everything you used? Then I can fix the aosp theme.
Sent from my awesome fridge
Related
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
yes please
Yeah i was under the impression that it's Kernel/ROM dependent but its a massive feature im missing coming from a HTC desire running CM7 and im not up for testing the CM nightlies with a new baby to look after just in case my wife needs me asap lol
Please What do not say how to add the data toggle
cerede2000 said:
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
Click to expand...
Click to collapse
Wrong thread. You can find out more on " Samsung Galaxy S2 Q&A"
No one answers in Q & A as seems to be the case here.
Why no one wants to unravel the mystery
cerede2000 is right, this is a key feature, that I personally would love to see, on a stockish sgs2 rom.
I've recently noticed the appearance of the data toggle, which was promising, but no way to customise.
perhaps now that the devs are getting more stable roms they could delve further into this?
Ah one can dream.
Hold power button... Data off. hehe
Otherwise, I think Cognition ROM has it.
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
cerede2000 said:
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
Click to expand...
Click to collapse
Posted on your other thread in Q&A... It's in SystemUI.apk, can't say where though.
I try to modify SystemUI.apk in smali files but have FC's
Are you sure is just SystemUI.apk ?
I do not understand when I put directly SystemUI.apk of Cognition ROM it works well.
However when I change my ROM from my stock SystemUI.apk XXKG3 j'obtient one of FC's SystemUI.apk.
Please help me.
Here is my SystemUI.apk : http://www.multiupload.com/15QBK0IX9U
What is wrong with my SystemUI changed.
Thank you!
The reason is that your stock ROM is odexed and the other is deodexed.
This thread should be in the Q&A section.
Absolutely not! I deodex my rom...
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
cerede2000 said:
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
Click to expand...
Click to collapse
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
sicopat said:
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
Click to expand...
Click to collapse
I not only added the png. I changed the xml files and smali files.
I edit by hand public.xml.
I'll let ApkManager do I see if I have no FC's.
Great! It's work!
We had to do to just let ApkManager public.xml!
Hey everyone,
So I, like most people on XDA, flash different ROMs all the time. The problem is each ROM has one thing I like but others I don't.
However, the joy of Android is just that! You get to make your phone custom
Anyway, I really like the notification drop down bar on Serendipity. I think Mikey and Chance did a phenomenal job with it. Looks great. But I like the functionality of CyanogenMOD.
Is there anyway to port the notification drop down from Serendipity to CM7?
Thanks!
bscotth said:
Hey everyone,
So I, like most people on XDA, flash different ROMs all the time. The problem is each ROM has one thing I like but others I don't.
However, the joy of Android is just that! You get to make your phone custom
Anyway, I really like the notification drop down bar on Serendipity. I think Mikey and Chance did a phenomenal job with it. Looks great. But I like the functionality of CyanogenMOD.
Is there anyway to port the notification drop down from Serendipity to CM7?
Thanks!
Click to expand...
Click to collapse
I'm doing this off memory so bear with me for any errors. On the cm rom, pick a theme that u like and find the apk for it in system/app. Pull that apk and decompile it with apk tool. Then download the ROM that u want and take systemUI.apk and framework-res.apk and decompile them. After u decompile it, look for some file names in res/drawablehdpi for the images u will want to transfer to the cm theme. Then copy them to the cm theme. I think u have to rename them, but I'm not sure what to rename them to. I will update this when I find out since I'm working on my own theme for this. After u copy them recompile the apk and sign it using apk tool and send it to your device and install it.
If u have no idea on what I am talking about search for how to make themes by jivy26 on themes and apps. Or I can help u make a port, but u would have to be willing to test because i dont feel like switching roms.
If I had money, I would get a credit card. If I had a credit card, I would donate.
Waddle said:
I'm doing this off memory so bear with me for any errors. On the cm rom, pick a theme that u like and find the apk for it in system/app. Pull that apk and decompile it with apk tool. Then download the ROM that u want and take systemUI.apk and framework-res.apk and decompile them. After u decompile it, look for some file names in res/drawablehdpi for the images u will want to transfer to the cm theme. Then copy them to the cm theme. I think u have to rename them, but I'm not sure what to rename them to. I will update this when I find out since I'm working on my own theme for this. After u copy them recompile the apk and sign it using apk tool and send it to your device and install it.
If u have no idea on what I am talking about search for how to make themes by jivy26 on themes and apps. Or I can help u make a port, but u would have to be willing to test because i dont feel like switching roms.
If I had money, I would get a credit card. If I had a credit card, I would donate.
Click to expand...
Click to collapse
Thanks for your reply. The only problem is that I've done this and cannot seem to find any corresponding images in the theme/res/drawable-hdpi directory.
bscotth said:
Thanks for your reply. The only problem is that I've done this and cannot seem to find any corresponding images in the theme/res/drawable-hdpi directory.
Click to expand...
Click to collapse
In system ui in drawable there should be pictures with the labels status_bar something. There will be multiple background images and should be the toggle images. You wouldn't be able to find this if you were looking in framework-res
Sent from my SGH-I777
Hi, i have a custon rom on my phone, and the custom icons are not good for me, but the rest of the rom are GREAT.. my question is, how i get the stock icons?
just delete the modded apk and build in the original or what i have to do!? i want use a tool like desktop visualizer because i will change the icons in drawer too. and i will use the stock launcher..im just a noob in this, and i wont wait for the perfect release for me, so i decided to make my own
bstiti said:
Hi, i have a custon rom on my phone, and the custom icons are not good for me, but the rest of the rom are GREAT.. my question is, how i get the stock icons?
just delete the modded apk and build in the original or what i have to do!? i want use a tool like desktop visualizer because i will change the icons in drawer too. and i will use the stock launcher..im just a noob in this, and i wont wait for the perfect release for me, so i decided to make my own
Click to expand...
Click to collapse
It depends if ur using ics. If its ice then u need to mod SystemUI.apk from system/app but if its not then u need to mod framework-res.apk in system/framework. I suggest looking up a tut for the Modding because it is a long process
Sent from my Amazon Kindle Fire using xda app-developers app
powerpoint45 said:
It depends if ur using ics. If its ice then u need to mod SystemUI.apk from system/app but if its not then u need to mod framework-res.apk in system/framework. I suggest looking up a tut for the Modding because it is a long process
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
first thanks for the fast answer
my phone is the htc one x, Android 4.0.3 and with stock launcher ''rosie''
okay im looking for a tut thanks a lot
If you just want to replace icons with others, all you need do is use 7zip or similar to open the apk file and literally just swap the existing icons with some new ones.
If you want to add icons, or change how they're displayed, then you're looking at decompiling.
Need help !
Can I jus replace the contacts.apk , phone.apk and get a new look or can I jus replace the PNG's on those APK's ?
Or , should I have to deal wit' the systemui.apk and framework-res.apk ?
Also , is there any way that I can extract the icons from an icon pack ??
Check this thread. You will find what you are looking for.
I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Higgs_Boson said:
I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Click to expand...
Click to collapse
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
klin1344 said:
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help.
Is there nothing that can be done?
Higgs_Boson said:
Thank you very much for your help.
Is there nothing that can be done?
Click to expand...
Click to collapse
You could deodex the apk, make your smali edits, re-odex it again, and then push both files into the correct directories, but it is a very annoying and tedious process.
You should flash a custom rom (all of them are deodexed) and make your smali edits from there.
Sent using Tapatalk
Guys I need help here to port lidroid dropdown toggles which I tried by following this thread:
http://forum.xda-developers.com/showthread.php?t=2381290
I have done with settings and done with systemui. All went right, no errors when decompiling, recompiling, signing, etc. But when I installed my ui. I only get blackscreen without status bar. I think its android manifest xml or something which cause this. This is my systemui:
http://db.tt/rTf6wmsS
I've asked for assistance in og thread but we all have different devices there so I think I should ask for assistance here too. I hope someone could help me with this. Thanks in advance. Btw, I'm running stock jb 4.1.2 retail eu.
Settings screensoht
demonshouter said:
Settings screensoht
Click to expand...
Click to collapse
When i port Power Toggles i just modifyed Settings.apk. If your toggles requiest edit SystemUI.apk and Manifest.xml then you need resign SystemUI.apk after complie. To get it to work with new signature you need sign all other systems apk include framework-res.apk. Just not google apps.
Thank you will try that later. I have signed my ui, but only systemui and still no luck. So I'll try your advice then.
Sent from my XT910 using XDA Premium 4 mobile app