Has anyone been able to decompile resources on Android 4.3? If so please PM me with the solution, I also got errors on settings, htc ime, system UI. In every instance the error is "can't decompile resources.arsc
Thanks
Related
Hello, I'm a pretty newbie in Galaxy "hacking".
I would like to decompile the Phone.apk that comes with this version of MIUIV4:
http://forum.xda-developers.com/showthread.php?t=1449156
That's in order to change the T9 search in the dialer from English to Hebrew.
I tried using the newest APK Multi tool but it didn't really work and it didn't decompile it.. any ideas of what I should to to accomplish my goals? (if I can do it without decompiling it would be even better! )
Thanks in advance.
Bump..........
Hey what's up people. I have a question for who ever can help me. I am a themer. In currently working in my first ics theme and i am having problems with the contacts.apk. I decompile it with apk tool. Now if i am just making png's and drop them in, then flash to test, the dialer works fine. Now if i touch any of the xml, weather it by just changing a color code, or whatever. it will compile, but when i go to open the dialer it will open for like a couple seconds, then just force closes till i flash the zip that has no xml edits. I have tried with apk tool, virtuous ten studio. Question is how the hell do i compile this apk and get it to not force close. I know it's possible because i see themed and inverted dialer and contact apk's for ics. Someone please help me. I can not continue work on my theme till i figure this out.
-=[.stryker.originals.]=-
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
Should i just copy all the apps to my system and set permissions?
Android l developer preview
http://forum.xda-developers.com/showthread.php?t=2796019
if there's someone out there who tried and got a success , please share the method
No,it's not a system!
Install all apps like an apk file
Some apps may not work on 4.3
I can't get the ui bro
I need framework res apk and systemui.apk but it won't work.
Hi, i have couple of questions about theming cyanogenmod with android studio, I must say, i am novice and I don't understand some parts. First I install Android studio, Android SDK, JDK, and download all needed tools and packages for Android 5.x, Everything woks good i think, because i sucessful send my theme to mobile and override some parts od systemui. Only what I change was color, dimens, drawables, but i have some problems with layout override, in catlog show me error because I dont have source of some parts, but I dont know why is needed in theme when this sources are already in mobile in systemui, and if these source are not set/override in theme, may use original files. Another problem is with preview render, still show me errors eg..
Code:
Couldn't resolve resource @dimen/qs_detail_item_height
, .. because I think these files are not in res folder but are in folder
Code:
mytheme/assets/overlays/com.android.systemui/res
I am using this gradle template for theme https://github.com/cyngn/android_packages_themes_Template. How can I fix these issues. Thanks.
I am having trouble trying to understand what you mean, you're talking about an error and some sort of preview issues?
Could you split both of these factors into separate paragraphs explaining what you mean, only then I can understand and help you out bud.
Overriding layout won't work with CM12+.. This feature was disabled intentionally because it could possibly be abused for changing strings and tricking people.
And I didn't know that a preview feature for CM themes existed. Always create my themes by trial and error on my phone.
Hi guys, i will try explain deep my problems with my poor english, when I put gradle template for CM12 to android studio and start with some customization I dont see preview, what I change and what effect has my change in files. It is really hard something modify when you dont have preview. Preview doesnt work because my project files are not in res folder as is when you create new project, but this grande template has files in
HTML:
mytheme/assets/overlays/com.android.systemui/res
. I dont know if is some solution for this or jusr create another standart project with standart folder structure and there change my files and after if I am content with these changes, then put in my main gradle template. Another problem is I can only change some basic settings in theme as is color, drawable, but I cant change Layout. As I say before this doesnt work when I send to phone and get error from this, but in layout are some parts what I want change in my theme , as padding, margin, ..
Thnak you.