Reversing Android Application

Prerequisite:

  1. apktool.
  2. Java Latest version

Step 1: Decompile:

apktool d facebook_lite_v118.0.0.9.94.apk

Step 2: Build:

apktool b facebook_lite_v118.0.0.9.94

Rebuilt apk can be found in facebook_lite_v118.0.0.9.94 folder

Step 3: Key Generation:

Remember to change the mycustomname and mycustom_alias to your correct keystore name and alias (whatever you want)

keytool -genkey -v -keystore mycustomname.keystore -alias mycustom_alias -keyalg RSA -keysize 2048 -validity 10000

Step 4: Self Sign:

Change the name of the apk, the name of the certificate and the alias with your own data.

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore mycustomname.keystore MYAPKFILE.apk mycustom_alias

--

--

--

Security researcher, Blogger, Bug Bounty hunter

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Do’s and don’ts when reporting a bug in Android Development

Inspect Your Room Database with Room Inspector

Android | Toggle Theme Mode With Lottie Animation

Converting LiveData to Flow: More lessons learned

LiveData vs StateFlow vs SharedFlow vs Channels

Process vs Task

How to connect the Echo Dot to Alexa App

The Best Ways to Utilize Voice Input in Android

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kapil Verma

Kapil Verma

Security researcher, Blogger, Bug Bounty hunter

More from Medium

Create horizontal RecylerView in android

CCSC 2022 Writeups — Glooties App

How To Create AlertDialog — android

Retrofit with ViewModel in Kotlin (Part-1)