or the Windows 'RKBatchTool.exe'. It is available in the recently released Android 4.4.2 SDK
under <path_to_SDK>/rk3188/RKTools/linux/Linux_Upgrade_Tool_v1.16
To make them more readily available I've bundled the Linux tools as flash-tool.7z and they can be used as follows:
1. Download and unzip flash-tool.7z (https://drive.google.com/file/d/0B99...FlwTW91Z3p1a1E)
2. cd to flash-tool
3. Link your component image files that you want to flash
e.g. ln -s <path_to_file>/boot.img boot.img
4. Link your parameter file as parameter
e.g. ln -s <path_to_file>/parameter parameter
5. Link your bootloader file as RK3188Loader
e.g. ln -s <path_to_file>/RK3188Loader\(L\)_V1.24.bin RK3188Loader
6. Edit config.ini and package-file and check the image files are correct
i.e. add or remove lines related to the images required
7. Make the 'update.img' file
./MAKE-FLASH
To flash the 'update.img' file first connect the device bootloader mode and then enter:
./upgrade_tool lf
./upgrade_tool uf
or if it includes changing the bootloader then enter:
./upgrade_tool ef
./upgrade_tool uf
You can also use the tool interactively by just entering './upgrade_tool' as this will first display whether it has found your device and also show its mode (i.e. Loader or Maskrom). Maskrom mode allows you to use the 'db' command to download a new bootloader and you can enter the Maskrom mode by erasing the flash with the 'ef' command.
The tool also allows you to flash individual image files (boot, misc, kernel, recovery and system) as well as the ability to flash the parameter file (e.g. 'di -p' where it will use 'config.ini' for the location of the file) so it can be used similar to the Windows 'RKAndroidTool.exe'.
For many users one of the key benefits of the 'upgrade_tool' is there is no need to install drivers unlike the Windows tools. For developers it means you can compile, build and flash all from the same Linux machine.
Comment