QuoteLockX

Screenshot

Displays quotes on your lockscreen, because why not.

This new fork will be continuously maintained as the original QuoteLock is no longer maintained and has been archived.

Features

  • Displays quotes on your lockscreen, because why not.
  • Customizes the quotes style.
  • Shares the quote card to other apps.
  • Collects your favorite quotes.
  • Records the quote history that you can always look up old entries.
  • Import/Export collections in .db or .csv format on local storage.
  • Backup/Restore collections on Google Drive.
  • Displays quotes on the AmbientDisplay page of OnePlus7Pro OOS11 (ALPHA)
  • Imports custom fonts (Magisk module needed for lockscreen layout).
  • Support for variable font weight and slant axis properties.
  • Support for quote detail pages for some providers (currently only supported by Jinrishici).
  • Support for widget.

Tips

Long press on the quotes to show refresh and collect buttons:

Notice

Only near-AOSP Android ROMs are supported! This is due to the heavy lockscreen modifications made by different OEMs.(This app is also compatible with the official MIUI14 on default lockscreen confirmed by community members.)

After installing, please open the app at least once to allow the quote downloader service to run in the background.

Make sure to whitelist QuoteLockX if you are using a task-killer app! They can interfere with the download service.

Requirements

  • A rooted phone running Android 5.0 or above
  • Xposed framework

Providers

TODO

Todo

  • Show on status bar.

In Progress

Done

  • Add support for Chinese.
  • Add support for custom fonts.
  • Optimize lockscreen layout.
  • Optimize style for Android S(dynamic colors).
  • Refactor the settings page.
  • Completely redesigned the app.
  • Add support for multi-classification selection of Hitokoto.
  • Optimize for variable fonts.
  • Advanced detail pages (currently only supported by Jinrishici).
  • Add support for widget.
  • Add support for in-app upgrades.

License

Distributed under the MIT License.

Package

com.yubyf.quotelockx

Authors

Alex Liu

Releases

v3.2.1

Release type: Stable

7/22/2023, 11:33:24 AM

ChangeLog

  1. Since the OpenAI usage API(/v1/dashboard/billing/usage) is no longer available in July 22, the cost usage on the openai settings page has been replaced with token usage(statistics locally).

  2. Also fixed the API key validation error for the same reason.

更新日志

  1. 由于 OpenAI 用量 API(/v1/dashboard/billing/usage) 在7月22日起不再可用,因此 OpenAI 设置页面中的费用使用量已替换为 Token 使用量(本地统计);

  2. 修复了由同样原因导致的 API 验证错误的问题。

v3.2.0

Release type: Stable

7/20/2023, 4:07:41 PM

ChangeLog

