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 !
Related
Hello,
I want to decompile the DefaultThemes.apk ! However,decompiling with apk manager 4.9 gives an error !
I dont want to just change the images,but add another theme !
What can be done ?
probably the best solution would be enable the cyanogenmod themes manager and install that theme...
nicom.mt said:
probably the best solution would be enable the cyanogenmod themes manager and install that theme...
Click to expand...
Click to collapse
But that isn't possible on stock ROM right ?? What to do for stock ROM ?
dont need to decompile, just change files using 7zip
metalrawk said:
dont need to decompile, just change files using 7zip
Click to expand...
Click to collapse
I want to add a theme,not replace existing !
defaultheme.apk need dependencies for being decompiled which is framework-res.apk and SemcGenericUxpRes.apk
you can find them on /system/framework
I do not use apkmanager so can't tell you the way to do it but with apktool i do this
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
peexl said:
defaultheme.apk need dependencies for being decompiled which is framework-res.apk and SemcGenericUxpRes.apk
you can find them on /system/framework
I do not use apkmanager so can't tell you the way to do it but with apktool i do this
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
Click to expand...
Click to collapse
Hello,thanks ! I was able to decompile the apk successfully. However,I added the desired files for new theme,added the ids,and edited the smali files ! I then recompiled it and signed it. However,after pushing it to the phone,it doesn't work,just a blank screen is displayed ! Here is my apk ! What shall I do to make it work ?
Thanks !
Edit : It is working after restarting phone,however new theme doesn't show up in themes menu,only old ones are shown !
i have this eror too...
decompile apkmanager v5.0 send log: cant find framework resourse of parkage of id:2.You must install proper framework file, see project wedsite for more info.??
How can i decompile this defaultthemes.apk?
sr my bad english..!
Solution?
What I do is using Root Explorer.apk I extract the file while on the phone (it automatically unfold it in a new folder called extracted). I copy the original files to a TMP folder in case I delete or make mistake with the original files when copy them over.
I then connect the phone via USB and change the files thats need to be changed and then I unplug the USB cable and again using the Root Explorer.apk I choose to zip it again. An from there I rename the new file to *.apk
Hope it helps
guys please help...i like too much defaultthemes but i did everything and they don't take effect to my phone...mini pro 2.3.7 mcm7 v21 i put them in the system/app change perm but nothing...maybe cause i have a theme from themechooser or something...in the start i didn't replace the default themes.apk there wasn't anything there... any ideas???thanks
nitsakh said:
Hello,thanks ! I was able to decompile the apk successfully. However,I added the desired files for new theme,added the ids,and edited the smali files ! I then recompiled it and signed it. However,after pushing it to the phone,it doesn't work,just a blank screen is displayed ! Here is my apk ! What shall I do to make it work ?
Thanks !
Edit : It is working after restarting phone,however new theme doesn't show up in themes menu,only old ones are shown !
Click to expand...
Click to collapse
how did yu decompile it? please tell me too.. i use apk manager!
Aarush said:
how did yu decompile it? please tell me too.. i use apk manager!
Click to expand...
Click to collapse
Use the following commands with apktool to decompile ::
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d DefaultThemes.apk
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 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
I want to customize my Xperia S icons,Please guide us how to edit systemui file and how to take back up my original system folder.
Provide me the tools and Guide. Thanks in Advance:laugh:
What if i told you they already exist and that you need to use the search function first.
munipally.vijay said:
I want to customize my Xperia S icons,Please guide us how to edit systemui file and how to take back up my original system folder.
Provide me the tools and Guide. Thanks in Advance:laugh:
Click to expand...
Click to collapse
"Hello, I don't want to search, tell me how to do it"
Editing SystemUI -> Google (Apktool, decompile, edit, recompile)
Backing up -> Copying to SD maybe???
Tools: Apktool, brain
Apk is zip
Most simple way is to just copy icon.png to folder res/drawable-hdpi. That all folks.
Regards, Zagor
lesiki said:
"Hello, I don't want to search, tell me how to do it"
Editing SystemUI -> Google (Apktool, decompile, edit, recompile)
Backing up -> Copying to SD maybe???
Tools: Apktool, brain
Click to expand...
Click to collapse
im always having errors recompiling the systemui eventhough no changes are made...can you share your steps?
If u editing just icons and graphic u don't need to decompile/recompile. Just open the .apk file with 7zip, or WinRar, change icons that u want to change and that's it.
Sent from my LT22i
neoxx3m said:
If u editing just icons and graphic u don't need to decompile/recompile. Just open the .apk file with 7zip, or WinRar, change icons that u want to change and that's it.
Sent from my LT22i
Click to expand...
Click to collapse
the quickpanel toggle made the 'gps acquired' icon changed to 'download' icon...so i wanted to see whats wrong in the apk since there is no 'gps acquired' icon in the hdpi folder...
lcsiew said:
the quickpanel toggle made the 'gps acquired' icon changed to 'download' icon...so i wanted to see whats wrong in the apk since there is no 'gps acquired' icon in the hdpi folder...
Click to expand...
Click to collapse
Icons for quickpanel are located in SystemUI.apk. If u don't have icon for "gps acquired" in SystemUI.apk Quickpanel.apk will take any other available icon in change, I think.
Sent from my LT22i
>>How to access Xperia S system folder from PC ,Is there any tool to do it.
>>How to change the fonts in my Xperia S
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...