[Q] Converting Xposed Module to standalone app? - Xposed General

Is this possible? Thanks in advance.

It's usually not possible (rough estimate: 99% of modules' features).

GermainZ said:
It's usually not possible (rough estimate: 99% of modules' features).
Click to expand...
Click to collapse
Why so? Is it the dependencies of Xposed? Why does Xposed has that regular root doesn't?

checkmateyou said:
Why so? Is it the dependencies of Xposed? Why does Xposed has that regular root doesn't?
Click to expand...
Click to collapse
The stuck threads explain that rather well, check those out. You might also want to check the development tutorial (first few paragraphs) for a more detailed explanation.

Its will be not logical... XPosed framework replace system file so without this file changing all xposed apps won't work on all phone..

Related

Compatibility Pac-Man ROM

Hi,
Xposed installer and modules are supported by Pac-Man ROM?? My device is OnePlus One
Framework: should be, make a backup and TIAS. Modules: depends on the module, check the particular module's thread.
GermainZ said:
Framework: should be, make a backup and TIAS. Modules: depends on the module, check the particular module's thread.
Click to expand...
Click to collapse
What is TIAS? However the module is Gravity Box that i would like to install... but i dont' t know because i wouldn' t brik my OnePlus One
bertold97 said:
What is TIAS?
Click to expand...
Click to collapse
Try It And See.
bertold97 said:
However the module is Gravity Box that i would like to install... but i dont' t know because i wouldn' t brik my OnePlus One
Click to expand...
Click to collapse
Read the GravityBox OP and search the thread, see for yourself if it's compatible with your device/ROM. Also check the Xposed FAQ for instructions on how to get out of a bootloop.
I'm running xposed along with a handful of tweaks and its fine running the latest PAC nightlys
I'm running a couple of modules, but if I use to many they cause a bootloop. And it doesn't seem to be a module specific problem. If I exceed 12 modules it bootloops and in some cases I even lost my app data (but only user app data. No settings or so).

[Question] Xposed module to fix security holes like stagefright possible ?

Maybe this is a stupid question, but I'm not a developer...
Would it be possible to write a Xposed module to fix security holes in Android system like the stagefright bug?
Since many phones will never get an (official) update that fixes security holes, this would probably be very interesting for many users.
Would that be possible? Would it make sense?
It would make sense and it is possible. I'm also waiting for that.
There should be a general module for these patches. Such a module makes more sense than any classic AV.
BTW: It seems to be already patched by Cyanogenmod:
https://plus.google.com/+CyanogenMod/posts/7iuX21Tz7n8
Xposed can't modify native/C++ code so nobody can fix it via Xposed.
I see. But it should be possible to overwrite the .so libs with root privileges. Or is there more that has to be replaced? Are these libs device dependent (Samsung, HTC, etc.) or just android version and processor (32/64 bit) dependent?
JensL76 said:
I see. But it should be possible to overwrite the .so libs with root privileges. Or is there more that has to be replaced? Are these libs device dependent (Samsung, HTC, etc.) or just android version and processor (32/64 bit) dependent?
Click to expand...
Click to collapse
Simple cut, paste, reboot if you have the patched files. Not sure what an Xposed module would be expected to do.
You need to have patched lib for your processor architecture
Patched stagefright libs (G920F)
pyler said:
You need to have patched lib for your processor architecture
Click to expand...
Click to collapse
Hmmm, I have extracted /system/lib64/libstagefright* libSEF4MP4.so /system/lib/libstagefright* libSEF4MP4.so from SGS6 (G920FXXU2B0G8) OTA update (build date Jul21, based on Android 5.1.1).
Does anyone know
(1) whether those contain the fixes
(2) whether those can be installed on 5.0.2 (G920FXXU1AOE3) without causing a bootloop
KGarloff said:
(build date Jul21, based on Android 5.1.1)
Click to expand...
Click to collapse
1. This topic doesn't belong here so the thread should be dropped.
2. The vulnerability was first publicly revealed on Jul. 27.
Wakamatsu said:
1. This topic doesn't belong here so the thread should be dropped.
Click to expand...
Click to collapse
Who are you to decide what belongs or not? Quite a few messaging apps isolated the exploit already. While we can't expect xposed modules to fix the problem. It is quite possible to make it safer via sandboxing etc.
Wakamatsu said:
2. The vulnerability was first publicly revealed on Jul. 27.
Click to expand...
Click to collapse
Which means Google, and most certainly Samsung have been notified weeks if not months prior to the public revelation. So your reaponse means absolutely nothing.
levizx said:
Who are you to decide what belongs or not? Quite a few messaging apps isolated the exploit already. While we can't expect xposed modules to fix the problem. It is quite possible to make it safer via sandboxing etc.
Click to expand...
Click to collapse
Which is why it doesn't belong in the Xposed subforum. Any solution posted here is missing the people that can be helped.
KGarloff said:
Hmmm, I have extracted /system/lib64/libstagefright* libSEF4MP4.so /system/lib/libstagefright* libSEF4MP4.so from SGS6 (G920FXXU2B0G8) OTA update (build date Jul21, based on Android 5.1.1).
Does anyone know
(1) whether those contain the fixes
(2) whether those can be installed on 5.0.2 (G920FXXU1AOE3) without causing a bootloop
Click to expand...
Click to collapse
Look for a patch labelled G920PVPU2BOGA.
pyler said:
Xposed can't modify native/C++ code so nobody can fix it via Xposed.
Click to expand...
Click to collapse
Thanks for the quick reply.
I thought Xposed could hook into system calls. Wouldn't it be possible to hook into the vulnerable functions and monitor for malicious content beeing sent? And if found, modify it?
(Or do I have a wrong understanding of the inner workings of Xposed? )
Wakamatsu said:
Which is why it doesn't belong in the Xposed subforum. Any solution posted here is missing the people that can be helped.
.
Click to expand...
Click to collapse
I failed to see why. Xposed modules CAN function to block system calls. While it cannot fix stagefright itself, it CAN stop the exploit from reaching stagefright in the first place therefore "fix the security holes".
So again. WHY ON EARTH would you say it doesn't belong here?
random_n00b said:
Thanks for the quick reply.
I thought Xposed could hook into system calls. Wouldn't it be possible to hook into the vulnerable functions and monitor for malicious content beeing sent? And if found, modify it?
(Or do I have a wrong understanding of the inner workings of Xposed? )
Click to expand...
Click to collapse
It is possible to block the video from MMS altogether. I'm not sure it can modify it.
levizx said:
So again. WHY ON EARTH would you say it doesn't belong here?
Click to expand...
Click to collapse
The guy I quoted is asking about extracting libs from an Samsung S6 factory update and transplanting it to his existing ROM. So I ask you, what does that have to do with Xposed? And how does it serve users to have to look so far afield for a possible solution specific to one device?
random_n00b said:
Thanks for the quick reply.
I thought Xposed could hook into system calls. Wouldn't it be possible to hook into the vulnerable functions and monitor for malicious content beeing sent? And if found, modify it?
(Or do I have a wrong understanding of the inner workings of Xposed? )
Click to expand...
Click to collapse
Eh, I would just try manually building the ROM to patch it.
I want to learn how to patch stagefright in android rom .pls can anayone give me a tutorial pls.
Ive search google but no luck

[UNOFFICIAL][2016-Nov-02]Xposed build that passes SafetyNet while enabled and active

UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Hi all. Long time lurker, first time developer. I created a modified version of the Xposed Framework that doesn't cause you to fail SafetyNet, even while it's enabled and active. Instructions:
Remove any existing Xposed versions
Get your phone in a state where it passes SafetyNet without Xposed (install a custom kernel to hide an unlocked bootloader, hide root with RootSwitch, etc.)
Install the Xposed Installer app if you don't already have it
Go to https://github.com/josephcsible/Xposed/releases/tag/v86a and download xposed-v86a-safetynet-josephcsible-sdk23-arm.zip
Flash xposed-v86a-safetynet-josephcsible-sdk23-arm.zip from recovery
Wipe cache and dalvik
Reboot
You should now have Xposed installed and enabled, with all of your modules working, without failing SafetyNet. Notes:
Do not turn off Xposed with RootSwitch with this build. It will probably break things because of differences in how app_process sits, and the entire point of this build is that you don't need to do this.
The only build I made was for ARM and Marshmallow, because that's all I have to test on
The official uninstaller won't work right with this version, so use my version of the uninstaller instead
This passes SafetyNet as of November 2nd. It probably won't for very long.
Technical details:
I made this build by compiling my own app_process, then editing it into the stock installer zip. I didn't recompile anything else or use the tools to make the zip.
app_process32 is now a regular file instead of a symlink to app_process32_xposed.
XposedBridge.jar is now called YqptfeBridge.jar (since SafetyNet checks the classpath for a file called XposedBridge.jar)
I obfuscated many of the strings in the app_process binary with a simple Caesar cipher. The source for this is in the GitHub with the download link.
Enjoy it while it lasts!
Great work, thanks! Though I think the method is kind of dirty.
Yeah, but I'm not overly concerned since I expect at best a few weeks before it gets patched and I have to redo it all anyway.
aviraxp said:
Great work, thanks! Though I think the method is kind of dirty.
Click to expand...
Click to collapse
You mean that it's not good to install it ?
MrMikeTyson said:
You mean that it's not good to install it ?
Click to expand...
Click to collapse
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
josephcsible said:
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
Click to expand...
Click to collapse
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
MrMikeTyson said:
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
Click to expand...
Click to collapse
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
josephcsible said:
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
Click to expand...
Click to collapse
Okay, i'll wait it and good luck for your work
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
josephcsible said:
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
Click to expand...
Click to collapse
So it means you cannot just rename the method/class, if I am right?
aviraxp said:
So it means you cannot just rename the method/class, if I am right?
Click to expand...
Click to collapse
I tried stubbing out the main method in XposedBridge to just call the real main method, and that made it pass. That leads me to conclude that it's a behavior thing and not a name thing.
So this version of xposed is passing?
Barfelonous said:
So this version of xposed is passing?
Click to expand...
Click to collapse
REREAD THE OP Please
josephcsible said:
UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Click to expand...
Click to collapse
: (
Any news on this?
meiser said:
Any news on this?
Click to expand...
Click to collapse
I haven't had time to work on it since my last update. I expect to have more time in June.
Hi is there an other way to use Xposed modules while passing safatynet check ? Its usefull on POGO !
Regards, Devilo !

App Settings Module for Magisk?

hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
satand said:
hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Downgrade to marshmallow or write xposed for nougat. The first is easy, the second will make many people happy over here.
Sent from my ONEPLUS A3003 using Tapatalk
satand said:
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Just to clarify on the above response: No.
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
cobram3 said:
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
Click to expand...
Click to collapse
It would be just ultra hard to code that, or just impossible.
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
satand said:
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
Click to expand...
Click to collapse
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
satand said:
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
Click to expand...
Click to collapse
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
Didgeridoohan said:
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Click to expand...
Click to collapse
thanks...but that is too high for me
Do we have a petition to develop this form? hahaha
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
bush911 said:
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
Click to expand...
Click to collapse
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Thank you so much for the advice.
My phone is 1st generation Pixel with latest android, mgaisk installed. I will try to figure it out.
daniel_m said:
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Click to expand...
Click to collapse
Anybody have a suggestion - I'm looking to change the dpi of chrome app (8.1) without Xposed
Maybe this could help
https://joyofandroid.com/change-screen-resolution/

Incorporate Xposed framework into Magisk?

As you may or may not know @rovo89 might abandon Xposed (unofficial); Since Xposed was ported systemless, is there a chance Magisk and it's devs would continue developing it and incorporating into Magisk?
The reality of the situation is that Magisk modules are more complicated to write for devs than Xposed modules. Magisk would benefit from having more modules and available and users would benefits from having Xposed for Nougat. It's a win win.
Having said that we all know Magisk and Xposed have nothing to do with each other and the fuctionaly.
Magisk modules are very easy to make...
......
riahc3 said:
The reality of the situation is that Magisk modules are more complicated to write for devs than Xposed modules. Magisk would benefit from having more modules and available and users would benefits from having Xposed for Nougat. It's a win win.
Click to expand...
Click to collapse
Lol, Xposed modules are apps, which means it's written in java, which is very different than shell, which is used in Magisk modules, which is easy af.
So, the answer is no ?
cantenna said:
......
Click to expand...
Click to collapse
+1
I don't know what to say...
Deic said:
+1
I don't know what to say...
Click to expand...
Click to collapse
lol, my orgional commemt was negative and serve no contrustive purpose... so I redacted it
but im tired of the xposed drama, make it stop, make it stop.... [emoji23]
Sent from my SM-G955F using Tapatalk
I get what he is saying... I mean, it would be great to have Xposed in android 7
PedroCaseiro said:
I get what he is saying... I mean, it would be great to have Xposed in android 7
Click to expand...
Click to collapse
rovo is working on it, but slowly. Maybe it'll be available sooner than expected ?
veez21 said:
rovo is working on it, but slowly. Maybe it'll be available sooner than expected ?
Click to expand...
Click to collapse
Now it is here, since October 2017 :victory:
https://www.xda-developers.com/official-xposed-framework-android-nougat/

Categories

Resources