Change Package Name of Apk

Change Apk Package Name using Android.

Simple Tricks, | CNA


 


Needed Tools


I'm using an example Termux Advance Guide

Package name com.androidexample.termux

STEPS

•First Extract apk Using Apk Editor Pro 

•Select Full Edit , Full Files .

•Goto Files Section From String Section.

•Now Open AndroidManifest.xml and Look for these lines--

package="com.androidexample.termux"

 

 Now change that as your wish but like below,

I'm changing to com.cyber.arena


If you are changing apks with layouts associated, then you have to change this same thing under all *.xml files under res folder.

Then Save it. 

Next Navigate to Smali Files.

Navigate to smali/com/androidexample/

And you can see termux named folder. 

Rename it into your package name. In my case its arena

Just go back one time and rename the androidexample folder to cyber (in my case).

Save it and Export Apk.


Now It’s Time to Go Hardcore!!


Open MT Manager and Extract the Exported Apk.

Decompile the classes.dex files with dex editor plus.

Go to Search and Search for following Name:

Lcom/androidexample/termux

After Outputting Results, 

Click on Replace With: and Type Your Desired Package name

In my case :

Lcom/cyber/arena

It may take upto 2 minutes. 

After That, save it. 


When Done, Just Re-Check All the Files, Folder Names, Recheck AndroidManifest.xml to Find Another Line with Package name And Make Corrections Yourself!

Save and Export Apk.

Hold the Apk for Options,

Sign the Apk with V1+V2 Signatures

Done for Now! Just Re-Compile and *SIGN* your Newly Created APK!!


Happy Learning 😊


Detailed Video Link Below.

https://youtu.be/eFqg7YX9n3s

Subscribe Like and Share Video ☺️


Comments

  1. The apps download links are broken. Could you please provide a newer links?

    ReplyDelete

Post a Comment

Popular posts from this blog