yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Z Flip 3] luigi90210:
Back gestures work for me, turn off touch sensitivity in settings if you have that on, when I turned that off is when the back gestures started working for me
[Samsung Galaxy Z Flip 3] luigi90210:
Any chance with it being an sview window do you think it might be possible for a keyboard to work or will the current implementation of your keyboard be the only way to get a keyboard functioning on the cover screen?
[Samsung Galaxy Z Flip 3] Gunde:
I mean the setting "Swipe from bottom", not the gesture :)

There are 2 different kind of gesture settings in OneUI: "Swipe from bottom" and "Swipe from sides and bottom".
[Samsung Galaxy Z Flip 3] luigi90210:
Yes I use swipe from sides and bottom(googles gestures) and it functions normally since I turned off touch sensitivity in the display settings

I can't really explain how it started working other than that because it didn't work until I turned off that setting for a completely unrelated reason
[Samsung Galaxy Z Flip 3] twistedumbrella:
I was hoping for another setting to be hidden in there, but haven't found one. Things may change now that they have a launcher, but it would likely require a firmware update.
[Samsung Galaxy Z Flip 3] Gunde:
Do you also use One Handed Operation+?
[Samsung Galaxy Z Flip 3] luigi90210:
It was installed and I thought it was configured and running but it was off

Turning it on disabled gesture nav on the cover screen
[Samsung Galaxy Z Flip 3] twistedumbrella:
Can we talk about the existence of a fingerprint callback that has no UI?
[Samsung Galaxy Z Flip 3] twistedumbrella:
... I did it

Edit: and it's live on Google Play
[Samsung Galaxy Z Flip 3] twistedumbrella:
Decided to skip sleeping last night and got the fingerprint auth working, fixed an issue where the navigation bar randomly didn't get added when launching apps, fixed the keyboard (A LOT), and pretty much got everything stable.
[Samsung Galaxy Z Flip 3] WilliamN40:
Will you try to implement native lockscreen like CoverScreen OS so we can disable Bixby to use fingerprint?
[Samsung Galaxy Z Flip 3] twistedumbrella:
I bet if I charged $10 a month you'd read the changes.
[Samsung Galaxy Z Flip 3] twistedumbrella:
I think the real question is how long that feature will really last now that the code for direct auth is out.
[Samsung Galaxy Z Flip 3] ardillait:
maybe is an stupid question, but i tried every settings and when i have de "please unlock the device via fingerprint" message i cant unlock any app.
[Samsung Galaxy Z Flip 3] ardillait:
i had done that of turning off and on those options and still nothing. im stuck at the "please unlock..... any other solution?
[Samsung Galaxy Z Flip 3] twistedumbrella:
If you have a fingerprint enabled and it is being detected, you would either dismiss the notice or get another telling you it failed. Simply not working means you either aren't scanning a valid fingerprint (although this should also return a failed auth) or don't actually have fingerprint auth enabled.
[Samsung Galaxy Z Flip 3] twistedumbrella:
I guess you could call it a "catch" to how auth was implemented. Since I used the same hidden method Samsung left open for Good Lock, rather than creating a third party lock screen interface, any failure has to be the firmware or settings. As long as the call works on even one device, that validates its existence and the code to call it.

That aside, do we want to start respecting the lock screen privacy on notifications? I added a lock trigger to the quick toggles. Notifications could be locked out until unlocking. Ill leave that up to a vote.
[Samsung Galaxy Z Flip 3] ardillait:
and how i auth the fongerprint? only intalling the lastest samsprung and do exactly what wiki says? o i have to do another thing? when i install and open the app i have a text that says "secure lock detected, lock screen must be bypassed or disabled to launch apps byxby unlock can be used as alternative solution"
[Samsung Galaxy Z Flip 3] twistedumbrella:
No, but I did find out my phone came with corrupt firmware and I can't root until I flash / update it
[Samsung Galaxy Z Flip 3] beanbean50:
this is the nearest I could find to display_settings
[Samsung Galaxy Z Flip 3] twistedumbrella:
Thanks. The lack of the specific file does confirm a few good things, too. Seems the only limitation is Samsung's secondary launcher
[Samsung Galaxy Z Flip 3] beanbean50:
Just watched a short video of this app and the guy had the cover screen display rotated. I have auto rotate turned on but can't seem to find a way to rotate the outside screen display?
[Samsung Galaxy Z Flip 3] twistedumbrella:
Apps will take the first setting if the rotation is set in the manifest, layout, or code. It may not fall back to sensor rotation if that is later enabled. I'm not sure the cover respects automatic.
[Samsung Galaxy Z Flip 3] kowalskitg:
Ha, I bet tha was my pokemon go one on instagram.

For some reason pogo ust crashes now after a couple seconds but I did also discover you can resume already playing YouTube vids on the cover screen which I think is the most useful use case I've found. The bixby unlock thing works well too, I need to keep a lock screen bc I use Samsung pay all the time
[Samsung Galaxy Z Flip 3] Gunde:
Decided to try it. Works great with the hold to Wake Bixby trick, so it's not necessary to remove screen lock.

Feature request: Hide apps. It would be great to customize the launcher to only show the apps you'd use :)
[Samsung Galaxy Z Flip 3] twistedumbrella:
Edit: Done
[Samsung Galaxy Z Flip 3] Ptrprkr:
Please don't shoot the noobee here. The app is loaded, the widget shows on the cover screen, but rather than the word "launch" it says "start subui browser" and when I launch it, it will only bring up a Reddit page. What am I so stupidly doing wrong?
[Samsung Galaxy Z Flip 3] twistedumbrella:
That is a different app.

https://xdaforums.com/t/app-subui-browser-browse-the-web-on-the-cover-screen.4325963/
[Samsung Galaxy Z Flip 3] Ptrprkr:
Working like a charm using the HI Bixby Unlock suggestion without needing to disable the lock (Pin and fingerprints). Some apps that do require a fingerprint to unlock (e. g., Chase, Citibank, etc) do not open on the outer screen and require the phone to be opened to use the app. That's okay. Has anyone found a way to not show all the apps that are in the app drawer on this launcher? Trying to only display those apps I'd actually use on the outer screen and not scroll through the dozens of apps on the phone.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Four posts up
[Samsung Galaxy Z Flip 3] testify7900:
twistedumbrella Let’s say it couldn’t be resolved to install the app in place of another app? Let’s just say there’s a voice recorder right there that I think is much less used, can be deleted, and can be easily replaced by another third-party application anyway. Few can sacrifice Samsung Health, many use it.
[Samsung Galaxy Z Flip 3] Ptrprkr:
Thanks. Posted while I was composing my post. Much appreciated.
[Samsung Galaxy Z Flip 3] twistedumbrella:
This story seems suspicious
[Samsung Galaxy Z Flip 3] patstar5:
I can't install app, I get error app can't be installed. I did install browser first by mistake
[Samsung Galaxy Z Flip 3] Ptrprkr:
Delete the browser.
[Samsung Galaxy Z Flip 3] twistedumbrella:
You cannot install two copies of Samsung Health, so you can't install two copies of a replacement for Samsung Health.​

Put another way, you can't have two packages of the same name at the same time.​

Put yet another way...​

THIS APP DOES NOT WORK IF SAMSUNG HEALTH OR ANY APP THAT REQUIRES UNINSTALLING SAMSUNG HEALTH IS ALREADY INSTALLED​
[Samsung Galaxy Z Flip 3] twistedumbrella:
... anyway...

Working on adding the ability to hide apps. It will be ugly and it will be done in the settings page (home activity), but it should at least work.
[Samsung Galaxy Z Flip 3] twistedumbrella:
If you are seeing

then you don't have the version with fingerprint unlock. The version with fingerprint reads

Settings -> Lock screen -> Screen lock type -> Fingerprints -> ON

This means open settings, select lock screen, select lock screen type, select fingerprints, and toggle on

