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
  • Thanks 1
Posted

Who was that someone eh? :kappa:

 

Thanks for this! :D

Hahah, yea it was for you. I really thought there would be a tutorial for this on the forum..

If you need any help, pm me!

Posted

Fact you are using Mac , means I can do it :kappa:

Thanks

Yes you defenitly can :p

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

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 :)

Posted

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

To hack?

 

Uhmm,

 

Pou (for coins)

Sniper Shooter Free - Fun Game (this one isn't that hard)

Posted

To hack?

 

Uhmm,

 

Pou (for coins)

Sniper Shooter Free - Fun Game (this one isn't that hard)

On it !

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

    • Ant Kingdom Wild RPG v5.0.0 [ +21 Cheats ] Currency Max
      Modded/Hacked App: Ant Kingdom: Wild RPG By Supercent Inc.
      Bundle ID: com.turbofasttools.antkingdom
      App Store Link: https://apps.apple.com/us/app/ant-kingdom-wild-rpg/id6748462417?uo=4

      🤩 Hack Features

      - Skip All Ads
      - Add All Currencies
      - Free Shopping / IAP NO
      - Unlimited Meat Storage
      - Max All Swarm Upgrades
      - Move Speed
      - Game Speed
      - Unlock All Areas
      - Instant Egg Hatch
      - Free Hatchery
      - Max Idle Farm
      - Max All Artifacts
      - Max All Teammates
      - Max Game Level
      - Freeze Enemies
      - Hunt Target One Hit Kill
      - Rival Battle Auto Win
      - One Hit Kill
      - Swarm Never Die
      - Never Die
      • 0 replies
    • Ant Kingdom Wild RPG v5.0.0 [ +20 Jailed ] Currency Max
      Modded/Hacked App: Ant Kingdom: Wild RPG By Supercent Inc.
      Bundle ID: com.turbofasttools.antkingdom
      App Store Link: https://apps.apple.com/us/app/ant-kingdom-wild-rpg/id6748462417?uo=4

      🤩 Hack Features

      - Skip All Ads
      - Add All Currencies
      - Free Shopping / IAP NO
      - Unlimited Meat Storage
      - Max All Swarm Upgrades
      - Move Speed
      - Game Speed
      - Unlock All Areas
      - Instant Egg Hatch
      - Free Hatchery
      - Max Idle Farm
      - Max All Artifacts
      - Max All Teammates
      - Max Game Level
      - Freeze Enemies
      - Hunt Target One Hit Kill
      - Rival Battle Auto Win
      - One Hit Kill
      - Swarm Never Die
      - Never Die
      • 0 replies
    • Heli Monsters Giant Hunter v1.4.21 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Heli Monsters - Giant Hunter By SayGames LTD
      Bundle ID: com.heli.monsters
      App Store Link: https://apps.apple.com/us/app/heli-monsters-giant-hunter/id1636701778?uo=4

      🤩 Hack Features

      - Ads No
      - Currency Max
      - Never Die
      - Damage Max
      • 0 replies
    • Heli Monsters Giant Hunter v1.4.21 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Heli Monsters - Giant Hunter By SayGames LTD
      Bundle ID: com.heli.monsters
      App Store Link: https://apps.apple.com/us/app/heli-monsters-giant-hunter/id1636701778?uo=4

      🤩 Hack Features

      - Ads No
      - Currency Max
      - Never Die
      - Damage Max
      • 0 replies
    • Tactical Misfits v0.2.0 [ +4 Cheats ] Never Die
      Modded/Hacked App: Tactical Misfits By Pursuit Games Inc
      Bundle ID: com.pursuitgames.tacticalmisfits
      App Store Link: https://apps.apple.com/us/app/tactical-misfits/id6803212208?uo=4

      🤩 Hack Features

      - Unlimited Mana
      - Unlimited Rerolls
      - Never Die
      - Max Damage
      • 0 replies
    • Tactical Misfits v0.2.0 [ +4 Jailed ] Never Die
      Modded/Hacked App: Tactical Misfits By Pursuit Games Inc
      Bundle ID: com.pursuitgames.tacticalmisfits
      App Store Link: https://apps.apple.com/us/app/tactical-misfits/id6803212208?uo=4

      🤩 Hack Features

      - Unlimited Mana
      - Unlimited Rerolls
      - Never Die
      - Max Damage
      • 0 replies
    • The Office Match +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Office Match By East Side Games Inc
      Bundle ID: com.eastsidegames.theofficematch
      App Store Link: https://apps.apple.com/ph/app/the-office-match/id6754114961?uo=4

       

      🤩 Hack Features

      - Currency Multiplier
      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Lives
      - Freeze Moves
      - Auto Win
      -- No Ads
      • 0 replies
    • UnGodly [+5 Cheats]
      Modded/Hacked App: UnGodly By Azra Games Inc
      Bundle ID: com.azragames.ungodly
      App Store Link: https://apps.apple.com/us/app/ungodly/id6740617332?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

      - Godmode
      - One Hit Kill 
      - No Ability Cooldown
      - No Ability Cost
      - No Stagger
       

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - @KyosukeNanbu

      - @Batch

      📷 Cheat Video/Screenshots

      N/A
      • 6 replies
    • Dead Meridian v1.1.0 [ +4 Cheats ] Never Die
      Modded/Hacked App: Dead Meridian By OBX Software Corporation
      Bundle ID: com.obxsoftware.deadmeridian
      App Store Link: https://apps.apple.com/us/app/dead-meridian/id6824602528?uo=4

      🤩 Hack Features

      - Never Die
      - Damage Max
      - Infinite Ammo
      - Premium Unlocked
      • 0 replies
    • Dead Meridian v1.1.0 [ +4 Jailed ] Never Die
      Modded/Hacked App: Dead Meridian By OBX Software Corporation
      Bundle ID: com.obxsoftware.deadmeridian
      App Store Link: https://apps.apple.com/us/app/dead-meridian/id6824602528?uo=4

      🤩 Hack Features

      - Never Die
      - Damage Max
      - Infinite Ammo
      - Premium Unlocked
      • 0 replies
    • Twinguard Tower Defense TD v0.0.9 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Twinguard: Tower Defense TD By Tu Do Anh
      Bundle ID: com.130game.doubletd.twinhold
      App Store Link: https://apps.apple.com/us/app/twinguard-tower-defense-td/id6747331836?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Twinguard Tower Defense TD v0.0.9 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Twinguard: Tower Defense TD By Tu Do Anh
      Bundle ID: com.130game.doubletd.twinhold
      App Store Link: https://apps.apple.com/us/app/twinguard-tower-defense-td/id6747331836?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - Max Damage
      • 0 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