[Q] Help: Cant descompile correctly with apk manager - Android Q&A, Help & Troubleshooting

I cant decompile properly using apk manager, when trying to decompile a launcher, i only get smalis files, but none xml like androidmanifiest or all drawables files. And then i cant edit anything, its rare because decompile other files like systemui and others i get the the res and smali files. And then i dont understand whats happening?
Im using Apk Manager 4.9
Sorry for my english.

Related

[Q] Decoding and re-encoding apks with APKTOOL

So I've decoded a launcherpro apk and gotten all the files inside.
I've edited them changing only some images(not .9.pngs) and some text strings for a translation.
I don't really know how to re-encode the file and sign it.
I tried using APKtools to repack but ASTRO won't let me install it saying it can't open it as an apk file.
Any help is appreciated
i cant get apktools to do anything other than decompile...
if you got it to compile your apk but dont know how to sign it, use this: http://androidforums.com/developer-101/8665-how-signing-roms.html
its what i use to sign zips and apks and it works very well and is easy. the "auto sign" or qwhatever opetion doesnt ever work for me, but option 4, manual, works fine
if you havent installed the framework-res.apk that may be why you cant compile
what you need to do is pull out the framework-res.apk and put it in you root directory then in terminal use this.
code: apktool if framework-res.apk

[Q] edit xml

I have been trying to edit some xml files in .apks I found hundreds of threads on it but they all say use apks manager or apks tool or apks edit I have tried all of them I can decompile the apks open xmls in hxd and edit but when I recompile they force close and if I edit framework-res.apk com.android.phone force closes can sumone pls help me out. Thanks
oakieville said:
I have been trying to edit some xml files in .apks I found hundreds of threads on it but they all say use apks manager or apks tool or apks edit I have tried all of them I can decompile the apks open xmls in hxd and edit but when I recompile they force close and if I edit framework-res.apk com.android.phone force closes can sumone pls help me out. Thanks
Click to expand...
Click to collapse
use notepad++ to edit the xml after you use apk manger or apk tools to decompile tha apk.
ok havent tried notepad++ will try after editing just recompile,zipalign and sign if it not a system app or do i got that wrong
Decompile original apks, not modified or themed ones.
Sent from my PG86100 using xda premium

[Q] Apk Edit

Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Ok if i remember correctly, you can open the apk with 7zip, modify the files you want to and they should work. I tried this with systemui.apk before and it worked..
NightWatch71 said:
Ok if i remember correctly, you can open the apk with 7zip, modify the files you want to and they should work. I tried this with systemui.apk before and it worked..
Click to expand...
Click to collapse
I can't arrived values files by 7zip. Need Decompile apk by apk manager..
Arnadel said:
Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Click to expand...
Click to collapse
I have had issues in the past using notepad to edit apk files. I suggest that you use notepad++ for editing xml and smali files. It can be easily found with a Google search. Using notepad will probably give you formatting issues.
Sent from my SGH-I777 using xda premium

Replacing png in apk

Hi everyone,
From my understanding, if we want to change the pngs in an apk, we can simply open it with 7zip, then replace the pngs, it's done.
I took EventStreamPluginCallLog.apk from arc s which is updated to ICS.
The apk can be installed in xperia s and it is working fine.
However, when I change the png named icon in res > drawable-hdpi > icon.png
The apk can no longer be installed.
So I go with decompiling and recompiling the apk using apktool, no error shown but I still can't install it
Any idea? Thanks
did you sign it after recompiling?
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
realfelix said:
did you sign it after recompiling?
Click to expand...
Click to collapse
I thought the same even it says no need for system apk, I still do it and get the same problem, can't install
Felimenta97 said:
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
Click to expand...
Click to collapse
I tried everything I know. Apk Multi Tool, simply apktool only, direct replace PNG with 7zip (compression changed to deflate), direct replace with winrar (compression method retained as store), it just doesn't want to install.
I have tried TickyMyAndroid, I am not sure if I done thing correctly but I see no error when recompiling yet can't be installed. My goodness. Time to forget about this stuff

[Q] [Help] Can you edit .Tex files in an APK for android?

Hi,
I really want to edit an app as a joke for my friends and i have downloaded the APK and viewed the files.
All of the images seem to be .TEX format, i have googled how to edit them but cant find a solution.
How can i edit them and put my own image in?
Thanks in advance,
You need to decompile the apk, edit the images (using the same filenames) and recompile again.

Categories

Resources