Skip to content

About

LSPosed module: move Samsung Now Bar to the bottom on Galaxy A-series (in-display fingerprint)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Now Bar Bottom (English)

An LSPosed module for Samsung One UI that moves the lock screen Now Bar to the bottom.

On Galaxy A-series phones with an in-display optical fingerprint sensor, the Now Bar is placed above the sensor. This module lowers its bottom margin so the capsule sits near the bottom edge, as on flagships.

Tested on: Galaxy A36 (SM-A366B), One UI 9.0, Android 17, build A366BXXUCDZIF. Other models and firmware are untested.

Note: the capsule will overlap the sensor area. The sensor still works, but the fingerprint icon may be hidden.

Install: requires root and LSPosed. Install the APK, enable it in LSPosed (scope: System UI and aodservice), reboot.

Configure: edit BOTTOM_MARGIN_RATIO in MainHook.java (fraction of screen height; default 0.035) and rebuild with Actions.

How it works: the FaceWidget plugin in aodservice sets the bottom margin of the nowbar_card_container view. The module intercepts setLayoutParams for that view and lowers the margin. The Now Bar on the AOD screen is not affected.

Troubleshooting: check LSPosed logs for lines containing NowBarBottom and attach them to an issue.

Now Bar Bottom (Russian)

LSPosed-модуль для Samsung One UI: опускает Now Bar на экране блокировки вниз.

На Galaxy A-серии с оптическим сканером отпечатка в экране Now Bar стоит выше сканера, чтобы не перекрывать его. Модуль снижает нижний отступ капсулы, и она встаёт у нижнего края, как на флагманах.

Проверено

  • Galaxy A36 (SM-A366B), One UI 9.0, Android 17, сборка A366BXXUCDZIF

На других моделях и прошивках не проверялось. Сработает ли модуль там, неизвестно.

Важно

Капсула окажется поверх области сканера. Палец по-прежнему считывается, но значок отпечатка может быть закрыт.

Установка

  1. Нужны root и LSPosed.
  2. Скачайте APK из Releases (или соберите сами, см. ниже) и установите.
  3. LSPosed → Модули → Now Bar Bottom → включить. Область: System UI и aodservice (выбраны по умолчанию).
  4. Перезагрузите телефон.

Настройка

В MainHook.java константа BOTTOM_MARGIN_RATIO — отступ как доля высоты экрана. Меньше значение — капсула ниже, больше — выше. По умолчанию 0.035.

Как это работает

Плагин FaceWidget в aodservice задаёт нижний отступ вида nowbar_card_container. При сканере в экране отступ примерно 7,8% высоты экрана плюс смещение под сканер, без сканера 3,5–5,6%. Модуль перехватывает установку параметров этого вида и снижает отступ до заданного значения. Положение Now Bar на AOD (всегда включённом экране) не затрагивается.

Сборка

Вкладка Actions → Build APK → Run workflow. APK будет в артефактах запуска.

Если не работает

LSPosed → Журналы → вкладка «Модули», строки с NowBarBottom. Приложите их к issue. После обновления прошивки Samsung может переименовать вид, и модуль перестанет срабатывать.

About

LSPosed module: move Samsung Now Bar to the bottom on Galaxy A-series (in-display fingerprint)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages