[Q] theming systemui.apk - Samsung Galaxy Star

I am into theming right now and have themed systemui.apk
and m ready to put that in my system.
there are 2 problems right now
1st is that when i recompile systemui using apktool it gives me warnings but builds the apk
even if i recompile it unchanged it gives some warnings
aapt: warning: string 'something' has no default translation in C:/Users/T3/apktool/ab/res; found:mk
there are numerous such lines. ab is directory where i have decompiled systemui.apk
2nd is that my rom is odexed and stock so on replacing systemui.apk it stops
so is there anyway i can put the systemui withoud deodexing my rom??
or some ppl have made flashable zips for systemui. Can someone teach me or give me a link where i can learn doing that??
or is there any way to deodex rom without usin odin and flashing??
Iknow I could have googled but i tried and found somethings related to linux and ubuntu but since im on windows
and here ppl are into theming i thought i could get some help here..
Thanx in Advance

Buddy... delete the systemui.odex and replace the stock systemui.apk with ur systemui.apk . N if u hv modded it correctly. Then it will work.
N
For making flashing zip.
Just add ur systemui.apk in meta inf folder in system/app/here paste it.
U can get Meta Inf folder by google or take it from any other flashing zip.
Don't forget to hit thanks

Related

Having issues with decompiling Mms.apk for compression fix

Hey guys I have an evo 4g I am trying to apply steelH's Mms compression fix and I'm wondering what I'm doing wrong. I extracted the MMS.apk file along with the framework-res.apk file into the apktool directory to install the framework with the apktool if framework-res.apk command and it said that it was installed then I tried to decompile with apktool d Mms.apk and it just gave me a bunch of errors and at the end it said that it needed the proper framework files but the folder with all the decompiled files were still there. So I went ahead and found the imagemodel.smali file and made the necessary changes and tried to recompile it but it gives me a bunch of errors that you can see in this screenshot. Any idea what I should do to fix this so I can recompile and put the MMS.apk file back into my phone with the fix?
Usually when you get the weird characters it means the apk did not decompile properly, make sure when you decompile the SystemUI.apk you also put framework-res .apk In your apktool folder. Then in cmd type
apktool if framework-res.apk
apktool d SystemUI.apk
Well if you take a look at the screenshot my framework-res.apk is in the folder with the apktool and the Mms.apk which I wanted to decompile and those are the commands I used except I didnt need to decompile systemUI but rather Mms.apk. So I'm wondering what I'm doing wrong since I've done exactly what you suggested in the first place. the 1.apk is from the first command as it installed correctly according to cmd.
Have you type those word in cmd? You need to type in those code while decompiling ssystem app
Accidentally sent from my Google Nexus S using XDA Premium
yes i typed in cmd: apktool if framework-res.apk but not apktool d systemui.apk I don't want to decompile that file. I'm confused about why you're telling me to decompile that file. can you please give me an explanation as to why I need to decompile that file to decompile mms.apk?
EDIT: Nevermind, I figured out what the problem was. I also needed to bring out and install the resources from the rom for the decompile to work.
SprintTouchPro2 said:
yes i typed in cmd: apktool if framework-res.apk but not apktool d systemui.apk I don't want to decompile that file. I'm confused about why you're telling me to decompile that file. can you please give me an explanation as to why I need to decompile that file to decompile mms.apk?
EDIT: Nevermind, I figured out what the problem was. I also needed to bring out and install the resources from the rom for the decompile to work.
Click to expand...
Click to collapse
Can you post more info on this?

Framework for apktool

what's the framework-res.apk to use to decompile apks in apktool? i can't decompile even one apk because it says the framework installed is wrong.
also maybe can someone attach the original stock settings.apk for lww?
:thanks:
patz0110 said:
what's the framework-res.apk to use to decompile apks in apktool? i can't decompile even one apk because it says the framework installed is wrong.
also maybe can someone attach the original stock settings.apk for lww?
:thanks:
Click to expand...
Click to collapse
The framework-res.apk you need to install is the one which comes with your rom. You may need to install some other files as well, depending on which files you're trying to decompile.
Best thing to do is go through your system/app and system/framework folders and install everything with the word 'res' in the name. You might install some files you don't need, but this won't cause any harm and it will ensure you've installed all the resources available.
Solved by installing SemcGenericUxpRes.apk
closed

SystemUI and Build.prop

