[Need Help To Make SystemUI.apk] - Samsung Galaxy Star

. Hey all !
Can any one help me how to decompile systemui as well as to make a new systemui.apk .
I googled lot but Im not getting how to decompile UI even I tried to download some tools like apktool but I don't know why that app never starts
Can any one provide me simple and straight method for making a new system UI and provide tools required to make UI
I'm really noob in such things so your help will not only help me but also other noobs like me. .
Thanks

psyduck said:
. Hey all !
Can any one help me how to decompile systemui as well as to make a new systemui.apk .
I googled lot but Im not getting how to decompile UI even I tried to download some tools like apktool but I don't know why that app never starts
Can any one provide me simple and straight method for making a new system UI and provide tools required to make UI
I'm really noob in such things so your help will not only help me but also other noobs like me. .
Thanks
Click to expand...
Click to collapse
It isnt an app that u can just theme with so easily.
U have to open apktool using "CMD" or Command Prompt
If u want to theme easily use ticklefish's Tickle my droid
If u want to theme as u want exactly use apktool.
Also If u just want to edit images (and not xmls)
Just use 7 zip to extract ur apk. Edit pngs in drawable-ldpi and drawable-hdpi using gimp/Paint.net/Photoshop
then put edited files back in the apk
Cheers :cheers:

make sure after the edit put same filename and repack

arun531 said:
make sure after the edit put same filename and repack
Click to expand...
Click to collapse
dont repack ever....
either recompile usin apktool or just replace it from the apk without unpacking
Sent from my SM-T211 using Tapatalk

Related

[Q] Help decompiling framework-res.apk

Hey, i am a bit noob here decompiling, and compiling system apks, so now im trying to decompile framework-res.apk from my CM7 rom, and i get a 9.png errors when decompiling and another strange one when compiling.
The whole CMD window is attached.
I hope get some help with this, i also got it with CM9 framework.
bump
Sent from my SG Ace
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
zelendel said:
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
Click to expand...
Click to collapse
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
Yes its because of the theme. If yo look at each file it says is broken you will have to remake all those .9.pngs properly. A search will teach you how to do it. You will need the android SDK installed for sure for the .9.png tool.
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
alteredlikeness said:
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
Click to expand...
Click to collapse
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
zelendel said:
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
Click to expand...
Click to collapse
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Adgoosuc said:
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Click to expand...
Click to collapse
The bools XML will be over writted when you flash the theme.
alteredlikeness said:
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Click to expand...
Click to collapse
Ok the 1 px boarder around the image has to be the last thing applied to an image. You can edit it with gimp and 7zip but that breaks the border settings. This is the reason most .9.pngs break when decompiled.

[SHARE] [APP] Ninjamorph free

