[ASK][MIRO] Guide on how to decompile system apk file - Sony Xperia Miro, Tipo (Dual), J, E

Hi guys, someday ago i tried to decompile the SystemUI.apk. The modded version is named : SystemUI_mod.apk and the original is SystemUI.apk. I've done the copy procedure of META-INF folder, but every time i tried to push it to my phone, it cause my phone to get a bootlop. Is there any guide on how to decompile, editing, or something that is safe for my phone? And is there any way to mod my font colour to red, blue, or anything? Because my phone background is white, so i cant see anything Thanks for your help :highfive: Sorry if i posted it in the wrong section

FajarMF28 said:
Hi guys, someday ago i tried to decompile the SystemUI.apk. The modded version is named : SystemUI_mod.apk and the original is SystemUI.apk. I've done the copy procedure of META-INF folder, but every time i tried to push it to my phone, it cause my phone to get a bootlop. Is there any guide on how to decompile, editing, or something that is safe for my phone? And is there any way to mod my font colour to red, blue, or anything? Because my phone background is white, so i cant see anything Thanks for your help :highfive: Sorry if i posted it in the wrong section
Click to expand...
Click to collapse
use autoapktool tool to decompile...... or just select the icons that u want to change and juss replace them with the orginal one direcly by opening the apk in winrar and just drag and drop

vsbrt said:
use autoapktool tool to decompile...... or just select the icons that u want to change and juss replace them with the orginal one direcly by opening the apk in winrar and just drag and drop
Click to expand...
Click to collapse
Its already fixed. Now i can change everything i want :laugh:

Related

problem replacing specifc icon (status bar)

I can't seem to replace an icon in my framework-res.apk and I'm wondering if it's possible to create a flashable .zip file that'll overwrite the icon I want replaced in the file.
Attached is the alarm clock icon (with the proper file name) which I extracted from the Droid 2 framework-res.apk.
I want to replace the CM6 icon I'm using now w/ the Droid 2 icon I'm attaching.
I copy my apk to my computer, unzip it, replace 'stat_notify_alarm.png', zip it back up, rename to apk, use the 'Android-sign' droplet app (I'm on a Mac), push back to the system/framework folder, reboot, nothing... old icon still there.
1. Can someone tell what steps I'm missing?
2. Can someone create a flashable .zip that'll overwrite the icon?
Thanks!
Give me your framework-res.apk and I will do it for you signed and everything
I'd like to know how to do this too.
I also have a question about icons on the homescreen. Is there anyway to get rid of the text right underneath the icon?
ms79723 said:
I also have a question about icons on the homescreen. Is there anyway to get rid of the text right underneath the icon?
Click to expand...
Click to collapse
Use LauncherPro.......you can hide the text in preferences.
ms79723 said:
I'd like to know how to do this too.
Click to expand...
Click to collapse
i'd like to know too.
As for creating a flashable zip, make your changes and then delete the 2 cert files and the manifest file inside the meta inf folder then sign it. You can use Avabox or the tool regaw just made.
Sent from my SUPERSONIC
bluebeast213 said:
Use LauncherPro.......you can hide the text in preferences.
Click to expand...
Click to collapse
well i want to make new icons for sense that dont have the text on the bottom
xxbabiboi228xx said:
Give me your framework-res.apk and I will do it for you signed and everything
Click to expand...
Click to collapse
Here's my framework-res.apk
*Note* my APK has a modded battery icon (don't know if that matters to you or not but better safe than sorry )

[Request] Transparent Pulldown Notification Bar

Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Simer03 said:
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Click to expand...
Click to collapse
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
zimphishmonger said:
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
Click to expand...
Click to collapse
im a hardcore noob....what is UOT kitchen? oh, and i have a mac!
Edit: Tried the UOT kitchen, did the notification bar the way i wanted, and for some reason, i cant submit it to the kitchen because the button "submit to kitchen" is not able to be pressed! ugh!
Edit: never mind, got it to work....now uploading!
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Simer03 said:
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Click to expand...
Click to collapse
try copying the update-binary from a working zip to your "kitchen" file. Install should work
zimphishmonger said:
try copying the update-binary from a working zip to your "kitchen" file. Install should work
Click to expand...
Click to collapse
it didnt work....still aborted.... curse my noobness! :/
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
mmapcpro said:
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
Click to expand...
Click to collapse
Still didn't work man....sorry I'm having so much trouble, maybe I'm just unable to do it! Thanks for trying guys and taking the time to try and help :/
Sent from my LG-P999 using XDA Premium App
Ok, so you're on the latest version (1.08) of Eaglesblood for 2.3.5, correct? If you are not 100% sure, you can check in "About Phone" and check on the build.
Using the SystemUI.apk that I uploaded, what is your procedure for getting it into your phone?
Because that file has a transparent status_bar_background.9.png with correct patch handles drawn...not sure why it won't work. I will admit, that I don't have a 2.3.5 nandroid backed up to test. Anyone else?
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Yes I'm on 1.08 and my exact procedure was I downloaded the file on my phone, I went to root explorer to the xda download folder where it was located, I copied it to system/app and overwrote tthe current systemui.apk that was there, at that time, a constant endless force closes occurred so I had to pull my battery and rebooted that way, as it rebooted, the notification bar was gone, I then went to the systemui and changed permissions to where the first column is all checked and the first of the 2nd ccolumn is checked, I then pulled the battery again (cuz of the apn issue without the hard reset) and when it came back, nothing changed, so I fixed permissions via rom manager, to no avail......its frustrating!
Sent from my LG-P999 using XDA Premium App
mmapcpro said:
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Click to expand...
Click to collapse
holy crap it worked.....a million times THANKS!!! You effin rock dude! thanks for taking the time to help me! So to my understanding, u just edited the shade_bg file???? that was it??
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
mmapcpro said:
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
Click to expand...
Click to collapse
so now that i know it works, i was wondering if i wanted to create one, do i make it 200 x 200 like the current shade_bg file is? i kinda want to make one with a black background with semi transparency! I tried editing the shade_bg file u made, with a program called Gimp, but it didnt work
Can you give me your exact method to doing this? I created an image from gimp, i saved it as shade_bg.png, so basically , i extracted the systemui.apk from root explorer, it put the extracted in my sd card, so i plugged in my phone in my mac, and i took that folder from my sd card, now from here, the extracted file is a zip file, so i double clicked it b/c macs can unzip files easily, so in the folder, i placed my shade_bg file into the appropriate folder.....now this is where i think i mess up, what do u do from here? I "compressed" the systemui folder to make it back into a zip, and then placed it into my sd card, i then "renamed" the file thru my phone from a .zip to a .apk, now in root explorer there is usually an icon that shows up next to the name of the files, now when i changed it, a green android icon showed up, but on the file that you had edited for me, there was a "settings" icon, u know, the standard icon for the settings app in android! i put the apk in the system/app and it didnt work, even after permissions set up! hmmm.....i promise, this will probably be my last post!
please keep in mind, i have a mac, and i do have that 7zip u mentioned in the development thread, but its called EZ7Z.....just in case i need it
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
mmapcpro said:
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
Click to expand...
Click to collapse
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Simer03 said:
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Click to expand...
Click to collapse
anyone know how to convert a .zip to .apk correctly?

[Mod] Remove NFC Icon from Statusbar (Without XML edit)

If you find this icon as ugly as I do you probably researched and figured out that you could remove this by changing the OTHERS.XML in /system/csc/
If you have no problem editing the XML that is probably the easiest solution, however if you are like me and need to have a solution that works as a flashable zip that is indepenedent of the random carrier settings in others.xml this solution might help you.
This is the NFC apk from LL1 samsung release and should in theory be backwards and forwards compatible.
Tested on LL1 / TWRP.
If this works for you please give me thanks / rate the thread. If it doesn't let me know so i can figure out a more universal solution.
http://www.mediafire.com/?ycsa44am50rrfdi
I kinda like the NFC icon but I changed it to something else. Just swap out the icon with another icon.
just_visiting said:
I kinda like the NFC icon but I changed it to something else. Just swap out the icon with another icon.
Click to expand...
Click to collapse
Hi
Can You explain how did u done it? pls!
Where is the icon located?
Greets! Nick
etecdailey said:
Hi
Can You explain how did u done it? pls!
Where is the icon located?
Greets! Nick
Click to expand...
Click to collapse
Should be found in the NFC.apk in res/drawable-xhdpi
andybones said:
Should be found in the NFC.apk in res/drawable-xhdpi
Click to expand...
Click to collapse
Thank You!
andybones said:
Should be found in the NFC.apk in res/drawable-xhdpi
Click to expand...
Click to collapse
Hmm.. What kind of "apk tool" did u use to decompile & compile back?
I've tried APK Tool and it's not working.
etecdailey said:
Hmm.. What kind of "apk tool" did u use to decompile & compile back?
I've tried APK Tool and it's not working.
Click to expand...
Click to collapse
Winrar or 7zip will do. Drag the 'res/drawable-hdpi' folder out to and make the changes. Then drag the folder 'res/drawable-hdpi'' back into the apk. Depending on your Windows configuration, make sure there are no 'thumbs.db' files in ANY of the folder in the apk file before you replace the file in your phone or else you're gonna get some force-close upon reboot. Good luck.
PS: After you're comfortable with replacing icons then you go ahead and start replacing icon in all your other programs. systemui.apk, phone.apk, contacts.apk, email.apk, maps.apk, etc...
just_visiting said:
Winrar or 7zip will do. Drag the 'res/drawable-hdpi' folder out to and make the changes. Then drag the folder 'res/drawable-hdpi'' back into the apk. Depending on your Windows configuration, make sure there are no 'thumbs.db' files in ANY of the folder in the apk file before you replace the file in your phone or else you're gonna get some force-close upon reboot. Good luck.
PS: After you're comfortable with replacing icons then you go ahead and start replacing icon in all your other programs. systemui.apk, phone.apk, contacts.apk, email.apk, maps.apk, etc...
Click to expand...
Click to collapse
Nice! Actually it worked
I've made it useful with two icons - dont know why it didn't work with apk tool's...
Thanks one more time! (my work attached)

CRT lock animation HTC EVO 3d Virgin mobile.

i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
giggz9269 said:
i am currently using a unlocked s-off rooted 4ext recovery set up device, i found i enjoy using this rom called midnight rom, it is wonderfula dn suits my needs perfect, but....atfe rhours and hours of searching i am unable to find a guide on how to do this myself, and that is why i am posting here. i would like to flash a CRT lock animation, and perhaps unlock animation (but not needed ofcourse). Ive searched high and low, but it seems i cant find any way of doing this myself without having to use a rom like CM10 that has it built in etc etc, the objective here guys is to flahs this onto my phone myself, without needing to change my rom, either by installable zip someone may have laying aorund, or a quick description of how i could add this into my current rom and reflash it maybe. than ks for all the help in advance. talk to you soon
Click to expand...
Click to collapse
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
giggz9269 said:
im xcurrently haveing trouble decompiling this apk, im folowing th eguide you linked, but im unable to find the system or twframework.apk files, so im gonna guess its not a deodexed version....hmmmm i wish this was as simple as install zip from sd card hahaha
Click to expand...
Click to collapse
Systemui.apk - system / app
Framework - res.apk. and twframework-res.apk - system / framework
Use root explorer..
Sent from my GT-S5830i using xda app-developers app
js2892 said:
this will provide "off" animation..
decompile framework-res.apk
go to res/values and find bools.xml
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
how to decompile framework-res.apk
http://forum.xda-developers.com/showpost.php?p=36388165&postcount=2
if you want unlock animation too...read here
http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/
hit thanks if this helped you!
Click to expand...
Click to collapse
i found the asystem ui.apk but the twframework.apk is non existant
giggz9269 said:
i found the asystem ui.apk but the twframework.apk is non existant
Click to expand...
Click to collapse
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
js2892 said:
twframework-res.apk is only for samsung phones with touchwiz... that's why it's not there...
use systemui.apk and framework-res.apk :good:
Click to expand...
Click to collapse
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
giggz9269 said:
THANKYOUI SO MUCH, ok so i have the value you specified changed, now, is there anyway i can flash it into my phone so i dont have to painstakingly reinstall the rom and set all ym stuff back up?
also, after i have decompiled and the value changed, what is the next step to recompile? to chose option 15 and compile and sign and install apk?
Click to expand...
Click to collapse
ok..good you have decompiled and edited...!! No need to sign...
this is what you do..
use option 11..compile system apk..
go through the guide again, it specifically gives info about editing framework-res.apk
now since u have edited an .xml file, therefore you will have to delete resources.arsc
now again i'm saying see the guide, it tells u step by step along with pictures
after compiling apk, there are two options!
1. rename the compile apk as framework-res.apk and push it to system/framework and replace the old one!!
Note: If you do this you will face lot of force close errors, and screen might go black too...but this is normal..all you have to do is reboot and you'll be good again!:good:
OR
2. Create a flashable zip for cwm
How to-> http://forum.xda-developers.com/showthread.php?t=1721680
P.P.S- If you have committed any mistake in editing or compiling or even there is an software error in APK Multi tool which produced a bad .apk your phone will go into bootloop, hence make a backup with cwm!!
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
giggz9269 said:
andddd im now bootlooping, i am on the third recompile, and pushing from recovery to /system/framework/framework-res.apk and i deleted the resources.asrc ill try recomiling a few more times just to make sure its not apk mutitool messing up
Click to expand...
Click to collapse
ok..so i assume u are following the guide correctly and since u have tried three time hence i believe there is no mistake on editing part..following are scenarios:
1. APK Multi Tool is not compiling apk properly, in such case use other apk tools and then check ur results.
2. the problem might be with your phone/OS, i cannot predict what might be the problem, it's best to ask this thing in ur device's section!
I assume you are on deodexed ROM, if u want to check how then-
decompile your systemui.apk and go to folder project and there will be a folder "systemui". Open it and check if there is a folder named "smali" in it! If yes then ur rom is deodexed and if not ur ROM is odexed. I cannot guarantee the working of above method on odexed ROMs.!
Workaround
1. Get CM
2. There's an app called Screen Off and Lock. It gives CRT animation but not by power button press. It creates a shortcut on homescreen, by pressing which u lock ur phone with CRT animation:good:. But again it does not provide aniamtion on screen unlock!

modifying setting.apk and framework or any apk

HI folks i was just playing with rom tools and stuff i have found we can modify icons and layout stuff which apear on screen very easy way so here what i found just rename any apk to *.zip and open it in 7z zip or winrar and go to res and find drawablemdpi or drawablehdpi whatever in your case open it and you will find all the display icons or separators etc etc so change the icon with the one you want but remember the format,size,name should be same otherwise it will make a mess careful with it and rename it back to *.apk and sign it with any apk signer and simply replace your stock apk with your modified one and you will get the icons you want it works with farmework.apk,settings.apk,mms.apk maybe works with all other apks but did,nt tried it so try and post result
sohailrabani said:
HI folks i was just playing with rom tools and stuff i have found we can modify icons and layout stuff which apear on screen very easy way so here what i found just rename any apk to *.zip and open it in 7z zip or winrar and go to res and find drawablemdpi or drawablehdpi whatever in your case open it and you will find all the display icons or separators etc etc so change the icon with the one you want but remember the format,size,name should be same otherwise it will make a mess careful with it and rename it back to *.apk and sign it with any apk signer and simply replace your stock apk with your modified one and you will get the icons you want it works with farmework.apk,settings.apk,mms.apk maybe works with all other apks but did,nt tried it so try and post result
Click to expand...
Click to collapse
i think you should read up on vrtheme
this kind of thing is very old news
http://forum.xda-developers.com/showthread.php?t=1207017
DSA said:
this kind of thing is very old news
Click to expand...
Click to collapse
Ancient more like.

Categories

Resources