Some very wierd cookies goint on with EFS - OnePlus 7T Questions & Answers

So I rooted my OnePlus 7T, to fix some issues I had with OOS...and it was great. I absolutely loved FDEAI, iOS emojis, swift installer, AdAway and I could go on.
But one stupid day, I installed a magisk module, that corrupted my EFS. I was really scared, since even tho I had a backup, I had trouble restroning it permanently. It got erased on every reboot.
This problem presists, I haven't found a fix. But I have a hypotesis, on what could be it's cause. I have uninstalled the module already, so that wasn't it. Only today, two weeks after the incident, I realized, that my SELinux policy was Premissive. I didn't change it intentionally, so it must have been the module that did it.
Here's where I ask for help tho : 1. How do I change SELinux to Enforcing again? I only could find tutorials on how to set it to permissive. 2. Could this be the cause of the issue? 3. If it can't be this, what do I do? I'm running OxygenOS 11, so I can't just flash a fastboot rom, nor use MSM to reset. (Both are A10 only) and I don't think downgrading with mods installed would be anything of a good idea. There's also no TWRP support as you know.
This is a true nightmare, I really hope that I'll get to fix this soon. Thanks for you'alls help in advance. Here's some technical info : Device : OnePlus 7T, HD1903 OS : OxygenOS 11.0.1.1, HD65BA Kernel : 4.14.190-prefs+ Magisk : Installed from Boot image, version 23 Current Modules Installed : iOS 14.5 Emoji for FB and Messenger 1.4 Swift Installer Module v5 Systemless Hosts v1.0 Apps with root acces : AdAway Buoy Servicely Swift Installer Vanced Manager
Disabled Packages : Android Accesibility Suite Android Auto Bookmark Provider BugReportLite Calendar Chrome com.oem.logkitservice com.qti.qualcomm.datastatusnotification com.qualcomm.embms com.qualcomm.qti.lta com.qti.qms.service.connectionsecurity Common Log Tool Default Print Service Device Personalization Services Digital Wellbeing Drive Duo Games Google Google Assistant (both packages) Google Pay Google Play Movies Google Play Music Text-To Speech Engine Insight Provider Market Feedback Agent Maps Messages Nfc OnePlus Link OnePlus Logkit Photos Qualcomm Voice Assistant Qualcomm Mobile Security Shot On OnePlus System Tracing Zen Mode
I listed theese packages, because they also might cause issues, I'm not sure.

Msm tool to go back to stock oos10

Then update to oos11 via oxygen updater app

Related

Xposed and Safety Net Pass -- How To!

XPOSED and Safety Net PASS -- Instructions How To
I've been using Xposed because it has functionality that I don't want to give up. But "regular" Xposed won't pass Safety Net.
Thanks to @drewcu, I now have found a way to use Xposed and PASS Safety Net.
This is important enough it deserves its own Guide thread. All credit goes to @drewcu -- and of course the edXposed devs! Go here and THANK this post. Full exchange is below, but please go thank @drewcu in that post.
_______
drewcu said:
Installed Magisk and edXposed and all is well.
Thanks!
Click to expand...
Click to collapse
ChazzMatt said:
First hearing about "edXposed". Quick Google search, sounds interesting, and some say it allows you to pass Safety Net, which regular Xposed (I use) doesn't. Is that true?
Which Magisk version are you installing with that?
Click to expand...
Click to collapse
drewcu said:
Latest Magisk 19.3.
YES, EdXposed absolutely passes Safetynet (both ctsProfile and basicIntegrity)! Install instructions here: https://github.com/ElderDrivers/EdXposed but see below for the specific EdXposed version I recommend using.
I personally use magisk-EdXposed-sandhook-v0.4.0.1_beta-SNAPSHOT-release.zip found https://www.lanzous.com/b642738. Newer Sandhook versions with resource hooking like v0.4.1.2_beta and v0.4.2.3_alpha (and the YAHFA versions too) found https://github.com/ElderDrivers/EdXposed/releases introduce some LAG for me that isn't present on 0.4.0.1. Haven't tried newer ALPHA versions like 0.4.3.7 but you are welcome to see if you experience the same lag. Would have to separately install both versions, start opening apps, clicking around, and counting time till the V30 responds to see the lag I am referring to. Is subtle but most noticeable in 0.4.1.2 and less so in 0.4.2.3.
The only Xposed module I use is GravityBox(O) and there is a version specifically for EdXposed -- 8.5.3.1-edxposed (https://github.com/GravityBox/GravityBox/releases/tag/v8.5.3.1-edxposed_o), although I updated to general version 8.5.4 (https://forum.xda-developers.com/xposed/modules/app-gravitybox-v8-0-0-beta-1-tweak-box-t3739929) and have no resource hooking problems with 0.4.0.1 like I thought there might be and had with general version 8.5.3. If you use any OTHER Xposed modules that require resource hooking, you will need to use an EdXposed version 0.4.1.2 or above which has resource hooking but also possibly some lag (perhaps none in the latest alpha I don't know).
So I stay on magisk-EdXposed-sandhook-v0.4.0.1_beta-SNAPSHOT-release because it works with the latest version of GravityBox no problem, has 0 lag unlike newer versions (I think an Oreo problem), and passes Safetynet just fine.
Not sure if some of the steps I took after reading a forum about Safetynet were necessary but I did them anyway -- namely:
1) EdXP Settings - Enable Black/White List
2) Black List Google Play Services and Google Play Store
3) Magisk Hide - ALL of Google Play Services
Enjoy!
Click to expand...
Click to collapse
TotallyAnxious said:
Thanks. I've been meaning to check out the new Xposed offshoots.
Click to expand...
Click to collapse
_________
@drewcu:
edXposed INSTRUCTIONS
Install instructions here: https://github.com/ElderDrivers/EdXposed but see below for the specific EdXposed version I recommend using.
I personally use magisk-EdXposed-sandhook-v0.4.0.1_beta-SNAPSHOT-release.zip found https://www.lanzous.com/b642738. Newer Sandhook versions with resource hooking like v0.4.1.2_beta and v0.4.2.3_alpha (and the YAHFA versions too) found https://github.com/ElderDrivers/EdXposed/releases introduce some LAG for me that isn't present on 0.4.0.1. Haven't tried newer ALPHA versions like 0.4.3.7 but you are welcome to see if you experience the same lag. Would have to separately install both versions, start opening apps, clicking around, and counting time till the V30 responds to see the lag I am referring to. Is subtle but most noticeable in 0.4.1.2 and less so in 0.4.2.3.
The only Xposed module I use is GravityBox(O) and there is a version specifically for EdXposed -- 8.5.3.1-edxposed (https://github.com/GravityBox/GravityBox/releases/tag/v8.5.3.1-edxposed_o), although I updated to general version 8.5.4 (https://forum.xda-developers.com/xposed/modules/app-gravitybox-v8-0-0-beta-1-tweak-box-t3739929) and have no resource hooking problems with 0.4.0.1 like I thought there might be and had with general version 8.5.3. If you use any OTHER Xposed modules that require resource hooking, you will need to use an EdXposed version 0.4.1.2 or above which has resource hooking but also possibly some lag (perhaps none in the latest alpha I don't know).
So I stay on magisk-EdXposed-sandhook-v0.4.0.1_beta-SNAPSHOT-release because it works with the latest version of GravityBox no problem, has 0 lag unlike newer versions (I think an Oreo problem), and passes Safetynet just fine.
Not sure if some of the steps I took after reading a forum about Safetynet were necessary but I did them anyway -- namely:
1) EdXP Settings - Enable Black/White List
2) Black List Google Play Services and Google Play Store
3) Magisk Hide - ALL of Google Play Services
Enjoy!
When I go to download the file, it's in, I assume, Chinese characters.
Any help.
Never mind, figured it out.
This is great. I'm so happy to have Gravity Box again.
I too had a problem with lag with newer versions of edxposed. I switched to the version recommend in the OP and all is well.
If you comfortable using "chinese" app. Taichi is simpler solution (personally), although not much modules currently supported. Both edxposed and taichi are available on magisk repo
Thanks @ChazzMatt, finally got around to installing Xposed again. Thank god for GravityBox!
edit: after playing around for a day, I'm disabling edx. I'm getting lag, force closes, unresponsive back button, and major battery drain. Sad to see the framework hasn't changed much in 1-2 years. It's not worth it for a single Xposed module.
Gravitybox system framework not respondinhlg.
On us996k
Guess I'm missing something?
qwas7899 said:
Gravitybox system framework not respondinhlg.
On us996k
Guess I'm missing something?
Click to expand...
Click to collapse
Edit; figured it out
qwas7899 said:
Edit; figured it out
Click to expand...
Click to collapse
share with the class.
Right. Didn't have riru-core module installed.
Thanks a lot for this guide . It's great to have xposed and safety net passing.
soo I tried to install edxposed sandhook (latest version), after a couple reboot, all went fine, but now I lost wifi and data connection (they cant be turned on), any ideas or fix? is it linked to that version of edxposed? I have a Lg ls998 converted to Us998h, thank you
LeTerrible said:
Just wanted to share my experience with NFC banking and FullHD working Netflix. Managed to delete everything google and installed Microg only (to get Gcam to work), my banking app, Netflix app, Canary EdXposed and it works flawlessly! Could never get FullHD and NFC banking to work previously with Xposed. Of note was the fact I am running Xprivacy, too. Just make sure you blacklist the apps in EdXposed and also hide them in Magisk and it all works
Hope this helps others as it really made my NoGapps/Rooted stock phone experiences significantly better.
Click to expand...
Click to collapse
Great.
I'm having trouble getting EdXposed to activate. I'm on a fresh clean install of the TWRP flashable version of US998 30b with Magisk 20.1 installed and working, and while i've got the Riru - Core module installed (v19.5), no matter which Riru - Ed Xposed module I use I get the following error message from EdXposed Manager 4.5.2 explaining why it's installed but not activated:
There seems to be a known issue("Wrong base directory: /mnt/expand/7f941a12-b7aa-4d2a-a664-f89a46b7d86c/user_de/0/org.meowcat.edxposed.manager") with your ROM.
Suggestions on where I go from here?
radwolf76 said:
I'm having trouble getting EdXposed to activate. I'm on a fresh clean install of the TWRP flashable version of US998 30b with Magisk 20.1 installed and working, and while i've got the Riru - Core module installed (v19.5), no matter which Riru - Ed Xposed module I use I get the following error message from EdXposed Manager 4.5.2 explaining why it's installed but not activated:
There seems to be a known issue("Wrong base directory: /mnt/expand/7f941a12-b7aa-4d2a-a664-f89a46b7d86c/user_de/0/org.meowcat.edxposed.manager") with your ROM.
Suggestions on where I go from here?
Click to expand...
Click to collapse
Solution Found. My EdXposed Manager had been installed to External Storage. It only works on Internal Storage.
Safety Net Fail w/ Gravitybox
It looks like as soon as I enable the Gravitybox module that you recommend, safetynet fails. Are you still passing with your setup (I'm wondering if there has been some update that this version of Gravitybox no longer passes)?
UPDATE: even though safetynet shows up as failing in Magisk, I am still able to use Google Pay, so maybe it is working? I'll update this post once I've tried using Google Pay to pay for something.
UPDATE again: after a couple of days, Google Pay showed a pop up message saying that it would no longer work. Uninstalling and reinstalling gets it working temporarily again it seems.
Dear @ChazzMatt
Should I install the old beta in the last page or the latest canary to avoid safety net and which versions is the best?
Note to everyone: installing xposed framework will trigger safetynet....and uninstalling it will do as well
And i don't know how to solve this except flashing a new rom

my touch screen have weird issue

i have a problem.
my touch screen is working perfectly but, sometimes didn't response from thw top of screen " status bar "
and to fix it, i have to lock the phone and unlock it again to work normally.
it's happening everyday three times at least and it's very innoying.
tried to flash miui 10 again and still happening, tried to flash Pixel experience rom and still have this issue.
any one have this innoying issue ??
update 1
noticed that the problem beginning after installing magisk modules, so i uninstalled all magisk modules and the phone working perfectly for now.
I think it's hardware problem. Go through complete device check.
MeAbhi45 said:
I think it's hardware problem. Go through complete device check.
Click to expand...
Click to collapse
I'm sure that's not a hardware problem, I'm already checked my device in a repair service center and there is no problem.
It's definitely a hardware issue, at least for me... Sort of.
I had multiple ghost touches, specially when the batt level is below 40% and phone is in horizontal position.
But after installing a Xiaomi.EU ROM the frequency of touch issues reduced a lot.
Sadly I don't have an active warranty.
My screen is a Schenchao one, just in case.
I have the exact same problem. I will try to disable all modules in Magisk but first I need to see how to reproduce the error.
Same here, it drives me crazy when I want to play some games or typing on any keyboard.
Can you please list here what Magisk Modules you have? Just to merge them from more users to point out the faulty module. Modules on my phone:
-ARCore/Playground Patcher
-EAS compatible PerfBoost FW config for SDM660 <-- (KangarooX kernel requires it)
-MIUI camera v2 MODs for whyred (Redmi Note 5 / pro) MIUI
-Magiskd Helper
-Systemless Hosts
-Youtube Vanced black themed - Magisk repo
Asycid said:
Same here, it drives me crazy when I want to play some games or typing on any keyboard.
Can you please list here what Magisk Modules you have? Just to merge them from more users to point out the faulty module. Modules on my phone:
-ARCore/Playground Patcher
-EAS compatible PerfBoost FW config for SDM660 <-- (KangarooX kernel requires it)
-MIUI camera v2 MODs for whyred (Redmi Note 5 / pro) MIUI
-Magiskd Helper
-Systemless Hosts
-Youtube Vanced black themed - Magisk repo
Click to expand...
Click to collapse
I only have installed SDM660 AIO Camera Patch in 9.10.17 EU Miui 11 with Magisk 19.4. I have to try to uninstall Magsik at all to see if it solves.

[MAGISK] Ambient EQ Tweak (Flame)

Hey all,
Just wanted to share a simple Magisk Module that tweaks the Ambient EQ on our phones to behave more like Apple's True Tone feature. This idea and module was originally created by @MishaalRahman and published here. As you can see the article was published in November 2019, and the structure of Magisk Modules has since changed. So, the module that you can download from that article no longer works. I've simply updated the module to be compatible with the new Magisk Module file structure and function correctly on our phones.
Instructions and Notes:
Note: This module was originally created for the Pixel 4 (Flame). Due to the Pixel 4 XL (Coral) using a different panel, this module may have unintended effects on screen color and gamma that I have not been able to test. Give it a shot if you'd like, but YMMV.
Install via Magisk Manager or flash the .zip using your favorite Kernel Manager and reboot.
The module has been submitted to the Magisk Module Repo, where it will be able to be downloaded directly from the Magisk Manager app, but it is awaiting approval.
Download (Local)
Thanks to @digitalcircuit for zip-aligning the APK, which fixes earlier reports of App update failures and other weird behavior.
Confirmed working on Android 12.1!
Original Author: @MishaalRahman
Original Module and Associated Documentation: https://www.xda-developers.com/google-pixel-4-ambient-eq-tweak/
Source: https://github.com/Alcolawl/AmbientEQTweak
AFAIK, this module could really mess with the performance on my Pixel 4 XL. Don't know how's the outcome here but thanks for the module template update!
Queentus said:
AFAIK, this module could really mess with the performance on my Pixel 4 XL. Don't know how's the outcome here but thanks for the module template update!
Click to expand...
Click to collapse
Are you saying that this module caused a drop in performance on your Pixel 4 XL? I can't say I've had the same experience on my end.
Looking through the comments on the article for the original module, others have complained about a performance drop as well. Certainly interesting and worth investigating.
Alcolawl said:
Are you saying that this module caused a drop in performance on your Pixel 4 XL? I can't say I've had the same experience on my end.
Looking through the comments on the article for the original module, others have complained about a performance drop as well. Certainly interesting and worth investigating.
Click to expand...
Click to collapse
Yes. Check out those comments blow @MishaalRahman's original article, I'm pretty sure I'm not the only one who had performance drop after using @MishaalRahman's module.
Installed and don't seem to have any issues with battery consumption. Thank you for the updated Magisk module.
Edit 2020-10-7: I've managed to fix this by decompiling the APK, recompiling it using the modern Android SDK, and ensuring I both signed and zipaligned the APK. If anyone wants this, I can upload it somewhere.
This appears to break on Android 11. Workaround: disable or remove the Ambient EQ Tweak Magisk module.
Rambling details in the hopes that others facing this issue can find it via Internet searching:
Some Google apps (Google Play Services, Google Camera, Files by Google, Google Photos, Device Personalization Services, Google TV/Play Movies, Google Play Games) and one F-Droid app (BirthDay Droid) would fail to install/update with a vexing error code:
Code:
Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary
However, various other targetSdk 30 apps would install/update just fine (e.g. Firefox, Firefox Nightly).
Uninstalling updates for Google Play Services almost fully broke the functionality of Play Services. If the Ambient EQ module is enabled, Android 11 updates will also lead to bootloops unless Android 11 is first fully booted once with the stock image. Given nobody else seemed to mention this online, it confounded me. After tinkering, I realized that booting stock (without Magisk) worked, I narrowed it down to modules (not MagiskHide/etc), and down to this module. I suspect the overlay APK itself needs updated for wherever the color temperature ramp resources are stored in Android 11.
I think simply disabling/removing the module and rebooting should be sufficient to fully recover. If one's concerned about inconsistent Play Services state, it's possible to clear data there, but that was not necessary for me.
digitalcircuit said:
Edit 2020-10-7: I've managed to fix this by decompiling the APK, recompiling it using the modern Android SDK, and ensuring I both signed and zipaligned the APK. If anyone wants this, I can upload it somewhere.
This appears to break on Android 11. Workaround: disable or remove the Ambient EQ Tweak Magisk module.
Rambling details in the hopes that others facing this issue can find it via Internet searching:
Some Google apps (Google Play Services, Google Camera, Files by Google, Google Photos, Device Personalization Services, Google TV/Play Movies, Google Play Games) and one F-Droid app (BirthDay Droid) would fail to install/update with a vexing error code:
Code:
Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary
However, various other targetSdk 30 apps would install/update just fine (e.g. Firefox, Firefox Nightly).
Uninstalling updates for Google Play Services almost fully broke the functionality of Play Services. If the Ambient EQ module is enabled, Android 11 updates will also lead to bootloops unless Android 11 is first fully booted once with the stock image. Given nobody else seemed to mention this online, it confounded me. After tinkering, I realized that booting stock (without Magisk) worked, I narrowed it down to modules (not MagiskHide/etc), and down to this module. I suspect the overlay APK itself needs updated for wherever the color temperature ramp resources are stored in Android 11.
I think simply disabling/removing the module and rebooting should be sufficient to fully recover. If one's concerned about inconsistent Play Services state, it's possible to clear data there, but that was not necessary for me.
Click to expand...
Click to collapse
Yep, I can confirm this.
I've had a request in the comments of the XDA blog post to share my modified Magisk module, so I've attached it to this post. Only change is decompiling the APK, zipaligning, then re-signing it; credit to Mishaal Rahman for the original module. No warranty provided.
You should be able to flash this in Magisk on top of the existing module, or from scratch if you've removed or never installed the previous module.
In case there's issues with the XDA forum download, I've also hosted this on my web server as AmbientEqTweakAligned-v1.2.zip:
SHA256 hash for both is e8fa5f9283acd0bcc8518e0acc5dd905c62c348cf0a4534b4bed072a5ebb0d7d.
digitalcircuit said:
I've had a request in the comments of the XDA blog post to share my modified Magisk module, so I've attached it to this post. Only change is decompiling the APK, zipaligning, then re-signing it; credit to Mishaal Rahman for the original module. No warranty provided.
You should be able to flash this in Magisk on top of the existing module, or from scratch if you've removed or never installed the previous module.
In case there's issues with the XDA forum download, I've also hosted this on my web server as AmbientEqTweakAligned-v1.2.zip:
SHA256 hash for both is e8fa5f9283acd0bcc8518e0acc5dd905c62c348cf0a4534b4bed072a5ebb0d7d.
Click to expand...
Click to collapse
Thanks
digitalcircuit said:
I've had a request in the comments of the XDA blog post to share my modified Magisk module, so I've attached it to this post. Only change is decompiling the APK, zipaligning, then re-signing it; credit to Mishaal Rahman for the original module. No warranty provided.
You should be able to flash this in Magisk on top of the existing module, or from scratch if you've removed or never installed the previous module.
In case there's issues with the XDA forum download, I've also hosted this on my web server as AmbientEqTweakAligned-v1.2.zip:
SHA256 hash for both is e8fa5f9283acd0bcc8518e0acc5dd905c62c348cf0a4534b4bed072a5ebb0d7d.
Click to expand...
Click to collapse
Just to confirm, will this work on Android 11, latest Magisk?
Thanks in advance!
Rodimus8402 said:
Just to confirm, will this work on Android 11, latest Magisk?
Thanks in advance!
Click to expand...
Click to collapse
As of 2021-1-5, I'm successfully using this Ambient Eq tweak module on Android 11 with the December 2020 security patch using Magisk 21.2 (beta channel) with Magisk Manager 8.0.4.
I haven't checked the ADB logcat to make sure it's actually applying the color temperature changes, but it seems to work and I haven't had any issues.
No performence issue on Jan 2021 update.
Can this be used on the pixel 4xl running android 12.1 April 2022 security patch ?
shahez said:
Can this be used on the pixel 4xl running android 12.1 April 2022 security patch ?
Click to expand...
Click to collapse
It works on Android 12.1 just fine. I've confirmed the AmbientEQ changes with adb commands (adb shell dumpsys color_display). I can't comment on any performance issues just yet but the module itself does work properly.
EDIT: Just make sure to download the fixed .zip supplied by DigitalCircuit. I've also changed the download link in the original post to make sure people don't download the old .zip that broke the OS.

Apps "not compatible" in Store after update 11.0.0.2 HD65BA

Has someone an idea, why apps like Netflix are "not compatible" with my OnePlus 7T anymore after 11.0.0.2 update?
I already managed to install Magisk Canary with current patched 11.0.0.2 boot image and Magisk Hide is active also for Play Store, but apps are still not able to get installed :/
This topic seems to be already discussed in the OP Community:
OnePlus Community
Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.
forums.oneplus.com
Things you can try:
Wipe data from netflix app
Using Magisk Hide
Try installing from external source (https://www.apkmirror.com/apk/netflix-inc/)
CHEERS!
Ummmm, the classic topic.
Stopped Play Store and cleared cache.
After this, apps could be installed.
Magisk Hide was already active.
Thanks for good direction ;D

NetGuard firewall deinstalled with last MIUI update 07/18/2021 and unable to reinstall

Hi.
I have a big problem with my xiaomi redmi note 9 pro (no root).
With the last MIUI update from gesterday 07/18/2021 (New update: 12.0.1 Stabil RJZEUXM; Old bevore: 12.0.2.0),
the updater deinstalls a running NETGUARD app without asking me.
Other apk's i have installed outside of google playsore are not affected.
If i thy to install it new with a apk from github, it was blocked (Message: app was not installed).
If i thy to install it from google play store, it was blocked too (could not install NetGuard - no-root firewall)
The usb debugging in this miui version is only possible with a miui account :-(, but even a adb install of netguard.apk is not possible (INSTALL_FAILED_USER_RESTRICTED)
What can i do to reinstall the NetGuard firewall?

Categories

Resources