So I'm Working on an Xposed module that should fit multiple apps, The purpose of the module is to create Automate the creation of A group of modules for different apps, What I need to know is, Is there a way to know All the methods that are called by a certain app during it's runTime like If I could make an Xposed module that would save the names of all the called methods in A database that would be a great help or If you have anything in mind regarding the automation of the Xposed modules please point me into that direction. Finally the app's purpose is to show the user the power consumption of each method in an app and show which use more power than others that's why I need to automate the process so I can create multiple modules for different apps without having to go through all the codes of the other apps.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in REVERSE-ENGINEERING
- How to break code on a click event?
- How to increment versionCode using APKTool?
- Alloy traces and projection issues
- Understanding assembly of a simple C program
- Bomb lab phase 5
- I am not able to generate hibernate.reveng.xml
- Database reverse engineering tool with columnDefinition support
- Unable to see all the classes in an android application using AndBug tool
- Reverse engineer database in spring data rest
- Entity Framework 6.1 - debug t4 script execution with customized code first reverse engineering
- Differences between call, push+ret and push+jump in assembly
- Bomb lab assembly explanation
- Android bytecode: value of some variables not defined
- Reverse engineering proprietary magnetic card formats
- How many arguments are passed in a function call?
Related Questions in XPOSED
- Is it possible to hook Kotlin methods with Xposed framework?
- getting currently installed package name (via xposed)
- Unable to bind service - Unable to start service Intent
- Is there a way to disable/remove baseline profile from generating APK?
- Xposed hooking every TextView in my device
- how to change Samsung keyboard size limit
- Bypass SSL certificate pinning cause WebView error
- Xposed: hooking a method with specific parameter
- Hooking to override Settings.Global.* values
- I can't get any PackageName in HandleLoadPackage() except this program's
- How to add a method to a class / how to make the runtime think a class contains a method?
- Xposed hook to a system method
- Is there better ways to intercept & modify network response in android?
- Can Xposed be used to intercept calls to native code?
- How to hooking New string(int[],int,int) with Xposed or lsposed?
Related Questions in XPOSED-FRAMEWORK
- How to call hooked method using xposed framework api?
- Bypass SSL certificate pinning cause WebView error
- Xposed: hooking a method with specific parameter
- How to add a method to a class / how to make the runtime think a class contains a method?
- Xposed: hooking process of checking user's password entered on lockscreen?
- I need a help Regarding Proguard
- How to Adding Restore setting feature by FileinputStream
- My Xposed Module Can't take key and value From SharePreference but It Works When I put It in Xsharepreferences
- Android App Root detection method was bypassed by focusing specifically on the rootbeer library being used
- Reverse engineering Apps using Xposed
- How to redirect the load of .so lib in Android using Xposed?
- "custom intent URI" to send sms
- Gradle Sync Failed: Xposed Module Framework
- Root Access on Android Things
- Difference between XposedBridge.log() and Log.d();
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
What you want to do is theoretically possible:
You can for example load the dex files of an app at run-time and examine every class and method and hook them. However this will have several significant drawbacks:
When hooking many functions in an app the execution is significantly slowed-down. Even on high-end device the users will not accept this. This will also increase the Android error messages about apps that are non-responsive because your Xposed module slows them down.
From my perspective the even worse problem is that the slow-down means of course that the CPU has much more work to do so that in the end you will drastically decrease the battery life by your Xposed module. So in the end your battery usage monitor app which uses the data governed by the Xposed module would have to show that more than 50% of the battery is consumed by Xposed and your module (just a raw estimation, can be up to 80%) because of the large number of hooked methods.
Method hooking is a technology that only works good if you just a few methods that are executed not very frequently.
Alternatively you can use it on special test devices for evaluating something (so it is not used on a regular device used every day). In this environment increased battery usage and slowed down apps are not very problematic.