Skip to content
Dmitry Sorokin (@sorydima) edited this page Nov 18, 2024 · 1 revision

Wiki for the Katya ® Updater Repository

Welcome to the Katya ® Updater repository! This wiki provides essential information to help you understand, use, and contribute to the Updater application within the Katya ® ecosystem.


Overview

The Katya Updater application is a core utility for managing firmware updates, application patches, and security upgrades across Katya devices. Built with a focus on reliability, security, and user control, the Updater ensures that Katya users always have access to the latest features and improvements.


Table of Contents

  1. Getting Started
  2. Repository Structure
  3. Features
  4. Installation
  5. Configuration
  6. Contributing
  7. Troubleshooting
  8. Licensing

Getting Started

  1. Clone the Repository
    To access the Updater application codebase, clone the repository:

    git clone https://github.com/Katya-Incorporated/platform_packages_apps_Updater.git  
  2. Set Up Your Development Environment
    Ensure you have the required tools for building Android applications (e.g., Android Studio, Java, Gradle).

  3. Build and Deploy
    Follow the instructions below to build and test the Updater application.


Repository Structure

  • /src: Main source code of the Updater application.
  • /res: Resource files such as layouts, drawables, and strings.
  • /tests: Automated test cases for the application.
  • /docs: Documentation and references for developers.
  • /build: Build scripts and configurations.

Features

  1. Firmware Updates

    • Download and install the latest firmware directly from Katya servers.
  2. Patch Management

    • Apply incremental updates to reduce data usage and installation time.
  3. Security Updates

    • Prioritize critical security patches to ensure device protection.
  4. User Notifications

    • Notify users about available updates with customizable scheduling options.
  5. Rollback Options

    • Allow users to revert to previous stable versions in case of issues.

Installation

  1. Build the Application
    Run the following command to assemble the debug APK:

    ./gradlew assembleDebug  
  2. Install on a Device
    Deploy the APK to your device or emulator:

    adb install -r app/build/outputs/apk/debug/app-debug.apk  
  3. Launch the Application
    Open the Updater app and test its functionality.


Configuration

The Updater app allows for several custom configurations:

  1. Update Sources

    • Define custom update servers by modifying the update_sources.xml file in /res/values.
  2. UI Customization

    • Adjust themes, colors, and layouts in the /res directory.
  3. Notification Settings

    • Customize notification behavior in the NotificationManager module.
  4. Auto-Update Policies

    • Configure auto-update rules in the /src/config folder.

Contributing

We welcome contributions to improve the Updater application!

  1. Fork the repository and create a new branch for your changes.
  2. Make improvements or add features to the codebase.
  3. Write tests to validate your changes.
  4. Submit a pull request with a clear description of your contributions.

Troubleshooting

If you encounter issues:

  1. Check Logs: Use adb logcat to debug errors.
  2. Review Issues: Visit the Issues section for solutions or report a new issue.
  3. Documentation: Refer to the /docs directory for detailed guides.

Licensing

The Updater application is distributed under the Katya Open Source License. It is free to use, modify, and distribute under the terms of this license.

Stay updated with Katya ®, ensuring your devices are always secure and up to date!