[Tutorial]Decompiling Or Editing Android's APK - Android Software/Hacking General [Developers Only]

How To Decompiling Or Editing Android's APK
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
step 1 : first apk file rename and last .zip to create zip file.
step 2 : then open *.zip file and classes.dex copy to dex2jar-0.0.9.9 folder.
step 3 : then folder on shift+right aerow and click open command window here.\
step 4 : then write on cmd in dex2jar classes.dex and enter press. this process is given on images.
step 5 : then getting classes_dex2jar file.
step 6 : then open jd-gui application and open file-> open file and open classes_dex2jar file.
step 7 : getting the code of application.
For Download This Software::
Click Here...
If You liked my work,Atleast Click Thanks Button,its Free,It encourages me.

awesome guide
helped me get a source code to popular android game so i can create my own game using the touch feature of source code:highfive::good:

Its the most complex guide I have ever seen

iamareebjamal said:
Its the most complex guide I have ever seen
Click to expand...
Click to collapse
It really is. Lol. I'm not going to keep looking at the screenshot and i'll just see if I can make it work on my own.

how do you get the resulting .zip from saving all sources of jd-gui since jd-gui doesnt actually allow modifications you have to save all sources wll end up with .java in a zip file, after editing the java files in the zip how do i get that zip back into the jar file to re dex it>?????

fieldsweeper said:
how do you get the resulting .zip from saving all sources of jd-gui since jd-gui doesnt actually allow modifications you have to save all sources wll end up with .java in a zip file, after editing the java files in the zip how do i get that zip back into the jar file to re dex it>?????
Click to expand...
Click to collapse
There are other, more straight forward guides to help.

its not hard, its impossible to understand!
FAILED!!!

Thank you so much, took. I will act.

Related

[TOOL][GUIDE] Release key maker and auto-signer / how to add java to your path

Release key signer
This is a tool I made for myself and figured I'd share it with everyone
what it does :
1 makes you your own set of release keys
2signs an apk with those keys
3zipaligns your apk
4signs zip files with your release keys
You need to have java in your system path if you don't know how then follow the guide in the second post.
What are release keys? release keys are what google and other corps. use to sign apks and update zips. It's also required to sign an apk with release keys to put them on the market.
How to use:
1ownload release key maker from here
2: unzip anywhere then put your apk (you must remove the meta-inf folder from the apk) into the unzipped folder
3: Double click the batch file and follow the steps
Part Two
This other upload is just an updated version it doesn't let you make the release keys it already has them and the keystore password in the batch file. It also signs zips with a test key because signing a zip with a release key seems to mess some things up.
Download part two here
simple right?
thanks go to:
Papa smurf (for spreading the info)
Darchstar ( I just like your roms)
Regawmod
JAguirre1234
Daneshm90
Tkirkton
To do:
hopefully add the ability to not have to enter your password when you sign an apk
other stuff
HOW TO PUT JAVA IN YOUR SYSTEM PATH
First thing first go to here and download the java runtime (JRE) and then
the java development kit. Now install them both.
Now open up your start menu and right click COMPUTER and select properties
A window will open up that looks like this
select "advanced system settings"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/IMG]
a new window will open up that looks like this
select "environment variables"
a little window will open like this in environment variables scroll down to path select it and click edit
another window will open like this
at the very end of it type this
Code:
;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin
click all the "ok" then I believe a reboot is necessary
now enjoy
updated post with new stuff
Had an issue with the path for the jdk, but went and looked and saw that the file name for the version I have is 1.6.0_23 instead of _21. Once I got that minor issue lined out it works great. Thank you for this.
ok... so it helps to have the right Javas installed... weak lol

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end :banghead: and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks :thumbup:
Bye!!

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks
Bye!!
I would love to know how to open the rest of those files in there the ones that look like this: 0c23d38d2f2b445afa92ff0cf9388a76 there are usually dozens of them obviously on a PC but anyone know how to open them? this is the closest I found while searching and this thread is all I could find :?

