Tar header contained an invalid file size - Galaxy Tab Q&A, Help & Troubleshooting

I am new to flashing ROMs on my VZW tab, but every time I try, heimdall gives me the message listed in the title. I am using 1.3.1. Thanks.

And when I try to open 1.1.1, it just crashes on opening and gives me an error message.

Related

CWM error

Hey, i'm trying to flash my own ROM, but i always got an error: (bad).
Searching in the log, i found this report:
Incompatible "version made by": 0x0b (at 780)
How can I proceed? Where's the error?

[Q] Restoring unrooted Galaxy Tab to stock

I think I have done something quite stupid. I have a T Mobile Galaxy Tab (SGH-T849) running Froyo. It was completely stock and I had not rooted it.
I was curious to try Cyanogenmod, so I followed the instructions under "Installing the ClockworkMod Recovery" here:
wiki.cyanogenmod.com/wiki/Samsung_Galaxy_Tab_(GSM):_Full_Update_Guide
Even though the directions said it was for a Galaxy Tab on the stock 2.3 release, I forged ahead installed the ClockworkMod recovery image using Heimdall.
The tablet now does not get past the T-Mobile boot screen. I did not backup the original kernel.
I am not normally this stupid! I don't know if I can go to stock Gingerbread using the overcome.net guide as my tablet was not rooted.
Is there any way to restore my original kernel and start again?
I don't think you need to root.
You can use overcome method.
I believe Overcome only ask you to root first to make sure you don't have protected bootloader and to backup using Titanium Backup.
You don't need all that now.
Just go ahead and flash GB Stock Safe
using heimdall will be:
1) naturally unpack the GB_Stock_Safe_v5.tar
2) go to download mode
3) heimdall flash --repartition --pit ./gt-p1000_mr.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage
4) at this point you can reboot to the stock rom.
I like heimdall a lot compared to Odin.
Unfortunately, that did not work. I get this error:
Uploading PIT
ERROR: Failed to confirm end of PIT file transfer!
PIT upload failed!
Ending session...
Rebooting device...
And then the tablet just displays the T-Mobile screen. Is there something else I can try?
what if you do it without pit ?
Doing this with the --verbose flag gives this:
Uploading PIT
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet.
ERROR: Failed to confirm end of PIT file transfer!
PIT upload failed!
Ending session...
Rebooting device...
I am doing this on a Mac and I see that this is a problem with the OS X version of Heimdall. I have an old Windows XP machine I can try to use.
Let me try that before omitting the PIT file.
Thanks!
The PIT file loads on Linux, but the kernel doesn't:
98%
File Part #59... Response: 0 0 0 0 3B 0 0 0
100%
ERROR: Failed to confirm end of file transfer sequence!
KERNEL upload failed!
Ending session...
Rebooting device...
Re-attaching kernel driver...
I'll boot up the old windows box and try that next.
BTW, don't use latest heimdall (1.3.2?)
use 1.3.1 I think
Edit: sorry, at in Mac use 1.3.0
http://forum.xda-developers.com/showthread.php?t=1655689&page=6
my ubuntu I have 1.3.1
This looks promising! I installed heimdall 1.3.0 on my Mac and was able to install everything successfully, then the tablet rebooted. It went to the recovery screen and I selected the reboot option.
It's been on the Samsung logo for about 20 minutes now. I don't know how long it will take but I'll let it sit overnight.
Thanks so much for your advice!
Not quite right.
Mine reboot to setup wizard upon flashing.
You did the complete parameters like I put there?
Do wipe all cache and data.
If still no go, reflash.
Sent from my GT-P1000 using xda app-developers app
Okay, I think that did the trick! I wiped the data and cache, and now it looks like everything is working! I will have to flash the T-Mobile modem file as well.
priyana said:
Not quite right.
Mine reboot to setup wizard upon flashing.
You did the complete parameters like I put there?
Do wipe all cache and data.
If still no go, reflash.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Seriously, I think you should be paid by Samsung Customer Service (Or Technical Support). You beat most of us on attending these problems! we P1000 users can't thank you enough!
just helping others
imagine if we don't help them out. The SGT7 will be collecting dust.
Priyana, if it hadn't been for you, my next step would have been shipping my Tab off to Samsung to be reset! As yappoe said, I can't thank you enough!
Something odd - even though I wiped the caches, and did a data/factory reset, much of my user data was on the tablet, such as pictures and some books I had downloaded. This was fortunate as I hadn't backed anything up, but it was curious.
I will make a backup before I work up the courage to flash ICS! Thanks again!
Hmm, I have never seen data survived a format.
However, having said that, I have proven to myself that when I did restock from AOKP mtd from, back to gb-stock safe using heimdall with pit file, and my internal SD intact.
People told me flashing with pit file ensure everything on internal SD is wiped out because it was repartitioned, but definitely not mine.
But, I heimdall flash and immediately flash overcome kernel without booting into the gb rom.
Sent from my GT-P1000 using xda app-developers app

Wierd TWRP Error

So after some messing around today with one of the cm12 builds, everytime I try to do anything in twrp I get the error "E: Unable to stat ' /data/power_supply_logger/power_supply_info.bin' " and i have no idea how to solve it. The only effect it seems to have is it makes restoring and backing up data fail at the last second (although as far as I can tell all of the data makes it). The error is always right after "updating partition details". I've tried reflashing 2 or three different versions of twrp (2.7.1.1, 2.6.3.1, and 2.8.1) as well as restoring stock vzw firmware through rsd lite as well as the gpe rom to no avail. Any help would be greatly appreciated.
Also, when flashing cm12, i get "mount: failed to mount /dev/block/platform/msm_sdcc. 1/by-name/userdata at /data: Device or resource busy"
StATicxTW0T said:
So after some messing around today with one of the cm12 builds, everytime I try to do anything in twrp I get the error "E: Unable to stat ' /data/power_supply_logger/power_supply_info.bin' " and i have no idea how to solve it. The only effect it seems to have is it makes restoring and backing up data fail at the last second (although as far as I can tell all of the data makes it). The error is always right after "updating partition details". I've tried reflashing 2 or three different versions of twrp (2.7.1.1, 2.6.3.1, and 2.8.1) as well as restoring stock vzw firmware through rsd lite as well as the gpe rom to no avail. Any help would be greatly appreciated.
Also, when flashing cm12, i get "mount: failed to mount /dev/block/platform/msm_sdcc. 1/by-name/userdata at /data: Device or resource busy"
Click to expand...
Click to collapse
I have the same problem with my moto g falcon XT1032.
Wen I try to flash CM 12 he gives the same error.
BinBug said:
I have the same problem with my moto g falcon XT1032.
Wen I try to flash CM 12 he gives the same error.
Click to expand...
Click to collapse
The first error or the second? I've narrowed the first down to a missing file in my data folder. Unfortunately rsd'ing doesn't help. If anyone'd be willing to upload it for me that'd be awesome. It's the bin file in /data/power_supply_logger/
The first error or the second error
StATicxTW0T said:
The first error or the second? I've narrowed the first down to a missing file in my data folder. Unfortunately rsd'ing doesn't help. If anyone'd be willing to upload it for me that'd be awesome. It's the bin file in /data/power_supply_logger/
Click to expand...
Click to collapse
Wen I try to flash te ROM he give me this:
Code:
Installing 'data/media/0/sideload.zip" ...
Checking for MD5 file ...
Skipping MD3 check : no MD5 file found
mont: failed to mount /dev/block/platform.msm_sdcc.1/by-name/userdata at /data: devices or resource busy
unmount of /data failed (-1): Devices or resource busy
E: Error Exexuting updater binary in zip ' /data/media/0/sideload.zip"
You say that i most change the bin file in /data/power_supply_logger/, but how?
link to rom that i use : CM12 for flacon
BinBug said:
Wen I try to flash te ROM he give me this:
Code:
Installing 'data/media/0/sideload.zip" ...
Checking for MD5 file ...
Skipping MD3 check : no MD5 file found
mont: failed to mount /dev/block/platform.msm_sdcc.1/by-name/userdata at /data: devices or resource busy
unmount of /data failed (-1): Devices or resource busy
E: Error Exexuting updater binary in zip ' /data/media/0/sideload.zip"
You say that i most change the bin file in /data/power_supply_logger/, but how?
link to rom that i use : CM12 for flacon
Click to expand...
Click to collapse
That error is caused by the version of TWRP you are using. Something about different versions and different updater scripts. Some have had sucess with 2.8.1, some with 2.6.3.1 and some with 2.7.1.1. You will need to try all three until you find the one that works for you. Do not touch the power supply file, that's whats causing my first error. Somehow it got deleted, and restoring to complete stock does not replace it, thats why i need someone to upload theirs.

[Xposed] Error Executing Binary Updater (on ZTE Grand X Max+) ?

I tried flashing the [sdk 22 arm] zip for lollipop (5.1) on my phone, but every time i tried, I got an error saying "error executing binary updater in {zip file}". Occasionally, when i tried, i also got an error about low storage space. What is a binary updater error? How do I fix it? I know for sure i'm using the right zip. Please help me out here. Is it just incompatible with my phone, or there's something I can do about it?

HELP - No OS Installed

Hi all,
I was having charging issues so I decided to wipe the phone and flash stock ROM (S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S) but the installer keeps coming back with
Updater process ended with ERROR: 7
Error installing zip file 'sdcard/S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S.zip'
Trying again returns with the following error message
Checking for Digest file...
Skipping Digest check: no digest file found
This package is for "le_s2" devices: this is a "s2"
Updater process ended with ERROR: 7
Error installing zip file 'sdcard/S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S.zip'
This is the only ROM I have on the Internal Storage and unable to
Mount -> USB-OTG - option does not turn on
ADB Sideload - keep getting "USB Device not Recognized" on the computer and Failed message on the phone
QFIL - No Port Available
Any help will be appreciated.
Thanks

Categories

Resources