This page describes how to install an image to the nand flash of Marsboard RK3066, ie, how to flash the board. You can choose to either flash the whole image (ie, update.img) to the board or just flash the selected partitions. You can download the prebuilt images or from our server the images.
|
- Previous Post Download Rockchip FactoryTool v5.0, Use this Firmware tool to flash you TV Box Next Post Download Amlogic USB Burning Tool V2.0.5.15, Tool v2.0.4.3, and more 2019 Must Know! To protect your pivacy, our experts recommend IPVanish VPN!
- Sep 14, 2017 We start the Rockchip Create Upgrade program as the ADMINISTRATOR (right click on “SDFirmwareTool.exe”) In the program we select: – Drive where we have connected the SD card – Activate the SD BOOT option in the program menu – Path where we have the IMG file.
Before you start
Sep 01, 2020 Rockchip Factory Tool is a small application that allows you to flash stock firmware on RockChip based smartphones and tablets. Here on this page, we have managed to share the latest version of Rockchip FactoryTool including the previous versions. Features of Rockchip Factory Tool. Nov 02, 2019 Download Rockchip Create Upgrade Disk Tool v1.4 from here. BTW, if you need, you can download Rockchip Batch Tool v1.8 from here and Rockchip FactoryTool v5.0 from here. If you need a tool like this for Allwinner devices then download PhoenixCard v3.1.0 from here. Rockchip Create Upgrade Disk Tool helps you to install firmware on Rockchip.
Keep in mind that:
What you will need to flash the board is:
- a MarsBoard RK3066 board
- a PC running Windows (XP 32/64bit, Windows 7 32/64 bit) or Linux (32/64bit)
- a micro USB cable with one side plugged in to the OTG port of MarsBoard and the other side plugged into the USB port on PC.
Windows
The Windows tool for flashing the image is provided by Rockchip. To flash the update.img, you need to use the RKBatchTool and to flash the partitions, you will need to use RKDevelopTool. Both RKBatchTool and RKDevelopTool rely on the RK USB driver so you will need to install it first as below:
Install driver
There two ways to install the driver under Windows:
- install using RKDriverAssistant tools - the easy way
- install manually
If you have already installed the USB driver please skip this step.
Install using RK Driver Assistant tools
There’s no need to connect your Rockchip device during this procedure just download and extract RKDriverAssistant.zipThen double click on DriverInstall.exe in the RKDriverAssistant directory to start the utility.If you've previously tried to install the Rockchip USB drivers for any Rockchip devices make sure you click “Uninstall Driver” first.
Then click “Install Driver”, and depending on your version of Windows the Security below may show up twice during installation. Just click “Install”
when the driver has finish installing then shut down MarsBoard and connect the MarsBoard to your computer and let the board go to recovery mode, then your computer will detect the board and you will see it within device manager.
Now the driver should have been installed successfully!
Install Manually
Download the file (Rockusb_Driver_v3.7.rar) from here and shut down the MarsBoard then connect the MarsBoard to the computer and let the board go to recovery mode. After your computer should detect the board and you will see an unknown device within device manager.
Select the Unknown device then right click and select 'Update Driver Software'.
Select 'Browse the computer for driver software'.
Find the file unzipped file you downloaded earlier (Rockusb_Driver_v3.7.rar) and select either the 32/64bit folder then click 'OK' to install.
When the driver is installed successful you will then see a Rockusb Device in the device manager window.
Now the driver is installed successfully.
Flash Image
There are two methods to flash an image use android tools.
- use Download Image (can flash by partitions)
- use upgrading firmware (flash update.img only, it will erase everything.)
Using AndroidTool to flash update.img (Firmware)
Download AndroidTool from here. Then unzip it and double click AndroidTool.exe
Select an image (RK3066 update.img), click Firmware. For information on how to make an update.img see update.img
Power down the MarsBoard and connect the MarsBoard to the computer then let the board go to recovery mode after the program should detect the device.
Click the 'Upgrade' button to begin flashing and when the flashing process finishes successfully you will see the following interface.
If the flashing has aborted ,it could possibly be an error with the update.img, you can either try to redo the operations above or make the update.img again!
Using AndroidTool to falsh image by partition
Download AndroidTool from here. Unzip it the file and double click AndroidTool.exe.
Power down the MarsBoard and connect the MarsBoard to the computer and let the board go to recovery mode then the program will detect it.
There are eight selections to choose from so select the correct row and then select the checkbox to the left of the row to select it. After you must click the column on the right side for the path of the file you want to flash. You can then select one or more files and flash them at once. Finally Click 'Run' to flash images to the device (the right most selection shows the log of the progress).
If successful the board will disconnect from the tool and boot into the system.
Please Note:
- The kernel is contained within the boot.img when you package the image by './mkimage.sh ota' please see Android Build for more information.
- you can flash one of more image at one time as needed
Preparing IDB failed
This happens at upgrading bootloader, if you need to upgrade the bootloader or the update.img contains a new bootloader, you probably will meet this. The marsboard is 'bricked'. Follow this unbrick instructions to unbrick it.
See Full List On Rockchipfirmware.com
Linux
Rockchip has provided tools for upgrading within Linux (closed source) since Android 4.4. The initial RE work of the Rockchip bootloader updating protocol is by naobsd and has been improved by some in rkflashtool. linuxerwang has made a GUI version of the rkflashtool called rkflashkit.
Warning: both rkflashtool and rkflashkit can not flash the update.img.
Using Linux Upgrade Tool to flash update.img
Download the Rockchip linux upgrade tool here. Unzip it and you will get a file called upgrade_tool which is a binary executable file under Linux.
Flash update.img
Let the board go to recovery mode and run the following command to flash the update.img:
Lowlevel Format nand
If you have an error with upgrading you can low level format the nand flash first with the following command:
Flash parameter
Flash bootloader
Flash the boot.img
Flash the kernel.img
Others
There are other commands in the upgrade_tool, such as:
Installing RkFlashKit
In order to install RkFlashKit in Debian or Ubuntu, you need to get the source code, build it,You can download the pre-built rkflashkit here or build it yourself with the following command:
And install it with the following command
Flashing firmware with RkFlashKit
Run it with the following command
The tool is similar to RkAndroidTool as it can burn partition images to specific partitions. You’ll need to enter recovery mode just like you would do in Windows, by pressing the recovery button, before powering the device via the USB port, and connect the USB cable to your PC. RkFlashKit should automatically find your device, so you just have to select the correct NAND partition, select the image file to flash, and click on Flash image.
- Click the Nand partition and you will see the partitions of the board listed then choose the one you want to flash.
- Choose the location of the image you want to flash to that partition.
- Click the 'Flash image' button and it will start flashing
- After it's finished click 'Reboot Device' button to reboot the board.
Flash RKBatchTool Firmware File with RkFlashKit
the firmware updates are often distributed using RKBatchTool file format, which can not be directly handled by RkFlashKit. Luckily, there are some other tools available to extract the partitions file from such firmware.
You’ll first need to build rk-tools:
Then use img_unpack tools to unpack the firmware to another format:
Finally, run afptool to extract the files from the resulting file into “firmware” directory:
./afptool -unpack update_mk908_106j2107_04_unpack.img firmwareCheck file...OK
UNPACK -------Now that we’ve got our partition files, simply use RkFlashKit as mentioned above.
Please enable JavaScript to view the comments powered by Disqus.blog comments powered by DisqusRetrieved from 'http://www.hotmcu.com/wiki/index.php?title=Flashing_Firmware_Image_Files_Using_The_Rockchip_Tool&oldid=6437'
This is a common guide for reflashing RockChip based devices. All RK SoC (RK3066, RK3188, RK3288, RK3229, RK3328, RK3399 and so on) supports the same applications and drivers for Host system, if 3rd party producers do not add any other limitations or special options. Differences can be in hardware parts, so you need to detect OTG port and recovery buttons correctly.
Notice: this guide is 100% working with Ugoos RK devices.
Notice: this guide is 100% working with Ugoos RK devices.
BEFORE START
What do you need:
- Image file
- Host PC
- USB OTG Cable
- Supported host OS: Windows XP (32/64bit) Windows 7 (32/64bit) Windows 8 (32/64bit) Windows 10 (32/64bit)
- Host PC
- USB OTG Cable
- Supported host OS: Windows XP (32/64bit) Windows 7 (32/64bit) Windows 8 (32/64bit) Windows 10 (32/64bit)
The first thing you need is to download the archive with firmware. Inside archive, you find:
- BatchTool or Android Tool - tool for reflashing (separate Android Tool and drivers you can download HERE)
- DriverAssitant - tool to install drivers and firmware image file
- Firmware image
- DriverAssitant - tool to install drivers and firmware image file
- Firmware image
INSTALLING DRIVERS
Launch RK DriverAssitant and press “Install Driver”
Apply all changes and warnings during installation until finishing message
CONNECTING TO PC
Run Batch tool or Android tool on your host PC.
In order to connect device with Host PC and run bootloader mode you should perform following steps:
![Tool Tool](/uploads/1/2/4/6/124636187/355221205.jpg)
1. Plug off device power adaptor.
2. Connect device to computer via usb OTG port, much better to use certified OTG USB cable from package.
3. Run Batch tool or RK Android tool
4. Hold the hardware recovery button.
5. Plug in power adaptor and Turn on device if not turning on automatically.
Tip: if you can’t hold recovery button or it’s broken you can reboot to bootloader from Ugoos power menu.
RECOVERY BUTTONS AND OTG USB PORTS LOCATION ON UGOOS DEVICES YOU CAN SEE IN THE END OF THIS INSTRACTION.
IF YOU USE ANDROID TOOL:
In Android Tool choose “Upgrade Firmware” tab. If you did everything correctly and the RK driver installed properly on your computer, ANDROID TOOL shows you message “Found One Loader Device “
Click “Firmware” button and specify the path to the firmware file. You need to wait until the program download information about the firmware, then it will display report on the screen. Now click “Upgrade” button to start reflashing device. At the end, you will see a report indicating a successful operation.
For flashing dualboot or clear linux firmware (for example dualboot UT3/UT3s/UM3 firmwares)
Run Android Tool. If you did everything correctly and the RK driver installed properly on your computer, ANDROID TOOL shows you message “Found One Loader Device “ In Android Tool choose “Download Image” inset. Default program configured to flash 'clear' android on your device. If you want install “Dualboot” or “Clear Linux” click right mouse button by program window, and then select “Load config”.
3. Then choose one of configurations files:
config.cfg - if want flash only Android
config_dualboot.cfg - if want flash dualboot
config_linux.cfg - if want flash only linux
3. Now click the “Run” button to start reflashing device. At the end, you will see a report indicating a successful operation.
IF YOU USE BATCH TOOL:
Main difference between Android tool and Batch tool is Batch tool can reflash several devices at the same time (6 max).
Run the Rockchip Batch Tool and click on the “…” to choose file with firmware. If you did everything correctly and the driver is installed on your computer, you will see green light on one of the indicators.
Run the Rockchip Batch Tool and click on the “…” to choose file with firmware. If you did everything correctly and the driver is installed on your computer, you will see green light on one of the indicators.
Now click the “Upgrade” button to the firmware of the device. At the end, you will see a report indicating a successful operation.
OTG usb ports and recovery buttons on Ugoos devices:
Ugoos UT4/UT3+/UT6
Recovery button and USB OTG port is on the right side
Ugoos UT3/UT3s (old version)
Recovery button and USB OTG port is on the right side
Ugoos UM3/UM4
Recovery button is from the left to antenna connector
OTG USB port is left one.
Ugoos UT5 Pro
Ugoos UM2
Ugoos UT2
Rockchip Firmware Flash Tool
Ugoos UT1
ALLFINE 10 JOY 4.1.1 STOCK ROM
Find us: