In my previous post, we had succesfully setup the APK MULTITOOL.
If Not, Download APK MULTITOOL From Here:
http://www.mediafire.com/download/s7y2bja7pjuxqru/APK-Multi-Tool-Stable-RELEASE.zip
Setup Up APK MULTITOOL From Here:
http://www.mmxarofficial.blogspot.in/2015/02/apk-multitool-setting-up.html
PART 1: How To Decompile Apk:
1. If You All Done Right, You Will See Like This,
2. Let Us Decompile Settings.apk (Get Your Settings.apk From Your Device /system/app)
3. Place Your Settings.apk inside "place-apk-here-for-modding"
4. Open "Script.bat", Press Enter, Then You Will See Like This.
5. As You Know, Settings.apk is a system app, so Press Option "9", Then Press ENTER
6. Wait For Decompilation process(It will be automatically done.)
7. Your Decompiled Apk Will Be In "projects" folder.
PART 2: How To Recompile Apk:
1. The Basic Editing, You Must Know How To Do This, I Wont Teach You This One, In This Tutorial, After Editing, Open "script.bat".
2. Press "11" and ENTER, To Compile System Apps.
3. After Buliding Apk, You Will See Like This,
4. Press "y" and ENTER, Now You Will See Like This.
6. Now The Most Important Part Comes, MINIMISE Your script.bat Screen, Find "keep"
Open this folder, You Will Get These,
Be Carefull:
9. Rename "systemSettings.apk" to "Settings.apk".
10. Paste This "Settings.apk" to Your /system/app.
NOTE:
If Not, Download APK MULTITOOL From Here:
http://www.mediafire.com/download/s7y2bja7pjuxqru/APK-Multi-Tool-Stable-RELEASE.zip
Setup Up APK MULTITOOL From Here:
http://www.mmxarofficial.blogspot.in/2015/02/apk-multitool-setting-up.html
PART 1: How To Decompile Apk:
1. If You All Done Right, You Will See Like This,
2. Let Us Decompile Settings.apk (Get Your Settings.apk From Your Device /system/app)
3. Place Your Settings.apk inside "place-apk-here-for-modding"
4. Open "Script.bat", Press Enter, Then You Will See Like This.
5. As You Know, Settings.apk is a system app, so Press Option "9", Then Press ENTER
6. Wait For Decompilation process(It will be automatically done.)
7. Your Decompiled Apk Will Be In "projects" folder.
PART 2: How To Recompile Apk:
1. The Basic Editing, You Must Know How To Do This, I Wont Teach You This One, In This Tutorial, After Editing, Open "script.bat".
2. Press "11" and ENTER, To Compile System Apps.
3. After Buliding Apk, You Will See Like This,
4. Press "y" and ENTER, Now You Will See Like This.
6. Now The Most Important Part Comes, MINIMISE Your script.bat Screen, Find "keep"
Open this folder, You Will Get These,
Be Carefull:
- Delete "resources.arsc", "res" file/folder, If You Edited any ".xml", "png".
- Delete "classes.dex" if you have edited any "smali file".
- Delete "AndroidManifest.xml", if you editied This File (If You Not Edited "AndroidManifest.xml", Dont Delete It.)
7. Open The MINIMISED "script.bat", Press ENTER.
8. You Will Find Your Modded Apk In "modified-system-apk-files-here" folder.
8. You Will Find Your Modded Apk In "modified-system-apk-files-here" folder.
10. Paste This "Settings.apk" to Your /system/app.
NOTE:
- If You Edit Your "AndroidManifest.xml", You Need to Sign Your Apk.
- For Signing, Place the Modded App in "place-apk-here-for-signing" folder.
- In "script.bat", The Option Number is "20".
- The "script.bat" Automatically Termainates After Signing.
- The Signed Apk is in "place-apk-here-for-signing" folder.
Also, stock ROM dont accept custom signed system apk(s), for using custom signed system apk(s), you need to disable "signature verification" from "services.jar".
Dont worry about signatures, if you didnt edited your "AndroidManifest.xml".