Make sure you have a fingerprint that is registered upside down. The screen is upside down when closed.
[Samsung Galaxy Z Flip 3] ardillait:
and where i get that version with fingerprint? link?
[Samsung Galaxy Z Flip 3] twistedumbrella:
How did you get it originally? The update will be there. It is also available by hitting update from in the app.
[Samsung Galaxy Z Flip 3] WilliamN40:
Yes I'm also stuck at 'Please unlock the device via fingerprint'
[Samsung Galaxy Z Flip 3] twistedumbrella:
What that meant was "here is how to get a log" because a log can often tell us what isn't a crash but is still causing a problem.
[Samsung Galaxy Z Flip 3] WilliamN40:
Here is my logcat. I'm stuck at 'Please unlock the device via fingerprint'.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Pushing a new version now that does things a little cleaner. May resolve the issue. Looks like the activity is being killed off by the window manager.
[Samsung Galaxy Z Flip 3] twistedumbrella:
@ardillait @WilliamN40 any luck with the newest?
[Samsung Galaxy Z Flip 3] twistedumbrella:
@rogerandgina06 Check the previous two pages and https://xdaforums.com/t/launcher-apps-for-the-cover-display.4409821/. It's being discussed.
[Samsung Galaxy Z Flip 3] rogerandgina06:
Sorry, didn't see that. Thanks for the info...
[Samsung Galaxy Z Flip 3] twistedumbrella:
No worries. It's a bit hidden.
[Samsung Galaxy Z Flip 3] WilliamN40:
Still stuck in 'Please unlock the device using fingerprint'
[Samsung Galaxy Z Flip 3] Landrea:
Me too :(
[Samsung Galaxy Z Flip 3] twistedumbrella:
Just to verify, I removed Good Lock and MultiStar, but didn't lose the unlock. The fingerprint API is part of the firmware, but on the off chance that they somehow had to be present for it to be available.

I believe the version of Always on Display may be important, since the cover launcher they released had a required version number. It could also be the required version for their widget flag to allow being included.

I'm not entirely sure how the three reports link together. Finding that would find the problem. Unfortunately, I have almost nothing to go on knowing only that it doesn't work. The only log so far has simply said there was an issue with the window killing off the activity that is no longer part of the process.
[Samsung Galaxy Z Flip 3] WilliamN40:
I tried Good lock and it worked perfectly for the fingerprint auth. But I still can't use it in Samsprung.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Same code, so I have no idea.
[Samsung Galaxy Z Flip 3] Dr.Lost:
I don't understand the issue they have been describing, even to go as far as to reset my phone to try samsprung. Everything works
[Samsung Galaxy Z Flip 3] twistedumbrella:
One thing to try would be disabling overlay permission and a reboot before enabling it again. That's the equivalent of a full reset for the app.

Also, what are you launching when it stops?
[Samsung Galaxy Z Flip 3] twistedumbrella:
I've started throwing a new test into each update. While not every single thing will be fixed immediately, I have been making sure each version sits idle for at least an hour before firing up the cover and making sure both the app and keyboard appear. There are a couple notification actions that still need to be resolved, but everything else appears to be functioning. Widgets now request fingerprint, as certain ones (ie. Gmail) will not allow you to add them without being authenticated.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Putting together some new previews.
[Samsung Galaxy Z Flip 3] twistedumbrella:
The focus now is notifications. Cleanup, functionality, etc. There are too many actions that don't work as expected.
[Samsung Galaxy Z Flip 3] twistedumbrella:
PSA: The wiki has updated. New features, changed features, etc.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Good Lock thread says their launcher is better than all these others because it launches every app. I wonder what app it was that didn't launch because I have yet to find one.

It is nice to hear they did their one job right, but let's not start comparing until they add widgets, notifications, quick toggles, text entry, and voice activation. It's a bit like saying a milk jug is better than the ocean floor because it doesn't erode.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Edit: Context removed
[Samsung Galaxy Z Flip 3] twistedumbrella:
Gas prices being what they are, there is no traffic. Anyone else having issues with any specific apps launching?
[Samsung Galaxy Z Flip 3] twistedumbrella:
The wiki may be a little unclear about the unprompted unlock. When you open the quick toggles (which can also be clicked instead of just dragged), there will be a fingerprint icon if the device is locked. While the quick toggle panel is open, the fingerprint listener is active. Using your fingerprint will unlock the device. Closing quick toggles without unlocking will disable the listener. This is a shortcut if you'd rather not be prompted when trying to do something.
[Samsung Galaxy Z Flip 3] Landrea:
I still can't get to unlock the phone through fingerprint. See the log attached. Great job btw
[Samsung Galaxy Z Flip 3] twistedumbrella:
What settings do you have enabled? Multi window? Always on? Stuff like that. There is definitely something specific to your configuration here. It was the same view format with the keyboard. Something in your setup is preventing adding floating views to the window. The main launcher isn't a floating view, which explains that being what works.

The log hints at multi window. I'll start there.
[Samsung Galaxy Z Flip 3] chopped0815:
My keyboard doesn't work anymore, it never works on whatsapp. It just won't open anymore
[Samsung Galaxy Z Flip 3] twistedumbrella:
Submit an issue or at least use the right thread to post a log. I can't do anything with "doesn't work"
[Samsung Galaxy Z Flip 3] Landrea:
Thanks for your time.

I've checked settings - labs - multi window and is off.

Aod is on but I don't think that would be a problem, tried to unable, nothing changes.

I don't have strange settings in my setup

.. Help me check something else?
[Samsung Galaxy Z Flip 3] twistedumbrella:
Does it vibrate when touching the sensor? Does it freeze completely or just not unlock?

As it stands now, the only bug I can confirm is that when launching System UI items (ie deleting or viewing screenshots and hitting home with Good Lock), it hides the overlay and requires toggling the screen off and back on.
[Samsung Galaxy Z Flip 3] Landrea:
It doesn't vibrate when touching the sensor.

It doesn't freeze either, just not unlock, but I'm able to swipe uo to the main launcher.

Should I delete and re-add fingerprints?
[Samsung Galaxy Z Flip 3] twistedumbrella:
Are fingerprints turned on in the lock screen settings?
[Samsung Galaxy Z Flip 3] Landrea:
Yes! I unlock the phone via fingerprints when unfolded. Or via Bixby with side key.

One thing I noticed: nothing happened when I tap an app on the main launcher when the screen is locked..
[Samsung Galaxy Z Flip 3] twistedumbrella:
What do you mean? I thought that's what was being done the whole time.
[Samsung Galaxy Z Flip 3] Landrea:
If I swipe up the nav bar, fingerprint icon shows up in cover screen. But nothing happebse.

If I tap on app (eg whatsapp), nothing happens. I remember before there was a "unlock the phone now" message/icon
[Samsung Galaxy Z Flip 3] twistedumbrella:
Nothing is supposed to happen when swiping up the nav. That's when you touch the fingerprint reader and the icon disappears. When the apps launched before, it was a full activity. Now it's a popup. The issue seems to be with popups.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Do toast messages work on the cover? They are the rounded, semi-transparent ones that have the app icon and a short message (usually at the bottom of the screen)
[Samsung Galaxy Z Flip 3] Landrea:
Actually they do work. I try setting an alarm and toast notifications appeared on cs
[Samsung Galaxy Z Flip 3] twistedumbrella:
c88a880 replaces the overlay with a Snackbar (which is an upgraded version of a Toast)

https://github.com/SamSprung/SamSprung-TooUI/releases/download/preview/SamSprung-c88a880-signed.apk

It doesn't actually fix the issue or explain it, but it buys time to figure it out.
[Samsung Galaxy Z Flip 3] Landrea:
installed it, but still nothing happens when i put the finger :(
[Samsung Galaxy Z Flip 3] twistedumbrella:
I added a check for if the method is unavailable. Not sure why it would be on some devices and not others, but I'm also not really sure why else there are about 4 people completely unable to unlock and then everyone else appears to unlock normally.
[Samsung Galaxy Z Flip 3] twistedumbrella:
I can trade the floating views for a static layout, but first we need to verify if it comes up that the method is missing. If it's there, then we'll know it's how the message is displayed. If not, that is a completely different issue.
[Samsung Galaxy Z Flip 3] Landrea:
"fingerprint Auth unavailable" when I pass the finger... I attach the log
[Samsung Galaxy Z Flip 3] twistedumbrella:
Interesting. So the entire interface is missing.

So good news and bad news. Good news is that Bixby unlock is still a viable option. Bad news is apparently some lucky devices simply don't have the fingerprint unlock interface available. It's an internal interface, so there is nothing I can really do if it isn't responding.

For the lucky few that can't do a direct fingerprint unlock, you will be prompted to use Bixby unlock.
[Samsung Galaxy Z Flip 3] pitflyer:
I switched to MultiStar since it met my requirements but since the developer here continues to work on this free application I reinstalled the latest Samsprung on my device, re-did the required step (write over screen) and rebooted my phone. For me Samsprung will launch with the little icon (I use that rather than swipe up) but now the home screen doesn't respond -- none of the icons from my apsp do anything. If the dev wants any logs or further information let me know.

This used to work fine before for me. I use Bixby unlock and fingerprint but the past few releases that hasn't been required with SamSprung anyway. Multistar requirea fingerprint unlock but it works fine after that.
[Samsung Galaxy Z Flip 3] twistedumbrella:
Same unlock. If you use voice launch with a secure lock, touch the fingerprint scanner after the beep. Newest version prompts. Previous test didn't because of testing the Snackbar.

Pretty sure it's related to locale. Everyone that has claimed the unlock doesn't work seems to be from the same region.
[Samsung Galaxy Z Flip 3] twistedumbrella:
For anyone that can't read smali, here is the breakdown of what MultiStar is doing:

Checks if a secure lock exists

Configures the command to perform a fingerprint unlock

Configures an activity to act as the unlock root (must be an activity, not context)

Uses reflection to call the internal unlock method

Runs the standard "dismiss keyguard" function on top of the reflection method

The dismiss keyguard function will allow dismissing an insecure lock screen (ie swipe) instantly. Any other type will prompt a dismissal. On the normal screen, this would request a pin, password, etc. Since those prompts are not shown on the cover, there is a hidden method that acts as a prompt to read a fingerprint. Running this in conjunction with the dismiss keyguard method acts as though the system successfully prompted for an unlock.

@Landrea @pitflyer I started noticing that everyone saying this didn't work had Italian (I believe that was the language) menus in their screenshots. The odd thing about it being that code is written in English. The only localization would be the prompts. Where it fails is before the prompts. It actually says that on your devices, "semStartLockscreenFingerprintAuth" doesn't exist.
[Samsung Galaxy Z Flip 3] Landrea:
I confirm the italian language of my device.

Thank you btw for the time you're spending to figure out our issue...

I'm back to bixby unlock, at the moment.

Apart from unlock, the keyboard is making nice progress, it appears most of the time. Sometimes when unflipped, I have to switch back to swiftkey before typing. But i can live with it.

Let us know if there's any improvement on unlock side
[Samsung Galaxy Z Flip 3] twistedumbrella:
I'm going to decompile the keyguard from that firmware and see if I can figure out why it's different. Hopefully that has answers.
[Samsung Galaxy Z Flip 3] twistedumbrella:
.method public static d1(Landroid/content/Context;)Z
.locals 4

const-string v0, "keyguard"

.line 1
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object p0

check-cast p0, Landroid/app/KeyguardManager;

const/4 v0, 0x0

:try_start_0
const-string v1, "android.app.KeyguardManager"

.line 2
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

move-result-object v1

const-string v2, "semStartLockscreenFingerprintAuth"

new-array v3, v0, [Ljava/lang/Class;

.line 3
invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

move-result-object v1

new-array v2, v0, [Ljava/lang/Object;

.line 4
invoke-virtual {v1, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

const/4 p0, 0x1

return p0

:catch_0
move-exception p0

.line 5
sget-object v1, Lcom/samsung/android/bixby/agent/common/r/d;->Common:Lcom/samsung/android/bixby/agent/common/r/d;

new-instance v2, Ljava/lang/StringBuilder;

invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

const-string v3, "Error on activating lock screen fingerprint auth by Java Reflection: "

invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object p0

new-array v2, v0, [Ljava/lang/Object;

const-string v3, "DeviceInfoUtils"

invoke-virtual {v1, v3, p0, v2}, Lcom/samsung/android/bixby/agent/common/r/d;->f(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V

return v0
.end method

Put simply, wtf... That's straight out of TIM firmware
[Samsung Galaxy Z Flip 3] twistedumbrella:
@Landrea I added the method from the TIM firmware, which ironically fails on mine. There is a good chance it won't actually fix it, but there is no harm trying. It will be pre-release version cd74b43

I can't get the framework to decompile, but can confirm the method exists inside it.
[Samsung Galaxy Z Flip 3] twistedumbrella:
So that turned into a whole thing...

Track down the issue with apktool, trace it back to smali, find the patch for smali, build smali, integrate a custom smali into building apktool, build apktool...

Oh, but the method exists and now I can read how it works.

The KeyguardManager method is actually just a shortcut to an IWindowManager method of the same name.
[Samsung Galaxy Z Flip 3] Landrea:
Firstly, I'd like to thank you for the effort you're making with our issue.

I tried the pre-release: when it comes to unlock, I get the "Bixby unlock required" message.

I'm not much into technicalities and code, but I like the fact you're sharing your knowledge (and frustration) with us.

Idk if you're still trying to figure us italian out. Good luck and thanks. (only) You can do it!
[Samsung Galaxy Z Flip 3] twistedumbrella:
Developers: It's super easy to bypass Android's hidden API restrictions

Android 9 Pie and Android 10 throw warnings or outright block access to hidden APIs. Here's how developers can get around the hidden API restrictions.

www.xda-developers.com

Couldn't figure out why Good Lock was doubling up reflection and sending the class name of the keyguard. Now it makes sense.

Bigger question being why can I access hidden methods?