[GUIDE] Adding Extra Details in About Phone in Settings.apk [NOOB-FRIENDLY]

Hi guyz,
Today I want to share something about settings.apk mod….
Its about adding small details in about phone section…
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: I have not copied it... Actually I was playing with some codes and got success. I don’t know if there is any guide about this… There is guides about this, but those are hard for newbies because those are complex and there is some work in strings.xml... But in my guide there are no work of that .... I think this is the easiest way.....
So lets start…
Requirments
Apktool, Java Runtime
NotePad++, 7zip
Knowledge about decompiling, recompiling
A little respect (must)
And your Settings.apk & framework-res.apk
Step 1..
Decompile your Settings.apk
Step 2..
Go to res > xml
Open device_info_settings.xml
Now Copy This Code
Code:
<Preference android:title=" TITLE " android:summary=" SUMMARY " style="?android:preferenceInformationStyle" />
And paste it before </PreferenceScreen>
See the Image… I have added 2 lines… And You can write there anything……
Step 3..
Now Recompile your settings
Step 4..
Open decompiled Settings folder then go to build/apk, there u will find AndroidManifest.xml file…
Now open original Settings.apk using 7zip then copy the META-INF folder and AndroidManifest.xml file…
paste both the files in build/apk folder, if asked to replace, click yes..
now go to a folder in settings folder named dist, there u will find Settings.apk which u compiled.....
now delete it. We never use the first Settings.apk that we compile, because we need to add the META-INF and AndroidManifest.xml files for signing purposes.
Once you have deleted the 1st compiled Settings.apk, return to the command prompt and again compile the Settings using this code
Code:
apktool b Settings
After it is compiled go to dist folder there u will find new and fresh compiled Settings.apk which u can use it…
Step 5..
Using Root Explorer push it into system/app folder and set permissions to rw-r-r-
That's it!
Credit goes to YOU if you get success :fingers-crossed:
Nice tut sir

[THEME][TWRP] Change TWRP Splash Screen

Weak Intro :
Well, I find few people who're curious to change their TWRP splash screen and even the themes. Don't know how to do this weird stuff? You're at the right place! . I know few of them might be bored with staring at the same splash screen for a long time. How about trying something crazy? :silly:.
Prerequisites:
1. Knowledge of how to repack/unpack img. If you don't know how to do this, Just follow this thread by @osm0sis: https://forum.xda-developers.com/showthread.php?t=2073775
2. A TWRP recovery image for our device which can be found here: https://eu.dl.twrp.me/x3/
3. A splash screen image(format in PNG) of your choice.
4. Notepad++ for XML editing. You can get it from here: https://notepad-plus-plus.org/download/v7.5.2.html
5. PATIENCE! :silly:
Procedure:
Ok now that you're happy with the prerequisites, Let's start being crazy!
I assume that you know how to use the Android Image Kitchen by @osm0sis and thereby I'll proceed without any AIK instructions.
Let's start!
1. Extract the TWRP image you wish using the AIK. To do this, Just drag the TWRP image file onto unpackimg.bat file
2. Now you'll find 2 folders.
-> ramdisk
-> spllit_img
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Leave the "split_img" folder aside.(We don't need anything to do with it) and open the "ramdisk" folder.
4. Open the "twres" folder and then right-click on the "splash.xml" file. Then choose Edit with Notepadd++ in the context menu.
5. Scroll down till you find the page XML tag.
6. Now, delete the lines as shown below.
7. Add this line shown below
8. All done! Now you need to get your PNG image of resolution 1920 x 1080(height x width) of your choice.
9. Go to this directory: ramdisk/twres/images. You'll find a file "splashlogo.png". Just Overwrite it with your PNG image and you're done!
10. Finally, you need to pack the modified stuff to make TWRP image. To do this, head onto the AIK folder and then click repackimg.bat. You'll find a a new file in the same folder called "image-new.img". This file is your modified TWRP img. Just flash it and you're good to go.
Credits
1. @osm0sis, for his awesome Android Image Kitchen
2. TWRP, for their trending recovery!

Categories

Resources