[SOLVED] Xposed on Stock Huawei ROMs - Xposed General

Hello,
I have a Huawei Ascend Mate 2 (MT2-L03) and this phone received a root method just today! Sadly, I'm having issues with Xposed. Some modules work, and some others don't. GravityBox, for example, says "GravityBox system framework not responding. Exiting." However, various other modules work.
Also, when I open up Xposed, it tells me that Xposed is not active and I should reboot. I've rebooted maybe 15 times!
Here is the error log.
Code:
-----------------
Sep 5, 2014 9:35:13 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'MT2-L03V100R001C00B126' with fingerprint 'Huawei/MT2L03/hwMT2L03:4.3/HuaweiMT2L03/C00B126:user/ota-rel-keys,release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.ResourcesEx
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
A fix has been found! @aragon257 has found a way around this!
aragon257 said:
To get the newest version of exposed working you need a build.prop editor.
look for ro.config.hwtheme=2 change the 2 to 0 and reboot.
Click to expand...
Click to collapse
Now GravityBox and all the other theming modules I have work now!

Check the FAQ (post #8).

Aw, I see. I guess I'll just have to wait for a custom ROM for this phone, if we ever get any.

Updated OP!
This method worked on my phone and it should work with other stock Huawei ROMs as well. I don't know about any other ROMs though.

Nic workaround! @rovo89, can you post it to FAQ.

can't install xposed framework
Please how to fix error cp: can't create '/system/bin/app_process':
File exists
Impossible to copy from app_process to/system/bin
I'm on Huawei G750-U10 and rooted with root genius
New on XDA

I use xposed 2.5.1 mod as you said. but the pie control in gravity seems not functioning.
any help?

Related

xposed cannot work without enabling disable resource hook. conflict with amigo os

Hello, I am using gionee pioneer 6(p6 for short form) I'm trying to install xposed framework on my phone, I can install it and activate it if I enable disable resource hook., But the problem is that I cannot use modules which try to change the ui such as gravity box, etc. It is having conflict with amigo OS. So please try to fix this bug quickly and give me some temporary solution? I have latest xposed framework installed. I also tried some old versions they work without enabling disable resource hook but they all ways crash all system apps such as dialers,settings ,launcher, etc.
Ujwal Bhagat said:
Hello, I am using gionee pioneer 6(p6 for short form) I'm trying to install xposed framework on my phone, I can install it and activate it if I enable disable resource hook., But the problem is that I cannot use modules which try to change the ui such as gravity box, etc. It is having conflict with amigo OS. So please try to fix this bug quickly and give me some temporary solution? I have latest xposed framework installed. I also tried some old versions they work without enabling disable resource hook but they all ways crash all system apps such as dialers,settings ,launcher, etc.
Click to expand...
Click to collapse
You will have to find someone to compile a custom version for that OS. Just like MIUI and other china based OS. The dev builds off of AOSP and that is his main point. He cant support every change that small random OEM do to the os.
Where I can find him?
Can I compile it myself?
This is the log.
Dec 4, 2015 5:22:17 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'P6' with fingerprint 'GiONEE/GiONEE/P6:4.4.2/KOT49H/1417259592:user/release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class amigo.theme.core.res.GioneeResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
Dec 4, 2015 11:25:12 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'P6' with fingerprint 'GiONEE/GiONEE/P6:4.4.2/KOT49H/1417259592:user/release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class amigo.theme.core.res.GioneeResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
Dec 5, 2015 12:20:56 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'P6' with fingerprint 'GiONEE/GiONEE/P6:4.4.2/KOT49H/1417259592:user/release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class amigo.theme.core.res.GioneeResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
Dec 5, 2015 12:21:26 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'P6' with fingerprint 'GiONEE/GiONEE/P6:4.4.2/KOT49H/1417259592:user/release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class amigo.theme.core.res.GioneeResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
SAME.....you can install some module ...next install/update ...framework will be install.....
amigo os & amigo recovery v3.0 come in 60% of phone
thanhviet112111 said:
SAME.....you can install some module ...next install/update ...framework will be install.....
Click to expand...
Click to collapse
Ujwal Bhagat said:
Where I can find him?
Can I compile it myself?
Click to expand...
Click to collapse
Ujwal Bhagat said:
Hello, I am using gionee pioneer 6(p6 for short form) I'm trying to install xposed framework on my phone, I can install it and activate it if I enable disable resource hook., But the problem is that I cannot use modules which try to change the ui such as gravity box, etc. It is having conflict with amigo OS. So please try to fix this bug quickly and give me some temporary solution? I have latest xposed framework installed. I also tried some old versions they work without enabling disable resource hook but they all ways crash all system apps such as dialers,settings ,launcher, etc.
Click to expand...
Click to collapse
Why you don't help amigo user
amigo os & amigo recovery v3.0 come in 60% of phone made in China and we used in ME
So
Please my bro
Help us to used xposed in phone that we have
Just installed a custom rom
Hey, i just install a custom rom and now xposed fimware works flawless.
Hi
There is a way to install Xposed on Gionee Mobile Phones. You just need to move in etc folder, by using root explorer. Then select theme. Then you will have to rename a file 'map.properties' to 'Amap.properties'. That's it. Note- after doing this, you can successfully use Xposed Framework but 'theme' will not work on that phone.
Dhananjayamishra said:
Hi
There is a way to install Xposed on Gionee Mobile Phones. You just need to move in etc folder, by using root explorer. Then select theme. Then you will have to rename a file 'map.properties' to 'Amap.properties'. That's it. Note- after doing this, you can successfully use Xposed Framework but 'theme' will not work on that phone.
Click to expand...
Click to collapse
Could you be more presice!?
Same problem here
Themes are important and xposed modules too like Miui 8 tweaks, Gravitybox etc. When i check that Disable Resource files then the xposed modules won't work. When i uncheck that that option then the themes will not work fully. Any mods to make the both work?
You may try downgrading Xposed version i did from v89 to v87 and its working, the theme issue solved.

Xposed Framework will not Install. Samsung Galaxy S3 SPH-L710 KITKAT 4.4.2

I installed the Xposed Installer to install the Xposed framework on my Samsung Galaxy S3 SPH-L710 on 4.4.2 but the app gives me this message: Xposed is not (yet) compatible with Android SDK version 19 or your processor architecture (armeabi-v7a)
WARNING: link: /data/data/de.robv.android.xposed.installer/cache/app_process has text relocations. This is wasting memory and is a security risk. Please fix.
CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android14AndroidRuntime5startEPKcS2_" referenced by "/data/data/de.robv.android.xposed.installer/cache/app_process"...
i.imgur [dot] com/Px4dNkz.png
What should I do to get Xposed framework installed?
No idea how to fix this at all, guys?
donuts741 said:
I installed the Xposed Installer to install the Xposed framework on my Samsung Galaxy S3 SPH-L710 on 4.4.2 but the app gives me this message: Xposed is not (yet) compatible with Android SDK version 19 or your processor architecture (armeabi-v7a)
WARNING: link: /data/data/de.robv.android.xposed.installer/cache/app_process has text relocations. This is wasting memory and is a security risk. Please fix.
CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android14AndroidRuntime5startEPKcS2_" referenced by "/data/data/de.robv.android.xposed.installer/cache/app_process"...
i.imgur [dot] com/Px4dNkz.png
What should I do to get Xposed framework installed?
Click to expand...
Click to collapse
Seems your device received the latest security patches for KitKat, thus breaking Xposed. Check this thread for a solution.
orville87 said:
Seems your device received the latest security patches for KitKat, thus breaking Xposed. Check this thread for a solution.
Click to expand...
Click to collapse
Thank you so much.

[PORTING HELP] MIUI Magisk/Systemless Xposed

I was trying to merge the project from topjohnwu
[UNOFFICIAL][Magisk][Oct 4] Xposed v86.6 - Universal Systemless Compatibility
with
[UNOFFICIAL][5.0/5.1/6][v86][10 Jul] Xposed for MIUI
But, simply replacing the files in the archive from the MIUI modded xposed to the "Universal" one will not work: i cannot understand why Magisk will not mount
/lib/libxposed_art
/lib64/libxposed_art
/xposed.prop
/framework/XposedBridge.jar
to the system dir (he hate the "xposed" string?)
and oviusly i'll get the error in the Xposed installer log that cannot find "/framework/XposedBridge.jar"
PS. actually the only systemless Xposed for MIUI seems is this, apparently done by simply hex-editing app_process32/64 from the SolarWarez one and including a boot image patcher
http://cloud.tapatalk.com/s/57f42f6...systemless-MIUI-edition-by-SolarWarez-Mod.zip
I hope someone can help you for this.
Hi,
Have you read this ? http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268/post69039892#post69039892

Xposed for Oreo and Pie - Edxpoed

EdXposed
A Riru module trying to provide a ART hooking framework (mainly for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA hooking framework.
https://github.com/ElderDrivers/EdXposed
Credits
YAHFA: the core java hooking framework
Riru: provides a way to inject codes into zygote process
XposedBridge: the OG xposed framework APIs
dexmaker and dalvikdx: dynamiclly generate YAHFA hooker classes
Whale: used for inline hooking
Known issues
resources hooking is not supported yet
may not be compatible with all ART devices
only a few Xposed modules has been tested for working
file access services are not implemented yet, now simply use magiskpolicy to enable needed SELinux policies
Build requirements
same as Riru-Core's and zip binaries can be downloaded from here
Build
run :Bridge:makeAndCopyRelease in Gradle window to build edxposed.dex
run :Core:zipRelease to build Magisk Riru module flashable zip file
find the flashable under Core/release/
flash the zip in recovery mode or in Magisk Manager
Install
make sure Magisk v17.0 or higher is installed.
download Riru-core v10 or higher and install it in Magisk Manager or recovery.
download EdXposed and install it in Magisk Manager or recovery.
Install companion application(s)
reboot.
have fun
Companion applications
for v0.2.9.5 and before: Xposed Installer
for v0.2.9.6 and v0.2.9.7: Xposed Installer and EdXp Manager(optional)
for v0.2.9.8 and later: EdXposed Installer
Get help
Forum (recommend): Android Forum
GitHub issues (recommend): Issues
For Users using QQ, QQ Group: 855219808
Telegream: Code_of_MeowCat
Discord: Code_of_MeowCat
Contribute
Apparently this framework is far from stable and all kinds of PRs are welcome.
The main EdXposed XDA thread is here:
https://forum.xda-developers.com/xposed/android-9-0-xposed-solutions-t3889513
Nevertheless, this start post is more informative than the original one.
Is it Xposed replacement for oero/pie?
Sent from my Motorola Moto G (5S) Plus using XDA Labs
QkiZMR said:
Is it Xposed replacement for oero/pie?
Click to expand...
Click to collapse
Is the only Pie compatible version, and also looks like to work on Oreo.
I have a Google Pixel and I can confirm it's working on Pie, a lot of modules works, so far so good.
I started testing it today, on Oreo and I would say that is working stable for now. Some time ago after installing Xposed on my phone, I noticed that Xposed causing that system and application are running little slower than without Xposed. But capabilities that Xposed is giving to me are more important, so I can live with it. Now after installing EdXposed I didn't noticed any impact on system performance.
Sent from Moto G (5S) Plus via Tapatalk
Worked at first and I was able to install fake gapps because I wanted microg, but it stopped working after that. I do have microg working now, but I can't add any more xposed modules as it shows inactive. I read somewhere that it works after a soft reboot, will try that next.

Xposed version89 or 90-beta3 not active, on Moto G4 Nougat 7.1 with custom ROM

Hello everyone!
I installed Xposed on Moto G4 Android 7.1.2 (Nougat) into which I had installed e foundation custom ROM (bravo to me!). I wanted to install XPrivacyLua.
I downloaded the Xposed Framework v90-beta3 via Magisk. This resulted in a message in yellow: "Xposed Framework version 89 is installed, but not active. Please check the logs for details." "Could not load available ZIP files. Pull down to try again".
Please help! I would greatly appreciate your help, as I am a complete beginner. Actually, believe it or not, I haven't even used a smartphone before (true). I thought I would start on the right foot by installing a custom ROM, and going in the deep end. So far so good. But I need help and guidance from experienced folks now!
How can I make the Xposed active?
In Magisk, it says Xposed Framework v90-beta3 by rovo89 is installed. So not sure if I have v89 or v90 installed.
I have also given root access to Xposed in Magisk.
XPrivacyLua has also been installed, but it's not active, since Xposed is still inactive.
LOGS say as follows:
10-20 13:26:12.712 I/Xposed ( 457): ..............................
10-20 13:26:12.712 I/Xposed ( 457): Starting Xposed version 89, compiled for SDK 25
10-20 13:26:12.712 I/Xposed ( 457): Device: Moto G4 (Motorola), Android version 7.1.2 (SDK25)
10-20 13:26:12.712 I/Xposed ( 457): ROM: e_athene-userdebug 7.1.2 NJH47F 20210531 dev-keys,dev-release
10-20 13:26:12.712 I/Xposed ( 457): Build fingerprint: motorola/athene/athene:7.0/NPJ25.93-14/16:user/release-keys
10-20 13:26:12.712 I/Xposed ( 457): Platform: armeabi-v7a, 32-bit binary, system server: yes
10-20 13:26:12.712 I/Xposed ( 457): SELinux enabled: yes, enforcing: yes
10-20 13:26:13.754 I/Xposed ( 457): ................................
10-20 13:26:13.754 I/Xposed ( 457): ERROR: Could not access Xposed jar '/system/framework/XposedBridge.jar'
read: unexpected EOF!
Please advise re above log: "ERROR: Could not access Xposed jar '/system/framework/XposedBridge.jar'read: unexpected EOF!" How can I let Xposed access the Xposed jar?
I have found a similar problem on: https://github.com/rovo89/XposedBridge/issues/200
People in above GitHub page talked about solving the problem by giving permission by using a root explorer. I am not sure what a root explorer is and how to use it, and whether using it would solve the situation?
I wonder if someone can please explain in simple language?
I am awaiting with great anticipation your voice of experience, everyone!
Hi everyone,
I wonder if you had a chance to muse over the above situation?
Please do help. I am counting on you all.
Thank you in advance!
Yours
CD
Hi everyone? No one around? Where are the experienced guys you hear of on XDA....?
Please help.
Try using original xposed for your device for android 7. I never had much luck using magisk version
Dear spawnlives,
Thank you so much for your reply. I am very grateful for your generous help.
I have a feeling I have already tried the original xposed without success, as I tried so many things.
But will definitely try it again!
All best wishes,
CD
Hello spawnlives and everyone,
Following your kind suggestion, spawnlives, I looked through my notes. I had tried the original Xposed for Android 7, which I had downloaded from XDA site.
The result was that Xposed didn't even show up in apps list, for some reason. It was nowhere to be seen - not even an icon.
So if you have further ideas, I would be most appreciative.
Unfortunately, the ROM I'm using had an update 2 days ago, which made Magisk to stop working. So Xposed has turned from yellow warning to red...
Sadly I don't think I can sort everything out until beginning of Dec, due to work.
I'll be back.
All best wishes,
CD
countessdracula said:
Hello spawnlives and everyone,
Following your kind suggestion, spawnlives, I looked through my notes. I had tried the original Xposed for Android 7, which I had downloaded from XDA site.
The result was that Xposed didn't even show up in apps list, for some reason. It was nowhere to be seen - not even an icon.
So if you have further ideas, I would be most appreciative.
Unfortunately, the ROM I'm using had an update 2 days ago, which made Magisk to stop working. So Xposed has turned from yellow warning to red...
Sadly I don't think I can sort everything out until beginning of Dec, due to work.
I'll be back.
All best wishes,
CD
Click to expand...
Click to collapse
Bear in mind, much like magisk. xposed has two components to it.
Framework and installer ( control ) app
The framework will not show up in the system an app, only the installer ( control ) app will.
If you are going to use rovo's version you will have to use his installer app as well.

Categories

Resources