yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Hi everyone!

I hope I'm asking this in the right place. I think I may have really messed up my tablet. My apologies, this is going to be a long one.

After following some very bad advice I was using my SM-T580 8.1 (rooted with TWRP, Magisk and Manager) to explore Xposed. I now know Xposed + Samsung = bootloops. While trying to restore my poor little tablet I messed something up big time. When I tried to boot into recovery....it didn't work. So I booted into download mode and tried to flash stock firmware downloaded from Sammobile. While flashing with Odin 3.13.1, the connection was broken, my dog decided that it as the perfect moment for playtime. :mad: Now I can only boot into Odin mode and nothing else. To let it boot normally I get a bootloop with the Samsung Logo and the red warning "Could not boot into normal mode. Invalid Kernal length." Every time I try to flash the firmware I get "re-partition failed" error. I've tried two different PCs, 7 different USB cords, every USB port I have and stock firmware from 6.0 to 8.1. I've tried with and without the PIT file and tried checking/unchecking the repartition box in Odin's options. If I leave the repartition box empty is hangs on "setting up connection" and never moves past that. In the past week, I'm not sure how, I did get to the recovery menu. I cleared the cache and did a factory reset. It still went into the loop, so I tried recovery mode again and was able to look at the logs. I don't know why I looked because I really dont have any idea what they say. The only thing I did understand was that one of them said there was no recovery file. I assume this is a VERY bad thing. Since then I cant get back to it. Oh, depending on which USB port I plug into... sometimes the FRP is ON, with another port it is OFF. Don't know if that would help with a diagnosis. Sorry again for the long post, but I've tried to include as much information as possible. At this point is there any hope of fixing it?

Thank you in advance and a huge thanks for being my "go-to" since my SM-T530nu.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
I would first attempt to flash TWRP and see if it boots.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Sorry, I'm a little star struck that you responded to my post. I wanted to use the first TWRP i had installed, but it is a .img and I'm not sure how to use that without being able to access recovery mode. I am a baby when it comes to this stuff. I apologize for my lack of skills in this department. You guys that do this stuff for a living/hobby must have super human abilities. I've only been at this for several days and I'm already pulling my hair out.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Where do you find the image, it should also be available in tar format?
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
The Odin version of TWRP can be found here https://dl.twrp.me/gtaxlwifi/ When you flash it with Odin, be sure to go into options and uncheck "auto reboot". When it finishes, press and hold Home, Vol down and Power buttons till the screen goes black. Quickly shift from Vol down to Vol up buttons till the first screen appears. Keep holding Home and Vol up but release the power button. When the screen blanks you can release all the buttons and you should then be in the TWRP menu.

---------- Post added at 03:36 PM ---------- Previous post was at 03:29 PM ----------

Are you using Home, Vol up and Power buttons to get to recovery? If that works, you can try Factory Reset from that menu. That should wipe the partitions so you can then go to download mode and flash with Odin. If not, then you'll have to try installing TWRP.

edit: If you can't get out of download mode, try the trick of Home, Vol down and Power till the screen blanks and quickly switching from Vol down to Vol up.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
I have tried the Vol up + home + power to get to recovery without success. It happened once, days ago and I wiped the cache and tried a factory reset. It didnt work. I still get the bootloop with the Samsung logo and the Invalid Kernel length error at the top in red letters.

This afternoon I was able to download 3 different TWRP files for my device and tried to flash them. This time Odin stalled...

<OSM> Enter CS for MD5..

<OSM> Checking MD5.. Do not unplug the cable..

<OSM> Please wait..

and it never moves any further.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Which version of Odin are you using? Also can you actually post screen shots of both odin after the failure and download mode on your device?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Odin 3.13.1

I'm not sure how to include a picture. I have several.

On the Odin/Download screen is says:

Odin Mode

Download Speed: Fast

Product Name: SM-T580

Current Binary: Samsung Official

System Status: Custom

FRP Lock: ON (or off depending on the day)

Secure Download: Enabled

Warranty Void: 1 (0x030c)

the last numbers are B:4 K:1 S:2
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
This is the log from my most recent attempt. First without the PIT file and then with it included. Don't know if it was the right thing to try, but at this point, why not

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 21 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005>

<ID:0/005> There is no PIT partition.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 21 M

<ID:0/005> SetupConnection..

<ID:0/005> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/005> Removed!!
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
I would suggest downloading the combination firmware and see if that can be flashed.

Also where did you obtain the PIT file and are you choosing repartition with the the PIT file loaded?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
If the combination firmware is the BL, AP, CSC and Home CSC, it did not work. The only file I haven't tried to flash is the Home CSC because there aren't settings I was trying to keep. I got PIT file two ways. One was a download I found and another was by extracting it from the CSC file. I tried to compare them to the best of my ability and it seemed like they matched. I tried flashing with and without the repartition option. The only thing I haven't selected in the options is NAND erase.

I've tried

XAR-T580UEU1APF5

XAR-T580UEU4CRK5

XAR_T580XAR4CSC1

And GTAXLWIFI_EUR_OPEN.pit with all 3.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Where did you obtain the combination firmware?

https://drive.google.com/file/d/1sSIFiAeBBL5EMKNyxE31aUfsH9CefnfI
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
SamMobile and Samfew
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
I doubt that is the combination firmware.

Use the one I posted.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 1016 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Set PIT file..

<ID:0/005> DO NOT TURN OFF TARGET!!

<ID:0/005> FAIL!

<ID:0/005>

<ID:0/005> Re-Partition operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 1016 M

<ID:0/005> SetupConnection.. it got stuck here for more than 20 minutes.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/005> Removed!!

The first attempt was without the PIT, second try was with the PIT file as well as the repartition option checked. It did seem to take longer this time before it failed. I thought we were going to get lucky for a second. :o
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
I suppose its worth now trying with nand erase.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Ok. I'll try it now. Should I use the PIT file? Or any of the others? BL, CSC? And just to be sure the file you gave me the link to should be in the AP spot, right?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
I found how I could attach pictures for you. There is one that shows Odin with the "Pass" 1 successful/0 Failed. That happened in the middle of all of this by chance. I don't know if that helps any (I doubt it). The same problem was happening before it and after.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
So you are able to flash the bootloader files?

Have you tried just AP?
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
I don't recognize the file you are using. The latest T580 stock ROM can be found here: https://www.sammobile.com/samsung/galaxy-tab-a-2016-101-wi-fi/firmware/SM-T580/

For the U.S. it is the one for Cellular South. It is a zip file that needs to be extracted. You only want to flash two of the four. The one starting with AP and the one starting with BP.

The Odin screen should look like the attached image before you click start. Don't change any of the default options.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Everything default with just the AP and BL

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 3401 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005>

<ID:0/005> There is no PIT partition.

<OSM> All threads completed. (succeed 0 / failed 1)

With just the BL or just AP....same for both

<ID:0/005> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 5 M

<ID:0/005> SetupConnection..

<ID:0/005> Can't open the serial(COM) port.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
with the NAND Erase and repartition options selected I got this

<ID:0/007> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/007> Odin engine v(ID:3.1301)..

<ID:0/007> File analysis..

<ID:0/007> Total Binary size: 3401 M

<ID:0/007> SetupConnection..

<ID:0/007> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Just do Nand erase with the BL file. Leave everything else default.

Also are you sure the cable is good as I can't understand why your results are intermittent?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
I'm almost positive the cable is good. I'll try with the same cord and a few other ones just to be safe. Also I don't understand why yesterday on Port 5 the FRP was on and today it is off. The same goes for the other ports as well and on my laptop to. There doesn't seem to be any pattern or reason that it should change like that. Or is there a reason and I just don't know it. :confused:
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Just nand erase and BL, two different cords

<OSM> Leave CS..

<ID:0/007> Added!!

<ID:0/007> Odin engine v(ID:3.1301)..

<ID:0/007> File analysis..

<ID:0/007> Total Binary size: 5 M

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Erase...

<ID:0/007>

<ID:0/007> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/007> Removed!!

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 5 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Erase...

<ID:0/005>

<ID:0/005> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
Apparently your PIT has been corrupted and you'll have to flash a replacement before anything else is going to work. I've never had that problem so I can't help. I'd suggest you google "how to replace PIT for Samsung SM-T580".

---------- Post added at 01:55 PM ---------- Previous post was at 01:06 PM ----------

I have no idea if this will work or not, but I've searched and the only reference I find show others who have faced this problem but NO ONE offered a solution. But if, in Odin, you click the PIT tab, it warns you this is only for engineers. But it also say the PIT info is in the CSC file. So, out of curiosity, I renamed that file by removing .md5 from the name and then extracted the file. Sure enough, one of the files has a .pit extension. So, I clicked on the PIT tab in Odin and again clicked on the PIT button on the screen it brought up and then pointed to the extracted .pit file. Odin then shows that file in the box below the PIT button. I'm not about to chance bricking my tablet by plugging it in and clicking "Start". But since yours is brick anyway, you might want to give it a try. Good luck.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Thank you, but I've tried almost the exact same thing to get the pit file. I believe it is the correct one. What if I try to flash just a .PIT without any of the firmware files? Your thoughts?
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Worth a try.

I'd also try flashing just the CSC (not home_csc) part of the firmware
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
From what I've read, the old way was to select the CSC file and choose the re-partition option and uncheck re-boot. Odin would then get the PIT file from the CSC and flash it. Then you could flash AP and BL and then reboot. I don't know if it works the latest Odin.

edit: Another option might be to try the combo method used to get rid of the FRP lock. I think that method might include re-partitioning.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
I get off work in a couple hours. I'll try it then and let u know how it goes.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Ok, first CSC file with repartition checked and reboot unchecked

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 104 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Set PIT file..

<ID:0/005> DO NOT TURN OFF TARGET!!

<ID:0/005> Can't open the specified file. (Line: 1892)

<OSM> All threads completed. (succeed 0 / failed 1)

Will try with other stock CSC files to see if one sticks.

I was going through everything that I have collected, files and what not and came across a backup I did using SmartSwitch back in June. Both smartswitch and kies say my device it not supported, but in this backup folder there are .bk files. I don't know what they are but one is named recovery. Could this be useful in this situation?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Tried a combination file and got this,

it's not good, but at least its different. Also what is the Flash Lock option?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Huge thank you!

I would like to take a second to acknowledge ashyx and lewmer. Your help has been invaluable to me . My tablet is still a very pretty paperweight, but I was able to learn so much listening to you guys. And you were kind enough to put up with my naivety for more than 24 hours straight. I can't thank you enough !
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Thanks. Wish I could be more help.

I still think there's a chance to rescue it. If you were in the UK I'd have a go.

Theres one more thing you could try. When I've come across others with similar issues I've read that continually mashing the start button can sometimes force the firmware to flash.

Maybe have a look into that.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Oh I'm not giving up, I've just been at this for a week with very little sleep. I think I'm going to take a nap and give it another go.:p
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Ok, gave up on the nap. I was reading about Hiemdall and using that to set up the partitions again. Just a little confusing, but seem like it might be worth a shot. Also, going back to the ADB thing...I have back up files on an SD card that was in my tab when it started to bootloop. I'm using it in my older tab now and it seems fine. Any possibility of that being a way to restore? It's a long shot, because I dont think there is a FULL backup, just a recovery.img and a few other things.

Tried mashing the Start button over and over with a few different file combinations...no luck.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
Unfortunately there's no way for adb to be of any use without a custom recovery.

If only recovery would flash we'd have some better options.

Heimdall may be an option, but have you tried any earlier versions of Odin?
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
No, I haven't tried any other versions of Odin. I've been using 3.13.1...how much older should I go?

I've spent most of my morning playing with Heimdall...seems cool. I can't seem to get the drivers I need for it right..

I read a post too from another member ( mind you it's several years old) that refers to a tool that he made to calculate what parts of the partition were blocked and how to patch around them? It was WAY over my head. Interesting, but don't think its the right way to go for me.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
As low as you want until something possibly works.

https://androidmtk.com/download-odin-downloader-versions

You could also try flashing with Z3X Samsung tool pro:

https://yymobileservice.blogspot.com/2018/08/z3x-samsung-tool-pro-295-latest-crack.html
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Sorry for the delay. So, I've tried two previous versions of Odin with a mix of stock and combination firmwares. All failed. The Samsung Pro Tool thingy ...followed link, installed, ran as administrator and it came up with a message about not being able to find the card? Retried a few times but gave up quickly. TBH. Have looked further into the Heimdall thing, but dont really understand yet how to make a tar.gz file to flash. Kinda looked at Miracle Box Cracked.

I think for me, it may be time for a strong drink, :silly:
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
You need to run the loader then just click Try.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
You are talking about the Samsung Tool? I'm going to download it again, and see if it works. I've been trying a multitude of different things suggested and still nothing. In Miracle Box it tells me that it can't read the info from my device even though it says that it is detected. I believe it said something about the pins not being correct, but I don't know what that means.

Tried the Pro Tool again and got the message Card Not Found.
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
You need to follow the instructions exact.

Don't run the program exe run the loader that comes with the software.

Make sure you right click it and run as administrator then just click try. It can take some time to load up.

It works I have it working on 2 different pc's.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
I dont know what I'm doing wrong, but I did exaclty what was listed. I ran Loader as Admin and got to the box asking for serial number. I did not enter anyting and just clicked "Try". Waited for 30 minutes and nothing ever came up.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Hi again, I spent a little time reading up on Heimdall, and a bunch of stuff that goes with it . Long story short....I have a new error message :highfive:

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...

Manufacturer: "SAMSUNG"

Product: "Gadget Serial"

length: 18

device class: 2

S/N: 0

VID:PID: 04E8:685D

bcdDevice: 021B

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: 83

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: 02

max packet size: 0200

polling interval: 00

Claiming interface...

Setting up interface...

Initialising protocol...

WARNING: Control transfer #1 failed. Result: -1

WARNING: Control transfer #2 failed. Result: -1

WARNING: Control transfer #3 failed. Result: -1

WARNING: Control transfer #4 failed. Result: -1

WARNING: Control transfer #5 failed. Result: -1

WARNING: Control transfer #6 failed. Result: -1

ERROR: Failed to send data: "ODIN"

Releasing device interface...
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
It would appear that you have somehow hard bricked the tablet by corrupting the partition where the PIT is stored. Not the just PIT but partition itself. There might be some way, using adb, to restore it, but I wouldn't have any idea how to do it.
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
Thats what I was afraid of. :( I'm going to keep looking around for more info, and who knows maybe I'll find that one article somewhere. LOL Thank you guys both for all your help with this. If I ever get it fixed I'll be sure to let you know how it happened.
[Samsung Galaxy Tab A series Questions & Answers] lewmur:
You might want to research this: https://www.youtube.com/watch?v=o_I4FE8T-zc
[Samsung Galaxy Tab A series Questions & Answers] kstehling:
[MENTION=4899305]ashyx[/MENTION] and [MENTION=4034185]lewmur[/MENTION]

You're never going to believe this, I"m not ever sure I do. But somehow, I got the damn thing to boot into android recovery. It's has the error that the system didn't mount, but that's fixable right? I'm too unsure where to go from here. I shut it down from the menu options in the recovery screen and I'm leaving it off until I know what to do next. I'd be thankful for any direction from here. I don't want to mess it back up again.
[Samsung Galaxy Tab A series Questions & Answers] bornoamit:
There is no pit partition in odin

samsung sm-T580 pit partition error in odin

I try to update my sm-t580 to android 9.0 by using firmwere . I was did with odin flash. After that my tab is not start normaly. I plug my charger and my tab show boot screen and say invailed kernel length. There is no recovery mode only download mode is ok. But when i try to flash any firm were like 6.0 ,7.0 or 8.0 odin failed with massage there is no pit partition. Help me out plz .
[Android Head-Units] Telemachus:
Picked this up cheap on Aliexpress thinking it was a PX6 MTCD... its not.

Works ok but software sucks.

What is it?