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
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!
I've been trying for the past couple of weeks to change the clock color on my SGP 5.0. I searched around on the forums and followed a lot of instructions word-for-word on editing .xmls from the SystemUI.apk and the framework-res.apk. Still, I cannot get the clock color to change.
I had intended to change the clock's color to #33B5E5 (ff33b5e5), and then when that was done, remove the AM/PM. But, at this point, I am so frustrated and would appreciate any assistance from the community.
P.S. - I would be happy to upload the SystemUI and framework-res apks that I am working with if someone can do it for me.
Oh, by the way, I am running stock ROM with themed apks.
Android 2.3.6
KRKPD (because this firmware is the only one compatible with the apks I modded)
Higgs_Boson said:
I've been trying for the past couple of weeks to change the clock color on my SGP 5.0. I searched around on the forums and followed a lot of instructions word-for-word on editing .xmls from the SystemUI.apk and the framework-res.apk. Still, I cannot get the clock color to change.
I had intended to change the clock's color to #33B5E5 (ff33b5e5), and then when that was done, remove the AM/PM. But, at this point, I am so frustrated and would appreciate any assistance from the community.
P.S. - I would be happy to upload the SystemUI and framework-res apks that I am working with if someone can do it for me.
Click to expand...
Click to collapse
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk
klin1344 said:
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk
Click to expand...
Click to collapse
Klin,
Thank you for the prompt reply. I have no doubt that you know what you're talking about. It's just that I was surprised at what you said, because I was under the impression that there were no smali edits needed with gingerbread. Correct me if I'm wrong (which I probably am).
Thanks again.
klin1344 said:
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk
Click to expand...
Click to collapse
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.
Higgs_Boson said:
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.
Click to expand...
Click to collapse
That's weird... I've never run into anything like that before.
You could extract the classes.dex from the apk with 7zip and then baksmali it.
Sent using Tapatalk
Higgs_Boson said:
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.
Click to expand...
Click to collapse
Wait.. Are you deodexed?
You need to be using a deodexed rom so all your apks will have smali in them.
Sent using Tapatalk
klin1344 said:
Wait.. Are you deodexed?
You need to be using a deodexed rom so all your apks will have smali in them.
Sent using Tapatalk
Click to expand...
Click to collapse
That must've been the issue, because I am on stock ROM, which I am sure is not deodexed.
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
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
Hi everybody :
first sorry for my bad english
second Can anyone please modify my systemui.apk to be able to enable nav bar ?
i tried adding this line (qemu.hw.mainkeys=0) in my build.prop but after reboot i got error (systemui has been stopped)
so i deleted this line again and systemui worked .... but i need to enable navbar .... so please anyone modify my systemui to be compatible with navbar ...... my android version 4.2.2 and here is my systemui.apk
it's not supported my phone. sorry..
Need framework-res.apk and twframework-res.apk to decompile SystemUI.apk
Sent from my GT-I9205 using Tapatalk
Here is my framework-res.apk and twframework-res.apk .... and thanks so much Silesh.Nair
Attached. Backup before you try this. You need to add the entry to build.prop for it to work properly after you replace SystemUI.apk
Silesh.Nair said:
Attached. Backup before you try this. You need to add the entry to build.prop for it to work properly after you replace SystemUI.apk
Click to expand...
Click to collapse
not working .. "System UI has stopped" :crying:
I'll take a look tonight.
Sent from my GT-I9205 using Tapatalk
Hegab said:
not working .. "System UI has stopped" :crying:
Click to expand...
Click to collapse
You can see it. I think it will help you to fix System UI problem..
http://forum.xda-developers.com/showthread.php?t=2647883