3.1.2. LAUNCH OS UPDATE WITH INTENT
Purpose
Launch the OS update with intent.
Intent Action
com.cipherlab.OtaUpdateService.SD
Intent Name
com.cipherlab.otaupdate.OtaUpdateService
Intent Parameters Data_SDPath
Example
Intent SDIntent = new Intent();
SDIntent.setClassName("com.cipherlab.otaupdate","com.cipherlab.otau
pdate.OtaUpdateService");
SDIntent.setAction("com.cipherlab.OtaUpdateService.SD");
Bundle bundle = new Bundle();
bundle.putString("Data_SDPath","/storage/sdcard1/
RS31.GMS.2020.20170513.sdupgrade.zip");
SDIntent.putExtras(bundle);
mContext.startService(SDIntent);
Remarks
1. "Data_SDPath" is the absolute path of the upgrade/downgrade package file.
2. The battery should be more than 50% and the memory should be larger than
the file size of upgrade/downgrade package. The service will check the amount of
free memory, SD card, or Flash, where the unzipped file is located.
Insufficiency: The free space is less than the size of update.
Upgrade/downgrade Package File
Flash (internal storage)
SD card
Update File Location
Flash
Flash
Flash
Flash
Flash
SD card
SD card
SD card
Data_SDPath
/storage/sdcard0/xx.zip
/storage/sdcard1/xx.zip
Flash Space
SD Card Space
Insufficient space
None
Insufficient space
Insufficient space
Insufficient space
Enough space
Enough space
None
Enough space
Insufficient space
Insufficient space
Insufficient space
Insufficient space
Enough space
Enough space
Insufficient space
Chapter 3 OS Update
Update Result
X
X
X
O
O
X
O
X
79
Need help?
Do you have a question about the RK25 and is the answer not in the manual?
Questions and answers