yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] daniel.weck:
It is also present in JK2. So I guess in the end you decided not to flash movinand.mst, right ? Unless you used Odin and Heimdall ?
[Galaxy Tab  Android Development] Benjamin Dobell:
Alright it looks like you guys have found one more file that Heimdall is technically capable of flashing but doesn't implement. I presume I'm missing quite a few files that the protocol supports, at least that's what the following list of utilised file identifiers would seem to indicate:

enum
{
kFilePrimaryBootloader	= 0x00,
kFileSecondaryBootloader	= 0x03,
kFileKernel	= 0x06,
kFileParamLfs	= 0x15,
kFileFactoryFilesystem	= 0x16,
kFileDatabaseData	= 0x17,
kFileCache	= 0x18
};

I can easily add support for movinand.mst if I can find out what file identifier it uses. Unfortunately I don't have a Galaxy Tab and I need access to one in order to find out.
[Galaxy Tab  Android Development] daniel.weck:
It's zero, if we trust the output of the PIT reader utility:

http://xdaforums.com/showpost.php?p=9471190&postcount=14
[Galaxy Tab  Android Development] Benjamin Dobell:
Well 0 is the primary bootloader, so right now I'm not trusting it.

Does anyone have any idea what the contents of movinand.mst is? Because I just figured out how to flash the recovery partition directly.

EDIT: And the EFS.
[Galaxy Tab  Android Development] daniel.weck:
It's a question of MST versus nb0 format, I think.

From a Google search:

"

Are these updates available in .nb0 format, as my device nand doesn't support movinand(.mst format)?

"

From:

http://xdaforums.com/wiki/index.php?title=Samsung_Omnia_II/Flashing_New_Omnia_II_ROM

"

Select the MoviNAND button and open the .MST file (if the ROM you want to flash is in .mst format) OR Select the PDA buttons and open the .nb0 file (if the ROM you want to flash is in .nb0 format); choose .mst OR .nb0! not both!

"

EFS.rfs contains nv_data.bin I think, so it is critical for IMEI stuff...
[Galaxy Tab  Android Development] Benjamin Dobell:
Yeah sorry I know what EFS is, well vaguely anyway. I meant I just found out its file identifier, hence how to flash it. I also found the file identifier for the backup secondary bootloader and the recovery partition. Which means in the next Heimdall update you'll be able to flash them (if you want to).
[Galaxy Tab  Android Development] Technomancer:
I have tried dumping my Galaxy Tab flash using Heimdall 1.0.0, unfortunately it fails:

heimdall dump --chip-type NAND --chip-id 0 --output hdump2.img

Heimdall, Copyright (c) 2010, 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/

Claiming interface... Success
Setting up interface... Success
Beginning session...
Handshaking with Loke... Success

Failed to receive dump part #864026!
Ending session...
Failed to send end session packet!

It produced a file:

-rw-r--r-- 1 root root 430080000 Nov 29 02:52 hdump2.img

It seems that the file contains some stuff from the flash.

It definitely starts with contents of PIT file.

But I think it should start with bootloader?

I tried to decode and dump the partitions from this file using the PIT data at the very beginning but it just does not make sense at all.
[Galaxy Tab  Android Development] rotohammer:
My dump came out to the same size, to thats a good sign. Maybe it is useful after all. I thought it just stopped dumping at some random point, but perhaps it reached the end of flash and exited in a non-friendly way.
[Galaxy Tab  Android Development] daniel.weck:
Mhmm, I tried flashing something with my own compiled version of libusb and Heimdall...to no avail. Seems to be a device connection problem. I will investigate when I have time. Is line 252 in main.cpp (code "3") all that needs to be updated to support the Galaxy Tab ?
[Galaxy Tab  Android Development] Volker1:
I got the same size dump with the stock T-Mobile tab.

The first 262144 bytes of the dump are identical to /dev/block/bml2

on the tab, so at least that much is transferred correctly. This partition contains the PID, as Technomancer already mentioned. The subsequent part is not the beginning of any other /dev/block/*

, so we need to investigate further to identify the dump layout. But the remainder contains definitely more partitions from the tab.
[Galaxy Tab  Android Development] Volker1:
Yes, that is all.

Make sure you first put the tab into download mode and then plug it into the computer's USB port. Switching to download mode while plugged in did not work for me.
[Galaxy Tab  Android Development] Volker1:
Yes, I did not flash movinand.mst in the end. I never used Odin to flash my T-Mo tab to Euro, only heimdall and 100% linux ;-)

The movinand.mst is in P1000XWJJ4/P1000XWJJ4_SERJJ2_XXJID/GT-P1000-CSC-SERJJ2.tar.md5, which is the carrier customization part of the firmware. Since I'd rather disembowel myself with a rusty spoon than have the carrier customizations, I decided to leave that out. I still got the Euro Samsung apps (Reader Hub, App store, ...) and lost the T-Mo US Samsung apps (Media Hub, Ocean waves and Aurora animated wallpaper, ...).
[Galaxy Tab  Android Development] daniel.weck:
Thanks Volker1 !

I've migrated from JK5 to JM6...seems ok so far ;)
[Galaxy Tab  Android Development] Volker1:
Using http://movitool.ntd.homelinux.org/trac/movitool/, I can unpack the movinand.mst:

[vbraun@localhost data]$ /tmp/movitool -m movinand.mst -x
__ ___ _ _______ ____ ____
/ |\/ /| |_ ___| __ \ / _ |\
-------------/ |/ / | |_\ \__| _/\/ /\/ / |--------------
--------------/ /| / /| | \ \ | | \\/ /_/ / /-------------
/__/ |__/ / |_| \__\|_|\_\|___ / /
\__\/\__\/ \_\ \__\__\\_\____\/ THe DeMoN (c)

CoMPuTeR'S HeaVen SoCieTy

Samsung M1/H1 movinand.bin file management tool Ver. 0.0.1alpha

Extracting "movinand.mst" to "out.img"

File size: 26215936 bytes
Header magic: FATHEAD32K Ok
Filesystems found: 3

Extracting Partition table... Ok

Extracting RFS(FAT) 1... Ok
Extracting RFS(FAT) 2... Ok
Extracting RFS(FAT) 3... Ok

This produces a 4.1 GB out.img block image containing three partitions:

[vbraun@localhost data]$ fdisk out.img

Command (m for help): p

Disk out.img: 4295 MB, 4295000064 bytes
1 heads, 63 sectors/track, 133153 cylinders, total 8388672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
out.img1 64 29360191 14680064 83 Linux
out.img2 29360192 33349695 1994752 83 Linux
out.img3 33349696 33554495 102400 83 Linux

Command (m for help): q

You can mount the enclosed partitions with

mount --o loop,ro,offset=32768 out.img /mnt/mountpoint1
mount --o loop,ro,offset=2147516416 out.img /mnt/mountpoint2
mount --o loop,ro,offset=4190142464 out.img /mnt/mountpoint3

The first is an empty 14 GB partition, the second is an empty 2 GB partition. The third is a 100 MB partition containing

[root@localhost mountpoint3]# find
.
./Apps
./Apps/DioDict_EngEng.apk
./Apps/PanzerPanic.apk
./Apps/InfeCCt.apk
[Galaxy Tab  Android Development] daniel.weck:
Great find :)

FYI: DioDict_EngEng.apk is also in hidden.rfs of the latest JM6.

The other apps are trial software provided by Samsung, I guess.
[Galaxy Tab  Android Development] Volker1:
I flashed the new JM6 firmware with Heimdall and everything seems to have worked nicely. Details are in the Firmware thread. :D
[Galaxy Tab  Android Development] Benjamin Dobell:
Just thought I'd drop in and let you all know Heimdall 1.1.0 has been released. This release officially includes support for Galaxy Tabs and adds Heimdall Frontend, a cross-platform Qt based GUI.
[Galaxy Tab  Android Development] hartyshow:
Thanks a lot for your share ;-)
[Galaxy Tab  Android Development] daniel.weck:
I'll be testing at the next available ROM :D
[Galaxy Tab  Android Development] rotohammer:
I just flashed two modems with the new version, worked great. At this point I think we all should begin to switch from Odin to Heimdall (I already have) this way consistent cross-platform tutorials can be written.

Thank you Benjamin!
[Galaxy Tab  Android Development] sil3ncer7:
If I can get a c compiler on my mac, Ill test and let you know, I tried compiling andit was complaining about my c compiler. Would you happen to have a .dmg already built?
[Galaxy Tab  Android Development] rotohammer:
All the binaries are available here, including OSX:

http://www.glassechidna.com.au/products/heimdall/
[Galaxy Tab  Android Development] daniel.weck:
Alright, so I downloaded the latest pre-compiled Heimdall binaries for Mac OS X, but was getting this error (note that I am running 10.5.8 Leopard):

dyld: unknown required load command 0x80000022
Trace/BPT trap

So I decided to compile once again from the source code (unmodified, straight from the GIT repository), and this time everything works fine :) (before, I was getting a "Failed! Claiming interface." message when trying to connect the device to a Heimdall flash session)

I've just successfully flashed the relevant firmware bits from the leaked JMA ROM: factoryfs.rfs, kernel/zimage and params.lfs, using gt-p1000_mr.pit but without re-partitioning (the new Qt user interface has a tick-box for this option, just like Odin).

Homepage:

http://www.glassechidna.com.au/products/heimdall/

Sources:

https://github.com/Benjamin-Dobell/Heimdall
[Galaxy Tab  Android Development] ssvb:
Thanks for for developing a crossplatform flasher, that's really appreciated by those not using windows.

Right now heimdall 1.1.1 seems to refuse flashing with '--repartition' option unless bootloader is also provided. Is it a strict requirement?

Also flashing of 'movinand.mst' is still not supported, right? What could be the worst consequence if it is just omitted when flashing the latest Roto JME Pre-Rooted Firmware?
[Galaxy Tab  Android Development] Benjamin Dobell:
I have setup Heimdall to refuse to repartition if all the basic firmware files aren't specified. I'm not actually certain how the phone would handle the situation with repartitioning and no secondary bootloader however I wasn't particularly keen to find out. Also there have definitely been reports of Odin users breaking their phone by repartitioning and flashing firmware that doesn't include all files. In general I don't recommend users repartition at all, only if it's necessary.

In regards to movinand.mst, unfortunately without access to a Galaxy Tab I still know very little about flashing this file or even what it contains. It might be worth asking Rotohammer as I believe he makes use of Heimdall himself. However, I doubt that not flashing it will cause problems.
[Galaxy Tab  Android Development] rotohammer:
Skip the movinand.mst, you probably don't need it, its to format the internal sdcard only. I don't recommend partitioning with Heimdall at this point, only because I haven't heard of any success stories yet, only full bricks, which weren't Heimdalls fault, but just a bad choice of bootloader.

I really don't want to see you mess up your tab. I will test partitioning with Heimdall after I get my jtag box setup to unbrick my tab.

I run Odin via VirtualBox and an XP virtual machine from Linux when partitioning.
[Galaxy Tab  Android Development] biopsin:
im in a particular spot, trying to install the driver on xp32 but i only get to chose the gadget driver, no Samsung USB Composite DEvice when list all drivers is selected.

the gadget driver wont do it i guess, also the Current Driver field is missing when its selected.

i tested installing samsung drivers only, but one driver failed to install, the

android usb modem.

am i missing something on my system?
[Galaxy Tab  Android Development] dudyk:
I have a Galaxy Tab, with a unique firmware that I couldn't find anywhere...

I want to create a backup of the bootloaders, kernel, modem and initrd.

The 400MB dump doesn't seem to have a lot of data in it (looked at it with a hex editor) trying to mount the different partitions as read only gave me what seemed to be the same partition when I tried bml6-7-8 (the partition with the logo files).

Any idea if\how it is possible to backup the kernel\bootloader\initrd\modem?
[Galaxy Tab  Android Development] julianLo:
Thanks or the explanation!

Why is it even possible to repartition without flashing the bootloaders?

I figured that the booloaders arent touched, since the size and position of the bootloader partitions remains the same. Is this assumption correct?

@dudyk: The easiest way to create a full dump is via the famous rotobackup: http://xdaforums.com/showpost.php?p=9397749&postcount=1
[Galaxy Tab  Android Development] keyl10:
I flashed an overclock kernel to my CDMA Tab with your program.
[Galaxy Tab  Android Development] bert269:
maybe this is what you're looking for?

http://xdaforums.com/showthread.php?t=850359
[Galaxy Tab  Android Development] seraphimserapis:
I'm currently not able to flash with heimdall while using Mac OS.

After the handshake with loke it says no device response info and after the reboot it is in the phone-to-pc screen.

Flashing with odin works fine.
[Galaxy Tab  Android Development] Loccy:
+1 to this - tried using it to flash the Modaco kernel but got the same symptoms. Had to revert to Odin in a VirtualBox XP VM.
[Galaxy Tab  Android Development] 3083joe:
Wheres the link? Thanks
[Galaxy Tab  Android Development] julianLo:
It's already integrated in the latest heimdall release 1.1.1 (http://www.glassechidna.com.au/products/heimdall/) .
[Galaxy Tab  Android Development] ZeroPDA:
Where can I get for .deb files for Debian and Ubuntu x32?
[Galaxy Tab  Android Development] xda890:
If I only wanted to flash a new kernel, then I only need to use the --kernel argument and can ignore all the other arguments/files?

Also, is it the tar file that I should use or the zImage file inside the tar file?

Regards,

BTJ
[Galaxy Tab  Android Development] julianLo:
If you got a tar file that contains a file zImage it sure was packaged to be flashed with odin.

If you want to flash just the kernel using heimdall, extract the tar and use the zImage.

Flashing just the kernel does not modify your partitioning or your CSC.

If you need to repartition at the moment it's better to use odin.
[Galaxy Tab  Android Development] xda890:
A bit confused about "take the zImage inside the tar", but I assume you mean that I should use the zImage file and not the tar file?

Also I can flash only the zImage file without worrying getting hold on to pit files, csc files, etc?

Edit: ok, I found an example and I see the the zImage file is needed.... :)

BTJ
[Galaxy Tab  Android Development] jkurl:
Anyone been able to get this to install and work on a mac. I installed it, but it does not work.
[Galaxy Tab  Android Development] Maxweezy:
make sure you have installed the QT, and and downloaded the biniaries version of Heimdall suite 1.1.1 for osx. i got it installed but am yet to flash anything.
[Galaxy Tab  Android Development] MrZeroo00:
Take a look at this post.
[Galaxy Tab  Android Development] quasyl:
I would want to download heimdall for windows but the link is down, impossible to find a download, someone could post a functional link please? Thx!
[Galaxy Tab  Android Development] Benjamin Dobell:
Sorry, our domain registrar was slow to renew our domain. The links should be working again.
[Galaxy Tab  Android Development] ssserpentine:
Works!

I use it all the time to fix a blunder on my T-mobile Galaxy tab. If i cant get odin to work, which it never seems to want to recognize it as connected, I use your app to flash a recovery or a modem. I am a neewbie on your app and do need some help if you could give it.
[Galaxy Tab  Android Development] Lhon0901:
Help:

I've downloaded all files, and ran the zadig application. I've selected all the files I want to flash, but the "start" button is not highlighted hence I cannot flash...

I'm on win 7 64 bit with odin and kies installed. I've also tried multiple USB ports.

Any repply would REALLY be appreciated... Thanks!
[Galaxy Tab  Android Development] frusso:
I have flashed latest gingerbread safe - stock ROM succesfully (the files are taken from overcome).

I am using ubuntu 11.04 32 bit

My command was

heimdall flash --repartition --pit gt-p1000_mr.pit --factoryfs factoryfs.rfs --cache cache.rfs --dbdata dbdata.rfs --kernel zImage --param param.lfs --primary-boot boot.bin --secondary-boot Sbl.bin
[Galaxy Tab  Android Development] -Mr. X-:
and this works? looks like your missing hidden.rfs from the tar as well as movinand.mst
[Galaxy Tab  Android Development] MoxFulder_CH:
I have an issue under osx :

mac:~ David$ heimdall close-pc-screen

dyld: unknown required load command 0x80000022

Trace/BPT trap

I have the same issue when I try to flash.
[Galaxy Tab  Android Development] Benjamin Dobell:
I've just posted new binaries that should fix this. Download and install again and it should work.
[Galaxy Tab  Android Development] Dr Hotdog:
This doesn't work for my Tab, if I leave out the hidden and movinand files the flashing completes fine but the phone won't boot (gets stuck forever on the android boot animation). If I do include either the hidden or movinand file Heimdall fails with a 'Failed to confirm end of file transfer sequence!' error.
[Galaxy Tab  Android Development] mightymouse2045:
Hi Benjamin,

Just wondering if Heimdall will work with Galaxy Tab 10.1 at all?

I'm waiting for my tab to arrive next week and looking at alternatives to windows for flashing it etc

Cheers
[Galaxy Tab  Android Development] andnej:
true, where to put those 2 things ?
[Galaxy Tab  Android Development] Entropy512:
So far I have had no such luck. I'm going to try again to debug it this week.
[Vibrant General] ed1380:
had a froyo rom w/ voodoo until i decided to flash a new rom. I wiped data and then relized I had voodoo and needed to remove it before flashing. With no way to boot to put the voodoo disable file I was advised to follow this thread. http://xdaforums.com/showthread.php?t=788238

I followed it exactly

Now I get

E: cant mount /dev/block/st110 (invalid arguement)

E: copy_dbdata_media:cant mount DBDATA

copy default media content failed

It wont even show the battery screen. goes straight to recovery and shows that. What do I do now?

I can still get into download mode if needed. currently working on getting adb
[Vibrant General] chui101:
I believe you are at step 7. Get the stock JI6 image (or JFD if you're feeling retro) and ODIN with re-partitioning checked.
[Vibrant General] ed1380:
nope. I did everything. and after that about 4 more times just trying it with and without repartition box ticked

EDIT:

JFD fixed it. I was doing j16

Might be helpful to include download link in the writeup. I got my phone with J16, so that was "complete stock" for me
[Vibrant General] The_wolf88:
I had this problem one month ago and I fixed it by following the steps mentioned it the article you link it..

You will need this ROM to fix your filesystem back

http://www.4shared.com/file/dJiyRz3v/EUGENE373_SamsungS_Froyo_PDA.html

Then follow the steps above exactly and phone will came back to life again..
[Vibrant General] ed1380:
Thanks man. its all good now. I was flashing to j16 instead of jfd
[Streak 5 Android Development] Trust_no1:
It seems like my laptop is blocked to install any applications and programs, so the point is can I tether internet from my streak to the laptop without install anything on it (my laptop using win XP)

If u guys have some ways to use it, tell me please.

Thaanks
[Streak 5 Android Development] grizlore:
Yes, as I understand it, your laptop will just see your streak as a wifi hotspot.

As long as you have permissions to can connect to wifi networks, then that'll work.

i have done this before, connecting my PC tp my Streak
[Streak 5 Android Development] Trust_no1:
What app r using ? Actually I want to tether via usb but can I?
[Streak 5 Android Development] Peter S.:
For USB-Tethering with older Versions of Android (1.6 and 2.1) you need for example "EasyTether". It is an App for Android and a Desktop-tool for the PC. It is free. Because you have to install this on your Laptop, it is problematic with the permission.
[Streak 5 Android Development] Trust_no1:
I'm wondering if I can use wired tether with my streak?
[Streak 5 Android Development] Peter S.:
On FroYo it's possible without installing any Software...
[Streak 5 Android Development] Trust_no1:
So all I need to do is waiting froyo upgrade from dell right?
[Streak 5 Android Development] Peter S.:
I tried it with my Streak with froyo and a Netbook (EeePC) with XP: USB tethering works plug-and-play without installing software. Also Wireless tethering works perfectly without additional software.
[Streak 5 Android Development] Trust_no1:
Did you mean Froyo?
[Streak 5 Android Development] Peter S.:
Sorry, what??

I wrote it: one part is the Dell Streak with installed froyo - the other part is a Laptop with installed XP.

What's there not to understand?
[Streak 5 Android Development] Trust_no1:
Sorry i got it now
[XPERIA X10 General] mayank.1love:
Can anyone here provide me with the original "wpa_supplicant" file in /system/bin/ of 2.1 firmware.

I replaced it with other wpa_supplicant for enabling wifi adhoc network but I f****d up as I didn't backed up my original file.

I don't want to re-flash for enabling my wifi.

Thanks in advance for helping me :-)
[XPERIA X10 General] PollPixx:
you mean this one?
[XPERIA X10 General] mayank.1love:
Yup thats the one

Thanks for the file.

I got my wifi working again :-)
[XPERIA X10 General] PollPixx:
Great, no worries...

Sent from my X10i
[Captivate Q&A, Help & Troubleshooting] koreancanuck:
Hey guys,

I've been using nandroid since my magic days. With my magic, I've had no problems whatsoever always wiping and doing a restore of my old nandroid backups. However, it does not seem to be the case with my captivate for some reasons.

Here are a few methods I've tried:

1) Factory wipe/data reset using clockwork recovery and restore nandroid (which I did with my magic.. not sure why they don't work)

2) Flash to 2.1 stock and do nandroid restore.

3) Flash to the ROM after a wipe that I want to restore to then do nandroid restore.

All three methods allow me to complete nandroid restore but upon reboot it's just non-stop FC city.

Can anyone guide me? :) Thank you
[Captivate Q&A, Help & Troubleshooting] Sulphur4724:
Nothing to see here, move along.
[Captivate Q&A, Help & Troubleshooting] koreancanuck:
Thanks bud you are sooo helpful.

Sent from my SAMSUNG-SGH-I897
[Captivate Q&A, Help & Troubleshooting] koreancanuck:
Yep. I disable my lagfixes before doing restores. To be honest it's not that big of a hassle since I can just use tibu pro and do one click restore for apps and restore my settings as well. And nandroid takes so much longer on captivate than magic D: Still it would be nice to always go back..

Sent from my SAMSUNG-SGH-I897