Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:11:37+00:00 2026-06-14T00:11:37+00:00

Unfortunately I got my computer stolen and the automatic cloudservice backup appeared to look

  • 0

Unfortunately I got my computer stolen and the automatic cloudservice backup appeared to look automatic, but it had stopped months earlier. So I have lost all my Eclipse source files for my Android apps.

I’m trying to recover all these files and was hoping you could help me with the last steps.

So, what I did:

  1. Downloaded Astro File Manager from the Play Store: https://play.google.com/store/apps/details?id=com.metago.astro&hl=en

  2. Backed up my apps with Astro File Manager and copied them from my SD card to the computer.

  3. Downloaded the APK-tool: http://code.google.com/p/android-apktool/
    (apktool-install-windows-r04-brut1.tar.bz2 and apktool1.4.3.tar.bz2) and extracted them into the c:\windows folder.

  4. Decoded the apk: apktool d name.apk

So far so good, but here I’m stuck. Since I’m quite new to Android Programming:

I get the following folders: res and smali

The res folders contains all my resources, but…

I can see that all my files that used to be in Eclipse in the src folder are now in the smali folder and have an .smali extension, but they look totally different.

Is there any method to get them back to “normal” (Java code)? Some kind of tool/trick step by step?

Thanks!

I came along this blog: http://jack-mannino.blogspot.com.es/2010/09/reversing-android-apps-101.html

But after extracting the dex2jar file Eclipse can’t open the .class files. Anybody that can help? Also, what do the $1, $2 etc. mean behind the filenames?


OK, basically, what I did, but I’m missing the last step (I’m guessing):

  • Installed Astro File Manager
  • Backed up the app
  • Copied the APK and used dex2jar: ‘d2j-dex2jar c:\apk\myappname.apk’ to create the jar file
  • Used JD (http://java.decompiler.free.fr/?q=jdgui) to create a zipfile
  • extracted the zipfile

So I can see all the source code, but the Manifest seems to be missing, so Eclipse still doesn’t open it as a project.

Can anybody give me the last tip? Thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:11:38+00:00Added an answer on June 14, 2026 at 12:11 am

    In this kind of situation your best shot would be using dex2jar tool to convert apk(actually dex in it) to jar file and inspecting it with java decompiler like jd.

    But JD sometimes produces misguiding java sources so you may have to refer smali code of the class which can be get by apktool.

    Here is the dalvik opcodes : http://s.android.com/tech/dalvik/dalvik-bytecode.html

    Finally, those $1, $2 after class names means inner classes those used in that class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have submitted an app to appstore but unfortunately it got rejected due to
Basically, I have the same question as this one , which unfortunately never got
I've got some code which works fine in IE but unfortunately not in Google
I've got a flex component which works pretty well but unfortunately turns into a
I would like to call a member through lambda::bind. Unfortunately I have got two
Unfortunately I've got a bug that I have been working on for 1 full
I have always got around this problem by - unfortunately - using events less.
I try to parse RSS chaanal with simple-rss lib. Unfortunately I got a lot
I'm using the svncommit task from the MSBuild Community Tasks Project. Unfortunately I've got
I've got a problem concerning combinatorics. Unfortunately, I can't describe it abstractly so I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.