Module development question? - Xposed General

I have a module development question. I don't know exactly where to post this question. If this is not correct place, would you please show me the correct place?
I rebuild an old xposed module and generate signed APK. I can install and use this APK on android 6 and 7 systems with standard Magisk and Xposed. And works perfectly.
But when I use this APK with android 9 and Magisk, riru and edxposed, phone can't be booted. it falls into edxposed bootloop.
When I it use it with Magisk, Zygisk and LSPosed, I can install APK, enable it on LSPosed, but does not function as expected.
When I try to install original old module from repository, it is not possible to install this APK to android 9.
This is the original old module:
LeEco Infrared Fix | Xposed Module Repository
repo.xposed.info
I had to upgrade gradle version and several other configurations to build successfully. It can be running up to android 7, not tried but probably will run up to Android 8. But it is not possible to run android 9 or later.
How can I debug the code, and understand why edxposed fall into bootloop. Are there any log file to examine?
Thanks

Related

Can't uninstall Xposed on oreo

So here's what happened:
I installed a new rom: Google wiz 44. A touchwiz based Android 8.0 rom. It has magisk pre-installed. In magisk, I get the systemless xposed SDK26 module. It installs fine but after reboot there is no Xposed installer APK. To fix this I also install the normal Xposed module from magisk repo. This gets me the Xposed installer APK and after a reboot it detects Xposed is installed. The problem now is I cannot uninstall Xposed framework even with the uninstaller zip. I have tried removing the sdk26 Xposed from magisk but it doesn't uninstall Xposed. Can't pass saftynet.
If you'd have read the documentation for the Xposed module, or the OP of the Systemless Xposed support thread, you'd have seen that you need to install the modified installer for that module manually.
Now, the question is what you mean by the "normal Xposed module from magisk repo". Do you mean the Unity version? Because that's also a systemless Xposed version, just by a different creator...
So now you have two systemless Xposed modules installed? That sounds like it could cause problems...
You can't use the Xposed uninstaller zip for a Magisk systemless Xposed module. It won't recognise it. Since it sounds like you've installed everything through Magisk, you can uninstall through Magisk. When you say you've tried and it doesn't work, what do you mean? Have you gone to the modules section of the Magisk Manager and pressed the trash bin icon next to the module you want to remove and then rebooted? More details, please...
And lastly, you can never pass SafetyNet with Xposed installed and active.
@benvrakas, maybe try the UNITY installer. It acts as an installer, uninstaller, and upgrader.
Flash it and pay attention to the output. It'll tell you what it's doing.
If it installs on first flash, flash it again for an uninstall. Hopefully it'll remove things successfully. Just another option.
http://forum.xda-developers.com/showthread.php?t=3697756
Xposed Framework [UNITY]
Maybe this more involved method may work.
http://forum.xda-developers.com/showthread.php?p=76064855
Moto G5S Plus XT1806, FireHound v4.5 ROM, MultiROM, Tapatalk 4.9.5

[GUIDE] HOW-TO EdXposed (YAHFA) on LOS17

After a bit of searching and experimentation I was able to get EdXposed (YAHFA variant) working on my Galaxy A70 with Lineage OS 17 (never had problems with Magisk itself, just EdXposed).
FILES​
lineage-17.0-20191203-UNOFFICIAL-a70q.zip
TWRP 3.3.1-0
Magisk Manager_7.5.2-b39f4075 0dc9f5c3.apk (Canary) EDIT: Corrected file version.
Riru_-_Core-v19.6(28).zip
Magisk-v20.4-0dc9f5c3(20303).zip
magisk-EdXposed-YAHFA-v0.4.6.0_beta.4471.-release.zip
EdXposed Manager 4.5.4.apk
The LOS I used is an older version (not sure if this has anything to do with anything, but thought I'd mention it). I chose YAHFA instead of SandHook because I've had better results in the past on other devices.
The Magisk files are a combination of 'Standard/Stable' builds, and Canary builds. For Canary files, start here:
https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
PROCEDURE​Not sure if reboots are required after each flash, but I did them. Assume LOS & TWRP 3.3.1-0 already installed.
Install Magisk Manager—>Riru Core within it
From TWRP flash Magisk
Within Magisk Manager flash magisk-EdXposed
Install EdXposed Manager
The 99% reason I needed EdXposed was for XprivacyLua, and it's working fine. Here's some other Xposed modules I'm using, although BootManager might not be actually doing anything (haven't tested yet), it's not causing any problems.
Xprivacy Lua
MinMinGuard
Scoop
BootManager
Statusbar download progress
Xposed Edge
[EDIT] EdXposed is showing this error when hitting 'Download':
Downloading https://dl-xda.xposed.info
/repo/full.xml.gz failed: Chain validation
failed
...but I can live that. Just install modules like any other .apk
[EDIT] For some reason, absolutely no idea why, 'Download' in EdXposed now working as expected.
that's great thanks for your contribution to help A70 users.
TiTiB said:
After a bit of searching and experimentation I was able to get EdXposed (YAHFA variant) working on my Galaxy A70 with Lineage OS 17 (never had problems with Magisk itself, just EdXposed).
FILES
lineage-17.0-20191203-UNOFFICIAL-a70q.zip
TWRP 3.3.1-0
Magisk Manager_7.5.2-b39f4075 0dc9f5c3.apk (Canary) EDIT: Corrected file version.
Riru_-_Core-v19.6(28).zip
Magisk-v20.4-0dc9f5c3(20303).zip
magisk-EdXposed-YAHFA-v0.4.6.0_beta.4471.-release.zip
EdXposed Manager 4.5.4.apk
The LOS I used is an older version (not sure if this has anything to do with anything, but thought I'd mention it). I chose YAHFA instead of SandHook because I've had better results in the past on other devices.
The Magisk files are a combination of 'Standard/Stable' builds, and Canary builds. For Canary files, start here:
https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
PROCEDURE
Not sure if reboots are required after each flash, but I did them. Assume LOS & TWRP 3.3.1-0 already installed.
Install Magisk Manager—>Riru Core within it
From TWRP flash Magisk
Within Magisk Manager flash magisk-EdXposed
Install EdXposed Manager
The 99% reason I needed EdXposed was for XprivacyLua, and it's working fine. Here's some other Xposed modules I'm using, although BootManager might not be actually doing anything (haven't tested yet), it's not causing any problems.
Xprivacy Lua
MinMinGuard
Scoop
BootManager
Statusbar download progress
Xposed Edge
[EDIT] EdXposed is showing this error when hitting 'Download':
Downloading https://dl-xda.xposed.info
/repo/full.xml.gz failed: Chain validation
failed
...but I can live that. Just install modules like any other .apk
[EDIT] For some reason, absolutely no idea why, 'Download' in EdXposed now working as expected.
Click to expand...
Click to collapse
Hello there.
I managed to install edxposed on Samsung A70 with stock android 9.
It's working fine, module's works.
But what I have been experiencing is that the phone has gotten very sluggish. The more modules I install the more it hiccups.
I currently have firefds kit [p], adblock reborn, edxposed manager and flat style indicator icons only.
Any advise?
I no longer own the A70...so, no. The only reason I saw your post is because I still had this thread bookmarked. Hopefully someone else has some useful info. gl
Can confirm.
Disabling the xposed modules fixed the lag.
Guess this is how its going to be

Madisk and Kali NetHunter

Hello, i have Oneplus5 with the latest updates and Android 10, also installed latest version of Magisk and Magisk Manager, so i decide to install nethunter, download modules directly from Magisk Manager - "KaliNethunter 8.2" and Wireless Firmware For Nethunter but nothing installed there was no KaliNethunter app after rebooting phone, why not can someone help?
I have also installed MagiskHide props and Busybox modules installed nothing else
no one can help?
The module install log and the Magisk log is a good piece of information to provide for anyone to be able to help.
https://www.didgeridoohan.com/magisk/MagiskHelp
here is magisk log but i could not find nethunter module log where is it?
The module install log needs to be saved from the Manager module flash screen, right after you've installed the module.
The Magisk log looks normal (apart from the many unnecessary apps added to the Hide list), so the install log is our only likely source of info for what happened. From what I remember, that module installs the apk as a normal user app during install, so you could probably just grab the apk from the zip and install it manually.
here the log yes have done this like you said intall apk files and now will test it and update you
Yeah... There are a whole bunch of errors regarding selinux, the apk installation and trying to edit system files with /system read-only. Contacting the module creator might be your best bet, but looking at the Github repo it seems to be abandoned.
thank you will do

LSPosed Xposed Framework [8.1-13.0]. Simple Magisk Module

Developers: LSPosed Developers
Homepage: GitHub
✱ Requirements:
• Magisk 21+
• Android 8.1-13
• Riru(NOT NEEDED) USE ZYGISK
Description: Riru module providing ART interception framework (natively for Android Pie) that provides consistent API -interfaces with OG Xposed, using YAHFA (or SandHook) interception environment, supports Android 8.1 ~ 11.
& Installation:
• Install Riru 23+
• Install Riru - LSPosed via Magisk Manager
• Install LSPosed Manager app (Note: No Saparate App and Zip, App Will be Installed Automatically)
• Reboot your device.
Download:
For stable release, please go to Github Release page For canary build use telegram.
Go to second post for latest version Download
Notes:I'm just sharing this from github, I'm not responsible if you bricked your device.
GPay and other banking apps working fine without any issue so this xposed alternative is worth trying and safer.
Note: If anyone facing bootloop issue, don't panic, hard reboot again and it will work.
Screenshot:
Download:
Flash zip file through magisk and then install LSPosed Manager app
Update 1 March 2021
V1.2.0
V1.3.7 Updated 15.May.2021
(Note: No Saparate App and Zip, App Will be Installed Automatically)
For Newer Version Changelogs and Downloads:
LsPosed Github
Changelog
Spoiler: See
Fix manager white screen
[*]Support split-apk modules (LSPosed will choose only one apk with xposed_init to load)
[*]Fix manager crash when launching an uninstalled module from notification
[*]Load modules with SharedMemory (it can speedup app cold launch) 2
[*]New manager icon
[*]Fix incorrect update notification in the first installation
[*]Fix some apps not showing in the scope list in some rare cases
[*]Show notification of module uninstallation
[*]Prevent modules from hooking inner methods (methods from XposedBridge's classloader)
Note:
Previously LSPosed only recognize modules from the primary user. However, this strategy is not good and leads to some problems: some modules require getting installed app lists for configuration but they cannot do so across users; some require reading themselves from the hooked apps but they cannot do so from non-primary users; some users want to configure modules differently on different users which is not feasible previously. Thus LSPosed now requires every module to be installed to the user on which the apps they want to hook are installed. Some devices restrict modules from installing onto some users. In such a case, you can install them from the manager (but it's recommended).
1: For some weird devices that prevent installing apps from the root user, please install the manager from /data/adb/lspd/manager.apk or manager.apk from the zip file manually.
2: Some modules get modules' apk path using reflection of its classloader, it's not recommended and unstable since the apk path from classloader no longer exists when using SharedMemory to load modules. Please use the documented way (from IXposedHookZygoteInit.StartupParam.modulePath) instead.
Reserved 2
Why it's safer than EdXposed?
QkiZMR said:
Why it's safer than EdXposed?
Click to expand...
Click to collapse
I didn't say it's safer than edxposed. I meant xposed alternatives like taichi etc.
All banking apps works, no system slowdown, i got more free ram etc.
In edxposed the hooked apps take time to open, no such issue with LSPosed.
That's why i thought it's worth trying and safer.
And +1 is safetynet passes all the time with LSPosed but, with edxposed safetynet works for some time after every reboot even with blacklisting google framework and services.
This slowdown is caused by YAHFA hook in EdXposed. On Sandhook is much better. Which hook method you use in LSposed?
And +1 is safetynet passes all the time with LSPosed but, with edxposed safetynet works for some time after every reboot even with blacklisting google framework and services
Click to expand...
Click to collapse
SafetyNet works till google patched it no matter which xposed clone you use. Before last patch SN was working fine with EdXposed. I don't needed blacklisting framework and services because EdXposed manager is doing automatically, with special option enabled. So don't say lies about EdXposed but tell us about technical differences between LSposed and EdXposed. What you change after forking EdXposed repo?
looks working good u,till now, just its annoying sometimes to have to choos which app has the module applies. a "select all" option would be welcome in a next release
How do I pass safety net? I have universal safety fix module is installed too.
Antho02 said:
looks working good u,till now, just its annoying sometimes to have to choos which app has the module applies. a "select all" option would be welcome in a next release
Click to expand...
Click to collapse
This is what i was confused about? ive never chosen before. I dont know which ones i need things like HiddenCoreModule to apply to? Everything?
It looks like this xposed clone works only in whitelist mode...
I'm quite amazed that this edxposed alternative is running much better than edxposed itself on my android 11, aosp rom, redmi k30 pro zoom. Really glad that I came across this!
Thanks for the great and awesome work devs!
Preparedtobereckless said:
This is what i was confused about? ive never chosen before. I dont know which ones i need things like HiddenCoreModule to apply to? Everything?
Click to expand...
Click to collapse
Apply to System Framework.
Hidden core module do nothing, try no device check module. BTW safetynet passes for me by default.
darashikoh said:
How do I pass safety net? I have universal safety fix module is installed too.
Click to expand...
Click to collapse
What are LSposed module we can use in A11
Im trying to ask the scope list of my modules. Firefds minminguard hiddencore and hide mock location. Anybody can help for the whitelist ??
what does mean: "select other app for each module" ?
for example for "GravitiyBox" module, which app should be enable and why?!
mrhamed said:
what does mean: "select other app for each module" ?
for example for "GravitiyBox" module, which app should be enable and why?!
Click to expand...
Click to collapse
Android System - android
Call - com.samsung.android.incallui
Camera - com.sec.android.app.camera
Contacts - com.samsung.android.contacts
Email - com.samsung.android.email.provider
Firefds Kit - sb.firefds.r.firefdskit
Messaging - com.samsung.android.messaging
MTP Application - com.samsung.android.MtpApplication
NFC - com.android.nfc
One UI Home - com.sec.android.app.launcher
Settings - com.android.settings
Smart Capture - com.samsung.android.app.smartcapture
Software Update - com.wssyncmldm
System UI - com.android.systemui
It also depends on what firmware you are using amd what features you've enabled in gravity box. Enable these according.
What I've enabled in miui are shown in image below.
a module based selection, what to hook seems a good approach of doing what you want and at the same time saving resources. a more advanced selectiin UI would be good. filter based on words and then select in the filtered list, select deselect all. in addition I have no idea what some modules are hooking like gravity box...this is just an example...I know I can find out however maybe the manager app can support to find out or tick what is recommended
I am trying LSposed on my OnePlus 7 Pro (GM-1917), OOS 10.3.8, Magisk 21.4, xXx 12.4.
I followed these instructions from the OP ...
• Install Riru 23+
• Install Riru - LSPosed via Magisk Manager
• Install LSPosed Manager app
• Reboot your device.
Click to expand...
Click to collapse
I got into what seems to be an infinite boot loop. I waited 3-5 minutes, but the boot loop continued.
Has anyone seen this behavior? If so, is there a workaround?
Thank you in advance.
UPDATE: I must have messed up one or more of the installation steps the first time around. I retried installing, and now LSPosed works for me with no boot loop.
OnePlus 7 Pro (GM-1917)
OOS 10.3.8
Magisk 21.4
Magisk Manager 8.0.7
xXx 12.4
Riru 23.4
LSPosed-v0.5.4.0-5135-release.zip (YAHFA)
LSPosedManager-v0.5.4.0-5175-release-signed.apk
Good work!
Onward!
HippoMan said:
I am trying LSposed on my OnePlus 7 Pro (GM-1917), OOS 10.3.8, Magisk 21.4, xXx 12.4.
I followed these instructions from the OP ...
I got into what seems to be an infinite boot loop. I waited 3-5 minutes, but the boot loop continued.
Has anyone seen this behavior? If so, is there a workaround?
Thank you in advance.
Click to expand...
Click to collapse
Working fine with OnePlus 7t latest beta. There might be some other issue. LSPosed doesn't seem to cause bootloop. Share logcat.

HushSms Do not Work on Edxposed or LSposed

I have tried Edxposed and LSposed with Riru on Android 10 (Samsung A30) and 8.1 (Samsung j7 Prime), HushSms can not send Class 0 SMS. Then I tried Xposed from Magisk modules it also did not work because it says Xposed Installed but not Active" (This happen on my device because It is Samsung J7 Prime (Probably because of A/B partitions))". So I manually Installed exposed through exposed installer app. It worked amazingly.
So It proves there is some issues in Edxposed and LSposed that is why they can not send Class 0 SMS even they show Green message like properly installed in their respective manager apps. But they do not actually provide full functionality as compared to former Systemless Xposed Installer.
I managed to get it working with LSposed on my OnePlus 8 Pro rooted with Magisk running Android 11 (I've also flashed systemrw_1.32 for other reasons but I'm not sure if that made any difference here).
First you need to install LSposed through magisk, then install the HushSMS apk. Then enable the module through LSposed and give it access to system framework and all system apps (I'm sure some aren't needed but I haven't gotten a chance to see which are and aren't yet). Then you need to install the old xposed installer apk and run the app. It will say xposed is not installed, but this is fine. It seems the HushSMS apk itself just checks to see if this app is installed. Finally, you can reboot and it should work fine.
Also after installing the old xposed installer, you should see "HushSMS (version #) using Xposed Framework" in green at the top of the app if it's working.
Partial Science said:
I managed to get it working with LSposed on my OnePlus 8 Pro rooted with Magisk running Android 11 (I've also flashed systemrw_1.32 for other reasons but I'm not sure if that made any difference here).
First you need to install LSposed through magisk, then install the HushSMS apk. Then enable the module through LSposed and give it access to system framework and all system apps (I'm sure some aren't needed but I haven't gotten a chance to see which are and aren't yet). Then you need to install the old xposed installer apk and run the app. It will say xposed is not installed, but this is fine. It seems the HushSMS apk itself just checks to see if this app is installed. Finally, you can reboot and it should work fine.
Also after installing the old xposed installer, you should see "HushSMS (version #) using Xposed Framework" in green at the top of the app if it's working.
Click to expand...
Click to collapse
You are a star sir!
I'm so glad I came across your post, I can confirm I have managed to get it working on my Samsung S20+ Android 12 with LSPosed Zgisk
I didn't need to install the systemrw, all I did was install the old xposed installer apk and gave access in LSPosed to system framework and a few other by typing "com.samsung" in search.
Thank you so much. ☺

Categories

Resources