ADB Is Not Recognized
If Windows displays:
'adb' is not recognized as an internal or external command
Open Command Prompt inside the platform-tools folder or run:
cd C:\platform-tools
Then try again:
adb devices
Technical Guide for CMZ Launcher: Disabling the Default Home Screen
This process replaces the default Android TV launcher to ensure a controlled environment for the Mosques. By deploying the CMZ Launcher (us.msasoftware.cmzlauncher), administrators can prevent the display of unwanted or inappropriate images typically found on the standard interface. The CMZ Launcher is designed to automatically launch the CMZ TV app and ensure that the application restarts automatically whenever the TV restarts.
The Android Debug Bridge (ADB) is a versatile command-line tool that lets you communicate with a device. To begin:
To allow the computer to communicate with your TV, you must unlock the internal developer settings:
Video Tutorial: https://youtu.be/0xY2-p-FJLU?si=9I4OotG2ULNl7mzj
Once your TV is ready, you must establish a handshake between your computer and the TV over your local network: We can connect to 2 ways
3. 1 [1st way] Pair mode:
Video Tutorial: https://youtu.be/iFzz744quJ4?si=E9nYvjUtu6RUHu8Y
Note: Only need to flow till 2:26
3.2 [2nd way] Direct connect
With the connection established, you can now execute the command to disable the system’s default launcher. Running this command permanently enforces the pre-installed CMZ Launcher as the primary home screen, ensuring the TV remains locked to the intended Mosque environment.
adb shell pm disable-user — –user 0 [package name shown on the tv]
Example:
adb shell pm disable-user –user 0 com.google.android.tvlauncher
This method installs the CMZ Launcher APK directly from a Windows computer to an Android TV. The computer and Android TV must be connected to the same Wi-Fi or local network.
Before starting, make sure you have:
Download the official Android SDK Platform-Tools:
Download Android SDK Platform-Tools
Select the version for your operating system:
Extract the downloaded ZIP file.
For example, Windows users can extract it to:
C:\platform-tools
Download the latest CMZ Launcher APK.
Rename the file:
cmz-launcher.apk
Move the APK into the extracted platform-tools folder.
The Windows folder should look like this:
C:\platform-tools\adb.exe
C:\platform-tools\cmz-launcher.apk
You are now a developer!
The Developer Options menu is now enabled.
Menu names may be slightly different depending on the Android TV brand and Android version.
Return to the main Settings screen and open:
Settings → Device Preferences/System → Developer Options
Android TV 11 and newer versions normally include Wireless Debugging with a pairing-code option.
Open:
Developer Options → Wireless Debugging
Turn Wireless Debugging on.
Some older Android TVs only provide USB Debugging or Network Debugging. Enable the available debugging option and connect using the TV’s IP address on port 5555.
cmd
4. Press Enter.
Command Prompt will open inside the correct folder.
Use this method if Android TV shows Pair devices with pairing code.
On Android TV:
Android TV will display:
Example:
IP address and pairing port: 192.168.1.15:37845
Pairing code: 482715
Keep this screen open.
On the computer, run:
adb pair 192.168.1.15:37845
Replace the example IP address and pairing port with the values displayed on Android TV.
When prompted, enter the six-digit pairing code:
Enter pairing code: 482715
If pairing is successful, the computer will display:
Successfully paired to 192.168.1.15:37845
The pairing port is temporary. Do not use it as the main ADB connection port.
Return to the main Wireless Debugging screen.
Find the separate IP address and port shown under Wireless Debugging.
Example:
192.168.1.15:42301
Connect using:
adb connect 192.168.1.15:42301
Replace the example address with the actual IP address and connection port displayed on Android TV.
A successful connection will show:
connected to 192.168.1.15:42301
If Android TV displays a debugging authorization request:
If Android TV does not show a pairing-code option, find its IP address:
Settings → Network & Internet → Connected network
The IP address may look like:
192.168.1.50
Connect using the TV’s ADB network address and port. If the TV does not display a port, 5555 is commonly used:
adb connect 192.168.1.50:5555
Replace the example IP address and port with the values used by your Android TV.
Accept the debugging authorization request on the TV.
If cmz-launcher.apk is inside the platform-tools folder, run:
adb install cmz-launcher.apk
Wait for the installation to complete.
A successful installation will display:
Performing Streamed Install
Success
CMZ Launcher is now installed on the Android TV.
You normally do not need to enable “Install unknown apps” when installing an APK directly through an authorized ADB connection.
If CMZ Launcher is already installed, use:
adb install -r cmz-launcher.apk
The -r option updates the application while retaining its existing local data.
If the APK is stored somewhere else, enter its complete path.
adb install “C:\Users\YourName\Downloads\cmz-launcher.apk”
The CMZ Launcher package name is:
us.msasoftware.cmzlauncher
Use this package name only if it matches the CMZ Launcher APK you are installing.
adb shell pm list packages | findstr us.msasoftware.cmzlauncher
If the installation was successful, the result will show:
package:us.msasoftware.cmzlauncher
On Android TV:
If Windows displays:
'adb' is not recognized as an internal or external command
Open Command Prompt inside the platform-tools folder or run:
cd C:\platform-tools
Then try again:
adb devices
If adb devices shows:
192.168.1.15:42301 unauthorized
Check the Android TV screen and accept the debugging authorization request.
If no request appears:
If you see:
adb: no devices/emulators found
Confirm that:
Reconnect using:
adb connect [TV_IP_ADDRESS]:[CONNECTION_PORT]
If the connection fails:
adb kill-server adb start-server
The Wireless Debugging port may change after Android TV restarts.
If ADB reports:
adb: more than one device/emulator
Run:
adb devices
Copy the Android TV’s address and specify it in the installation command:
adb -s 192.168.1.15:42301 install -r cmz-launcher.apk
If you see:
INSTALL_FAILED_VERSION_DOWNGRADE
Use a newer CMZ Launcher APK.
If the older APK must be installed, uninstall the current version:
adb uninstall us.msasoftware.cmzlauncher
Then install the APK:
adb install cmz-launcher.apk
If you see:
INSTALL_FAILED_UPDATE_INCOMPATIBLE
The existing application and new APK may have different signing certificates.
Uninstall the existing version:
adb uninstall us.msasoftware.cmzlauncher
Then reinstall the APK:
adb install cmz-launcher.apk
After completing and testing the installation, disconnect Android TV:
adb disconnect 192.168.1.15:42301
To disconnect all ADB devices:
adb disconnect
For security, turn off Wireless Debugging after the installation is complete.
CMZ Launcher replaces the default Android TV home screen and automatically opens the CMZ TV app when the TV starts, helping maintain a distraction-free masjid environment.
It helps keep the TV in a controlled masjid display environment and prevents unrelated content from appearing on the screen.
Yes. CMZ Launcher is designed to restart automatically when the Android TV is powered on.
No. CMZ Launcher controls the TV’s home screen and startup behavior, while the CMZ TV app displays prayer times, announcements, flyers, and other masjid content.
ADB is required for advanced setup, such as disabling the default Android TV launcher and setting CMZ Launcher as the primary home screen, if the TV requires it.
Compatibility may depend on the TV’s Android version, manufacturer settings, and support for Developer Options and Wireless Debugging.
Check that:
Uninstalling CMZ Launcher may remove its locally stored data and settings.
We built this AI advisor to think on your behalf — not ours. Pick what you want to show on your TVs or describe it in your own words, and we’ll map the lowest-cost configuration without wasted spending.
Standard prayer timetables across all screens are always 100% Free in Core.
All features work seamlessly across all connected TV displays.
Standard text announcements are always included free in Core.
Standard online web donations are included free in Core.
Single admin access is 100% Free in Core forever.
Doing the brainwork to find the lowest-cost configuration and prevent wasted spend...
Here are the exact packages that match your TV setup:
Instead of paying $27.97/mo for 3 separate packages, get Community All-in-One at $29.99/mo to unlock every feature on ConnectMazjid — including the 4th Spotlight package (video streaming & digital ads), White-Label branding removal, and priority support!
This is completely on us for the great work your committee does for the community. Full multi-admin management is unlocked at zero cost with advance notice before any future changes.
Please fill out the form below and we'll get back to you.