1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hi there Guest ! Are you a uploader and you are looking for a way to earn from your uploads? uploadify is a file hosting platform that provides you the possibility to earn from your download without the annoying surveys. Free 10 Gb Space!
    Dismiss Notice

TUTORIAL Little Tutorial About How To Modify An Apk

Discussion in 'Clash of Clans Underground' started by Yaguilarro, Nov 24, 2016.

  1. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    Hi every ultrapowa members! Today I am going to show you some changes which you can do with an APK (Sorry for the english :oops:)

    *Change the icon:
    If you want to change the icon of your apk, you need to open "res" folder and then modify all the files with the name "ic_launcher" you must put the same size. The folders where you can modify it are:
    drawable-hdpi
    drawable-ldpi
    drawable-mdpi
    drawable-xhdpi
    drawable-xxhdpi
    drawable-xxxhdpi


    *Change APK name:
    If you want to modify the name of your APK, you must open "res" folder and then "values" folder, you must modify "strings.xml" file. In the end of the file, there is <string name="app_name">Clash of Clans</string> you must change "Clash of Clans" for your server name.


    *Clash of Clans + Your Server in the same device:
    If you want to have Clash of Clans and a Clash of Clans Server, then you need to open AndroidManifest and modify package="com.supercell.clashofclans", here will be some information about the server, your village...I think that you could put "com.your.server" or something similar/different.
    You also must edit <permission android:name="com.supercell.clashofclans.permission.C2D_MESSAGE" android:protectionLevel="signature"/> and <uses-permission android:name="com.supercell.clashofclans.permission.C2D_MESSAGE"/> for example you can put after "com.supercell.clashofclans.permission.C2D_MESSAGE" something as "abcde" or anything. You must do this change in both places.

    *Change DNS:
    I won't explain it, search a little :p


    I wish you understand everything, if you have any question ask below, ah, and give me a like if I helped you ;)

    Sincerely, Yaguilarro00 -Cash For Clash Owner-
     
  2. moien007

    moien007 Donator

    Joined:
    Nov 22, 2014
    Messages:
    177
    Likes Received:
    14
    Knight King and Yaguilarro like this.
  3. madmax15420

    madmax15420 Junior Member
    Member

    Joined:
    Nov 23, 2016
    Messages:
    21
    Likes Received:
    0
    great bro thanks for the tutorial
     
  4. adamazman30

    adamazman30 Lazy Leacher
    Member

    Joined:
    Nov 27, 2016
    Messages:
    1
    Likes Received:
    0
  5. Metrog-UCS

    Metrog-UCS Administrator
    Moderator

    Joined:
    Apr 29, 2015
    Messages:
    291
    Likes Received:
    1,038
    Thanks sir!
     
  6. Knight King

    Knight King Donator

    Joined:
    Mar 27, 2016
    Messages:
    336
    Likes Received:
    84
    If you have problems with recompiling/decompiling apk, i have a small tip for you:
    1.Open the apk with 7-Zip
    2.Drag the libg.so out(do this with 2 in arm and x86)
    3.Edit libg.so(both 2)
    4.Drag back.If it asks for overwrite click yes.
    5.Sign and zipalign your apk with Advanced APK tool.
     
    Yaguilarro likes this.
  7. iHaxYou

    iHaxYou New Member
    Member

    Joined:
    Mar 25, 2016
    Messages:
    5
    Likes Received:
    0
    Nice, thanks! :D
     
  8. ClashOfCheat

    ClashOfCheat New Member
    Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Not working :c
    This error is output to me: We have detected that clash of clans has not been installed successfully.Plese uninstall and redownload from playstore

    I had change the name of the app, the package name in the android mainfest and I edit the DNS in the two libg.so with this Tool.

    Please help me :c
     
  9. Metrog-UCS

    Metrog-UCS Administrator
    Moderator

    Joined:
    Apr 29, 2015
    Messages:
    291
    Likes Received:
    1,038
    sign and zipalign
     
    Shubham the rock likes this.
  10. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    which is your dns?
     
  11. ClashOfCheat

    ClashOfCheat New Member
    Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Why do you want my ddns?
     
  12. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    Because is possible that your dns is long in must be 22 characters, a . is a character too
     
  13. ClashOfCheat

    ClashOfCheat New Member
    Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    My DNS have 22 characters my mistake was a wrong apk. I have used a patched Clash of Clans apk for ultrapowa.
     
  14. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    if you dont have a patched apk, it wont load...be sure that your ucs version is for your coc.apk version
     
  15. J0RG325

    J0RG325 Donator

    Joined:
    Aug 31, 2014
    Messages:
    45
    Likes Received:
    9
    My method to create our own apk

    1.- You can use this "apk" that for the moment is the only one that worked for me:
    http://www.apkmirror.com/apk/superc...se/clash-clans-8-551-24-android-apk-download/
    2.- You can then use the "APK Easy Tool v1.2 for Windows" application to decompile the apk:
    https://forum.xda-developers.com/an...tool-apk-easy-tool-v1-02-windows-gui-t3333960
    3.- As a third step use the application "Clash of Clans Patcher" to patch the files "libg.so"
    http://www.ultrapowa.com/forum/threads/clash-of-clans-patcher.3687/
    4.- We will edit the files "C:\Users\George\Desktop\apk\de\com.supercell.clashofclans_8.551.24-812_minAPI15(armeabi-v7a,x86)(nodpi)_apkmirror.com.apk\lib\x86\libg.so" y "C:\Users\George\Desktop\apk\de\com.supercell.clashofclans_8.551.24-812_minAPI15(armeabi-v7a,x86)(nodpi)_apkmirror.com.apk\lib\armeabi-v7a\libg.so" With our respective IP's (22 Characters)
    5.- With the same application "APK Easy Tool v1.2 for Windows" we will compile the apk and once it is finished compiling the APK will automatically be signed
    6.- When we have done the previous steps, we will use the application "Advanced APK Tool" we will put our compiled and signed apk inside the folder "4-Done" and we will execute the program "Advanced ApkTool.exe"
    7.- We press option number 5 to do the Zipaling to the apk, later we select the apk and confirm the action, this will not take more than 2 seconds and finally we will have our apk fully functional.

    Note: In step 2 and 5, remember that we must create the directories to decompile and recompile the apk, this option is in the "Options" tab in the "Directory"
     
    Yaguilarro likes this.
  16. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    Nice reply! What why do you want to patch the APK when you have the patched APK available in resources? Btw you can do it compiling the source if you know the key xD

    Thank for your collaboration!
     
  17. J0RG325

    J0RG325 Donator

    Joined:
    Aug 31, 2014
    Messages:
    45
    Likes Received:
    9
    Some users have problems with Advanced APK Tool and can not decompile the apk and this was the way I could do it

    algunos usuarios tienen problema para descompilar la apk y esta fue la manera en la que yo pude hacerlo ya que tenia el mismo error de no poder descompilar completamente la APK
     
    Yaguilarro likes this.
  18. Yaguilarro

    Yaguilarro Member
    Member

    Joined:
    Nov 22, 2016
    Messages:
    31
    Likes Received:
    6
    Then perfect! :D
     
  19. naveen

    naveen Senior Member
    Member

    Joined:
    Aug 30, 2015
    Messages:
    51
    Likes Received:
    3
    Friends do you have any Idea when I try to extract apk it shows this error.....
     
  20. naveen

    naveen Senior Member
    Member

    Joined:
    Aug 30, 2015
    Messages:
    51
    Likes Received:
    3

Share This Page

(adsbygoogle = window.adsbygoogle || []).push({});
  • About Us

    Ultrapowa is a community with over 8000 members and more than 100,000+ players on the world.
    Behind the scenes, a team of 5 developers is working hard for give you the best program and support.
    What are you waiting ? Join us !
  • Facebook

  • Twitter

  • Buy us a beer!

    The developers are working very hard to make sure the community is running the best software, best support, and all the other bells and whistles.
    Care to buy us a beer?
    We'd really appreciate it!