Extracting an Android Source Code from its APK

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 123

  • @watanainged7980
    @watanainged7980 6 лет назад +5

    this is the most detailed tutorial i've seen in youtube. thanks man!

  • @mirbond8018
    @mirbond8018 6 лет назад +9

    thanks man you saved my life.I was about to fail in my Major subject, but man you saved me thanks thanks thanks.Salute to you.

  • @macavalli2619
    @macavalli2619 2 года назад +3

    Thank you very much brother. You learned me interesting things others skipped over. They just want us to use their online decompilers but you are very generous with your knowledge. May יהוה‎ bless you very much

  • @ClubpoppTV
    @ClubpoppTV 8 лет назад +2

    Hello Delaroy Studios. I am getting a cmd prompt error: c:\Users\wks prods\desktop\dex2jar-2.0>d2j-dex2jar error msg: 'java' is not recognized as an internal or external command, operable program or batch file. " any suggestions. WIN 7 - 64bit os.

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад +1

      have you set the path to java bin appropriately

    • @ClubpoppTV
      @ClubpoppTV 8 лет назад

      I needed to reload java and use classes2. rather than classes. thanks!

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      you are welcome

  • @neerajtaneja8698
    @neerajtaneja8698 6 лет назад +5

    how to use these source code in android studio for modifying and buil the app again..

    • @zoac6009
      @zoac6009 4 года назад

      it is not possible to use it in Android studio

  • @SanimStha
    @SanimStha 8 лет назад +1

    Keep up the good work man i learned a lot from your lessons :D .i am subscribing for more :D

  • @iksocial9608
    @iksocial9608 3 года назад +1

    hi there am using win 10 2021 but am unable to follow those commands when it comes to command prompt thanks again for the information

  • @rishabhjain7313
    @rishabhjain7313 6 лет назад +12

    Pls post a video about how to run the extracted source code on Android studio

  • @rutikmahurkar4039
    @rutikmahurkar4039 4 года назад +1

    Error: Could not find or load main class com.googlecode.dex2jar.tools.Dex2jarCmd
    what should i do

  • @tusharvpawar9679
    @tusharvpawar9679 7 лет назад +1

    'd2j-dex2jar' is not recognized as an internal or external command,
    operable program or batch file. I set java jdk jre environment variable and javac cmmd works fine on my cmd.. Please suggest me the answer

    • @tusharvpawar9679
      @tusharvpawar9679 7 лет назад

      And what is meaning of d2j-dex2jar command

    • @MyCoCreations
      @MyCoCreations 7 лет назад

      You need to add the Java JDK bin path to the PATH System Environment variable. Control Panel --> System Search Enviorment variables. HTH

  • @avishekchatterjee531
    @avishekchatterjee531 4 года назад

    Can i now import the police or whatever apk project folder into Android studio for editing and build?

  • @OWAISZAHEER
    @OWAISZAHEER 5 лет назад +1

    Sir can we implement admob ads sdk in source code by using above method
    If yes how?

  • @yoshuasiahaan6819
    @yoshuasiahaan6819 4 года назад

    thanks a lot delaroy studios

  • @Valotye
    @Valotye 4 года назад

    thank you for help and very detailed tutoril

  • @robertlongoria765
    @robertlongoria765 8 лет назад +1

    Thank you very much..I learned a lot. I subscribed.

  • @TejasKondhalkar
    @TejasKondhalkar 7 лет назад +1

    sir i have one question please.......can i extract code of any application using this.....plz replya

  • @rishintrcvsc2346
    @rishintrcvsc2346 4 года назад +1

    What if the apk contain 2 classes.dex files

  • @youcefrezgui4480
    @youcefrezgui4480 5 лет назад +1

    Please can give some help in APK game to hack or modified the game to give more resources clash of Queens .

  • @tamiriiiii
    @tamiriiiii 8 лет назад +1

    thanks for the nice explanation sir

  • @kojoowusu-ansah7427
    @kojoowusu-ansah7427 7 лет назад +1

    boss going over your video again i realized you did two things, one is you used the the jd-gui to get a first set of files and you also used the Framework to get another set of files so whats the difference between the two?

    • @gamedoughhh
      @gamedoughhh 6 лет назад +2

      one for java file and the other for xml file

  • @babaramdass462
    @babaramdass462 5 лет назад +1

    Yesss I finally have the sauce filee for my apk!!

  • @bishoplaulentmagike
    @bishoplaulentmagike 3 года назад

    How to import those files in Android Studio and export new apk ?

    • @DelaroyStudios
      @DelaroyStudios  3 года назад

      You have to create a new Android project and copy in the classes, layout and manifest contents

    • @bishoplaulentmagike
      @bishoplaulentmagike 3 года назад

      @@DelaroyStudios I face many error.How you can do for me I want source code from my friend apk ?

  • @jenish19188
    @jenish19188 6 лет назад

    Fantastic...Worked for me!

    • @Mouka80
      @Mouka80 6 лет назад

      are you upload the project apk in android studio ? please i need help bro, thank's

  • @ghamdikar
    @ghamdikar 8 лет назад +1

    thanks so much, I got the source code but how to know what's the program generated it. if I want to use it in Android studio I can't find the gradle file

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      Gradle is a build tool it dose not sit inside the apk it only builds up an apk

    • @ghamdikar
      @ghamdikar 8 лет назад

      so, how to open the source code into android studio without gradle file? sorry I need to learn

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      You have to start up a new android project, afterwards study extracted apk layout files used always in xml and as well look its interaction with the java files, sometimes other value xml like strings might be useful.

    • @ghamdikar
      @ghamdikar 8 лет назад

      can I contact you ?

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      yea get me on bamoyk@yahoo.com

  • @KaunJitega
    @KaunJitega 5 лет назад +1

    Please make project of extracted codes into Android studio and make once again convert it to akp

  • @satweek123
    @satweek123 5 лет назад

    Will it work for apk files generated from Kodular ?

  • @ngrobert5054
    @ngrobert5054 6 лет назад +1

    Error: Unable to access jarfile C:\Users\Brownie\Desktop\Extract\\apktool.jar how to resolve thhis

  • @sammyluvschos
    @sammyluvschos 6 лет назад

    This was very helpful
    Thanks

  • @uonliaquat7957
    @uonliaquat7957 7 лет назад

    This Video worked for me!

  • @kojoowusu-ansah7427
    @kojoowusu-ansah7427 7 лет назад

    it works perfectly man you are good..i have a question,so after all this how do i recompile and test?

    • @DelaroyStudios
      @DelaroyStudios  7 лет назад +1

      you have to create a new project and integrate the Java classes with layout so Gradle could build up again. The whole idea of this is to get back your code logic if you misplaced the source

  • @misterpainful1946
    @misterpainful1946 5 лет назад

    Delaroy Studios
    When I enter 'dj2-dex2jar classes.dex' it replies with:
    'java' is not recognized as an internal or external command,
    operable program or batched file.

    • @samramehboob4839
      @samramehboob4839 5 лет назад

      You need to setup environment variables i:e both PATH and JAVA_HOME variable.

    • @hocine130
      @hocine130 5 лет назад

      @@samramehboob4839 how i can do that ? respond please

  • @tumparani1771
    @tumparani1771 5 лет назад

    thanks..its working for me......................

  • @ngrobert5054
    @ngrobert5054 6 лет назад

    Brother yourstep easy to understand sorry about the comment I made

  • @sandeshpol4028
    @sandeshpol4028 4 года назад

    Sir classes.dex is decompiled but classes2.dex is not decompiled

  • @ani-xg1rf
    @ani-xg1rf 7 лет назад

    It’s not working for me
    Will it work if i just rename the file?

  • @mm-wm6uh
    @mm-wm6uh 3 года назад

    confusing video, why you decompile Police.apk twice ( 1st in classes.dex and 2nd in police.apk)

  • @ngrobert5054
    @ngrobert5054 6 лет назад

    straight to the point don't length

  • @joelserrao1078
    @joelserrao1078 5 лет назад

    Links:
    sourceforge.net/projects/dex2jar/files/
    java-decompiler.github.io/
    ibotpeaches.github.io/Apktool/install/
    androidfilehost.com/?fid=23212708291677144

  • @jarissonribeiro8228
    @jarissonribeiro8228 5 лет назад

    Hi I lost my Java project just got the apk can I save the project by reverse engineering the APK and redoing my app?

  • @chetsadachaiprasop4937
    @chetsadachaiprasop4937 5 лет назад

    hi you have idea to obfuscated .apk files?

  • @samirdesigner3324
    @samirdesigner3324 8 лет назад

    thanks but id in java file all errore place id have nomber what i do for that?

  • @asifahmad5631
    @asifahmad5631 Год назад

    How to make it back an andriod executable apk

  • @nassahwisei9034
    @nassahwisei9034 8 лет назад +1

    thank u so much much i have one question ..!! how to combine the both classes and xml files !!

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад +1

      there is always a directory to the xml and java classes that's what you need to copy to the project tree of the app

  • @sicamarius
    @sicamarius 3 года назад

    At me it's show 6 kb the original classes.dex he has 6.mb. Why?

  • @ThEGeEeK
    @ThEGeEeK 5 лет назад

    All this ok but show how can we use this source code in the android studio and manipulate.

    • @chuloomints2871
      @chuloomints2871 5 лет назад

      @30000TEr how to? is there a video out there ?

    • @junaidkhalil4095
      @junaidkhalil4095 4 года назад

      @Official Terabyte how will you explain plzz

  • @devalm4513
    @devalm4513 5 лет назад

    hi when you finish this how to plural source code and send it to my friend ,

  • @leilasarni4608
    @leilasarni4608 5 лет назад

    Very good Thanks

  • @srijit8127
    @srijit8127 6 лет назад

    We get all the layout at the start when we extract the apk folder along with classes.dex

  • @akankshatiwari2908
    @akankshatiwari2908 2 года назад

    what is shade?

  • @mindsetmogulle
    @mindsetmogulle 4 года назад

    i cants find shade on my cmd please help

  • @parthbadkul3524
    @parthbadkul3524 2 года назад

    its showing me command not found

  • @digvijayyamagekar7139
    @digvijayyamagekar7139 5 лет назад +2

    Thanks man. can you tell us how to edit that file on Android studio ?

  • @tshiamotodd3644
    @tshiamotodd3644 6 лет назад

    What about the gradle files?????

  • @real4809
    @real4809 6 лет назад

    how to get apktool batchfile?

  • @mosesd657
    @mosesd657 4 года назад

    i want to change my apk to web app

  • @daniellangat7425
    @daniellangat7425 8 лет назад

    iam not able to get the apktool.bat in the link you provided

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      try going through the video one more time and pause when you have to in other to get all the steps involved in extracting the source files

  • @SUNILKUMAR-vb7le
    @SUNILKUMAR-vb7le 5 лет назад

    Sir
    Thanks but explain how to join these file and import in android studio please in another video

    • @DelaroyStudios
      @DelaroyStudios  5 лет назад

      you would possibly create a new project and setup all the necessary classes

  • @subhrojyotisen2078
    @subhrojyotisen2078 4 года назад

    Sir can i get the gradle code also

  • @GouthamKrishnaTech
    @GouthamKrishnaTech 8 лет назад

    thank you sir

  • @TheGeekTechZone
    @TheGeekTechZone 7 лет назад

    It gives me a classes-dex2jar.java file of 0KB

  • @nithinjoseph6097
    @nithinjoseph6097 6 лет назад

    Thanks

  • @alexnjuguna4099
    @alexnjuguna4099 4 года назад

    hi guys how do i pass this error

  • @livlop
    @livlop 8 лет назад

    Thank you!!! this is great. Now how can I defend my code to this? .... what tips can consider?
    Thanks my friend. Really all your videos are very interesting.

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад

      when you say defend your code, what do you mean by that?

    • @livlop
      @livlop 8 лет назад +1

      +Delaroy Studios uhmm obfuscate the code for example. create libraries separately is good idea?. I want protect my code for decompiler programs. Or at least the logic of some important classes (sensitive process).... save the password encrypted in the keystore....

    • @DelaroyStudios
      @DelaroyStudios  8 лет назад +1

      Ok I understand you now, I would come up with how to obfuscate your source code in subsequent videos. Thanks

    • @livlop
      @livlop 8 лет назад +1

      +Delaroy Studios .. Oh thanks you my friend.. really I'll appreciate that.
      Thank you very much for all your videos. You are the best!!!

  • @mal1nk750
    @mal1nk750 6 лет назад

    How to get depedency ? Or gradle file?

    • @DelaroyStudios
      @DelaroyStudios  6 лет назад

      you can't get gradle file you would need to extract those classes and create a new project

    • @mal1nk750
      @mal1nk750 6 лет назад

      Delaroy Studios but we need depedency to create new app.

  • @sandipdigambarnarwade284
    @sandipdigambarnarwade284 8 лет назад

    thnk u sir

  • @francarloscastillorobles3618
    @francarloscastillorobles3618 2 года назад

    looooveeee you

  • @adeyinkaolasunkanmi1605
    @adeyinkaolasunkanmi1605 6 лет назад

    Oga Bamidele Delaroys, please after extracting the source code, how do I recompile it to apk after various editing has been done.Secondly, how do I add admob to change the default.I have built an app using appsmoment.com which also got its software from seattlecloud, we received an email that Seattle cloud is going to stop all of the apps built with its software from functioning as from mach 15.... Am looking for ways I could keep my apps functioning even after seattlecloud suspended it.
    Kindly help me out as to the question I asked above.
    Thanks and God bless you.

  • @kalemabashiribrahim1911
    @kalemabashiribrahim1911 4 года назад

    I can't find apktool.bat file.
    Can anyone email me with it.
    Thanks in advance.

  • @anaseshmela8512
    @anaseshmela8512 Год назад

    What are we doing here lol

  • @thejerkinman
    @thejerkinman Год назад

    test

  • @abhilash941
    @abhilash941 7 лет назад

    its fake

    • @jenish19188
      @jenish19188 6 лет назад

      It worked for me bro

    • @Mouka80
      @Mouka80 6 лет назад

      are you uploaded the project in android studio? please bro

  • @ngrobert5054
    @ngrobert5054 6 лет назад

    C:\Users\Brownie\Desktop\Extract>apktool if framework-res.apk
    S: WARNING: Could not write to (C:\Users\Brownie\AppData\Local\apktool\framework), using C:\Users\Brownie\AppData\Local\Temp\ instead...
    S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
    I: Framework installed to: C:\Users\Brownie\AppData\Local\Temp\1.apk anything wrong with this

  • @dumpfile8916
    @dumpfile8916 5 лет назад

    how do i extract the urls inside a App

  • @ianxiao5543
    @ianxiao5543 4 года назад

    thanks