[Q] How to mod systemui.apk?? - Xperia SP Q&A, Help & Troubleshooting

Can anyone please explain or suggest me a tutorial to learn how to make changes in systemui.apk of xperia SP?
So far I have learnt to use APKtool. But when I try to decompile systemui.apk with framework-res.apk, I get the following error :
"Can't find framework resource for package of id: 2. You must install proper framework files, see project website for more info."
These are the commands I used:
apktool if framework-res.apk
apktool d systemui.apk
I also tried Autoapktool with same result.

U should also install semcgenericuxpres. Apk through Apk tool by using following cmd
Apktool if semcgenericuxpres. Apk
Sent from my C5303 using XDA Premium 4 mobile app

Related

Theming miui

Hi,
Since ICS is out I have been using mainly CM9. But at the moment I am trying catalyst miui from kong. And I find out that theming is not fully compatible in miui v4 yet.
So I was wondering if it is possible at the moment to change the icons from the status bar? And how?
Thanks!
Sent from my Nexus S using xda premium
sur&74 said:
Hi,
Since ICS is out I have been using mainly CM9. But at the moment I am trying catalyst miui from kong. And I find out that theming is not fully compatible in miui v4 yet.
So I was wondering if it is possible at the moment to change the icons from the status bar? And how?
Thanks!
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
One way to do it is to decompile MiuiSystemUI.apk (found in /system/app/)
First, get the two framework apk's from /system/framework/
You need framework-res.apk and framework-miui-res.apk
Then in apktool install resources from these apk's
Code:
apktool if framework-res.apk
apktool if framework-miui-res.apk
Then you can decompile MiuiSystemUI.apk
Those png's are in /res/drawable-hdpi/
fergie716 said:
One way to do it is to decompile MiuiSystemUI.apk (found in /system/app/)
First, get the two framework apk's from /system/framework/
You need framework-res.apk and framework-miui-res.apk
Then in apktool install resources from these apk's
Code:
apktool if framework-res.apk
apktool if framework-miui-res.apk
Then you can decompile MiuiSystemUI.apk
Those png's are in /res/drawable-hdpi/
Click to expand...
Click to collapse
OK so extracting framework-res from an .mtz file with with archive manager, making the modification, compressing it back in .zip and then deleting the .zip is not the right way then?
Sent from my Nexus S using xda premium

[ASK] How to decompile SEMC.app

hy all I want to ask why yah if you want to decompile SEMC.app always fail either using apktool or apkmanager:crying:
What error does it show? Can you paste it here?
Sent from my LT18i using xda app-developers app
I do not know
Hi, do you mean SEMC Debrand Engine apps?
First copy SemcGenericUxpRes.apk and framework-res.apk from system/app of the ROM to this address in your computer:
C:/Documents and settings/name of user/apkmanager/framework
This address is for Windows XP it should be different for Windows7.
Then rename framework-res.apk to 1.apk and SemcGenericUxpRes.apk to 2.apk.
Now you can decompile any app from SDE ROM.
Sent from my E15i using Tapatalk 2

[Q] decompile SystemUI.apk, and framwork-res.apk

decompile system UI
what does decompile mean and how can i do it
thanks in advanced and sorry if its a noob question
it means opening it up to view and edit the files inside, such as layouts and png images etc.
you can use apktool for things like this, some changes can be made with 7zip or notepad++ but i think you need apktool to recompile it, otherwise it will fail when installing.
You can use 7z to change what ever you want that is visible in the archive. but if it includes the values folder which is enbedded in resources.asrc then you will need to decompile > change > recompile
Is apktools for PC or mobile?
sent from galaxy s4(testing dev edition) using xda premium
sepehrthegreat-iran said:
Is apktools for PC or mobile?
sent from galaxy s4(testing dev edition) using xda premium
Click to expand...
Click to collapse
Its a pc based software, some versions will or will not decompile/recompile properly on Ics/JB so you need to download one which is complete, some use two versions but there is a version apktools ics which works ok on jellybean, however depending on what you decompile some errors may need manual fixing.

[Q] Parse error on recompiled framework-res.apk?

Hey everyone..
Currently, I am trying to change one value in the res/values/drawables.xml file of the Xperia V .145 framework-res.apk file...
Decompiling works perfectly, no errors..
When recompiling, Apktool shows a warning, that one string is missing in some languages.. Should not be much of an issue.
When recompiling is done, the framework file shows a parse error.. I have tried signing it, but this didn't work... Any ideas what I am doing wrong?
Btw, would it work to paste the resources.arsc file from my modified framework into the base framework-res?
Any help would be appreciated!
(Also, if I don't get it to work myself, might there be a nice guy that does the mood for me?
It's only replacing two numbers, no problem usually
Sent from my LT25i using xda app-developers app
Update... Just tried another framework-res.apk.. Works perfectly after recompiling..
So it must be an issue with the .145 framework..
Hmm.. Can I mix frameworks of different firmware versions?
Edit: Nevermind.. Even framework-res.apk from .140 firmware has the parse error after recompiling.
I have no idea how to do this! >.<
Might it be an issue with Apktool app for Android?
Sent from my LT25i using xda app-developers app

Cant Modify the SystemUI.apk 4.42

hello Guys hope you can help me with an Problem:
I wanted to change the Colors of the Icons in the Status Bar so i copied over systemUI.APK to my PC via ES-Data Explorer.
I extracted the ZIP and Coloreed the Logos (Didnt change anything just Colored)
then i got 2 Framework APK ( com.htc.resources.APK and framework-res-htc.APK) and used this APK TOOL: Apktool if xxxx.APK (the two apks from framework)
then i decompiled the SystemUI.APK with APK Tool and replaced the ICONS (which i edited before from an usual extracted APK)
now when i want to compile it again it gives me an error at every Icon which i edited.
Hope you can help me, It worked on my samsung galaxy s2 though.
Ah And not to forget: Of Course im S-OFF and Rooted.
[IMG="Screenshot of the Logos and APKTOOL"]
http://www.fotos-hochladen.net/uploads/screenshot10lkbtp4izef.png
[/IMG]
Sent from my HTCONE using XDA Free mobile app
Bump
Sent from my HTCONE using XDA Free mobile app

Categories

Resources