Themes / Apps / Mods SamSprung TooUI - Cover Screen Home (FREE)

Search This thread
feature_graphic.png



Welcome to the original Z Flip 3 launcher.
A complete home experience on the cover screen.

This is the next innovation in cover screen apps. After pioneering the widget launcher, this app has evolved into a full parallel launcher and continues to revolutionize the cover screen.

This launcher adds cover screen support for full notifications with actions, apps, widgets, quick toggles, voice launch, custom screen timeouts, animated wallpapers, and more.

TooUI began and remains the only cover screen app to fully integrate with the stock launcher, bypassing the limitations of the widget interface or attempting to replace the existing home functionality.



The Android 12 version is backward compatible, but the widget is not compatible with Android 12


Samsung Health replacement widget (Android 11) -


Thanks @CarudiBu for discovering the workaround to load a custom widget.


See the GitHub README for setup and usage information​




setup_notice_full.png



If a picture is worth 1000 words, it would take hundreds to match the code being written.


appdrawer.pngnotifications.pngnavigation.png

fingerprint.pngkeyboard.png
 
Last edited:

M4-NOOB

Senior Member
Aug 7, 2011
58
21
I think I'm a bit stupid, but I can't find the apk? I see the build and the 7.29MB ZFlip-Launcher-dee2c10 but no way to download
 

Attachments

  • Screenshot_20210904-104551_Firefox Nightly.png
    Screenshot_20210904-104551_Firefox Nightly.png
    138.8 KB · Views: 1,331

M4-NOOB

Senior Member
Aug 7, 2011
58
21
Which apps have you gotten to work so far? Weirdly enough for me it was only the camera (with tiny cutout of the app, but it starts). No settings/gallery/contacts/maps/gmail/whatsapp and many other apps I tried. When tapping on them it just freezes and I have to press the power button the turn off the cover screen again. I do see them in the recent apps though, they just don't show on the cover screen. Just updated to the latest build, but same results besides not seeing them in recent apps anymore
 

HDCowboy

Senior Member
Dec 20, 2011
76
10
Interesting, just got my Flip a couple days ago and although I would hate too uninstall Samsung Health, I'm curious if you would be able to watch a little mini Youtube video on the cover screen with this app, has anyone tried it?
 
  • Like
Reactions: Benwah
I updated the limitations list to document some of the current issues and how to work around them.
Until there is a proper API for cover widgets, some of them may be unavoidable (ie. keyboard)

Interesting, just got my Flip a couple days ago and although I would hate too uninstall Samsung Health, I'm curious if you would be able to watch a little mini Youtube video on the cover screen with this app, has anyone tried it?

Yes, videos do appear to work in the YouTube app, sound and all.
 
  • Like
Reactions: HDCowboy
Edit: FIXED. (Mostly)

If you open the screen with an app running on the cover, it will resume. If you tap power while running an app on the cover, it will add the app to recent tasks and resume it normally when opening the screen.

Some apps still burn out (ie Firefox) and don't always launch. It's rare, but still worth looking into to avoid the inconvenience.
 
Last edited:
For those who installed a previous version ("Remove unused activities and resources" or earlier):

You may need to uninstall to install the newest version. This is part of an effort to get this widget running alongside the Samsung Health app (or a slightly modified version of it).

In theory, using a 'sharedUserId' will allow two apps to exist with shared resources, as long as they are signed with the same signature. Since Samsung Health can be uninstalled (making it a user app), it should be possible to use the signature from this widget and the sharedUserId to make a modified version of the app without the widget that will run alongside it.
 

M4-NOOB

Senior Member
Aug 7, 2011
58
21
Not sure why, but I can't start any app, it's just freezing the cover screen when tapping on an app. No app worked. Restarted the phone then the camera was working (as in previous versions), sadly no other app still.. Also reinstalled and rebooted but no help.
 

CarudiBu

Member
Aug 29, 2021
17
30
Geneva, Switzerland
From what I've seen testing launching some apps on the cover screen, apps need the
XML:
<meta-data android:name="com.samsung.android.activity.showWhenLocked" android:value="true"/>
manifest attribute in each of the activities you want to launch to allow them to be launched while the phone is locked. Otherwise, any activities launched while the phone is closed are queued to open on the main screen once the phone is unlocked.
 
  • Like