This app is also compatible with the official MIUI14 on default lockscreen confirmed by community members.

  1. Expanded padding options for the lock screen style to resolve the issue of notifications lockscreen of Android 13 overlapping the quote.
  2. Fixed an issue where the Dark Mode option value was not being saved.(#16)
  3. Optimized the design of the About Page.
  4. Added support for in-app upgrades.
  5. Fixed the problem where details were not saved when collecting quotes from Jinrishici on the lockscreen.
  6. Added OpenAI as our quote provider.
  7. Fixed the issue of screen blinking when switching languages.
  8. Added multilingual support for the Wikiquote provider.
  9. Misc improvements.

更新日志

由社区成员确认,本应用也与官方 MIUI14 默认锁屏兼容。

  1. 扩展了锁屏样式中的边距选项数量(解决 Android 13 锁屏界面通知会与格言重叠的问题);
  2. 解决了暗黑模式选项值无法保存的问题(#16);
  3. 优化了关于页面的设计;
  4. 增加了应用内升级。
  5. 解决了锁屏收藏来自今日诗词的格言时无法保存详细信息的问题;
  6. 添加了 OpenAI 作为格言来源;
  7. 解决了切换语言时屏幕闪烁的问题;
  8. 为 Wikiquote 服务增加了多语言支持;
  9. 其他细节优化。

v3.1.0

Release type: Stable

3/14/2023, 2:47:29 PM

Changelog

  1. Added support for quote detail pages for some providers (currently only supported by Jinrishici).
  2. Added support for widget.
  3. Misc improvements.

更新日志

  1. 增加详情页面,暂时仅支持今日诗词数据源;
  2. 增加对桌面组件的支持;
  3. 其他改进。

v3.0.3

Release type: Stable

10/17/2022, 11:55:12 AM

Changelog

  1. Added share page and added support for saving quote images to local storage.
  2. Added support for multi-classification selection of Hitokoto.
  3. Added support for weight and slant axis of variable fonts on card and lockscreen pages.
  4. Adjusted the source text color on the lockscreen page.
  5. Added support for quote search for collection and history pages.
  6. Added support for per-app language preference feature.
  7. Added support for in-app dark mode toggle.
  8. Fixed an issue where font files could not be selected in SAF below Android O.
  9. Misc improvements.

更新日志

  1. 增加分享页面,并支持将分享卡片保存到本地;
  2. 增加了对 Hitokoto 多分类选择的支持;
  3. 增加了在卡片和锁屏页面对可变字体的字重和斜轴属性的支持;
  4. 调整了锁屏页面来源文字颜色;
  5. 收藏和历史页面增加了对格言搜索的支持;
  6. 增加应用内多语言选项功能;
  7. 增加应用内深色模式切换;
  8. 修复 Android O 以下 SAF 无法选择字体文件的问题;
  9. 其他改进。

Released by Github Actions

v3.0.2

Release type: Stable

9/30/2022, 9:06:51 AM

Changelog

  1. Fixed a serious performance issue due to multiple recompositions in the card page.
  2. Added support for cache clearing.

更新日志

  1. 修复了由于卡片页面中的多次重组导致的严重性能问题。
  2. 增加了清除缓存功能。

Released by Github Actions

v3.0.1

Release type: Stable

9/29/2022, 11:57:50 AM

Changelog

  1. Optimized font display name.
  2. Fixed an issue where the conflict popup was showing multiple times after the first sync.

更新日志

  1. 优化字体显示名称;
  2. 修复在首次同步后仍然显示同步冲突弹窗的问题。

Released by Github Actions

v3.0.0

Release type: Stable

9/27/2022, 3:55:02 PM

Changelog

  1. Redesigned the APP.
  2. Added Lib Quotes sources.
  3. Added picture sharing feature for quotes.
  4. Fixed CSV backup crashes above Android 9.0.
  5. Refactored font management module. Now users can import ttf/otf fonts to use them in-app without enabling them in the System via Magisk module.
  6. Optimized support for variable fonts.
  7. Added merge/replace option for data import and restore in collections page.
  8. The last backup time is displayed in the sync menu.
  9. Fixed an issue where quotes would be refreshed every time the settings page was resumed
  10. Fixed the issue that the quote contents generated by the app could be collected.
  11. Added support for themed app icons above Android 13.

更新日志

  1. 重新设计 APP;
  2. 添加 Lib Quotes 源;
  3. 添加分享格言功能;
  4. 修复 Android 9.0 以上设备导出 CSV 时可能的崩溃;
  5. 优化自定义字体模块,现在可以导入字体并在应用内使用而无需启用 Magisk 模块;
  6. 优化对可变字体的支持;
  7. 优化导入/恢复文件功能(合并/覆盖选项);
  8. 同步菜单中显示上次备份时间;
  9. 修复每次进入设置页时格言都会刷新的问题;
  10. 修复由 APP 生成的内容可以被收藏的问题;
  11. 支持 Android 13 以上设备的主题化图标。

Released by Github Actions

v2.2.1

Release type: Stable

4/30/2022, 2:19:06 AM

Changelog

  1. Improved the experience of custom fonts page.
  2. Added dynamic color support for Android S.
  3. Fixed animation stuttering when refreshing quotes on the lockscreen(especially on Android S).

更新日志

  1. 提升自定义字体页面体验;
  2. 添加对 Android S 上的动态色彩功能的支持;
  3. 修复锁屏界面刷新格言时卡顿的问题(特别是在 Android S 设备上)。

v2.2.0

Release type: Stable

4/26/2022, 3:55:56 PM

Changelog

  1. Added support for importing custom fonts - ttf/otf(to use the custom fonts on lockscreen, you need to download and install the QuoteLockX-CustomFonts module in magisk).
  2. Removed built-in fonts to avoid copyright issue.
  3. Fixed SystemUI crashes caused by font loading error.
  4. Misc improvements.

Notice: You may need to reboot once and try again if font import does not work.

更新日志

  1. 添加自定义字体支持 - ttf/otf(为使自定义字体可在锁屏界面使用,您需要下载并在 Magisk 中安装 QuoteLockX-CustomFonts 模块);
  2. 移除内置字体以避免版权问题;
  3. 修复 SystemUI 在加载字体时可能导致的崩溃问题;
  4. 其他改进。

注意:如果字体导入不起作用,您可能需要重启一次设备再进行尝试。

v2.1.1

Release type: Stable

4/12/2022, 2:40:20 PM

  1. Added support for Chinese.
  2. Add support for Traditional Chinese. @cracky5322
  3. Fixed the issue that the animation was stuck after clicking on the blank area of the lockscreen on Android S.
  4. Fixed a migration error when importing collections data from a database exported from a version prior to v2.1.0.
  5. Start LSPosed manager correctly.
  6. Misc improvements.

v2.1.0

Release type: Stable

4/9/2022, 11:20:23 AM

NOTE In this version, there are some changes in the layout of quotes on the lock screen, and the user need to restart device or restart SystemUI through About>Restart System UI to ensure that the quotes works properly on the lockscreen.

  1. Fixed an issue that notifications covering the quote layout(above Android S).
  2. Added restart SystemUI preference in SettingsFragment to re-hook lockscreen that users don't need to restart devices to enable QuoteLockX.
  3. Fixed an issue where turning off "Display on AOD" did not work.
  4. Removed duplicate quotes in collections and histories.
  5. Added support for fortune_mod(limit maximum sentence length to 160).
  6. Add support for line spacing configuration between quote text and source.
  7. Misc improvements.

v2.0.3

Release type: Stable

4/6/2022, 3:17:51 PM

  1. Added CSV import/export support and redesigned the data backup menu.
  2. Uses SnackBars instead of Toasts.
  3. Adjusted vector icons.
  4. Fixed minor bugs.

v2.0.2

Release type: Stable

4/3/2022, 5:36:18 PM

  1. Attempt to start LSPosed manager's modules pages if the module is not enabled.
  2. Redesign app icons.
  3. Shows the backup file path after a successful local backup.

v2.0.1

Release type: Stable

4/3/2022, 9:06:14 AM

Fixed Xposed hook not working in v2.0.0.

v2.0.0

Release type: Stable

4/3/2022, 6:24:47 AM

Legacy release updates 1:

  1. Updated the UI with material design and added DayNight theme.
  2. Updated the api of Hitokoto and removed invalid sources(VNaaS, Goodreads QotD).
  3. Added Jinrishici.com source.
  4. Adapted to the lock screen layout of Android 11.
  5. Added collection feature and local backup and restore for database of collections.
  6. Added refresh and collect button on lock screen(long click the quote layout on lockscreen to show them).
  7. Added redirection support for EdXposed manager.
  8. Added font family and font style support and preset several free fonts.
  9. Added padding(top/bottom) options for quote layout.
  10. Added display on AmbientDisplay for OnePlus7Pro OOS11 OB4(TEST ONLY).

Legacy release updates 2:

  1. Added remote backup and restore (Google drive only).
  2. Add auto-sync feature for the remote account(Google account only) added in the collection page.
  3. Added history feature for quotes.

Release updates for current version:

  1. Refactored project codes with Kotlin.
  2. Redesigned pages with MaterialYou.
  3. Added quotes preview in settings page.
  4. Added a clear menu item to the quote histories page.
  5. Added detail pages for quote collections and histories pages.
  6. Insert the quote source into the histories database without the character '-'.
  7. Optimized import feature.
  8. Extract an 'AUTHOR' column from the 'SOURCE' column in quote databases.
  9. Fixed the wrong URL in BrainyQuote (#5).
  10. Fixed the issue where local backup and restore failed for collections caused by scoped storage above Android Q (#6). Users can back up as before, and restore by picking files through SAF(storage access framework).
  11. Misc optimization.