[Q] Apk Unpack in Jelly Bean - Sony Xperia T, TL, TX, V

Hi!
I installed Jelly Bean Rooted and Deodexed.
I was edit the system app and this a little problem,when I unpack res folder from app i WinRar has got error: Archive is corrupted
What is the problem? In ICS app editing is not problem.Sorry for my bad English

Search for a tool called "apktool" and use that instead!

Thanks! On 7-Zip is working

Related

[Q] modding APKs and ODEX files

Hi, just have a question regarding modding apks inside /app in odexed roms.
Have read a few threads regarding deodexing and decompiling apks, and just wish to clarify one thing:
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Here's what I tried:
1. Used xultimate to deodex
2. Used apktool to decompile apk
3. Edited xml
4. Used apktool to compile
5. Added META-INF and AndroidManifest.xml from original apk using 7zip
6. Deleted Contacts.apk and Contacts.odex
7. Copied Contacts.apk over
Thanks in advance!
ock said:
Hi, just have a question regarding modding apks inside /app in odexed roms.
(...)
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Click to expand...
Click to collapse
+1
I am also interested in the answer ...
I would like to theme some widgets and theme the statusbar on a stock ROM. I am not sure is it possible ? And what is the procedure with the odexed files ?

[Q] Decompiling and compiling system app

I want to translate AriesParts.apk system app (Galaxy S Settings), but I noticed that after decompiling and compiling it (even without any changes), app doesn't show in app drawer and I can't install it ('Application not installed"), tried copying to \system\app and changing permissions.
Also tried zipalign, signed, without signing...
I'm wondering if it's something related to deodex/odex.
How I can edit this app?
Code:
http://speedy.sh/9nwTW/AriesParts.apk
Extracted from Team ICSSGS RC4.2.
Your rom must be deoxed
So, what can I do now (if I have odexed ROM) with this APK?
If I understand you must to deodex the rom;I use for this xUltimate and here is the link where is show to made:http://forum.xda-developers.com/showthread.php?t=1113937
Is useful the next link;http://forum.xda-developers.com/showthread.php?t=695701
sorry for my bad english
But is there an option to make ODEX from DEODEX?
I don't want to deodex my ROM, it can cause issues.

Android 4.0.4 Not compatible with customizing?

I've tried multiple ways of decompiling and recompiling the systemui.apk, framework-res.apk aswell as add in custom carrier logo and custom status bar background, all of these mods worked on 4.0.3 but are not working with android 4.0.4, any suggestions?
I would try updating sdk and grab the latest aapt.exe from platform-tools and place it in your apktool folder
Sent from my Nexus S 4G using Tapatalk 2 Beta-4
I think I may have found a problem, fergie, in the SDK Manager, I only see SDK for Android 4.0.3, maybe they have not made an update because 4.0.4 has not been an official release???
patched apktool.jar
try this patched version of apktool.jar, this should help by decompiling and compiling some 403 and 404 version apk´s.
original thread is here :
http://code.google.com/p/android-apktool/issues/detail?id=291
FlatEric0074 said:
try this patched version of apktool.jar, this should help by decompiling and compiling some 403 and 404 version apk´s.
original thread is here :
http://code.google.com/p/android-apktool/issues/detail?id=291
Click to expand...
Click to collapse
Appreciate this but the version of apktool.jar I was using works better (1.4.3), with the version you provided above gets errors like crazy when decompiling the systemui.apk, decompiling the framework-res.apk works fine, recompiling shows too many errors to count :/
There is a specific apktool for 4.0.4 systemui which the guy attached. Its a modded version and works perfectly. Myself and others are using it.
Sent from my Nexus S using xda premium
I found out what I was doing wrong!!! Sorry about this guys I guess when I am building the SystemUI.apk I didn't realize that you only had to use the command "apktool b SystemUI" and it would build the apk in the dist folder thanks a lot guys

How to modify Jelly Bean Contacts.ap?

I am trying to modify XMLs of Jelly Bean Contacts.apk. Using apktool that has been used for ICS and other Jelly Bean apks, I can decompile and then recomplie it without any error. However, the recompiled Contacts.apk would not work in cell phone, showing a message "Unfortunately, Contacts has stopped!".
To simplify the problem, I simply do decompiling and then recompiling without any modifications. I found that the size of resources.arsc has been changed from 1480 KB to 1525 KB. The new Contacts.apk causes FC!
Note: Files in smali folder can still be modified. After editing, use apktool to recompile and create a new apk. Then use WinRAR or 7zp to drag the newly created classes.dex into the original Contacts.apk. Such a "modified" Contacts.apk works properly. Note here that we did not modify resources.arsc.
This problem is only related to resources.arsc!! XMLs cannot be recompiled!!
Does anybody have the same problem? Do you know how to solve this problem? Any solutions or suggestions are appreciated.
Did anybody try this?
Are you all ok with modifying Contacts.apk?
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
zelendel said:
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
Click to expand...
Click to collapse
Thank you for your reply. The question is why we can edit XML in other apks except Contacts.apk.
Is there any magic?
framework-res.apk, Settings.apk, SystemUI.apk, Phone.apk are all ok without any problem.
iBotPeaches, the author of apktool, wrote: "Looks like we have new resource type. T9Map. Will have to code support for it. Its just loosing it on rebuild."
See discussions at: https://github.com/iBotPeaches/brut.apktool/issues/11

[Q] how to edit icon theme from miui theme mtz file ?

hello
can someone give me tutorial change icon theme from mtz file ?
i don't understand
i'm using MIUI Gingerbread Rom
sorry my english is bad .
thanks :highfive:
hi those mtz files are zipped files
and you can open them with any zip viewer then you can edit what you want
dheeraj (dhlalit11) said:
hi those mtz files are zipped files
and you can open them with any zip viewer then you can edit what you want
Click to expand...
Click to collapse
thanks man
i've tried now

Categories

Resources