Analysis & Opinion

[HOW TO][GUIDE][MOD] Change Package Names of APKs

138 posts
Thanks Meter: 335
By Xtreme.Ornob, Senior Member on 23rd May 2014, 05:14 PM
Post Reply Subscribe to Thread Email Thread
14th July 2015, 04:04 PM |#21  
i_4_u89's Avatar
Flag mumbai
Thanks Meter: 25

i changed secssefully pkg name and compiling sucss and after sing installed apps on my phone
when i opened app showing unfortunaty has stoped how to solve

[ example ]
1) original apk name is on mainfast.xml > com.tengo
2) im changed name = com.tengocharli
3) and smali Lcom/tengo to Lcom/tengocharli
4) app_name tengo to tengocharli
5) and in smali/com inside tengo folder to tengocharli

wher is that problem can you tell me plz
thats it
17th August 2015, 03:31 PM |#22  
GI0\/\NNI's Avatar
Senior Member
Thanks Meter: 266
Donate to Me
Originally Posted by Xtreme.Ornob

Go Back to /smali/com Folder and Rename xvipre to modded

You don't have to rename folders, they are created by apktool and not used when compiling the code into the classes.dex file. Also keep in mind that you have .so libraries which may point to the original smali locations. You can avoid it by adding some strings to intern() method in each smali.
20th August 2015, 03:07 PM |#23  
Junior Member
Thanks Meter: 4
Thumbs up
This guide helped me a lot and I managed to get a working app for one of those cases where the main app can't handle more than one account. Thank You!

My own suggestion:

Originally Posted by Xtreme.Ornob

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

Don't overlook this step, look for the package name everywhere, e.g. the smali files may contain references to the dotted package name (com.xvipre.settings in the example) for paths, content-URIs and such.

Also, if the app crashes, adb's logcat is extremely useful to pinpoint the problem (although a bit harder to handle).
Post Reply Subscribe to Thread

apks, apps, change, names, package
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes