-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magisk canary 122b4d6 will break OP7T fingerprint unlock #2803
Comments
Can confirm on my North America 7T. More likely it's caused by 6a2e781, specifically I know it seems to be fine when set later in boot so I'll see if there's a way to fix that without just removing it entirely. |
After some quick test, the latest canary build will lead fingerprint scan to fast that unable to detect whole fingerprint. Can not figure out why this will happen |
Here's a workaround script for now. /data/adb/service.d/verifiedboot-fp-fix.sh:
|
Problem sort out Due to this issue, maybe the codes of props fix will move to boot_complete to avoid this? |
Just that prop needs to move later. Best to leave the others as early as possible. |
Seems to affect OnePlus 8, too. Can't use my fp sensor since I've installed the latest canary update. Adding the script to the service.d directory doesn't seem to be working here :/ |
MagiskHide runs as soon as module post-fs-data scripts and system props are done, doing hide_sensitive_props(). Using service.d to flip it back to orange in my workaround unfortunately might just still be too late on the OP8, but the actual solution would likely be the same for all. What we'll need to avoid removing resetting vendor.boot.verifiedbootstate green entirely is a separate hide_sensitive_props_late() which runs at sys.boot_completed like my script above. Adding a new trigger for that to magiskinit/hide isn't something I'm sure how to do so hopefully @topjohnwu can take a look at it. |
A quick fix sabpprook@e71bdb4 |
That's pretty much what I had in mind, actually. Nice job! Open a PR? |
Will this fix the fingerprint error on oneplus 8 pro ? With magisk 20.4? |
@ekka1993 This has nothing to do with 20.4, it's only broken in Canary 20411. |
Ah, looks like @topjohnwu also took a crack at it: 97db49a |
Is it solved? |
Yep, working again on my 7T in 20412. 👍 It stays reporting orange though due to a typo I just found and let @topjohnwu know about. That should be fixed for 20413. |
Sadly 20412 isn't working here on my OnePlus 8. I still get the "Fingerprint hardware not accessible" error on the lock screen. This is using the latest OnePlus release for the Europe variant, 10.5.6.IN21BA. I'm not sure if it's related, but SafetyNet fails too even with MagiskHide on (ctsProfile fails, basicIntegrity is fine). It worked with 10.5.5.IN21BA but I can't confirm which version of Magisk Canary I was on then. I'm aware you don't generally investigate SafetyNet with canary releases though. |
This comment has been minimized.
This comment has been minimized.
@bittylicious can you clarify if 20411 was where this issue started for your 8? That's where it started on my 7T. If you didn't try 20411 then please try 20409 and let me know if it works. |
@osm0sis It definitely was not working with 20411. I can't easily confirm whether it was the upgrade to 20411 that caused it to fail, or the Android update to 10.5.6. I sadly don't have a build environment to prepare specific releases. Is there an easy way for me to try 20409, e.g. if you can provide me with a custom channel URL or something like that? Ignore the SafetyNet error - disabling all modules enables SafetyNet to pass again. |
@bittylicious all Canary releases are contained here: https://github.com/topjohnwu/magisk_files/commits/canary Simply go back to the commit for 20409 and download the magisk-debug.zip from that commit, then flash it via Manager's Modules page "Install from storage" |
Does any previous Magisk build work on the 8 Series? Are you using custom kernels? @Chartman123 you reported it happened with 20411 on your 8, can you update us on whether 20412 fixes it for your setup? |
@osm0sis Yes, everything was working wonderfully before, fingerprint, SafetyNet, the lot. It was beautiful. No custom kernels. Based on the Canary timestamps, I think it's the Android upgrade which cased things to break, not any change made in Magisk. Most likely the Android upgrade has introduced some sort of incompatibility with Magisk though. |
@bittylicious And you aren't using my workaround script, presumably? |
Mine worked with 10.5.8 then i restored with brick tools then i stopp worked. |
@ekka1993 Change your settings Update Channel to Canary. It's the latest Canary version. |
If turning MagiskHide off and rebooting doesn't help then the latest Canary won't make a difference either, unfortunately. |
I Still have 20400 hmm |
Yeah, so @ekka1993, when did it work last? What's your ROM version? |
I have 10.5.8 |
It worked on 10.5.8 turn i bricked mine phone and i restored it then i stop to work |
FYI, 10.5.8 is the latest update for the 8 Pro. It will include similar patches to 10.5.6, the latest version on the 8. So, me and @ekka1993 are likely experiencing the same error if it stopped working after the latest Android update for him. If @Chartman123 can confirm he's not yet on the latest Android/OnePlus version, this puts together quite a clear picture. If he is on 10.5.6 (8) or 10.5.8 (8 Pro), then who knows! One of the changelog entries for this update is:
So it could be related to this. |
ekka was already on latest and had it working, then it broke after bricking the device and using some tools to recover it. Sounds like they were on 10.5.8 and Magisk 20.4(20400) stable both when working and broken, so, a bit less clear of a picture there. |
I'm on 10.5.4 European version, the latest that is offered to me in the updater |
@bittylicious have you tried rebooting with MagiskHide off yet to rule out some further interaction there? |
@osm0sis Yes tried that, doesn't make a difference here. @Chartman123 Interesting. You should get 10.5.6 soon with a bit of luck. I would have suggested using the OnePlus downloads page but it doesn't appear to be on there yet, so maybe they've spotted issues with the OTA update? Let us know when it comes please. |
The latest canary has the fingerprint reader working on my OP8 Pro with OOS 10.5.8. Not sure if it matters, but it's the European version. Went directly from canary a62bdc5 to 99ef206. I did try 122b4d6 yesterday with the fingerprint reader not working, but for me the latest canary fixed the issue. Good work! |
Should i use direct update ? do i need to patch it and install with adb ? |
I had the same issue, in my case downgrade to v20.4 solved it and new canary also. But on oneplus forums they talk also about the fact that a fastboot flash will damage one partition which is related for the fingerprint |
@sabpprook @Chartman123 @zyonee @0xCCD Those of you still having issues must have something else going on, will need to look into that further and open a new issue if appropriate. Be sure to include last working Magisk build, test stable and canary, try in Safe Mode, try with MagiskHide off and on, and all the logs. |
This comment has been minimized.
This comment has been minimized.
https://send.firefox.com/download/32475d18c3fc0745/#t93WiF7h3IGEWhzTFola5w |
Is it patched with magisk or stock ? |
fresh from OTA on my sdcard, not patched |
Thanks, i Still has problem with fp, i Will try a new boot img IF it Will work |
Is your fp working with 10.5.8 and magisk ? |
|
Yes it is working but there are two different issues atm with fingerprint. one of them was caused by Magisk update another is caused while flashing through fastboot |
Flashing with adb/fastboot cant be solved right now ? Or am i wrong ? |
As far as I know you can only solve the issue caused by Magisk, the other issue is caused by a damaged partition which need to get fixed with a software update from Oneplus |
I Will try reflash a new magisk boot img and see IF it works |
v20.4 and latest canary works fine for me |
Same error so have to wait for oneplus to slove it. New boot img magisk 20.4 and latest canary. 20414 |
I just want to confirm with you that I have this error still, and I never flashed anything from fastboot manually. My error (which granted is NOT the issue on this issue) came about when I had Canary (probably 20410 or 20411, and then upgraded to the latest OnePlus version (10.5.6 in my region). This would have been a full ROM download, not the OTA patch, so maybe that also involves a flash of other partitions? I'm not sure. |
I usually also have full rom updates, but as long it is flashed through Local Upgrade functionality of Oxygen OS it should be safe. Probably you can ask on oneplus forum |
OnePlus 7T HD1900 OOS India 10.3.2.HD65AA
It only happened on 122b4d6, previous build a62bdc5 works fine.
I'm not able to get logcat right now, sorry for this.
The text was updated successfully, but these errors were encountered: