Info - Call method - Xposed Framework Development

Hi, i am able to write java application for android.
I never created xposed module. I read tutorial.
I understood that xposed allow to two methods for every method called in a generic application.
One before and one after. But this allow only to intercept called normally.
I want to know if with xposed i can write a module that can call directly an onpressed method under systemui.
Other example: official tutorial say how to change clock color with hook for update clock method.
But, it is possible to call update clock method 2 or 3 times at minute from a xposed module?

ultrasound1991 said:
Hi, i am able to write java application for android.
I never created xposed module. I read tutorial.
I understood that xposed allow to two methods for every method called in a generic application.
One before and one after. But this allow only to intercept called normally.
I want to know if with xposed i can write a module that can call directly an onpressed method under systemui.
Other example: official tutorial say how to change clock color with hook for update clock method.
But, it is possible to call update clock method 2 or 3 times at minute from a xposed module?
Click to expand...
Click to collapse
Of course it is. Check Xposed API documentation, especially XposedHelpers class.

I want to develope following feature:
Change font_scale system with intent without reboot system.
I must evaluate how to develop it.
1) By creating Xposed Module
2) By modding Settings.apk

Related

xposeed/root question

I'm new to this and I've never done it before.. I already installer towelroot and now I wanted to customize some things so I downloaded and paid for g3 tweaksbox, but when I open it it says: the module is not enabled or the xposeed framework is missing. If xposeed is installed and the module is enabled please reboot the device after any changes.
I have no idea what that means I don't want to mess up my phone so I'm helping someone can help me ?
Have you installed Xposed Framework?
Read the 5 step tutorial towards the bottom of this page:
http://www.andromods.com/apps-mod/l...tus-bar-navigation-bar-lockscreen-tweaks.html
WendyB87 said:
I'm new to this and I've never done it before.. I already installer towelroot and now I wanted to customize some things so I downloaded and paid for g3 tweaksbox, but when I open it it says: the module is not enabled or the xposeed framework is missing. If xposeed is installed and the module is enabled please reboot the device after any changes.
I have no idea what that means I don't want to mess up my phone so I'm helping someone can help me ?
Click to expand...
Click to collapse
You need to install the Xposed Framework then run it. Google search for the Xposed Framework.
Oh thank you so much guys.... That's what I thought I had to do but I was to scared to unless I knew for sure

[Q] Level of customization enabled without an unlocked bootloader

Hi,
I recently started getting into Android and all that comes by it, so in case I'm dead-wrong about something, please excuse me and let me know.
I'd like to ask, since I plan on buying the LG G3, and as far as I'm concerned it, as of now, does not have an unlocked bootloader,
What's the level of customization that could be achieved with root only? And what does an unlocked bootloader allows you to do, besides flashing a custom ROM.
A reference to any guide of such would be awesome.
Thanks!
An unlocked bootloader essentially means we can't flash recovery and thus can't install custom ROM's and kernels as of now. Which in terms of "level of customization" means that we can't flash ROMs based on AOSP builds like CM or PA etc.
So for now we're stuck with the stock LG ROM. But having said that, we have root and then Xposed framework. So we can then pretty much customize everything on the stock ROM. Using G3 Tweaksbox Xposed module you can theme about most of the SystemUI elements. That include statusbar icons, color, navigation bar icons and colors, Phone app, Messaging app, Settings, etc. There are tons of Xposed Modules out there to do pretty much almost anything you'll get on a custom ROM by default.
With the Tasker app you can automate almost every action, with Greenify you can hibernate automatically most apps that you run in the background & if you give it root access it can pretty much greenify useless System apps as well.
In short, while you can't *completely* customize everything and completely get rid of some of the crap that OEMs put in, with Xposed Framework & modules and with some really nifty build.prop tricks you can get pretty close to being satisfied with the customizability of your phone.
If you're new to Android though and have never tried custom ROMs you'll be amazed at the sort of stuff that even just root access can do and once we get the bootloader unlock, you'll get even more blown away with flashing new ROMs and checking them out.
Google a bit for something like "Best Root apps for Android" and you'll find that most well known Android blogs have listed the majorly used apps and what you can do with it. You'll get a pretty good idea
if4ct0r said:
An unlocked bootloader essentially means we can't flash recovery and thus can't install custom ROM's and kernels as of now. Which in terms of "level of customization" means that we can't flash ROMs based on AOSP builds like CM or PA etc.
So for now we're stuck with the stock LG ROM. But having said that, we have root and then Xposed framework. So we can then pretty much customize everything on the stock ROM. Using G3 Tweaksbox Xposed module you can theme about most of the SystemUI elements. That include statusbar icons, color, navigation bar icons and colors, Phone app, Messaging app, Settings, etc. There are tons of Xposed Modules out there to do pretty much almost anything you'll get on a custom ROM by default.
With the Tasker app you can automate almost every action, with Greenify you can hibernate automatically most apps that you run in the background & if you give it root access it can pretty much greenify useless System apps as well.
In short, while you can't *completely* customize everything and completely get rid of some of the crap that OEMs put in, with Xposed Framework & modules and with some really nifty build.prop tricks you can get pretty close to being satisfied with the customizability of your phone.
If you're new to Android though and have never tried custom ROMs you'll be amazed at the sort of stuff that even just root access can do and once we get the bootloader unlock, you'll get even more blown away with flashing new ROMs and checking them out.
Google a bit for something like "Best Root apps for Android" and you'll find that most well known Android blogs have listed the majorly used apps and what you can do with it. You'll get a pretty good idea
Click to expand...
Click to collapse
Thanks for the info!
Another question, what is exactly the xposed framework?
Ruttix said:
Thanks for the info!
Another question, what is exactly the xposed framework?
Click to expand...
Click to collapse
Taken from the Xposed website, I believe this explains it pretty nicely
Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
Click to expand...
Click to collapse
To clarify a bit more, you first root your phone, install Xposed Installer, install the Xposed framework from the Xposed installer and then download & install xposed modules. 'Modules' are essentially just like apps that you install and then enable from the Xposed Installer app. These modules hook into the Xposed framework and can do stuff like root apps can - UI modifications, extending capabilities of default apps like Phone, Messaging, etc.
http://repo.xposed.info/module/de.robv.android.xposed.installer
You can find the Xposed XDA subforum here - http://forum.xda-developers.com/xposed
Ruttix said:
Thanks for the info!
Another question, what is exactly the xposed framework?
Click to expand...
Click to collapse
xposed is an app that exposes the core of your operating system (it exposes them to modules made for xposed) to allow modifications that you normally can't do without custom roms.
if4ct0r said:
Taken from the Xposed website, I believe this explains it pretty nicely
To clarify a bit more, you first root your phone, install Xposed Installer, install the Xposed framework from the Xposed installer and then download & install xposed modules. 'Modules' are essentially just like apps that you install and then enable from the Xposed Installer app. These modules hook into the Xposed framework and can do stuff like root apps can - UI modifications, extending capabilities of default apps like Phone, Messaging, etc.
http://repo.xposed.info/module/de.robv.android.xposed.installer
You can find the Xposed XDA subforum here - http://forum.xda-developers.com/xposed
Click to expand...
Click to collapse
Thanks so much for the extra information. It does, however, leads me to a follow up question.
There's a tool posted here on the forum, called TweakBox, I think. My question is, are the customizations available there a derivative from the xposed framework?
Ruttix said:
Thanks so much for the extra information. It does, however, leads me to a follow up question.
There's a tool posted here on the forum, called TweakBox, I think. My question is, are the customizations available there a derivative from the xposed framework?
Click to expand...
Click to collapse
Yes. The G3 Tweaksbox is an Xposed Module like I mentioned. You can install the app from the play store or get the apk from the thread and install it manually. You'll need to have Xposed Framework installed before that though.
if4ct0r said:
Yes. The G3 Tweaksbox is an Xposed Module like I mentioned. You can install the app from the play store or get the apk from the thread and install it manually. You'll need to have Xposed Framework installed before that though.
Click to expand...
Click to collapse
One thing I can't seem to figure out here, those modules, do they come with the framework, or does it supplement tools for developing them?
Ruttix said:
One thing I can't seem to figure out here, those modules, do they come with the framework, or does it supplement tools for developing them?
Click to expand...
Click to collapse
The modules can be obtained independently from XDA threads or from the playstore. These are essentially Android apps which use the Xposed modules APIs to achieve there purpose.
Think of the Xposed Framework as a layer that allows apps(referred as modules) to do stuff by exposing some methods that they can use. (I'm trying my best to explain here without being too technical)
What you need to do is to install the Xposed Installer app, open the app and install the xposed framework from it. That will deploy the framework on the OS. You can then install the modules either by finding them on XDA or again by opening the Xposed installer app and going into the downloads section (you can access a whole repository of modules from thr Xposed installer itself. That being said, it's not the only place to find these modules.)
Once you download the modules and install them like you would any APK, you'll need to enable the module(again from the Xposed Installer app) and reboot your phone. The module would now be active and can be used like any Android app.
The best way to learn is to experiment. ☺ Xposed is quite safe and will not brick your device unless you do something really stupid.
if4ct0r said:
The modules can be obtained independently from XDA threads or from the playstore. These are essentially Android apps which use the Xposed modules APIs to achieve there purpose.
Think of the Xposed Framework as a layer that allows apps(referred as modules) to do stuff by exposing some methods that they can use. (I'm trying my best to explain here without being too technical)
What you need to do is to install the Xposed Installer app, open the app and install the xposed framework from it. That will deploy the framework on the OS. You can then install the modules either by finding them on XDA or again by opening the Xposed installer app and going into the downloads section (you can access a whole repository of modules from thr Xposed installer itself. That being said, it's not the only place to find these modules.)
Once you download the modules and install them like you would any APK, you'll need to enable the module(again from the Xposed Installer app) and reboot your phone. The module would now be active and can be used like any Android app.
The best way to learn is to experiment. ☺ Xposed is quite safe and will not brick your device unless you do something really stupid.
Click to expand...
Click to collapse
I actually do have some experience with linux and some with programming.. So basically the framework allows you to use APIs you otherwise wouldn't be able to use?
Ruttix said:
I actually do have some experience with linux and some with programming.. So basically the framework allows you to use APIs you otherwise wouldn't be able to use?
Click to expand...
Click to collapse
You meaning the module developer. Yes. Check out the Xposed XDA subforum, there used to be a module developer guide in there somewhere.
Say, is this framework for all android devices?
Or are these modules specific for each device?
The Xposed framework is generic. AFAIK it works on all rooted android phones.

Xposed recommendations?

Hey everyone I finally rooted my G4 and have to dpi set to 540.(which is awesome) I was wondering if anybody knew of any cool xposed modules compatible with our phones.
I want to get a running list going for everyone. I will update as I find more. But feel free to recommend any you know and love!
Sent from my VS986 using Tapatalk
App Settings (a must)
GravityBox [LP]
TabletMetrics
Xstana (theme Status Bar and Home Keys)
YouTubeAdAway
Unfortunately NotifyClean does not work
Still working down the repository list, add more as confirmed working :good:
Also zoom for instagram works. After i restarted my phone it optimized my apps or so it said but only did that once for me. Works fine for me.
Sent from my VS986
JacRyan said:
App Settings (a must)
GravityBox [LP]
TabletMetrics
Xstana (theme Status Bar and Home Keys)
YouTubeAdAway
Unfortunately NotifyClean does not work
Still working down the repository list, add more as confirmed working :good:
Click to expand...
Click to collapse
I've never really messed around with Xposed. Sorry if my question is dumb but, where do you get the modules? Are they within the app? Is this where you get the app?
http://forum.xda-developers.com/g4/themes-apps/guide-installing-xposed-locked-t3181593
sefirosu0522 said:
I've never really messed around with Xposed. Sorry if my question is dumb but, where do you get the modules? Are they within the app? Is this where you get the app?
http://forum.xda-developers.com/g4/themes-apps/guide-installing-xposed-locked-t3181593
Click to expand...
Click to collapse
I used this post, as it was written for our phone specifically:
http://forum.xda-developers.com/verizon-g4/general/guide-install-xposed-verizon-g4-t3182267
Once the xposed installer app installed, look under Download for modules
JacRyan said:
I used this post, as it was written for our phone specifically:
http://forum.xda-developers.com/verizon-g4/general/guide-install-xposed-verizon-g4-t3182267
Once the xposed installer app installed, look under Download for modules
Click to expand...
Click to collapse
Thanks for the info! I appreciate it.
Glad it helped
Update Xposed from v71 to v72 for Verizon LG G4
Verizon LG G4 VS986 confirmed working with xposed-v72-sdk22-arm64.zip upgrade(Ram is better,battery drain is less)
1)Wipe cache on start
2)Start os
3)If Flashfire doesn't open,change date in the phone settings to earlier than 8.30.15
4)Follow instructions for v71 installation,but instead of v71.zip use uninstaller for xposed (xposed-uninstaller-20150831-arm64).Do not uninstall previous version of Xposed which was installed from xposed-v71-sdk22-arm64-by-romracer-20150816 with regular phone means.
5)do not check auto-mount,touch upper right sign and the main page of Flashfire opens
6)Flash (at the very bottom of the screen) uninstaller (all necessary files should be placed on the root of Internal Storage) and wait 10 minutes +,Loading lines appear then another 10 minutes,the phone reboots itself.
7)repeat procedure with Flashfire with zip file xposed-v72-sdk22-arm64
8)Long story now,approximately half an hour of dark screen(do not touch the phone and patiently wait)
9)phone reboots itself,wait and don't worry it'll work with updated Xposed Framework v72,all modules,that have been there before the upgrade,will be there working and activated,no need to reset Xposed Installer_3.0_alpha4.apk
P.S. Make sure the phone has enough charge and not connected to the computer and I assume that you alredy installed this: xposed-v71-sdk22-arm64-by-romracer-20150816.If not,then follow all the instructions from Romracer for v71 file,but
1)use v72 instead
2)Flashfire will not work unless you change the date in the phone settings(you'll correct this easily later)
3)And you will have to wait longer this time(remember,approximately half an hour of dark screen with the impression that the phone is dead,but no worry,just wait and do nothing,cause that's the way it's resetting).Good luck!
It is now at V73. Just flashed on top of the current version and works fine.
JacRyan said:
App Settings (a must)
GravityBox [LP]
TabletMetrics
Xstana (theme Status Bar and Home Keys)
YouTubeAdAway
Unfortunately NotifyClean does not work
Still working down the repository list, add more as confirmed working :good:
Click to expand...
Click to collapse
NotifyClean works perfectly for me.
Amplify works great on v74 as well.
Anyone have problems using flashfire to flash the 8/31 uninstaller to uninstall v74 XPosed?
VZW LG G4
I would like to use CoolTool to display clock and battery info (along with other stuff) but I want to disable the stock clock, battery and network stats on status bar so its not as cluttered. So far wanam doesnt work, xui hasn't worked and SB Icon Hider all don't work.
I'm also trying to figure out how to have cool tool put the status on the right instead of the left overlayed on notifications. Anyone have any idea's?

[MOD][XPOSED][2018/3/12 1.1]Sony Clock Fix

** Latest version of Sony Clock app is needed. Please upgrade to version 20.2.A.1.18 if you're using an old version. Download APK. **
This is a simple Xposed module to fix the problem in Sony Clock app that no notification for upcoming alarm is displayed which allows the alarm to be dismissed. In fact I found that upcoming alarm notification is implemented in Sony Clock but due to maybe problem bug, it is not shown from time to time.
Requirements
1. Your phone must be rooted
2. Xposed framework must be installed first http://forum.xda-developers.com/showthread.php?t=1574401
Instructions
Install the module
Run Xposed Installer and enable the module Sony Clock Fix
Reboot the phone
Source code
You can find source code for this module from GitHub here.
Download
Xposed Module Repository

modules

Hi there, I rooted my phone and need someone to tell me about good modules and is there a module or something to modify white balance of screen?
And what is the module name to.get one plus recent apps overview?
Thanks in advance
To modify the screen variables you need another kernel, so you can find a KCAL supported kernel in ROMs and kernels section of this forum and then flash it onto your phone. To change the recent apps overview to OnePlus's just follow this thread: https://www.xda-developers.com/oneplus-launcher-recent-apps-interface-android-pie/
I also suggest using Pix3lify module which makes the phone have rounded corners and pixel sounds etc. I also use EmojiOne module on Magisk too if you don't like stock emojis. Also YouTube Vanced module is a must have whether you have Magisk or not.

Categories

Resources