Author Topic: FlashToolLinux: Failed to find USB port [SOLVED]  (Read 5242 times)

tuk0z

  • Newbie
  • *
  • Posts: 45
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« on: May 09, 2019, 06:20:57 am »
Hi I try to reinstall a double boot on my Gemini Wifi only.
On up-to-date Arch64 with the appropriate udev rules (checked out and worked fine when I installed the firmwares last year) I run FlashToolLinux, plug the gemini and reboot it:                                
                                                                                   
$ journalctl                                                                        
                                                                                   
 
Code: [Select]
mai 08 11:59:16 llewellyn kernel: usb 2-1.4: new high-speed USB device number 3 using xhci_hcd
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: New USB device found, idVendor=0e8d, idProduct=201d, bcdDevice=ff.ff
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: Product: Gemini Wifi                
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: Manufacturer: MediaTek              
  mai 08 11:59:16 llewellyn kernel: usb 2-1.4: SerialNumber: AUSSCATC7H6LMBY9      
  mai 08 11:59:16 llewellyn systemd-udevd[20683]: 2-1.4: Failed to create symlink '/dev/android/AUSSCATC7H6LMBY9.tmp-c189:130' to '../bus/usb/002/003': Not a directory
                                                                                   
$ sudo ./flash_tool.sh » Download     # note: all partitions are checked                            
                                                                                   
 
Code: [Select]
libpng warning: iCCP: known incorrect sRGB profile
  QMetaObject::connectSlotsByName: No matching signal for on_pushButton_browser_clicked()
  QThread::setPriority: Cannot set priority, thread is not running
  "05-07-2019"                                                                      
  libpng warning: iCCP: known incorrect sRGB profile                                
  QObject::moveToThread: Cannot move objects with a parent                          
  Connecting to BROM...                                                            
  Scanning USB port...                                                              
  Search usb, timeout set as 3600000 ms
  ...
Rebooting the Gemini:
                                                                                   
 
Code: [Select]
remove@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4                            
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4                              
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4/2-1.4:1.0                    
  add@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4/2-1.4:1.1                    
  bind@/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.4
                           
Stopping the 'download' process:                                                        
                                                                                   
 
Code: [Select]
SearchUSBPortPool failed!                                                        
  Failed to find USB port                                                          
  Connect BROM failed: S_TIMEOUT                                                    
  Disconnect!                                                                      
  User stopped.
                                                                                   
A couple hours later FlashTOol is still standing perfectly iddle as far as I can see.                                                                                                                                                                                                                                        
Also a suggestion: FlashTool should print whether it sees the Gemini as needed *or not*, for the user to know that (and avoid countless try-and-fails)
« Last Edit: June 24, 2019, 08:44:04 am by tuk0z »

TheKit

  • Newbie
  • *
  • Posts: 28
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #1 on: May 09, 2019, 06:16:08 pm »
Quote from: tuk0z
Hi I try to reinstall a double boot on my Gemini Wifi only.
On up-to-date Arch64 with the appropriate udev rules (checked out and worked fine when I installed the firmwares last year) I run FlashToolLinux, plug the gemini and reboot it:
Did you try it multiple times? Honestly I had more luck with vanilla MediaTek's SP FlashTool on Linux than with Planet's one, but you have to be careful about nvram partition with that one.

tuk0z

  • Newbie
  • *
  • Posts: 45
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #2 on: May 09, 2019, 07:17:28 pm »
@TheKit yeah more times than I'd like to confess. And building FlashTool from source didn't work. Does vanilla MediaTek's SP FlashTool allows to do a multi boot with the provided 'modules'?

TheKit

  • Newbie
  • *
  • Posts: 28
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #3 on: May 10, 2019, 04:03:47 am »
Quote from: tuk0z
@TheKit yeah more times than I'd like to confess. And building FlashTool from source didn't work. Does vanilla MediaTek's SP FlashTool allows to do a multi boot with the provided 'modules'?
Yes, the tool's job is just to flash images. What Planet did was to remove potentially dangerous options like Format All and Download.

tuk0z

  • Newbie
  • *
  • Posts: 45
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #4 on: May 10, 2019, 10:52:07 am »
So it takes the scatter file i.e. 'Gemini_WIFI_A20GB_L36GB_Multi_Boot.txt' as well?

TheKit

  • Newbie
  • *
  • Posts: 28
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #5 on: May 11, 2019, 04:20:01 pm »
Quote from: tuk0z
So it takes the scatter file i.e. 'Gemini_WIFI_A20GB_L36GB_Multi_Boot.txt' as well?
Correct. Scatter file is like partition table basically.
« Last Edit: May 11, 2019, 04:48:58 pm by TheKit »

tuk0z

  • Newbie
  • *
  • Posts: 45
    • View Profile
FlashToolLinux: Failed to find USB port [SOLVED]
« Reply #6 on: June 24, 2019, 08:41:58 am »
I happened to have tried with the other cable. It worked out well enough I write this from Firefox on Debian from the Gemini. That the (brand new) cable could be borken didn't even cross my mind, even tho it seems it shouldhave!o}