I am able to use android tool on windows to flash. however i still want to flash from linux(ubuntu 16)
when i try to reboot the device from command line i get :
:~$ sudo rkflashkit reboot
Found devices:
0x2207:0x330c
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Traceback (most recent call last):
File "/usr/bin/rkflashkit", line 17, in <module>
sys.exit(app.main(sys.argv[1:]))
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 99, in main
self.parse_and_execute(args)
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 130, in parse_and_execute
self.reboot()
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 205, in reboot
op.reboot()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 361, in reboot
self.__init_device()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 130, in __init_device
2, ''.join(prepare_cmd(0x80, 0x00060000, 0x00000000, 0x00000000)))
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1145, in bulkWrite
return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1129, in _bulkTransfer
raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1]
yes works for me as well on the RK3399, how ever the upgrade_tool is somewhat tricky, i did not use the command line as described.
Instead here is what i did …
sudo ./upgrade_tool
then you get the tools cryptic interface promting you to choose either rescan/quit or the number of the device it detected. there i just typed 1
after that you get a list of commands you can execute among them UF (or lf to low format first)
you choose (by typing) uf update.img
Now here is the tricky bit!! (i am not sure why it does not work by giving a path to the .img file)
I downloaded the ubuntu image from the firefly website (after download, extract, the result is a cryptic name starting with Firefly_RK3399…bla.img)
rename this file to update.img and move it into the directoy where the upgrade_tool is located. then restart the upgrade tool and choose 1 then when the list appears choos uf update.img … then it starts to test and upload, when its done the firefly will restart automatically and it worked …
I have the same problem and I have used the recommendations here to install Linux upgrade_tool 1.2.
Everything looks right but my Ubuntu host downt recognize the RK3399 device. I have a message
“ List of rockusb connected” no found rockusb… and I quit.
I have downloaded Ubuntu 1604 2017 0511 1112.img from firefly website.
I have renamed and installed everything according to the information here.
I have Ubuntu 16.10 64 bit on my host.
I have tried both recommended methods with the C-connection and Recovery and Reset keys.
Nothing I do makes the my Ubuntu Host to recognize the device!?
I found a third method to set the device in “Loader Mode”. The method what’s totally different from the other instructions on Internet. However this time it worked and I can start the upgrade_tool and chose my device.
However when I try to low format and flash the device I get an error: “creating comm object failed”!
It seems as the memory in the device can not be formatted or flashed for some reason. Maybe the memory is protected?
There is also many different Ubuntu.img on the website. Which one is the correct to use?
The messages I have is as follows when I do “upgrade_tool uf update.img”.
Loading firmware
Support type: RK330C?? FW Ver: 6.0.01
Loader Version: 1.05
Creating comm object failed
When I try to do low format “upgrade_tool lf”, I have the following messages:
I am genuinely inspired by this article, thank you for sharing! The Exam CIPP-E objectives pdf questions are free for everyone. Good luck on your exams!
I’m completely in awe of your article, thank you for sharing! The H12-811_V1.0-ENU valid torrent content is truly helpful, and it’s offered without any cost.
I’m in awe of the quality of your article, thank you for sharing it! Free Terraform-Associate-004 reliable exam camp questions to improve your IT knowledge. Wishing you all the best!