LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2017, 02:02 PM   #1
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
issues with Heimdall on Arch Linux


Hello all,

I am having a couple issues using Heimdall on Arch Linux and am hoping someone with more experience than I can help. I am trying to flash a kernel on my Galaxy S5 (kltetmo)
The first command I ran was:

Code:
heimdall flash --KERNEL zImage  --verbose
Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer.
ERROR: Failed to send end session packet!
Releasing device interface...
Note that I only included the errors and removed duplicates of them. Also note that my phone is apparently detected as an S4. I would think this could be part of the problem but I could find nothing about Heimdall detecting phones improperly or how to fix such an issue

After this failed I uninstalled Heimdall from the main package repository of my distribution and then compiled and installed Heimdall via the AUR (Arch User Repository) and tried the same command again as I saw some users had better success with their own compilations of Heimdall. At this point it was successful in downloading the PIT, but I still received the same WARNING and ERROR in addition to
Code:
ERROR: Partition "kernel" does not exist in the specified PIT.
Ending session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
ERROR: libusb error -7 whilst receiving bulk transfer. Retrying...
I tried this command with both --kernel and --KERNEL as I saw in other threads of similar problems that heimdall is case sensitive, this made no difference however.
I then ran
Code:
heimdall print-pit
and found that there is indeed no partition with the name kernel or KERNEL.
I then tried downloading a PIT from elsewhere and tried to flash adding the --PIT option to my command but received the same output as above.
After a little more research I found that the partition name might be something else, but I found no way of determining what it might be. Obviously I can look through the output of print-pit, but I am not sure which is the proper partition and don't want to flash blindly.

Does anyone have any ideas? Or know the proper name of the partition for the Galaxy S5?
 
Old 02-15-2017, 03:21 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
After reading about other related issues, it seems that the operation of Heimdall has indeed changed and the partition name is not necessarily "kernel" for my device. But I am still unsure of how to determine what partition I need to flash. Will update as I learn more
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Heimdall: Odin Alternative That Runs On Linux (Tool To Flash ROMs On Samsung Galaxy S Devices) LXer Syndicated Linux News 0 06-12-2012 07:21 PM
Strange wireless issues on Arch linux, sony vaio laptop jpbkslave42 Linux - Newbie 12 05-05-2012 01:16 PM
Arch Linux install issues - eth0 no such device - Atheros ethernet m3z Linux - Newbie 14 08-12-2011 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration