Decompile-recompile with Apktool question - Moto G 5G Questions & Answers

Having trouble with SystemUI and framework-res.apk...can't decompile. Are there additional frameworks that need to be installed?

Related

Add Java Jars to Android Framework

is it possible to add Java Jars to the Framework?
any1 tried it ?

building framework-res.apk from source

Hi,
Recently I have modified and replaced phone.apk successfully and now I want to change framework-res.apk because I want to change the lockscreen of my device. But how can I compile framework-res.apk from source?
Many thanks in advice

[Resolved] [Not solved!] [Q] how to Odex a firmware.jar deOdexed?

I just want odex firmware.jar that deodexed.
I'm familiar with smali and baksmali.

[Resolved] [Q] apktool smali debugging in latest versions of apktool or android multitool

Sorry for posting in Q&A, new user on the forums and can not reply in the apktool 1.5.2 thread. Many features have been added to the apktool as it has been developed and the tool is AWESOME, but one feature that appears to be broken is the debug switch -d that should output .java files with smali code wrapped in fake java classes. This is necessary for line by line debugging with NetBeans or Android Studio.
Is there any plans for re-implementing the debug of apktool for smalidebugging as outlined here: code.google.com/p/android-apktool/wiki/SmaliDebugging?
I can go back to apktool 1.4.x where the switch works but unfortunately support for res packages for the apk that I am decompiling does not exist in earlier versions of apktool.
Thanks for all the work put into apktool!!
Fixed in 2.0
doowah said:
Sorry for posting in Q&A, new user on the forums and can not reply in the apktool 1.5.2 thread. Many features have been added to the apktool as it has been developed and the tool is AWESOME, but one feature that appears to be broken is the debug switch -d that should output .java files with smali code wrapped in fake java classes. This is necessary for line by line debugging with NetBeans or Android Studio.
Is there any plans for re-implementing the debug of apktool for smalidebugging as outlined here: code.google.com/p/android-apktool/wiki/SmaliDebugging?
I can go back to apktool 1.4.x where the switch works but unfortunately support for res packages for the apk that I am decompiling does not exist in earlier versions of apktool.
Thanks for all the work put into apktool!!
Click to expand...
Click to collapse
Ok, finally found the answer to the question above, according to code.google.com/p/android-apktool/ this will be fixed in 2.0.
doowah said:
Ok, finally found the answer to the question above, according to code.google.com/p/android-apktool/ this will be fixed in 2.0.
Click to expand...
Click to collapse
It is already possible, you just have to build it yourself
https://code.google.com/p/android-apktool/source/browse/?name=wip-2.0
https://code.google.com/p/android-apktool/wiki/BuildApktool

[Q] framework-res.apk fom GB/KK for ApkTool

Good day!
We know that framework-res.apk (and others with -res) must be installed first in order for the ApkTool be able to decompile apk.
But is there any differences in installing framework-res.apk from Android 2.3.x in installing framework-res.apk from android 4.x?
I mean, is installing framework-res.apk from Android 4.x to apktool can decompile more apk than installing framework-res.apk from android 2.3.x?
If that so, then should I use (ask for) framework-res.apk from Android 4.x even though I am using 2.3.x device?
I am using Advanced ApkTool, by the way.
But I guess my query is applicable to all apktool versions.
Thank you very much!

Categories

Resources