[Q] Updating Galaxy Tab to Gingerbread 2.3.3 using Heimdall - Galaxy Tab Q&A, Help & Troubleshooting

Hi,
With the release of Galaxy Tab Gingerbread 2.3.3 by Chainfire
( http://forum.xda-developers.com/show....php?t=1073854 ), I intend to update my Galaxy Tab (running Froyo 2.2) to Gingerbread. Since I use only Linux in my computer, the only option to flash my Tab is to use Heimdall ( http://www.glassechidna.com.au/products/heimdall/ ).
What I wish to know is:
1. The procedure using Odin calls for repartitioning. Is it okay to repartition using Heimdall?
2. There is a file called hidden.rfs in the official stock rom provided by Chanifire. How do I flash this hidden.rfs using Heimdall? Heimdall accepts only the following arguments as per it's man page:
action: flash
[--pit <filename>] [--factoryfs <filename>] [--cache <filename>]
[--dbdata <filename>] [--primary-boot <filename>]
[--secondary-boot <filename>] [--secondary-boot-backup <filename>]
[--param <filename>] [--kernel <filename>] [--recovery <filename>]
[--efs <filename>] [--modem <filename>]
(Nowhere is any mention of hidden.rfs. I am confused as how to include it while flashing my Galaxy Tab).
3. Do I flash dbdata.tar in the first shot along with the firmware? Or do I need to flash dbdata.tar after rebooting the Galaxy Tab as instructed by Chainfire?
If someone can help me, I would very much appreciate it.
Thanks in advance.

1st of all. Im a windows user, my answers would relate to my experience using heimdall under windows and not under linux. Though i believe they would behave jjust the same.
1. From my experience uaing heimdall. Heimdall does partitioning juat as good as odin.
2. I don't know how it behaves in linux, butwhen i used heimdall to flash my tab i just put all the files in the same folder and the hidden.rfs seems to have been flashed as well.
3. You could flash the dbdata.rfs with the other firmware files in one flashing.
Cheers.

noxxious said:
1st of all. Im a windows user, my answers would relate to my experience using heimdall under windows and not under linux. Though i believe they would behave jjust the same.
1. From my experience uaing heimdall. Heimdall does partitioning juat as good as odin.
2. I don't know how it behaves in linux, butwhen i used heimdall to flash my tab i just put all the files in the same folder and the hidden.rfs seems to have been flashed as well.
3. You could flash the dbdata.rfs with the other firmware files in one flashing.
Cheers.
Click to expand...
Click to collapse
Thank you noxxious for your help.
Heimdall being a multiplatform open source program, it is supposed to behave consistently in all platforms (Linux/Windows/Mac).
I was told by user jkurl15 in thegalaxytabforum (sorry XDA won't allow me to post the link) not to repartition using Heimdall as it might brick the Galaxy Tab. Can you please throw some light on this?
Did you use the repartition option in Heimdall when you flashed your Galaxy Tab?
As regards to the hidden.rfs file, from what I noticed after concatenating the gt-p1000_mr.pit, is that it contains a mention of hidden.rfs inside it. Don't know if it helps.
Thank you once again.

If done correctly repartioning via heimdall will not cause a brick. Especially if all files that you would use is from 1 tar package in this case the gingerbread package.
Ive done repartioning via heimdall on my tab way back when i was still on jk2. It did a pretty good job restoring my tab.

Thanks for your insight. It was really a great help. I will give heimdall a try to flash my galaxy tab.
What is your opinion regarding the bootloaders present in the gingerbread rom? I have an unbranded unlocked galaxy tab and don't want to restrict myself by flashing any signed bootloader. Do you think I can flash my tab with gingerbread rom without the bootloaders?
Sent from my GT-P1000 using XDA App

Hi, did you succeed? If so, any news on how to upgrade?
I've done: heimdall flash --pit gt-p1000_mr.pit --factoryfs factoryfs.rfs --cache cache.rfs --param param.lfs --kernel zImage --modem modem.bin
Using http://www.samfirmware.com/WEBPROTECT-p1000.htm and both 1_EUR pit and gt-1000_m I can't load the firmware.
I get Optional PIT check failed! To disable this check don't use the --pit parameter.Ending session...
Rebooting device...
Re-attaching kernel driver...
Any ideaS?

SO.. Just to clarify for all Linux users..
Am I correct in thinking :-
1) Back everything up.
2) Extract The base 2.3 GB-stock-safe.zip into a folder, and the .tar file you should use in ODIN (GB_Stock_Safe_v1.tar) , that one comes from the Overcome 2.0 BETA2 download.
3) Copy the gt-p1000_mr.pit and the correct modem.bin into the extracted .tar folder aswell.
4) Plug Tab in to computer and do
Code:
adb reboot download
5) (Once in downlaod mode) run this function from the folder where the .tar file extracted
Code:
heimdall flash --repartition --primary-boot boot.bin --cache cache.rfs --dbdata dbdata.rfs --factoryfs factoryfs.rfs --pit gt-p1000_mr.pit --modem modem.bin --param param.lfs --secondary-boot Sbl.bin --kernel zImage --verbose
6) basically the movinand.mst and hidden .rfs files are ignored?
Just want to be sure..

