yashsingh1/xdaforums huggingface dataset:
[Android General] hackslash:
I also tried it at first without the build.prop tweak enabled i.e. I kept Huawei Theme Engine enabled. My device did stuck at boot screen but I was able to fix it by flashing the uninstaller zip from TWRP and it rebooted back fine.

Try flashing the uninstaller zip from TWRP again and reboot. If it's still stuck at boot screen, post a logcat ASAP:)
[Android General] 00471:
I dont know why is SD card slower, i tried it and it performs better (just a bit, but could be caused by something else) without xposed, about performance, i have performance mode alway enabled and it feels like its a slower, however, how did you setup governor to Nightmare? what about battery? Sadly there is not a big advantage in xposed on emui as there is only few modules compatible...
[Android General] hamzio7:
I tested the framework both on lollipop and marshmallow and it worked just fine...

H60-l04

---------- Post added at 03:41 PM ---------- Previous post was at 03:39 PM ----------
[Android General] hackslash:
Right about number of modules compatible. I use Amplify, Unicon, Greenify, App Ops, Flat Style Keyboard, Flat Style Indicators (Lollipop only), Flat Style Status Bar, KT2 and some others.

To change governor to other than the stock, you have to modify the kernel sources to support that governor and then compile it.
[Android General] hackslash:
Thanks for confirming it works (I have also definitely checked it but thanks for posting a screenshot).

And BTW, how did you changed the status bar icons on Marshmallow?
[Android General] hamzio7:
I use Xstana for changing the statusbar icons
[Android General] 00471:
Is Amplify and Greenify any useful in Emui as it has Dooze of marshmallow and Huaweis background app disabler?
[Android General] hackslash:
Amplify handles wakelocks pretty well (I disable every Google Play Services wakelock which eat battery like ****).

Greenify is useful for hibernating apps (that's basically what Huawei's background disabler aims to achieve but Greenify has quite useful bonuses).

I don't really know if even Doze is enabled in Huawei's Marshmallow (considering Huawei killed Marshmallow's Adaptable Storage option)
[Android General] hamzio7:
Guys can I use unicon on the huawei launcher?

I don't like to use a third-party launcher
[Android General] 00471:
Well, maybe i will give xposed a try again and i will see if there is really any performance difference, some xposed modules are pretty usefull, for example i like double tap on statusbar to lock.

Do you know any good app for changing music via volume buttons? I tried one module, but everytime i hold button to switch next track, it also made volume up every time, so when i switch between lets say 10 tracks, it goes from low volume to max which is anyoing, if you would know about any alternative that is working perfectly, that would be great
[Android General] hackslash:
Yes and I am currently using it! (You have to set Selinux to permissive to use it though)
[Android General] hamzio7:
How can I set selinux to permissive?
[Android General] hackslash:
You can use SELinux Mode Changer app. Head over to this XDA thread http://xdaforums.com/showthread.php?t=2524485 and download the apk and install it. Google may warn you that this app can harm your device and can render it unusable (bla bla). Just ignore the warning and install the app. Then open the app and hit the permissive button. That's it!

There is also a second workaround (which I am using) but it requires kernel modifications and then compiling it from source.
[Android General] hamzio7:
Thank you it worked for me...[emoji4]
[Android General] boredaghast:
Thanks/sorry, but it's too late, I re-flashed the firmware as nothing seemed to be working. Something weird that I did notice is that my phone's a P8 Lite L02, but when I connected to my computer to run ADB it showed up as an L21.
[Android General] charlesrobin:
what all changes did you made on build props.. I tried xstana but this was the result. Couldn't change battery icon or any statusbar icons, flatstyle status bar helped me to change it. xstana changed navigation bar though
[Android General] hamzio7:
It changes all the icons for me except the battery...I am on marshmallow...I used Flat Style Statsbar icons On lollipop and it worked fine...but not on marshmallow it doesn't support the wifi and data signal icons...
[Android General] charlesrobin:
Sounds interesting, can you tell me what does this Selinux mode change app do? sorry not familiar with it.. :)

---------- Post added at 07:24 PM ---------- Previous post was at 07:22 PM ----------

