Skip to content

industrialtablet/HYY-otastar-app-for-rk3566-rk3568-rk3588-industrial-tablet-and-mini-pc

Repository files navigation

OTAstar

——Best ota uprade application for your android

1. introduction

OTAstar is an android and multi-user OTA upgrade program. You will need obtain the appropriate appid and key from our platform services. Configure in AppConfig to ensure that your device can normally request server upgrades and other resources. Please refer to how to obtain appid and secret key (How to obtain appid and secret key).

2. Supported Devices

RK3566 RK3568 RK3588 S905x4

3. Obtain appid and secret key

sign up our platform account

Open the page

http://ota.fast.szhyy.xyz/register.html

image-20230303111914862

Enter the correct email address to obtain the email verification code. then set your sign up password, and your name, and phone. then click the sign up button to register our platform user. if register success this page will be forward to http://ota.fast.szhyy.xyz/login.html .like .

image-20230303112231664

Enter the account and password you just registered and click Log in

create application and obtain appid and secretKey

image-20230303113224864

if you sign in the Background management page , There are two ways you can create an app,

First, click "Application" Menu item open in the left menu bar enter application list page . then click "+Application" button in the top bar. like this

image-20230303113659224

In the second way, click the "+App" button on the right of the navigation bar at the top of the home page to create an application, like this.

image-20230303113907633

then you open the create application page, All you need to do is type in the name of the app and a description of what it should be, then click the "save" button, like this.

image-20230303114108832

When you have successfully created an app, it will be displayed in the application list. like this

image-20230303114511706

Copy APPID and SecretKey to the fields corresponding to the AppConfig class of the android ota update client development code, please look the "How to configuration appid and secret key " topic

4. Configuration appid and secret key

Open the AppConfig file in the cn/syzbtech/ota package, then set your Appid and secret key into the APPID field and SECRET_KEY field of this class

public class AppConfig {
    public static final String HOST = "";
    public static final String APPID="";
    public static final String SECRET_KEY="";
}

5. Install as system application

adb root
adb remount
adb push <the path of your apk > /system/app