Related

[Q] Heimdall and Overcome

I'm on linux and would prefer to use the Heimdall tool over Odin. I've never flashed a custom rom. I'd like to try the overcome rom and kernel
I've searched for many heimdall examples but I'm not clear on which items I need to flash for overcome's guide using heimdall.
Some examples say you need to repartition with a PIT others don't. The heimdall readme hints that if using a new pit you should repartition. I'd like to be 100% clear on this.
For going to stock GB should I be flashing everything in GB_Stock_Safe_v5.tar, boot.bin, cache.rfs, etc? And if so some partition names are intuitive but others aren't, IBL+PBL, SBL, PARAM?
Primary boot loader, secondary boot loader
If you got to the Utilities tab and run the Print PIT action then all the partitions and a bit of info about them will be listed in a human readable format. One of the pieces of info listed is the default filename for the partition. As such you can use this info to match file names to partition names.
It's probably worth noting that unlike Odin, Heimdall itentionally doesn't enforce the file names contained in PIT files. This allows a greater level freedom and also allows you to flash partitions that Odin cannot flash.
Thank you Flashed with no problems
That guy is the author of heimdall!
so heimdall is odin++ ? meaning dan i can flash overcome with heimdall as well ?
No, not ODIN... Similar but with more flexibility for developers and others who like the freedom to experiment....

[Q][i9001] Flash stock with heimdall v1.3.1

hi,
i want to flash my i9001 with heimdall v1.3.1 (ubuntu 11.10) to the latest stock rom xxkpu. there is only a odin one package containing:
adsp.mbn
amss.mbn
boot.img
cach.img.ext4
preload.img.ext4
recovery.img
system.img.ext4
i also have the s1_odin_20100512.pit file, because i cant download pit file from my device.
Can anybody explain to me how to flash with heimdall, cause i dont know what to do with adsp.mbn for example. heimdall doensn't have a parameter for that like heimdall --kernel for the kernel file.
if i have cwm-recovery on my i9001, can i flash stockroms with update.zip?
Thank you very much for your answers and sry for my english
can anybody please help me?

Get modem.bin from a running Gingerbread [Mini 2 6500L]