weird how it didn't worked on my device. I'm on lollipop. gravitybox works but can't change any statusbar icons . only pie side bar works.. weird rom
[Android General] hamzio7:
Maybe the resources are different... Your phone has a dual data signal...but my phone has only one...
[Android General] tomlemange:
Anyone able to manipulate toasts on lollipop? I hate having them popup when I'm using my keyboard. Gravitybox and xtoast install fine but don't seem to affect toasts.
[Android General] hamzio7:
U can use Xuimod to edit them...and dimension editor can set the height and other things too...
[Android General] tomlemange:
Can I give you more than one thanks lol? Dimension editor is exactly what I needed. Thank you so much!
[Android General] hackslash:
[MENTION=6105116]charlesrobin[/MENTION]

SELinux stands for Security Enhanced Linux. It is a set of kernel modifications and user space tools that provides a mechanism of supporting controlled security polices. Hence, SELinux enforces MAC (Mandatory Access Control) policies that confines all applications and services to run under specific rules or more precisely under a limited privilege. The 'limited privilege' eliminates the ability of harmful or some programs to be not able to access deep down system settings and hence cause damage to your device.

Android devices with OS 4.4 and later comes with SELinux in Enforcing Mode. In this mode all applications which try to access you system restricted settings or go beyond the rules and regulations defined in your kernel are denied access and hence such applications simply don't work.

The above app I mentioned about sets SELinux to Permissive Mode. A system with SELinux set to this mode isn't protected or secured and does means that any malware or harmful application could cause software damage or loss of data. The true purpose of 'Permissive Mode' lies in the fact that the SELinux logs what it would have denied access to and to which software when it would have been set in Enforcing Mode. This allows system administrators to improve security or conduct controlled attacks on the system or for getting an idea what would happen if the system is set to 'Enforcing Mode'

Apps like Unicon, Viper4Android and others require SELinux to be set in Permissive Mode. In the early Lollipop days, actually most of the applications required SELinux to be in 'Permissive Mode' but the developers took security concerns into account and rebuilt their apps to work without SELinux in Permissive state.

So should I keep SELinux in Enforcing or Permissive? Keeping SELinux in Permissive doesn't really do much harm to your device and I have no reason for why it should be in 'Enforcing Mode'. In the end it really depends on what types of apps you use and etc. The SELinux Mode Changer application I mentioned about allows you to change SELinux from Enforcing to Permissive and vice versa.

As I said previously, not all features of Gravity Box works. I have also tried it on both Lollipop and Marshmallow and have been unable to apply and Status bar modifications (double tap to wake, swipe to change brightness and many features don't simply work). Flat Style Indicators work great on Lollipop but not on Marshmallow (WiFi and Data Signals don't work). I only use XStana for changing navigation bar which didn't worked for me in Lollipop.
[Android General] hamzio7:
Your welcome bro...
[Android General] charlesrobin:
Thank you so much for the detailed information .

1. i installed selinux mode changer app but it went into boot loop on reboot .i had to disable xposed in twrp to turn on device again. i uninstalled selinux too. any ideas ?

2. I cannot change system fonts .i tried all xposed font changer modules but no use .even huawei theme engines does changed setting ui but unable to change fonts .

3. In xposed module 'app setting' i can change the API for certain apps .but because emui themes doesn't work well after xposed entire system ui and apps are quite big in resolution .is there any other module help me do that ? .im attaching a screenshot with this ( https://postimg.org/image/jhaxz3yy1/ )

4. I Managed to change entire status bar icons with flat style modules . but gravity box never worked like yours . here - ( https://postimg.org/image/m2pi9ih1j/ )

5. By default Honor 4x doesnt have any navigation keys . But i got through a build prop edit .since then i cant access any shortcuts on lock screen like before . is there any other ways to get navigation keys or any way to get lock screen shortcuts ?
[Android General] hackslash:
SELinux wasn't the cause for the bootloop because when you uninstalled Xposed your device rebooted fine. This is due to a faulty module. There are some modules which will cause your device to bootloop if they aren't supported. You must have installed a new module before rebooting. That module cause the problem.

iFont (Expert of Fonts) is an app that supports EMUI when it comes to changing fonts. I have used it and it works flawlessly!

It's not recommended to change DPI of system apps especially the SystemUI. You don't want it to crash and render your device unusable. I don't know if it would help but there is a font size option in Settings > Display. Change it to 'Small' and it might fix the issue.

Gravity Box didn't worked for me. It only works with devices that are close to AOSP. As I mentioned, 'Flat Style Indicators' works in Lollipop (including XStana) but not in Marshmallow.

Well that would require modding the Keyguard app to show shortcuts when Navigation bars are enabled which unfortunately I don't know how to. And there is no other way to enable Navigation Bars (only the build.prop edit). You can try using PIE controls if it suites you.
[Android General] hackslash:
I think this is going to be the last update :)

OK! So all Xposed releases later than 82 will have the patch for Huawei devices hence they will be compatible with your device. You can now download Xposed directly from the official Xposed thread.

However, I am also thinking of closing this thread. We all finally (together) installed Xposed successfully on our Huawei devices. Again thanks to all those who reported bugs to [MENTION=4419114]rovo89[/MENTION] on the Xposed Github repo.

If you think this thread should remain open so as to help people in installing Xposed and fixing any problems they're facing, I'll be happy to assist them and keep this thread open.

However there is still one slight problem. The patch for EMUI 3.1 and EMUI 4.0 were different. No one knows if a new EMUI version is released, Huawei might make new changes to their Package Manager and Xposed again might break. But does it matter? We all have been travelling on the same bumpy road since the day we purchased our Huawei devices; no development and no support, we are maybe used to it :P
[Android General] riaanck:
Please keep this thread open
[Android General] hackslash:
I'll keep it open. I understand there might be people who may require help during installation. Well that's why I joined XDA. To spread what I know and help the community in the best possible manner.
[Android General] charlesrobin:
Thanks a lot . I have two more concerns .i know this got nothing to do with xposed installation but i got nowhere to ask and you seemed so helpful

can you tell me wch all android system wakelocks,alarm did you limited (safe to limit) .i read you limited all google play services . that saved lot of juice on my device too .
[Android General] hackslash:
I don't limit system wakelocks. I only blocked Google Play Services wakelocks. The other wakelocks which I blocked depend on the applications. Such as if there is an application "A" which constantly sends me endless notifications I either hibernate that app or block it's wakelock.
[Android General] Icchan:
on mate 8 stock rom eu (nxt-l29c432b170) works.

please notice that it takes a little while to boot after flashing.

thank you for your thread and for the provided information
[Android General] Ryrzy:
Hi!

How log should start system after install v82 64bin on odex marshmelow ROM ? i have waited 30 min on my Honor7. Bootloop i think :) on deodex ROM it take max 15-20min.
[Android General] Rashad83:
Tyvm [MENTION=6435663]mfbcool[/MENTION] for your work, you brought a smile to many Huawei device owners. I wish you all the best in whatever you do.

By the way just a suggestion, can you bring back the old tutorial the deodexed method, i think regarding your concern with the next version of emui, deodexing is the best method and some might forget how to do it or don't know even about it.

---------- Post added at 10:04 PM ---------- Previous post was at 10:02 PM ----------

Make sure you do the build.prop changes before Flashing the zip. Max it took me on odexed rom 15+ mins.
[Android General] hackslash:
Hmm... I personally do not recommend deodexing as it breaks stuff and makes upgrading to newer versions extremely difficult. I'll rewrite that guide when I get the time. Wasn't it so long :)

Thanks for appreciating my work. We all are a family here and it's our duty to help other members whenever we can to promote all the goodness we can.
[Android General] charlesrobin:
Thank you.

I really want to make huawei theme engine work. I don't mind disabling resources hooks to make it work. is it possible to get back theme engine if I remove build prop edits? chances of bootloops? [emoji3]

Sent from Honor 4x using XDA Forums
[Android General] hackslash:
Before editing build.prop and removing those lines, check 'Disable Resource Hooks" in Xposed settings. Then revert changes in build.prop and reboot.
[Android General] Hirs_E_Fruit:
I got a bootloop after installing the arm64 framework on my P8Max.

Disable Resource Hooks is checked.

build.prop has the added lines too.
[Android General] hackslash:
Please post a logcat ASAP.
[Android General] Hirs_E_Fruit:
How do I do this?
[Android General] hackslash:
http://bfy.tw/5Jyj :D
[Android General] bark1234:
On Mediapad X2 EMUI 4.0, installing xposed v82 results in mobile network not working at all. Anyone experiences the same ?

Note de-odexed method used to work fine for this same rom.
[Android General] hackslash:
Xposed is interfering with Mobile Network? That's pretty weird. Please post a logcat for investigation.
[Android General] bark1234:
here : https://www.dropbox.com/s/h68219f8xde9y8o/logcat?dl=0
[Android General] bark1234:
[MENTION=6435663]mfbcool[/MENTION] Sorry bro i know you might be busy elsewhere, did you get a chance to look at logcat ?
[Android General] hackslash:
Please can you post logcat for your device boot time only. Your logcat contains 134491 lines and would take a hell lot of time to analyze. Furthermore, also post another logcat when Xposed isn't installed (for boot time only).

In both cases make sure no Xposed Module is installed.
[Android General] olibe:
GT-I9305 works great
[Android General] hackslash:
Isn't that a Samsung Galaxy S III. This thread is for Huawei EMUI 3.1/4.0 devices.
[Android General] bark1234:
I faced the problem multiple times, installing fresh rom, installing xposed. But now once i installed fresh rom and installed all apps, waited for some hours before attempting xposed, surprisingly its working fine. If i face the problem, i will get logs again.

Btw previous log was for boot only, i let it run for sometime after booting too.
[Android General] b00b:
Just a quick Q as i am a little bit confused with your how to instructions -

are you saying that for those who had de-odexed their firmware and so already have xposed working on their phones, should restore their backup copy of:

/system/app

/system/framework

/system/priv-app

to their phones so as to restore the phone back to how it was before de-odexing it before using the new xposed-v82?
[Android General] hackslash:
Yes, exactly. You can however continue to use deodexed firmware but for stability and ease I recommend everyone to restore their odexed backup.
[Android General] b00b:
Ok, get it now, thanks for your time and for all your hard work :good:
[Android General] labello29:
so it works Xposed or not, and what is the guide for the installation thanks
[Android General] hackslash:
Please see the first post of this thread for downloads and instructions.
[Android General] clouds5:
Great to see that this exists! So big thx already for your work dude :)

I'm getting a Huawei P9 very soon and I'm interested to see if this xposed version works on the P9. As far as I know it has EMUI 4.1 / Android 6.0. I will probably be available for testing too once there is a way to root it.

Anyone with any info/ideas on root/xposed/recovery/roms (the usual xda stuff) on the P9 please contact me :)

cheers
[Android General] hackslash:
It would be only possible if TWRP is made for P9. As soon as P9's stock firmware is released, I'll try to build TWRP.

And about Xposed, it might work on EMUI 4.1 or it might not. Well, we'll see.
[Android General] 1990marcow1990:
I have installed it on my Honor 7 but then the Google Play Store did not work. Have anyone this problem also?
[Android General] zaabolla:
gravitybox doesn't work with me ( P7 built B852 )
[Android General] hackslash:
Gravity Box only works with those ROMs that are close to AOSP. We both know EMUI resides in a totally different dimension.
[Android General] fabulous69:
so if i dont edit lines, ill be able to make it work, if i only use modules that dont impact interface? (greenify and amplify)?
[Android General] hackslash:
Yes but make sure to disable Xposed Resource Hooks.
[Android General] fabulous69:
[MENTION=6435663]mfbcool[/MENTION] weird stuff this morning

i rooted 321 version, clean install, didnt installed xposed.

installed kernel adiutor

deleted some bloatware from google and so, went to bed.

phone ended turned off and no way to turn it on again excepted recovery to flash back to mm again. anyone experienced that?

i dont know if this phone tolerates root lol?
[Android General] tomlemange:
Are you rooted? Is play store allowed to access your location? I had problems on my Mate 2 with play store if I wasn't rooted without location access.
[Android General] jessie10171991:
just asking....

I already try the guide how to install xposed on my EMUI 4.0 H60-L04 B820. i finish download the 3 files base on my phone needs. xposed-v82-sdk23-arm.zip,XposedInstaller_3.0_alpha4.apk and the uninstaller. edit the build.prop with two lines, and also the local.prop of value=1 change to 2. then instal apk file. then reboot to twrp v4. install xposedv82sdk23.zip then as what said on the guide clear cache/dalvik. then reboot... as what i think need to wait 10-15 mins... and it show honor logo white. just think its ok maybe optimizing the apps. but at the end what i observe... im in a trouble.. BOOTLOOP? what is the prob? i want to instal xposed. tahnk you. and help me this prob.
[Android General] hackslash:
Change the value to 0 in local.prop as mentioned in the first post.
[Android General] DMScrw:
Thank you!

