[HELP] Change app name and package name - Android Q&A, Help & Troubleshooting

My laptop's not working, I had the necessary tools to decompile recompile apk and stuff.
However, I need some help in editing an apk, I have this YoWhatsApp apk, I was wondering if anyone can help me in changing the
android:label name to WhatsApp
I don't like that my app name occupies two lines, since It would take a month to get my laptop repaired, can anyone help me with this ?
The apk file can be found here:
https://expirebox.com/files/96305d6343da779ab72441b64c9eb5da.apk

Related

Problem modifying apk

Hi, i am trying to modify the classes.dex file in an apk but it is giving me problems.
if i decompile the apk and recompile it after modifying the app installs but crashes after one minute. also some functionality in the app is also lost.but when i binary edited the classes.dex file and replaced it in the apk ( i have used different methods for replacing the .dex such as direct replacing in archive and replacing in the decompiled archive) the app doesn't install and the phone or emulator reboots. i have done this with other apps and they are working fine after editing so i couldn't understand what's going wrong. please help
You should use a decompiler and achive to the java code. Than you can easily modify and recompile the app. You will need an Linux virtual machine to do this.
In linux, after you found you .apk file use this to decompile it to a .jar file. http://siis.cse.psu.edu/ded/installation.html. After that, you can use http://java.decompiler.free.fr/?q=jdgui to browse the code. With this method you will need a Linux machine and would give you the best result.
If you want to use windows, follow this tutorial http://androidorigin.blogspot.com/2011/02/dex-format-to-jar-format.html but I warn you, its likely to be faulty.
Hope this will help you.
thanks for replying
i used apktool to decompile and modify the smali code. i had even tried converting the smali code to java but no help.the problem is that the recompiled app runs only for one minute and then crashes without any error message even logcat log is not of help it just says that the process xxx has died but no err msg or exception is logged. if i replace the classes.dex with the patched one and then re-sign it it does not install and crashes the emulator but when i again decompile and then recompile the modified file it return to the same old problem of crashing. do you know how apktool packages the compiled files?
You should follow one of the tutorials posted in my last post. I did not used apktool and I don't know how it works.c the method with that decompiler will work. If you want your application signed just sign it as a normal one.
this particular apk loses about 20-30 kb in filesize on decompiling and then recompiling with apktool while this is not seen in any other apk. maybe this means that this file has some overlay data that goes missing on modifying and creats problems.7-zip is unable to show any extra data in the file.does anyone know how to add and extract overlay data on/from an apk?

modifying googlemaps.apk

Hi!
I want to modify some xml files in the google maps app (com.google.android.apps.maps-2.apk)
I copied the original apk from my phone, used apkmultitool to decompile it, chanched the files an recompiled it (using option 11: system apk)
after recompiling, the file size ist about 1Mb different to the original.
When i now place it on the sd card and try to install, i get message that it wasn't installed.
Do i have to deinstall the "old" app?
Do i make sth wrong?
I hope you can help me!
Thanks!
Anybody knows a solution?

[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.

[Q] How to edit graphics in a Non-System Android App?

I wanted to change the graphics of a certain app to my liking. But I guess it can't be achieved in the non-system apps at least not by me. I tried the apktool to decompress it and then edit the the files I needed to, but it won't compile back?! Can anyone tell me what is going wrong. I have attached the whole screenshot of what error my apktool is showing me.
Also in the build folder I'm only getting classes.dex file and nothing more.

Use Smali code to decide if app starts or not?

Hi i wanted to see if there are any tuts out there i can use to make an app check if a file exist. I will be editing apks that are already complied so i will need a tut on how to do this by editing .smali files. For example . If Key.txt exist in root of storage app starts. If it doesnt app crashes. Can anyone lead me in the right direction?

Categories

Resources