Hello there, a friend of mine has a Galaxy Mini 6500L (the "L" stands for "Latin America", I'm from Paraguay btw), so, he wants to install a custom rom but I'm afraid that he lose the modem and **** up the HDSPA, so, is there a way to backup that modem to flash it with odin or install it from recovery?
I can root the phone if necessary ...
Cheers
PS: theres is no Stock ROM in sammobile for the 6500L
firstly this cannot happen but if you want to backup the modem
then you can do so by mounting the radio partition of the mobile (if it is already mounted then that's very good)
to get radio partition type "cat proc/mtd" in the terminal
and yeah you will need root for doing this
but modem for original galaxy mini 2 will also work on l
the problem is that the L version has a modem that works in differents frequencies ... happened with my galaxy ace (s5830L), im gonna root the phone and im gonna look on /dev ...
thanks ...
PS: I get a stock rom of the 6500L, but is one package, is there a way to get just modem.bin?
what it contains
just S6500LWHLI1_S6500LUVOLI1_S6500LWHLI1_HOME.tar.md5 and I can't decompress that file ..
thanks
that is a tar file use winrar
I decompress that and I get
system.img.ext4
boot.img
recovery.img
fat.bin
cache.img.ext4
hidden.img.ext4
thanks
that fat.bin can be modem
or it may be available in the hidden.img.ext (can mount with virtual sheep)

[Q]How to Flash <modem.bin> file with Odin?

Hi,
I'd like to know something when flashing modem whith Odin.
My GT-I9305 isn't Root so...
I get the <modem.bin> file exctract from my one package carrier's ROM (I9305XXALK5_I9305SFRALK2_I9305AEALK2_HOME.tar.md5)
with 7zip
Can I use this modem (from a 4.1.1 ROM) as if I'm in 4.1.2 (I9305XXBLL5_I9305DBTBLL4_I9305XXBLL5_HOME.tar.md5)
in Odin3 (v3.04), where should I put the <modem.bin> file? Phone,PDA?
The flash counter will be incremented?
What about the OTA or Kies update?
Thx..
Re: [Q]How to Flash <modem.bin> file with Odin?
You need to convert it from a bin file to a. tar file for Odin.
Sent from my GT-I9305 using xda app-developers app
Obagleyfreer said:
You need to convert it from a bin file to a. tar file for Odin.
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
I'd read on that post
[Q] How can i extract modem driver from official firmware
we can flash a .bin file with Odin..
...and flash via Odin using the "Phone" entry, not "PDA".
Click to expand...
Click to collapse
Warring of an other thread I'd read (but can't find again ) about Phone and PDA entry..
Hi all,
So any idea?
kanzi83 said:
Hi all,
So any idea?
Click to expand...
Click to collapse
Hello kanzi83, I'm new in the forums but I decided to register so I could help you.
I had the exact same problem and came with a solution, after reading yewsiong's instructions on his post:
http://forum.xda-developers.com/showthread.php?t=1658809
Modifying them so they match your situation, you have to do the following:
1. Install Cygwin and start the Cygwin terminal
2. Put the .tar.md5 firmware into C:\baseband
3. In Cygwin, type the following commands (pressing enter after each line):
Code:
cd /cygdrive/c/baseband
tar -xvf firmware_name.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
Example: If the firmware_name.tar.md5 is I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5
Then the code will be:
Code:
cd /cygdrive/c/baseband
tar -xvf I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
After generating your .tar file, you can use Odin or Odin Mobile (I used Odio Mobile Pro and worked excellent) to flash the Modem.
There you go! Please let me know if you have any questions. Good luck.
kanzi83 said:
Hi all,
So any idea?
Click to expand...
Click to collapse
It's not that hard. Google is your friend.
Please read the following link.
http://forum.xda-developers.com/showthread.php?t=927568
You can just simplely flash modem.bin file via Odin.
Sent from my GT-I9305 using xda app-developers app
Thx for your answers. ..
I'd flash modem.bin file 2 month ago with odin v 3.04 in phone entry and works well
Envoyé depuis mon GT-I9305 avec Tapatalk
Procedure for changing the modem.bin
Hello all,
I am a newbie and want to know to how can I change the modem.bin file of my phone using ODIN...
Kindly help
Try reading this thread answer given in post 6 .
Aldo6 said:
Hello kanzi83, I'm new in the forums but I decided to register so I could help you.
I had the exact same problem and came with a solution, after reading yewsiong's instructions on his post:
http://forum.xda-developers.com/showthread.php?t=1658809
Modifying them so they match your situation, you have to do the following:
1. Install Cygwin and start the Cygwin terminal
2. Put the .tar.md5 firmware into C:\baseband
3. In Cygwin, type the following commands (pressing enter after each line):
Code:
cd /cygdrive/c/baseband
tar -xvf firmware_name.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
Example: If the firmware_name.tar.md5 is I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5
Then the code will be:
Code:
cd /cygdrive/c/baseband
tar -xvf I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
After generating your .tar file, you can use Odin or Odin Mobile (I used Odio Mobile Pro and worked excellent) to flash the Modem.
There you go! Please let me know if you have any questions. Good luck.
Click to expand...
Click to collapse
Thank you!
Is this file checked against md5 when flashing with Odin? (Or when tar-ing?)
How to install modem.bin in my galaxy siii having android 4.3
[QUOTE=kanzi83;40365571Would you please let me know step by step guide to install my modem file (modem.bin) into my GT-I9300 using Odin. Your help in this regard will be highly appreciated.
I am very new to Android world. Need help
when I flash modem.bin via phone with odin 3.07
it fails
yasser86 said:
when I flash modem.bin via phone with odin 3.07
it fails
Click to expand...
Click to collapse
zip the file to .tar
Successful flash with Odin 3.10 & I9305
At first got errors when tried to flash modem.tar which I compressed with 7-zip from modem.bin
Odin just stopped at flashing modem.bin, so unplugged USB and cold restart (everything was still working fine with my phone, even the old modem)
Then successfully flashed modem.BIN via ticking it to CP (Phone?)
So... Somehow Odin couldn't flash my compressed .tar file of the modem..
Maybe I did something wrong with the compression
But now I have a working modem from the latest samsung firmware for my country and signal feels much more reliable now and even got a little bit better speedtest results too
How to flash Modem.bin file with Odin
hi,i had read all posts but i did not get any satisfying result,.....the Solution is
you have to select Odin V3.9 .in 3.9 in CP you can flash modem.bin
Regards
[email protected] said:
hi,i had read all posts but i did not get any satisfying result,.....the Solution is
you have to select Odin V3.9 .in 3.9 in CP you can flash modem.bin
Regards
Click to expand...
Click to collapse
Confirmed with Odin3.10. Don't make it too complicated, folks!
mightysween said:
Confirmed with Odin3.10. Don't make it too complicated, folks!
Click to expand...
Click to collapse
Worked for me also. Thanks OP
hello
raonizal said:
zip the file to .tar
Click to expand...
Click to collapse
This works with newer versions of ODIN.

Unroot Galaxy Note 5 SM-N902i (XSA Australia) with Heimdall - "System UI has stopped"

Unroot Galaxy Note 5 SM-N902i (XSA Australia) with Heimdall - "System UI has stopped"
Hi all,
I am running a linux machine and trying to unroot my Galaxy Note 5. I've downloaded the lastest firmware from sammobile: N920IDVU4CRG1_N920IXSA4CRG1_XSA.zip which extracts to:
boot.img
cache.img
cm.bin
hidden.img
modem.bin
recovery.img
sboot.bin
system.img
Then I've been trying to use heimdall like so:
heimdall flash --verbose --BOOTLOADER sboot.bin --CM cm.bin --BOOT boot.img --RECOVERY recovery.img --RADIO modem.bin --SYSTEM system.img --CACHE cache.img --HIDDEN hidden.img
The process finishes successfully but then when the phone reboots it hangs with an error: "System UI has stopped"
I've previously executed heimdall print-pit to check the pit list. I noticed that there are more pit entries than the 8 provided in the firmware. I don't know if that's normal.
I also tried using the pit file found on the forum with the same negative result: forum/threads/30106-galaxy-note-5-(-N920-)-pit-files
heimdall flash --pit NOBLELTE_AUS_XSA.pit --verbose --BOOTLOADER sboot.bin --CM cm.bin --BOOT boot.img --RECOVERY recovery.img --RADIO modem.bin --SYSTEM system.img --CACHE cache.img --HIDDEN hidden.img
Same error.
Is there something that I've been missing or done wrong?
Many thanks
I honestly don't know what Heimdall is, but I would recommend something else. I bet you rooted that phone with Odin, right? If so, try this tutorial.
https://galaxynote5root.com/galaxy-note-5-unroot/how-to-unrootunbrick-galaxy-note-5-2/amp/
If that did not work, try flashing the factory room using your Custom Recovery tool. If you haven't flashed one yet, you should flash TWRP. (Using Odin, go figure)
Hi, thx for your answer. I did not use Odin to root my phone but "adb" since I m on Linux. That said I have now installed Odin on a windows 7 virtual machine on VirtualBox. I followed the Odin procedure. It ended up successfully finishing the procedure but then same thing happened on boot: "System UI has stopped".
But there is something in the video in the page you suggested that gave me a clue: he mentioned clearing all the data on your phone. So I flashed twrp using adb, deleted manually all the data. Then I used heimdall again to flash the firmware and it worked! It would have also worked with Odin. I m happy

Categories

Resources