Finally a usable solution without too much hassle.

Working fine on my P8 lite ALE-L21 dual sim, B550 official MM build
[Android General] hackslash:
I'm happy it's working. Now go to official Rovo's Xposed thread and hit thanks :good:
[Android General] jessie10171991:
as what you said sir, i edit in just a few minute... in the build.prop i add the two lines ro.config.hwtheme=0 and ro.config.hw_theme=0 below in the script and in the local.prop is already have ro.config.hwtheme=1 but you said change to 0. after reboot i see some icon might changes i think it works editing build prop... now i restart the device again and install xposed, wipe cache and dalvik.. then i got almost 20 mins. still on honor logo? i use twrp v4 emui 4.0 B820?
[Android General] Tecalote:
Hello, I am very happy about this good news - but I have one question.. On the download site (I need sdk 23 arm64 for Huawei P8) there is also arm64 asc. What means asc?
[Android General] hackslash:
That ASC file contains basically a digitally signed message for verifying the source and content of the respective .zip file. Its not needed and you shouldn't download it.
[Android General] bdogan1912:
It may will weird question but does it work on Huawei GR5 (honor 5x - snapdragon 616) as well as Kirin ones? =)
[Android General] AL_IRAQI:
It works fine but make sure to disable themes
[Android General] ahmed ali90:
It works, but notices Messenger does not work does not tell me when deleted Xposed messenger returned to work normally .... I hope a solution
[Android General] enricoagain:
I got a huge big problem. the screen of the phone is black and the phone itself seems to be died.

I did all the process and it went fine. the only thing that i had was the crash of the camera, so i decided to go back in recovery TWRP and use the "unistaaller.zip". It went fine. it rebooted and once in my phone again i changed the build.prop. Basically i put the original one back. after that i rebooted the phone and now i got a black screen and i try to turn it on after 10 second that i press the "on" button a logo of huawei appears, but after a few seconds it disappears. I tried also to turn the phone on with in recovery mode "on button+vol up" and it goes in recovery mode TWRP

What can i do now????
[Android General] dfernandopm:
No bootloader mode to instal stock recovery???
[Android General] xstormli:
I feel very excited, and I will work on my P8 lite arm64.

Thanks chief!
[Android General] Tecalote:
Hello, I have one question - I have installed the framework v82, if I like to change it to a new version (v84) can I just flash it over the older one?

Gesendet von meinem GRA-L09 mit Hilfe von Xposed Modules
[Android General] hackslash:
Yes, just flash over the older one.
[Android General] wallah:
Hello,

First of all thank you for this post and helping peoples.

I installed xposed but have some weird stuff, the module can't be activated, like in the screen shots, any idea?

Thank you
[Android General] hackslash:
It is due to the Material Xposed Installer app which you're using to manage modules. Update to newer version of the Xposed app or use the original Xposed Installer app.
[Android General] wallah:
Thank you very much!!

Edit: unicon don't work for me
[Android General] warriorsach:
is this work on honor 7?
[Android General] grandpa2007:
Yes
[Android General] katadu76:
nearly no modules work on my honor 5x ... :(
[Android General] iMigz:
Hello, does this work on Huawei P8 lite Android MM EMUI 4.0 B551? ALE-L21

Im rooted and have TWRP
[Android General] hackslash:
It works on all EMUI 3.1, 4.0 and 4.1 devices.
[Android General] hackslash:
Did you disabled Huawei Theme Engine? (Framework will report installed but not active if Theme Engine is not disabled)
[Android General] MarcoPLs:
Xposed report theme engine error as resource hook error.
[Android General] hackslash:
So either disable EMUI Theme Engine (as instructed in first post) or disable Resource Hooks in Xposed settings (remember that the later option means that any modules that tend to change the UI won't work).
[Android General] xd4d3v:
Disabling the theme engine is the best, otherwise a lot of modules fail.

I Like the emui launcher, so I'm keeping that, but for others, installing a themeable launcher might be better.

Has anyone found a way to replace the icons of the phone and contacts app after disabling the theme engine.

They really look dated from donut era!
[Android General] hackslash:
Use Unicon Xposed Module. It works great on my device. However, for Unicon to work, SELinux must be set to Permissive.
[Android General] iMigz:
Did anyone posted here that been successful on their P8 lite? Do you have a quick video tutorial? :D