Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[[Guide]] Changing package name and apps name simple..

OP Md.Shafikul.islam

27th August 2014, 09:52 AM   |  #1  
Md.Shafikul.islam's Avatar
OP Member
Flag Narayanganj,Dhaka
Thanks Meter: 19
 
54 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Hi everyone...

In this thered i will show you how to change apps package name and apps name in simple way...
Frist take an app than decompile it...change the icons in drawable hdpi as your wish...then change the apk name...example: when you install an app you can see the name are showed on front...so,change it...see this...and do carefully ....
________________________________

Frist decompile the app and open
"AndroidManifest.xml" in notepad++.
Now found this line-

<application android:label="@string/
app_name" android:icon="@drawable/icon"
androi...

Now change "string app name" and add the name what you want.for example my app name "cayno player" So i add this and its look like this -

"android:label="Cayno player",

go into the res-values and then open "strings.xml". Then search this line ->

"<string name="app_name">(any name)</
string>"

now add the same name here.its look like this-

"<string name="app_name">Cayno Player</
string>"

________________________________

Now all done!Recompile it.
................
now what is package name and how to change it...
We download many app from play sttore or
another store...but when the devs give a update
of this app than you can update it simple from
the store...but do you know why this happen?!!
its happening for the package name...so,if you
change it than its never took update though the apps devs
give some updated version..i think its very
nesesary for the modder beacuse the mod app
but didn't change thee package name...so,when
the devs give update version of his app the app
tooks updated and he was caught...so,he can't
told that the apps was mine..but now i teach you
how to make own app ...lol...just how to change package name ...see this....

________________________________

Frist decompile app with apktools and do this....
Open apktool.yml and you will see somethings like this ->

apkFileName: (Cayno Player)
packageInfo:
cur_package: (com.cayno.player)
orig_package: (com.cayno.player)...

now edit cur_package and orig_package as your wish and save.

E.X ->

apkFileName: (Cayno Player)
packageInfo:
cur_package: (com.music.player)
orig_package: (com.music.player)...

Hope you understand...

now open AndroidManifest.xml and. search this line ->

(package="com.cayno.player")

edit this line with your package name which you wrote in apktool.yml like-

(package="com.music.player")

now save it and go to /smali/com/ and renamed (Cayno) folder to (Music)...
Done recompile it and sing...and now try to upadate it from playstorr or goto my app on play
store...did you see your app on my app store?!!If not see than you was succeced...

Happy modding ......

now changing app icons...
for this decompile app and go to Androidmainfist.xml and search this...

(code):

<application android:theme="
@*android:style/Theme.Holo" android:label="@s
tring/settings_label" android:icon=bla...bla...

now make an image in 98*98 regulations and
renamed it as your wish like musicicon.png and
drop it to drawable hdpi...now open the mainfist
and go to this line ->

(Code):

<application android:theme="@*android:style/
Theme.Holo" android:label="@string/
settings_label" android:icon=bla..bla..

and change the Android:icon=bla..bla to Android:icon=musicicon
done go back and recompile it and sing the apk...and see magics .... B)
________________________________

N.B.change all xml carefully and do it at your own risk...
and if you failed to recompile than try with another apps or go to smali/com/music/player and you will see some smali there...then open every smali and change com/cayno/player to com/music/player...done now try to recompile... ...
________________________________
Thanks for reading... and don't forgot to click on thanks
botton if i helped you
The Following 2 Users Say Thank You to Md.Shafikul.islam For This Useful Post: [ View ]
27th August 2014, 06:33 PM   |  #2  
Account currently disabled
Thanks Meter: 4
 
4 posts
Join Date:Joined: Aug 2014
Thumbs up Nice work bro...
Nice post really awesome
The Following User Says Thank You to Rio.Xtreme For This Useful Post: [ View ]
30th September 2014, 04:50 AM   |  #3  
ApriliaM3's Avatar
RC-RT Committee / Senior Moderator
Flag Songkhla
Thanks Meter: 14,087
 
6,251 posts
Join Date:Joined: Feb 2012
More
Thread closed so that you don't keep chatting to yourself and thanking yourself with your multiple XDA accounts...
The Following User Says Thank You to ApriliaM3 For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes