Fansite and Forum for Meizu Products
 
       



Go Back   Meizu Me > General > Community Development > Rockbox

Using DFU Tool on Linux using QEMU

Rockbox

Reply
 
Thread Tools Display Modes
Old 08-27-2008   #11 (permalink)
Member wpyh is on a distinguished road
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
(this is very similar to my previous post, but I'll just copy the whole thing to make it easier to follow)

I've figured out the DFU suffix part of the DFU restore operation using VirtualBox on Linux. We would need the current CVS libpcap and Wireshark for this. Wireshark is very helpful here, since it allows us to monitor everything that's going on between the device and the DFU tool.

As always, preparation:
1. Install Windows XP inside QEMU, and then install DFU Tool on it.
2. Copy M3.EBN, M6.EBN or M6SL.EBN into the DFU Tool folder in the Windows XP installation.
3. Download, compile and install the current CVS version of libpcap.
4. Recompile Wireshark against the new libpcap.

Steps:
1. Mount usbfs at /proc/bus/usb.
2. As root, loop every 0.5 seconds to chown all the files in /proc/bus/usb to the username you are using.
3. Run VirtualBox. Remember to enable USB support for the VM.
4. Run Wireshark, then start a capture on the appropriate USB port.
5. Hold the M and Play buttons, wait 2 seconds, then connect the device to the computer.
6. Release the Play button.
7. Connect the device to VirtualBox.
8. Run DFU Tool, then press "Download" button.
9. Unplug device.
10. Stop and save the capture.

Notes:
1. The Play button must be released after connecting the device to the PC, otherwise it will power off after a few seconds.
2. Keep the M button pressed down through the recovery procedure.
3. If anything fails, start over. Remember to restart the capture in Wireshark.
wpyh is offline   Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tipps zum DFU Tool Andreas67 German 2 02-06-2008 10:42 PM
wie benutzt man DFU Tool ? qwer German 1 12-25-2007 05:07 PM
If M3 doesnt have a DFU tool fdddd Technical 0 12-21-2007 06:35 AM
M3 DFU Tool paxl13 music card M3 5 11-22-2007 07:05 PM
m6_patch_font tool Asmo Russian 28 10-05-2007 06:45 AM

All times are GMT. The time now is 06:32 AM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
 
Meizu Me is an independent resource for all things Meizu. Meizu, Mini Player, Music Card, Mini One and all other related names are properties of MEIZU Electronic Technology, Inc. Designed by ForumTemplates. All content © 2007 MeizuMe. All Rights Reserved.