• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][DEV][REF] Heimdall Firmware Packages S4 LTE+ I9506

Status
Not open for further replies.

xenix96

Senior Member
Dec 31, 2011
983
746
93




Development/Reference.​

==================================================
This is a development thread. Do not ask for help with this or that,
this is not a support thread! Make sure that any question you might
have, is directly related to the benefit of this thread and on-topic.
==================================================





This thread will contain Heimdall Firmware Packages made from Official Samsung Firmware Packages.





-->Post 1<--: General Announcement
-->Post 2<--: How to make Heimdall Firmware Packages
-->Post 3<--: Heimdall Firmware Packages
-->Post 4<--: How to flash on Linux(Windows and OSX is similar)
-->Post 5<--: reserved
-->Post 6<--: reserved



All released Heimdall Firmware Packages on this thread are succesfully tested by me!

I am not reponsible for any damages(brick) on your device by flashing since flashing is dangerous by nature!


If your needed Firmware is not released follow the the Guide in Post 2.
You cant handle it?

Just request it over "Feature Requests"(I do not accept any PM!) by following example(I will do it my free time so please be patience it will take a while!):​

In line: "Enter a title for the feature" -> Enter this ->> Requesting Heimdall Firmware Package

In line: "Describe the feature"-> Enter this:

Latest firmware info
GT-I9506
PDA: I9506XXUAMJ2
CSC: I9506VDSAMJ5
MODEM: I9506XXUAMI1
Added: 2013-11-10


You can get this information from SAMMOBILE.COM by searching for Model: GT-I9506 and ProductCode: xxxxxx > Check Firmware​


The main benefit of using Heimdall Firmware Packages(when Odin doesnt work) is that you get your Device in Download Mode the "Official" state back.
I will explain it later in thread detailed!

This works currently with the Firmwares 4.2.2!

Example Before and After:


Before flashing the right Heimdall Firmware Package!

Your device is in Download Mode and looks like that(Custom):

ODIN MODE
PRODUCT NAME: GT-I9506
CURRENT BINARY: Custom
SYSTEM STATUS: Custom
QUALCOMM SECUREBOOT: 0x1b
WRITE PROTECTION: Enable


After
flashing the right Heimdall Firmware Package!

Your device is in Download Mode and looks like that(Official):

ODIN MODE
PRODUCT NAME: GT-I9506
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
QUALCOMM SECUREBOOT: 0x1b
WRITE PROTECTION: Enable
---- PROGRAM HEIMDALL ----

Download:
Heimdall (c) 2010-2013 Benjamin Dobell, Glass Echidna


DISCLAIMER:

This software attempts to flash your Galaxy S device. The very nature of
flashing is dangerous. As with all flashing software, Heimdall has the
potential to damage (brick) your device if not used carefully. If you're
concerned, don't use this software. Flashing ROMs onto your phone may also
void your warranty. Benjamin Dobell and Glass Echidna are not responsible
for the result of your actions.

- Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices.
- Open Source
- over 1,000,000+ Downloads

GitHub

- Linux:
Linux/README

- OS X
OSX/README.txt

- Windows
Win32/README.txt

BIG THANKS TO @Benjamin Dobell

Okay lets do it! :)


XDA:DevDB Information
HEIMDALL FIRMWARE PACKAGES, a ROM for the Samsung Galaxy S 4

Contributors
xenix96

Version Information
Status: Stable

Created 2013-12-15
Last Updated 2013-12-14
 

xenix96

Senior Member
Dec 31, 2011
983
746
93
How to make Heimdall Firmware Packages

How to Create a Heimdall Firmware Package:

Firstly, Heimdall's firmware package format is just a regular TAR archive
compressed with gzip. The only two real requirements are that a valid
firmware.xml must be included (refer to Appendix A) and you can only
include files (no directories, links etc.) As such if you'd like there is
nothing preventing you from creating Heimdall packages manually. Of course
Heimdall Frontend provides a simple user interface that takes care of all
the hard work for you.

There are two ways in which you can create a firmware package. You can
create a package from scratch, or you can load an existing package, apply
modifications and then save the package. Creating a package from scratch
is the preferred approach, by taking this approach you're far less likely
to run into file name length limitations.

Before you can access Heimdall Frontend's firmware creation functionality
(available from the "Create Package" tab) you must first specify which
files will be included in your package, as well as a few flashing options
i.e. Whether or not users should repartition when flashing. This
information must be filled out from the "Flash" tab in exactly the same
fashion you would provide information to flash your device (see "Performing
a Custom Flash with Heimdall Frontend"). As mentioned above, it's not the
preferred means, but you're able to load an existing package as a starting
point for this information.

Once you've specified the files/partitions you wish to include in your
firmware package the "Create Package" tab will become available. Clicking
this tab will display additional information that you can include in your
package. In order to continue you must fill out all sections except for the
URLs section, which is optional. The following is a break-down of what all
these options mean.
- General Firmware Information: -

Firmware Name - This is the name of your particular firmware. An
example would be "Cyanogenmod".

Firmware Version - This is the version identifier for your package. Any
valid string will be accepted, although the inclusion of decimal
point version number is preferred i.e. "7.1". If it makes sense
then feel free to append a text string like "RC1" or "Beta 1" to
the decimal point version.

Platform Name - This is the name of platform (or operating system) that
your firmware is based on. In most cases this will simply be
"Android".

Platform Version - This is the operating system version that your
firmware is based on. Again decimal point version numbers are
preferred over text, i.e. "2.3.4" is preferred over "Gingerbread".
- Developers -

URLs (Optional):

Homepage - Here you can enter your personal URL or a URL particularly
pertaining to the firmware being packaged. The URL must be well
formed for it to work. An example of a well formed URL is
"http://www.glassechidna.com.au/products/heimdall/". It is
important to include "http://" in order to specify the protocol as
other protocols such as "ftp://" are equally valid although
unlikely to be used.

Donate - Here you can enter a URL that will link users to a page to
make donations for the effort you've put into developing your
firmware. Once again the URL must be well formed but there is no
requirement on how your donation page should work. For instance
both "http://www.glassechidna.com.au/donate/" and
"http://forum.xda-developers.com/donatetome.php?u=2710388" are
equally valid.
Developer Info:

Name - Here you can enter in the name of individual team members or a
team name. Click "Add" and the developer will be added to the list
on the right. If you make a mistake you can select a developer from
the list and click "Remove". You can list as many developers as you
like, however visual constraints of the "Load Package" tab means
only a few names will be visible. Where possible you may want to
opt for team names over listing individual team members.
- Supported Devices -

This section allows you to create a list of devices that are supported by
your particular firmware. Although Heimdall isn't capable of enforcing this
we strongly recommend you take this section seriously. If filled out
correctly you could help save a number of accidental bricks!
Device Info:

Manufacturer - This is where you can enter the name of the manufacturer
for a particular device. For now this will most likely be
"Samsung".

Name - This is the human readable name for a particular device.
"Galaxy S", "Galaxy S II", "Droid Charge", "Vibrant" and
"Galaxy S (Telstra)" are all valid names. There are a lot of
possible variations here so be as specific as you think is
necessary.

Product Code - This is by far the most important bit of device
information. Device names tend to be region specific and further
subject to the whims of telecommunication companies and resellers.
Product Codes (or product IDs) are designated by manufacturers and
are generally the definitive means of referring to a particular
device. Examples are "GT-I9000", "GT-I9100" and "SCH-I897". If
you're unsure of a particular product code then both Google and
GSMArena are your friends!


After filling out all the necessary information the "Build" button will be
enabled. If it's still disabled then you know you're missing some required
information. In particular you must specify at least one developer and at
least one supported device. Pressing the "Build" button will bring up a
save dialogue where you must chose a file name for your particular package.
Don't worry about specifying the ".tar.gz" extension Heimdall Frontend will
take care of this automatically.

Once you've chosen a file name Heimdall Frontend will begin the process of
building the firmware package. In doing so a valid firmware.xml file will
be generated from the information entered. All files will be archived in a
single TAR file then the TAR archive will be compressed via gzip
compression. Compression will take a little while but you will see progress
bars so you know the application hasn't hung. When the progress bars
disappear you're finished making your package.

Congratulations! You're now ready to redistribute your firmware package
online or by any means you see fit.

Appendix A - firmware.xml

The following details a part of the Heimdall Firmware Package format. This
is only relevant to developers or advanced users who wish to create Heimdall
Firmware Packages outside of Heimdall Frontend or in some way integrate support
for the format in their own software.


All Heimdall Firmware Packages must contain a file called firmware.xml. This
file stores flash information and meta-data for the package as well as
information about other files contained within the package.


The format is fairly straight-forward so it won't be explained in great detail.
Nonetheless the following is an example of a valid firmware.xml file.


Code:
<?xml version="1.0" encoding="UTF-8"?>
<firmware version="1">
	<name>Test Firmware</name>
	<version>1.1</version>
	<platform>
		<name>Android</name>
		<version>2.3.4</version>
	</platform>
	<developers>
		<name>Benjamin Dobell</name>
		<name>Hedonism Bot</name>
	</developers>
	<url>http://www.glassechidna.com.au/</url>
	<donateurl>http://www.glassechidna.com.au/donate/</donateurl>
	<devices>
		<device>
			<manufacturer>Samsung</manufacturer>
			<product>GT-I9000</product>
			<name>Galaxy S</name>
		</device>
		<device>
			<manufacturer>Samsung</manufacturer>
			<product>GT-I9000T</product>
			<name>Galaxy S (Telstra)</name>
		</device>
		<device>
			<manufacturer>Samsung</manufacturer>
			<product>GT-I9000M</product>
			<name>Vibrant</name>
		</device>
	</devices>
	<pit>Nl3276-I9000 s1_odin_20100512.pit</pit>
	<repartition>0</repartition>
	<noreboot>0</noreboot>
	<files>
		<file>
			<id>0</id>
			<filename>gq3276-boot.bin</filename>
		</file>
		<file>
			<id>24</id>
			<filename>Uh3276-cache.rfs</filename>
		</file>
		<file>
			<id>22</id>
			<filename>em3276-factoryfs.rfs</filename>
		</file>
		<file>
			<id>11</id>
			<filename>fl3276-modem.bin</filename>
		</file>
		<file>
			<id>21</id>
			<filename>Xd3276-param.lfs</filename>
		</file>
		<file>
			<id>3</id>
			<filename>if3276-Sbl.bin</filename>
		</file>
		<file>
			<id>6</id>
			<filename>cr3276-zImage</filename>
		</file>
	</files>
</firmware>


New lines need not be included and the order in which elements are specified
does not need to match that of the above example.

One and only one <firmware> element must be included. The <firmware> element
must also have a version attribute specified. The version must be parsable as
an integer and indicates what version of the Heimdall Firmware Package
specification the package adheres to.

All data is stored as strings, however a <file>'s <id> element must be parsable
as an integer. The <id> value represents the partition ID (according to the
specified PIT file) that the file should be flashed to.

A <firmware>'s <repartition> and <noreboot> elements must also be parsable as
an integer. However, as they represent boolean values, a value of zero ("0")
means false (or disabled) where as a non-zero value (typically "1") means true
(or enabled).

File names are specified relative to the TAR archive in which firmware.xml and
all other files are to be stored. Heimdall Firmware Packages do not support
directories or links, as such file names should only be a name and not a path.

<url> and <donateurl> are the only optional elements, all other elements must
be included.
REFERENCE
 
Last edited:

xenix96

Senior Member
Dec 31, 2011
983
746
93
Heimdall Firmware Packages

This Heimdall Firmware Packages are only for the device Samsung Galaxy S4 LTE+ with ProductCode: GT-I9506!




Heimdall Firmware Packages:


- HEIMDALL_OPEN_NEE_I9506XXUAMI3_I9506NEEAMI1_I9506XXUAMHD.tar.gz





more Heimdall Firmware Packages will be added later.....
 
Last edited:

xenix96

Senior Member
Dec 31, 2011
983
746
93
How to flash on Linux(Windows and OSX is similar)

This Guide was is tested under following Environment:

Used OS: Linux(Ubuntu 13.10)
Program: Heimdall-Frontend 1.4.0

Under Windows and OSX i didnt tested but it should work since Heimdall was made for it!
The very very important thing is the installation procedure including the drivers/libs(Doesnt matter on wich OS).
If its not installed correctly this guide will not work! I dont explain how to install Heimdall!

If you dont want to use my guide you can also follow Benjamin Dobell`s OS specific README`s:

Flashing Heimdall Firmware Package with Heimdall Frontend:

- Linux:
Linux/README

- OS X
OSX/README.txt

- Windows
Win32/README.txt

Reboot to download mode and if you see following:


ODIN MODE

PRODUCT NAME: GT-I9506
CURRENT BINARY: Custom
SYSTEM STATUS: Custom
QUALCOMM SECUREBOOT: 0x1b
WRITE PROTECTION: Enable

then you can get "Official" state back by following Guide:

Stay in Download Mode! and connect your device with usb cable on a usb port!

1.Get Root acces







2.Start Heimdall-Frontend







3. Go under Utilities and click "Detect" if you get message "Device detected" go to next step if not you installed Heimdall not correctly!







3.1 Again under Utilities click "Close" if your Device Reboots go to next step if not and get error message you installed Heimdall not correctly!







4. Reboot in to Download Mode again! Go now to Load Package and click "Browse"







5. Click on a Heimdall Firmware Package and then "Open"







6. Wait until Progress bar "Extracting files" is finished!







7. Now click "Load / Customise"







8. Do not touch anything and click "Start"







9. Wait until Progress bar "Flashing procedure" is finished!







10. When everthing is ended! Reboot in to recovery and let device finish the last procedure!



11. Reboot now in to Android set gmail account etc.



12. Reboot to download mode and you will see following:


ODIN MODE
PRODUCT NAME: GT-I9506
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
QUALCOMM SECUREBOOT: 0x1b
WRITE PROTECTION: Enable


Congratulation you have done it!!



....
 
Last edited:

xenix96

Senior Member
Dec 31, 2011
983
746
93
After having flashed will I still find all my apps and settings or everything will be deleted?
And the previous recovery (PhilZ Touch)?
It will wipe user data and data on your device so you will not find any apps or settings.
You will get a fresh installed firmware everthing stock and yes your recovery will be stock too

Cheers :)

Sent from my GT-I9506 using XDA Premium 4 mobile app
 

Cr4z33

Elite Member
Oct 14, 2011
1,068
154
0
Salento, Italy
It will wipe user data and data on your device so you will not find any apps or settings.
You will get a fresh installed firmware everthing stock and yes your recovery will be stock too

Cheers :)

Sent from my GT-I9506 using XDA Premium 4 mobile app
Oh. :/

Sent from my Samsung Galaxy S4 LTE+ (GT-I9506) using Tapatalk 2
 

xenix96

Senior Member
Dec 31, 2011
983
746
93
thank you mate.thank you sooooo much!i can`t wait for it.i was gonna sell my i9506 today and....boom after reflash get stuck at bootanimation.Thank you again!

Well i advice you when you are able to boot in download mode that you better reinitialize your device with KIES:

Be sure that you installed latest KIES! and odin is not running in background processes!


!!!!ATTENTION!!!! :After this procedure your device will maybe have 4.3 firmware so do this NOT when you dont want KNOX enabled Bootloader!!!!
1. Start Kies
2. Click Tools-> Firmware upgrade and initialization
3. Type in model of your phone -> GT-I9506 click OK.
4. Then type serial number of the sticker under battery then click OK
5. There will be info about firmware click OK
6. Follow the instructions on screen and reboot in download mode by pressing volume down key, home button and power button then connect to PC using orginal USB cable click OK
7. Follow the instructions on screen
8. Phone will reboot by itself when all is done correctly!

________________________________________________________________________________

Otherwhise in attachement is the pit file that you requested but handling/flashing with pit files are dangerous ... in worst case if you dont know what you do you can brick your device so be warned !!!


Good Luck :good:

and

Cheers

PS: Please tell me the result .. Thanks
 

Attachments

Last edited:

aresbv2000

Senior Member
Mar 18, 2009
784
277
63
33
Brasov
Well i advice you when you are able to boot in download mode that you better reinitialize your device with KIES:

Be sure that you installed latest KIES! and odin is not running in background processes!



1. Start Kies
2. Click Tools-> Firmware upgrade and initialization
3. Type in model of your phone -> GT-I9506 click OK.
4. Then type serial number of the sticker under battery then click OK
5. There will be info about firmware click OK
6. Follow the instructions on screen and reboot in download mode by pressing volume down key, home button and power button then connect to PC using orginal USB cable click OK
7. Follow the instructions on screen
8. Phone will reboot by itself when all is done correctly!

________________________________________________________________________________

Otherwhise in attachement is the pit file that you requested but handling/flashing with pit files are dangerous ... in worst case if you dont know what you do you can brick your device so be warned !!!


Good Luck :good:

and

Cheers

PS: Please tell me the result .. Thanks

Thank you my friend! I solved the problem.
It wasn`t the .pit file the problem for me.
I have explained how i`ve successfully flash the latest 4.3 firmware with no errors in this thread.
But again...THANK YOU for the .pit file! It`s a good thing to having it around here! Maybe I will need it sometime, but not this time!
Have a nice evening!
 
Status
Not open for further replies.