Reactions: M4-NOOB

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    hi
    what do you think about establish a telegram group for

    SamSprung TooUI .​


    I don't think that would be a very good idea as per XDA's Rules for TG Channels.

    -Badger50
    1
    I personally don't use Telegram. It's always had a shady undertone to it, much like the one reddit had before a massive overhaul.

    That aside, I honestly don't know what value would be added.
    1
    The way the app selection drawer handles feels wonky to me. I think it may be time to toss the idea of a bottom drawer in favor of a sliding window.
    1
    Not entirely sure how I feel about the new settings design yet. Opening a panel closes the previous one (but the timing still needs tweaking) and the app list is now a sliding panel. It looks better, but it's still not quite where I see it in my head.
    1
    Added Italian and Portuguese to the widget disclaimer as 98% of all error reports claiming the widget can't be enabled in settings are posted in one of these two languages.
  • 19
    feature_graphic.png



    Welcome to the original Z Flip 3 launcher.
    A complete home experience on the cover screen.

    This is the next innovation in cover screen apps. After pioneering the widget launcher, this app has evolved into a full parallel launcher and continues to revolutionize the cover screen.

    This launcher adds cover screen support for full notifications with actions, apps, widgets, quick toggles, voice launch, custom screen timeouts, animated wallpapers, and more.

    TooUI began and remains the only cover screen app to fully integrate with the stock launcher, bypassing the limitations of the widget interface or attempting to replace the existing home functionality.



    The Android 12 version is backward compatible, but the widget is not compatible with Android 12


    Samsung Health replacement widget (Android 11) -


    Thanks @CarudiBu for discovering the workaround to load a custom widget.


    See the GitHub README for setup and usage information​




    setup_notice_full.png



    If a picture is worth 1000 words, it would take hundreds to match the code being written.


    appdrawer.pngnotifications.pngnavigation.png

    fingerprint.pngkeyboard.png
    10
    In all fairness, I don't think i've explained why the limitations are what they are and should probably have done that a while ago.

    The cover screen is effectively like plugging in a second screen on a previous S or Note series phone. DeX is effectively a secondary home launcher. Since this screen is part of the phone, instead of connected by a cable, a second launcher is used instead of DeX.

    The outer screen supports a second launcher, such as Nova or Smart Launcher 5. It also supports a primary launcher having a secondary launcher activity. Samsung, on the other hand, has disabled this support in favor of a hardcoded launcher that's built into the firmware.

    Samsung's launcher has been broken into the home screen, which is the clock selection, and widget pages. It's been further limited by only allowing certain widgets to be available on the widget pages.

    Being a system app signed by Samsung, they've gone a step further. The widgets allowed must system apps or signed by Samsung, as well. One loophole exists, which is Samsung Health. It does not need to be a system app, since you can install it from Google Play. It also doesn't need to be signed by Samsung for whatever reason. It does, however, still need to match up with the expected widget inside the expected app.

    This app takes advantage of the loopholes by using the specific component name (package / package.activity) of the Samsung Health widget and the package for Samsung Health. Because of this, the app must also be a widget, though. It cannot be a full launcher.

    Widget functionality is limited, but can support launching apps. This is another loophole that uses the widget list support to act as a fake launcher. Since the core launcher behind the widgets is still a launcher, it will launch apps on the cover screen.

    Like a normal Android screen, configuration changes are handled by the current activity being displayed. In this case, that would be whatever app is launched. The widget gets taken along for the ride. To minimize the impact of the launched app, the widget is designed to ignore any configuration changes, which would usually trigger the list to refresh.

    A few unique problems exist because of the cover screen being composed of widgets. One is that they do not follow the expected life cycle of a widget. They are not refreshed when they appear, which is why a swipe is sometimes needed to make list items clickable. Another is that they cannot perform any of the prep an activity provides, such as handling the lock screen. When an activity requests overriding the lock screen, it only extends to the activity and not to any it launched.

    This leaves us with what you see. A widget that exploits a bunch of loopholes within the limitations of the widget framework.
    5
    Done. Now you can hide / unhide apps for the widget with a long press on the item (in the app settings).
    5
    Widgets on the cover screen are granted Settings.canDrawOverlays without the need for permission approval from the user?

    With the option off in the app settings, the app never requested the permission and instead simply verified that it was already granted. That is interesting...

    and now the big news:

    Portrait apps may now be fully functional, if my testing is correct.


    The permission approval button when launching the app from the drawer shouldn't be required, but it exists in case it will help with any finicky apps / devices. It will request system settings and overlay permissions.

    System settings permission will allow the widget to temporarily disable the automatic rotation option, while the overlay permission creates a fake view over the widget that is locked in portrait and steals focus from the widget to avoid it forcing the layout back to landscape. This will not, however, prevent apps with landscape support from functioning normally.

    A new caveat I found is that, when charging, tapping power and waiting won't exit the current app. I do not intend to address this right now. The reason being that the controls to have the power button return to the widget also force a screen timeout to return to the widget and can cause issues with the app being displayed when opening the phone.

    A quick and dirty workaround to change apps when charging is to simply open the phone a bit. This will reset the widget without breaking the expected functionality.

    As it stands, the power button and a timeout will not kill the current app unless they exceed two seconds and will not kill the app at all when charging. This allows long-term use of a single app, which fits most use cases. Other options to switch apps, such as volume button overrides, are also being explored.

    @ChrisChoi314 it appears your list of incompatible apps was lost in the cleanup. If you still find any, you can post the list on the issue for it.

    5
    For now, the plan is to keep working on some things I don't want to advertise for fear Samsung will go and ruin them before I find answers.