i replaced with some emotions png files on framework-res.apk emotions ( res/drawablw-hdpi inside) but it didn't work again i check whether framework-res includes my new emos' but yes it has my new emotion png's. But when i text to someone still i got stock emotions .. y? can some one tell me how to replace original files of emos' (I used http://forum.xda-developers.com/showthread.php?t=1578854 to decompile and compile framework-res. because i need CRT effect too. i got CRT effect but not emotions )
help me please
Thankx
sasadara said:
i replaced with some emotions png files on framework-res.apk emotions ( res/drawablw-hdpi inside) but it didn't work
Click to expand...
Click to collapse
You need to change the emoticons in \system\app\Mms.apk\res\drawable-hdpi
Also, it's not necessary to decompile & recompile to do this.
Either just drop the new pngs into Mms.apk using 7-Zip or make a flashable vrtheme - there's some here you can modify.
Spannaa said:
You need to change the emoticons in \system\app\Mms.apk\res\drawable-hdpi
Also, it's not necessary to decompile & recompile to do this.
Either just drop the new pngs into Mms.apk using 7-Zip or make a flashable vrtheme - there's some here you can modify.
Click to expand...
Click to collapse
+1
ahh i got it
Thank you
Related
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.
I'm on stock 4.0.3. I want to change the lockscreen clock fonts. I tried Clockopia.tff changing in font but didn't work. I read it somewhere I can be done on framework.res.apk. How to do it? I don't know. Help will be appreciated
regards!
fakeprince said:
I'm on stock 4.0.3. I want to change the lockscreen clock fonts. I tried Clockopia.tff changing in font but didn't work. I read it somewhere I can be done on framework.res.apk. How to do it? I don't know. Help will be appreciated
regards!
Click to expand...
Click to collapse
If you are referring to the lock screen clock then these are PNG files located in framework-res.apk in the folder res > drawable-hdpi they start with zzz_unlock_clock_0 through to zzz_unlock_clock_9.
You can create your own style of png using something like photoshop and replace these png's with your own. You need to decompile the framework-res.apk replace these png.s with exactly the same name then recompile the framework-res.apk and flash it onto your phone.
ag4751 said:
If you are referring to the lock screen clock then these are PNG files located in framework-res.apk in the folder res > drawable-hdpi they start with zzz_unlock_clock_0 through to zzz_unlock_clock_9.
You can create your own style of png using something like photoshop and replace these png's with your own. You need to decompile the framework-res.apk replace these png.s with exactly the same name then recompile the framework-res.apk and flash it onto your phone.
Click to expand...
Click to collapse
I thought adding a .ttf file would be enough but that seems a bit more complicated. I think I'm gonna keep the stock clock fonts. Thanks man!
I'm building a custom ROM for my XPERIA Mini Pro.
I really need the CM9 circle battery and blue notification icons (they also can be found in Real ICS).
I tried using UOT, but it changed only the oower icons (not the network and battery).
Thank you!
Get the systemui.apk and decompile to extract the icons :laugh:
cachanilla86 said:
Get the systemui.apk and decompile to extract the icons :laugh:
Click to expand...
Click to collapse
So just decompile SystemUI with the icons I want -> Decompile my SystemUI -> Copy the icons I want and Recompile??
mexusbg said:
So just decompile SystemUI with the icons I want -> Decompile my SystemUI -> Copy the icons I want and Recompile??
Click to expand...
Click to collapse
Yes, It's that easy. For example, for my SK17 and MK16 i replaced the battery icons for the ones in the xperia gx (or maybe any nxt), because the battery icon has a white border and it's more visible
I used 7zip to open systemui.apk, the i extracted the folder named res, inside res are many folders, some say HDPI or MDPI, in one of these are the battery icons...replace or edite the ones you want and open systemui again and drag and drop the new res folder, say yes to whatever messange and you are done :good:
U can simply use Tickle My Android !!! :good:
Outlaw13 said:
U can simply use Tickle My Android !!! :good:
Click to expand...
Click to collapse
I have a problem:
I pull files. Install the frameworks (framework-res.apk and SemcGenericUxpRes.apk), then decompile SystemUI.apk and framework-res.apk.
Add the icons (from the Tackle My Android presents). Recompile the files and Prepare sys app for pushing and then push the files.
Now status bar is missing (if i push back the original systemui and framework-res it's pack).
BTW I get "W: Cannot find sources" for framework-res
Any help would be appreciated.
EDIT:
Manually decompiling and recompiling did the job. It works now .... But charging animation is not that smooth as the one I extracted it from? (note I updated the corresponding xml file too).
mexusbg said:
I have a problem:
I pull files. Install the frameworks (framework-res.apk and SemcGenericUxpRes.apk), then decompile SystemUI.apk and framework-res.apk.
Add the icons (from the Tackle My Android presents). Recompile the files and Prepare sys app for pushing and then push the files.
Now status bar is missing (if i push back the original systemui and framework-res it's pack).
BTW I get "W: Cannot find sources" for framework-res
Click to expand...
Click to collapse
I had the same problem...
but i don't know how did i fix it !!
Making a zip file works better than pushing the files !
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....
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...