Hello
i have one question and need your help so i make my own rom but i want replace systemui.apk and edit build.prop
so how i can replace systemui do i need replace other file together with systemui or just replace systemui with one from other rom systemui.apk I would like to replace it as far as I know is in there the whole look and icons?and how i can in build.prop edit name of rom,version of rom and author of rom I already tried to edit build.prop tweaks and work fine but when i change rom id in build.prop my rom won't start when install rom so what i do wrong?
So please help me i not need tutorial i just need easy help ho replace systemui.apk do i need replace framework-res when i replace systemui.apk and how edit build.prop id etc......
please help me
systemUI .. i dont know much about, so took this infos from here
Part 1 Theming Android:
First you need the following Tools for this:
-7zip
-A Windows PC
Step 1) Go to your rom you like to Theme and grab you Systemui.apk From system/app Copy it to your desktop!
Step 2) Now open the file with 7zip by right clicking on the file and choose open with 7zip
Step 3) When you are in the Systemui.apk with 7zip go to the Res folder and open up Drawable-hdpi Depending on your phone it could be also Drawable-ldpi or Drawable-mdpi Or Drawable-xhdpi Now just open that folder!
Step 4) when you are in that folder you see a lot of .png files that are all the files you could theme now If you want to theme your Systemui.apk to ICS/JB/GB/Froyo etc... source for the systemui.apk from a phone who is running on that OS!
Step 5) When you have found that systemui.apk from the other OS Then open that Systemui.apk also with 7zip and go to the res folder and than to Drawable-hdpi!
Step 6) when you have bot systemui.apk's opend source for the .png's you want to theme for example you want to theme the wifi signal icon Source in YOUR SYSTEMUI.APK FROM YOUR PHONE to stat_sys_wifi_signal
then also find the excactly same .png in the other Systemui.apk from that other OS and start copying the Files!
NOTE: Please Check the names if they are the same otherwise the systemui will Force Close (Crash)
Step 7) Now when your done copying and theming Close The file and put it back in your rom Flash your rom congratulations you have themed Now your Android Rom!
build.prob is only a small textfile, edditing it via an txt editor is quite simple..
another solution for your customer rom making could be:
StudioAndroid a suit for modding android roms, and apps and so on. it is easy to use and does almost everything you want
or
Rom Maker , less features, a small simply to use version, alsowith build.prob edit.
build.prob tweaks can befoud here:
http://forum.xda-developers.com/showthread.php?t=1227269
http://forum.xda-developers.com/showthread.php?t=1808791
.. or look at some zweaking scripts, something like that
have fun, and dont forget to thank :good:
BLiNKT said:
Hello
i have one question and need your help so i make my own rom but i want replace systemui.apk and edit build.prop
so how i can replace systemui do i need replace other file together with systemui or just replace systemui with one from other rom systemui.apk I would like to replace it as far as I know is in there the whole look and icons?and how i can in build.prop edit name of rom,version of rom and author of rom I already tried to edit build.prop tweaks and work fine but when i change rom id in build.prop my rom won't start when install rom so what i do wrong?
So please help me i not need tutorial i just need easy help ho replace systemui.apk do i need replace framework-res when i replace systemui.apk and how edit build.prop id etc......
please help me
Click to expand...
Click to collapse
I also answered this in the software developement section for you. http://forum.xda-developers.com/showthread.php?t=1890347

Apktool and systemui no status bar??

Ok so i have had NO LUCK whatsoever trying to get this to work. My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.
The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.
Next i compiled the APK file.
Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.
Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.
I have tried signing and not signing. Zipaligning and not zipaligning.
I am stuck here. I am really wanting the AOSP themed icons in the status bar. Any help will be greatly appreciated!
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Open your fresh compiled apk, and your original apk using 7-zip (I haven't tested with Winrar, try if you wish).
Drag and drop all the files from your compiled apk to the original one, EXCEPT the AndroidManifest.xml.
Push this new cross-modded apk to your phone and reboot.
RoberGalarga said:
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Click to expand...
Click to collapse
Always zipalign.
XperienceD said:
Always zipalign.
Click to expand...
Click to collapse
I use dsixdas kitchen to zipalign my apks. Is there another tool I can use for just zipalign?
Droid Premium said:
Is there another tool I can use for just zipalign?
Click to expand...
Click to collapse
Yes, apk multi-tool.
RoberGalarga said:
Yes, apk multi-tool.
Click to expand...
Click to collapse
I appreciate it. Thanks sooo much!
Give me a hand please
RoberGalarga said:
Try this:
Decompile, mod and compile your apk as usual (don't sign or zipalign the file).
Open your fresh compiled apk, and your original apk using 7-zip (I haven't tested with Winrar, try if you wish).
Drag and drop all the files from your compiled apk to the original one, EXCEPT the AndroidManifest.xml.
Push this new cross-modded apk to your phone and reboot.
Click to expand...
Click to collapse
I am modding my status bar 2.3.4 and i want to add power toggles to it
i got a systemui.apk from another phone ( xperia arc 2.3.4) which has the same status bar like i do ( droid 3 )
when i switch systemui.apk's between them i get a FC and then i reboot and i get no status bar .
is that because it is from a different phone ( i looks exactly like my status bar ) or it might be a signature problem from android xml ?
Dorin21 said:
I am modding my status bar 2.3.4 and i want to add power toggles to it
i got a systemui.apk from another phone ( xperia arc 2.3.4) which has the same status bar like i do ( droid 3 )
when i switch systemui.apk's between them i get a FC and then i reboot and i get no status bar .
is that because it is from a different phone ( i looks exactly like my status bar ) or it might be a signature problem from android xml ?
Click to expand...
Click to collapse
You can't do that. Just because they look the same doesn't mean the coding is the same. You are gonna have to add all the missing coding from one that has it to yours. Not an easy task at all
Wayne Tech Nexus
zelendel said:
You can't do that. Just because they look the same doesn't mean the coding is the same. You are gonna have to add all the missing coding from one that has it to yours. Not an easy task at all
Wayne Tech Nexus
Click to expand...
Click to collapse
I even tried to copy a status bar from a 2.3.4 rom ( droid 3 ) to my own build ( 2.3.4 droid 3 ) and did not work
I somehow need to edit the status bar, the interface, so that I create the space needed by my toggles and then add them
And after that I need to create a command file so when I click on wifi to turn it off or on for example, right?
Do you know any place for learning coding or some tutorial that could help me in a way or another?
Dorin21 said:
I even tried to copy a status bar from a 2.3.4 rom ( droid 3 ) to my own build ( 2.3.4 droid 3 ) and did not work
I somehow need to edit the status bar, the interface, so that I create the space needed by my toggles and then add them
And after that I need to create a command file so when I click on wifi to turn it off or on for example, right?
Do you know any place for learning coding or some tutorial that could help me in a way or another?
Click to expand...
Click to collapse
You will need to use a decompiling tool such as APKtool. Then transfer the PNG files from the xperia systemui to the droid3 systemui. Make sure png file names are exactly the same on both systemui's or just rename them to match the droid3 systemui. Also make sure if you have lets say 400 png files in one folder make sure you have 400 at the end of your modding or you will have compiling issues and force closes!
Then use 7-zip to transfer the meta-inf folder to the modded apk file. Zipalign and boom you are done!
Droid Premium said:
You will need to use a decompiling tool such as APKtool. Then transfer the PNG files from the xperia systemui to the droid3 systemui. Make sure png file names are exactly the same on both systemui's or just rename them to match the droid3 systemui. Also make sure if you have lets say 400 png files in one folder make sure you have 400 at the end of your modding or you will have compiling issues and force closes!
Then use 7-zip to transfer the meta-inf folder to the modded apk file. Zipalign and boom you are done!
Click to expand...
Click to collapse
So if i understood corectly i'll have to do this
1. Decompile both apks with apktool .
2. Copy all the stuff from framework-res from xperia to my systemui ( or just for the status bar toggles )
3. Transfer meta-inf .
Question : if i transfer meta-inf folder i will copy and replace the original right ? And what is the meta inf actually ? (The command lines for each power toggle ? ( i mean what to do if i click wifi for example ☠)
4. Zipalign .
5. Replace the file in my unzipped rom ( should i unzip it normally or with apktool ) and then zip it and flash it
Dorin21 said:
So if i understood corectly i'll have to do this
1. Decompile both apks with apktool .
2. Copy all the stuff from framework-res from xperia to my systemui ( or just for the status bar toggles )
3. Transfer meta-inf .
Question : if i transfer meta-inf folder i will copy and replace the original right ? And what is the meta inf actually ? (The command lines for each power toggle ? ( i mean what to do if i click wifi for example ☠)
4. Zipalign .
5. Replace the file in my unzipped rom ( should i unzip it normally or with apktool ) and then zip it and flash it
Click to expand...
Click to collapse
Its a complicated process. It's hard to explain. Check to see if your device supports VRTheme. Go to the Themes section for your device and see if anybody has a theme that uses that system. If so that would make your life SOOO much easier!!
I want to edit my status bar style to iOS style by editing systemui.apk file ..how to do that tell me bro

Help editing SystemUI (LineageOS)

Hi, i want to edit the systemui. I decompile the apk, then i edit the files, recompile and move META-INF and resources.arsc to the apk, no problems but when i replace in the phone i get bootloop no mather what i do, i tried various guides and nothing any help please?
Sorry for my english

Categories

Resources