Thursday, March 30, 2017

APKRepatcher - Now Decompile & Recompile APK with easy GUI

APKRepatcher helps you to modify an existing apk using a simple user friendly GUI. It lets you edit java/smali code from an APK and rewrite the changes back to the modified signed APK. Additionally, it provides you option to convert Dex, Jar, Class, Smali, Class from one format to another. APKRepatcher makes use of dex2jar, jadx, rsyantaxtextarea, zip4j, apktool

Features:
  1. Decompiles/Recompiles the APK.
  2. Provides an editor to change the decompiled java code.
  3. Compiles the code using javac and saves the updated class.
  4. Allows you to view smali version of your modified java code.
  5. Allows you to edit smali from the original apk or from your modified java code
  6. Smali changes once saved would be reflected back in updated apk after building project.
  7. Build features re-creates new apk with all code changes and lastly it would resign the apk.
  8. Basic features like find/replace/increase or decrease font are also provided.
  9. It also allows you to convert from Dex to Jar/Class/Smali/Java, Jar to Dex/Java, Class to Dex/Smali, Smali to Class/Java/Dex. Also allows to extract and sign any apk.
  10. Allows you to change the amount of memory utilized by APKRepatcher.
  11. Patch Module
  12. APKRepatcher is created using Java with no os dependency (as far as i think) so you can run it with various OS
  13. 100% Free
How to run:
 java -jar APKRepatcher.jar  

File
  1. Open apk (CTRL+O)- Takes the input apk which need to be modified and extracts it inside <APKRepatcher_Software_Dir>/Projects/<APK_NAME_FOLDER>/
  2. Open Project (CTRL+P)– You can reopen the project created from open apk anytime using this feature. Just point it to <APK_NAME_FOLDER> inside Projects directory.
  3. Compile & Save (CTRL+S) – Saves & Compile the java code which is currently shown on the GUI editor.
  4. Build APK (CTRL+B) – Recreates a newly signed apk with the changed code.
Edit
  1. Increase Code FontSize (CTRL+I) – Allows you to increase font size of shown code.
  2. Decrease Code FontSize (CTRL+D) – Allows you to decrease the font size of shown code.
  3. Remove all tabs – Removes all currently shown tabs.
Extra
  1. Extract APK-APKTool – User can provide any apk for extraction using this option
  2. Convert Dex to Jar – User can convert any of dex file to jar format using this option
  3. Convert Dex to Class – User can convert any of dex file to class file using this option
  4. Convert Jar/Class to Dex – User can convert any of jar/class file to dex format using this option
  5. Convert Class to Smali – User can convert any of class file to smali format using this option
  6. Convert Smali to Class – User can convert any of smali file to class format using this option
  7. Convert Smali to Java – User can convert any of smali file to java format using this option
  8. Convert Dex to Smali – User can convert any of dex file to smali format using this option
  9. Convert Smali to Dex – User can convert any of smali file to dex format using this option
  10. Convert Dex/Jar to Java – User can convert any of dex/jar file to java format using this option
  11. Sign your apk – User can resign any apk using this option

Advanced
  1. Edit Smali using current code – Rewrite the smali version of the currently visible java code. This features requires the java code to be compilable in order to convert to smali.
  2. Edit Smali using original APK – This features opens the smali version of the java class from the original apk. Since it is extracted from original apk so no need of current java code to be compilable
  3. Save and apply smali changes – After you have edited smali code, you need to save it so that it gets reflected in modified apk.

Settings
  1. Change Memory Allocation – User is allowed to change the amount of memory reserved by APKRepatcher. Default is 1500mb or 1.5 GB

Help
  1. Update Software – Helps you to update the current software if any update is available
  2. How to use APKRepatcher – Contains the documentation of APKRepatcher.

Toolbar
  1. Allows you to find in current code/replace/replaceAll/find all class


Extra Software Content:

APKRepatcher_lib Folder
  1. It comes along with the software
  2. Contains the helper jars used by program
  3. APKRepatcher_lib\userLibrary is automatically added in classpath while compiling code. If you wish to compile your code using external jars then place those external jars inside APKRepatcher_lib\userLibrary

Settings.txt File
  1. Contains the memory utilized by APKRepatcher.

Software Screenshot:


Things to Remember:
  1. The default memory allocated to APKRepatcher is 1500mb which can be changed simply using Settings -> Change Memory Allocation
  2. You can add external library while compiling your code by simply placing them under APKRepatcher_lib\userLibrary folder
  3. You can also use APKRepatcher for converting dex/jar/class/smali/java from one format to another.
  4. Patch a module - Assume a class is non compilable because of certain modules used, but you wish to change one of methods which does not have any issue. In this case you can remove the non compilable methods, keeping only your changed method. Now select edit smali for current code under Advanced. You will obtain the smali version for your java module. Now choose Advanced -> edit smali using original apk. Replace your modified module in the original apk smali and then click on Advanced -> save and apply changes. When you build the project, it would patch the module. So you are saved from the errors :)
  5. You can always increase or decrease the font size of the code using hotkeys or from Edit section
  6. Don't forget to build the apk after you made your changes. It will create the new apk.
  7. All projects are stored in the Projects directory which comes along with the software.
Tutorial:
  1. Open APKRepatcher using java -jar APKRepatcher.jar
  2. Click on File -> Open APK
  3. Choose the apk you wish to change
  4. Open the package from the left pane and double click on the java file you want to edit.
  5. Once java file opens in editor, just make the required changes.
  6. After you made the changes, click on File -> Compile & Save
  7. If compilation fails, you will see the errors in the console view.
  8. Fix them and compile again
  9. Once compilation succeeds, you click on File -> Build APK
  10. If build succeeds, you would see the new apk created.
  11. If you are unable to compile your class, and want to make changes directly to smali then you can click on Advanced -> edit smali using original apk (which will open the current code smali from the original apk) and make the edits and then click on Advanced -> save and apply. After that you can click on File -> Build APK
  12. Assume a class is non compilable because of certain modules used, but you wish to change one of methods which does not have any issue. In this case you can remove the non compilable methods, keeping only your changed method. Now select edit smali for current code under Advanced. You will obtain the smali version for your java module. Now choose Advanced -> edit smali using original apk. Replace your modified module in the original apk smali and then click on Advanced -> save and apply changes. When you build the project, it would patch the module. So you are saved from the errors
Note: This software is meant for educational purpose only. Don't use it for any illegal activity.

28 comments:

  1. hey i'm can't decompile apk this have message Some thing went wrong...

    ReplyDelete
    Replies
    1. I have updated the tool. Can you please update the APKRepatcher and retry

      Delete
  2. ICN Group: Situs Judi Online terbaik dan terlengkap dengan permainan Sportbook, Live Casino, Slot Machine. IDN POKER dan IDN LIVE

    Situs Judi Online
    Daftar Situs Judi Online
    Poker Online
    Agen Bola Terpercaya
    Judi Online Terpercaya
    Situs Judi Online Terbaik

    Situs Poker online terbaik yang memiliki permainan Texas Hold'em Ceme, Ceme Keliling, Capsa, Super 10, Omaha

    Poker Online Indonesia
    Poker Online
    Domino
    Ceme Keliling
    Capsa
    Super 10
    Omaha
    Daftar Poker Online
    Agen Poker Terpercaya

    Situs Togel Online terpercaya yang lengkap dengan prediksi yang dapat membantu anda dalam menuju Jackpot

    4D/3D/2D
    Colok Bebas
    Colok Naga
    Colok Jitu
    Tengah Tepi
    Kombinasi
    Dasar
    50-50
    Shio
    Silang Homo
    Kembang Kempis
    24D
    Roulette
    Sicbo
    12D Games
    Head&Tail
    Oglok
    Dice 6
    Red/White
    Billiards
    Poker Dice
    Gong Ball
    Suwit
    Monopoly

    ICNPRODUK
    EpicBigWin

    ReplyDelete
  3. omggggggg you very very very niceeeeeeee ı use smali to java

    ReplyDelete
  4. I encountered the following problem when trying to convert my own smali file to Java. Error msg:
    Issue while extracting Smali. Please retry. Cannot run program "java" (in directory "D:\APKRepatcher_lib\helper"): CreateProcess error=267, The directory name is invalid.
    Do I have to do any setting or install APKRepatcher in a specific directory?

    ReplyDelete
    Replies
    1. Solved. Initially, I extracted APKRepatcher to APKRepatcher folder and the error occurred. Re-extracted APKRepatcher to another drive without a folder, there is no error now.

      Delete
  5. I could not recompile the program once I decompiled it yet I didn't actually change anything.

    ReplyDelete
  6. By this method can I unlocked any trial apk to premium? ??

    ReplyDelete
  7. "Indopk Agen Poker Online Domino qq dan Bandar Ceme Terpercaya
    >> Link Daftar : indopk

    Mainkan Gamenya Hanya dengan 1 USER ID saja:
    - POKER, CEME, DOMINO 99, BANDAR CEME, CAPSA SUSUN, OMAHA, SUPER TEN

    Hanya dengan Minimal Deposit 10 ribu anda sudah bisa bermain dan menikmati Berbagai Bonus Menarik Dari indopk

    <> EVENT IMLEK JANUARI ( Hadiah Utama 25 Juta )
    <> Bonus New Member 10%
    <> Bonus Rollingan 0.5%
    <> Bonus Referral 20%
    <> Bonus Jackpot Jutaaan Rupiah Disetiap Hari nya

    Kontak Kami:
    ::- WEB : indopk
    ::- WA : +855882243029
    ::- LINE : indo.pk
    ::- Layanan Live Chat 24JAM ONLINE"








    ReplyDelete
  8. Kasir4D - Agen Togel, Bandar Togel, Casino Online Terpercaya

    Gabung dan bermain Togel Online dan Casino Online bersama kami Kasir4D
    - Minimal Depo Rp 10.000 / Wede Rp. 50.000
    - Bonus New Member 5.000
    - Bonus Bulanan
    - Bonus Deposit 10%
    - Bonus Cashback 15%
    - Bonus Refferal Seumur Hidup 2%

    Hubungi Kami Melalui :
    - Link Alternatif : kasirwin.com
    - WA : +855974247219
    - LINE : kasir4dtogel
    - Layanan Live Chat 24JAM ONLINE

    Searching google :
    - Agen Togel
    - Agen Casino Online

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. not wooooooork , i'm can't decompile apk this have message Some thing went wrong.

    ReplyDelete

  11. Perkenalkan kita dewasakti ingin memberikan review sebuah website Judi Online seperti judi bola & poker online terbaik di indonesia dengan pendaftaran gratis dan mudah tentunya.

    Baca Juga
    Forum Judi Online

    ReplyDelete
  12. CrownQQ Agen DominoQQ BandarQ dan Domino99 Online Terbesar

    Yuk Buruan ikutan bermain di website CrownQQ
    Sekarang CROWNQQ Memiliki Game terbaru Dan Ternama loh...

    9 permainan :
    => Poker
    => Bandar Poker
    => Domino99
    => BandarQ
    => AduQ
    => Sakong
    => Capsa Susun
    => Bandar 66
    => Perang Baccarat (NEW GAME)

    => Bonus Refferal 20%
    => Bonus Turn Over 0,5%
    => Minimal Depo 20.000
    => Minimal WD 20.000
    => 100% Member Asli
    => Pelayanan DP & WD 24 jam
    => Livechat Kami 24 Jam Online
    => Bisa Dimainkan Di Hp Android
    => Di Layani Dengan 5 Bank Terbaik
    => 1 User ID 9 Permainan Menarik
    => Menyediakan deposit Via Pulsa Telkomsel & XL

    Link Resmi CrownQQ:
    - crownqq01.com
    - crownqq01.net
    - crownqq01.org

    Info Lebih lanjut Kunjungi :
    Website : CrownQQ
    Daftar CrownQQ : Poker Online
    Info CrownQQ : Kontakk
    Linktree : Agen Poker Online

    WHATSAPP : +6287771354805
    Line : CS_CROWNQQ
    Facebook : CrownQQ Official
    Kemenangan CrownQQ : Agen BandarQ

    ReplyDelete
  13. NAGAQQ: AGEN BANDARQ BANDARQ ONLINE ADUQ ONLINE DOMINOQQ TERBAIK

    Yang Merupakan Agen Bandarq, Domino 99, Dan Bandar Poker Online Terpercaya di asia hadir untuk anda semua dengan permainan permainan menarik dan bonus menarik untuk anda semua

    Bonus yang diberikan NagaQQ :
    * Bonus rollingan 0.5%,setiap senin di bagikannya
    * Bonus Refferal 10% + 10%,seumur hidup
    * Bonus Jackpot, yang dapat anda dapatkan dengan mudah
    * Minimal Depo 15.000
    * Minimal WD 20.000
    * Deposit via Pulsa TELKOMSEL & XL
    * 6 JENIS BANK ( BCA , BNI, BRI , MANDIRI , CIMB

    Memegang Gelar atau title sebagai AGEN POKER ONLINE Terbaik di masanya

    Games Yang di Hadirkan NagaQQ :
    * Poker Online
    * BandarQ
    * Domino99
    * Bandar Poker
    * Bandar66
    * Sakong
    * Capsa Susun
    * AduQ
    * Perang Bacarrat (New Game)


    Info Lebih lanjut Kunjungi :
    Website : NAGAQQ
    Facebook : Facebook
    WHATSAPP : +855977509035
    Line : Cs_nagaQQ
    TELEGRAM :+855967014811

    BACA JUGA BLOGSPORT KAMI YANG LAIN:
    Cerita seks
    Winner NagaQQ
    story world
    Daftar NagaQQ

    ReplyDelete
  14. I git cloned the repository on both Linux and Win10, in both cases when trying to run java -jar APKRepatcher.jar it says APKRepatcher.jar not found and it actually doesn't exist anywhere. Was there some step beyonf git clone that I should have run or is there something else wrong ?

    ReplyDelete
  15. LIONDOMINO ADALAH SITUS TERBAIK YANG MENGGUNAKAN UANG ASLI YANG DENGAN KEAMANAN 100% TERPERCAYA ONLINE 24 JAM.

    BONUS YANG KAMI SEDIAKAN DISITUS LIONDOMINO :
    * BONUS ROLLINGAN / BONUS TURNOVER 0.3% - 0.5% SETIAP PEMBAGIAN HARI KAMIS
    * BONUS REFFERAL 10%
    * BONUS JACKPOT YANG KALIAN DAPATKAN DENGAN MUDAH
    * BONUS NEW MEMBER HINGGA 200.000
    * BONUS HARIAN MEMBER HINGGA 500.000
    * HINGGA BONUS EVENT YANG KAMI SEDIAKAN DI HARI BESAR


    LINK UNTUK PENDAFTARAN :

    * SITUS TERPERCAYA MENGGUNAKAN UANG ASLI
    * ARTIKEL POKER ONLINE TERPERCAYA

    ReplyDelete