Jump to content

Decompile & Recompile .apk without a tool like 'AdvancedAPKTool etc'


16 posts in this topic

Recommended Posts

Updated (edited)

Heyy,

 

Yesterday someone tried to hack a game & he needed to see .smali files but I couldn't exactly find a tutorial from this form to link to him. There are tools etc, but yea that's why I'm writing one :p.

 

What you need first, are the correct files & installation

 

How?

https://ibotpeaches.github.io/Apktool/install/

Better tutorial for mac: http://macappstore.org/apktool/

Also you will need JRE installed; http://www.oracle.com/technetwork/java/javase/downloads/index.html

 

After that it'll look something like this: (SignApk folder is  something I created by my own)

 

 

HbtbOKz.png

 

As you can see, I already did put a .apk in there:  dtm.apk

That's the one we'll decompile

 

What we have to do now, is locate to this folder on Terminal or CMD

 

CMD: SHIFT + right mouse button --> Open command promt here or you can 'cd' to it, not sure how on windows.

Terminal: cd /whereyoulocated the apktool folder, mine = cd /users/joey/desktop/apktool

 

After you located to your apktool folder.

 

There are only 2 simple commands you need to know:

apktool d 'nameofapk'.apk ---> decompiling
apktool b nameofapkyoudecompiledasfolder ---> recompiling

In my case:

apktool d dtm.apk
apktool b dtm

lemme show you how it will looks like after decompiling: (redline is decompiled .apk)

 

MrVczZ7.png

 

So, imagine you did some changes in the smali files or png files or whatever :p, you wanna recompile it back to .apk ofcourse, how?

 

well in my case i type in terminal:

 apktool b dtm

It will look like this: 

 

KPMrY4w.png

 

What you have to do now:

 

Openup the decompiled .apk folder, in my case 'dtm' & go to 'dist'

 

Here you'll find the recompiled .apk, you only need to sign the .apk...

 

That's why I created a SignApk folder in my apktool folder, but you can also download 'Zipsigner' from playstore.

 

How do I sign the .apk?

 

This is my SignApk folder, unzip it in your apktool folder: http://www73.zippyshare.com/v/lRQPtsWK/file.html

 

After you've unzipped it, copy apktool + apktool.jar from your apktool folder into the SignApk folder.

 

I copy the recompiled apk to my SignApk folder

In my SignApk folder I created a .txt doc with the command to sign .apk

It's this command:

java -jar SignApk.jar testkey.x509.pem testkey.pk8 apkname.apk newapkname.apk

I'll have to locate using Terminal first:

In my case: cd /users/joey/desktop/apktool/signapk

 

Then I run this command:

java -jar SignApk.jar testkey.x509.pem testkey.pk8 dtm.apk dtm_signed.apk

It will look like this: (red line is signed apk)

 

YUME7tD.png

 

 

Hope it's a bit clear!

 

Goodluck!

 

PS: If you need any help with some smali hacking, you can pm me & I'll try to help!

Updated by Ted2
Posted

Yes you defenitly can :p

You may have to give chmod premisons, but they are saying that on the apktool site too I thought.

Yeah. what games do you suggest I should try as a beginner :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Rival Stars Horse Racing Cheats v1.64.1 +2
      Modded/Hacked App: Rival Stars Horse Racing by Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.hrc.iosstore
      iTunes Store Link: https://apps.apple.com/us/app/rival-stars-horse-racing/id1215477266?uo=4&at=1010lce4


      Hack Features:
      - Infinite Sprint
      - Disable AI Sprint


      iOS Hack Download Link: https://iosgods.com/topic/132378-arm64-rival-stars-horse-racing-cheats-all-versions-2/
      • 335 replies
    • MA 2 – President Simulator v1.0.31 +4++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: MA 2 – President Simulator By OXIWYLE TOV
      Bundle ID: com.oxiwyle.modernage2
      iTunes Store Link: https://apps.apple.com/us/app/ma-2-president-simulator/id6503986463?uo=4

       


      🚀 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      -- Premium Enabled
      -- Acceleration Enabled
      -- No Ads Enabled


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] MA 2 – President Simulator v1.0.24 +4++ Cheats [ Unlimited Everything ] - Free Jailbroken Cydia Cheats - iOSGods
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 16 replies
    • MA 2 – President Simulator v1.0.31 +4++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: MA 2 – President Simulator By OXIWYLE TOV
      Bundle ID: com.oxiwyle.modernage2
      iTunes Store Link: https://apps.apple.com/us/app/ma-2-president-simulator/id6503986463?uo=4

       


      🚀 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      -- Premium Enabled
      -- Acceleration Enabled
      -- No Ads Enabled


      🍏 For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] MA 2 – President Simulator v1.0.24 +4++ Jailed Cheats [ Unlimited Everything ] - Free Non-Jailbroken IPA Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 13 replies
    • The Wolf: Animal Hunting Game v4.0.2 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By SWIFT APPS SP Z O O SPOLKA KOMANDYTOWA
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] [ FREE ] The Wolf: Online RPG Simulator v3.4.0 +1++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 99 replies
    • The Wolf: Animal Hunting Game v4.0.2 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By SWIFT APPS SP Z O O SPOLKA KOMANDYTOWA
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] [ FREE ] The Wolf: Online RPG Simulator v3.4.0 +1++ Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 68 replies
    • The Wolf: Animal Hunting Game v4.0.2 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By Swift Apps sp. z o.o. sp. kom.
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604
       

      Hack Features:
      - Unlimited Currencies -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] [ VIP ] The Wolf: Online RPG Simulator v3.4.0 +1++ Cheats [ Unlimited Currencies ] - ViP Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 161 replies
    • The Wolf: Animal Hunting Game v4.0.2 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By Swift Apps sp. z o.o. sp. kom.
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604
       

      Hack Features:
      - Unlimited Currencies -> Spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] The Wolf: Online RPG Simulator v3.3.1 +1++ Jailed Cheat [ Free Shopping ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 313 replies
    • Dawn of Ages: Medieval Games v2.0.6 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - @Puddin
      - @Laxus

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 12 replies
    • Dawn of Ages: Medieval Games v2.0.6 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 5 replies
    • Dawn of Ages: Medieval Games v2.0.6 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 12 replies
    • Loot Heroes v1.8.0 +18 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Dash Cooldown
      - No Ads

      VIP
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Skill Points -> Earn some.
      - Unlimited Trophies -> Earn or lose some to stick to the leaderboard.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
      • 120 replies
    • Loot Heroes v1.8.0 +18 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Dash Cooldown
      - No Ads

      VIP
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Skill Points -> Earn some.
      - Unlimited Trophies -> Earn or lose some to stick to the leaderboard.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
      • 274 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines