-
-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to send request to end pit file transfer #292
Comments
I've the same problem, I was trying to install a recovery image and it failed at the downloading PIT step. I'm using ubuntu-14.04 LTS (fully patched) with my T-mobile note 4 (the original, not the newer T3 model). I get exactly the same error: Session begun. Downloading device's PIT file... I tried compiling heimdall 1.4.1 from git, it was a bit tricky, but it fails in a very similar way: Initialising protocol... Both are with my device in recovery mode saying: |
Try heimdall 1.2, |
It saved my galaxy s4 lte |
From where? I found 1.4.0 here: https://bitbucket.org/benjamin_dobell/heimdall/downloads v1.1.1, v1.3.0, v1.3.1, v1.3.2, v1.4.0, and v1.4.1 here: Ah, hrm, I did find some ubuntu packages that claimed to be 1.2.0, but if I run them they claim they are 1.0.8. I tried 1.3.0, 1.4.0, and 1.4.1. None seem to work with my t-mobile note 4. |
I dont know what happened to 1.2. But i remember it worked.Now I run Odin in a VM to use it, havent used heimdall in a while. Flashes recovery, ROM and it's Done. |
Might be your kernel, too, heimdall seems not to like liquorix kernel 4.x |
@yagomont The kernel having an impact seems unlikely. Heimdall communicates with the secondary bootloader. Depending on how you flashed your kernel perhaps you replaced the secondary bootloader at the same time. @spikebike @yagomont Old releases (including 1.2) can be found here: Quite a lot has changed since then, I'd be a bit surprised if it worked with anything beyond an S3. |
I am talking about the linux kernel in my computer. |
Whoops, sorry! That most certainly could lead to wildly different USB behaviour, libusb-1.0 seems to be a lot more finicky than I'd like. |
Hey, you can always download the pit file for your phone in xda developers. Ser if that works. |
@yagomont That will only work if you are repartitioning... and if Heimdall is having difficulty communicating with your device then I strongly advise against doing that. |
@Benjamin-Dobell I installed heimdall_1.2.0_amd64.deb, but when I run it: |
I have a completely stock Note 4 and a collection of ubuntu-14.04 LTS desktops and laptops running a linux 3.13.0-30-lowlatency low latency kernel (the default). I tried all the versions I could find of heimdall and built a few from source as well. Any idea on what to try to get pit downloads to work? |
I'm closing this issue as I'm pretty sure the problem is already resolved if you compile from master. I know compiling is not ideal, I've opened #295 |
Hi, thanks much for this software,
Any help would be appreciated |
I can repro with code from master. |
In my experience, moving from 1.4.1 to master 1.4.2 solved the problem |
@Germano0 was right: it is solved in 1.4.2. Especially for Debian users, see this comment to compile Heimdall, because 1.4.2 is not yet in the repositories. |
@lebarde @Benjamin-Dobell , I feel like that comment should be integrated into the Linux readme, because I was stymied for hours trying to get it to compile on an Ubuntu based system because of that last command. Maybe later if need be I can throw together a PR for it |
I had the same issue with a Galaxy S5 (SM-G900F) and Windows 7. It seems, that the recent version of MSYS64 has changed in some behaviours (well, that's just my assumption, because I hadn't used msys64 before and there are differences to the readme, which was described as pretty good in some comments I read):
I had no experience with make files before. Also this is only a memory log (memorandum/minutes from memory) of which actions resulted in progress. So there may be simpler solutions. My solution was: (2) Update package data base (like in the readme): (3) Install packages (like in the readme): (4) Install additional packages:
(5) Go to directory (6) Go the directory were the Heimdall sources are located (I used:
(7) Open Terminal in the heimdall source directory:
(8) The executable files are located in |
Added additional step to Appendix B to help address the Debian specific issue of how to compile 1.4.2 (needed to fix Benjamin-Dobell#292 on Debian systems) using instructions documented in Benjamin-Dobell#421
i am trying to download my device pit file
log is here
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
The text was updated successfully, but these errors were encountered: