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

    • Idle Army: Trading Weapons v1.16.1 [+5 Jailed Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4



      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 28 replies
    • Idle Army: Trading Weapons v1.16.1 [+5 Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4

       

      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 12 replies
    • Soul Huntress: Dungeon Crawler v1.0.7 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 26 replies
    • Soul Huntress: Dungeon Crawler v1.0.7 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 31 replies
    • Chaos Road: 3D Car Racing Game v5.17.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Chaos Road: 3D Car Racing Game By Supercharge Mobile Corp.
      Bundle ID: com.Zeeppo.ChaosRoad
      iTunes Store Link: https://apps.apple.com/us/app/chaos-road-3d-car-racing-game/id1471023434?uo=4

      Hack Features:
      - Gems
      - Gold
      - ViP Active
      • 18 replies
    • Chaos Road: 3D Car Racing Game v5.17.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Chaos Road: 3D Car Racing Game By Supercharge Mobile Corp.
      Bundle ID: com.Zeeppo.ChaosRoad
      iTunes Store Link: https://apps.apple.com/us/app/chaos-road-3d-car-racing-game/id1471023434?uo=4

      Hack Features:
      - Gems
      - Gold
      - ViP Active 
      • 29 replies
    • Arena Heroes: Online RPG v1.13.6 [ +2 Cheats ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4
       

      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 26 replies
    • Arena Heroes: Online RPG v1.13.6 [ +2 Jailed ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4


      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 24 replies
    • Shadow Kingdom:Frontier War TD v1.0.19 [ +7 Cheats ] Currency & Resources
      Modded/Hacked App: Shadow Kingdom:Frontier War TD By Pusilung HK Limited
      Bundle ID: com.ezg006.shadow.war.tower.defense.strategy.game.td
      App Store Link: https://apps.apple.com/us/app/shadow-kingdom-frontier-war-td/id6747165226?uo=4


      🤩 Hack Features

      - Currency [ No Need ]

      - Resources [ No Need ]

      - Energy Cost 0

      - Spin Free

      - Silver Coin [ Build Then Get ] Disable After Hacked

      - HP

      - ATK
      • 12 replies
    • Shadow Kingdom:Frontier War TD v1.0.19 [ +7 Jailed ] Currency & Resources
      Modded/Hacked App: Shadow Kingdom:Frontier War TD By Pusilung HK Limited
      Bundle ID: com.ezg006.shadow.war.tower.defense.strategy.game.td
      App Store Link: https://apps.apple.com/us/app/shadow-kingdom-frontier-war-td/id6747165226?uo=4


      🤩 Hack Features

      - Currency [ No Need ]

      - Resources [ No Need ]

      - Energy Cost 0

      - Spin Free

      - Silver Coin [ Build Then Get ] Disable After Hacked

      - HP

      - ATK
      • 12 replies
    • Galaxy Attack: Alien Shooter v5.12.19 [ +30++ Cheats ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible  

       

      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Agree
      • 84 replies
    • Galaxy Attack: Alien Shooter v5.12.19 [ +30++ Jailed ] Currency Max
      Modded/Hacked App: Galaxy Attack: Alien Shooter By DINO GAME LIMITED
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4

       

       

      🔧 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Linked With Battle Pass ]

      - Gold [ Linked With Battle Pass ]

      - Chest [ Linked With Battle Pass ]

      - Monthly Card Normal

      - Monthly Card Super

      - Monthly Card Premium

      - Energy NO Need [ When 0 Play Unlimited ]

      - Evolve Stone

      - Unlimited Ship [ Select Any Ship Before The Battle ]

      - Drone Ticket

      - Terminator Point

      - Tech Point

      - Overload Ball

      - Matrix Max

      - Golden Revive Max

      - Revive Unlimited

      - Campain Revive Cost Gold [ Earn With Gold ]

      - Gems Revive  [Earn With Gems ]

      - Endless Revive Cost Gold [Earn With Gold ]

      - Talent Upgrade Cost  [Earn With Gold ]

      - Battle Pass Premium Active

      - BP Free [ Claim Unlimited ]

      - BP Premium [ Claim Unlimited ]

      - BP Free Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - BP Premium Rewards Unlimited [ Gold Gems Chest Stone + More ]

      - Bullet Max

      - Life Max

      - Damage

      Warning 


      Don"t Abuse The Hack In Case Banned Any Data Lose I'M Not Responsible 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      📥 iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 65 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