http://db.tt/pw2VSwdH
Just wanna share the app ninja morph... Its an app used for editing the apks and jars from the phone only ......
Its great app for the ones who wanna edit their apk and jars and theme them from phone only...
Great one try it (Y)
Credits - to developer of app...
And Me for sharing
Thread reported - WAREZ.
Now its not warez...
Check it !!
thanks man .just downloaded it can i edit statusbar icons inside systemui.apk using this?
Sent from my GT-S5360 using xda premium
why the hell are you reporting a free app. loser L
Sent from my GT-S5360 using evo
You can use ninjamorph for changing status bar background image
But it will only work if the status_bar.xml has a @drawable value for status bar background
If it doesn't and has a hexadecimal value it will not work as it's not pointing to a picture that can be changed
You will need to decompile the SystemUI.apk and change the value to @drawable/name of image and then place the image in the drawable-ldpi folder
You can change any other status bar image but it's a slow way of doing it as you can only change one image at a time (you can change as many as you like before you confirm change & apply I mean you cant multi select)
It's easier to unzip the apk & replace files
At op - to avoid confusion of warze instead of posting link to Dropbox post the link to download from the playstore - will also mean people will be downloading latest version
This is playstore link
https://play.google.com/store/apps/details?id=stericson.ninjamorph.free&hl=en
Nice but a con
I cant edit xmls :/
ROM EVOLUTION X3
KERNEL HELL FUSION
ALINS JB THEME + EVOLUTION S3 STATUS BAR.
technosavie said:
Nice but a con
I cant edit xmls :/
ROM EVOLUTION X3
KERNEL HELL FUSION
ALINS JB THEME + EVOLUTION S3 STATUS BAR.
Click to expand...
Click to collapse
You need a pc with the following installed
Android drivers
Java development
Apk tools
You can then decompile systemui.apk & edit xml files in notepad
Unfortunately there is no way of editing xml files on phone
(there are apps to edit xml files on phone but they don't work with android compressed xml files within apk)
@marcus
Thanks mahn... Uh explained them rightly... (Y)
I don't like ninja morph!
What I do is rename the apk to .zip and make changes inside the zip with powergrasp. And when done rename it again
learning
xXx~~~SHLOK~~~xXx said:
I don't like ninja morph!
What I do is rename the apk to .zip and make changes inside the zip with powergrasp. And when done rename it again
learning
Click to expand...
Click to collapse
That is easier if you have a lot of mods to do
Ninjamorph was created to change a single file quickly on the fly - its not designed for multiple file replacements
xXx~~~SHLOK~~~xXx said:
I don't like ninja morph!
What I do is rename the apk to .zip and make changes inside the zip with powergrasp. And when done rename it again
learning
Click to expand...
Click to collapse
Yeah agree wid marcuss .....
Ninja morph is for fast , reliable access for one file....
Its great app for newbies just editing their background... Icons etc..
marcussmith2626 said:
That is easier if you have a lot of mods to do
Ninjamorph was created to change a single file quickly on the fly - its not designed for multiple file replacements
Click to expand...
Click to collapse
Not reliable for me! Once I edited an apk but still no change
xXx~~~SHLOK~~~xXx said:
Not reliable for me! Once I edited an apk but still no change
Click to expand...
Click to collapse
Depends what you tried to change
For example of if you tried to change the status bar background image and there's not an entry in status_bar.xml for a @drawable png image it would be impossible to change using ninjamorph as there is no pointer to an image in systemui.apk
And of course you have to finish the project and apply changes without zip aligning
It does work if used correctly and for the right use
You need a pc with the following installed
Android drivers
Java development
Apk tools
You can then decompile systemui.apk & edit xml files in notepad
Unfortunately there is no way of editing xml files on phone
(there are apps to edit xml files on phone but they don't work with android compressed xml files within apk)
[\QUOTE]
I was know that it can done on pc i was taking ninja moeph
ROM EVOLUTION X3
KERNEL HELL FUSION
ALINS JB THEME + EVOLUTION S3 STATUS BAR.
Click to expand...
Click to collapse
is this a debate thread?
ninjamorph is just a simple and user friendly tool
there is also a script that manages to change png files using terminal emulator
i use both.
i dont like extract and rezip for some reasons
Please stop all of this.... Its just a app..
So if any one want and they don't know about it then they can get...
So please stop arguing about which bad or good app... As all apps are made by some efforts of developer, so we should respect that effort instead of argueing about which is best !
op you were not the first here. it is already introduced to us. with tutorial on how to use the ninjamorph and the dos and dont. with screenshot and examples of finished products too. try to search the forum before posting
check this link http://forum.xda-developers.com/showthread.php?t=2118099
But Not all newbies know this...
where can i find the clock or the clock color inside the systemui? what is the file name? thanks..
Sent from my GT-S5360 using xda premium

[Q] How to MOD APPS ?

HI Guys !
I am new to this developer world.I recently joined XDA and i am seeing here that there are many developers modding apps ...like [MOD][APP]WALKMAN APP FOR XPERIA P FROM XPERIA V..
My question is how they make it able to run on other devices?...How i can mod ? answer my question take me as a noob.
plz help me ..
it is only for developer i think,
mod app is not easy for common user,
if you do not know well about development .you will find mod some application is a very difficult thing.
timgreen123 said:
mod app is not easy for common user,
if you do not know well about development .you will find mod some application is a very difficult thing.
Click to expand...
Click to collapse
Don't worry i know java programming....You only tell me method and what i have to download....what procedure.
P.fever said:
Don't worry i know java programming....You only tell me method and what i have to download....what procedure.
Click to expand...
Click to collapse
Well first things first, you need the apps you're going to mod...
Pull them from your ROM.
Decompile
You need apktool for this...
First things first, you need the framework-res.apk in the apktool folder.
Open a command script and install it with: apktool if framework-res.apk
Then decompile your app ( ex: SystemUI.apk ) with: apktool d SystemUI.apk
Make your changes
Change the images, do some XML editing, some smali things....
Recompile
If you want to recompile it to an .apk file use this in the command: apktool b SystemUI
DO NOT ADD APK, cuz you're building the SystemUI folder contents into an .apk
Jeroenvk94 said:
Make your changes
Change the images, do some XML editing, some smali things....
Recompile
If you want to recompile it to an .apk file use this in the command: apktool b SystemUI
DO NOT ADD APK, cuz you're building the SystemUI folder contents into an .apk
Click to expand...
Click to collapse
Is this just an posibility 4 Layout and ui (XML) changes or can i even look & change @ the java Code and underling activities?

[Q] How to change the list on press action or bg in Xperia U devices?

Hi guys, I'm fairly new to this but I wanted to know how I can change the list pressed animation style in Xperia U? I mean the white background glow on pressing and holding any list button in menus or tabs or buttons, for example see the following photo (attachments), how the background of the notification has turn to white (fading).
I thought there might be a. 9.png file for that, but when I started searching for in the drawable folder of framework-res.apk, I wasn't able to find it?
So I wanna know that am I searching wrongly or there is no such file and just a xml code which I'm not able to get my hands on because of lack of my knowledge of decompiling the apks. I tried decompiling it by apktool but it won't budge. Also to edit pngs I am using a simple technique (posted by a xda user, sorry for not recalling your name but thanks) that is to just open or extract the roms through 7zip and then just copy them back to the respective apk file. This seems to be working as I was able to create my own lockscreen. So please help me in finding where I'm going wrong.
Thanks in advanced...
You must decompile the framework-res.apk and then, search in /drawable-hdpi folder the image. Its name is notification-normal-bg.9.png or something like that. Edit it with photoshop, and, when you have all that you want, compile the framework-res.apk and change it in your phone. Do a backup before do anything.
Enviado desde mi ST25i usando XDA Premium HD app
Slash137 said:
You must decompile the framework-res.apk and then, search in /drawable-hdpi folder the image. Its name is notification-normal-bg.9.png or something like that. Edit it with photoshop, and, when you have all that you want, compile the framework-res.apk and change it in your phone. Do a backup before do anything.
Enviado desde mi ST25i usando XDA Premium HD app
Click to expand...
Click to collapse
First of all thanks for your advice, but as it turns out the Sony isn't using that file?? And also I just did it with my normal method (described before), so I guess it might be a problem that I'm not decompiling it, but as it turns out I don't know exactly how to. So can you suggest me a Guide or something like that through which I can learn to do it without any problems...?? Because last I time tried it, I got a failed app! Please help, thanks in advance...
divinemamgai said:
First of all thanks for your advice, but as it turns out the Sony isn't using that file?? And also I just did it with my normal method (described before), so I guess it might be a problem that I'm not decompiling it, but as it turns out I don't know exactly how to. So can you suggest me a Guide or something like that through which I can learn to do it without any problems...?? Because last I time tried it, I got a failed app! Please help, thanks in advance...
Click to expand...
Click to collapse
I have successfully figured out the first part of the problem, the sony uses the .png starting with semc... So I just searched for semc_list_.... And found what I was looking for. But still how to decompile system apps in Xperia based devices succesfully..? Please someone..?
divinemamgai said:
I have successfully figured out the first part of the problem, the sony uses the .png starting with semc... So I just searched for semc_list_.... And found what I was looking for. But still how to decompile system apps in Xperia based devices succesfully..? Please someone..?
Click to expand...
Click to collapse
You must use APKTool for decompile. When you got it it's so easy to use.
Slash137 said:
You must use APKTool for decompile. When you got it it's so easy to use.
Click to expand...
Click to collapse
Yeah buddy, it was pretty easy. And I figured out what I was doing wrong before, I wasn't including framework-res.apk and SemcGenericUxp.apk in the tool to help it compile the resources! Thanks.
divinemamgai said:
Yeah buddy, it was pretty easy. And I figured out what I was doing wrong before, I wasn't including framework-res.apk and SemcGenericUxp.apk in the tool to help it compile the resources! Thanks.
Click to expand...
Click to collapse
Can you suggest me a method of porting roms perfectly...?
divinemamgai said:
Can you suggest me a method of porting roms perfectly...?
Click to expand...
Click to collapse
Don't worry GOT.. IT....

[Q][Help] Recompile/Decompile apk's

Hi guys !
I'm having a problem recompiling the systemui.apk, i'm modding some .xml files and everything goes fine, it recompiles ok but when i push it to my phone there's no change i decompile the modified apk and the xml files aren't change either it's like i didn't change anything from them.
Every single time a recompile an apk it goes back to normal
Does anyone else has that problem or is just me , and does someone knows how can i fix that problem?
INFO :
Windows 8 pro
Using : Apktool , Auto apktool and tickle my android (in all of them i get that same problem)
Thanks in advance, regards
Give the Command Prompt Editing section a read, might clear it up. - [Advice/Reference/Guide] The Definitive APK Modding & Theming Thread...
XperienceD said:
Give the Command Prompt Editing section a read, might clear it up. - [Advice/Reference/Guide] The Definitive APK Modding & Theming Thread...
Click to expand...
Click to collapse
Already read it and that's what i've been doing, and like i said the changes aren't saved. Every time i delete o put some codes in the xml file with notepad++ i save them but after i recompile the apk i decompile it again to check if everything's alright but the files look like the original ones.
monster30 said:
i decompile it again to check if everything's alright but the files look like the original ones.
Click to expand...
Click to collapse
Is this apk in the dist folder?
XperienceD said:
Is this apk in the dist folder?
Click to expand...
Click to collapse
Yep. I really don't know why i can't make it work a week ago i didn't have this problem. (i didn't change anything in my laptop etc)
Sent from my WT19i using xda premium
..
monster30 said:
Yep. I really don't know why i can't make it work a week ago i didn't have this problem. (i didn't change anything in my laptop etc)
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
here, pls try this to de-/recompile using his TuT; BUT recompile TuT has a bug:
''apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )'' <-- justtype in without ''.apk'' --> will work
i use this mostly bcuz for me, it dont maked any problem's (like some other tools), also allways work
bejunk said:
here, pls try this to de-/recompile using his TuT; BUT recompile TuT has a bug:
''apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )'' <-- justtype in without ''.apk'' --> will work
i use this mostly bcuz for me, it dont maked any problem's (like some other tools), also allways work
Click to expand...
Click to collapse
i tried that one a couple of times and it didn't worked ,right now i try it again and the changes were saved but when i push it to my phone the status bar was gone (i did copy the META.INF folder to the new apk)
monster30 said:
i tried that one a couple of times and it didn't worked ,right now i try it again and the changes were saved but when i push it to my phone the status bar was gone (i did copy the META.INF folder to the new apk)
Click to expand...
Click to collapse
and this apktool says recopiling was fine??
also: which rom is this systemUI from; what for a mod u will do?? (will try it on my pc, maybe the problem is win8 ?)
bejunk said:
and this apktool says recopiling was fine??
also: which rom is this systemUI from; what for a mod u will do?? (will try it on my pc, maybe the problem is win8 ?)
Click to expand...
Click to collapse
Yep, the recompile goes ok. I wanna change the toggle icons and wanna move the icons in the status bar.
And actually ticklefish already help me with that and when i push it nothing happen either, so i don't think it's a prob with win8 cuz before i didn't had that problem, it started this week
The systemUi is from honami i1 rom from aneel, i already install the framework from the rom.
Sent from my WT19i using xda premium

Categories

Resources