samedi 15 août 2015

[Tutorial] What’s Overlay & How To Use MIt | Keeping Your Modification After Updating



Introduction : Hello everyone, Tonight I’m gonna explain about " overlay " which can be found in " system/vendor/overlay " , And how to use it to modify ANY App and keep the modification even after Updating them, So let’s Start The Engine :cool: .


What’s Overlay :
Overlay is an app can be used to keep an app modification after updating the apk or install other mod to the app, what ever u do to the app, the modification will be exist only if you don’t change the App’s Package.

Example :
I Have put a color modify for Walkman ( Music ) app via Overlay method, So i updated the Walkman, bu the color modify still exist, and it won’t go away without deleting the Overlay.

How It Works ? :
After Updating Or Installing a Mod, The app loads the exiting data in Overlay Apk, without any ForceClose or Any bugs unless there is a base change or any base related change, you can modify XML - Smali - Pics, whatever exist in the Apk, u can modify it via Overlay method.

How To Modify ? :
Let’s take the SystemUI.apk for example .
  • Install The Overlay Example In Downloads below .

  • Decompile it via Apktool .

  • Go to " SystemUI-Fix.apk\res " , And delete the content .

  • Open AndroidManiFest.xml .

  • Change between the "" in package, to the name you want for the Overlay package.

  • Change between the "" in android:targetPackage , to match the App’s Package you want to modify it’s content .

  • Open Apktool.yml .

  • Change " minSdkVersion " number to the Min-Api the overlay gonna work on it ( google it for the API ) .

  • Change " targetSdkVersion " number to the Top-Api the overlay gonna be Compatible with .

  • Change " versionName " to the version name you want, the same for " versionCode " .

  • Copy your modification to the res folder ( ex: you editing the colors.xml, make values folder & copy the xml to the res/values folder ) .

  • Compile & Sign.

  • Press Thanks below to make the Overlay work :silly: .





Downloads : Overlay Example .



Aucun commentaire:

Enregistrer un commentaire