Skip to content

About

Android app that creates custom-named aliases of installed apps in your launcher's app drawer (tested on Samsung One UI). Each alias is a tiny generated stub APK that reuses the target's icon, with an optional shortcut-arrow badge.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Alias Maker

Alias Maker mascot

A small Android app that creates custom-named copies ("aliases") of other installed apps. Each alias appears in the launcher's app list (tested concept for Samsung One UI) with a name you choose, the target app's icon and an optional shortcut-arrow badge, and simply opens the original app when tapped.

Alias list New alias
Alias list New alias dialog

Why I made this

Many apps don't include the company name in their own name. The Sennheiser app is just "SmartControlPlus" and the UniCredit banking app is just "Smart Banking". In a long app drawer sorted by name they are hard to find if you remember the brand and not the app's title, and that adds friction every time you want to open them. With Alias Maker I can give them the name I actually look for ("Sennheiser SmartControlPlus", "Unicredit Smart Banking") so they sit where I expect them in the launcher's alphabetical list. The screenshots below show exactly these two examples.

Why not just activity-aliases?

Android only allows <activity-alias> entries declared in the manifest at build time, and their labels can't change at runtime. Pinned shortcuts can be created on demand, but they live on the home screen and not in the app drawer. So Alias Maker takes a different route: every alias is a tiny real app generated and installed on the device.

How it works

  1. Stub template (:stub module). A minimal APK with a single launcher activity (StubActivity). It has no UI: it reads the target package name from manifest meta-data, starts that app's launch intent and finishes. Its manifest contains placeholders for the package name (com.aliasmaker.stub.template), the label (LABELPLACEHOLDER) and the target (TARGETPLACEHOLDER), and its icon is an adaptive icon whose foreground is a placeholder PNG. The built stub is bundled into the main app's assets (stub-template.apk) at build time.
  2. Patching (AxmlPatcher). When you create an alias, the app copies the template and rewrites the string pool of the binary AndroidManifest.xml, replacing the placeholders with a unique package name (com.aliasmaker.stub.<id>), your label and the target package.
  3. Icon (IconRenderer). The target's icon is loaded with the PackageManager, drawn full-bleed (adaptive layers are used as they are; legacy icons are centered on white) onto a 432x432 canvas, optionally with a Windows-style shortcut arrow, and saved over the stub's foreground PNG. Because the stub uses an adaptive icon, the launcher fills its shape properly instead of shrinking a small legacy icon.
  4. Signing (AliasBuilder). The re-zipped APK is signed (v1 + v2) with apksig using the keystore in app/src/main/assets/alias.p12.
  5. Installing. The APK is installed with a PackageInstaller session. Android asks you to confirm each installation once.
  6. Listing and deleting. The alias list is simply the installed packages starting with com.aliasmaker.stub.; no extra storage is used. Delete uninstalls the stub.

Building

Requirements: Android SDK (platform 36), a JDK 17+ (Android Studio's bundled JBR works), and keytool.

The alias APKs are signed with a key you generate yourself (it is not committed to the repository):

keytool -genkeypair -keystore app/src/main/assets/alias.p12 -storetype PKCS12 \
  -alias alias -keyalg RSA -keysize 2048 -validity 36500 \
  -storepass aliasmaker -keypass aliasmaker -dname "CN=Alias Maker"

Then create local.properties with sdk.dir=<path to your Android SDK> and build:

./gradlew :app:assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk

Using it

  1. Allow "Install unknown apps" for Alias Maker when asked (the "New alias" button opens that setting if it's missing).
  2. Tap New alias, search for the app to alias, pick it, set the alias name, choose whether to add the arrow badge and tap Create.
  3. Confirm the system install prompt. The alias shows up in the app drawer.

Limitations

  • One install confirmation per alias; there is no silent install without special privileges (Shizuku, device owner).
  • Samsung Auto Blocker or Play Protect may block or warn about the self-signed stub APKs.
  • The alias icon is a snapshot of the target's icon at creation time and doesn't follow themed icons; recreate the alias to refresh it.
  • Each alias counts as a separate installed app.

Disclaimer and contributing

This is a personal hobby project, provided as is, with no warranty or guarantees of any kind: no promise that it works on your device or launcher, that it stays compatible with future Android or One UI versions, or that it will be maintained or supported. Use it at your own risk. It installs small generated apps on your device, so understand what it does (see above) before using it.

Forking, issues and pull requests are very welcome. If you want to take the idea further or fix something, please go ahead.

License

MIT

About

Android app that creates custom-named aliases of installed apps in your launcher's app drawer (tested on Samsung One UI). Each alias is a tiny generated stub APK that reuses the target's icon, with an optional shortcut-arrow badge.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages