Tried searching the forums on this topic but could not find anything that could resolve my problem
attempting to install a ROM on my phone for the 1st time.
I am using i9082 on android 4.2.2
my OS is ubuntu 12.04 hence used Heimdall 1.4
Tried to Flash ClockworkMod recovery using Heimdall 1.4
i am trying to flash this by using baffin.pit file (otherwise the options dont show up) and into the partition named "RECOVERY" but i always get an error "setting up interface failed!"
the device is detected on heimdall and the phone is on download mode but yet it does not go further
could someone help me out please
also since odin has been suggested on many forums, tried to run it with wine but it does not detect the phone(no com port in yellow)
yogneo said:
Tried searching the forums on this topic but could not find anything that could resolve my problem
attempting to install a ROM on my phone for the 1st time.
I am using i9082 on android 4.2.2
my OS is ubuntu 12.04 hence used Heimdall 1.4
Tried to Flash ClockworkMod recovery using Heimdall 1.4
i am trying to flash this by using baffin.pit file (otherwise the options dont show up) and into the partition named "RECOVERY" but i always get an error "setting up interface failed!"
the device is detected on heimdall and the phone is on download mode but yet it does not go further
could someone help me out please
also since odin has been suggested on many forums, tried to run it with wine but it does not detect the phone(no com port in yellow)
Click to expand...
Click to collapse
Hope you are using recovery.img(*.img) huh?
What you get when you execute heimdall detect command in Terminal.
And definitely you cant install recovery without PIT, so baffin.pit is essential. It looads the Partition Information Table.
Once the PIT has been loaded, the "Partition (Files)" field will be clickable. Click "Add", now the "Partition Details" field becomes clickable. Under "Partition Name", select "KERNEL". Click "Browse" on the "File" field directly underneath.
And i guess this is what you had done till now.
See whether the img or tar file which u used is correct and that is for Galaxy Grand Duos.
And using wine wont help.. may be because driver identification may be a mess in emulators. also try installing Kies in Wine and Odin.
If u have access to Windows, Odin, that would be the best choice.
DMJoh said:
Hope you are using recovery.img(*.img) huh?
What you get when you execute heimdall detect command in Terminal.
And definitely you cant install recovery without PIT, so baffin.pit is essential. It looads the Partition Information Table.
Once the PIT has been loaded, the "Partition (Files)" field will be clickable. Click "Add", now the "Partition Details" field becomes clickable. Under "Partition Name", select "KERNEL". Click "Browse" on the "File" field directly underneath.
And i guess this is what you had done till now.
See whether the img or tar file which u used is correct and that is for Galaxy Grand Duos.
And using wine wont help.. may be because driver identification may be a mess in emulators. also try installing Kies in Wine and Odin.
If u have access to Windows, Odin, that would be the best choice.
Click to expand...
Click to collapse
- the file has been extracted and i am using recovery.img
- the command displays "device detected"
- I am using the baffin.pit file of the internet for this particular device, will that be a problem? if so then how do i get this file.
- i've tried under kernal and it displays the same error
i do not have any access to a windows computer, is there anyother way i could load the recovery?
cheers
yogneo said:
- the file has been extracted and i am using recovery.img
- the command displays "device detected"
- I am using the baffin.pit file of the internet for this particular device, will that be a problem? if so then how do i get this file.
- i've tried under kernal and it displays the same error
i do not have any access to a windows computer, is there anyother way i could load the recovery?
cheers
Click to expand...
Click to collapse
Baffin.pit wont be a problem.
Make sure you are doing the correct procedure. I am not that good in the process, so you should research a bit in this.
You can Get pit from here. But I dont think that its the problem of the pit u use.
By the way from where you got the IMG file?
got it from the thread below
http://forum.xda-developers.com/showthread.php?t=2563557
yogneo said:
got it from the thread below
http://forum.xda-developers.com/showthread.php?t=2563557
Click to expand...
Click to collapse
Are you using the frontend Heimdall or by executing commands in Terminal.
If you are using terminal try the frontend app too, i guess u are well aware of this.
And its too hard for me to get my device detected by Ubuntu, and so i prefered Odin later.
As you said it wont go further can you post the log messages in Heimdall window
Related
im trying to install a tar file (el 26 kernal.tar) and when i put my phone in download mode and type the correct commands on terminal (heimdall flash --kernel zImage) it tells me this : "Claiming interface... Failed!" ive never encountered this before... does this have to do with anything with my flash count... on my phone says its at 10 idk if that means anything...
Nvm it waa becauae i had kies installed... Delete this if you want mods
Sent from my SPH-D710 using Tapatalk 2
interhawk1 said:
im trying to install a tar file (el 26 kernal.tar) and when i put my phone in download mode and type the correct commands on terminal (heimdall flash --kernel zImage) it tells me this : "Claiming interface... Failed!" ive never encountered this before... does this have to do with anything with my flash count... on my phone says its at 10 idk if that means anything...
Click to expand...
Click to collapse
heimdall has been giving me fits for the last week or so. have been trying to use both the GUI front end and command line only versions. NO joy. gave up and used Odin. GUI and command line both detect my device and then **** the bed. I am 100% sure it is user error on my behalf (some of us are fully capable of screwing up a wet dream)
if the "flash count" producing the much dreaded "yellow triangle" on the Samsung Galaxy S II boot screen try installing triangle away ... http://forum.xda-developers.com/showthread.php?t=1494114 I have found it to be a very handy tool. Just be sure to follow the instructions.
good luck!
here are the snapshots. The first two are when I try to flash the stock GB rom. The other two are when I try to flash the stock ICS. The next one is when I try to flash the ICS all-in-one tool...
Nothing... I wanted to Re-partition my NAND. (I think is the last thing to do before to say it is a hardware issue).
Someone here in the forum post his .pit (http://forum.xda-developers.com/attachment.php?attachmentid=1557554&d=1355324369), but it can get it work either. The last picture is the error the odin gives me when i try to re-partition.
I don't really know, but I would try finding an Odin image with a separate known working PIT file.
Edit: Never mind, I see you are already trying that in another thread.
weird..
oldnoob said:
I don't really know, but I would try finding an Odin image with a separate known working PIT file.
Click to expand...
Click to collapse
I'm not finding it... I even have a friend who has the z3x box, and they only provide the one package md5 to flash.
I've been asking here in the forum, but just one person gave me a pit file, unfortunately it doesn't work for me.
I've been google it for about 4 days now. =(
for what it's worth, have you tried flashing with a different usb cable? maybe there is a bad connection.
also is kies installed on your pc? if so uninstall it. there may be conflicts with drivers. how did you get partition errors? you didn't have the box checked in odin that repartitions the device?
if all that is ok one last thing to make sure of that its not a problem in your pc. try using another pc, maybe a friends or neighbors. windows pc's are known to pick up bugs and malware undetectable by virus scanners which could have messed with drivers and other processes in the software. one of the reasons I stick to Linux, preferably ubuntu while when needed I run a virtual windows machine!
still with errors...
dbrannon79 said:
for what it's worth, have you tried flashing with a different usb cable? maybe there is a bad connection.
also is kies installed on your pc? if so uninstall it. there may be conflicts with drivers. how did you get partition errors? you didn't have the box checked in odin that repartitions the device?
if all that is ok one last thing to make sure of that its not a problem in your pc. try using another pc, maybe a friends or neighbors. windows pc's are known to pick up bugs and malware undetectable by virus scanners which could have messed with drivers and other processes in the software. one of the reasons I stick to Linux, preferably ubuntu while when needed I run a virtual windows machine!
Click to expand...
Click to collapse
I use ubuntu... i installed the heimdall 1.4... but the pit file still gives me error... is really weird...
I've tried to use the nvflash, but I don't know if I'm making something wrong or it just doesn't work... the heimdall gives me "usb write failed", and then I have to disconect the cellphone and take the battery out in order to try again...
you can check the pictures...
Litatus said:
I use ubuntu... i installed the heimdall 1.4... but the pit file still gives me error... is really weird...
I've tried to use the nvflash, but I don't know if I'm making something wrong or it just doesn't work... the heimdall gives me "usb write failed", and then I have to disconect the cellphone and take the battery out in order to try again...
you can check the pictures...
Click to expand...
Click to collapse
I don't think heimdall is compatible with our glides! Make a vm with Windows xp and install Odin!
Sent from my SGH-I927 using Tapatalk 2
I have tried to use Linux and my glide was never able to talk to my computer, I use debian and opensuse, so I had to reinstall over opensuse, so it works now with windows 7.
odin 3.07
well.. I've downloaded the 3.07 version of the odin... I saw in a snapshot that it had the box for "ERASE NAND ALL"...
well, I checked that box, the odin started to flash, but it got stuck a few seconds after the start...
Somehow it seems it did something, now I am able to flash any rom, I mean that the odin finishes the flashing process without any error, BUT....
But still stuck in the samsung logo... =(
Litatus said:
well.. I've downloaded the 3.07 version of the odin... I saw in a snapshot that it had the box for "ERASE NAND ALL"...
well, I checked that box, the odin started to flash, but it got stuck a few seconds after the start...
Somehow it seems it did something, now I am able to flash any rom, I mean that the odin finishes the flashing process without any error, BUT....
But still stuck in the samsung logo... =(
Click to expand...
Click to collapse
now that you have odin working, try flashing the official UCLJ3 update that contains the bootloader. I posted a guide for updating that. if not go back to gb and try the official gb update! most of the roms here don't include the bootloader and some don't have the modem or kernels! can you flash CWM recovery and boot it? if so, you might try booting recovery and wipe data, cache and format /system. then try one of the official updates! if none of that works, your best bet would be to hit Dman3285 up with a pm, maybe with a small donation he could get your phone going again! he's one of our best devs here.
Hope this helps.
Thanks
Waitasecond... Ubuntu...
PLEASE tell me you're not running Odin in a VM. PLEASE PLEASE PLEASE.
Strike what I had here before. Now that Odin is working, flash the PIT *first*. Make sure it's an untouched PIT dumped from a working Cap Glide. (If you need one, walk me through it and I'll dump mine.) Then do the UCLG9 oneclick (not UCLJ or UCLH). If it fails, do a battery-pull reset and try again. That *should* get you back to a functional device, and you SHOULD at that point be safe to flash UCLH or CM10/PACman.
And DON'T use Wine or a VM for Odin. It NEEDS a real Windows machine. I almost bricked my Glide trying to use a VM.
no VM...
roothorick said:
Waitasecond... Ubuntu...
PLEASE tell me you're not running Odin in a VM. PLEASE PLEASE PLEASE.
Strike what I had here before. Now that Odin is working, flash the PIT *first*. Make sure it's an untouched PIT dumped from a working Cap Glide. (If you need one, walk me through it and I'll dump mine.) Then do the UCLG9 oneclick (not UCLJ or UCLH). If it fails, do a battery-pull reset and try again. That *should* get you back to a functional device, and you SHOULD at that point be safe to flash UCLH or CM10/PACman.
And DON'T use Wine or a VM for Odin. It NEEDS a real Windows machine. I almost bricked my Glide trying to use a VM.
Click to expand...
Click to collapse
No, I have different partitions for Ubuntu and Windows 7... I'm running Odin on Windows 7...
About the PIT. I have two pit files from two members of the forum... Both of them gives me error. Check this picture: http://forum.xda-developers.com/attachment.php?attachmentid=1558361&d=1355347858
That's the error I get.
Please, dump yours and I will try that one... Both pits gives me the same error when I flash any of them...
To dump your pit, you should be on linux, download the heimdal 1.4 RC from here: https://github.com/Benjamin-Dobell/Heimdall/archive/master.zip. The 1.4 is only available for linux at the moment and It seems that previous versions doesn't supports the Samsung Glide.
Here you have the compilation procedure: https://github.com/Benjamin-Dobell/Heimdall/tree/master/Linux.
After that, you need to put your phone into download mode, and then run the following command in the terminal:
Code:
heimdall-frontend
This will run the graphic mode of the heimdall. Go to UTILITIES complete the pit's file name and dump it.
Hope you make it.
Shooting in the dark here...
You do have "Re-Partition" checked when you do the PIT, right?
Maybe if they were dumped with heimdall, you should try writing them with heimdall. Who knows, might be some file format shenanigans.
Can you flash the CWMR zip with Odin? It might get you recovery back, if nothing else, and then we could do some more advanced poking or dd'ing via ADB.
yes..
roothorick said:
Shooting in the dark here...
You do have "Re-Partition" checked when you do the PIT, right?
Maybe if they were dumped with heimdall, you should try writing them with heimdall. Who knows, might be some file format shenanigans.
Can you flash the CWMR zip with Odin? It might get you recovery back, if nothing else, and then we could do some more advanced poking or dd'ing via ADB.
Click to expand...
Click to collapse
I do have checked "Re-partition" and I get "FAILED" in Odin, and this error in the Glide's screen: http://forum.xda-developers.com/attachment.php?attachmentid=1558361&d=1355347858
When I try to run heimdall to re-partition and flash the recovery at the same time, I do this command:
Code:
heimdall flash --repartition --pit sghi927-orig.pit --SOS SOS.img
Here I get a weird error. It says something like "not such partition named PIT"... It seems like it takes the parameter "--pit" as a partition name. If I try just to re-partition, I get the same error. I don't know if this is a software error or I am the one who is doing something wrong.
I can flash through Odin and heimdall. Both finishes, but I don't know if they do something or not, because nothing changes, I just get the samsung logo, and no recovery.
The same with the CWMR with Odin, It goes through all the process, but nothing.
What do you mean with "poking"?
How can I get connected via ADB?
You can't get into CWMR so it doesn't matter.
Give the UCLG9 oneclick a spin, who knows, it might work.
Though, I'm starting to think that your download mode stuff is itself corrupt. You're probably gonna have to get nvflash working. Did you try that strace thing I mentioned in the other thread?
me too...
roothorick said:
You can't get into CWMR so it doesn't matter.
Give the UCLG9 oneclick a spin, who knows, it might work.
Though, I'm starting to think that your download mode stuff is itself corrupt. You're probably gonna have to get nvflash working. Did you try that strace thing I mentioned in the other thread?
Click to expand...
Click to collapse
I think that my download mode could be corrupted too.
I tried to use the nvflash, but everytime I tried to run the ./flash with any option in the terminal, I get "USB Write failed", and then I have to reset the phone taking out the battery. Maybe I'm doing something wrong, but I don't have any tutorial or something to know exactly how to use, because in another thread I've read that the nvflash could be locked, and you need to do something extra to bypass that.
What did you tell me in other thread? What do you mean with "strace"?
Any ideas?
Litatus said:
I think that my download mode could be corrupted too.
I tried to use the nvflash, but everytime I tried to run the ./flash with any option in the terminal, I get "USB Write failed", and then I have to reset the phone taking out the battery. Maybe I'm doing something wrong, but I don't have any tutorial or something to know exactly how to use, because in another thread I've read that the nvflash could be locked, and you need to do something extra to bypass that.
What did you tell me in other thread? What do you mean with "strace"?
Any ideas?
Click to expand...
Click to collapse
Literally just
Code:
strace -o nvflash-strace.txt {nvflash command}
With any luck it'll be a misconfiguration on your computer.
results..
roothorick said:
Literally just
Code:
strace -o nvflash-strace.txt {nvflash command}
With any luck it'll be a misconfiguration on your computer.
Click to expand...
Click to collapse
Well, I did you told me to.
Attached you will find the file. I get this in the screen:
Code:
[email protected]:/home/litatus/nvflash# strace -o nvflash-strace.txt ./nvflash --getpartitiontable pit.txt
Nvflash started
rcm version 0X4
Command send failed (usb write failed)
[email protected]:/home/litatus/nvflash#
Litatus said:
Well, I did you told me to.
Attached you will find the file. I get this in the screen:
Code:
[email protected]:/home/litatus/nvflash# strace -o nvflash-strace.txt ./nvflash --getpartitiontable pit.txt
Nvflash started
rcm version 0X4
Command send failed (usb write failed)
[email protected]:/home/litatus/nvflash#
Click to expand...
Click to collapse
The strace is a bit weird, apparently libusb doesn't strace well. But this is the only problem I could see:
Code:
ioctl(5, UI_DEV_DESTROY or USBDEVFS_BULK or USBDEVFS_BULK32, 0xbfbf1bbc) = -1 ENODEV (No such device)
Sounds like nvflash can't actually see your phone. Do you get the same error if the phone is not connected?
I might play around with nvflash myself if you can't figure it out.
I was screwing around with nvflash and it doesn't work on my (fully functional) device, and I KNOW my environment is sane. I think Samsung locked it with their own SBK, which odds are we will never figure out.
I've got one last shot in the dark for you though, which is why I'm-a-bumping. But first I need to double-check something
Run this:
Code:
heimdall print-pit
And post the output here.
Hello Community,
I tried to install custom recovery using this manual "wiki.cyanogenmod.org/w/Install_CM_for_serranoltexx" (<- cannot use the link function, because it's my first post). I followed every step. At point 9 I have to make commands using the cmd. Unfortunately the result is an Error:
Failed to access device. libusb error: -12
I had two insecurities while following the manual:
At point 4 I had to rename the recovery image but I'm not sure what the recovery image is. What I downloaded was a .tar.md5 file within a .zip. Do I have to rename the .zip or the .tar.md5? The renaming causes a change of the file type and I cannot really understand, why they didn't put the right file in that .zip at the beginnig...this step is a bit confusing
To point 5: I deinstalled Kies and the device driver in the Windows operating system. Since I've done this, there are appearing two devices in the zadig.exe when I connect my S4. I installed the zadig driver for both of them.
Im using Windows 7 x64
I hope someone can help me, for this moment I don't know what to do further...
greets
Dr. Bob! said:
At point 4 I had to rename the recovery image but I'm not sure what the recovery image is. What I downloaded was a .tar.md5 file within a .zip. Do I have to rename the .zip or the .tar.md5? The renaming causes a change of the file type and I cannot really understand, why they didn't put the right file in that .zip at the beginnig...this step is a bit confusing
Click to expand...
Click to collapse
I don't know about the libUSB error, and I haven't modded a Galaxy S4 mini, but I have installed CM on Galaxy Player. The tar.md5 has to be extracted from the zip; it is in fact a tar.gz file (tar archive compressed with gzip), but you don't have to rename it.
I flashed the Galaxy Player with Odin 3 v. 3.04, after having installed Kies to have the drivers installed. The Player showed in Odin with something like "ID:0 COM"; I then clicked on the "PDA" button, then pointed to the tar.md5, and clicked flashed, and it worked.
Here are my 2 cents :^)
Is your phone rooted? If rooted already it easy! For the most noob method, install ROM Manager from https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager and ROM manager will install the CWM for you. From there, its pretty simple.
If it not rooted, that the first thing you'll have to do.
fdelente said:
[...] The tar.md5 has to be extracted from the zip; it is in fact a tar.gz file (tar archive compressed with gzip), but you don't have to rename it.
Click to expand...
Click to collapse
I found out, the .tar.md5 is also a compressed file. If I extract it, I get a file called "recovery.img". At this point it's not very clear what to do. Because there is nothing to rename. And even if you are right, the tutorial would be also wrong.
TNCS said:
If it not rooted, that the first thing you'll have to do.
Click to expand...
Click to collapse
This is for installing the custom recovery, that's is the root, isn't it? I had the problem that Heimdall doesn't gets access to the device (lubusb error: -12). It's probably a driver problem.
However, I solved the problem by doing another method using odin. The root was succesfull. Afterwards I will flash the custom rom.
Dr. Bob! said:
I found out, the .tar.md5 is also a compressed file. If I extract it, I get a file called "recovery.img". At this point it's not very clear what to do. Because there is nothing to rename. And even if you are right, the tutorial would be also wrong.
This is for installing the custom recovery, that's is the root, isn't it? I had the problem that Heimdall doesn't gets access to the device (lubusb error: -12). It's probably a driver problem.
However, I solved the problem by doing another method using odin. The root was succesfull. Afterwards I will flash the custom rom.
Click to expand...
Click to collapse
No, custom recovery is not rooting. Not my favourite method but it easy enough, try this: http://www.kingoapp.com/
It a universal root for JB and it will prompt you to install CWM afterwards.
After installing the CWM I rooted the device. I succesfully installed Canogenmod 10.2.1. The Tutorial says explicit, that it only helps for 10.2.x but I want to install the Nightly version which is running at CM version 11. If I could, I would ask this questions in the threat but I'm not allowed yet to post in the developers section. "forum.xda-developers.com/showthread.php?t=2474054"
Can I use this tutorial for flashing CM version 11?
WHAT IS THE USE OF .pit FILE?
.pit FILE IS USED TO DIRECT THE PARTITION OF THE WHOLE ANDROID SYSTEM..JUST LIKE WE ARE DOING GRUB IN PC...HERE ALSO WE NEED TO PARTITION THE SYSTEM FOR FLASHING THE FIRMWARE PROPERLY.. AND HERE THE .PIT IS USED
1. Get your phone into download mode..
2. connect to computer. Make sure that usb drivers installed and you have the firmware.tar file.
3. Now open odin 3.10
4. click on PIT and select ZEROLTE_USA_TMO.pit
5. Make sure that partition is tick
6. click on PDA and select firmware.tar file
7. Now start button and wait...You are done
link:
https://drive.google.com/folderview...tmV3YxMTB4WGpSZU5ReEI1WjZtUXM&usp=sharing_eid
Mhhh could be useful great job Op
The link doesn't work for me, could you reupload it? Also does this contain data about your /data partition? If so this might be specific to your model (16/32/64 GB)
update the file
update the file
SHATTAH said:
update the file
Click to expand...
Click to collapse
Just requested permission for the file.
SHATTAH said:
WHAT IS THE USE OF .pit FILE?
.pit FILE IS USED TO DIRECT THE PARTITION OF THE WHOLE ANDROID SYSTEM..JUST LIKE WE ARE DOING GRUB IN PC...HERE ALSO WE NEED TO PARTITION THE SYSTEM FOR FLASHING THE FIRMWARE PROPERLY.. AND HERE THE .PIT IS USED
1. Get your phone into download mode..
2. connect to computer. Make sure that usb drivers installed and you have the firmware.tar file.
3. Now open odin 3.10
4. click on PIT and select ZEROLTE_USA_TMO.pit
5. Make sure that partition is tick
6. click on PDA and select firmware.tar file
7. Now start button and wait...You are done
link:
https://drive.google.com/folderview...tmV3YxMTB4WGpSZU5ReEI1WjZtUXM&usp=sharing_eid
Click to expand...
Click to collapse
Can you please explain how you got the pit file? from what I understand you cannot simply dump the pit anymore unless I missed something.
requested access to this as well-- can you post somewhere other than Google Drive as people cant get to this file?!
can you please grant my request to download the file? I have a soft bricked phone and I really need the Pit file. thanks so much
looking a pit file for latest firmware 5.1.1 G925TUVU2COF6 does anyone have?
onlineunlocks said:
looking a pit file for latest firmware 5.1.1 G925TUVU2COF6 does anyone have?
Click to expand...
Click to collapse
According to: http://www.droidviews.com/how-to-extract-pit-file-from-samsung-galaxy-devices/
Requirement: To be able to use any of the methods described below [to extract the PIT file], you must have root privilege on your Galaxy device. Both the methods have been tested on the Samsung Galaxy S5.
Click to expand...
Click to collapse
This means that, unless someone gets it directly from Samsung somehow (leak, release, or otherwise), you'll need to wait for root on the 5.1.1 stock ROM.
I don't know a whole lot about the PIT file, and why someone would ever need it (apart from screwing around so much that you overwrite your partition information on the device... which would be hard for the average user to accidentally do).
Have you tried Samsung Smart-Switch? I don't know if it's capable, but it might download the PIT info from the internet before restoring stock firmware on a 100% borked device.
Thank you for the reply; by adb I know does not work without root as I looked over those methods. But there is also Heimdall that should be able to extract the pit while in download mode and has the option to save it,but seems not supporting this device. Also odin performs this tasks " Get PIT for mapping.." ,but does it automatically and there is no option to save from a working device with same details to use on other. I need it for a g925t that is stuck on samsung logo after odin restore and showing in download mode SW rev. check fail. device:2 binari 1 , and I think by flashing with a pit might fix it
onlineunlocks said:
Thank you for the reply; by adb I know does not work without root as I looked over those methods. But there is also Heimdall that should be able to extract the pit while in download mode and has the option to save it,but seems not supporting this device. Also odin performs this tasks " Get PIT for mapping.." ,but does it automatically and there is no option to save from a working device with same details to use on other. I need it for a g925t that is stuck on samsung logo after odin restore and showing in download mode SW rev. check fail. device:2 binari 1 , and I think by flashing with a pit might fix it
Click to expand...
Click to collapse
Let us know if this worked. I need to restore back to 5.0.2 also from 5.1.1. Thanks
will not work to restore to 5.0.2 from what I know and might also damage it,so do not recommend to try that
onlineunlocks said:
Thank you for the reply; by adb I know does not work without root as I looked over those methods. But there is also Heimdall that should be able to extract the pit while in download mode and has the option to save it,but seems not supporting this device. Also odin performs this tasks " Get PIT for mapping.." ,but does it automatically and there is no option to save from a working device with same details to use on other. I need it for a g925t that is stuck on samsung logo after odin restore and showing in download mode SW rev. check fail. device:2 binari 1 , and I think by flashing with a pit might fix it
Click to expand...
Click to collapse
I'm in the same situation.
Have you found a solution?
Aou said:
According to: http://www.droidviews.com/how-to-extract-pit-file-from-samsung-galaxy-devices/
This means that, unless someone gets it directly from Samsung somehow (leak, release, or otherwise), you'll need to wait for root on the 5.1.1 stock ROM.
I don't know a whole lot about the PIT file, and why someone would ever need it (apart from screwing around so much that you overwrite your partition information on the device... which would be hard for the average user to accidentally do).
Have you tried Samsung Smart-Switch? I don't know if it's capable, but it might download the PIT info from the internet before restoring stock firmware on a 100% borked device.
Click to expand...
Click to collapse
is this gonna fix my phone if efs is not mounted??? me and my buddy have no idea how he broke his phone.
I'm trying to flash stock ROM on my Galaxy Tab A with Heimdall 1.4.0 (Odin doesn't work - see thread https://forum.xda-developers.com/galaxy-tab-s/help/samsung-t550-galaxy-tab-unlock-t3665660)
The first part of Heimdall (as far as I can tell) is to install drivers and then download the PIT file. The drivers have installed without issue but when I try and download the PIT file i get the error below. I have read similar issues online and they suggest using a newer, unreleased version 1.4.2 of Heimdall and something about a the latest commits and master? I'm totally lost with this!! I'm not sure if this will work so I'm open to any ideas... and some guidance
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...
jimmisavage said:
I'm trying to flash stock ROM on my Galaxy Tab A with Heimdall 1.4.0 (Odin doesn't work - see thread https://forum.xda-developers.com/galaxy-tab-s/help/samsung-t550-galaxy-tab-unlock-t3665660)
The first part of Heimdall (as far as I can tell) is to install drivers and then download the PIT file. The drivers have installed without issue but when I try and download the PIT file i get the error below. I have read similar issues online and they suggest using a newer, unreleased version 1.4.2 of Heimdall and something about a the latest commits and master? I'm totally lost with this!! I'm not sure if this will work so I'm open to any ideas... and some guidance
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...
Click to expand...
Click to collapse
Are you using Heimdall on a native Linux machine or Windows?
You need a native Linux PC and the command line version of Heimdall.
ashyx said:
Are you using Heimdall on a native Linux machine or Windows?
You need a native Linux PC and the command line version of Heimdall.
Click to expand...
Click to collapse
Oh I'm using Windows 10. I don't have access to a Linux PC... Where does that leave me? Totally flummuxed?
jimmisavage said:
Oh I'm using Windows 10. I don't have access to a Linux PC... Where does that leave me? Totally flummuxed?
Click to expand...
Click to collapse
Unless you can dual boot a Linux distro with W10 or download one of the Live Bootable from disk Linux distros. There's plenty about.
https://help.ubuntu.com/community/LiveCD
Finding time to try this is proving troublesome. What are the chances this will actually work (more than Odin)?
I'm just trying to work out if it's actually worth the time/hassle?
Hi,
I finally managed to find some time and i'm currently on a lunix machine (from usb boot).
Now, do i need a 'Heimdall Firmware Package' or do i use the Samsung firmware for the SM-T555 you posted before?
jimmisavage said:
Hi,
I finally managed to find some time and i'm currently on a lunix machine (from usb boot).
Now, do i need a 'Heimdall Firmware Package' or do i use the Samsung firmware for the SM-T555 you posted before?
Click to expand...
Click to collapse
Just flash the stock firmware.
Okay, I had a nightmare on this last night.
I was using Ubuntu 14.04 but when i opened a terminal and typed 'heidmall-frontend' it would tell me that it wasn't installed and to try (something like) 'sudo apt install heimdall-flash-frontend' but then it would tell me that it doesn't exist.
What version/build of Linux should i be using (as a USB boot) and how do i install heimdall frontend?
Also, when reading instructions on flashing a rom they all say to use a heimdall firmware but you're saying i can use the stock firmware? How would i install that? Will heimdall recognise the .zip file?
Thanks again, i know i'm being a pain but i was up until 1am last night (waiting for the longest firmware download ever!!) trying to flash this!
jimmisavage said:
Okay, I had a nightmare on this last night.
I was using Ubuntu 14.04 but when i opened a terminal and typed 'heidmall-frontend' it would tell me that it wasn't installed and to try (something like) 'sudo apt install heimdall-flash-frontend' but then it would tell me that it doesn't exist.
What version/build of Linux should i be using (as a USB boot) and how do i install heimdall frontend?
Also, when reading instructions on flashing a rom they all say to use a heimdall firmware but you're saying i can use the stock firmware? How would i install that? Will heimdall recognise the .zip file?
Thanks again, i know i'm being a pain but i was up until 1am last night (waiting for the longest firmware download ever!!) trying to flash this!
Click to expand...
Click to collapse
Don't try and use a fronted. Use the command line. There is no such thing as Heimdall Firmware as far as I'm aware.
Heimdall flashes images which can be extracted from the stock firmware.
If you search Google for Heimdall flash commands you will find the correct syntax required to flash images.
Thanks for that.
I'm not at home to try right now, but i want to be as sure as possible i'm getting this right. I'm going to...
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-select-model?record=3EFD4C401EE211E7963AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware)... only my downloaded firmware is .zip rather than .img ???? https://davideddu.org/blog/posts/how-to-flash-a-recovery-image-using-heimdall/
Do i unzip the firmware file i've downloaded? I've tried to do that in linux but it failed, maybe i need to unzip in windows?
jimmisavage said:
Thanks for that.
I'm not at home to try right now, but i want to be as sure as possible i'm getting this right. I'm going to...
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-select-model?record=3EFD4C401EE211E7963AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware)... only my downloaded firmware is .zip rather than .img ???? https://davideddu.org/blog/posts/how-to-flash-a-recovery-image-using-heimdall/
Do i unzip the firmware file i've downloaded? I've tried to do that in linux but it failed, maybe i need to unzip in windows?
Click to expand...
Click to collapse
That's more or less correct. You should be able to extract the image from the zip using the stock utility in Linux. Ensure md5 is changed to tar.
If not then Peazip for Linux or 7zip for Windows.
Thanks again! I'll have one more go at this tonight... if it doesn't work then it's going in the bin and I can go back to living my life
Whilst in work i decided to download the firmware again and see if i could extract the image from the zip.
I have successfully completed that. It's currently named 'T555XXS1BPL4_T555BTU1BPE2_T555XXU1BPD7_HOME.tar.md5'. Do i simply delete the .md5 on the end to leave the .tar or is there something more complicated than that? Shouldn't it be a .img or am i just being overly concerned about details?
My head is going to explode!
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-s...3AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware) WHEN I DO THIS I GET A MESSAGE SAYING HEIMDALL IS NOT INSTALLED. HOW DO I INSTALL IT?
jimmisavage said:
My head is going to explode!
1. Download this firmware for my SM-T555 model tablet: http://updato.com/firmware-archive-s...3AFA163EE8F90B (which is a .zip file)
2. Put my tablet into download mode and connect to my linux machine
3. Open a terminal (how do i open as admin?) and according to a Google search, type 'heimdall flash --RECOVERY filename.img' (replacing filename.img with the stock firmware) WHEN I DO THIS I GET A MESSAGE SAYING HEIMDALL IS NOT INSTALLED. HOW DO I INSTALL IT?
Click to expand...
Click to collapse
It seems you are making this more complicated than it needs to be. Admin is the root user on a Linux system.
The instructions at the link below pretty much explain what you need to do.
http://www.dudleymediagroup.com/Detail/id/installing-using-heimdall-on-with-linux-3547
It seems i'm using Ubunto 16.04 and I cannot see a heimdall version for that? I guess I need to try Ubuntu 13.04?
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
jimmisavage said:
It seems i'm using Ubunto 16.04 and I cannot see a heimdall version for that? I guess I need to try Ubuntu 13.04?
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Click to expand...
Click to collapse
I should think you'll be fine with 16.04 or 14.04
ashyx said:
I should think you'll be fine with 16.04 or 14.04
Click to expand...
Click to collapse
I don't see 16.04 or 14.04 in the download options though. Only 13.04 or 12.10.
What am I missing here? If I download ubuntu13.04-heimdall_1.4.0-0_amd64.deb and click install nothing seems to happen. The same goes for ubuntu12.10-heimdall_1.4.0-0_amd64.deb (I'm running Ubuntu 16.04 Live x64 from a USB drive).
jimmisavage said:
I don't see 16.04 or 14.04 in the download options though. Only 13.04 or 12.10.
What am I missing here? If I download ubuntu13.04-heimdall_1.4.0-0_amd64.deb and click install nothing seems to happen. The same goes for ubuntu12.10-heimdall_1.4.0-0_amd64.deb (I'm running Ubuntu 16.04 Live x64 from a USB drive).
Click to expand...
Click to collapse
From the directory where it is located try:
sudo dpkg -i ubuntu13.04-heimdall_1.4.0-0_amd64.deb
Got heimdall installed but i cannot flash anything.
Time to give up. Thanks for all the help