[REQ] Help with edit SemcGenericUxpRes - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

hi, can anyone replace icons from archive to apk in archive ? http://www64.zippyshare.com/v/52683022/file.html because when I'm doing it and changing this app in system/app icons are stretched, I changed icons via WinRar because when I'm trying to de/recompile this app via apk tool and other similar applications I have errors and can't do it properly
regards

Yes... But I need the original .pngs (those are from a decompiled .apk) - you can obtain them easy just unzip that .apk using "7 zip". And the framework-res.apk from the same folder (framework) as SemcGenericUxpRes.apk you are trying to modify (because I need to install it in my "APK Multi-Tool", otherwise I can't recompile the .apk)

so here is my framework and original icons http://www16.zippyshare.com/v/11770168/file.html

XperienceD said:
Quick Tip: If all you want to do is edit or replace normal images, things like your Status Bar icons or Menu icons like those used in the main screen of Settings then decompiling IS NOT necessary, simply open the apk in a zip program then just drag and drop any replacement images in to the correct folder, for images like your actual Status Bar which may have a .9 at the end then decompiling IS required.
Note: It's important to use STORE as the compression method when replacing images in the apk.
Also Note: .9 pngs need to be edited ONLY when in the decompiled folder, if you just take a .9 png and edit it then you won't be able to see the borders that the system needs to determine how that image should be displayed. I have included links at the end of this post to help with .9 editing along with links to other various theming resources that I've come across and bookmarked.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
..

XperienceD said:
..
Click to expand...
Click to collapse
I'm noob at this, can you help me with edit these icons, please ?

Deleted

LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
http://www76.zippyshare.com/v/9442694/file.html

LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
thanks for your effort but I used tutorial from your link http://forum.xda-developers.com/showthread.php?t=2190716 and did it myself and it is working, thank you very much

godlesplay said:
http://www76.zippyshare.com/v/9442694/file.html
Click to expand...
Click to collapse
Here it is. Try it. I hope it will work. By the way I resized them a little, because they were not the same size as the ones from the original .apk.
Later...
OK. I'm very happy for you. Have a nice day. I used the same tutorial for recompiling...

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.

[Q] notification pulldown background

First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Oohhlala said:
First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Click to expand...
Click to collapse
wrong section :/
http://forum.xda-developers.com/showthread.php?t=1374394
@pandamic : sorry mate, i'm newbie
XperienceD said:
http://forum.xda-developers.com/showthread.php?t=1374394
Click to expand...
Click to collapse
thanks for link, i follow your guide to de-compile SystemUI.apk for editing, i used the guide from http://forum.xda-developers.com/showthread.php?t=1803813 to edit my systemui and when i move new systemui.apk to my phone, i lost my notification . I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Oohhlala said:
I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Click to expand...
Click to collapse
No, it's the one from the newly built apk, simply extract it then add it straight back.
XperienceD said:
No, it's the one from the newly built apk, simply extract it then add it straight back.
Click to expand...
Click to collapse
i think i did exactly to compile the apk because i didn't have got bootloop. But i didn't have good result of " dropdown background " editing. I was still fail, lost my notification bar again. It made me a headache three days
I dont know i was wrong in which step to change " dropdown background " into picture
btw when i used Theming tool do decompile Settings.apk, it was fail

[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

[ HELP ] Decompiling and recompiling stock ICS framework-res

Hallo, I tried a lot of apktools and aapts but I am unable to recompile framework-res Every time resources have diferent size than stock framework-res and I have no idea how to hack them. If some one allready hacked them please help here! Seems Sony using an totally new aapt tool which is not public? I tried to recompile framework-res without modifying them but every time I getting boot loop.
munjeni said:
Hallo, I tried a lot of apktools and aapts but I am unable to recompile framework-res Every time resources have diferent size than stock framework-res and I have no idea how to hack them. If some one allready hacked them please help here! Seems Sony using an totally new aapt tool which is not public? I tried to recompile framework-res without modifying them but every time I getting boot loop.
Click to expand...
Click to collapse
framework from stock???
Yes
Note: mean about modifying xml files, not drag and drop from the one to the another... ! I have resigned all apks (including framework-res) and have no boot loop but framework-res can not be recompiled and signed, only signed! Allso drag and drop not working if xml files is modified! Hope you understand what I mean?
munjeni said:
Yes
Note: mean about modifying xml files, not drag and drop from the one to the another... ! I have resigned all apks (including framework-res) and have no boot loop but framework-res can not be recompiled and signed, only signed! Allso drag and drop not working if xml files is modified! Hope you understand what I mean?
Click to expand...
Click to collapse
Have U tried to drag 'n drop AndroidManifest.xml and META-INF folder from stock to modified framework-res and overwrite everything ( of course using archive manager )??
I needed to do this in my MIUI port ( CyanogenMod10 based ) for X8, because after every recompile I needed to copy them to not get bootloop
NeveHanter said:
Have U tried to drag 'n drop AndroidManifest.xml and META-INF folder from stock to modified framework-res and overwrite everything ( of course using archive manager )??
I needed to do this in my MIUI port ( CyanogenMod10 based ) for X8, because after every recompile I needed to copy them to not get bootloop
Click to expand...
Click to collapse
No, I have success in resigning unmodified stock framework-res, so META-INF have no sense because new META-INF is signed by new key and its working! There is problem with "format" ...seems Sony have his own aapt and apktool which making totaly diferent "format" than apktool and aapt that we using. I tried many of the aapt | apktool but .arsc have totaly diferent size (allso png files is with totaly diferent size)... !
Have u used the apk manager by diamondback??
http://forum.xda-developers.com/showthread.php?t=1619473
I am working in Linux machine!
munjeni said:
I am working in Linux machine!
Click to expand...
Click to collapse
have you figured out the problem yet??
and one thing I wanted a favour........
I wanted to change the rotation fix for your MIUI to back to its original state..... decompiled the framework-res.apk from the MIUI and changed the some values in framework-res/res/values/bools.xml and then recompiled it and when I replaced it with the default one I was getting the status bar of different width from the original..... it was almost double..... I also tried by just replacing some images just for test and the same thing happened........
Can you tell me whats the problem is????
Hey bro,
Even I was stuck with this issue for a while I think it was Spaun_Studio who found out how to fix this issue Its basically to do with apktool not bundling the required nxt drawables as needed Anyway, Here's the fix :
1) After decompiling, go to apktool.iml and delete the following lines :
usesFramework:
ids:
- 2
Click to expand...
Click to collapse
2) Go to res/values and open styles.xml. There, delete all references to sonyericcson.uxp:drawable (Delete the entire line)
Then, compile and it will work
Credits to Spaun_Studio and not me for the idea
Cheers
@[email protected] said:
have you figured out the problem yet??
and one thing I wanted a favour........
I wanted to change the rotation fix for your MIUI to back to its original state..... decompiled the framework-res.apk from the MIUI and changed the some values in framework-res/res/values/bools.xml and then recompiled it and when I replaced it with the default one I was getting the status bar of different width from the original..... it was almost double..... I also tried by just replacing some images just for test and the same thing happened........
Can you tell me whats the problem is????
Click to expand...
Click to collapse
Seems you missing something!
Min3r said:
Hey bro,
Even I was stuck with this issue for a while I think it was Spaun_Studio who found out how to fix this issue Its basically to do with apktool not bundling the required nxt drawables as needed Anyway, Here's the fix :
1) After decompiling, go to apktool.iml and delete the following lines :
2) Go to res/values and open styles.xml. There, delete all references to sonyericcson.uxp:drawable (Delete the entire line)
Then, compile and it will work
Credits to Spaun_Studio and not me for the idea
Cheers
Click to expand...
Click to collapse
Thanks mate for info, I will try soon! Its looking like problem you mentioned!
munjeni said:
Thanks mate for info, I will try soon! Its looking like problem you mentioned!
Click to expand...
Click to collapse
If you can help with the steps it would be great....... IF you are free then please help........ Thanks....

[L7 II][ROM][HELP]How to change icon on Notification bar?

How can I change the icons in the notification bar stock with those of G3??
AssoDiPicche said:
How can I change the icons in the notification bar stock with those of G3??
Click to expand...
Click to collapse
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Thank you!!
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Thank you very much , I'll try in the evening !
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Please can you guide me how to decompile and recompile LGSystemUI.apk
yashgumaste said:
Please can you guide me how to decompile and recompile LGSystemUI.apk
Click to expand...
Click to collapse
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
maxx_hr said:
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
Click to expand...
Click to collapse
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
yashgumaste said:
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
Click to expand...
Click to collapse
Didn't you ask: Please can you guide me how to decompile and recompile LGSystemUI.apk.
So, lets start with that... it is (infinitely) simpler than handling with android.policy.jar.
For beginning, please read and install from here:http://forum.xda-developers.com/showthread.php?t=2251719
All of this you need if you want to use VTS.
That is good base for start and understand this process (and works with kitkat).
And for virtuos ten studio, first you MUST read tutorials at this page: http://virtuous-ten-studio.com/, but if you don't understand base of whole process, VTS is useless.
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
yashgumaste said:
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
Click to expand...
Click to collapse
I dont know where you take only icons, you must take it by yourself from LGSystemUI, or framework-res from original G3 rom.
Try to extract from here: https://app.box.com/s/m0tvrwabte4x6lyc2la1, if they look like in attached pic.
Or try to search or ask someone on G3 forum.

Categories

Resources